/* BabyCareGuide 1.1 editorial, accessibility, community and monetization refinements. */
html[data-font-size="small"]{font-size:15px}
html[data-font-size="medium"]{font-size:16px}
html[data-font-size="large"]{font-size:18px}
body[data-font-size="small"]{font-size:15px}
body[data-font-size="medium"]{font-size:16px}
body[data-font-size="large"]{font-size:18px}

/* Header controls */
.bcg-brand-row{grid-template-columns:minmax(150px,210px) 1fr minmax(210px,260px);gap:16px}
.bcg-header-actions{align-items:center;gap:.45rem}.bcg-header-actions-left{justify-content:flex-start}.bcg-header-actions-right{justify-content:flex-end}
.bcg-icon-button svg{width:20px;height:20px}.bcg-trending-toggle{color:var(--bcg-accent)}
.bcg-font-controls{display:inline-flex;align-items:center;border:1px solid var(--bcg-line);border-radius:999px;padding:3px;background:var(--bcg-soft)}
.bcg-font-controls button{height:34px;min-width:34px;border:0;background:transparent;color:var(--bcg-muted);border-radius:999px;font-weight:850;line-height:1;font-size:.78rem}
.bcg-font-controls button span{font-size:.62em}.bcg-font-controls button[aria-pressed="true"]{background:var(--bcg-paper);color:var(--bcg-ink);box-shadow:0 2px 10px rgba(0,0,0,.08)}
.bcg-mobile-reader-controls{display:none}

/* Category visual language */
.bcg-category-chip{--bcg-cat:var(--bcg-accent);display:inline-flex;align-items:center;gap:.35rem;width:max-content;max-width:100%;padding:.34rem .58rem;border-radius:999px;background:color-mix(in srgb,var(--bcg-cat) 12%,var(--bcg-paper));color:var(--bcg-cat);font-size:.66rem;font-weight:850;letter-spacing:.04em;line-height:1.1}
.bcg-category-chip:hover{color:var(--bcg-cat);background:color-mix(in srgb,var(--bcg-cat) 18%,var(--bcg-paper))}.bcg-category-chip-icon{display:grid;place-items:center}.bcg-category-chip svg{width:14px;height:14px}
.bcg-category-chip-on-image{background:color-mix(in srgb,var(--bcg-cat) 78%,#111);color:#fff}.bcg-category-chip-on-image:hover{color:#fff;background:var(--bcg-cat)}
.bcg-category-chip-mini{font-size:.56rem;padding:.26rem .4rem}.bcg-category-chip-mini svg{width:11px;height:11px}

/* Featured carousel */
.bcg-hero-section{padding-bottom:2.2rem}.bcg-hero-carousel{--bcg-carousel-visible:3;position:relative;padding:0 0 1.6rem}
.bcg-hero-viewport{overflow:hidden;border-radius:14px}.bcg-hero-track{display:flex;gap:14px;will-change:transform;transition:transform .48s cubic-bezier(.2,.75,.2,1)}
.bcg-hero-card,.bcg-hero-card-1,.bcg-hero-card-3{flex:0 0 calc((100% - (14px * (var(--bcg-carousel-visible) - 1))) / var(--bcg-carousel-visible));min-height:460px!important;height:460px;border-radius:14px}
.bcg-hero-copy{left:24px;right:24px;bottom:22px}.bcg-hero-copy h2,.bcg-hero-card-1 .bcg-hero-copy h2{font-size:clamp(1.45rem,1.9vw,2rem)!important;line-height:1.08;min-height:3.24em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:.65rem 0 .65rem}
.bcg-carousel-arrow{position:absolute;top:50%;z-index:8;width:48px;height:72px;transform:translateY(-60%);border:0;border-radius:10px;background:var(--bcg-dark-2);color:#fff;box-shadow:var(--bcg-shadow);font-size:1.4rem}.bcg-carousel-prev{left:-18px}.bcg-carousel-next{right:-18px}.bcg-carousel-arrow:hover{background:var(--bcg-accent)}.bcg-carousel-arrow:disabled{opacity:.25;cursor:default}.bcg-carousel-status{position:absolute;right:0;bottom:0;display:flex;gap:.25rem;align-items:center;color:var(--bcg-muted);font-size:.7rem;font-weight:800;letter-spacing:.08em}
.bcg-strip-title{display:flex;align-items:center;justify-content:space-between;gap:1rem}.bcg-strip-title>span{display:flex;align-items:center;gap:.4rem}.bcg-strip-title svg{width:17px;height:17px;color:var(--bcg-accent)}.bcg-inline-trending-link{border:0;background:transparent;color:var(--bcg-accent);font-size:.7rem;font-weight:800}

/* Trending drawer */
.bcg-drawer-scrim{position:fixed;inset:0;background:rgba(10,10,15,.48);backdrop-filter:blur(2px);z-index:9997}.bcg-trending-drawer{position:fixed;z-index:9998;top:0;left:0;width:min(390px,92vw);height:100dvh;background:var(--bcg-dark);color:#fff;transform:translateX(-104%);transition:transform .28s ease;box-shadow:25px 0 70px rgba(0,0,0,.28);padding:28px 28px 32px;overflow-y:auto}.bcg-trending-drawer.is-open{transform:none}.bcg-drawer-open{overflow:hidden}.bcg-drawer-head{display:flex;align-items:start;justify-content:space-between;gap:1rem;border-bottom:1px solid #3b3b49;padding-bottom:1rem}.bcg-drawer-head h2{font-size:1.7rem;margin:.2rem 0 0}.bcg-drawer-close{width:40px;height:40px;border:1px solid #484855;border-radius:50%;background:transparent;color:#fff;font-size:1.5rem}.bcg-drawer-intro{font-size:.78rem;color:#b9b9c4;line-height:1.55}.bcg-trending-list{display:grid}.bcg-trending-item{display:grid;grid-template-columns:38px 64px minmax(0,1fr);gap:.75rem;align-items:center;padding:1rem 0;border-bottom:1px solid #363644}.bcg-trending-rank{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--bcg-accent);font-weight:900}.bcg-trending-thumb{width:64px;height:64px;border-radius:50%;overflow:hidden;background:#2b2b35}.bcg-trending-thumb img{width:100%;height:100%;object-fit:cover}.bcg-trending-item h3{font-size:.86rem;line-height:1.25;margin:0 0 .28rem}.bcg-trending-item h3 a:hover{color:#fff;text-decoration:underline;text-decoration-color:var(--bcg-accent)}.bcg-trending-item span:last-child{font-size:.65rem;color:#aaaab5}

/* Ads: clear cards and correct sticky flow */
.bcg-ad{min-height:110px;margin:2.2rem auto;padding:.75rem 1rem;border-radius:14px;background:var(--bcg-soft);border:1px solid var(--bcg-line);overflow:hidden}.bcg-ad ins{width:100%}.bcg-ad-leaderboard{min-height:140px}.bcg-ad-card,.bcg-ad-sidebar-card{min-height:250px}.bcg-ad-in-content{width:100%;margin:2.5rem 0}.bcg-ad-placeholder{border-style:dashed}
.bcg-home-sidebar{display:flex;flex-direction:column;min-width:0;align-self:stretch}.bcg-home-sidebar .bcg-sidebar-block{position:static!important;top:auto!important}.bcg-home-ad-sticky{position:sticky;top:78px;margin-top:24px;z-index:1}.bcg-home-ad-sticky .bcg-ad{width:100%;margin:0;min-height:280px}
.bcg-sidebar-ad-sticky{position:sticky;top:78px;margin-top:1.5rem}.bcg-sidebar-ad-sticky .bcg-ad{width:100%;margin:0;min-height:280px}

/* Rich article sidebar */
.bcg-sidebar{min-width:0}.bcg-widget-title-row .widget-title{margin:.22rem 0 1rem}.bcg-sidebar-recent-list{display:grid}.bcg-sidebar-post{display:grid;grid-template-columns:92px minmax(0,1fr);gap:.85rem;padding:.85rem 0;border-bottom:1px solid var(--bcg-line)}.bcg-sidebar-post-image{width:92px;height:82px;border-radius:11px;overflow:hidden;background:var(--bcg-soft)}.bcg-sidebar-post-image img,.bcg-sidebar-post-image .bcg-image-placeholder{width:100%;height:100%;object-fit:cover;min-height:0}.bcg-sidebar-post h3{font-size:.88rem;line-height:1.28;margin:.35rem 0 .3rem}.bcg-sidebar-post small{font-size:.66rem;color:var(--bcg-muted)}
.bcg-sidebar-topic-chips{display:flex;flex-wrap:wrap;gap:.45rem}.bcg-category-chip-sidebar{font-size:.62rem}
.bcg-sidebar-tools .bcg-tools-grid{grid-template-columns:1fr}.bcg-sidebar-tools .bcg-tool-card{grid-template-columns:42px minmax(0,1fr) 16px;padding:.75rem;border-radius:10px}.bcg-sidebar-tools .bcg-tool-icon{width:42px;height:42px;border-radius:11px}.bcg-sidebar-tools .bcg-tool-description,.bcg-sidebar-tools .bcg-tool-group{display:none}.bcg-sidebar-tools .bcg-tool-card strong{font-size:.8rem}

/* Comment tabs and likes */
.bcg-comment-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:var(--bcg-soft);padding:4px;border-radius:10px;margin-bottom:.8rem}.bcg-comment-tabs button{border:0;border-radius:7px;background:transparent;color:var(--bcg-muted);padding:.55rem .3rem;font-size:.65rem;font-weight:800}.bcg-comment-tabs button[aria-selected="true"]{background:var(--bcg-paper);color:var(--bcg-accent);box-shadow:0 2px 9px rgba(0,0,0,.06)}.bcg-sidebar-comment{display:grid;grid-template-columns:36px 1fr;gap:.65rem;padding:.8rem 0;border-bottom:1px solid var(--bcg-line)}.bcg-sidebar-comment-avatar img{border-radius:50%}.bcg-sidebar-comment strong{font-size:.72rem}.bcg-sidebar-comment p{font-size:.76rem;line-height:1.4;margin:.18rem 0}.bcg-sidebar-comment small{font-size:.62rem;color:var(--bcg-muted)}
.bcg-comments-heading{margin-bottom:1.5rem}.bcg-comments-heading h2{margin:.2rem 0}.bcg-comments-heading p{color:var(--bcg-muted);font-size:.85rem}.bcg-comment-list .children{list-style:none;margin-left:2rem;padding-left:1rem;border-left:2px solid var(--bcg-blush)}.comment-body{padding:1.1rem 1.15rem}.bcg-comment-head .comment-author{display:flex;align-items:center}.bcg-comment-actions{display:flex;align-items:center;gap:.8rem;margin-top:.8rem;padding-top:.7rem;border-top:1px solid var(--bcg-line)}.bcg-comment-like,.comment-reply-link{display:inline-flex;align-items:center;gap:.3rem;border:0;background:transparent;color:var(--bcg-muted);font-size:.72rem;font-weight:800;padding:.35rem 0}.bcg-comment-like:hover,.comment-reply-link:hover,.bcg-comment-like.is-liked{color:var(--bcg-accent)}.bcg-comment-like>span:first-child{font-size:1.05rem}.bcg-comment-like.is-liked>span:first-child{font-weight:900}.bcg-comment-like:disabled{opacity:.7}

/* Tools page: editorial rather than generic grid */
.bcg-tools-page{--bcg-reading:1040px}.bcg-tools-page .bcg-page-article{max-width:1120px;margin-inline:auto}.bcg-tools-page .bcg-page-header{max-width:900px;margin-inline:auto}.bcg-tools-page .bcg-page-content{max-width:none}.bcg-tools-page .bcg-page-content>p:first-child{max-width:850px;margin:0 auto 2.2rem;font-size:1.08rem;line-height:1.75;color:var(--bcg-muted);text-align:center}.bcg-tools-experience{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.bcg-tools-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:3rem;align-items:center;padding:2.5rem 3rem;border:1px solid var(--bcg-line);border-radius:24px;background:linear-gradient(135deg,var(--bcg-soft),var(--bcg-paper));overflow:hidden}.bcg-tools-hero h2{font-size:clamp(2.2rem,4.5vw,4.3rem);line-height:1.03;letter-spacing:-.045em;margin:.35rem 0 1rem}.bcg-tools-hero p{color:var(--bcg-muted);max-width:680px}.bcg-tools-hero img{width:100%;max-height:360px;object-fit:contain}.bcg-tools-hero-points{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.3rem}.bcg-tools-hero-points span{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .65rem;border-radius:999px;background:var(--bcg-paper);border:1px solid var(--bcg-line);font-size:.7rem;font-weight:800}.bcg-tools-hero-points svg{width:16px;height:16px;color:var(--bcg-accent)}
.bcg-tools-nav{display:flex;gap:.6rem;flex-wrap:wrap;margin:2rem 0 1rem}.bcg-tools-nav span{padding:.45rem .7rem;border-radius:999px;background:var(--bcg-blush);color:var(--bcg-accent);font-size:.7rem;font-weight:850}
.bcg-tools-grid-page{grid-template-columns:repeat(2,1fr);gap:16px}.bcg-tool-card-page{position:relative;grid-template-columns:70px minmax(0,1fr) 28px;min-height:190px;padding:1.45rem 1.4rem;border-radius:18px;align-items:start;overflow:hidden}.bcg-tool-card-page .bcg-tool-icon{width:70px;height:70px;border-radius:20px}.bcg-tool-card-page .bcg-tool-icon svg{width:34px;height:34px}.bcg-tool-card-page .bcg-tool-copy{padding-top:.05rem}.bcg-tool-group{display:block;color:var(--bcg-accent)!important;font-size:.62rem!important;font-weight:850;text-transform:uppercase;letter-spacing:.08em;margin:0 0 .35rem!important}.bcg-tool-card-page strong{font-size:1.22rem;line-height:1.16;margin-bottom:.45rem}.bcg-tool-description{display:block;color:var(--bcg-muted);font-size:.8rem;line-height:1.5}.bcg-tool-badge{position:absolute;right:16px;top:14px;padding:.28rem .48rem;border-radius:999px;background:var(--bcg-soft);color:var(--bcg-muted);font-size:.58rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.bcg-tool-card-page .bcg-arrow{align-self:center}.bcg-tools-method{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:2.5rem 0}.bcg-tools-method article{padding:1.5rem;border-radius:16px;background:var(--bcg-soft);border:1px solid var(--bcg-line)}.bcg-tools-method article>span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:var(--bcg-paper);color:var(--bcg-accent)}.bcg-tools-method svg{width:24px;height:24px}.bcg-tools-method h3{font-size:1rem;margin:.9rem 0 .35rem}.bcg-tools-method p{font-size:.78rem;color:var(--bcg-muted);line-height:1.55;margin:0}

/* Community contribution center */
.bcg-contribute{margin-top:4rem;padding-top:3.5rem;border-top:1px solid var(--bcg-line)}.bcg-contribute-heading{display:grid;grid-template-columns:1.35fr .65fr;gap:2rem;align-items:end}.bcg-contribute-heading h2{font-size:clamp(2.2rem,4vw,3.8rem);line-height:1.05;margin:.3rem 0 .8rem}.bcg-contribute-heading p{color:var(--bcg-muted);max-width:760px}.bcg-contribute-principles{display:grid;gap:.5rem}.bcg-contribute-principles span{display:flex;align-items:center;gap:.55rem;padding:.65rem .8rem;border:1px solid var(--bcg-line);border-radius:12px;background:var(--bcg-soft);font-size:.72rem}.bcg-contribute-principles svg{width:19px;height:19px;color:var(--bcg-accent)}
.bcg-contribute-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:2rem 0 .8rem}.bcg-contribute-tabs button{display:flex;align-items:center;justify-content:center;gap:.45rem;min-height:52px;padding:.65rem;border:1px solid var(--bcg-line);border-radius:12px;background:var(--bcg-paper);color:var(--bcg-ink);font-size:.74rem;font-weight:850}.bcg-contribute-tabs button svg{width:18px;height:18px;color:var(--bcg-accent)}.bcg-contribute-tabs button[aria-selected="true"]{border-color:var(--bcg-accent);background:var(--bcg-blush);color:var(--bcg-accent)}.bcg-contribute-form{padding:1.6rem;border:1px solid var(--bcg-line);border-radius:16px;background:var(--bcg-soft)}.bcg-contribute-form-head{max-width:760px;margin-bottom:1.1rem}.bcg-contribute-form h3{font-size:1.35rem;margin:0 0 .3rem}.bcg-contribute-form-head p{font-size:.8rem;color:var(--bcg-muted);margin:0}.bcg-contribute-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.74rem;font-weight:800;margin:.8rem 0}.bcg-contribute-form input:not([type=checkbox]),.bcg-contribute-form textarea{width:100%;border:1px solid var(--bcg-line);border-radius:10px;background:var(--bcg-paper);color:var(--bcg-ink);padding:.75rem .8rem}.bcg-contribute-form .bcg-check{display:grid;grid-template-columns:20px 1fr;align-items:start;font-weight:500}.bcg-contribute-form .bcg-button svg{width:18px;height:18px}.bcg-contribute-note{margin-top:1rem}

/* Illustration integration */
.bcg-names-visual{display:grid;grid-template-columns:.65fr 1.35fr;gap:1.2rem;align-items:center}.bcg-names-visual>img{width:100%;max-height:280px;object-fit:contain}.bcg-community-visual{position:relative;min-height:410px}.bcg-community-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:.96}.bcg-community-visual .bcg-community-orbit{position:relative;z-index:2;min-height:410px}.bcg-name-detail-hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:2rem;padding:2.3rem;border:1px solid var(--bcg-line);border-radius:22px;background:var(--bcg-soft);margin-bottom:1.5rem}.bcg-name-detail-hero img{max-height:280px;margin-left:auto}.bcg-name-detail-hero h1{font-size:clamp(3rem,7vw,6.5rem);line-height:.95;margin:.3rem 0}.bcg-name-detail-hero p{font-size:1.1rem;color:var(--bcg-muted)}.bcg-name-facts{grid-template-columns:repeat(4,1fr)}.bcg-name-source{font-size:.82rem;color:var(--bcg-muted)}.bcg-button-row{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}

/* General typographic balance */
.bcg-post-card h3{line-height:1.2}.bcg-compact-card h3{line-height:1.28}.bcg-article-header h1{max-width:1100px;margin-left:auto;margin-right:auto}.bcg-article-content{font-size:1rem}.bcg-article-content h2{line-height:1.16}.bcg-article-content h3{line-height:1.2}

@media (max-width:1100px){
  .bcg-brand-row{grid-template-columns:150px 1fr 210px}.bcg-hero-card,.bcg-hero-card-1,.bcg-hero-card-3{height:430px;min-height:430px!important}.bcg-carousel-prev{left:-8px}.bcg-carousel-next{right:-8px}
  .bcg-tools-hero{grid-template-columns:1fr .65fr;padding:2rem}.bcg-contribute-heading{grid-template-columns:1fr}.bcg-contribute-principles{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:980px){
  .bcg-brand-row{grid-template-columns:120px 1fr 180px}.bcg-header-actions-left .bcg-menu-toggle{visibility:visible}.bcg-font-controls button{min-width:30px;height:32px}.bcg-hero-card,.bcg-hero-card-1,.bcg-hero-card-3{height:410px;min-height:410px!important}.bcg-home-ad-sticky,.bcg-sidebar-ad-sticky{position:static}.bcg-sidebar-ad-sticky{grid-column:1/-1}.bcg-sidebar{align-items:start}.bcg-tools-grid-page{grid-template-columns:1fr}.bcg-tools-method{grid-template-columns:1fr}.bcg-name-facts{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  html[data-font-size="large"]{font-size:17px}.bcg-mobile-reader-controls{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--bcg-line)}.bcg-mobile-reader-controls>span{width:100%;font-size:.68rem;font-weight:850;color:var(--bcg-muted);text-transform:uppercase;letter-spacing:.08em}.bcg-mobile-reader-controls button{border:1px solid var(--bcg-line);border-radius:999px;background:var(--bcg-paper);color:var(--bcg-ink);padding:.4rem .65rem;font-size:.72rem;font-weight:800}.bcg-mobile-reader-controls button[aria-pressed="true"]{background:var(--bcg-accent);border-color:var(--bcg-accent);color:#fff}.bcg-brand-row{grid-template-columns:92px 1fr 92px;gap:6px}.bcg-header-actions{gap:.2rem}.bcg-header-actions-left .bcg-search-toggle{display:none}.bcg-font-controls{display:none}.bcg-header-actions-right{justify-content:flex-end}.bcg-carousel-arrow{width:42px;height:56px}.bcg-carousel-prev{left:-4px}.bcg-carousel-next{right:-4px}.bcg-hero-card,.bcg-hero-card-1,.bcg-hero-card-3{height:390px;min-height:390px!important}.bcg-hero-copy h2,.bcg-hero-card-1 .bcg-hero-copy h2{font-size:1.55rem!important;min-height:auto}.bcg-strip-title{align-items:flex-start}.bcg-inline-trending-link{max-width:130px;text-align:right}.bcg-tools-hero{grid-template-columns:1fr;padding:1.5rem}.bcg-tools-hero img{max-height:240px}.bcg-tools-grid-page{grid-template-columns:1fr}.bcg-tool-card-page{grid-template-columns:58px minmax(0,1fr) 20px;padding:1.15rem;min-height:0}.bcg-tool-card-page .bcg-tool-icon{width:58px;height:58px}.bcg-tool-badge{display:none}.bcg-contribute-tabs{grid-template-columns:repeat(2,1fr)}.bcg-contribute-principles{grid-template-columns:1fr}.bcg-contribute-form{padding:1.1rem}.bcg-names-visual{grid-template-columns:1fr}.bcg-names-visual>img{max-height:190px}.bcg-community-visual{min-height:330px}.bcg-community-visual .bcg-community-orbit{min-height:330px}.bcg-name-detail-hero{grid-template-columns:1fr;padding:1.5rem}.bcg-name-detail-hero img{max-height:190px;margin:auto}.bcg-name-facts{grid-template-columns:1fr}.bcg-comment-list .children{margin-left:.6rem;padding-left:.6rem}.bcg-sidebar-post{grid-template-columns:82px 1fr}.bcg-sidebar-post-image{width:82px;height:76px}
}
@media (max-width:480px){
  .bcg-brand-row{grid-template-columns:82px 1fr 48px}.bcg-header-actions-left{gap:.1rem}.bcg-header-actions-right .bcg-theme-toggle{display:grid}.bcg-header-actions-left .bcg-icon-button{width:36px;height:36px}.bcg-hero-viewport{border-radius:12px}.bcg-hero-card,.bcg-hero-card-1,.bcg-hero-card-3{height:350px;min-height:350px!important}.bcg-carousel-arrow{top:auto;bottom:4px;transform:none;height:38px;width:38px}.bcg-carousel-prev{left:0}.bcg-carousel-next{right:42px}.bcg-carousel-status{right:92px;bottom:14px}.bcg-contribute-tabs{grid-template-columns:1fr}.bcg-tools-hero-points{display:grid}.bcg-comment-tabs{grid-template-columns:1fr}.bcg-comment-tabs button{padding:.45rem}.bcg-name-detail-hero h1{font-size:3.2rem}
}
.bcg-journey-visual-row{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);gap:2rem;align-items:center}.bcg-journey-illustration{width:100%;max-height:330px;object-fit:contain}@media(max-width:900px){.bcg-journey-visual-row{grid-template-columns:1fr}.bcg-journey-illustration{max-height:240px}}
.bcg-category-header{position:relative;padding-left:92px}.bcg-category-header-icon{position:absolute;left:0;top:18px;width:68px;height:68px;border-radius:20px;display:grid;place-items:center;background:color-mix(in srgb,var(--bcg-cat) 12%,var(--bcg-paper));color:var(--bcg-cat)}.bcg-category-header-icon svg{width:34px;height:34px}@media(max-width:600px){.bcg-category-header{padding-left:0;padding-top:86px}.bcg-category-header-icon{top:0}}

/* ==============================================================
   BabyCareGuide 1.2 - typography, community, ad-density and discovery
   ============================================================== */
:root{--bcg-ui-font:"Inter",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body,.bcg-community-hub,.bcg-tools-experience,.bcg-name-finder,.bcg-product-card{font-family:var(--bcg-ui-font)}
h1,h2,h3,h4,h5,h6,.bcg-kicker,.bcg-category-chip,.bcg-menu,.widget-title,.bcg-button{font-family:var(--bcg-ui-font)}
/* Use actual Inter weights rather than synthetic 800/900 weights. */
.bcg-section-head h1,.bcg-section-head-tight h1{font-weight:400;letter-spacing:-.045em}
.bcg-section-head h2,.bcg-archive-header h1,.bcg-page-header h1,.bcg-community-intro h2,.bcg-community-feature h2,.bcg-names-band h2,.bcg-article-header h1,.bcg-discussion-page h1{font-weight:500}
.bcg-card-copy h3,.bcg-hero-copy h2,.bcg-community-hub h3,.bcg-community-hub h4,.bcg-sidebar h2,.bcg-sidebar h3{font-weight:600}
.bcg-kicker,.bcg-category-chip,.bcg-meta-category,.bcg-menu a,.bcg-button,.bcg-text-link{font-weight:600}
.bcg-hero-copy h2,.bcg-hero-card-1 .bcg-hero-copy h2{font-weight:600!important;letter-spacing:-.025em}
.entry-content{font-family:Georgia,"Times New Roman",serif}.entry-content h2,.entry-content h3,.entry-content h4{font-family:var(--bcg-ui-font);font-weight:500}

/* Three intentionally separate sidebar ad positions. Only the final unit is sticky. */
.bcg-sidebar-ad-unit{width:100%;margin:1.35rem 0 1.65rem}.bcg-sidebar-ad-unit .bcg-ad{width:100%;margin:0;min-height:250px}
.bcg-sidebar-ad-after-fresh,.bcg-sidebar-ad-after-recent-posts{position:static}
.bcg-sidebar-ad-sticky{position:sticky;top:78px}.bcg-sidebar-ad-sticky .bcg-ad{min-height:280px}

/* Articles: two-column grid with a full-row ad after every four cards. */
.bcg-archive-grid>.bcg-ad-grid-leaderboard{grid-column:1/-1;width:100%;margin:.2rem 0 1.25rem;min-height:150px}
.bcg-archive-grid>.bcg-ad-grid-leaderboard+.bcg-post-card{margin-top:.35rem}

/* Community pages should feel like a destination, not shortcode content inside an article. */
.bcg-community-page{max-width:var(--bcg-shell);--bcg-reading:1240px}.bcg-community-page .bcg-page-header{display:none}.bcg-community-page .bcg-page-content{max-width:none;margin:0}.bcg-community-page .bcg-page-content>p:first-child{display:none}
.entry-content .bcg-community-hub a,.entry-content .bcg-community-hub button{text-decoration:none}
.bcg-community-hub{font-size:1rem;padding:2.8rem 0 4rem}.bcg-community-intro{max-width:900px}.bcg-community-intro h2{font-size:clamp(3rem,6vw,5.6rem);line-height:.96;letter-spacing:-.05em;margin:.28rem 0 1rem}.bcg-community-intro p{font-size:1.02rem;max-width:780px;line-height:1.65}
.bcg-community-summary{display:flex;gap:.65rem;flex-wrap:wrap;margin:1.35rem 0 0}.bcg-community-summary>span{display:flex;align-items:baseline;gap:.34rem;padding:.58rem .75rem;border:1px solid var(--bcg-line);border-radius:999px;background:var(--bcg-soft);font-size:.72rem;color:var(--bcg-muted)}.bcg-community-summary strong{font-weight:600;color:var(--bcg-ink)}
.bcg-community-hub>.bcg-ad,.bcg-community-archive>.bcg-ad,.bcg-discussion-page>.bcg-discussion-single>.bcg-ad{width:100%}
.bcg-community-section-head{display:flex;justify-content:space-between;gap:2rem;align-items:end;margin:0 0 1.25rem}.bcg-community-section-head>div{max-width:720px}.bcg-community-section-head h2,.bcg-community-section-head h3{font-size:clamp(1.8rem,3.2vw,3rem);line-height:1.04;letter-spacing:-.035em;margin:.25rem 0 0;font-weight:500}.bcg-community-section-head>p{max-width:460px;color:var(--bcg-muted);font-size:.82rem;line-height:1.55;margin:0}.bcg-community-section-head-compact h3{font-size:2rem}
.bcg-community-groups-section{margin-top:3.2rem}.bcg-group-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin:0}.bcg-group-grid>a{position:relative;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto 1fr auto;gap:.3rem .85rem;min-height:180px;padding:1.2rem 1.2rem 1.05rem;border-radius:16px;background:var(--bcg-paper);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.bcg-group-grid>a:hover{color:var(--bcg-ink);border-color:color-mix(in srgb,var(--bcg-accent) 28%,var(--bcg-line));box-shadow:var(--bcg-shadow);transform:translateY(-2px)}.bcg-group-grid>a>span{width:48px;height:48px;grid-row:1/3}.bcg-group-grid strong{font-size:1rem;font-weight:600;line-height:1.22}.bcg-group-grid small{font-size:.78rem;line-height:1.55;text-decoration:none}.bcg-group-grid>a>b{grid-column:2;font-size:.64rem;font-weight:600;color:var(--bcg-accent);text-transform:uppercase;letter-spacing:.06em}
.bcg-community-hot{margin:3.5rem 0}.bcg-community-hot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.bcg-community-hot-archive{margin-top:2.8rem}

/* Discussion cards: participant avatars are primary; moderators may add a real featured image when it adds context. */
.bcg-community-discussion-card{border:1px solid var(--bcg-line);border-radius:18px;background:var(--bcg-paper);padding:1.2rem;min-width:0;box-shadow:0 8px 28px rgba(17,17,19,.035)}.bcg-community-discussion-card:hover{border-color:color-mix(in srgb,var(--bcg-accent) 25%,var(--bcg-line))}.bcg-discussion-card-top{display:flex;justify-content:space-between;gap:1rem;align-items:center}.bcg-discussion-score{display:flex;align-items:center;gap:.25rem;color:var(--bcg-accent);font-size:.68rem;font-weight:600}.bcg-discussion-score svg{width:15px;height:15px}.bcg-community-discussion-card h3{font-size:1.22rem;line-height:1.2;letter-spacing:-.025em;margin:.55rem 0 .45rem}.bcg-community-discussion-card>p{font-size:.82rem;line-height:1.55;color:var(--bcg-muted);margin:0 0 1rem}.bcg-discussion-author-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.75rem 0;border-top:1px solid var(--bcg-line)}.bcg-discussion-author-row>img{border-radius:50%}.bcg-discussion-author-row>div{min-width:0}.bcg-discussion-author-row strong{display:block;font-size:.74rem;font-weight:600}.bcg-discussion-author-row>span{font-size:.62rem;color:var(--bcg-muted);white-space:nowrap}.bcg-discussion-participants{display:flex;align-items:center;gap:.55rem;padding:.7rem 0;border-top:1px solid var(--bcg-line);font-size:.66rem;color:var(--bcg-muted);min-width:0}.bcg-discussion-participants>a{margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--bcg-accent)}
.bcg-avatar-stack{display:flex;padding-left:7px}.bcg-avatar-stack img{width:30px;height:30px;border-radius:50%;border:2px solid var(--bcg-paper);margin-left:-7px;object-fit:cover}.bcg-discussion-insight{display:grid;grid-template-columns:auto 1fr;column-gap:.5rem;align-items:baseline;padding:.65rem .75rem;border-radius:10px;background:var(--bcg-soft);margin:.2rem 0 .75rem}.bcg-discussion-insight>span{font-size:.58rem;color:var(--bcg-muted);text-transform:uppercase;letter-spacing:.07em}.bcg-discussion-insight>strong{font-size:.72rem;font-weight:600}.bcg-discussion-insight>small{grid-column:2;font-size:.62rem;color:var(--bcg-muted)}
.bcg-discussion-stats,.bcg-discussion-single-stats{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap}.bcg-discussion-stats{padding-top:.75rem;border-top:1px solid var(--bcg-line)}.bcg-discussion-stats>span,.bcg-discussion-stats>button,.bcg-discussion-single-stats>span,.bcg-discussion-single-stats>button{display:flex;align-items:center;gap:.28rem;border:0;background:transparent;padding:0;color:var(--bcg-muted);font-size:.66rem}.bcg-discussion-stats svg,.bcg-discussion-single-stats svg{width:16px;height:16px}.bcg-discussion-stats b,.bcg-discussion-single-stats b{font-weight:600;color:var(--bcg-ink)}.bcg-discussion-like:hover,.bcg-discussion-like.is-liked{color:var(--bcg-accent)}
.bcg-community-discussion-card-compact{padding:1rem}.bcg-community-discussion-card-compact h3{font-size:1rem}.bcg-community-discussion-card-compact>p{font-size:.76rem}.bcg-community-discussion-card-compact .bcg-discussion-insight{display:none}
.bcg-discussion-list-rich{display:grid;gap:14px}.bcg-discussion-list-rich>.bcg-ad{width:100%;margin:.3rem 0}.bcg-community-main-columns,.bcg-community-archive-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:42px;align-items:start;margin-top:3.4rem}.bcg-community-archive{max-width:var(--bcg-shell);padding-bottom:5rem}.bcg-community-archive-header{max-width:900px}.bcg-community-sidebar{display:grid;gap:1.25rem;position:sticky;top:82px}.bcg-community-sidebar .bcg-submit-card{position:static;top:auto}

/* Member progress and leaderboard. */
.bcg-community-progress{border:1px solid var(--bcg-line);border-radius:18px;padding:1.2rem 1.25rem;background:linear-gradient(135deg,var(--bcg-soft),var(--bcg-paper));margin:2rem 0}.bcg-progress-user{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:.8rem;align-items:center}.bcg-progress-user>img{border-radius:50%}.bcg-progress-user h3{font-size:1.12rem;margin:.12rem 0}.bcg-progress-user>strong{font-size:.85rem;font-weight:600}.bcg-community-progress p{font-size:.75rem;color:var(--bcg-muted);line-height:1.55;margin:.7rem 0 0}.bcg-level-meter{height:8px;background:var(--bcg-soft-2);border-radius:999px;overflow:hidden;margin:.9rem 0 .35rem}.bcg-level-meter>span{display:block;height:100%;background:var(--bcg-accent);border-radius:999px}.bcg-community-progress-guest h3{font-size:1.35rem;margin:.25rem 0}.bcg-member-badge{display:inline-flex;align-items:center;gap:.25rem;width:max-content;border-radius:999px;padding:.25rem .45rem;background:var(--bcg-blush);color:var(--bcg-accent);font-family:var(--bcg-ui-font);font-size:.6rem;font-weight:600;line-height:1}.bcg-member-badge svg{width:12px;height:12px}.bcg-member-badge-compact{margin-top:.18rem}.comment-author .bcg-member-badge{margin-left:.45rem}
.bcg-community-leaderboard{border:1px solid var(--bcg-line);border-radius:18px;padding:1.05rem;background:var(--bcg-paper)}.bcg-community-leaderboard h3{font-size:1.05rem;margin:.2rem 0 1rem}.bcg-community-leaderboard ol{list-style:none;padding:0;margin:0}.bcg-community-leaderboard li{display:grid;grid-template-columns:24px 38px minmax(0,1fr) auto;gap:.55rem;align-items:center;padding:.62rem 0;border-top:1px solid var(--bcg-line)}.bcg-community-leaderboard li:first-child{border-top:0}.bcg-leader-rank{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--bcg-soft);font-size:.65rem;font-weight:600}.bcg-community-leaderboard li>img{border-radius:50%}.bcg-community-leaderboard li>div>strong{display:block;font-size:.72rem;font-weight:600}.bcg-community-leaderboard li>b{font-size:.66rem;font-weight:600;color:var(--bcg-accent)}

/* Community single discussion. */
.bcg-discussion-page{max-width:var(--bcg-shell)}.bcg-discussion-single-header{max-width:950px;padding:3rem 0 1.6rem}.bcg-discussion-single-header h1{font-size:clamp(2.5rem,5vw,5rem);font-weight:500}.bcg-discussion-single-stats{margin:1.2rem 0}.bcg-discussion-single-people{display:flex;align-items:center;gap:.75rem;font-size:.72rem;color:var(--bcg-muted)}.bcg-discussion-single-layout{display:grid;grid-template-columns:minmax(0,780px) 320px;gap:54px;align-items:start;justify-content:space-between}.bcg-discussion-single-layout>.bcg-community-sidebar{position:sticky;top:82px}.bcg-discussion-single-layout .entry-content{max-width:780px}.bcg-discussion-single-layout .entry-content>*{margin-left:0;margin-right:0}

/* Discover: a full-height, mixed-content, snap-scrolling feed. */
.bcg-discover-page{max-width:var(--bcg-shell);--bcg-reading:1240px;padding-bottom:3rem}.bcg-discover-page .bcg-page-header{display:none}.bcg-discover-page .bcg-page-content{max-width:none}.bcg-discover-experience{font-family:var(--bcg-ui-font);padding:2rem 0}.bcg-discover-intro{max-width:900px;margin-bottom:1.25rem}.bcg-discover-intro h2{font-size:clamp(2.4rem,5vw,4.7rem);font-weight:400;line-height:.98;letter-spacing:-.05em;margin:.3rem 0 .8rem}.bcg-discover-intro p{color:var(--bcg-muted);max-width:780px;font-size:.92rem}
.bcg-discover-feed{height:min(82dvh,860px);min-height:560px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;border:1px solid var(--bcg-line);border-radius:22px;background:var(--bcg-dark);box-shadow:var(--bcg-shadow);scrollbar-width:thin}.bcg-discover-item{position:relative;min-height:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:var(--bcg-dark);color:#fff;display:flex;align-items:flex-end}.bcg-discover-media{position:absolute;inset:0}.bcg-discover-media img,.bcg-discover-media .bcg-image-placeholder{width:100%;height:100%;object-fit:cover}.bcg-discover-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,14,.08) 18%,rgba(10,10,14,.22) 45%,rgba(10,10,14,.92) 100%)}.bcg-discover-copy{position:relative;z-index:2;width:min(760px,88%);padding:clamp(1.5rem,4vw,3.5rem)}.bcg-discover-copy h2{font-size:clamp(2rem,5vw,4.8rem);font-weight:500;line-height:.98;letter-spacing:-.045em;margin:.45rem 0 .8rem}.bcg-discover-copy h2 a:hover{color:#fff;text-decoration:underline;text-decoration-color:var(--bcg-accent);text-underline-offset:5px}.bcg-discover-copy p{font-family:Georgia,"Times New Roman",serif;font-size:clamp(.95rem,1.5vw,1.18rem);line-height:1.55;color:#e7e7eb;margin:0 0 1rem}.bcg-discover-meta{display:flex;gap:.8rem;flex-wrap:wrap;font-size:.68rem;color:#c6c6cf}.bcg-discover-copy .bcg-kicker{color:#ff7bb9}.bcg-discover-copy-dark{color:var(--bcg-ink)}.bcg-discover-copy-dark p{color:var(--bcg-muted)}.bcg-discover-copy-dark .bcg-discover-meta{color:var(--bcg-muted)}
.bcg-discover-discussion{align-items:center;background:linear-gradient(135deg,#f8eaf1,#fff)}.bcg-discover-community-art{position:absolute;right:7%;top:9%;width:min(38vw,430px);aspect-ratio:1;border-radius:50%;background:var(--bcg-accent);color:#fff;display:grid;place-items:center;opacity:.98}.bcg-discover-community-art>svg{width:38%;height:38%}.bcg-discover-avatar-stack{position:absolute;inset:-18px;display:flex;align-items:flex-start;justify-content:space-around}.bcg-discover-avatar-stack img{width:64px;height:64px;border-radius:50%;border:5px solid #fff;object-fit:cover}.bcg-discover-name{align-items:center;background:linear-gradient(135deg,#f9ebf2,#f6f6f7)}.bcg-discover-name-letter{position:absolute;right:8%;font-size:min(44vw,460px);font-weight:400;line-height:.8;color:var(--bcg-accent);opacity:.12}.bcg-discover-tool{align-items:center;background:linear-gradient(135deg,#eef4ff,#fff)}.bcg-discover-tool-icon{position:absolute;right:10%;width:min(34vw,360px);aspect-ratio:1;border-radius:34%;display:grid;place-items:center;background:var(--bcg-paper);color:var(--bcg-accent);box-shadow:0 30px 90px rgba(17,17,19,.12)}.bcg-discover-tool-icon svg{width:48%;height:48%}.bcg-discover-ad-slide{align-items:center;justify-content:center;text-align:center;background:var(--bcg-soft);color:var(--bcg-ink);padding:2rem}.bcg-discover-ad-slide>div{width:min(880px,94%)}.bcg-discover-ad-slide h2{font-size:clamp(2rem,4vw,3.8rem);font-weight:400;margin:.35rem 0 1rem}.bcg-discover-ad-slide p{color:var(--bcg-muted);font-size:.76rem}.bcg-discover-ad-slide .bcg-ad{width:100%;min-height:280px;background:var(--bcg-paper)}.bcg-discover-sentinel{height:2px;scroll-snap-align:none}.bcg-discover-loader{display:flex;justify-content:center;align-items:center;gap:.3rem;min-height:56px;color:var(--bcg-muted);font-size:.7rem}.bcg-discover-loader[hidden]{display:none}.bcg-discover-loader>span{width:7px;height:7px;border-radius:50%;background:var(--bcg-accent);animation:bcgPulse 1s infinite alternate}.bcg-discover-loader>span:nth-child(2){animation-delay:.15s}.bcg-discover-loader>span:nth-child(3){animation-delay:.3s}.bcg-discover-loader>b{margin-left:.45rem;font-weight:600}.bcg-discover-more{display:none;margin:1rem auto}@keyframes bcgPulse{to{opacity:.25;transform:translateY(-3px)}}

@media(max-width:1050px){.bcg-community-hot-grid{grid-template-columns:1fr 1fr}.bcg-community-hot-grid>.bcg-community-discussion-card:nth-child(3){grid-column:1/-1}.bcg-community-main-columns,.bcg-community-archive-layout,.bcg-discussion-single-layout{grid-template-columns:1fr}.bcg-community-sidebar,.bcg-discussion-single-layout>.bcg-community-sidebar{position:static;grid-template-columns:1fr 1fr}.bcg-discussion-single-layout{gap:2rem}}
@media(max-width:800px){.bcg-group-grid{grid-template-columns:1fr 1fr}.bcg-community-section-head{display:block}.bcg-community-section-head>p{margin-top:.6rem}.bcg-community-hot-grid{grid-template-columns:1fr}.bcg-community-hot-grid>.bcg-community-discussion-card:nth-child(3){grid-column:auto}.bcg-community-sidebar,.bcg-discussion-single-layout>.bcg-community-sidebar{grid-template-columns:1fr}.bcg-discover-feed{height:78dvh;min-height:520px;border-radius:16px}.bcg-discover-copy{width:95%;padding:1.5rem}.bcg-discover-community-art,.bcg-discover-tool-icon{width:48vw;right:-5%;top:6%;opacity:.72}.bcg-discover-avatar-stack img{width:48px;height:48px}.bcg-discover-copy h2{font-size:clamp(2rem,9vw,3.7rem)}}
@media(max-width:560px){.bcg-group-grid{grid-template-columns:1fr}.bcg-community-hub{padding-top:1.5rem}.bcg-community-intro h2{font-size:3.2rem}.bcg-community-summary{display:grid;grid-template-columns:1fr 1fr}.bcg-community-summary>span:last-child{grid-column:1/-1}.bcg-progress-user{grid-template-columns:46px 1fr}.bcg-progress-user>strong{grid-column:2}.bcg-discussion-author-row{grid-template-columns:36px minmax(0,1fr)}.bcg-discussion-author-row>span{grid-column:2}.bcg-discussion-participants{align-items:flex-start;flex-wrap:wrap}.bcg-discussion-participants>a{width:100%;margin-left:0}.bcg-discover-feed{height:76dvh;min-height:500px;border-radius:12px}.bcg-discover-copy p{font-size:.95rem}.bcg-discover-community-art,.bcg-discover-tool-icon{width:58vw}.bcg-discover-ad-slide{padding:1rem}.bcg-discover-ad-slide .bcg-ad{min-height:240px}}
@media(prefers-reduced-motion:reduce){.bcg-discover-loader>span{animation:none}}

/* v1.2 finishing touches: moderator imagery and a persistent Discover entry point. */
.bcg-discussion-card-image{display:block;margin:-1.2rem -1.2rem 1rem;border-radius:17px 17px 0 0;overflow:hidden;aspect-ratio:16/7;background:var(--bcg-soft)}
.bcg-discussion-card-image img{width:100%;height:100%;object-fit:cover;display:block}
.bcg-footer-discover-link{display:inline-flex;align-items:center;gap:.45rem;margin-top:.85rem;color:#fff;font-size:.72rem;font-weight:600;text-decoration:none}
.bcg-footer-discover-link svg{width:16px;height:16px;color:#ff7bb9}.bcg-footer-discover-link:hover{color:#ff7bb9}

.bcg-discover-header-link{color:var(--bcg-accent)}.bcg-discover-header-link:hover{background:var(--bcg-blush);color:var(--bcg-accent)}

/* Community ranking tabs: separate likes, replies, views and composite engagement. */
.bcg-community-rankings{margin:3.5rem 0}.bcg-ranking-tabs{display:flex;gap:.4rem;flex-wrap:wrap;padding:.35rem;border:1px solid var(--bcg-line);border-radius:999px;width:max-content;max-width:100%;background:var(--bcg-soft);margin-bottom:1rem}.bcg-ranking-tabs button{border:0;background:transparent;color:var(--bcg-muted);border-radius:999px;padding:.6rem .9rem;font-family:var(--bcg-ui-font);font-size:.7rem;font-weight:600}.bcg-ranking-tabs button[aria-selected="true"]{background:var(--bcg-paper);color:var(--bcg-accent);box-shadow:0 2px 12px rgba(17,17,19,.07)}.bcg-ranking-panels{border:1px solid var(--bcg-line);border-radius:18px;background:var(--bcg-paper);overflow:hidden}.bcg-ranking-panel{padding:1.15rem 1.25rem}.bcg-ranking-panel[hidden]{display:none}.bcg-ranking-context{display:block;color:var(--bcg-muted);font-size:.62rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.4rem}.bcg-ranking-panel ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;column-gap:2rem}.bcg-ranking-panel li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:.7rem;align-items:center;padding:.8rem 0;border-top:1px solid var(--bcg-line)}.bcg-ranking-panel li:nth-child(-n+2){border-top:0}.bcg-ranking-number{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--bcg-blush);color:var(--bcg-accent);font-size:.7rem;font-weight:600}.bcg-ranking-panel a{display:block;font-size:.82rem;font-weight:600;line-height:1.3;text-decoration:none}.bcg-ranking-panel small{display:block;color:var(--bcg-muted);font-size:.63rem;margin-top:.22rem}.bcg-ranking-empty{grid-column:1/-1;color:var(--bcg-muted);font-size:.78rem}
@media(max-width:700px){.bcg-ranking-tabs{width:100%;border-radius:16px;display:grid;grid-template-columns:1fr 1fr}.bcg-ranking-tabs button{border-radius:12px}.bcg-ranking-panel ol{grid-template-columns:1fr}.bcg-ranking-panel li:nth-child(2){border-top:1px solid var(--bcg-line)}}
.bcg-discussion-last-reply{display:grid;grid-template-columns:auto 1fr;column-gap:.45rem;align-items:baseline;padding:.65rem .75rem;margin:.15rem 0 .6rem;border:1px solid var(--bcg-line);border-radius:10px;background:var(--bcg-paper);text-decoration:none}.bcg-discussion-last-reply>span{font-size:.58rem;color:var(--bcg-muted);text-transform:uppercase;letter-spacing:.07em}.bcg-discussion-last-reply>strong{font-size:.7rem;font-weight:600;color:var(--bcg-ink)}.bcg-discussion-last-reply>small{grid-column:1/-1;margin-top:.25rem;color:var(--bcg-muted);font-family:Georgia,"Times New Roman",serif;font-size:.7rem;line-height:1.4}.bcg-discussion-last-reply:hover{border-color:color-mix(in srgb,var(--bcg-accent) 25%,var(--bcg-line));color:inherit}
.bcg-sidebar-ad-unit:empty{display:none;margin:0}

.bcg-community-sidebar>.bcg-ad{width:100%;margin:0;min-height:250px}.bcg-community-sidebar>.bcg-ad:empty{display:none}

/* =========================================================
   BabyCareGuide 1.3.0 — fullscreen Discover + mobile polish
   ========================================================= */

/* Site-wide text selection uses the editorial warm yellow instead of browser blue. */
::selection{background:#f7f2c0;color:#111}
::-moz-selection{background:#f7f2c0;color:#111}

/* Keep scroll behavior, but remove visual scrollbars from immersive/drawer surfaces. */
.bcg-trending-drawer{scrollbar-width:none;-ms-overflow-style:none}
.bcg-trending-drawer::-webkit-scrollbar{display:none;width:0;height:0}

/* Header action geometry. Explicit SVG dimensions prevent mobile squeezing/distortion. */
.bcg-header-actions{min-width:0;align-items:center}
.bcg-icon-button{box-sizing:border-box;aspect-ratio:1;flex:0 0 auto;padding:0;line-height:1;overflow:hidden}
.bcg-icon-button>svg{display:block;width:19px;height:19px;max-width:none;max-height:none;flex:0 0 19px;overflow:visible}
.bcg-discover-header-link>svg{width:20px;height:20px;flex-basis:20px;stroke-width:1.8}
.bcg-menu-toggle{flex:0 0 auto}
.bcg-menu-lines,.bcg-menu-lines::before,.bcg-menu-lines::after{flex:none;transform:none}

/* Discover page becomes a progressive-enhancement launcher. The actual feed is the global dialog. */
.bcg-discover-page{max-width:var(--bcg-shell);padding-bottom:5rem}
.bcg-discover-page .bcg-page-content{max-width:980px;margin-inline:auto}
.bcg-discover-launcher{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:1.25rem;align-items:center;margin:2rem auto 4rem;padding:2rem 0;border:0;border-radius:0;background:transparent;font-family:var(--bcg-ui-font)}
.bcg-discover-launcher-icon{width:72px;height:72px;border-radius:20px;display:grid;place-items:center;background:var(--bcg-dark);color:#fff}
.bcg-discover-launcher-icon svg{width:34px;height:34px}
.bcg-discover-launcher h2{font-size:clamp(1.7rem,3.3vw,3rem);font-weight:500;line-height:1.02;letter-spacing:-.035em;margin:.2rem 0 .45rem}
.bcg-discover-launcher p{margin:0;color:var(--bcg-muted);font-family:Georgia,"Times New Roman",serif;font-size:.92rem;line-height:1.55}

/* Full-screen dialog shell. */
html.bcg-discover-open,body.bcg-discover-open{overflow:hidden!important;overscroll-behavior:none}
.bcg-discover-overlay[hidden]{display:none!important}
.bcg-discover-overlay{position:fixed;inset:0;width:100dvw;height:100dvh;z-index:100000;display:grid;place-items:center;padding:0;background:rgba(8,8,12,.68);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
.bcg-discover-overlay.is-open{opacity:1;visibility:visible}
.bcg-discover-dialog{position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:var(--bcg-dark);box-shadow:0 30px 100px rgba(0,0,0,.48);transform:scale(.992);transition:transform .2s ease;outline:0}
.bcg-discover-overlay.is-open .bcg-discover-dialog{transform:scale(1)}
.bcg-discover-dialog .bcg-discover-experience{position:relative;width:100%;height:100%;min-height:0;padding:0;margin:0;font-family:var(--bcg-ui-font)}
.bcg-discover-dialog .bcg-discover-feed{width:100%;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scroll-snap-type:y mandatory;border:0;border-radius:0;background:var(--bcg-dark);box-shadow:none;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch}
.bcg-discover-dialog .bcg-discover-feed::-webkit-scrollbar{display:none;width:0;height:0;background:transparent}
.bcg-discover-dialog .bcg-discover-item{width:100%;height:100%;min-height:100%;scroll-snap-align:start;scroll-snap-stop:always}
.bcg-discover-dialog .bcg-discover-sentinel{height:1px;min-height:1px;scroll-snap-align:none}

/* Floating controls sit over the feed, not in its document flow. */
.bcg-discover-close{position:absolute;z-index:45;top:calc(16px + env(safe-area-inset-top,0px));right:calc(16px + env(safe-area-inset-right,0px));width:48px;height:48px;padding:0;border:1px solid rgba(255,255,255,.3);border-radius:50%;display:grid;place-items:center;background:rgba(18,18,24,.68);color:#fff;box-shadow:0 8px 28px rgba(0,0,0,.18);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);cursor:pointer}
.bcg-discover-close:hover,.bcg-discover-close:focus-visible{background:#fff;color:#111;border-color:#fff}
.bcg-discover-close svg{width:21px;height:21px;display:block}
.bcg-discover-chrome{position:absolute;z-index:40;top:calc(16px + env(safe-area-inset-top,0px));left:calc(16px + env(safe-area-inset-left,0px));display:inline-flex;align-items:center;gap:.5rem;min-height:42px;padding:.55rem .75rem;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(18,18,24,.58);color:#fff;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);pointer-events:none}
.bcg-discover-chrome span{width:21px;height:21px;display:grid;place-items:center}.bcg-discover-chrome svg{width:21px;height:21px}.bcg-discover-chrome b{font-size:.72rem;font-weight:600;letter-spacing:.02em}
.bcg-discover-dialog .bcg-discover-loader{position:absolute;z-index:42;left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);min-height:0;padding:.55rem .8rem;border-radius:999px;background:rgba(18,18,24,.7);color:#fff;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.bcg-discover-dialog .bcg-discover-loader>b{color:#fff}.bcg-discover-dialog .bcg-discover-more{position:absolute;z-index:42;left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);margin:0}

/* Feed readability at true viewport scale. */
.bcg-discover-dialog .bcg-discover-copy{padding-bottom:clamp(2rem,5vh,4.5rem);padding-left:clamp(1.5rem,4vw,4rem);padding-right:clamp(1.5rem,4vw,4rem);max-width:min(820px,92%)}
.bcg-discover-dialog .bcg-discover-copy h2{font-size:clamp(2.2rem,5.2vw,5.2rem);font-weight:500}
.bcg-discover-dialog .bcg-discover-ad-slide{height:100%;min-height:100%}
.bcg-discover-dialog .bcg-discover-ad-slide>div{max-height:92%;overflow:hidden}

@media(max-width:800px){
  /* Balanced action columns: two controls per side without squeezing the brand or SVGs. */
  .bcg-header-actions-left .bcg-search-toggle{display:none!important}
  .bcg-font-controls{display:none!important}
  .bcg-mobile-reader-controls{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--bcg-line)}
  .bcg-mobile-reader-controls>span{width:100%;font-size:.68rem;font-weight:700;color:var(--bcg-muted);text-transform:uppercase;letter-spacing:.08em}
  .bcg-mobile-reader-controls button{border:1px solid var(--bcg-line);border-radius:999px;background:var(--bcg-paper);color:var(--bcg-ink);padding:.4rem .65rem;font-size:.72rem;font-weight:700}
  .bcg-mobile-reader-controls button[aria-pressed="true"]{background:var(--bcg-accent);border-color:var(--bcg-accent);color:#fff}
  .bcg-brand-row{grid-template-columns:84px minmax(0,1fr) 84px!important;gap:4px!important;padding-inline:6px}
  .bcg-header-actions{gap:4px!important}
  .bcg-header-actions-left,.bcg-header-actions-right{width:84px;justify-content:flex-start}
  .bcg-header-actions-right{justify-content:flex-end}
  .bcg-header-actions-left .bcg-icon-button,.bcg-header-actions-right .bcg-icon-button{width:38px!important;height:38px!important;flex:0 0 38px!important}
  .bcg-header-actions-left .bcg-icon-button>svg,.bcg-header-actions-right .bcg-icon-button>svg{width:18px;height:18px;flex-basis:18px}
  .bcg-menu-lines,.bcg-menu-lines::before,.bcg-menu-lines::after{width:17px}
  .bcg-brand{min-width:0}.bcg-wordmark{max-width:100%;white-space:nowrap}

  .bcg-discover-overlay{padding:0;background:#09090d;backdrop-filter:none;-webkit-backdrop-filter:none}
  .bcg-discover-dialog{border:0;border-radius:18px;box-shadow:none}
  .bcg-discover-dialog .bcg-discover-copy{width:100%;max-width:100%;padding:1.35rem;padding-bottom:calc(2rem + env(safe-area-inset-bottom,0px))}
  .bcg-discover-dialog .bcg-discover-copy h2{font-size:clamp(1.9rem,8.6vw,3.5rem);line-height:1;letter-spacing:-.04em;margin-bottom:.7rem}
  .bcg-discover-dialog .bcg-discover-copy p{font-size:.94rem;line-height:1.48;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  .bcg-discover-dialog .bcg-discover-meta{font-size:.64rem;gap:.55rem}
  .bcg-discover-close{top:calc(12px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px));width:44px;height:44px}
  .bcg-discover-close svg{width:19px;height:19px}
  .bcg-discover-chrome{top:calc(12px + env(safe-area-inset-top,0px));left:calc(12px + env(safe-area-inset-left,0px));min-height:40px;padding:.45rem .65rem}
  .bcg-discover-chrome b{font-size:.68rem}
  .bcg-discover-community-art,.bcg-discover-tool-icon{top:9%;right:-7%;width:min(62vw,360px)}
  .bcg-discover-name-letter{right:3%;font-size:min(70vw,390px)}
  .bcg-discover-launcher{grid-template-columns:58px 1fr;align-items:start;padding:1.15rem}.bcg-discover-launcher-icon{width:58px;height:58px;border-radius:16px}.bcg-discover-launcher-icon svg{width:28px;height:28px}.bcg-discover-launcher .bcg-button{grid-column:1/-1;width:100%}
}

@media(max-width:560px){
  .bcg-brand-row{grid-template-columns:76px minmax(0,1fr) 76px!important;gap:2px!important;padding-inline:4px}
  .bcg-header-actions-left,.bcg-header-actions-right{width:76px;gap:2px!important}
  .bcg-header-actions-left .bcg-icon-button,.bcg-header-actions-right .bcg-icon-button{width:36px!important;height:36px!important;flex:0 0 36px!important}
  .bcg-header-actions-left .bcg-icon-button>svg,.bcg-header-actions-right .bcg-icon-button>svg{width:17px;height:17px;flex-basis:17px}
  .bcg-discover-header-link>svg{width:18px!important;height:18px!important;flex-basis:18px!important}
  .bcg-wordmark{font-size:1.28rem!important}.custom-logo{max-width:100%;height:auto}
  .bcg-discover-dialog{border-radius:16px}
  .bcg-discover-chrome b{display:none}.bcg-discover-chrome{width:42px;height:42px;padding:0;justify-content:center}
  .bcg-discover-dialog .bcg-discover-copy{padding-inline:1.1rem}
  .bcg-discover-dialog .bcg-discover-copy h2{font-size:clamp(1.8rem,9vw,3rem)}
  .bcg-discover-community-art,.bcg-discover-tool-icon{width:min(66vw,320px)}
}

@media(prefers-reduced-motion:reduce){.bcg-discover-overlay,.bcg-discover-dialog{transition:none}}

/* =========================================================
   BabyCareGuide 1.5.0 — mobile UX, scalable names, layout integrity
   ========================================================= */

/* Stronger cross-browser editorial selection color, including mobile WebKit. */
*::selection{background:#f7f2c0!important;color:#111!important}
*::-moz-selection{background:#f7f2c0!important;color:#111!important}

/* Structural safeguards: no component may widen the document viewport. */
html,body{max-width:100%;overflow-x:hidden;overflow-x:clip}
main,.bcg-shell,.bcg-shell-wide,.bcg-page-article,.bcg-page-content,.entry-content,.bcg-article-layout,.bcg-article-main,.bcg-sidebar,.bcg-community-hub,.bcg-community-main-columns,.bcg-community-main-columns>*,.bcg-community-archive-layout,.bcg-community-archive-layout>*,.bcg-community-discussion-card,.bcg-discussion-list,.bcg-group-grid,.bcg-tools-experience,.bcg-tools-grid,.bcg-tool-card,.bcg-name-finder,.bcg-name-grid,.bcg-name-card{min-width:0;max-width:100%}
.entry-content img,.entry-content video,.entry-content iframe,.entry-content embed,.entry-content object,.entry-content svg{max-width:100%;height:auto}
.entry-content pre{max-width:100%;overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.entry-content code,.entry-content a,.bcg-community-discussion-card,.bcg-community-discussion-card a,.bcg-tool-card,.bcg-name-card{overflow-wrap:anywhere;word-break:break-word}
.entry-content table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
input,select,textarea,button{max-width:100%}
.bcg-ad,.bcg-ad>*{max-width:100%}

/* Tools: keep the page title and introductory copy aligned with the rest of the hub. */
.bcg-tools-page .bcg-page-header{max-width:900px;margin-left:0;margin-right:auto;text-align:left}
.bcg-tools-page .bcg-page-content>p:first-child{margin-left:0;margin-right:auto;text-align:left}

/* Mobile navigation becomes a true full-screen layer with an explicit close control. */
.bcg-mobile-menu-close{display:none}
@media(max-width:980px){
  html.bcg-mobile-menu-open,body.bcg-mobile-menu-open{overflow:hidden!important;overscroll-behavior:none}
  .bcg-primary-nav{display:none!important;position:fixed!important;inset:0!important;top:0!important;left:0!important;right:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:calc(82px + env(safe-area-inset-top,0px)) max(22px,env(safe-area-inset-right,0px)) calc(32px + env(safe-area-inset-bottom,0px)) max(22px,env(safe-area-inset-left,0px))!important;overflow-y:auto!important;overflow-x:hidden!important;background:var(--bcg-paper)!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:100020!important;overscroll-behavior:contain}
  .bcg-primary-nav.is-open{display:block!important}
  .bcg-mobile-menu-close{display:grid;place-items:center;position:fixed;top:calc(18px + env(safe-area-inset-top,0px));right:calc(18px + env(safe-area-inset-right,0px));z-index:100022;width:46px;height:46px;padding:0;border:1px solid var(--bcg-line);border-radius:50%;background:var(--bcg-paper);color:var(--bcg-ink);box-shadow:0 8px 28px rgba(17,17,19,.08)}
  .bcg-mobile-menu-close svg{width:20px;height:20px}
  .bcg-primary-nav .bcg-menu{width:min(100%,560px);margin:0 auto;padding:0}
  .bcg-primary-nav .bcg-menu li{border-bottom:1px solid var(--bcg-line)}
  .bcg-primary-nav .bcg-menu>li>a{padding:1rem .2rem;font-size:1rem;line-height:1.3;letter-spacing:.055em}
  .bcg-primary-nav .bcg-menu .sub-menu{padding:0 0 .8rem .65rem}
  .bcg-primary-nav .bcg-menu .sub-menu a{padding:.62rem .2rem;font-size:.9rem}
  .bcg-mobile-reader-controls{width:min(100%,560px);margin:1.5rem auto 0}
  .entry-content>.alignfull{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
  .bcg-article-hero,.bcg-article-layout,.bcg-community-main-columns,.bcg-community-archive-layout,.bcg-discussion-single-layout{width:100%;max-width:100%}
  .bcg-community-summary,.bcg-ranking-tabs,.bcg-ranking-panel,.bcg-discussion-stats,.bcg-discussion-participants{max-width:100%}
}

/* Baby names: scalable filters + incremental loading. */
.bcg-name-search{max-width:none;margin:0 0 1.25rem}
.bcg-name-filter-grid{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(170px,.75fr) minmax(190px,.9fr) auto;gap:.75rem;align-items:end}
.bcg-name-filter-grid label{display:grid;gap:.35rem;min-width:0}
.bcg-name-filter-grid label>span{font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.065em;color:var(--bcg-muted)}
.bcg-name-filter-grid input,.bcg-name-filter-grid select{width:100%;height:46px;border:1px solid var(--bcg-line);border-radius:9px;padding:0 .8rem;background:var(--bcg-paper);color:var(--bcg-ink)}
.bcg-name-filter-grid .bcg-button{height:46px;white-space:nowrap}
.bcg-name-clear{display:inline-flex;margin-top:.65rem;color:var(--bcg-accent);font-size:.72rem;font-weight:750}
.bcg-az{grid-template-columns:repeat(9,minmax(34px,1fr));gap:6px}
.bcg-name-country-filter{margin:1.3rem 0 1.5rem;padding:1rem;border:1px solid var(--bcg-line);border-radius:14px;background:var(--bcg-soft)}
.bcg-name-country-filter-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.8rem}
.bcg-name-country-filter-head strong{font-size:.82rem}.bcg-name-country-filter-head span{font-size:.66rem;color:var(--bcg-muted)}
.bcg-country-chip-row{display:flex;gap:.55rem;overflow-x:auto;padding:.15rem .05rem .35rem;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.bcg-country-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:.42rem;min-height:40px;padding:.35rem .55rem .35rem .36rem;border:1px solid var(--bcg-line);border-radius:999px;background:var(--bcg-paper);color:var(--bcg-ink)}
.bcg-country-chip:hover,.bcg-country-chip.is-active{border-color:var(--bcg-accent);box-shadow:0 0 0 1px var(--bcg-accent);color:var(--bcg-accent)}
.bcg-country-chip abbr,.bcg-country-badge abbr{text-decoration:none;font-size:.66rem;font-weight:850;letter-spacing:.045em}
.bcg-country-flag{width:28px;height:28px;aspect-ratio:1/1;flex:0 0 28px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--bcg-soft-2);font-size:31px;line-height:1;box-shadow:inset 0 0 0 1px rgba(17,17,19,.06);text-indent:-1px}
.bcg-country-flag-all{font-size:16px}
.bcg-country-badge{display:inline-flex!important;align-items:center;gap:.3rem;padding:.18rem .4rem .18rem .22rem!important;border-radius:999px;background:var(--bcg-soft);font-size:.65rem!important}
.bcg-country-badge .bcg-country-flag{width:22px;height:22px;flex-basis:22px;font-size:25px}
.bcg-name-card-meta{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}
.bcg-name-results-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:1rem 0 .8rem;padding-bottom:.7rem;border-bottom:1px solid var(--bcg-line);font-size:.72rem}
.bcg-name-results-head span{color:var(--bcg-muted)}
.bcg-name-load-zone{display:grid;place-items:center;gap:.75rem;min-height:96px;margin-top:1.1rem}
.bcg-name-loader{display:flex;align-items:center;justify-content:center;gap:.3rem;color:var(--bcg-muted);font-size:.7rem}
.bcg-name-loader[hidden]{display:none}.bcg-name-loader>span{width:7px;height:7px;border-radius:50%;background:var(--bcg-accent);animation:bcgPulse 1s infinite alternate}.bcg-name-loader>span:nth-child(2){animation-delay:.15s}.bcg-name-loader>span:nth-child(3){animation-delay:.3s}.bcg-name-loader>b{margin-left:.35rem}
.bcg-name-prev-wrap{text-align:center;margin-top:.6rem}

/* Community: make Latest Discussions use the same compact card rhythm as engagement-ranked cards. */
.bcg-community-main-columns>div{min-width:0}
.bcg-discussion-list-rich>.bcg-community-discussion-card{width:100%;padding:1.2rem;border:1px solid var(--bcg-line);border-radius:18px;background:var(--bcg-paper);box-shadow:0 8px 28px rgba(17,17,19,.035)}
.bcg-discussion-list-rich .bcg-discussion-participants{min-width:0}
.bcg-discussion-list-rich .bcg-discussion-participants>*{min-width:0}
.bcg-community-section-head-compact{align-items:end;gap:1rem}

/* Discover title entrance: quick start, eased deceleration at the end. */
.bcg-discover-item.bcg-title-ready .bcg-discover-copy h2{opacity:0;transform:translate3d(0,24px,0);will-change:transform,opacity}
.bcg-discover-item.bcg-title-ready.is-title-visible .bcg-discover-copy h2{animation:bcgDiscoverTitleIn var(--bcg-discover-title-duration,680ms) cubic-bezier(.16,1,.3,1) both}
@keyframes bcgDiscoverTitleIn{0%{opacity:0;transform:translate3d(0,24px,0)}55%{opacity:1}100%{opacity:1;transform:translate3d(0,0,0)}}

@media(max-width:900px){
  .bcg-name-filter-grid{grid-template-columns:1fr 1fr}.bcg-name-filter-grid .bcg-name-search-field{grid-column:1/-1}.bcg-name-filter-grid .bcg-button{grid-column:1/-1;width:100%}
}
@media(max-width:720px){
  .bcg-tools-page .bcg-page-content>p:first-child{font-size:1rem}
  .bcg-name-grid{grid-template-columns:1fr 1fr}
  .bcg-name-country-filter{margin-inline:-2px;padding:.85rem}
  .bcg-name-country-filter-head{display:block}.bcg-name-country-filter-head span{display:block;margin-top:.15rem}
  .bcg-community-section-head-compact{display:flex;align-items:end}
}
@media(max-width:520px){
  .bcg-name-filter-grid{grid-template-columns:1fr}.bcg-name-filter-grid .bcg-name-search-field,.bcg-name-filter-grid .bcg-button{grid-column:auto}
  .bcg-name-grid{grid-template-columns:1fr}
  .bcg-az{grid-template-columns:repeat(6,1fr)}
  .bcg-name-results-head{align-items:flex-start;flex-direction:column;gap:.2rem}
  .bcg-community-section-head-compact{display:block}.bcg-community-section-head-compact .bcg-text-link{display:inline-flex;margin-top:.55rem}
}
@media(prefers-reduced-motion:reduce){.bcg-discover-item.bcg-title-ready .bcg-discover-copy h2{opacity:1!important;transform:none!important;animation:none!important}.bcg-name-loader>span{animation:none}}

/* v1.5.1 — Baby Names flags: show the complete glyph inside a true 1:1 circular holder; never crop flag edges. */
.bcg-country-flag{width:34px!important;height:34px!important;aspect-ratio:1/1!important;flex:0 0 34px!important;border-radius:50%!important;overflow:visible!important;display:grid!important;place-items:center!important;padding:4px!important;background:var(--bcg-paper)!important;border:1px solid var(--bcg-line)!important;box-shadow:0 2px 9px rgba(17,17,19,.08)!important;text-indent:0!important;font-size:inherit!important;line-height:1!important}
.bcg-country-flag-glyph{display:block!important;max-width:100%;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important;font-size:20px!important;line-height:1!important;transform:none!important;letter-spacing:0!important;white-space:nowrap!important}
.bcg-country-flag-all .bcg-country-flag-glyph{font-size:18px!important}
.bcg-country-badge{gap:.42rem!important;padding:.24rem .52rem .24rem .28rem!important;min-height:38px}
.bcg-country-badge .bcg-country-flag{width:30px!important;height:30px!important;flex-basis:30px!important;padding:3px!important}
.bcg-country-badge .bcg-country-flag-glyph{font-size:19px!important}
.bcg-name-card-meta{gap:.5rem!important;align-items:center!important}
.bcg-name-card .bcg-country-badge{font-size:.69rem!important}

/* Baby Names monetization: one full-width responsive unit after every 50 result cards. */
.bcg-name-inline-ad{grid-column:1/-1!important;width:100%;min-width:0;margin:.75rem 0 1.15rem;padding:1rem 0;border-top:1px solid var(--bcg-line);border-bottom:1px solid var(--bcg-line)}
.bcg-name-inline-ad .bcg-ad{width:100%;max-width:100%;min-height:150px;margin:0!important;padding:1rem!important;background:var(--bcg-soft);border-radius:14px;overflow:hidden}
.bcg-name-inline-ad .bcg-ad-label{display:block;margin-bottom:.4rem;font-size:.58rem;letter-spacing:.1em;text-transform:uppercase;color:var(--bcg-muted)}
.bcg-name-inline-ad ins.adsbygoogle{width:100%!important;max-width:100%!important;min-height:120px}

/* Homepage mobile burger is explicitly locked to the same full-screen model used site-wide. */
@media(max-width:980px){
  body.bcg-home .bcg-primary-nav{display:none!important;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:calc(82px + env(safe-area-inset-top,0px)) max(22px,env(safe-area-inset-right,0px)) calc(32px + env(safe-area-inset-bottom,0px)) max(22px,env(safe-area-inset-left,0px))!important;overflow-y:auto!important;overflow-x:hidden!important;background:var(--bcg-paper)!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:100020!important}
  body.bcg-home .bcg-primary-nav.is-open{display:block!important}
  body.bcg-home .bcg-mobile-menu-close{display:grid!important}
}

/* Discovery only: light-background slide titles stay black even when the global site theme is dark. */
body.bcg-dark .bcg-discover-overlay .bcg-discover-copy-dark h2,
body.bcg-dark .bcg-discover-overlay .bcg-discover-copy-dark h2 a,
body.bcg-dark .bcg-discover-feed .bcg-discover-copy-dark h2,
body.bcg-dark .bcg-discover-feed .bcg-discover-copy-dark h2 a{color:#111113!important}

@media(max-width:560px){
  .bcg-country-flag{width:36px!important;height:36px!important;flex-basis:36px!important}
  .bcg-country-flag-glyph{font-size:21px!important}
  .bcg-country-badge .bcg-country-flag{width:32px!important;height:32px!important;flex-basis:32px!important}
  .bcg-country-badge .bcg-country-flag-glyph{font-size:20px!important}
  .bcg-name-inline-ad{margin:.55rem 0 1rem;padding:.8rem 0}
  .bcg-name-inline-ad .bcg-ad{min-height:135px;padding:.8rem!important}
}

/* ==============================================================
   BabyCareGuide 1.5.2 — precision mobile/UI corrections
   ============================================================== */

/* Baby Names: use a real country image inside a true circular mask.
   This removes the OS emoji's intrinsic vertical whitespace and makes every
   country flag fill the circle edge-to-edge, centered on both axes. */
.bcg-country-flag{
  position:relative!important;
  width:36px!important;
  height:36px!important;
  aspect-ratio:1/1!important;
  flex:0 0 36px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:var(--bcg-soft-2)!important;
  border:1px solid color-mix(in srgb,var(--bcg-line) 88%,transparent)!important;
  box-shadow:0 2px 9px rgba(17,17,19,.08)!important;
  line-height:0!important;
  text-indent:0!important;
}
.bcg-country-flag-img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  display:block!important;
  object-fit:cover!important;
  object-position:50% 50%!important;
  border:0!important;
  border-radius:50%!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}
.bcg-country-flag .bcg-country-flag-glyph{display:none!important}
.bcg-country-flag.is-fallback .bcg-country-flag-img{display:none!important}
.bcg-country-flag.is-fallback .bcg-country-flag-glyph,
.bcg-country-flag-all .bcg-country-flag-glyph{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important;
  font-size:20px!important;
  line-height:1!important;
  background:var(--bcg-paper)!important;
}
.bcg-country-flag-all{overflow:hidden!important}
.bcg-country-flag-all .bcg-country-flag-glyph{font-size:18px!important}
.bcg-country-badge .bcg-country-flag{
  width:36px!important;
  height:36px!important;
  flex-basis:36px!important;
  padding:0!important;
}
.bcg-country-badge{
  min-height:42px!important;
  gap:.46rem!important;
  padding:.2rem .58rem .2rem .22rem!important;
  align-items:center!important;
}
.bcg-country-chip{
  min-height:44px!important;
  padding:.28rem .62rem .28rem .3rem!important;
  align-items:center!important;
}
.bcg-name-card-meta{align-items:center!important}

/* Discovery only: light-surface cards always use locally fixed dark text.
   Do not inherit --bcg-ink/--bcg-muted from the site's dark theme. */
.bcg-discover-feed .bcg-discover-copy-dark,
.bcg-discover-overlay .bcg-discover-copy-dark{
  color:#111113!important;
}
.bcg-discover-feed .bcg-discover-copy-dark h2,
.bcg-discover-feed .bcg-discover-copy-dark h2 a,
.bcg-discover-feed .bcg-discover-copy-dark h2 a:hover,
.bcg-discover-feed .bcg-discover-copy-dark h2 a:focus-visible,
.bcg-discover-overlay .bcg-discover-copy-dark h2,
.bcg-discover-overlay .bcg-discover-copy-dark h2 a,
.bcg-discover-overlay .bcg-discover-copy-dark h2 a:hover,
.bcg-discover-overlay .bcg-discover-copy-dark h2 a:focus-visible{
  color:#111113!important;
}
.bcg-discover-feed .bcg-discover-copy-dark p,
.bcg-discover-overlay .bcg-discover-copy-dark p{
  color:#4e4e59!important;
}
.bcg-discover-feed .bcg-discover-copy-dark .bcg-discover-meta,
.bcg-discover-feed .bcg-discover-copy-dark .bcg-discover-meta span,
.bcg-discover-overlay .bcg-discover-copy-dark .bcg-discover-meta,
.bcg-discover-overlay .bcg-discover-copy-dark .bcg-discover-meta span{
  color:#696974!important;
}
.bcg-discover-feed .bcg-discover-copy-dark .bcg-kicker,
.bcg-discover-overlay .bcg-discover-copy-dark .bcg-kicker{
  color:#b21765!important;
}

/* Trending drawer: match the burger close control's precision and center the SVG. */
.bcg-drawer-head{align-items:flex-start}
.bcg-drawer-close{
  flex:0 0 46px;
  width:46px!important;
  height:46px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #484855!important;
  border-radius:50%!important;
  background:#20202a!important;
  color:#fff!important;
  box-shadow:0 8px 28px rgba(0,0,0,.18)!important;
  line-height:1!important;
  cursor:pointer;
}
.bcg-drawer-close svg{display:block;width:20px!important;height:20px!important;margin:0!important}
.bcg-drawer-close:hover,.bcg-drawer-close:focus-visible{border-color:var(--bcg-accent)!important;background:var(--bcg-accent)!important;color:#fff!important;outline:none}

/* Trending drawer rankings: number medallion overlaps the left edge of the cover. */
.bcg-trending-item{
  position:relative!important;
  grid-template-columns:92px minmax(0,1fr)!important;
  gap:.85rem!important;
  min-height:104px;
}
.bcg-trending-thumb{
  grid-column:1!important;
  width:76px!important;
  height:76px!important;
  margin-left:16px!important;
  border-radius:50%!important;
}
.bcg-trending-rank{
  position:absolute!important;
  z-index:3!important;
  left:0!important;
  top:50%!important;
  width:40px!important;
  height:40px!important;
  transform:translateY(-50%)!important;
  box-shadow:0 0 0 3px var(--bcg-dark)!important;
}
.bcg-trending-item>div{grid-column:2!important;min-width:0}

/* Home "Popular this week": use the same image-border overlap language. */
.bcg-popular-list article{
  position:relative!important;
  grid-template-columns:68px minmax(0,1fr)!important;
  gap:.6rem!important;
  min-width:0;
}
.bcg-popular-thumb{
  grid-column:1!important;
  width:56px!important;
  height:56px!important;
  margin-left:12px!important;
}
.bcg-rank{
  position:absolute!important;
  z-index:3!important;
  left:0!important;
  top:50%!important;
  width:32px!important;
  height:32px!important;
  transform:translateY(-50%)!important;
  box-shadow:0 0 0 3px var(--bcg-soft)!important;
}
.bcg-popular-list article>h3{grid-column:2!important;min-width:0}

/* Home featured carousel: mobile navigation buttons align exactly with the
   content/card edges; the counter remains centered between them. */
@media(max-width:560px){
  .bcg-hero-carousel{padding-bottom:3.15rem!important}
  .bcg-carousel-arrow{bottom:4px!important;top:auto!important;transform:none!important}
  .bcg-carousel-prev{left:0!important;right:auto!important}
  .bcg-carousel-next{right:0!important;left:auto!important}
  .bcg-carousel-status{
    left:50%!important;
    right:auto!important;
    bottom:14px!important;
    transform:translateX(-50%)!important;
  }
  .bcg-country-flag,
  .bcg-country-badge .bcg-country-flag{width:38px!important;height:38px!important;flex-basis:38px!important}
  .bcg-country-badge{min-height:44px!important}
}

/* =========================================================
   BabyCareGuide 1.6.1 — article gutters after overflow fixes
   ========================================================= */
/*
 * .bcg-article-layout is also a .bcg-shell. An older mobile overflow guard
 * forced it to width:100%, unintentionally removing the shell gutter from the
 * article body and the stacked sidebar (including Quick access / Popular tools).
 * Keep the anti-overflow rules, but restore the exact shell spacing used by the
 * article heading/category/byline above it.
 */
@media (max-width:980px){
  .bcg-single-article .bcg-article-layout.bcg-shell{
    width:min(calc(100% - 40px),820px)!important;
    max-width:820px!important;
    margin-inline:auto!important;
  }
  .bcg-single-article .bcg-article-main,
  .bcg-single-article .bcg-sidebar{
    width:100%;
    max-width:100%;
    min-width:0;
  }
}
@media (max-width:720px){
  .bcg-single-article .bcg-article-layout.bcg-shell{
    width:min(calc(100% - 28px),820px)!important;
  }
  .bcg-single-article .bcg-article-content,
  .bcg-single-article .bcg-sidebar,
  .bcg-single-article .bcg-widget,
  .bcg-single-article .bcg-sidebar-tools,
  .bcg-single-article .bcg-sidebar-recent,
  .bcg-single-article .bcg-sidebar-topics{
    max-width:100%;
    min-width:0;
  }
}


/* =========================================================
   BabyCareGuide 1.6.2 — reader conversation + copy protection
   ========================================================= */
/* Keep Latest / Most liked / Most replied on one row at every viewport. */
.bcg-comment-tabs{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch;
  gap:4px!important;
}
.bcg-comment-tabs button{
  min-width:0;
  width:100%;
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
  line-height:1.15;
}
@media(max-width:560px){
  .bcg-comment-tabs{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .bcg-comment-tabs button{
    padding:.5rem .18rem!important;
    font-size:clamp(.55rem,2.65vw,.64rem)!important;
    letter-spacing:-.01em;
  }
}

.bcg-copy-protection-toast{
  position:fixed;
  z-index:1000002;
  left:50%;
  bottom:max(20px,env(safe-area-inset-bottom));
  width:max-content;
  max-width:min(calc(100vw - 28px),460px);
  transform:translate(-50%,18px);
  opacity:0;
  pointer-events:none;
  padding:.72rem .95rem;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(17,16,21,.94);
  color:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,.24);
  font-size:.72rem;
  font-weight:750;
  line-height:1.35;
  text-align:center;
  transition:opacity .2s ease,transform .2s ease;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}
.bcg-copy-protection-toast.is-visible{
  opacity:1;
  transform:translate(-50%,0);
}
@media(max-width:560px){
  .bcg-copy-protection-toast{
    width:calc(100vw - 28px);
    border-radius:14px;
    font-size:.7rem;
  }
}

/* =========================================================
   BabyCareGuide 1.6.4 — invariant article gutters in light/dark
   ========================================================= */
/*
 * Use real inline padding for the stacked article layout instead of relying
 * only on a narrowed shell width. This keeps the readable content geometry
 * identical when the body switches between light and .bcg-dark variables.
 * The resulting content width is unchanged from the approved light layout:
 * 20px per side up to 980px, then 14px per side up to 720px.
 */
@media (max-width:980px){
  .bcg-single-article{
    --bcg-article-inline-gutter:20px;
  }
  .bcg-single-article .bcg-article-layout.bcg-shell{
    width:100%!important;
    max-width:860px!important; /* 820px content + 20px + 20px gutter */
    margin-inline:auto!important;
    padding-inline:var(--bcg-article-inline-gutter)!important;
    box-sizing:border-box!important;
  }
  .bcg-single-article .bcg-article-main,
  .bcg-single-article .bcg-sidebar{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Explicit dark-mode parity: color variables may change, geometry may not. */
  body.bcg-dark .bcg-single-article .bcg-article-layout.bcg-shell{
    width:100%!important;
    max-width:860px!important;
    padding-inline:var(--bcg-article-inline-gutter)!important;
    margin-inline:auto!important;
  }
}
@media (max-width:720px){
  .bcg-single-article{
    --bcg-article-inline-gutter:14px;
  }
  .bcg-single-article .bcg-article-layout.bcg-shell,
  body.bcg-dark .bcg-single-article .bcg-article-layout.bcg-shell{
    width:100%!important;
    max-width:848px!important; /* 820px content + 14px + 14px gutter */
    padding-left:max(var(--bcg-article-inline-gutter),env(safe-area-inset-left,0px))!important;
    padding-right:max(var(--bcg-article-inline-gutter),env(safe-area-inset-right,0px))!important;
  }
  .bcg-single-article .bcg-article-content,
  .bcg-single-article .bcg-sidebar,
  .bcg-single-article .bcg-widget,
  .bcg-single-article .bcg-sidebar-tools,
  .bcg-single-article .bcg-sidebar-recent,
  .bcg-single-article .bcg-sidebar-topics,
  .bcg-single-article .bcg-comments-area{
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }
}
