@import url("/assets/css/legacy-directory.css");

.legacy-directory-local-copy {
    gap: clamp(.8rem, 1.6vw, 1.25rem);
}

.legacy-directory-local-copy section,
.legacy-directory-local-copy section:last-child {
    padding-bottom: 0;
    box-shadow: none;
}

.legacy-directory-local-copy h2 + p {
    margin-bottom: .65rem;
}

.legacy-directory-tabs span{padding:.75rem 1.1rem;border-radius:999px;background:#eeebf4;color:#aaa3b8;cursor:not-allowed}
.legacy-directory-tabs span[aria-current=page]{background:#ddd6ef;color:#5f5572;font-weight:700}
.legacy-directory-country-cities>p{margin:.55rem 0 0!important;color:#756b84!important;font-size:.9rem;line-height:1.55}.legacy-directory-country-cities>div{margin-top:.9rem}

.legacy-directory-top-cities{padding-bottom:3.5rem}.legacy-directory-top-cities>header{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:1.25rem}.legacy-directory-top-cities>header p{margin:0 0 .35rem;color:#6e56cf;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.legacy-directory-top-cities>header h2{margin:0;color:#302348;font-size:clamp(1.7rem,3vw,2.5rem)}.legacy-directory-top-cities>header>span{max-width:360px;color:#756b84;font-size:.88rem;line-height:1.5;text-align:right}.legacy-directory-top-cities>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.legacy-directory-top-cities a{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:.7rem;min-height:70px;padding:.75rem .85rem;border-radius:1rem;background:#fff;color:#302348;text-decoration:none;box-shadow:0 9px 26px rgba(63,43,104,.075);transition:transform .18s ease,box-shadow .18s ease}.legacy-directory-top-cities a:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(63,43,104,.13)}.legacy-directory-top-cities a>i{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#f0ebff;color:#674bc1;font-size:.72rem;font-style:normal;font-weight:900}.legacy-directory-top-cities a>span{min-width:0}.legacy-directory-top-cities strong,.legacy-directory-top-cities small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legacy-directory-top-cities strong{font-size:.92rem}.legacy-directory-top-cities small{margin-top:.2rem;color:#887e98;font-size:.7rem}.legacy-directory-top-cities a>b{color:#6e56cf;font-size:.78rem}

.legacy-country-list{padding:3rem 0 5rem}
.legacy-country-list>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.legacy-country-card{display:grid;min-height:92px;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:.85rem;padding:1rem 1.05rem;border-radius:1.15rem;background:#fff;color:#302348;text-decoration:none;box-shadow:0 10px 28px rgba(63,43,104,.08);transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
a.legacy-country-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(63,43,104,.14)}
.legacy-country-card>i{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;background:#f5f1ff;font-size:1.65rem;font-style:normal}
.legacy-country-card>i img{display:block;width:32px;height:24px;border-radius:4px;object-fit:cover;box-shadow:0 2px 7px rgba(35,25,58,.16)}
.legacy-country-card>span{min-width:0}
.legacy-country-card strong,.legacy-country-card small{display:block}
.legacy-country-card strong{overflow:hidden;color:#302348;font-size:.95rem;text-overflow:ellipsis;white-space:nowrap}
.legacy-country-card small{margin-top:.25rem;color:#887e98;font-size:.75rem}
.legacy-country-card>b{display:grid;min-width:2rem;height:2rem;place-items:center;padding:0 .55rem;border-radius:999px;background:#eee9ff;color:#5a3eb1;font-size:.75rem}
.legacy-country-card.is-disabled{background:rgba(255,255,255,.55);box-shadow:none;opacity:.58}
.legacy-country-card.is-disabled>b{background:#eeeaf1;color:#8c8595}

@media(max-width:1000px){.legacy-country-list>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.legacy-country-list>div{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-country-card{grid-template-columns:40px minmax(0,1fr);min-height:84px}.legacy-country-card>i{width:40px;height:40px}.legacy-country-card>b{display:none}}
@media(max-width:460px){.legacy-country-list{padding:2rem 0 3.5rem}.legacy-country-list>div{grid-template-columns:1fr}.legacy-country-card>b{display:grid}}
@media(max-width:900px){.legacy-directory-top-cities>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.legacy-directory-top-cities{padding-bottom:2.5rem}.legacy-directory-top-cities>header{align-items:flex-start;flex-direction:column;gap:.5rem}.legacy-directory-top-cities>header>span{text-align:left}}
@media(max-width:480px){.legacy-directory-top-cities>div{grid-template-columns:1fr}}
.legacy-matrimonials-profiles>header h2{font-size:clamp(1.8rem,4vw,2.8rem)!important}.legacy-matrimonials-profiles .legacy-directory-grid h2{font-size:1.15rem}.legacy-directory-country-cities{padding:0;background:transparent}
.legacy-directory-copy .legacy-directory-local-copy h2,.legacy-directory-copy .legacy-directory-copy-heading,.legacy-directory-copy .legacy-directory-country-cities h2,.legacy-directory-copy .legacy-directory-faq-heading{font-size:clamp(1.35rem,2.4vw,1.85rem);line-height:1.2}
.legacy-directory-country-cities a{background:#f0eaff;color:#4f347e;box-shadow:none;transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.legacy-directory-country-cities a:hover,.legacy-directory-country-cities a:focus-visible{background:#ded2ff;color:#351b68;transform:translateY(-2px);box-shadow:0 9px 22px rgba(72,47,122,.16)}
