/* GHCP change start: 2026-11-18 09:24:00 +05:30 */
:root{--primary:#9d174d;--primary-deep:#701a3d;--accent:#f59e0b;--coral:#ef6c57;--violet:#7c3aed;--teal:#0f9f8f;--ink:#292331;--muted:#6b6570;--paper:#fff;--soft:#fff7ed;--border:#ead8d2}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:#fffdfb;font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:var(--primary)}
.wrap{width:min(1120px,calc(100% - 32px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:10;background:rgba(255,253,251,.94);border-bottom:1px solid rgba(157,23,77,.13);backdrop-filter:blur(14px)}
.header-row{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-size:1.3rem;font-weight:850;text-decoration:none;background:linear-gradient(100deg,var(--primary),var(--violet));background-clip:text;color:transparent}
nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
nav a{text-decoration:none;font-weight:650}
.language-switcher{position:relative}
.language-switcher summary{color:var(--primary);font-weight:650;cursor:pointer}
.language-switcher div{position:absolute;right:0;top:calc(100% + 10px);min-width:150px;padding:8px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px rgba(60,25,35,.14)}
.language-switcher div a{display:block;padding:7px 9px;border-radius:6px;white-space:nowrap}
.language-switcher div a[aria-current="page"]{background:var(--soft)}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:680px;padding:72px 0;background:url("../banner/1561285921.jpg") center/cover no-repeat}
.hero::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(31,10,20,.88) 0%,rgba(64,14,38,.72) 42%,rgba(32,12,21,.3) 68%,rgba(20,8,13,.5) 100%)}
.hero::after{content:"";position:absolute;z-index:-1;inset:auto 0 0;height:150px;background:linear-gradient(transparent,rgba(29,9,18,.52))}
.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:42px;align-items:center}
.hero-grid>*{min-width:0}
.hero-grid>div:first-child{color:#fff;text-shadow:0 2px 22px rgba(0,0,0,.38)}
.hero-grid>div:first-child .profile-id{color:#ffd36a}
.hero-grid>div:first-child .lead{color:#fff;max-width:58ch}
h1{font-size:clamp(2.25rem,6vw,4.6rem);line-height:1.02;margin:.2em 0}
h1,.lead,.brand,.search-block h2,.profile-card-body{overflow-wrap:anywhere}
html[lang="ta"] h1,html[lang="hi"] h1,html[lang="te"] h1,html[lang="ml"] h1,html[lang="kn"] h1{font-size:clamp(1.55rem,3.5vw,3rem);line-height:1.24}
h2{font-size:clamp(1.6rem,4vw,2.5rem)}
.lead{font-size:1.2rem;color:var(--muted);max-width:65ch}
.button{display:inline-block;border:0;border-radius:11px;padding:12px 18px;background:linear-gradient(110deg,var(--primary),#c02664);color:#fff;text-decoration:none;font-weight:750;cursor:pointer;box-shadow:0 8px 18px rgba(157,23,77,.2);transition:transform .18s ease,box-shadow .18s ease}
.button:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(157,23,77,.27)}
.button-secondary{background:rgba(255,255,255,.9);color:var(--primary);border:1px solid rgba(157,23,77,.35);box-shadow:none}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.section{padding:52px 0}
.section-soft{background:linear-gradient(135deg,#fff7ed,#fff1f2 52%,#f5f3ff)}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.profile-card,.panel{background:rgba(255,255,255,.96);border:1px solid rgba(157,23,77,.12);border-radius:18px;overflow:hidden;box-shadow:0 12px 32px rgba(83,35,63,.09)}
.profile-card-photo{aspect-ratio:4/3}
.profile-card img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;background:#f2ece9}
.profile-photo-watermarked{position:relative;display:block;overflow:hidden}
.profile-photo-watermark{position:absolute;z-index:2;top:50%;left:50%;max-width:90%;padding:4px 9px;transform:translate(-50%,-50%) rotate(-18deg);border:1px solid rgba(255,255,255,.72);border-radius:4px;background:rgba(77,20,48,.32);color:rgba(255,255,255,.9);font-size:clamp(.58rem,1.3vw,.88rem);font-weight:850;letter-spacing:.08em;line-height:1.15;text-align:center;text-shadow:0 1px 3px rgba(0,0,0,.8);text-transform:uppercase;white-space:nowrap;pointer-events:none}
.profile-card-body,.panel{padding:22px}
.profile-card h3{margin:.1em 0}
.profile-id{color:var(--primary);font-size:.85rem;font-weight:850;letter-spacing:.08em}
.profile-photo-login{display:flex;aspect-ratio:4/3;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:14px;text-align:center;background:linear-gradient(145deg,#f7edf2,#f3efff);color:var(--primary-deep)}
.profile-photo-login a{font-size:.86rem;font-weight:800}
.profile-photo-login-symbol{position:relative;width:42px;height:42px;border:3px solid rgba(112,26,61,.55);border-radius:50%}
.profile-photo-login-symbol::after{content:"";position:absolute;left:50%;bottom:-12px;width:58px;height:27px;border:3px solid rgba(112,26,61,.55);border-bottom:0;border-radius:32px 32px 0 0;transform:translateX(-50%)}
.browse-search-section{padding:14px 0}
.browse-search-section h1{font-size:clamp(1.5rem,2.5vw,2rem);margin:0 0 8px}
.browse-search-form{display:grid;grid-template-columns:1.05fr repeat(4,minmax(0,1fr)) auto;gap:8px;align-items:end;padding:10px}
.browse-search-form label{gap:4px;font-size:.82rem}
.browse-search-form input,.browse-search-form select{padding:8px 9px;font-size:.92rem}
.browse-search-action .button{padding:9px 14px;white-space:nowrap}
.browse-results{padding:28px 0}
.browse-results h2{font-size:1.35rem;margin:0 0 16px}
.profiles-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.profiles-heading-row h2{margin:0}
.profile-colour-toggle{padding:8px 12px;font-size:.86rem}
.profile-colour-toggle.profile-colour-toggle-on{background:#166534;color:#fff;border-color:#166534}
.profile-colours-on .profile-card.profile-card-regular{background:#fff8cf}
.profile-colours-on .profile-card.profile-card-remarriage{background:#e5f7e8}
.profiles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profiles-grid .profile-card{display:grid;grid-template-columns:112px minmax(0,1fr);min-height:152px;border-radius:12px}
.profiles-grid .profile-card-photo{width:112px;min-height:152px;aspect-ratio:auto}
.profiles-grid .profile-card img{width:100%;height:100%;min-height:152px}
.profiles-grid .profile-photo-watermark{font-size:.5rem;padding:3px 5px}
.profiles-grid .profile-photo-login{width:112px;min-height:152px;aspect-ratio:auto;padding:9px;font-size:.78rem}
.profiles-grid .profile-photo-login-symbol{transform:scale(.72)}
.profiles-grid .profile-card-body{min-width:0;padding:12px 14px}
.profiles-grid .profile-card-body p{margin:4px 0;font-size:.9rem;line-height:1.3}
.profiles-grid .profile-card h3{font-size:1rem;line-height:1.25;overflow-wrap:anywhere}
.profiles-grid .profile-card .button{margin-top:6px;padding:7px 11px;font-size:.86rem}
.profile-pagination{display:flex;justify-content:center;gap:7px;margin-top:24px}
.profile-pagination a,.profile-pagination span{display:grid;min-width:40px;min-height:40px;padding:8px 12px;place-items:center;border:1px solid var(--border);border-radius:9px;background:#fff;text-decoration:none;font-weight:750}
.profile-pagination span[aria-current="page"]{border-color:var(--primary);background:var(--primary);color:#fff}
.home-search{padding:0;border:1px solid rgba(255,255,255,.76);background:linear-gradient(160deg,rgba(255,255,255,.96),rgba(255,247,237,.95));box-shadow:0 22px 55px rgba(112,26,61,.17)}
.search-block{padding:22px}
.search-block:first-child{border-top:5px solid transparent;border-image:linear-gradient(90deg,var(--primary),var(--accent),var(--teal)) 1}
.search-block h2{font-size:1.8rem;margin:.15em 0 .75em}
.search-block+.search-block{border-top:1px solid rgba(157,23,77,.12);background:linear-gradient(90deg,#fff7ed,#fff1f2)}
.compact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.compact-form label{font-size:.92rem}
.id-search-form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
.id-search-form .button{white-space:nowrap}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.steps p{position:relative;margin:0;padding:20px 18px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 8px 20px rgba(83,35,63,.06);overflow:hidden}
.steps p::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--primary)}
.steps p:nth-child(2)::before{background:var(--accent)}
.steps p:nth-child(3)::before{background:var(--teal)}
.steps p:nth-child(4)::before{background:var(--violet)}
.steps p:nth-child(1){background:linear-gradient(145deg,#fff,#fff1f2)}
.steps p:nth-child(2){background:linear-gradient(145deg,#fff,#fffbeb)}
.steps p:nth-child(3){background:linear-gradient(145deg,#fff,#ecfdf5)}
.steps p:nth-child(4){background:linear-gradient(145deg,#fff,#f5f3ff)}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
label{display:grid;gap:6px;font-weight:700}
input,select,textarea{width:100%;border:1px solid #cdbfba;border-radius:8px;padding:11px 12px;background:#fff;font:inherit}
textarea{min-height:120px;resize:vertical}
.matrimony-place-picker{position:relative}
.matrimony-place-picker small{display:block;margin-top:5px;color:var(--muted)}
.matrimony-place-suggestions{position:absolute;z-index:20;top:74px;left:0;right:0;max-height:240px;overflow:auto;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 12px 28px rgba(60,25,35,.18)}
.matrimony-place-suggestion{display:block;width:100%;padding:10px 12px;border:0;border-bottom:1px solid var(--border);background:#fff;text-align:left;font:inherit;cursor:pointer}
.matrimony-place-suggestion:hover,.matrimony-place-suggestion:focus{background:var(--soft)}
.matrimony-place-map{width:100%;height:220px;margin-top:10px;border:0;border-radius:10px}
.consent-check{display:block;margin-top:10px}
.consent-check input{width:auto;margin-right:6px}
.full{grid-column:1/-1}
.notice,.error{padding:14px 16px;border-radius:8px;margin:18px 0}
.notice{background:linear-gradient(100deg,#ecfdf5,#f0fdfa);border:1px solid #99d9c8}
.error{background:#fff0f0;border:1px solid #e0a4a4;color:#7c1f1f}
.details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.details div{padding:14px;background:var(--soft);border-radius:8px}
.details dt{font-size:.8rem;text-transform:uppercase;color:var(--muted);font-weight:800}
.details dd{margin:4px 0 0}
.profile-view{display:grid;grid-template-columns:minmax(240px,360px) 1fr;gap:32px;overflow-wrap:anywhere}
.profile-view>img{width:100%;border-radius:16px;aspect-ratio:4/5;object-fit:cover;object-position:center top}
/* GHCP change start: 2026-11-18 10:54:44 +05:30 */
.profile-photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}
.profile-view>*,.profile-photo-gallery{min-width:0}
.profile-photo-gallery img{display:block;width:100%;border-radius:16px;aspect-ratio:4/5;object-fit:cover;object-position:center top;background:#f2ece9}
.profile-photo-gallery .profile-photo-watermarked{border-radius:16px}
.profile-photo-zoom{width:100%;padding:0;border:0;background:transparent;font:inherit;cursor:zoom-in}
.profile-photo-gallery .profile-photo-login{border-radius:16px;aspect-ratio:4/5}
.profile-photo-gallery p{margin:6px 0 12px;font-size:.9rem}
.profile-photo-dialog{width:min(920px,calc(100vw - 28px));max-width:none;padding:46px 14px 14px;border:0;border-radius:16px;background:#20151b;box-shadow:0 24px 80px rgba(0,0,0,.5)}
.profile-photo-dialog::backdrop{background:rgba(20,8,14,.86)}
.profile-photo-dialog .profile-photo-watermarked{width:fit-content;max-width:100%;margin:auto}
.profile-photo-dialog img{display:block;max-width:100%;max-height:calc(100vh - 100px);object-fit:contain}
.profile-photo-dialog-close{position:absolute;top:8px;right:12px;width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:var(--primary-deep);font-size:1.6rem;line-height:1;cursor:pointer}
/* GHCP change end: 2026-11-18 10:54:44 +05:30 */
.site-footer{padding:42px 0;background:linear-gradient(120deg,#3b1025,#701a3d 55%,#4c1d95);color:#fff;margin-top:48px}
.site-footer a{color:#ffd7a0}
@media(max-width:760px){.header-row{align-items:flex-start;flex-direction:column;padding:14px 0}.hero{min-height:0;padding:54px 0;background-position:42% center}.hero::before{background:linear-gradient(180deg,rgba(35,10,22,.84),rgba(55,13,34,.7) 46%,rgba(25,8,16,.78))}.hero-grid,.profile-view{grid-template-columns:minmax(0,1fr)}.grid,.steps{grid-template-columns:1fr}.form-grid,.compact-form,.details{grid-template-columns:1fr}.id-search-form{grid-template-columns:1fr}.full{grid-column:auto}nav{gap:12px;font-size:.92rem}}
/* GHCP change start: 2026-11-18 10:54:44 +05:30 */
@media(max-width:760px){
    .header-row nav{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .header-row nav>a,.language-switcher summary{display:grid;min-height:42px;padding:7px 9px;place-items:center;border:1px solid var(--border);border-radius:8px;background:#fff;text-align:center;line-height:1.25}
    .language-switcher{grid-column:1/-1;width:100%}
    .language-switcher summary{list-style:none}
    .language-switcher summary::-webkit-details-marker{display:none}
    .language-switcher div{left:0;right:auto;z-index:30;width:min(220px,calc(100vw - 32px));min-width:0}
    .browse-search-form{grid-template-columns:repeat(2,minmax(0,1fr))}
    .browse-search-action{grid-column:1/-1}
    .browse-search-action .button{width:100%}
    .profiles-grid .profile-card{grid-template-columns:96px minmax(0,1fr);min-height:138px}
    .profiles-grid .profile-card-photo{width:96px;min-height:138px}
    .profiles-grid .profile-photo-login{width:96px;min-height:138px}
}
@media(max-width:460px){.browse-search-form{grid-template-columns:1fr}}
@media(max-width:460px){.profiles-heading-row{align-items:flex-start;flex-direction:column}}
/* GHCP change end: 2026-11-18 10:54:44 +05:30 */
/* GHCP change end: 2026-11-18 09:24:00 +05:30 */
