/*
Theme Name: Rishta Gher Professional
Theme URI: https://example.com/
Author: Rishta Gher
Description: Premium burgundy, champagne and ivory matrimonial theme for the Rishta Gher Core plugin.
Version: 0.6.9
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: rishta-gher
*/
:root{
 --rg-green:#781936;--rg-green-2:#98264a;--rg-gold:#d7a536;--rg-cream:#fbf8ef;
 --rg-card:#fff;--rg-text:#20151a;--rg-muted:#75676c;--rg-line:#e9e3d4;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:var(--rg-cream);color:var(--rg-text);font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}
a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}
.rg-container{width:min(1180px,92vw);margin:auto}
.site-header{background:linear-gradient(90deg,#3f0b1b,#65142f);color:#fff;position:sticky;top:0;z-index:50;box-shadow:0 2px 15px #0002}
.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.rg-brand{display:flex;align-items:center;gap:11px;font-family:Georgia,serif;font-size:25px;font-weight:700}
.rg-brand-mark{display:grid;place-items:center;width:42px;height:42px;border:2px solid var(--rg-gold);color:var(--rg-gold);border-radius:50% 50% 12px 12px}
.rg-nav{display:flex;gap:24px;align-items:center;font-size:14px;font-weight:700}
.rg-nav a:hover{color:#f6d77d}.rg-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 19px;border-radius:9px;font-weight:800;border:1px solid transparent;cursor:pointer}
.rg-btn-primary{background:var(--rg-green);color:#fff}.site-header .rg-btn-primary{background:var(--rg-gold);color:#40101f}
.rg-btn-outline{border-color:var(--rg-green);color:var(--rg-green);background:#fff}
.rg-hero{min-height:570px;background:
 linear-gradient(90deg,rgba(0,55,39,.95),rgba(0,55,39,.72) 45%,rgba(0,55,39,.18)),
 radial-gradient(circle at 80% 30%,#b88d36,#7a3148 45%,#320812);
 color:#fff;display:flex;align-items:center;position:relative;overflow:hidden}
.rg-hero:after{content:"";position:absolute;inset:auto -80px -190px auto;width:550px;height:550px;border:1px solid #d7a53655;border-radius:50%;box-shadow:0 0 0 45px #d7a5360d,0 0 0 90px #d7a5360d}
.rg-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:center;padding:75px 0}
.rg-kicker{color:#f2c95f;font-size:12px;letter-spacing:2.2px;font-weight:900;text-transform:uppercase}
.rg-hero h1{font-family:Georgia,serif;font-size:62px;line-height:1.03;margin:15px 0 20px;max-width:650px}
.rg-hero h1 span{color:#f2c95f}.rg-hero p{max-width:650px;font-size:18px;line-height:1.75;color:#f1f5f1}
.rg-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:27px}.rg-actions .rg-btn-outline{background:transparent;border-color:#f2c95f;color:#fff}
.rg-hero-card{background:#fff;color:var(--rg-text);border-radius:22px;padding:28px;box-shadow:0 25px 70px #0004;position:relative;z-index:2}
.rg-hero-card h3{font-family:Georgia,serif;font-size:30px;margin:0 0 5px}.rg-search-mini{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.rg-field{display:grid;gap:7px;font-size:13px;font-weight:800}.rg-field input,.rg-field select,.rg-field textarea{width:100%;border:1px solid #ddd7c9;border-radius:9px;padding:12px;background:#fff;font:inherit}
.rg-section{padding:72px 0}.rg-section-soft{background:#f1ecdf}.rg-section h2{font-family:Georgia,serif;font-size:40px;margin:8px 0 12px}.rg-sub{color:var(--rg-muted);line-height:1.7}
.rg-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:-38px;position:relative;z-index:4}
.rg-trust-card,.rg-card{background:#fff;border:1px solid var(--rg-line);border-radius:16px;box-shadow:0 10px 28px #173f3210}
.rg-trust-card{padding:20px;display:flex;gap:13px;align-items:flex-start}.rg-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#f7e9ed;color:var(--rg-green);font-weight:900;flex:none}
.rg-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.rg-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.rg-profile-preview{overflow:hidden}.rg-photo{height:220px;background:linear-gradient(135deg,#f4e5e8,#f2dfb8);display:grid;place-items:center;color:var(--rg-green);font-family:Georgia,serif;font-size:70px;font-weight:700}
.rg-profile-body{padding:18px}.rg-profile-body h3{margin:0 0 6px}.rg-profile-body p{margin:5px 0;color:var(--rg-muted);font-size:14px}
.rg-badge{display:inline-flex;padding:5px 8px;background:#f8e9ee;color:#781936;border-radius:99px;font-size:11px;font-weight:900}
.rg-upgrade{background:linear-gradient(90deg,#781936,#98264a);color:#fff;border-radius:16px;padding:25px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:35px}
.rg-upgrade strong{font-family:Georgia,serif;font-size:25px}.rg-footer{background:#320812;color:#f0e5e7;padding:45px 0}.rg-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}
.rg-content{min-height:60vh}.rg-page-wrap{padding:55px 0}
@media(max-width:900px){.rg-nav{display:none}.rg-hero-grid,.rg-grid-3,.rg-grid-4,.rg-trust,.rg-footer-grid{grid-template-columns:1fr 1fr}.rg-hero h1{font-size:48px}.rg-hero-card{margin-bottom:20px}}
@media(max-width:620px){.rg-hero-grid,.rg-grid-3,.rg-grid-4,.rg-trust,.rg-footer-grid,.rg-search-mini{grid-template-columns:1fr}.rg-hero h1{font-size:39px}.rg-section{padding:50px 0}.header-inner{height:66px}.rg-brand{font-size:20px}}

.rg-launch-banner-wrap{padding:30px 0 0;background:#fbf8ef}
.rg-launch-banner{
  background:linear-gradient(110deg,#781936,#98264a);
  color:#fff;
  border:1px solid #d7a53666;
  border-radius:18px;
  padding:24px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  box-shadow:0 14px 35px #173f3218;
}
.rg-launch-banner h3{margin:7px 0 6px;font-family:Georgia,serif;font-size:27px;color:#fff}
.rg-launch-banner p{margin:0;color:#e7f0ec;line-height:1.6}
.rg-launch-pill{display:inline-flex;background:#d7a536;color:#40101f;border-radius:99px;padding:6px 10px;font-size:11px;font-weight:900;letter-spacing:.7px}
.rg-launch-banner .rg-btn-primary{background:#d7a536;color:#40101f;white-space:nowrap}
@media(max-width:760px){
  .rg-launch-banner{flex-direction:column;align-items:flex-start}
}

/* v0.1.7 Free Membership promotional hero */
.rg-free-promo{
  background:
    radial-gradient(circle at 15% 15%,#f5e8c555,transparent 30%),
    linear-gradient(115deg,#fffdf7,#f8f2e5);
  border-top:1px solid #eee4cf;
  border-bottom:1px solid #eee4cf;
  padding:64px 0;
  overflow:hidden;
}
.rg-free-promo-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(380px,.95fr);
  gap:52px;
  align-items:center;
}
.rg-free-promo-copy{min-width:0}
.rg-free-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  background:#fff;
  color:#98264a;
  border:1px solid #e6deca;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.7px;
  box-shadow:0 8px 25px #173f3210;
}
.rg-free-promo h2{
  margin:18px 0 18px;
  font-family:Georgia,serif;
  font-size:52px;
  line-height:1.08;
  color:#781936;
}
.rg-free-promo h2 span{color:#b68c27}
.rg-free-promo-copy>p{
  margin:0;
  max-width:700px;
  font-size:18px;
  line-height:1.75;
  color:#75676c;
}
.rg-free-promo-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:28px 0 22px;
}
.rg-free-promo-trust{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  font-size:13px;
  font-weight:800;
  color:#604a52;
}
.rg-free-promo-visual{
  position:relative;
  min-height:480px;
  border-radius:140px 24px 24px 24px;
  overflow:hidden;
  border:1px solid #e7d8b8;
  background:#eee3d2;
  box-shadow:0 24px 70px #173f3220;
}
.rg-free-promo-visual img{
  width:100%;
  height:100%;
  min-height:480px;
  object-fit:cover;
  object-position:center;
  display:block;
}
.rg-free-features{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.rg-free-feature{
  background:#fff;
  border:1px solid #e9e2d4;
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 30px #173f320d;
}
.rg-free-feature strong{
  display:block;
  margin-bottom:6px;
  color:#781936;
}
.rg-free-feature span{
  color:#687871;
  font-size:13px;
  line-height:1.5;
}
@media(max-width:900px){
  .rg-free-promo-grid{grid-template-columns:1fr}
  .rg-free-promo h2{font-size:44px}
  .rg-free-promo-visual{min-height:380px;border-radius:28px}
  .rg-free-promo-visual img{min-height:380px}
  .rg-free-features{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .rg-free-promo{padding:46px 0}
  .rg-free-promo h2{font-size:36px}
  .rg-free-promo-copy>p{font-size:16px}
  .rg-free-features{grid-template-columns:1fr}
  .rg-free-promo-visual,.rg-free-promo-visual img{min-height:300px}
}

/* v0.1.8 approved homepage layout */
body{overflow-x:hidden}
.rg-hero-v2{min-height:520px}
.rg-hero-v2 .rg-hero-grid{padding:58px 0 82px}
.rg-hero-chip{
  display:inline-flex;
  padding:8px 12px;
  border:1px solid #d7a53680;
  border-radius:999px;
  color:#f2c95f;
  font-size:12px;
  font-weight:800;
  margin-bottom:14px;
}
.rg-search-card{max-width:480px;margin-left:auto}
.rg-search-card .rg-search-mini{grid-template-columns:1fr 1fr}
.rg-search-button{width:100%}
.rg-trust-v2{margin-top:-44px}
.rg-trust-v2 .rg-trust-card{min-height:108px}
.rg-free-promo{padding:62px 0;background:#fbf8ef}
.rg-free-promo-card{
  background:#fff;
  border:1px solid #e8e0d1;
  border-radius:22px;
  box-shadow:0 16px 44px #173f3212;
  overflow:hidden;
}
.rg-free-promo-grid{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:0;
  align-items:stretch;
}
.rg-free-promo-copy{padding:44px 44px 34px}
.rg-free-label{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:#edf7f0;
  color:#98264a;
  font-size:11px;
  font-weight:900;
  letter-spacing:1px;
}
.rg-free-promo h2{
  margin:16px 0 16px;
  font-family:Georgia,serif;
  font-size:44px;
  line-height:1.08;
  color:#781936;
}
.rg-free-promo h2 span{color:#781936}
.rg-free-promo-copy>p{
  font-size:17px;
  line-height:1.7;
  color:#75676c;
}
.rg-free-promo-actions{display:flex;gap:14px;flex-wrap:wrap;margin:25px 0 19px}
.rg-free-promo-trust{display:flex;gap:15px;flex-wrap:wrap;color:#604a52;font-size:13px;font-weight:800}
.rg-free-promo-visual{min-height:430px;background:#f4eadf}
.rg-free-promo-visual img{
  width:100%;
  height:100%;
  min-height:430px;
  display:block;
  object-fit:cover;
  object-position:center;
}
.rg-free-features{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid #eee6d7;
  background:#fffdf9;
}
.rg-free-feature{padding:22px 24px;border-right:1px solid #eee6d7}
.rg-free-feature:last-child{border-right:0}
.rg-free-feature strong{display:block;color:#781936;margin-bottom:6px}
.rg-free-feature span{font-size:13px;line-height:1.55;color:#6a7973}
.rg-members-section{padding-top:66px}
.rg-members-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:26px}
.rg-step-card{padding:26px}
.rg-step-card>span{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:#781936;color:#fff;font-weight:900;margin-bottom:14px
}
@media(max-width:900px){
  .rg-free-promo-grid{grid-template-columns:1fr}
  .rg-free-promo-copy{padding:34px}
  .rg-free-features{grid-template-columns:1fr 1fr}
  .rg-free-feature{border-bottom:1px solid #eee6d7}
  .rg-search-card{max-width:none;margin-left:0}
}
@media(max-width:620px){
  .rg-search-card .rg-search-mini{grid-template-columns:1fr}
  .rg-free-promo h2{font-size:36px}
  .rg-free-promo-copy{padding:26px}
  .rg-free-features{grid-template-columns:1fr}
  .rg-free-feature{border-right:0}
  .rg-members-head{align-items:flex-start;flex-direction:column}
}

/* v0.1.9 layout hardening */
body.home .rg-container{width:min(1180px,92vw)!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}
body.home .rg-hero-v2{width:100%!important;min-height:520px!important;display:flex!important;align-items:center!important;overflow:visible!important}
body.home .rg-hero-v2 .rg-hero-grid{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)!important;gap:52px!important;align-items:center!important;padding:64px 0 92px!important}
body.home .rg-hero-copy,body.home .rg-search-card{min-width:0!important}
body.home .rg-hero-copy h1{font-size:62px!important;line-height:1.03!important;margin:14px 0 20px!important}
body.home .rg-search-card{width:100%!important;max-width:480px!important;margin-left:auto!important;padding:30px!important}
body.home .rg-trust-v2{width:min(1180px,92vw)!important;margin:-50px auto 0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;position:relative!important;z-index:6!important}
body.home .rg-trust-v2 .rg-trust-card{width:100%!important;min-width:0!important;min-height:112px!important}
body.home .rg-free-promo{width:100%!important;padding:70px 0!important}
body.home .rg-free-promo-card{width:100%!important;max-width:100%!important;overflow:hidden!important}
body.home .rg-free-promo-grid{width:100%!important;display:grid!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;gap:0!important;align-items:stretch!important}
body.home .rg-free-promo-copy{min-width:0!important;padding:48px 46px 38px!important}
body.home .rg-free-promo-visual{width:100%!important;min-width:0!important;min-height:440px!important;border-radius:0!important}
body.home .rg-free-promo-visual img{width:100%!important;height:100%!important;min-height:440px!important;max-width:none!important;object-fit:cover!important;object-position:center!important}
body.home .rg-free-features{width:100%!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.home .rg-free-feature{min-width:0!important}
body.home .rg-members-section,body.home #how-it-works{width:100%!important}
body.home .rg-section .rg-grid-3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
@media(max-width:900px){
body.home .rg-hero-v2 .rg-hero-grid,body.home .rg-free-promo-grid{grid-template-columns:1fr!important}
body.home .rg-search-card{max-width:none!important;margin-left:0!important}
body.home .rg-trust-v2,body.home .rg-free-features,body.home .rg-section .rg-grid-3{grid-template-columns:1fr 1fr!important}
body.home .rg-hero-copy h1{font-size:48px!important}
}
@media(max-width:620px){
body.home .rg-container,body.home .rg-trust-v2{width:min(94vw,1180px)!important}
body.home .rg-hero-v2 .rg-hero-grid{gap:28px!important;padding:42px 0 72px!important}
body.home .rg-hero-copy h1{font-size:40px!important}
body.home .rg-trust-v2,body.home .rg-free-features,body.home .rg-section .rg-grid-3{grid-template-columns:1fr!important}
body.home .rg-free-promo-copy{padding:28px 24px!important}
body.home .rg-free-promo h2{font-size:36px!important}
body.home .rg-free-promo-visual,body.home .rg-free-promo-visual img{min-height:300px!important}
}

/* v0.2.2 legal/info footer */
.rg-footer-grid-legal{grid-template-columns:1.4fr .8fr .9fr 1.2fr;gap:34px}
.rg-footer a{opacity:.92}
.rg-footer a:hover{color:#f6d77d;opacity:1}
.rg-footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:26px;padding:18px 0 22px;display:flex;justify-content:space-between;gap:16px;font-size:13px;opacity:.8}
@media(max-width:800px){
  .rg-footer-grid-legal{grid-template-columns:1fr 1fr}
  .rg-footer-bottom{flex-direction:column}
}
@media(max-width:520px){
  .rg-footer-grid-legal{grid-template-columns:1fr}
}


/* v0.2.6 Mobile navigation + profile image responsiveness */
.rg-mobile-menu-toggle{
  display:none;
  width:44px;
  height:44px;
  padding:9px;
  border:1px solid rgba(215,165,54,.65);
  border-radius:10px;
  background:rgba(255,255,255,.06);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  flex:0 0 auto;
}
.rg-mobile-menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  border-radius:2px;
  background:#fff;
  transition:transform .2s ease,opacity .2s ease;
}
.rg-mobile-menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.rg-mobile-menu-toggle.is-open span:nth-child(2){opacity:0}
.rg-mobile-menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:900px){
  .header-inner{position:relative}
  .rg-mobile-menu-toggle{display:flex}
  .site-header .rg-nav{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    z-index:100;
    padding:12px;
    background:#781936;
    border-top:1px solid rgba(215,165,54,.35);
    border-radius:0 0 14px 14px;
    box-shadow:0 18px 35px rgba(0,0,0,.2);
    flex-direction:column;
    align-items:stretch;
    gap:4px;
  }
  .site-header .rg-nav.is-open{display:flex}
  .site-header .rg-nav a{
    display:flex;
    width:100%;
    min-height:46px;
    align-items:center;
    padding:10px 12px;
    border-radius:8px;
    font-size:15px;
  }
  .site-header .rg-nav a:hover,
  .site-header .rg-nav a:focus{background:rgba(255,255,255,.08)}
  .site-header .rg-nav .rg-btn{justify-content:center;margin-top:4px}
  body.rg-mobile-menu-open{overflow:hidden}
}

@media(max-width:620px){
  .rg-container{width:min(100% - 28px,1180px)}
  .header-inner{height:72px;gap:12px}
  .rg-brand{font-size:22px;gap:10px;white-space:nowrap}
  .rg-brand-mark{width:44px;height:44px}
  .rg-hero{min-height:auto}
  .rg-hero-grid{padding:56px 0 34px;gap:28px}
  .rg-hero h1{font-size:clamp(42px,12vw,58px);line-height:1.02}
  .rg-hero p{font-size:17px;line-height:1.7}
  .rg-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .rg-actions .rg-btn{width:100%;padding-inline:10px}
}

/* Core profile cards use these classes; keep images clean on phones. */
.rgc-profile-card-photo,
.rgc-photo-shell.rgc-profile-card-photo{
  width:100%;
  overflow:hidden;
}
.rgc-profile-card-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
@media(max-width:620px){
  .rgc-profile-card-photo,
  .rgc-photo-shell.rgc-profile-card-photo{
    min-height:260px;
    height:260px;
  }
  .rgc-profile-card-photo img{height:260px}
}


/* v0.2.7 Home mobile menu hardening */
@media(max-width:900px){
  body.home .site-header{
    display:block!important;
    position:sticky!important;
    top:0!important;
    z-index:9999!important;
    overflow:visible!important;
  }
  body.home .header-inner{
    display:flex!important;
    position:relative!important;
    align-items:center!important;
    justify-content:space-between!important;
    overflow:visible!important;
  }
  body.home .rg-mobile-menu-toggle{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:10002!important;
  }
  body.home .site-header .rg-nav{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    z-index:10001!important;
  }
  body.home .site-header .rg-nav:not(.is-open){
    display:none!important;
  }
  body.home .site-header .rg-nav.is-open{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
}


/* v0.2.9 Homepage-local mobile menu: independent fallback */
.rg-home-mobile-menu-shell{display:none}
@media(max-width:900px){
  /* Hide the generic cached/header toggle on home and use the local one. */
  body.home .site-header .rg-mobile-menu-toggle{display:none!important}
  body.home .site-header .rg-nav{display:none!important}

  .rg-home-mobile-menu-shell{
    display:block;
    position:absolute;
    top:14px;
    right:14px;
    z-index:12000;
  }

  .rg-home-mobile-menu-toggle{
    display:flex;
    width:50px;
    height:50px;
    padding:10px;
    border:1px solid rgba(215,165,54,.75);
    border-radius:12px;
    background:#65142f;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:6px;
    box-shadow:0 8px 18px rgba(0,0,0,.12);
  }
  .rg-home-mobile-menu-toggle span{
    display:block;
    width:24px;
    height:3px;
    border-radius:3px;
    background:#fff;
    transition:transform .2s ease,opacity .2s ease;
  }
  .rg-home-mobile-menu-toggle.is-open span:nth-child(1){transform:translateY(9px) rotate(45deg)}
  .rg-home-mobile-menu-toggle.is-open span:nth-child(2){opacity:0}
  .rg-home-mobile-menu-toggle.is-open span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

  .rg-home-mobile-nav{
    display:none;
    position:absolute;
    top:58px;
    right:0;
    width:min(310px,calc(100vw - 28px));
    padding:10px;
    border:1px solid rgba(215,165,54,.35);
    border-radius:12px;
    background:#781936;
    box-shadow:0 18px 38px rgba(0,0,0,.25);
  }
  .rg-home-mobile-nav.is-open{display:block}
  .rg-home-mobile-nav a{
    display:flex;
    align-items:center;
    min-height:44px;
    padding:9px 12px;
    border-radius:8px;
    color:#fff;
    font-weight:700;
  }
  .rg-home-mobile-nav a:hover,
  .rg-home-mobile-nav a:focus{background:rgba(255,255,255,.08)}

  /* Header needs room for the local button. */
  body.home .site-header .header-inner{padding-right:64px!important}
}




/* v0.3.3 - Premium Blog UI */
.rg-blog-hero{padding:72px 0 46px;background:linear-gradient(135deg,#3f0b1b,#98264a);color:#fff;position:relative;overflow:hidden}
.rg-blog-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-120px;top:-210px;border:1px solid #d7a53655;box-shadow:0 0 0 52px #d7a5360a,0 0 0 104px #d7a5360a}
.rg-blog-hero .rg-container{position:relative;z-index:2}
.rg-blog-hero .rg-kicker{color:#f2c95f}.rg-blog-hero h1{font-family:Georgia,serif;font-size:48px;line-height:1.08;margin:10px 0 12px}.rg-blog-hero p{max-width:720px;margin:0;color:#e9f2ee;font-size:17px;line-height:1.75}
.page-template-default .rgas-blog{max-width:1180px!important;width:min(1180px,92vw)!important;margin:0 auto!important;padding:58px 0 72px!important}
.page-template-default .rgas-blog>h1{font-family:Georgia,serif!important;font-size:44px!important;color:var(--rg-green)!important;margin:0 0 10px!important}
.page-template-default .rgas-blog>p{color:var(--rg-muted)!important;font-size:16px!important;line-height:1.7!important;margin:0 0 28px!important}
.rgas-blog-grid,.rg-home-guides-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
.rgas-blog-card,.rg-guide-card{background:#fff!important;border:1px solid var(--rg-line)!important;border-radius:20px!important;padding:0!important;overflow:hidden!important;box-shadow:0 14px 34px #173f3212!important;transition:transform .2s ease,box-shadow .2s ease!important}
.rgas-blog-card:hover,.rg-guide-card:hover{transform:translateY(-4px)!important;box-shadow:0 20px 44px #173f321c!important}
.rgas-blog-card>a:first-child,.rg-guide-thumb{display:block;background:linear-gradient(135deg,#65142f,#98264a);aspect-ratio:16/10;overflow:hidden}
.rgas-blog-card img,.rg-guide-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;display:block!important}
.rgas-blog-card h2,.rg-guide-card h3{font-family:Georgia,serif!important;color:var(--rg-green)!important;font-size:23px!important;line-height:1.3!important;margin:22px 22px 10px!important}
.rgas-blog-card h2 a,.rg-guide-card h3 a{color:inherit!important}
.rgas-blog-card p,.rg-guide-card p{color:var(--rg-muted)!important;line-height:1.65!important;margin:0 22px 18px!important}
.rgas-blog-card>a:last-child,.rg-guide-card .rg-guide-read{display:inline-flex!important;margin:0 22px 24px!important;color:var(--rg-green)!important;font-weight:900!important;border-bottom:2px solid #d7a536!important;padding-bottom:3px!important}
.rg-home-guides{padding:72px 0;background:#fffdf8;border-top:1px solid #eee6d7}
.rg-home-guides-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:28px}.rg-home-guides-head h2{font-family:Georgia,serif;font-size:40px;margin:8px 0 8px}.rg-home-guides-head p{margin:0;color:var(--rg-muted);line-height:1.7}
.rg-guide-meta{font-size:12px!important;font-weight:800!important;color:#8a948f!important;text-transform:uppercase;letter-spacing:.6px;margin:20px 22px 0!important}
.rg-single-blog{width:min(860px,92vw);margin:0 auto;padding:54px 0 78px}.rg-single-blog-head{text-align:center;margin-bottom:34px}.rg-single-blog-head .rg-kicker{color:#a97d1d}.rg-single-blog h1{font-family:Georgia,serif;color:var(--rg-green);font-size:48px;line-height:1.12;margin:12px 0 14px}.rg-single-meta{color:var(--rg-muted);font-size:14px}.rg-single-featured{margin:28px auto 38px;border-radius:22px;overflow:hidden;box-shadow:0 18px 44px #173f3218;background:linear-gradient(135deg,#65142f,#98264a)}.rg-single-featured img{width:100%;height:auto;display:block}.rg-single-content{font-size:17px;line-height:1.82;color:#4f3c43}.rg-single-content h2{font-family:Georgia,serif;color:var(--rg-green);font-size:31px;line-height:1.25;margin:42px 0 14px}.rg-single-content h3{color:var(--rg-green);font-size:22px;margin:32px 0 12px}.rg-single-content a{color:#8f1f43;text-decoration:underline;text-decoration-color:#d7a536;text-decoration-thickness:2px;text-underline-offset:3px}.rg-single-content ul,.rg-single-content ol{padding-left:24px}.rg-single-content blockquote{margin:28px 0;padding:18px 22px;border-left:4px solid var(--rg-gold);background:#fff;border-radius:0 12px 12px 0}.rg-single-back{margin-top:42px;padding-top:26px;border-top:1px solid var(--rg-line)}
@media(max-width:900px){.rgas-blog-grid,.rg-home-guides-grid{grid-template-columns:1fr 1fr!important}.rg-blog-hero h1,.rg-single-blog h1{font-size:40px}.rg-home-guides-head{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.rgas-blog-grid,.rg-home-guides-grid{grid-template-columns:1fr!important}.rg-blog-hero{padding:54px 0 36px}.rg-blog-hero h1,.rg-single-blog h1{font-size:34px}.page-template-default .rgas-blog{padding:42px 0 58px!important}.page-template-default .rgas-blog>h1{font-size:36px!important}.rg-home-guides{padding:52px 0}.rg-home-guides-head h2{font-size:34px}.rg-single-blog{padding:38px 0 58px}.rg-single-content{font-size:16px}.rg-single-content h2{font-size:27px}}


/* =========================================================
   v0.4.0 — Premium Burgundy / Champagne visual system
   ========================================================= */
:root{
  --rg-green:#7f1636;
  --rg-green-2:#a01e45;
  --rg-gold:#c99a45;
  --rg-cream:#fbf7f2;
  --rg-card:#fffdfb;
  --rg-text:#351820;
  --rg-muted:#76666a;
  --rg-line:#eadfda;
  --rg-wine:#65122c;
  --rg-wine-dark:#3f0b1b;
  --rg-blush:#f8eceb;
  --rg-champagne:#efd8ae;
  --rg-shadow:0 18px 50px rgba(79,20,38,.10);
}
body{background:var(--rg-cream);color:var(--rg-text);letter-spacing:-.005em}
::selection{background:#f0d6da;color:#5a1028}

.site-header{
  background:rgba(255,253,251,.96);
  color:var(--rg-text);
  border-bottom:1px solid rgba(126,22,54,.10);
  box-shadow:0 8px 28px rgba(68,18,33,.06);
  backdrop-filter:blur(16px);
}
.header-inner{height:82px}
.rg-brand{color:var(--rg-wine);font-size:27px;letter-spacing:-.025em}
.rg-brand-mark{
  width:44px;height:44px;border-color:var(--rg-gold);color:var(--rg-gold);
  border-radius:15px 15px 15px 5px;background:#fffaf2;box-shadow:inset 0 0 0 4px #fff;
}
.rg-nav{gap:22px;color:#4a3339;font-weight:700}
.rg-nav>a{position:relative;padding:29px 0 27px}
.rg-nav>a:not(.rg-btn):after{content:"";position:absolute;height:2px;left:50%;right:50%;bottom:18px;background:var(--rg-gold);transition:.2s ease}
.rg-nav>a:not(.rg-btn):hover:after{left:0;right:0}
.rg-nav a:hover{color:var(--rg-wine)}
.rg-btn{border-radius:11px;padding:13px 20px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.rg-btn:hover{transform:translateY(-1px)}
.rg-btn-primary,.site-header .rg-btn-primary{
  background:linear-gradient(135deg,#74132f,#951f45);color:#fff;
  box-shadow:0 10px 24px rgba(127,22,54,.20);
}
.rg-btn-primary:hover,.site-header .rg-btn-primary:hover{background:linear-gradient(135deg,#631028,#851a3d);color:#fff}
.rg-btn-outline{border-color:#cfaeba;color:var(--rg-wine);background:#fff}
.rg-btn-outline:hover{border-color:var(--rg-wine);box-shadow:0 8px 20px rgba(95,17,44,.08)}

.rg-hero{
  min-height:650px;
  background:
    linear-gradient(90deg,rgba(48,8,21,.97),rgba(76,14,36,.91) 46%,rgba(95,31,43,.62)),
    radial-gradient(circle at 82% 34%,#d2a367 0,#8f4d58 25%,#501125 58%,#2f0815 100%);
  color:#fff;
}
.rg-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 76% 25%,rgba(239,216,174,.23),transparent 26%),linear-gradient(120deg,transparent 58%,rgba(255,255,255,.045));pointer-events:none}
.rg-hero:after{width:620px;height:620px;border-color:rgba(239,216,174,.18);box-shadow:0 0 0 55px rgba(239,216,174,.035),0 0 0 110px rgba(239,216,174,.025)}
.rg-hero-v2 .rg-hero-grid{padding:78px 0 116px}
.rg-hero-chip{background:rgba(255,255,255,.075);border-color:rgba(239,216,174,.36);color:#f4dfb9;letter-spacing:1.25px;padding:9px 13px}
.rg-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:68px;line-height:1.02;letter-spacing:-.045em;max-width:720px}
.rg-hero h1 span{color:#e7bd78}
.rg-hero p{font-size:18px;max-width:680px;color:#f3e9e8;line-height:1.72}
.rg-actions .rg-btn-outline{border-color:rgba(239,216,174,.65);color:#fff;background:rgba(255,255,255,.05)}

.rg-hero-card{
  border:1px solid rgba(255,255,255,.60);border-radius:24px;padding:31px;
  box-shadow:0 28px 80px rgba(32,5,15,.34);background:rgba(255,253,251,.97);
}
.rg-hero-card .rg-kicker{color:#9d6a27}
.rg-hero-card h3{color:#4b1726;font-size:32px;letter-spacing:-.025em}
.rg-field{color:#624c52}
.rg-field input,.rg-field select,.rg-field textarea{border-color:#e5d9d6;background:#fffdfa;padding:13px 12px;outline:none}
.rg-field input:focus,.rg-field select:focus,.rg-field textarea:focus{border-color:#b36c7f;box-shadow:0 0 0 3px rgba(127,22,54,.08)}

.rg-trust-v2{margin-top:-58px}
.rg-trust-card,.rg-card{border-color:var(--rg-line);box-shadow:var(--rg-shadow);background:rgba(255,253,251,.985)}
.rg-trust-card{border-radius:18px;padding:22px}
.rg-icon{background:#faecef;color:var(--rg-wine);box-shadow:inset 0 0 0 1px #f0d8de}
.rg-trust-card strong{color:#4e1a2a}

.rg-free-promo{background:linear-gradient(180deg,#fbf7f2,#fffaf7);border-color:#ede0dc}
.rg-free-promo-card{border-color:#eadbd7;border-radius:28px;box-shadow:0 24px 70px rgba(91,19,43,.10)}
.rg-free-promo-copy{background:linear-gradient(145deg,#fffdfb,#fff8f5)}
.rg-free-label{background:#f9e8ec;color:#8a1839;border:1px solid #efd4db;box-shadow:none}
.rg-free-promo h2{color:#5e142b;letter-spacing:-.035em}
.rg-free-promo h2 span{color:#a36e28}
.rg-free-promo-copy>p{color:#78656a}
.rg-free-promo-trust{color:#704c57}
.rg-free-promo-visual{background:linear-gradient(140deg,#f8e7df,#e8c5bd);position:relative}
.rg-free-promo-visual:after{content:"Private • Respectful • Marriage-focused";position:absolute;left:24px;right:24px;bottom:24px;background:rgba(59,12,29,.82);color:#fff7ef;padding:13px 16px;border-radius:12px;text-align:center;font-weight:800;font-size:13px;backdrop-filter:blur(8px)}
.rg-free-features{background:#fffaf7;border-top:1px solid #eee1dd;padding:18px;gap:12px;margin-top:0}
.rg-free-feature{border-color:#eedfda;background:#fffdfb;border-radius:15px;box-shadow:none}
.rg-free-feature strong{color:#741934}
.rg-free-feature span{color:#806d72}

.rg-section h2,.rg-home-guides-head h2{color:#4d1425;letter-spacing:-.035em}
.rg-kicker{color:#a8762b;letter-spacing:1.8px}
.rg-members-section{background:#fffdfb}
.rg-members-head .rg-sub{max-width:620px}
.rg-section-soft{background:linear-gradient(180deg,#f9eeed,#fbf6f1)}
.rg-step-card{padding:28px!important;border-radius:20px!important;position:relative;overflow:hidden}
.rg-step-card>span{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#7e1736!important;color:#fff!important;font-weight:900;box-shadow:0 8px 22px rgba(126,23,54,.18)}
.rg-step-card:after{content:"";position:absolute;width:100px;height:100px;border:1px solid #eedadf;border-radius:50%;right:-38px;bottom:-48px;box-shadow:0 0 0 20px rgba(126,23,54,.025)}

.rg-home-guides{background:#fffaf7;border-top-color:#eee0dc}
.rg-guide-card{border-color:#eadbd8!important;border-radius:20px!important;overflow:hidden;box-shadow:0 14px 38px rgba(79,20,38,.07)!important;transition:transform .2s ease,box-shadow .2s ease}
.rg-guide-card:hover{transform:translateY(-3px);box-shadow:0 20px 48px rgba(79,20,38,.11)!important}
.rg-guide-read{color:#8a1738!important}

.rg-badge{background:#fae9ed;color:#831838}
.rg-photo{background:linear-gradient(135deg,#f2dfe1,#f5ead6);color:#7d1936}
.rg-upgrade{background:linear-gradient(120deg,#5e1029,#8e1b40);box-shadow:0 16px 40px rgba(88,13,38,.16)}

.rg-footer{background:linear-gradient(145deg,#3b0919,#561027);color:#f2e6e6;padding:58px 0 0}
.rg-footer .rg-brand{color:#fff8f0}
.rg-footer .rg-brand-mark{background:transparent}
.rg-footer strong{color:#efc77f}
.rg-footer a:hover{color:#efc77f}
.rg-footer-bottom{border-top-color:rgba(255,255,255,.12);padding:22px 0 26px}

/* Premium polish for plugin/profile UI without changing plugin logic */
.rg-card,[class*="rgc-"]{--rg-green:#7f1636;--rg-green-2:#a01e45;--rg-gold:#c99a45}
button,input,select,textarea{font-family:inherit}
input,select,textarea{accent-color:#7f1636}

@media(max-width:900px){
  .header-inner{height:72px}
  .rg-hero{min-height:auto}
  .rg-hero-v2 .rg-hero-grid{padding:56px 0 92px!important}
  .rg-hero h1,body.home .rg-hero-copy h1{font-size:52px!important}
  .rg-trust-v2{margin-top:-42px}
}
@media(max-width:620px){
  .header-inner{height:66px}
  .rg-brand{font-size:21px}.rg-brand-mark{width:38px;height:38px}
  .rg-hero-v2 .rg-hero-grid{padding:42px 0 74px!important}
  .rg-hero h1,body.home .rg-hero-copy h1{font-size:42px!important;line-height:1.04!important}
  .rg-hero p{font-size:16px}
  .rg-hero-card{padding:23px;border-radius:19px}
  .rg-trust-v2{margin-top:-32px}
  .rg-free-promo-card{border-radius:21px}
  .rg-free-promo-visual:after{left:14px;right:14px;bottom:14px;font-size:12px}
  .rg-footer-bottom{flex-direction:column}
}

/* =========================================================
   v0.4.1 — Recent Members / shortcode profile cards
   Remove legacy green from plugin-rendered homepage cards.
   Scoped to homepage Recent Members so plugin logic is untouched.
   ========================================================= */
.rg-members-section{
  background:#fffdfb;
}
.rg-members-section .rg-members-head h2{
  color:#5d142b;
}
.rg-members-section .rg-members-head .rg-btn-outline{
  color:#7f1636!important;
  border-color:#b56a7e!important;
  background:#fffdfb!important;
}
.rg-members-section .rg-members-head .rg-btn-outline:hover{
  color:#fff!important;
  border-color:#7f1636!important;
  background:#7f1636!important;
}

/* Force shortcode/plugin theme variables to the premium palette. */
.rg-members-section,
.rg-members-section [class*="rgc-"],
.rg-members-section [class*="rg-"]{
  --rg-green:#7f1636!important;
  --rg-green-2:#a01e45!important;
  --rg-primary:#7f1636!important;
  --rg-primary-2:#a01e45!important;
  --rg-accent:#c99a45!important;
  --rg-gold:#c99a45!important;
}

/* Profile card shells */
.rg-members-section [class*="card"]{
  border-color:#eadbd7!important;
  box-shadow:0 13px 34px rgba(79,20,38,.08)!important;
}
.rg-members-section [class*="profile"][class*="card"]{
  background:#fffdfb!important;
  border-radius:16px!important;
  overflow:hidden;
}

/* Typography + ordinary text links */
.rg-members-section [class*="profile"] h2,
.rg-members-section [class*="profile"] h3,
.rg-members-section [class*="profile"] h4,
.rg-members-section [class*="title"]{
  color:#64152d!important;
}
.rg-members-section a:not([class*="btn"]):not([class*="button"]):not([class*="share"]):not([class*="whatsapp"]):not([class*="action"]){
  color:#7f1636!important;
}

/* Legacy green profile/avatar/badge/icon squares become champagne gold. */
.rg-members-section [class*="badge"],
.rg-members-section [class*="icon"],
.rg-members-section [class*="avatar-placeholder"],
.rg-members-section [class*="profile-icon"],
.rg-members-section [class*="user-icon"]{
  background-color:#c99a45!important;
  border-color:#c99a45!important;
  color:#fff!important;
}

/* Action buttons including Share Profile and WhatsApp. */
.rg-members-section a[class*="btn"],
.rg-members-section a[class*="button"],
.rg-members-section button,
.rg-members-section [role="button"],
.rg-members-section [class*="action"] a,
.rg-members-section a[class*="whatsapp"],
.rg-members-section a[class*="share"]{
  border-color:#8b1a3b!important;
  color:#7f1636!important;
  background:#fffdfb!important;
  box-shadow:none!important;
}
.rg-members-section a[class*="whatsapp"],
.rg-members-section [class*="whatsapp"] a,
.rg-members-section a[href*="wa.me"],
.rg-members-section a[href*="whatsapp"]{
  background:linear-gradient(135deg,#74132f,#951f45)!important;
  border-color:#74132f!important;
  color:#fff!important;
}
.rg-members-section a[class*="btn"]:hover,
.rg-members-section a[class*="button"]:hover,
.rg-members-section button:hover,
.rg-members-section [role="button"]:hover,
.rg-members-section [class*="action"] a:hover,
.rg-members-section a[class*="share"]:hover{
  background:#7f1636!important;
  border-color:#7f1636!important;
  color:#fff!important;
}

/* Cover common hard-coded shortcode utility classes without altering images. */
.rg-members-section [class*="green"],
.rg-members-section [class*="success"]{
  background-color:#c99a45!important;
  border-color:#c99a45!important;
  color:#fff!important;
}
.rg-members-section svg:not([class*="photo"]),
.rg-members-section [class*="icon"] svg{
  color:currentColor;
}

@media(max-width:620px){
  .rg-members-section [class*="profile"][class*="card"]{border-radius:14px!important}
}

/* v0.4.2 — eliminate remaining green in Recent Members locked-photo UI.
   The locked-photo markup is produced by the matrimonial plugin, so these
   selectors intentionally target visual descendants inside this section. */
.rg-members-section a{color:#7f1636!important}
.rg-members-section a:hover{color:#a01e45!important}
.rg-members-section svg{color:#7f1636}
.rg-members-section svg path[fill="#781936"],
.rg-members-section svg path[fill="#98264a"],
.rg-members-section svg path[fill="#781936"],
.rg-members-section svg path[fill="#98264a"],
.rg-members-section svg path[fill="#781936"]{fill:#7f1636!important}
.rg-members-section svg path[stroke="#781936"],
.rg-members-section svg path[stroke="#98264a"],
.rg-members-section svg path[stroke="#781936"],
.rg-members-section svg path[stroke="#98264a"],
.rg-members-section svg path[stroke="#781936"]{stroke:#7f1636!important}

/* Plugin locked-photo panels commonly use inline background declarations.
   Override only green/teal inline backgrounds; real profile images are not affected. */
.rg-members-section [style*="#781936"],
.rg-members-section [style*="#98264a"],
.rg-members-section [style*="#65142f"],
.rg-members-section [style*="#65142f"],
.rg-members-section [style*="#781936"],
.rg-members-section [style*="#98264a"],
.rg-members-section [style*="rgb(0, 75, 53)"],
.rg-members-section [style*="rgb(10, 104, 74)"]{
  background-color:#7f1636!important;
  border-color:#7f1636!important;
  color:#fff!important;
}

/* Locked/photo privacy artwork: convert generic decorative teal/green layers
   to burgundy, blush and champagne while keeping the white card clean. */
.rg-members-section [class*="locked"] [class*="wave"],
.rg-members-section [class*="lock"] [class*="wave"],
.rg-members-section [class*="privacy"] [class*="wave"],
.rg-members-section [class*="photo"] [class*="wave"]{
  background:#7f1636!important;
  color:#7f1636!important;
}
.rg-members-section [class*="locked"] [class*="lock"],
.rg-members-section [class*="privacy"] [class*="lock"],
.rg-members-section [class*="login"] [class*="lock"]{
  background:#f8eceb!important;
  color:#7f1636!important;
  border-color:#ead3d9!important;
}


/* =========================================================
   RISHTA GHER PROFESSIONAL v0.6.0 — VISUAL SYSTEM
   Deliberately strong final layer so activation is unmistakable.
   ========================================================= */
:root{
 --rg-green:#781936!important;--rg-green-2:#98264a!important;
 --rg-gold:#d2ad68!important;--rg-bg:#fff9f5!important;
 --rg-text:#20151a!important;--rg-muted:#75676c!important;
 --rg-line:#eadbd7!important;
}
html{scroll-behavior:smooth}
body{background:#fff9f5!important;color:#20151a!important}
.site-header{background:rgba(58,8,26,.96)!important;border-bottom:1px solid rgba(220,184,119,.26)!important;box-shadow:0 12px 40px rgba(34,5,16,.18)!important;backdrop-filter:blur(14px)}
.header-inner{height:82px!important}
.rg-brand{font-size:28px!important;letter-spacing:-.02em;color:#fff9f3!important}
.rg-brand-mark{width:46px!important;height:46px!important;border-color:#d9b66e!important;color:#d9b66e!important;background:rgba(255,255,255,.04)!important}
.rg-nav{gap:27px!important;font-size:13px!important;letter-spacing:.01em}
.rg-nav>a:not(.rg-btn){color:#f5e9eb!important;opacity:.9}.rg-nav>a:not(.rg-btn):hover{color:#e7c77f!important;opacity:1}
.site-header .rg-btn-primary{background:linear-gradient(135deg,#e1bd76,#c99a49)!important;color:#40101f!important;border:0!important}

body.home .rg-hero{min-height:700px!important;background:
 radial-gradient(circle at 78% 26%,rgba(229,191,120,.20),transparent 23%),
 radial-gradient(circle at 88% 80%,rgba(255,255,255,.06),transparent 22%),
 linear-gradient(118deg,#300715 0%,#5d102b 47%,#872c4d 100%)!important;}
body.home .rg-hero-v2 .rg-hero-grid{padding:96px 0 142px!important;grid-template-columns:1.08fr .82fr!important;gap:74px!important}
body.home .rg-hero-chip{font-size:11px!important;padding:10px 14px!important;letter-spacing:1.6px!important;border-color:rgba(224,190,119,.55)!important;background:rgba(255,255,255,.06)!important;color:#f1d69c!important}
body.home .rg-hero h1{font-size:76px!important;line-height:.98!important;max-width:760px!important;letter-spacing:-.055em!important;margin:20px 0 24px!important;color:#fff!important}
body.home .rg-hero h1 span{color:#e8c77e!important}
body.home .rg-hero p{font-size:19px!important;line-height:1.75!important;max-width:690px!important;color:#f3e7ea!important}
body.home .rg-actions{margin-top:34px!important;gap:13px!important}
body.home .rg-actions .rg-btn{padding:15px 23px!important;border-radius:12px!important}
body.home .rg-actions .rg-btn-primary{background:linear-gradient(135deg,#d9b268,#bb8740)!important;color:#3a0b1c!important}
body.home .rg-actions .rg-btn-outline{border-color:rgba(231,199,127,.7)!important;color:#fff!important;background:rgba(255,255,255,.04)!important}

body.home .rg-search-card{max-width:510px!important;padding:35px!important;border-radius:28px!important;background:rgba(255,252,249,.985)!important;border:1px solid rgba(255,255,255,.8)!important;box-shadow:0 34px 90px rgba(25,3,11,.35)!important}
body.home .rg-search-card:before{content:'PRIVATE MATCH SEARCH';font-size:10px!important;letter-spacing:1.5px!important;background:#f7e8ec!important;color:#7b1737!important;border:1px solid #edd2da!important;padding:8px 10px!important;border-radius:999px!important;display:inline-flex!important;margin:0 0 13px!important}
body.home .rg-search-card .rg-kicker{display:none!important}
body.home .rg-search-card h3{font-size:34px!important;margin:0 0 22px!important;color:#4b1024!important}
body.home .rg-search-mini{gap:15px!important}
body.home .rg-field{font-size:12px!important;color:#5e4a51!important}
body.home .rg-field input,body.home .rg-field select{min-height:48px!important;border-radius:12px!important;background:#fff!important;border:1px solid #e3d4d0!important}
body.home .rg-search-button{height:50px!important;border-radius:12px!important;background:linear-gradient(135deg,#771633,#9b2447)!important;color:#fff!important}

body.home .rg-trust-v2{margin-top:-66px!important;gap:18px!important}
body.home .rg-trust-card{padding:24px!important;border-radius:20px!important;background:#fffdfb!important;border:1px solid #ebdcda!important;box-shadow:0 18px 52px rgba(78,15,38,.10)!important}
body.home .rg-icon{width:48px!important;height:48px!important;background:#f8e8ed!important;color:#7b1737!important}
body.home .rg-trust-card strong{font-size:15px!important;color:#4c1426!important}

body.home .rg-free-promo{padding:94px 0!important;background:#fff9f5!important}
body.home .rg-free-promo-card{border-radius:30px!important;border:1px solid #eadbd7!important;box-shadow:0 24px 75px rgba(70,13,34,.09)!important}
body.home .rg-free-promo-copy{padding:58px 55px 45px!important;background:linear-gradient(145deg,#fffdfa,#fff6f3)!important}
body.home .rg-free-promo h2{font-size:50px!important;color:#541126!important}
body.home .rg-free-promo h2 span{color:#a16f2b!important}
body.home .rg-free-promo-copy>p{font-size:17px!important;color:#74646a!important}
body.home .rg-free-promo-visual:after{content:'Privacy-first • Family-friendly • Marriage-focused'!important;background:rgba(55,8,25,.86)!important;border:1px solid rgba(230,197,127,.28)!important}
body.home .rg-free-features{padding:22px!important;background:#fffaf7!important;gap:14px!important}
body.home .rg-free-feature{padding:20px!important;border-radius:16px!important;background:#fff!important;border-color:#eadbd7!important}

body.home .rg-members-section{padding:96px 0!important;background:#fff!important}
body.home .rg-members-head{margin-bottom:32px!important}
body.home .rg-members-head h2,body.home #how-it-works h2{font-size:44px!important;color:#4b1023!important}
body.home #how-it-works{padding:96px 0!important;background:linear-gradient(180deg,#f8eceb,#fff9f5)!important}
body.home .rg-step-card{padding:34px!important;border-radius:22px!important;background:#fffdfb!important}
body.home .rg-step-card>span{width:48px!important;height:48px!important;background:linear-gradient(135deg,#731431,#9d2549)!important}

.rg-footer{background:linear-gradient(145deg,#2e0614,#4b0d23)!important;color:#f0e5e7!important;padding-top:64px!important}
.rg-footer strong,.rg-footer a:hover{color:#e5c37e!important}

@media(max-width:900px){
 body.home .rg-hero-v2 .rg-hero-grid{grid-template-columns:1fr!important;padding:65px 0 105px!important;gap:38px!important}
 body.home .rg-hero h1{font-size:58px!important}
 body.home .rg-search-card{max-width:none!important;margin:0!important}
 .header-inner{height:72px!important}
}
@media(max-width:620px){
 body.home .rg-hero h1{font-size:43px!important}
 body.home .rg-hero p{font-size:16px!important}
 body.home .rg-search-card{padding:23px!important;border-radius:20px!important}
 body.home .rg-search-mini{grid-template-columns:1fr!important}
 body.home .rg-trust-v2{margin-top:-38px!important}
 body.home .rg-free-promo{padding:58px 0!important}
 body.home .rg-free-promo-copy{padding:32px 24px!important}
 body.home .rg-free-promo h2{font-size:38px!important}
 body.home .rg-members-section,body.home #how-it-works{padding:62px 0!important}
 body.home .rg-members-head h2,body.home #how-it-works h2{font-size:36px!important}
}


/* =========================================================
   v0.6.1 GLOBAL BRAND ENFORCEMENT — ALL PAGES
   Removes remaining legacy green/teal UI and keeps the whole
   theme on Burgundy + Champagne Gold + Warm Ivory.
   ========================================================= */
:root{
  --rg-green:#781936!important;
  --rg-green-2:#98264a!important;
  --rg-gold:#c99a49!important;
  --rg-cream:#fff9f5!important;
  --rg-card:#ffffff!important;
  --rg-text:#20151a!important;
  --rg-muted:#75676c!important;
  --rg-line:#eadde1!important;
}

body,
body.page,
body.single,
body.archive,
body.search,
body.author{background:#fff9f5;color:#20151a}

/* Global interactive brand color */
a{accent-color:#781936}
a:hover{color:#781936}
button,input[type="submit"],input[type="button"],input[type="reset"],
.wp-element-button,.button,.btn,[class*="btn-primary"],[class*="button-primary"]{
  border-color:#781936;
}
input:focus,select:focus,textarea:focus{
  border-color:#98264a!important;
  box-shadow:0 0 0 3px rgba(152,38,74,.10)!important;
  outline:none!important;
}
input[type="checkbox"],input[type="radio"]{accent-color:#781936!important}

/* Common success/verified states use wine or champagne rather than green. */
.rg-badge,[class*="verified"],[class*="success"],[class*="active-badge"],
[class*="status-approved"],[class*="status-active"]{
  background:#f8e9ee!important;
  color:#781936!important;
  border-color:#e8cfd8!important;
}

/* Decorative icon circles / chips */
.rg-icon,[class*="icon-wrap"],[class*="icon-circle"],[class*="feature-icon"]{
  background:#f8e9ee!important;
  color:#781936!important;
}

/* Cards, tables and pagination across inner pages */
.pagination .current,.page-numbers.current,
nav.pagination a:hover,.page-numbers:hover{
  background:#781936!important;color:#fff!important;border-color:#781936!important;
}
table thead th{color:#5a142a;border-color:#eadde1}
blockquote{border-left-color:#c99a49!important}

/* WordPress / plugin generated inline legacy green styles. */
[style*="#004b35"],[style*="#0a684a"],[style*="#003f2d"],[style*="#00583e"],
[style*="#00563f"],[style*="#006b4f"],[style*="#00875a"],[style*="#008000"],
[style*="#08724f"],[style*="#0b4d38"]{
  color:#781936!important;
  border-color:#d9bcc7!important;
}

/* SVG legacy green/teal conversion globally. */
svg [fill="#004b35"],svg [fill="#0a684a"],svg [fill="#003f2d"],svg [fill="#00583e"],
svg [fill="#00563f"],svg [fill="#006b4f"],svg [fill="#00875a"],svg [fill="#008000"],
svg [fill="#08724f"],svg [fill="#0b4d38"]{fill:#781936!important}
svg [stroke="#004b35"],svg [stroke="#0a684a"],svg [stroke="#003f2d"],svg [stroke="#00583e"],
svg [stroke="#00563f"],svg [stroke="#006b4f"],svg [stroke="#00875a"],svg [stroke="#008000"],
svg [stroke="#08724f"],svg [stroke="#0b4d38"]{stroke:#781936!important}

/* Blog + content pages */
.rg-blog-hero{background:linear-gradient(135deg,#3f0b1b,#781936 60%,#98264a)!important}
.rgas-blog-card>a:first-child,.rg-guide-thumb,
.rg-single-featured{background:linear-gradient(135deg,#551027,#8f2144)!important}
.rg-single-content,.entry-content,.page-content{color:#4f3c43}
.rg-single-content a,.entry-content a{color:#781936}
.rg-single-content h2,.rg-single-content h3,.entry-content h2,.entry-content h3{color:#5b1329}

/* Forms/member/account/dashboard/membership generated by theme or companion plugin. */
[class*="rg-"] .button,
[class*="rg-"] button:not(.menu-toggle),
[class*="rg-"] input[type="submit"]{
  transition:.2s ease;
}
[class*="rg-"] .button:hover,
[class*="rg-"] button:not(.menu-toggle):hover,
[class*="rg-"] input[type="submit"]:hover{
  filter:brightness(.96);
}

/* Gold is reserved for premium/upgrade highlights. */
[class*="premium"],[class*="upgrade"],[class*="gold"]{
  --rg-accent:#c99a49;
}

/* Prevent browser/native green accent remnants. */
progress{accent-color:#781936}
::selection{background:#f0d6da;color:#5a1028}


/* v0.6.5 Mobile menu visibility + homepage conflict fix */
@media(max-width:900px){
  body .site-header{
    display:block!important;
    position:sticky!important;
    top:0!important;
    z-index:99999!important;
    overflow:visible!important;
  }
  body .site-header .header-inner{
    display:flex!important;
    position:relative!important;
    align-items:center!important;
    justify-content:space-between!important;
    overflow:visible!important;
  }
  body .site-header .rg-mobile-menu-toggle,
  body.home .site-header .rg-mobile-menu-toggle{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:100002!important;
  }
  body .site-header .rg-nav,
  body.home .site-header .rg-nav{
    display:none!important;
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    z-index:100001!important;
  }
  body .site-header .rg-nav.is-open,
  body.home .site-header .rg-nav.is-open{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .rg-home-mobile-menu-shell{display:none!important}
}


/* =========================================================
   v0.6.7 — RG monogram + left-side mobile navigation
   ========================================================= */

/* Elegant overlapping RG monogram inspired by the Contact Us office branding */
.site-header .rg-brand-mark{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:58px!important;
  height:auto!important;
  padding:0 3px 0 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:43px!important;
  line-height:.9!important;
  font-weight:500!important;
  letter-spacing:-8px!important;
  color:#c99a45!important;
  text-shadow:0 1px 0 #efd8ae,0 2px 2px rgba(63,11,27,.12)!important;
}

/* Give the brand name a little breathing room after the overlapping monogram */
.site-header .rg-brand{
  gap:12px!important;
}

@media(max-width:900px){
  /* Hamburger belongs on the LEFT, before the RG/Rishta Gher brand */
  body .site-header .header-inner,
  body.home .site-header .header-inner{
    justify-content:flex-start!important;
    gap:10px!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  body .site-header .rg-mobile-menu-toggle,
  body.home .site-header .rg-mobile-menu-toggle{
    order:-1!important;
    margin:0 2px 0 0!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    flex:0 0 44px!important;
  }

  body .site-header .rg-brand,
  body.home .site-header .rg-brand{
    order:0!important;
    margin-right:auto!important;
  }

  body .site-header .rg-nav,
  body.home .site-header .rg-nav{
    left:0!important;
    right:0!important;
    width:100%!important;
  }

  /* Old homepage fallback must never create a second right-side menu */
  .rg-home-mobile-menu-shell{
    display:none!important;
  }

  .site-header .rg-brand-mark{
    min-width:51px!important;
    font-size:38px!important;
    letter-spacing:-7px!important;
  }
}

@media(max-width:520px){
  .site-header .rg-brand{
    font-size:21px!important;
    gap:9px!important;
  }
  .site-header .rg-brand-mark{
    min-width:46px!important;
    font-size:35px!important;
    letter-spacing:-7px!important;
  }
}


/* =========================================================
   v0.6.8 — Mobile horizontal overflow / white-side fix
   ========================================================= */
html, body{
  max-width:100%!important;
  overflow-x:hidden!important;
}

body,
.site-header,
.rg-content,
.rg-container,
.rg-section,
.rg-hero-v2,
.rg-free-promo,
.rg-free-promo-card,
.rg-free-promo-grid,
.rg-trust-v2{
  box-sizing:border-box!important;
}

img, video, iframe, svg{
  max-width:100%!important;
  height:auto;
}

@media(max-width:900px){
  html,body{
    width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
  }

  body .site-header,
  body.home .site-header,
  body .rg-content,
  body.home .rg-content{
    width:100%!important;
    max-width:100%!important;
    left:auto!important;
    right:auto!important;
    margin-left:0!important;
    margin-right:0!important;
    overflow-x:hidden!important;
  }

  body .rg-container,
  body.home .rg-container{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:16px!important;
    padding-right:16px!important;
    box-sizing:border-box!important;
  }

  body.home .rg-hero-v2,
  body.home .rg-hero-v2 .rg-hero-grid,
  body.home .rg-free-promo,
  body.home .rg-free-promo-card,
  body.home .rg-free-promo-grid,
  body.home .rg-trust-v2,
  body.home .rg-section,
  body.home .rg-section .rg-grid-3{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  body.home .rg-hero-v2 .rg-hero-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:28px!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  body.home .rg-hero-copy,
  body.home .rg-search-card,
  body.home .rg-free-promo-copy,
  body.home .rg-free-promo-visual{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  body.home .rg-hero-copy h1,
  body.home .rg-free-promo h2{
    max-width:100%!important;
    overflow-wrap:anywhere!important;
  }

  body.home .rg-hero-actions,
  body.home .rg-free-promo-actions,
  body.home .rg-trust-v2{
    max-width:100%!important;
    flex-wrap:wrap!important;
  }

  body.home .rg-trust-v2{
    width:100%!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  body .header-inner,
  body.home .header-inner{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  body .site-header .rg-nav,
  body.home .site-header .rg-nav{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

@media(max-width:620px){
  body.home .rg-container,
  body.home .rg-trust-v2{
    width:100%!important;
    max-width:100%!important;
  }

  body.home .rg-hero-copy h1{
    font-size:clamp(38px,11vw,52px)!important;
  }

  body.home .rg-hero-actions .rg-btn,
  body.home .rg-free-promo-actions .rg-btn{
    max-width:100%!important;
  }
}


/* =========================================================
   v0.6.9 — Mobile menu open/click fix after overflow hardening
   ========================================================= */
@media(max-width:900px){
  /* The dropdown is absolutely positioned below the header.
     Keep the page horizontally contained, but do NOT clip the header dropdown. */
  body .site-header,
  body.home .site-header{
    overflow:visible!important;
  }

  body .site-header .header-inner,
  body.home .site-header .header-inner{
    overflow:visible!important;
  }

  body .site-header .rg-mobile-menu-toggle,
  body.home .site-header .rg-mobile-menu-toggle{
    pointer-events:auto!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
  }

  body .site-header .rg-nav,
  body.home .site-header .rg-nav{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:100%!important;
    z-index:100001!important;
    overflow:visible!important;
  }

  body .site-header .rg-nav.is-open,
  body.home .site-header .rg-nav.is-open{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
}
