/* Romance sub-page theme — sunset hero, rose accents, soft pink sections.
   Applied to general sub pages (body.rs-theme). Home and regional hv-sub pages do not load this file. */
body.rs-theme{
  --page-accent:#d82460!important;--page-accent-2:#c81e57!important;--page-ink:#3a1a2c!important;
  --page-wash:#fff5f7!important;--page-soft:#fde8ee!important;
  --rs-pink:#d82460;--rs-pink-2:#c81e57;--rs-ink:#2e1f29;--rs-muted:#7a6d74;--rs-line:#f4dde4;
  --rs-shadow:0 14px 34px rgba(200,30,87,.08);
  --rs-script:'Nanum Pen Script',cursive;
}

/* ---------- Hero ---------- */
body.rs-theme :is(.subpage-hero,.v19-hero,.about-hero){
  position:relative;overflow:hidden;isolation:isolate;color:#fff;
  background:linear-gradient(90deg,rgba(43,14,30,.94) 0%,rgba(66,22,40,.84) 40%,rgba(84,28,46,.38) 100%),url('../img/romance-sunset-v1.webp') center 58%/cover!important;
  border-bottom:0!important;
}
body.rs-theme :is(.subpage-hero,.v19-hero,.about-hero)::before{
  content:"";position:absolute;inset:0;z-index:0;width:auto;height:auto;border-radius:0;filter:none;transform:none;opacity:.5;
  background:url('../img/deco/petals.svg') right -40px top -20px/560px auto no-repeat;pointer-events:none;
}
body.rs-theme :is(.subpage-hero,.v19-hero,.about-hero)::after{
  content:"좋은 인연이 행복한 가정을 만듭니다 ♡";position:absolute;z-index:2;left:auto;top:auto;right:4%;bottom:18px;
  width:auto;height:auto;border-radius:0;background:none;filter:none;opacity:1;transform:rotate(-4deg);
  font-family:var(--rs-script);font-size:27px;line-height:1;color:rgba(255,236,242,.88);white-space:nowrap;pointer-events:none;
}
body.rs-theme :is(.hero-mini,.v19-hero .container,.about-hero-grid){position:relative;z-index:1}
body.rs-theme :is(.subpage-hero,.v19-hero) :is(.hero-mini,.container){padding-block:56px 64px}
body.rs-theme :is(.subpage-hero,.v19-hero,.about-hero) h1{color:#fff!important;text-shadow:0 2px 18px rgba(30,6,18,.35)}
body.rs-theme .about-hero h1 em{color:#ffb3c8}
body.rs-theme :is(.subpage-hero,.v19-hero,.about-hero) :is(.hero-mini-copy>p:not(.eyebrow),.v19-hero-copy>p,.about-hero-copy>p){color:rgba(255,238,244,.9)!important}
body.rs-theme :is(.subpage-hero .eyebrow,.v19-hero .v19-kicker,.about-hero .about-kicker){color:#ffb7cb!important;letter-spacing:.16em}
body.rs-theme :is(.subpage-hero,.v19-hero,.about-hero) .btn:not(.btn-light){background:linear-gradient(90deg,#e0336d,#ff6f98)!important;border:0;border-radius:999px;box-shadow:0 10px 26px rgba(216,36,96,.35);color:#fff}
body.rs-theme :is(.subpage-hero,.v19-hero,.about-hero) .btn-light{background:#fff!important;color:var(--rs-pink)!important;border:0!important;border-radius:999px}
body.rs-theme :is(.page-preview-frame,.v19-hero-media img,.about-visual>img){
  border:6px solid rgba(255,255,255,.92)!important;border-radius:24px!important;box-shadow:0 26px 60px rgba(20,4,12,.45)!important;
}
body.rs-theme .page-preview-frame img{border-radius:18px}
body.rs-theme :is(.v19-caption,.about-visual-card){color:var(--rs-ink)}
body.rs-theme .about-phone-board span{color:#f6d3de}
body.rs-theme .about-phone-board strong{color:#ffc2d4}

/* ---------- Breadcrumb / TOC ---------- */
body.rs-theme .seo-toc{background:#fff6f8!important;border:1px solid var(--rs-line)!important;border-radius:18px;margin-top:28px;margin-bottom:8px;padding-inline:26px}
body.rs-theme .seo-toc strong{color:var(--rs-pink-2)}
body.rs-theme .seo-toc a{color:#6c3047}

/* ---------- Section rhythm ---------- */
body.rs-theme main :is(h2,h3){color:var(--rs-ink)}
body.rs-theme :is(.section-title>span,.v19-kicker,.sp-kicker,.unique-notes-head>span,.about-kicker,.eyebrow){color:var(--rs-pink)}
body.rs-theme :is(.v19-section.soft,.v19-section.ivory,.sub-intro,.page-unique-notes){
  background:linear-gradient(180deg,#fff7f9 0%,#fff 100%)!important;
}
body.rs-theme :is(.v19-section.soft,.sub-faq){position:relative}
body.rs-theme .sub-faq{background:linear-gradient(180deg,#fff 0%,#fff4f7 100%)!important}
body.rs-theme .sub-faq::before{content:"";position:absolute;inset:0;background:url('../img/deco/petals.svg') left -120px bottom -60px/420px auto no-repeat;opacity:.35;pointer-events:none}
body.rs-theme .sub-faq .container{position:relative}

/* Cards */
body.rs-theme :is(.v19-info-card,.info-card,.keyword-box,.unique-notes-grid article,.page-completion-grid article,.v19-link-row a,.seo-related-cards li,.detail-intent-links a,.about-principle,.about-promise-card){
  background:#fff!important;border:1px solid var(--rs-line)!important;border-radius:18px!important;box-shadow:var(--rs-shadow)!important;
}
body.rs-theme :is(.unique-notes-grid b,.page-completion-grid b,.detail-intent-links b){background:var(--rs-pink)!important;color:#fff!important}
body.rs-theme :is(.v19-info-card span,.keyword-box strong){color:var(--rs-pink-2)}

/* ---------- FAQ ---------- */
body.rs-theme .faq-list details{background:#fff;border:1px solid var(--rs-line);border-radius:14px;box-shadow:0 6px 18px rgba(200,30,87,.05);margin:0 0 12px}
body.rs-theme .faq-list summary{color:var(--rs-ink)}
body.rs-theme .faq-list details[open]{border-color:#f2b9cb}
@media(min-width:900px){
  body.rs-theme .sub-faq .faq-list{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;align-items:start;max-width:none}
  body.rs-theme .sub-faq .faq-list details{margin:0}
}

/* ---------- Consultation band ---------- */
body.rs-theme .cta-section{
  position:relative;overflow:hidden;isolation:isolate;padding:64px 0!important;color:#fff;
  background:linear-gradient(90deg,rgba(78,20,44,.97) 0%,rgba(112,30,62,.88) 52%,rgba(112,30,62,.6) 100%),url('../img/romance-sunset-v1.webp') center 62%/cover!important;
}
body.rs-theme .cta-section::before{content:"";position:absolute;inset:0;z-index:-1;background:url('../img/deco/petals.svg') left -60px center/460px auto no-repeat;opacity:.45}
body.rs-theme .cta-inner{position:relative;background:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important;gap:28px}
body.rs-theme .cta-inner span{color:#ffb7cb}
body.rs-theme .cta-inner h2{color:#fff!important}
body.rs-theme .cta-inner p{color:#f8dce4!important}
body.rs-theme .cta-section :is(.cta-phone,.cta-btn){border-radius:14px!important;padding:16px 22px;font-weight:800;box-shadow:0 12px 26px rgba(20,4,12,.25)}
body.rs-theme .cta-section .cta-phone{background:linear-gradient(90deg,#e0336d,#ff5c8d)!important;color:#fff!important;border:0!important}
body.rs-theme .cta-section .cta-btn{background:#fff!important;color:var(--rs-pink-2)!important;border:0!important}
@media(min-width:1100px){
  body.rs-theme .cta-section::after{content:"";position:absolute;z-index:0;bottom:0;left:47%;width:210px;height:100%;background:url('../img/reference-hero-pink.webp') center bottom/contain no-repeat;pointer-events:none}
  body.rs-theme .cta-inner>div:first-child{max-width:40%}
  body.rs-theme .cta-inner{z-index:1}
}

/* ---------- Mobile ---------- */
@media(max-width:767px){
  body.rs-theme :is(.subpage-hero,.v19-hero,.about-hero){background:linear-gradient(180deg,rgba(43,14,30,.9) 0%,rgba(66,22,40,.86) 60%,rgba(84,28,46,.8) 100%),url('../img/romance-sunset-v1.webp') 62% center/cover!important}
  body.rs-theme :is(.subpage-hero,.v19-hero,.about-hero)::after{display:none}
  body.rs-theme :is(.subpage-hero,.v19-hero,.about-hero)::before{background-size:300px auto;opacity:.35}
  body.rs-theme :is(.subpage-hero,.v19-hero) :is(.hero-mini,.container){padding-block:8px}
  body.rs-theme .seo-toc{padding-inline:16px;border-radius:14px}
  body.rs-theme .cta-section{padding:44px 0!important}
}
@media(prefers-reduced-motion:no-preference){
  body.rs-theme :is(.v19-info-card,.keyword-box,.v19-link-row a,.detail-intent-links a){transition:transform .25s,box-shadow .25s}
  body.rs-theme :is(.v19-info-card,.keyword-box,.v19-link-row a,.detail-intent-links a):hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(200,30,87,.13)!important}
}
