/*
Theme Name: BoredMommy Studio
Theme URI: https://boredmommyblog.com/
Description: Editorial discovery child theme for GeneratePress.
Author: BoredMommy
Template: generatepress
Version: 1.0.0
Text Domain: boredmommy
*/

:root {
  --bmb-cream: #f7f2ec;
  --bmb-paper: #fffdf9;
  --bmb-ink: #191817;
  --bmb-cherry: #d8344e;
  --bmb-lavender: #d8cdea;
  --bmb-muted: #6d6863;
  --bmb-line: rgba(25, 24, 23, .16);
  --bmb-radius: 22px;
  --bmb-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bmb-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.bmb-site {
  margin: 0;
  color: var(--bmb-ink);
  background: var(--bmb-cream);
  font-family: var(--bmb-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
img { display: block; max-width: 100%; height: auto; }
.bmb-shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.bmb-skip { position: fixed; left: 14px; top: -100px; z-index: 9999; padding: 10px 14px; background: #fff; }
.bmb-skip:focus { top: 14px; }

.bmb-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bmb-cream) 94%, transparent);
  border-bottom: 1px solid var(--bmb-line);
  backdrop-filter: blur(14px);
}
.admin-bar .bmb-header { top: 32px; }
.bmb-nav { min-height: 78px; display: flex; align-items: center; gap: 30px; }
.bmb-logo { display: inline-flex; align-items: baseline; text-decoration: none; white-space: nowrap; }
.bmb-logo__bold { font-weight: 900; font-size: 27px; letter-spacing: -.07em; }
.bmb-logo__dot { color: var(--bmb-cherry); }
.bmb-logo__soft { margin-left: 6px; font-family: var(--bmb-serif); font-size: 22px; font-style: italic; font-weight: 400; }
.bmb-menu { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2vw, 30px); margin: 0 auto; padding: 0; list-style: none; }
.bmb-menu a { text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bmb-menu a:hover, .bmb-menu a:focus-visible { color: var(--bmb-cherry); }
.bmb-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 19px; border: 2px solid var(--bmb-ink); border-radius: 999px; background: var(--bmb-ink); color: #fff; font-weight: 900; font-size: 13px; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; transition: transform .18s ease, background .18s ease, color .18s ease; }
.bmb-button:hover { transform: translateY(-2px); background: var(--bmb-cherry); border-color: var(--bmb-cherry); color: #fff; }
.bmb-button--light { background: #fff; color: var(--bmb-ink); border-color: #fff; }
.bmb-button--ghost { background: transparent; color: var(--bmb-ink); }
.bmb-menu-toggle { display: none; appearance: none; border: 0; background: transparent; font: 800 13px/1 var(--bmb-sans); }

.bmb-hero { min-height: 690px; display: grid; grid-template-columns: 1.02fr .98fr; background: var(--bmb-ink); color: #fff; overflow: hidden; }
.bmb-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 9vw, 135px) clamp(30px, 7vw, 110px); }
.bmb-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--bmb-cherry); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.bmb-kicker::before { width: 26px; height: 3px; background: currentColor; content: ""; }
.bmb-hero h1 { margin: 0; max-width: 700px; font-size: clamp(60px, 7.4vw, 116px); line-height: .88; letter-spacing: -.075em; }
.bmb-hero h1 em { display: block; margin-top: .12em; color: var(--bmb-cherry); font-family: var(--bmb-serif); font-weight: 400; letter-spacing: -.05em; }
.bmb-hero__dek { max-width: 510px; margin: 30px 0 34px; color: #eee7df; font-family: var(--bmb-serif); font-size: clamp(21px, 2vw, 28px); line-height: 1.35; }
.bmb-hero__visual { position: relative; min-height: 520px; }
.bmb-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.bmb-hero__visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,24,23,.38), transparent 34%); content: ""; pointer-events: none; }
.bmb-hero__note { position: absolute; right: 30px; bottom: 30px; z-index: 2; width: min(310px, calc(100% - 60px)); padding: 18px 20px; border: 1px solid rgba(255,255,255,.5); background: rgba(247,242,236,.92); color: var(--bmb-ink); font-family: var(--bmb-serif); font-size: 17px; font-style: italic; transform: rotate(-1.5deg); }

.bmb-section { padding: clamp(72px, 9vw, 126px) 0; }
.bmb-section--paper { background: var(--bmb-paper); }
.bmb-section--dark { background: var(--bmb-ink); color: #fff; }
.bmb-section--lavender { background: var(--bmb-lavender); }
.bmb-section__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.bmb-eyebrow { margin: 0 0 10px; color: var(--bmb-cherry); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.bmb-title { margin: 0; max-width: 760px; font-size: clamp(42px, 5.5vw, 78px); line-height: .96; letter-spacing: -.06em; }
.bmb-title em { font-family: var(--bmb-serif); font-weight: 400; }
.bmb-subcopy { max-width: 500px; margin: 15px 0 0; color: var(--bmb-muted); font-family: var(--bmb-serif); font-size: 20px; }
.bmb-section--dark .bmb-subcopy { color: #cfc7bf; }

.bmb-moods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bmb-mood { position: relative; min-height: 260px; padding: 30px; border: 1px solid var(--bmb-line); border-radius: var(--bmb-radius); background: var(--bmb-paper); text-decoration: none; overflow: hidden; transition: transform .2s ease, background .2s ease, color .2s ease; }
.bmb-mood:nth-child(2) { background: var(--bmb-lavender); }
.bmb-mood:nth-child(3) { background: var(--bmb-cherry); color: #fff; }
.bmb-mood:nth-child(4) { background: var(--bmb-ink); color: #fff; }
.bmb-mood:hover { transform: translateY(-8px) rotate(-.4deg); }
.bmb-mood__num { display: block; margin-bottom: 70px; font-size: 12px; font-weight: 900; letter-spacing: .14em; opacity: .65; }
.bmb-mood strong { display: block; max-width: 190px; font-family: var(--bmb-serif); font-size: 30px; line-height: 1.06; }
.bmb-mood__arrow { position: absolute; right: 24px; bottom: 20px; font-size: 25px; }

.bmb-editorial-grid { display: grid; grid-template-columns: 1.55fr .75fr; grid-template-rows: repeat(2, minmax(220px, auto)); gap: 18px; }
.bmb-card { position: relative; display: flex; min-height: 235px; border-radius: var(--bmb-radius); background: #ece6df; overflow: hidden; text-decoration: none; }
.bmb-card--feature { grid-row: 1 / 3; min-height: 570px; }
.bmb-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.bmb-card:hover img { transform: scale(1.025); }
.bmb-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(25,24,23,.9)); }
.bmb-card__body { position: absolute; inset: auto 0 0; z-index: 2; padding: 30px; color: #fff; }
.bmb-card__tag { display: inline-block; margin-bottom: 10px; color: #ffd7dd; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.bmb-card h3 { margin: 0; font-family: var(--bmb-serif); font-size: clamp(24px, 3vw, 44px); line-height: 1.04; }
.bmb-card--empty { align-items: flex-end; padding: 30px; border: 1px dashed rgba(25,24,23,.28); background: linear-gradient(135deg, #eee5db, var(--bmb-lavender)); }
.bmb-card--empty h3 { margin: 0; font-family: var(--bmb-serif); font-size: 30px; line-height: 1.08; }
.bmb-card--empty p { margin: 8px 0 0; font-size: 14px; }

.bmb-quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.bmb-quick { min-height: 220px; padding: 30px 24px; border-right: 1px solid rgba(255,255,255,.2); text-decoration: none; }
.bmb-quick:last-child { border-right: 0; }
.bmb-quick span { display: block; margin-bottom: 55px; color: var(--bmb-cherry); font-weight: 900; }
.bmb-quick strong { display: block; font-family: var(--bmb-serif); font-size: 24px; line-height: 1.15; }
.bmb-quick:hover { background: var(--bmb-cherry); }
.bmb-quick:hover span { color: #fff; }

.bmb-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.bmb-big-quote { margin: 0; font-family: var(--bmb-serif); font-size: clamp(38px, 5vw, 70px); line-height: 1.02; }
.bmb-big-quote em { color: var(--bmb-cherry); }
.bmb-list { display: grid; gap: 12px; }
.bmb-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(25,24,23,.25); font-weight: 800; text-decoration: none; }
.bmb-list a:hover { color: var(--bmb-cherry); }

.bmb-final-cta { padding: clamp(80px, 12vw, 170px) 20px; background: var(--bmb-cherry); color: #fff; text-align: center; }
.bmb-final-cta p { margin: 0 0 18px; font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.bmb-final-cta h2 { margin: 0 0 35px; font-size: clamp(54px, 9vw, 120px); line-height: .85; letter-spacing: -.075em; }
.bmb-final-cta h2 em { font-family: var(--bmb-serif); font-weight: 400; }

.bmb-article-wrap { padding: clamp(50px, 8vw, 100px) 20px 120px; }
.bmb-article { width: min(800px, 100%); margin-inline: auto; }
.bmb-article__category { color: var(--bmb-cherry); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.bmb-article h1 { margin: 16px 0 20px; font-size: clamp(38px, 4.8vw, 56px); line-height: 1.02; letter-spacing: -.045em; }
.bmb-article__meta { color: var(--bmb-muted); font-size: 14px; }
.bmb-article__hero { margin: 40px -80px 50px; }
.bmb-article__hero img { width: 100%; max-height: 720px; object-fit: cover; border-radius: var(--bmb-radius); }
.bmb-article__body { font-family: var(--bmb-serif); font-size: clamp(18px, 2vw, 20px); line-height: 1.72; }
.bmb-article__body h2, .bmb-article__body h3 { margin-top: 2.2em; font-family: var(--bmb-sans); line-height: 1.08; letter-spacing: -.035em; }
.bmb-article__body h2 { font-size: 38px; }
.bmb-article__body blockquote { margin: 2.2em 0; padding: 10px 0 10px 28px; border-left: 5px solid var(--bmb-cherry); color: #4b4540; font-size: 1.35em; line-height: 1.4; }
.bmb-article__body a { color: #a91e37; }
.bmb-article__body img { border-radius: 16px; }
.bmb-ad { display: grid; place-items: center; min-height: 160px; margin: 54px 0; border-block: 1px solid var(--bmb-line); color: var(--bmb-muted); font-family: var(--bmb-sans); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.bmb-ad--multiplex { min-height: 300px; }
.bmb-related { width: min(1060px, calc(100% - 40px)); margin: 0 auto 120px; }

.bmb-footer { padding: 70px 0 30px; background: var(--bmb-ink); color: #fff; }
.bmb-footer__top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; padding-bottom: 50px; }
.bmb-footer__line { max-width: 560px; margin: 18px 0 0; color: #cfc7bf; font-family: var(--bmb-serif); font-size: 21px; }
.bmb-footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; align-content: start; }
.bmb-footer__links a { text-decoration: none; }
.bmb-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.18); color: #aaa19a; font-size: 12px; }

@media (max-width: 980px) {
  .bmb-menu { display: none; }
  .bmb-nav { justify-content: space-between; }
  .bmb-hero { grid-template-columns: 1fr; }
  .bmb-hero__copy { min-height: 560px; }
  .bmb-hero__visual { min-height: 500px; }
  .bmb-moods { grid-template-columns: repeat(2, 1fr); }
  .bmb-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .bmb-quick { border-bottom: 1px solid rgba(255,255,255,.2); }
  .bmb-quick:last-child { grid-column: 1 / -1; }
  .bmb-article__hero { margin-inline: 0; }
}

@media (max-width: 680px) {
  .admin-bar .bmb-header { top: 46px; }
  .bmb-shell { width: min(100% - 28px, 1240px); }
  .bmb-nav { min-height: 68px; }
  .bmb-logo__bold { font-size: 23px; }
  .bmb-logo__soft { font-size: 19px; }
  .bmb-nav > .bmb-button { min-height: 40px; padding-inline: 13px; font-size: 10px; }
  .bmb-hero { min-height: 0; }
  .bmb-hero__copy { min-height: 500px; padding: 74px 24px 62px; }
  .bmb-hero h1 { font-size: clamp(58px, 19vw, 88px); }
  .bmb-hero__dek { font-size: 21px; }
  .bmb-hero__visual { min-height: 430px; }
  .bmb-hero__note { right: 16px; bottom: 16px; }
  .bmb-section { padding-block: 76px; }
  .bmb-section__head { display: block; }
  .bmb-title { font-size: 47px; }
  .bmb-moods { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .bmb-mood { flex: 0 0 82%; min-height: 235px; scroll-snap-align: start; }
  .bmb-editorial-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bmb-card--feature { grid-row: auto; min-height: 490px; }
  .bmb-card { min-height: 320px; }
  .bmb-quick-grid { grid-template-columns: 1fr; }
  .bmb-quick, .bmb-quick:last-child { grid-column: auto; border-right: 0; }
  .bmb-split { grid-template-columns: 1fr; }
  .bmb-article-wrap { padding-top: 44px; }
  .bmb-article h1 { font-size: 38px; }
  .bmb-article__body h2 { font-size: 32px; }
  .bmb-footer__top { grid-template-columns: 1fr; }
  .bmb-footer__bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Keep the real WordPress Primary Menu reachable on small screens. */
@media (max-width: 760px) {
  .bmb-nav {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    column-gap: 10px;
    row-gap: 0;
    padding-bottom: 0;
  }

  .bmb-nav > nav {
    display: block !important;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    border-top: 1px solid rgba(23, 23, 22, .1);
  }

  .bmb-nav .bmb-menu {
    display: flex !important;
    width: 100%;
    margin: 0;
    padding: 11px 0 12px;
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .bmb-nav .bmb-menu::-webkit-scrollbar { display: none; }
  .bmb-nav .bmb-menu > li { flex: 0 0 auto; scroll-snap-align: start; }
  .bmb-nav .bmb-menu a { display: block; padding: 2px 0; }
}


/* Mobile header placement: brand/action first row, categories second row. */
@media (max-width: 760px) {
  .bmb-nav::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
    width: 38px;
    height: 38px;
  }

  .bmb-nav > .bmb-logo {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
  }

  .bmb-nav > .bmb-button {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  .bmb-nav > nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}


/* Start the overflowing mobile category rail at its first item. */
@media (max-width: 760px) {
  .bmb-nav .bmb-menu { justify-content: flex-start; }
}


/* Accessible header search and visible mobile category scrollbar. */
.bmb-nav-actions { display: flex; align-items: center; gap: 9px; }
.bmb-search { position: relative; }
.bmb-search summary {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px;
  padding: 0 13px; border: 1px solid rgba(23, 23, 22, .18);
  border-radius: 999px; background: #fff; color: var(--bmb-ink);
  cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; list-style: none;
}
.bmb-search summary::-webkit-details-marker { display: none; }
.bmb-search summary svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bmb-search summary:focus-visible { outline: 3px solid var(--bmb-red); outline-offset: 3px; }
.bmb-search__form {
  position: absolute; z-index: 100; top: calc(100% + 12px); right: 0;
  display: grid; grid-template-columns: minmax(190px, 1fr) auto;
  width: min(430px, calc(100vw - 28px)); padding: 12px;
  border: 1px solid rgba(23, 23, 22, .14); border-radius: 16px;
  background: #fff; box-shadow: 0 18px 50px rgba(23, 23, 22, .16);
}
.bmb-search__form input {
  min-width: 0; padding: 12px 13px; border: 1px solid rgba(23, 23, 22, .22);
  border-radius: 10px 0 0 10px; font: inherit;
}
.bmb-search__form button {
  padding: 0 16px; border: 0; border-radius: 0 10px 10px 0;
  background: var(--bmb-ink); color: #fff; font-weight: 800; cursor: pointer;
}
@media (max-width: 760px) {
  .bmb-nav > .bmb-nav-actions { grid-column: 3; grid-row: 1; align-self: center; justify-self: end; }
  .bmb-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bmb-search summary { width: 38px; min-height: 38px; padding: 0; justify-content: center; }
  .bmb-search__form { position: fixed; top: 62px; right: 14px; left: 14px; width: auto; }
  .bmb-nav .bmb-menu { scrollbar-width: thin; scrollbar-color: var(--bmb-red) rgba(23, 23, 22, .08); }
  .bmb-nav .bmb-menu::-webkit-scrollbar { display: block; height: 4px; }
  .bmb-nav .bmb-menu::-webkit-scrollbar-track { background: rgba(23, 23, 22, .08); }
  .bmb-nav .bmb-menu::-webkit-scrollbar-thumb { background: var(--bmb-red); border-radius: 999px; }
}
.bmb-back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 999;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  color: #fff;
  background: #171717;
  box-shadow: 0 10px 28px rgba(23, 23, 23, .2);
  font: 700 25px/1 sans-serif;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease;
}

.bmb-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bmb-back-to-top:hover,
.bmb-back-to-top:focus-visible {
  background: #D8344E;
}

.bmb-back-to-top:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .bmb-back-to-top { transition: none; }
}
