/*
Theme Name: Selfcare Net Editorial
Theme URI: https://selfcarenet.com
Author: Selfcare Net
Description: Tema editorial responsivo com conteúdo editável no Personalizador do WordPress.
Version: 2.6.0
Requires PHP: 7.4
Text Domain: selfcare-net
*/
:root{--green:#073e2c;--terra:#c94e2e;--ink:#27323a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--green);font-family:Arial,Helvetica,sans-serif}a{color:inherit}.hero{height:575px;position:relative;overflow:hidden;background:#fff}.hero-photo{position:absolute;inset:0 0 0 36%;background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.93) 8%,rgba(255,255,255,.2) 25%,transparent 43%),var(--hero-desktop);background-size:cover;background-position:center 44%}.hero-content{position:relative;z-index:2;padding:51px 4%;max-width:760px}.brand{font-family:Georgia,'Times New Roman',serif;font-size:58px;line-height:1;letter-spacing:-2px;font-weight:bold}.brand span{color:var(--terra)}.brand-sub{font-size:13px;letter-spacing:5px;font-weight:700;margin:10px 0 74px;display:flex;align-items:center;gap:12px}.brand-sub:before,.brand-sub:after{content:'';display:block;width:30px;border-top:1px solid var(--green)}h1,h2{font-family:Georgia,'Times New Roman',serif}h1{font-size:clamp(38px,4.3vw,70px);line-height:1.06;letter-spacing:-1.4px;margin:0 0 16px;max-width:670px} .hero-subtitle{font-size:clamp(21px,2.6vw,40px);color:var(--ink);margin:0}.wave{position:absolute;z-index:3;bottom:-1px;left:0;width:100%;height:74px}.cards{max-width:1490px;margin:24px auto 35px;padding:0 3%;display:grid;grid-template-columns:1fr 1fr;gap:20px}.topic{min-width:0;display:grid;grid-template-columns:51% 49%;align-items:stretch;min-height:285px;border-radius:28px;background:white;box-shadow:0 3px 5px #0002;overflow:hidden;border:1px solid #f1f1f1}.topic-photo{width:100%;height:100%;object-fit:cover;min-height:280px;border-radius:27px}.topic-info{padding:18px 22px 18px 30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.topic-icon{color:#4b9c12;width:50px;height:50px;margin-bottom:7px}.topic h2{font-size:clamp(27px,2.7vw,44px);letter-spacing:-1px;line-height:1.05;margin:0 0 8px}.topic p{color:#10151a;font-size:clamp(17px,1.7vw,27px);line-height:1.2;margin:0 0 20px}.explore{display:inline-flex;justify-content:center;align-items:center;gap:15px;border-radius:40px;background:var(--terra);color:#fff;text-decoration:none;font-size:clamp(18px,1.8vw,26px);padding:10px 32px;min-width:180px}.explore:hover,.explore:focus{background:#a83c24}.site-footer{margin:35px 3% 0;padding:22px 10px 34px;border-top:1px solid #e6e6e6;display:flex;justify-content:center;flex-wrap:wrap;gap:12px 25px;font-size:16px}.site-footer a{text-underline-offset:5px}.footer-separator{padding-left:25px;color:var(--green)}@media(max-width:800px){.hero{height:690px}.hero-photo{inset:300px 0 0;background-image:linear-gradient(180deg,#fff 0%,rgba(255,255,255,0) 22%),var(--hero-mobile);background-size:cover;background-position:center center}.hero-content{padding:35px 5% 0;text-align:center;max-width:none}.brand{font-size:clamp(40px,8vw,64px)}.brand-sub{justify-content:center;font-size:10px;letter-spacing:4px;margin:12px 0 44px}.hero h1{font-size:clamp(33px,6.2vw,54px);line-height:1.08;margin:0 auto 12px;max-width:650px}.hero-subtitle{font-size:clamp(19px,3.4vw,28px)}.wave{height:46px}.cards{display:grid;grid-template-columns:1fr;gap:16px;margin:16px auto 30px;padding:0 4%}.topic{grid-template-columns:44% 56%;min-height:190px;border-radius:23px}.topic-photo{min-height:190px;border-radius:22px}.topic-info{padding:10px 12px 10px 22px}.topic-icon{width:38px;height:38px;margin-bottom:2px}.topic h2{font-size:clamp(24px,5vw,38px)}.topic p{font-size:clamp(15px,3.2vw,23px);margin-bottom:10px}.explore{font-size:clamp(16px,3.4vw,22px);padding:8px 23px;min-width:140px}.site-footer{font-size:12px;gap:9px 13px;padding-top:23px}.footer-separator{padding-left:13px}}@media(max-width:420px){.hero{height:590px}.hero-photo{top:278px}.brand{font-size:40px}.brand-sub{margin-bottom:32px;letter-spacing:3px}.hero h1{font-size:32px}.hero-subtitle{font-size:18px}.topic{min-height:152px}.topic-photo{min-height:152px}.topic-info{padding-left:12px}.topic-icon{width:27px;height:27px}.topic h2{font-size:22px}.topic p{font-size:14px}.explore{font-size:15px;min-width:116px;padding:7px 18px}.site-footer{font-size:10px}}

/* Version 1.1: hero framing and compact responsive topic cards */
@media(min-width:801px){
 .hero{height:575px}
 .hero-photo{left:40%;background-size:cover;background-position:center 48%;background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 3%,rgba(255,255,255,.74) 14%,rgba(255,255,255,.08) 34%,transparent 46%),var(--hero-desktop)}
 .hero-content{max-width:720px}
 .topic{grid-template-columns:51% 49%;min-height:255px}
 .topic-photo{min-height:255px}
 .topic-info{padding:14px 15px 14px 24px}
 .topic h2{font-size:clamp(25px,2.5vw,39px)}
 .topic p{font-size:clamp(16px,1.55vw,24px);margin-bottom:14px}
}
@media(max-width:800px){
 .hero{height:660px}
 .hero-content{padding-top:25px}
 .brand{font-size:clamp(34px,6.8vw,52px)}
 .brand-sub{margin:8px 0 27px;font-size:10px}
 .hero h1{font-size:clamp(30px,5.2vw,44px);line-height:1.08;max-width:620px;letter-spacing:-.8px}
 .hero-subtitle{font-size:clamp(18px,3.1vw,24px)}
 .hero-photo{inset:275px 0 0;background-image:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.25) 8%,transparent 19%),var(--hero-mobile);background-size:100% auto;background-repeat:no-repeat;background-position:center top}
 .cards{gap:14px;margin-top:13px}
 .topic{grid-template-columns:45% 55%;min-height:165px}
 .topic-photo{min-height:165px;object-position:center}
 .topic-info{padding:9px 12px 9px 18px}
 .topic-icon{height:30px;width:30px}
 .topic h2{font-size:clamp(22px,3.7vw,31px);letter-spacing:-.5px;line-height:1.04;margin-bottom:6px}
 .topic p{font-size:clamp(14px,2.6vw,19px);line-height:1.17;margin-bottom:10px}
 .explore{font-size:clamp(15px,2.7vw,19px);padding:7px 19px;min-width:126px}
}
@media(max-width:420px){
 .hero{height:570px}
 .hero-photo{top:265px}
 .brand{font-size:34px}
 .brand-sub{margin-bottom:22px;letter-spacing:2.2px}
 .hero h1{font-size:clamp(27px,7.1vw,32px)}
 .hero-subtitle{font-size:17px}
 .topic{grid-template-columns:44% 56%;min-height:150px}
 .topic-photo{min-height:150px}
 .topic-info{padding:7px 8px 7px 12px}
 .topic h2{font-size:clamp(19px,5.2vw,23px)}
 .topic p{font-size:clamp(12px,3.3vw,14px)}
 .explore{font-size:14px;padding:6px 15px;min-width:105px}
}

/* v1.2: refined editorial typography */
h1,h2,.brand{font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;}
h1{font-weight:600;letter-spacing:-.02em;}
.topic h2{font-weight:600;letter-spacing:-.02em;}
.brand{font-weight:600;}

/* v1.3: ensure editorial font loads before stylesheet and reduce hero zoom */
h1,h2,.brand{font-family:"Cormorant Garamond",Georgia,serif !important;font-weight:600;}
@media(min-width:801px){
 .hero-photo{left:39%;background-image:var(--hero-desktop);background-size:auto 88%;background-repeat:no-repeat;background-position:right bottom;
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 13%,#000 35%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 13%,#000 35%)}
 .hero-content{max-width:650px;}
 .hero h1{font-size:clamp(48px,4.4vw,65px);max-width:610px;line-height:1.02;}
 .topic h2{font-size:clamp(32px,2.9vw,46px);line-height:.98;}
}
@media(max-width:800px){
 .hero-photo{background-image:var(--hero-mobile);background-size:100% auto;background-position:center top;
 -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 12%);mask-image:linear-gradient(180deg,transparent 0%,#000 12%)}
 .hero h1{font-size:clamp(32px,5.8vw,47px);line-height:1.02;}
 .topic h2{font-size:clamp(26px,4.1vw,35px);line-height:1;}
}
@media(max-width:420px){.hero h1{font-size:33px}.topic h2{font-size:25px}}

/* v1.4 — editorial refinement and balanced hero composition */
@media (min-width:801px){
 .hero{height:575px}
 .hero-photo{left:42%;background-size:auto 94%;background-position:right bottom;
   -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.28) 12%,#000 32%);
   mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.28) 12%,#000 32%)}
 .hero-content{padding-top:51px;max-width:700px}
 .brand-sub{margin-bottom:68px}
 .hero h1{font-weight:700;font-size:clamp(48px,4.15vw,64px);line-height:1.035;max-width:620px;margin-bottom:8px}
 .hero-subtitle{font-size:clamp(21px,1.85vw,29px);line-height:1.25;font-weight:500;letter-spacing:-.015em;max-width:540px}
 .topic h2{font-weight:700;font-size:clamp(29px,2.35vw,38px);line-height:1.02}
}
@media (max-width:800px){
 .hero h1{font-weight:700;line-height:1.04;margin-bottom:7px}
 .hero-subtitle{font-size:clamp(17px,2.9vw,23px);line-height:1.25;font-weight:500;max-width:90%;margin:0 auto}
 .topic h2{font-weight:700}
}
@media(max-width:420px){
 .hero h1{font-size:31px}
 .hero-subtitle{font-size:17px}
 .topic h2{font-size:24px}
}

/* v1.5 — three requested refinements: balanced couple, joined wordmark, attached subtitle */
.brand{display:flex;align-items:baseline;gap:0;white-space:nowrap;letter-spacing:-.045em;}
.brand span{margin-left:-.075em;}
.hero h1{margin-bottom:2px!important;}
.hero-subtitle{margin-top:0!important;line-height:1.18!important;}
@media(min-width:801px){
 .hero-photo{inset:0 0 0 36%!important;background-image:var(--hero-desktop)!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:right bottom!important;
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.2) 7%,#000 23%)!important;
 mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.2) 7%,#000 23%)!important;}
 .hero-content{max-width:650px!important;}
 .brand-sub{margin-bottom:61px!important;}
 .hero h1{max-width:590px!important;}
 .hero-subtitle{font-size:clamp(20px,1.8vw,28px)!important;}
}
@media(max-width:800px){
 .brand{justify-content:center;}
 .hero h1{margin-bottom:3px!important;}
 .hero-subtitle{margin-top:0!important;}
}

/* v1.6 — subtle breathing room between Selfcare and Net */
.brand span{margin-left:.065em!important;}

/* v1.7 — mobile: remove fixed-height gap and duplicate decorative wave.
   The supplied mobile hero photo already contains the wave artwork. */
@media (max-width:800px) {
  .hero { height:auto !important; min-height:0 !important; display:flex; flex-direction:column; overflow:hidden; }
  .hero-content { order:0; flex:none; padding-bottom:12px; }
  .hero-photo {
    order:1; position:relative !important; inset:auto !important;
    top:auto !important; left:auto !important; right:auto !important; bottom:auto !important;
    display:block; width:100%; height:auto !important;
    aspect-ratio:706 / 404;
    background-image:var(--hero-mobile) !important;
    background-size:cover !important; background-position:center center !important;
    background-repeat:no-repeat !important;
    -webkit-mask-image:none !important; mask-image:none !important;
  }
  .hero > .wave { display:none !important; }
  .cards { margin-top:14px !important; }
}

/* v1.8 — subtle 24px breathing room below mobile hero image */
@media (max-width:800px) { .cards { margin-top:24px !important; } }

/* v2.0: desktop-only line break before More; mobile remains unchanged. */
@media(min-width:801px){.desktop-more-break{display:block}}
@media(max-width:800px){.desktop-more-break{display:none}}

/* v2.2 — desktop only: lower the headline and subtitle together, leaving header and mobile untouched. */
@media (min-width:801px) {
  .hero-content > h1 { margin-top:65px !important; }
}

/* v2.4 — compact desktop hero; balanced tablet heading. Mobile <= 800px unchanged. */
@media (min-width:801px) {
  .hero { height:525px !important; }
  .brand-sub { margin-bottom:27px !important; }
  .hero-content > h1 { margin-top:0 !important; }
  .hero h1 { text-wrap:balance; }
}
@media (min-width:801px) and (max-width:1100px) {
  .hero h1 { font-size:clamp(37px,4.1vw,45px) !important; max-width:530px !important; line-height:1.05; text-wrap:balance; }
  .hero-content { max-width:610px !important; }
  .hero-subtitle { font-size:21px !important; }
}
@media (min-width:601px) and (max-width:800px) {
  .hero h1 { text-wrap:balance; max-width:650px; }
}

/* v2.5 — desktop: reposition text toward the photo and remove empty lower space.
   Mobile and footer are intentionally unchanged. */
@media (min-width:1101px) {
  .hero { height:485px !important; }
  .hero-content > h1 { margin-top:72px !important; }
  .brand-sub { margin-bottom:18px !important; }
}
@media (min-width:801px) and (max-width:1100px) {
  .hero { height:505px !important; }
  .hero-content > h1 { margin-top:48px !important; }
  .brand-sub { margin-bottom:18px !important; }
}

/* Launch state: inactive topic destinations without broken links */
.explore-soon{cursor:default;opacity:.83;white-space:nowrap}.explore-soon:hover{background:var(--terra)}
