/*
Theme Name: Believe In Renewal with Sharon
Theme URI: https://vegasdigitaldesigns.com/
Description: Custom child theme for Believe In Renewal with Sharon. Built for the approved five-page WordPress site.
Author: Vegas Digital Designs
Template: hello-elementor
Version: 1.1.14
Text Domain: believe-in-renewal
*/

:root{
  --bir-cream:#fbf8f1;
  --bir-warm:#f4eee3;
  --bir-blush:#ead9d3;
  --bir-sage:#9cae9d;
  --bir-teal:#456a62;
  --bir-deep:#2e514c;
  --bir-gold:#caa66d;
  --bir-ink:#313b37;
  --bir-white:#ffffff;
  --bir-shadow:0 16px 42px rgba(46,81,76,.12);
  --bir-radius:22px;
  --bir-max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bir-cream);color:var(--bir-ink);font-family:'Montserrat',Arial,sans-serif;line-height:1.75;font-size:16px}
a{color:var(--bir-deep);text-decoration:none}a:hover{color:var(--bir-gold)}
img{max-width:100%;height:auto;display:block}
.bir-wrap{width:min(var(--bir-max),calc(100% - 40px));margin:auto}
.bir-section{padding:76px 0;position:relative}
.bir-section.alt{background:var(--bir-warm)}
.bir-section.soft{background:linear-gradient(180deg,#fff 0%,#f7f2e9 100%)}
.bir-kicker{font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;color:var(--bir-gold);font-weight:700;margin-bottom:8px}
.bir-title,h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif;color:var(--bir-deep);line-height:1.08;margin:0 0 18px}
h1{font-size:clamp(2.8rem,6vw,5.3rem)}h2{font-size:clamp(2.2rem,4vw,3.45rem)}h3{font-size:clamp(1.5rem,2.5vw,2rem)}
.bir-script{font-family:'Allura',cursive;color:var(--bir-gold);font-size:1.35em;font-weight:400}
p{margin:0 0 18px}
.bir-lead{font-size:1.18rem;max-width:790px}
.bir-center{text-align:center}.bir-center .bir-lead{margin-left:auto;margin-right:auto}
.bir-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--bir-deep);color:#fff!important;border-radius:999px;padding:13px 24px;font-weight:700;line-height:1.2;border:1px solid var(--bir-deep);transition:.2s ease;margin:6px 8px 6px 0}
.bir-btn:hover{background:var(--bir-gold);border-color:var(--bir-gold);transform:translateY(-1px)}
.bir-btn.ghost{background:transparent;color:var(--bir-deep)!important}.bir-btn.ghost:hover{color:#fff!important;background:var(--bir-deep)}
.bir-hero{padding:26px 0 54px;background:linear-gradient(180deg,#fff 0%,var(--bir-cream) 100%)}
.bir-hero-image{width:min(1320px,calc(100% - 32px));margin:0 auto;border-radius:20px;overflow:hidden;box-shadow:var(--bir-shadow)}
.bir-hero-image img{width:100%;height:auto}
.bir-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.bir-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.bir-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.bir-card{background:#fff;border-radius:var(--bir-radius);padding:30px;box-shadow:var(--bir-shadow);border:1px solid rgba(202,166,109,.18)}
.bir-card p:last-child{margin-bottom:0}
.bir-card-icon{width:52px;height:52px;border-radius:50%;background:var(--bir-warm);display:grid;place-items:center;margin-bottom:16px;font-size:1.5rem}
.bir-photo-placeholder{min-height:360px;border:2px dashed rgba(69,106,98,.35);border-radius:var(--bir-radius);display:grid;place-items:center;background:#fff;color:var(--bir-teal);text-align:center;padding:30px}
.bir-photo-card{border-radius:var(--bir-radius);overflow:hidden;box-shadow:var(--bir-shadow);background:#fff}
.bir-photo-card img{width:100%;height:auto}
.bir-quote{border-left:4px solid var(--bir-gold);padding:6px 0 6px 26px;font-family:'Cormorant Garamond',Georgia,serif;font-size:1.45rem;color:var(--bir-deep)}
.bir-note{font-size:.92rem;color:#68736f}
.bir-book{display:grid;grid-template-columns:260px 1fr;gap:38px;align-items:center}
.bir-book img{border-radius:12px;box-shadow:var(--bir-shadow)}
.bir-socials{display:flex;flex-wrap:wrap;gap:12px}.bir-socials a{background:#fff;border:1px solid rgba(69,106,98,.16);padding:12px 17px;border-radius:999px;font-weight:700}
.bir-journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.bir-journal-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:var(--bir-shadow)}.bir-journal-card .inside{padding:24px}.bir-journal-card img{aspect-ratio:16/10;object-fit:cover;width:100%}
.bir-form{display:grid;gap:14px}.bir-form label{font-weight:700}.bir-form input,.bir-form textarea{width:100%;border:1px solid #cfd8d4;border-radius:12px;padding:13px 14px;background:#fff}.bir-form textarea{min-height:150px;resize:vertical}
.bir-alert{padding:14px 16px;border-radius:12px;background:#eef5f1;margin-bottom:18px}.bir-alert.error{background:#faeeee}
.bir-divider{height:1px;background:linear-gradient(90deg,transparent,var(--bir-gold),transparent);margin:32px 0}
.bir-smallcaps{letter-spacing:.1em;text-transform:uppercase;font-size:.82rem;font-weight:700;color:var(--bir-teal)}

/* Header */
.bir-site-header{position:sticky;top:0;z-index:1000;background:rgba(251,248,241,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(69,106,98,.10)}
.bir-topbar{background:var(--bir-deep);color:#fff;font-size:.84rem}.bir-topbar .bir-wrap{display:flex;justify-content:flex-end;gap:18px;padding:7px 0}.bir-topbar a{color:#fff}
.bir-nav{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:80px}.bir-brand{display:flex;align-items:center;gap:14px;font-family:'Cormorant Garamond',Georgia,serif;font-weight:700;color:var(--bir-deep);font-size:1.55rem}.bir-brand .custom-logo{max-height:58px;width:auto}.bir-brand small{display:block;font-family:'Montserrat',Arial,sans-serif;font-size:.65rem;font-weight:500;color:#6a7772}
.bir-menu{display:flex;gap:24px;list-style:none;margin:0;padding:0;align-items:center}.bir-menu a{font-weight:600;font-size:.94rem}.bir-menu .current-menu-item>a{color:var(--bir-gold)}
.bir-menu-toggle{display:none;border:0;background:var(--bir-deep);color:#fff;border-radius:10px;padding:10px 12px;font-size:1rem}

/* Footer */
.bir-footer{background:var(--bir-deep);color:#eaf0ed;padding:54px 0 24px}.bir-footer a{color:#fff}.bir-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.bir-footer h3{color:#fff;font-size:1.55rem}.bir-footer-links{list-style:none;margin:0;padding:0}.bir-footer-links li{margin:8px 0}.bir-copyright{border-top:1px solid rgba(255,255,255,.14);margin-top:34px;padding-top:20px;font-size:.82rem;color:#cfd9d5;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.bir-mobile-call{display:none;position:fixed;right:16px;bottom:16px;z-index:999;background:var(--bir-gold);color:#fff!important;border-radius:999px;padding:13px 18px;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,.18)}

/* Article */
.bir-article{max-width:820px;margin:auto}.bir-article-header{text-align:center;margin-bottom:36px}.bir-article-meta{font-size:.9rem;color:#6b7672}.bir-article-content{font-family:Georgia,serif;font-size:1.12rem}.bir-share{margin-top:36px;padding-top:24px;border-top:1px solid #d8dedb}

@media(max-width:960px){
 .bir-grid-4{grid-template-columns:1fr 1fr}.bir-grid-3{grid-template-columns:1fr 1fr}.bir-grid-2,.bir-book{grid-template-columns:1fr}.bir-footer-grid{grid-template-columns:1fr 1fr}.bir-journal-grid{grid-template-columns:1fr 1fr}
 .bir-menu-toggle{display:block}.bir-menu{display:none;position:absolute;left:20px;right:20px;top:80px;flex-direction:column;align-items:stretch;background:#fff;padding:18px;border-radius:16px;box-shadow:var(--bir-shadow)}.bir-menu.is-open{display:flex}.bir-nav{position:relative}
}
@media(max-width:640px){
 body{font-size:15px}.bir-wrap{width:min(100% - 28px,var(--bir-max))}.bir-section{padding:54px 0}.bir-grid-4,.bir-grid-3,.bir-footer-grid,.bir-journal-grid{grid-template-columns:1fr}.bir-card{padding:24px}.bir-hero{padding-top:14px}.bir-hero-image{width:calc(100% - 18px);border-radius:14px}.bir-topbar{display:none}.bir-mobile-call.show{display:block}.bir-brand{font-size:1.3rem}.bir-nav{min-height:70px}.bir-menu{top:70px}.bir-book img{max-width:230px;margin:auto}
}

/* Clickable hotspots over the CTA buttons that are part of the approved hero artwork. */
.bir-hero-image{position:relative}
.bir-hero-hotspot{position:absolute;display:block;z-index:5;background:transparent;border-radius:999px;cursor:pointer}
.bir-hero-hotspot:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 5px rgba(26,91,85,.75)}
.bir-home-meet{left:51.8%;top:67.7%;width:16.6%;height:7.4%}
.bir-home-wellness{left:69.3%;top:67.7%;width:23.8%;height:7.4%}
.bir-wellness-explore{left:9.8%;top:76.7%;width:36.0%;height:9.7%}
.bir-journal-read{left:9.9%;top:79.0%;width:31.4%;height:11.8%}
.bir-signs-discover{left:42.0%;top:73.0%;width:30.2%;height:10.2%}
.bir-connect-cta{left:15.5%;top:80.3%;width:35.4%;height:12.2%}
#meet-sharon,#skin-scan,#journal-stories{scroll-margin-top:105px}


/* v1.1.0 Sharon-approved refinements */
.bir-story{max-width:920px}
.bir-story p{font-size:1.04rem}
.bir-results-card{max-width:330px;justify-self:center}
.bir-results-card img{width:100%;height:auto}
.bir-card-media{width:100%;height:170px;object-fit:cover;border-radius:14px;margin:0 0 20px;background:#fff}
.bir-card-media-contain{object-fit:contain;padding:8px}
.bir-card-media-cover{object-position:center 32%}
.bir-feature-cards .bir-card{display:flex;flex-direction:column}
.bir-feature-cards .bir-card .bir-btn{align-self:flex-start}
.bir-kicker-featured{font-size:1.15rem;letter-spacing:.13em;color:var(--bir-deep)}
.bir-signature{font-size:clamp(4rem,8vw,7rem)!important;line-height:.9;margin-top:22px;margin-bottom:0}
#my-skincare-story{scroll-margin-top:105px}

/* The approved hero art was created before Sharon renamed the page. These overlays
   preserve the artwork while showing the approved Skincare & Wellness wording. */
.bir-wellness-title-replace{position:absolute;left:4.2%;top:12.5%;width:52%;height:35%;z-index:4;background:linear-gradient(90deg,rgba(251,248,241,.99) 0%,rgba(251,248,241,.98) 88%,rgba(251,248,241,0) 100%);display:flex;flex-direction:column;justify-content:center;padding-left:3.5%;pointer-events:none}
.bir-wellness-title-replace span{font-family:'Allura',cursive;color:#0d5858;font-size:clamp(2.2rem,5.4vw,5.8rem);line-height:.82;white-space:nowrap}
.bir-wellness-title-replace strong{font-family:'Cormorant Garamond',Georgia,serif;color:#0d5858;font-size:clamp(2.9rem,6.4vw,6.9rem);font-weight:500;line-height:.78;margin-left:10%}
.bir-hotspot-label{display:flex;align-items:center;justify-content:center;font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;text-align:center;line-height:1.05}
.bir-home-wellness.bir-hotspot-label{background:#fbf8f1;border:2px solid #2e716c;color:#234f4d;font-size:clamp(.62rem,1.45vw,1.35rem);padding:0 1%;}
.bir-wellness-explore.bir-hotspot-label{background:#2e716c;border:2px solid #d0aa66;color:#fff;font-size:clamp(.7rem,1.7vw,1.6rem);padding:0 1%;}
.bir-hotspot-label span{display:block;white-space:nowrap}

@media(max-width:960px){
 .bir-wellness-title-replace{left:4%;top:11.5%;width:53%;height:36%}
 .bir-card-media{height:210px}
}
@media(max-width:640px){
 .bir-wellness-title-replace{left:3.5%;top:10%;width:54%;height:38%;padding-left:2.5%}
 .bir-wellness-title-replace span{font-size:clamp(1.15rem,5.1vw,2.2rem)}
 .bir-wellness-title-replace strong{font-size:clamp(1.7rem,7.5vw,3.2rem);margin-left:7%}
 .bir-home-wellness.bir-hotspot-label,.bir-wellness-explore.bir-hotspot-label{font-size:clamp(.44rem,2.2vw,.8rem)}
 .bir-card-media{height:190px}
}

/* v1.1.1: Sharon's final requested picture and icon placement updates. */
.bir-card-icon-image{background:transparent;overflow:hidden}
.bir-card-icon-image img{display:block;width:100%;height:100%;object-fit:contain}
.bir-story::after{content:"";display:block;clear:both}
.bir-story-image{float:right;display:block;margin:5px 0 18px 23px;border-radius:12px;height:auto;box-shadow:var(--bir-shadow);max-width:42%}
.bir-story-image-products{width:220px}
.bir-story-image-before-after{width:225px}
.bir-story-image-cabo{width:275px}
.bir-community-image{width:170px;height:170px;max-width:100%;object-fit:contain;margin:0 0 20px}
.bir-socials a{display:inline-flex;align-items:center;gap:9px}
.bir-socials a svg{display:inline-block;width:21px;height:21px;flex:none}
@media(max-width:640px){
 .bir-story-image{width:42%;max-width:180px;margin-left:14px;margin-bottom:12px}
 .bir-story-image-cabo{max-width:190px}
 .bir-community-image{width:140px;height:140px}
}

/* v1.1.3: Homepage Journal thumbnail remains directly clickable to Page 3. */
.bir-card-icon-image > a{display:block;width:100%;height:100%}

/* v1.1.4: Three Sharon-approved round hero pictures, scaled for desktop and mobile. */
.bir-hero-portrait{background:#fff;padding:22px 0 52px}
.bir-hero-portrait .bir-hero-circle{width:min(820px,calc(100% - 32px));margin:0 auto;border-radius:0;overflow:visible;box-shadow:none;background:transparent}
.bir-hero-portrait .bir-hero-circle img{display:block;width:100%;height:auto;object-fit:contain}
.bir-hero-portrait .bir-hero-action{text-align:center;padding:10px 16px 0}
.bir-hero-portrait .bir-hero-action .bir-btn{margin:0;white-space:normal}
@media(max-width:640px){
 .bir-hero-portrait{padding:8px 0 38px}
 .bir-hero-portrait .bir-hero-circle{width:calc(100% - 8px)}
 .bir-hero-portrait .bir-hero-action{padding:14px 16px 0}
 .bir-hero-portrait .bir-hero-action .bir-btn{max-width:100%;font-size:.95rem;padding:12px 20px}
}

/* v1.1.5: Sharon-approved large hero artwork and centered, 50%-larger homepage icons.
   Other content, navigation, styles, and approved page sections are left intact. */
.bir-card-icon.bir-card-icon-image{width:78px;height:78px;margin-left:auto;margin-right:auto;max-width:100%}
.bir-hero-poster img{display:block;width:100%;height:auto;object-fit:contain}
/* Artwork contains its own visible buttons; transparent hotspots maintain the links. */
.bir-hero-poster .bir-home-meet{left:50.5%;top:66.5%;width:16.5%;height:10%}
.bir-hero-poster .bir-home-wellness{left:67%;top:66.5%;width:31%;height:10%}
.bir-hero-poster .bir-wellness-explore{left:9%;top:73%;width:37%;height:14%}
.bir-hero-poster .bir-journal-read{left:17%;top:73.8%;width:29%;height:14%}
.bir-hero-poster .bir-signs-discover{left:26%;top:82%;width:48%;height:15%}
.bir-hero-poster .bir-connect-cta{left:51%;top:73%;width:36%;height:18%}
.bir-hero-mobile-actions{display:none}
@media(max-width:640px){
  /* Preserve full artwork without cutting off Sharon's portrait or embedded wording. */
  .bir-hero-poster{width:calc(100% - 18px);border-radius:10px}
  /* Real, finger-friendly links below the reduced banners on narrow screens. */
  .bir-hero-mobile-actions{display:flex;flex-direction:column;align-items:stretch;gap:9px;max-width:440px;width:calc(100% - 28px);margin:14px auto 0}
  .bir-hero-mobile-actions .bir-btn{width:100%;margin:0;min-height:48px;text-align:center;white-space:normal;font-size:.9rem;padding:12px 16px}
}

/* v1.1.7 — center all content and action labels in the four homepage Explore cards. */
.bir-grid-4 > .bir-card{text-align:center;}
.bir-grid-4 > .bir-card h3,.bir-grid-4 > .bir-card p{text-align:center;}
.bir-grid-4 > .bir-card .bir-btn{text-align:center;white-space:normal;display:inline-flex;align-items:center;justify-content:center;}

/* v1.1.8: Use intentional two-line, horizontally centered text in the two requested homepage Explore buttons. */
.bir-grid-4 > .bir-card .bir-btn .bir-btn-two-line{display:block;text-align:center;line-height:1.2;}

/* v1.1.9: Align ONLY the four homepage Explore cards in consistent rows. */
.bir-home-explore-grid > .bir-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bir-home-explore-grid > .bir-card .bir-card-icon {
  flex-shrink: 0;
}
.bir-home-explore-grid > .bir-card h3 {
  width: 100%;
  min-height: 2.16em; /* Reserve two heading lines in every card. */
  text-align: center;
}
.bir-home-explore-grid > .bir-card p {
  width: 100%;
  flex: 1 1 auto; /* Descriptions begin evenly; shorter ones fill to button row. */
  text-align: center;
}
.bir-home-explore-grid > .bir-card > .bir-btn {
  align-self: center;
  min-height: 67px; /* All green buttons share one consistent bottom row. */
  margin: 6px 0;
  text-align: center;
}

/* Page 5 Communities: center ONLY the Signs from God card content. */
.bir-signs-community-card{text-align:center;}
.bir-signs-community-card .bir-community-image{margin-left:auto;margin-right:auto;}

/* Page 5 Communities: center the Believe In Renewal logo, heading, text, and button. */
.bir-renewal-community-card{text-align:center;}
.bir-renewal-community-card .bir-community-image{margin-left:auto;margin-right:auto;}

/* Page 4: keep the click target over the button in the replacement header image. */
.bir-hero-poster.bir-hero-signs .bir-signs-discover{left:32.4%;top:79%;width:35.2%;height:9.5%;}
