/* Monday Counseling — shared stylesheet */

/* Pages without a context-bar need this on <main> to clear the fixed nav */
.main-no-banner { margin-top: 140px; }
@media (max-width: 768px) { .main-no-banner { margin-top: 82px; } }

/* resources.html page-wrap */
.page-wrap { max-width: 720px; margin: 0 auto; padding: 4.5rem 2rem 5rem; }

    @font-face {
      font-family: 'Literaturnaya';
      src: url('literaturnayaplain.woff2') format('woff2'), url('literaturnayaplain.ttf') format('truetype'), url('literaturnaya_plain.otf') format('opentype');
      font-weight: 300 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Literaturnaya';
      src: url('literaturnayabold.woff2') format('woff2'), url('literaturnayabold.ttf') format('truetype');
      font-weight: 600 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Literaturnaya';
      src: url('literaturnayaitalic.woff2') format('woff2'), url('literaturnayaitalic.ttf') format('truetype');
      font-weight: 300 400;
      font-style: italic;
      font-display: swap;
    }
    @font-face {
      font-family: 'Literaturnaya';
      src: url('literaturnayabolditalic.woff2') format('woff2'), url('literaturnayabolditalic.ttf') format('truetype');
      font-weight: 600 700;
      font-style: italic;
      font-display: swap;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --earth:       #513229;
      --earth-deep:  #3a2218;
      --earth-mid:   #6b4035;
      --lucky:       #F4F1E2;
      --lucky-dark:  #EAE6D0;
      --bay:         #FCE6B7;
      --bay-mid:     #f5d48a;
      --vinnie:      #D7D4B1;
      --terra:       #C4846A;
      --muted:       #5E5C4A;
      --white:       #FFFFFF;
    }
    html { scroll-behavior: smooth; scroll-padding-top: 140px; }
    body { font-family: 'Work Sans', sans-serif; background: var(--lucky); color: var(--earth); overflow-x: hidden; }

    /* NAV */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      height: 140px; overflow: hidden; padding: 0 1.5rem 0 1.5rem;
      background: rgba(244,241,226,0.96); backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(81,50,41,0.1);
    }
    .nav-logo { display: flex; align-items: center; text-decoration: none; }
    .nav-logo-img { height: 120px; width: auto; display: block; }
    .nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
    .nav-links a { font-family: 'Work Sans', sans-serif; font-size: 0.85rem; font-weight: 400; letter-spacing: 0.03em; color: var(--muted); text-decoration: none; transition: color 0.2s; position: relative; }
    .nav-links a:hover { color: var(--earth); }
    .nav-links a:not(.nav-cta)::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: currentColor; transition: width 0.3s ease; }
    .nav-links a:not(.nav-cta):hover::after { width: 100%; }
    .nav-cta { background: var(--earth) !important; color: var(--lucky) !important; padding: 0.6rem 1.4rem; border-radius: 2rem; font-size: 0.82rem !important; font-weight: 500 !important; }
    .nav-cta:hover { background: var(--earth-deep) !important; }
    .hamburger {
      display: none; background: none; border: none; cursor: pointer;
      padding: 0.5rem; flex-direction: column; gap: 5px; z-index: 400;
    }
    .hamburger span {
      display: block; width: 22px; height: 2px; background: var(--earth);
      border-radius: 2px; transition: all 0.3s ease;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-menu {
      position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 300;
      background: var(--lucky); display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    }
    .mobile-menu.open { opacity: 1; pointer-events: auto; }
    .mobile-menu-links {
      list-style: none; text-align: center;
      display: flex; flex-direction: column; gap: 1.8rem;
    }
    .mobile-menu-links a {
      font-family: 'Literaturnaya', serif; font-style: italic; font-weight: 300;
      font-size: 1.6rem; color: var(--earth); text-decoration: none;
      transition: color 0.2s;
    }
    .mobile-menu-links a:hover { color: var(--terra); }
    .mobile-menu-cta {
      display: inline-block !important; background: var(--earth) !important; color: var(--lucky) !important;
      font-family: 'Work Sans', sans-serif !important; font-style: normal !important;
      font-size: 0.9rem !important; font-weight: 500 !important;
      padding: 0.8rem 2rem; border-radius: 2rem; margin-top: 0.5rem;
    }
    .mobile-menu-close {
      position: absolute; top: 1.4rem; right: 1.5rem;
      background: none; border: none; cursor: pointer;
      display: flex; flex-direction: column; gap: 5px; padding: 0.5rem; z-index: 10;
    }
    .mobile-menu-close span {
      display: block; width: 22px; height: 2px; background: var(--earth);
      border-radius: 2px; transition: all 0.3s ease;
    }
    .mobile-menu-close span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu-close span:nth-child(2) { transform: translateY(-0px) rotate(-45deg); }

    /* ARTICLE LAYOUT */
    .article-wrap {
      max-width: 720px;
      margin: 0 auto;
      padding: 4.5rem 2rem 5rem;
    }
    .blog-back {
      display: inline-flex; align-items: center; gap: 0.4rem;
      font-family: 'Work Sans', sans-serif; font-size: 0.82rem; font-weight: 500;
      color: var(--muted); text-decoration: none; letter-spacing: 0.02em;
      margin-bottom: 2.5rem;
      transition: color 0.2s;
    }
    .blog-back:hover { color: var(--earth); }
    .blog-date {
      font-family: 'Work Sans', sans-serif; font-size: 0.82rem; font-weight: 500;
      letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra);
      margin-bottom: 1rem;
    }
    .blog-title {
      font-family: 'Literaturnaya', serif; font-weight: 300;
      font-size: clamp(2.2rem, 5vw, 3.2rem);
      letter-spacing: -0.03em; line-height: 1.15; color: var(--earth);
      margin-bottom: 2.5rem;
    }
    .blog-body { font-family: 'Work Sans', sans-serif; font-size: 1.05rem; line-height: 1.85; color: var(--muted); font-weight: 300; }
    .blog-body a { color: var(--earth-mid); text-decoration: underline; text-underline-offset: 3px; }
    .blog-body a:hover { color: var(--earth); }
    .blog-body p { margin-bottom: 1.3rem; }
    .blog-body h2 {
      font-family: 'Literaturnaya', serif; font-weight: 300;
      font-size: clamp(1.5rem, 3vw, 2rem);
      color: var(--earth); margin: 2.8rem 0 1rem;
      line-height: 1.2;
    }
    .blog-body h3 {
      font-family: 'Work Sans', sans-serif; font-size: 0.85rem;
      font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--terra); margin: 2rem 0 0.8rem;
    }
    .blog-body ul { list-style: none; margin: 0.5rem 0 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
    .blog-body ul li { position: relative; padding-left: 1.4rem; }
    .blog-body ul li::before {
      content: ''; width: 7px; height: 7px; border-radius: 50%;
      background: var(--terra); flex-shrink: 0; margin-top: 0.6rem;
    }
    .blog-body strong { font-weight: 600; color: var(--earth); }
    .blog-body em { font-family: 'Literaturnaya', serif; font-style: italic; font-size: 1.05em; color: var(--earth-mid); }
    .faq-item { margin-bottom: 1.8rem; }
    .faq-question { font-weight: 600 !important; color: var(--earth) !important; margin-bottom: 0.4rem !important; }

    .divider-thin { height: 1px; background: rgba(81,50,41,0.1); margin: 3rem 0; }

    .blog-cta {
      background: var(--earth); border-radius: 14px;
      padding: 2.5rem; margin: 3rem 0 2rem;
      text-align: center;
    }
    .blog-cta p { font-family: 'Literaturnaya', serif; font-style: italic; font-size: 1.15rem; color: var(--bay); margin-bottom: 1.2rem; font-weight: 300; }
    .blog-cta a {
      display: inline-block; background: var(--bay); color: var(--earth);
      padding: 0.85rem 2rem; border-radius: 2rem;
      font-family: 'Work Sans', sans-serif; font-size: 0.84rem; font-weight: 500;
      text-decoration: none; transition: background 0.2s;
    }
    .blog-cta a:hover { background: var(--bay-mid); }

    .blog-author {
      background: var(--lucky-dark); border-radius: 12px;
      padding: 1.8rem; margin-bottom: 2rem;
      font-family: 'Work Sans', sans-serif; font-size: 0.9rem;
      line-height: 1.7; color: var(--muted);
    }
    .blog-author strong { color: var(--earth); font-weight: 600; }

    .blog-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 4rem; }
    .blog-tag {
      font-family: 'Work Sans', sans-serif; font-size: 0.8rem; font-weight: 500;
      letter-spacing: 0.06em; color: var(--muted);
      background: var(--lucky-dark); border-radius: 2rem;
      padding: 0.35rem 0.9rem; border: 1px solid rgba(81,50,41,0.1);
    }


    /* related posts */
    /* Break related posts out of the article-wrap max-width */
    .related-posts {
      margin-top: 4rem;
      padding-top: 3rem;
      border-top: 1px solid rgba(81,50,41,0.12);
      width: 100vw;
      position: relative;
      left: 50%;
      margin-left: -50vw;
      padding-left: 3rem;
      padding-right: 3rem;
      box-sizing: border-box;
    }
    .related-posts h3 { font-family: 'Literaturnaya', serif; font-weight: 300; font-size: 1.1rem; color: var(--earth); margin-bottom: 2rem; letter-spacing: 0.01em; }
    .related-posts h3 em { font-style: italic; }
    .related-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; max-width: 1200px; margin: 0 auto; }
    .related-card {
      flex: 0 1 calc(25% - 0.9rem);
      min-width: 200px;
      display: flex; flex-direction: column; gap: 0.6rem;
      padding: 1.6rem; background: var(--lucky-dark, #f5f1e3); border-radius: 10px;
      border: 1px solid rgba(81,50,41,0.1); text-decoration: none;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .related-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(81,50,41,0.1); }
    .related-card-tag { font-family: 'Work Sans', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); }
    .related-card h4 { font-family: 'Literaturnaya', serif; font-weight: 300; font-size: 1rem; line-height: 1.4; color: var(--earth); margin: 0; }
    .related-card p { font-family: 'Work Sans', sans-serif; font-size: 0.85rem; line-height: 1.65; color: var(--muted); font-weight: 300; flex: 1; margin: 0; }
    .related-card-read { font-family: 'Work Sans', sans-serif; font-size: 0.8rem; font-weight: 500; color: var(--terra); }
    @media (max-width: 900px) { .related-card { flex: 0 1 calc(50% - 0.6rem); } }
    @media (max-width: 480px) { .related-card { flex: 0 1 100%; } }
    @media (max-width: 768px) { .related-posts { padding-left: 1.4rem; padding-right: 1.4rem; } }

    /* FOOTER */
    footer { background: var(--earth-deep); color: var(--lucky); padding: 2.5rem 3rem; }
    .footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; max-width: 1100px; margin: 0 auto 2.5rem; }
    .footer-logo { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 1rem; }
    .footer-logo-script { font-family: 'Literaturnaya', serif; font-style: italic; font-size: 1.4rem; font-weight: 400; color: var(--bay); }
    .footer-logo-word { font-family: 'Work Sans', sans-serif; font-size: 0.88rem; color: rgba(244,241,226,0.55); }
    .footer-desc { font-family: 'Work Sans', sans-serif; font-size: 0.88rem; line-height: 1.7; color: rgba(244,241,226,0.55); margin-bottom: 1.2rem; }
    .footer-contact { display: flex; flex-direction: column; gap: 0.4rem; }
    .footer-contact a { font-family: 'Work Sans', sans-serif; font-size: 0.86rem; color: rgba(244,241,226,0.6); text-decoration: none; transition: color 0.2s; }
    .footer-contact a:hover { color: var(--bay); }
    .footer-col-title { font-family: 'Work Sans', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,241,226,0.4); margin-bottom: 1.1rem; }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
    .footer-links a { font-family: 'Work Sans', sans-serif; font-size: 0.86rem; color: rgba(244,241,226,0.6); text-decoration: none; transition: color 0.2s; }
    .footer-links a:hover { color: var(--bay); }
    .footer-hours { font-family: 'Work Sans', sans-serif; font-size: 0.86rem; line-height: 1.8; color: rgba(244,241,226,0.6); }
    .footer-bottom { border-top: 1px solid rgba(244,241,226,0.1); padding-top: 1.2rem; max-width: 1100px; margin: 0 auto; font-family: 'Work Sans', sans-serif; font-size: 0.85rem; color: rgba(244,241,226,0.3); }

    /* MOBILE */
    @media (max-width: 768px) {
      nav { padding: 0.2rem 1.5rem; height: 82px; }
      .nav-logo-img { height: 70px; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .article-wrap { padding: 3.5rem 1.4rem 4rem; }
      .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
      footer { padding: 2rem 1.4rem; }
    }

    /* ACCESSIBILITY: Focus styles */
    :focus-visible {
      outline: 2px solid var(--earth);
      outline-offset: 3px;
      border-radius: 2px;
    }
    .skip-link {
      position: absolute; top: -100%; left: 1rem;
      background: var(--earth); color: var(--lucky);
      padding: 0.6rem 1.2rem; border-radius: 0 0 6px 6px;
      font-family: 'Work Sans', sans-serif; font-size: 0.85rem; font-weight: 500;
      text-decoration: none; z-index: 9999;
      transition: top 0.2s;
    }
    .skip-link:focus { top: 0; }
  
    /* scroll reveal */
    .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
  
    nav { transition: transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease; }
    nav.nav-scrolled { background: rgba(244,241,226,1); box-shadow: 0 2px 16px rgba(81,50,41,0.09); }
    /* ── CONTEXT BAR ── */
    .context-bar {
      margin-top: 140px;
      background: var(--earth);
      padding: 0.65rem 2rem;
      text-align: center;
      border-bottom: 1px solid rgba(81,50,41,0.2);
    }
    .context-bar p {
      font-family: 'Work Sans', sans-serif;
      font-size: 0.85rem; font-weight: 400;
      letter-spacing: 0.08em;
      color: rgba(244,241,226,0.72);
    }
    .context-bar p em {
      font-family: 'Literaturnaya', serif; font-style: italic;
      font-size: 0.9rem; color: var(--bay); font-weight: 300;
    }
    .banner-book-link {
      text-decoration: none; color: inherit; transition: opacity 0.2s;
    }
    .banner-book-link:hover { opacity: 0.8; }
    .banner-book-link em {
      border-bottom: 1px solid rgba(252,230,183,0.35);
    }
    @media (max-width: 768px) {
      .context-bar { margin-top: 82px; padding: 0.65rem 1.2rem; }
    }

    nav.nav-hidden { transform: translateY(-100%); }
      .footer-stamp { height: 150px !important; width: 150px !important; border-radius: 50%; object-fit: cover; display: block; margin-bottom: 0.75rem; }
  
    /* AUTHOR BYLINE */
    .blog-byline {
      font-family: 'Work Sans', sans-serif;
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 1.4rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      flex-wrap: wrap;
    }
    .blog-byline .byline-sep { color: var(--terra); opacity: 0.5; }
    .blog-byline a {
      color: var(--terra);
      text-decoration: none;
      border-bottom: 1px solid rgba(196,132,106,0.4);
      padding-bottom: 1px;
      transition: border-color 0.2s, color 0.2s;
    }
    .blog-byline a:hover { color: var(--earth); border-color: var(--earth); }

    /* LEAD PARAGRAPH */
    .article-intro {
      font-size: 1.15rem !important;
      line-height: 1.82 !important;
      color: var(--earth-mid) !important;
      font-weight: 400 !important;
      margin-bottom: 2rem !important;
    }

