html, body {
  margin: 0;
  padding: 0;
}

:root{
  --pink-pill: rgba(236, 200, 208, 0.55);
  --text-gray: #7c7c7c;
}

body{
  margin:0;
  font-family: Georgia, serif;
  color: var(--text-gray);
  background: #fff;
}

/* HERO */
.hero-home{
  position: relative;
  height: 420px;
  overflow: hidden;
}

/* pink clouds background */
.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  z-index: 0;
}

/* big circular logo on the left */
.hero-logo{
  position:absolute;
  left: 55px;
  top: 38px;
  width: 300px;
  height: 300px;
  object-fit: contain;
  z-index: 2;
  opacity: 0.95;
}

/* title + nav block */
.hero-titleblock{
  position:absolute;
  left: 300px;   /* pushes to right of logo */
  top: 95px;
  z-index: 3;
  max-width: 980px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* left align everything inside */
  text-align: left;
}

/* headline */
.hero-title{
  margin: 0;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #7a7a7a;
}

/* italic tagline */
.hero-tagline{
  margin: 0;
  font-size: 22px;
  font-style: italic;
  color: #8a8a8a;
}

/* pink pill nav bar */
.hero-nav{
  display:flex;
  gap: 42px;
  align-items:center;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--pink-pill);
  width: fit-content;
}

.hero-nav a{
  text-decoration:none;
  font-size: 20px;
  color: #8a8a8a;
}

.hero-nav a.active{
  color:#222;
}

/* Center multi-line nav labels */
.hero-nav a,
.hero-nav .nav-link{
  text-align: center;
  line-height: 1.2;
}

/* Ensure nav items can wrap cleanly */
.hero-nav a,
.hero-nav .nav-link{
  white-space: normal;
}

.hero-nav{
  align-items: center;
}






/* ✅ Allow dropdowns to extend outside the hero/nav area */
.hero,
.hero-home,
.hero-titleblock,
.hero-nav,
.hero-navwrap,
.nav-item{
  overflow: visible !important;
}

/* ✅ Make sure dropdown stacks above everything */
.nav-item.has-dropdown{
  position: relative;
}

.nav-item.has-dropdown .dropdown{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

/* If your hero has a background overlay layer, keep dropdown above it */
.hero-bg{
  z-index: 0;
}
.hero-titleblock,
.hero-navwrap{
  position: relative;
  z-index: 2;
}


/* tighten tagline → nav spacing */
.hero-tagline{
  margin: 6px 0 18px 0;
}



/* Responsive: stack / shrink for smaller screens */
@media (max-width: 950px){
  .hero-home{ height: 520px; }

  .hero-logo{
    left: 24px;
    top: 28px;
    width: 240px;
    height: 240px;
  }

  

  .hero-title{ font-size: 44px; }
  .hero-tagline{ font-size: 18px; }

  .hero-nav{
    gap: 22px;
    flex-wrap: wrap;
    max-width: 520px;
  }
}



.search-overlay[hidden]{
  display: none !important;
}

@media (max-width: 650px){
  .hero-home{ height: 620px; }

  .hero-logo{
    position: relative;
    display:block;
    margin: 24px auto 0 auto;
    left: auto;
    top: auto;
  }

  .hero-titleblock{
    position: relative;
    left: auto;
    top: auto;
    margin: 18px 18px 0 18px;
    text-align: center;
  }

  .hero-nav{
    justify-content: center;
    margin: 18px auto 0 auto;
  }
}

/* SEARCH OVERLAY */
.search-overlay{
  position: fixed;
  inset: 0;
  background: rgba(248, 236, 238, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.search-modal{
  background: #fff;
  width: min(900px, 92%);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  padding: 26px 28px 30px;
}

/* top row */
.search-top{
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-input{
  flex: 1;
  font-size: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(210,180,188,0.6);
}

.search-close{
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* hint */
.search-hint{
  font-size: 14px;
  color: #8a8a8a;
  margin: 10px 0 18px;
}

/* results */
.search-results{
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 60vh;
  overflow-y: auto;
}

.search-item{
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(220,200,205,0.5);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.search-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.search-title{
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.search-sub{
  font-size: 14px;
  color: #7a7a7a;
  margin-top: 4px;
}

.search-loc em{
  font-style: italic;
}

.search-empty{
  color: #8a8a8a;
  font-style: italic;
  padding: 20px;
}


/* ===== Blog Post Styles ===== */
.post-wrap { max-width: 900px; margin: 60px auto; padding: 0 20px; }
.post-back { display:inline-block; margin-bottom: 18px; text-decoration:none; color:#9a9a9a; }
.post-title { margin: 0 0 10px 0; color:#6f6f6f; font-weight: 600; }
.post-meta { margin: 0 0 24px 0; color:#9a9a9a; font-style: italic; }
.post-cover { width: 100%; height: auto; border-radius: 10px; display:block; margin: 0 0 26px 0; }
.post-body { line-height: 1.75; color:#6f6f6f; }
.post-subhead { margin: 36px 0 12px 0; color:#7a7a7a; font-weight: 600; }

/* Carousel */
.carousel { position: relative; }
.car-track{
  display:flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 40px 14px 40px;
}
.car-slide { flex: 0 0 80%; scroll-snap-align: start; }
.car-slide img { width: 100%; height: auto; border-radius: 12px; display:block; }
.car-btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.75);
  cursor: pointer;
}
.car-btn.prev{ left: 6px; }
.car-btn.next{ right: 6px; }
@media (max-width: 720px){
  .car-slide { flex-basis: 92%; }
  .car-track { padding-left: 20px; padding-right: 20px; }
  .car-btn { display:none; }
}

/* Responsive YouTube embeds */
.video-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 18px 0 26px 0;
}
.video-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* ===== BLOG POST STYLES ===== */

.post{
  max-width: 900px;
  margin: 0 auto;
  padding: 34px 18px 70px;
  color: #2a2a2a;
}

.post-top{
  margin-bottom: 16px;
}

.post-back{
  text-decoration: none;
  color: #2b5cc6;
  font-size: 15px;
}

.post-title{
  margin: 0 0 10px 0;
  font-size: 44px;
  line-height: 1.12;
  color: #111;
}

.post-meta{
  margin-bottom: 18px;
  color: #6f6f6f;
  font-size: 14px;
}

.post-meta-line{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.post-dot{
  opacity: 0.6;
}

.post-author{
  margin-top: 6px;
  font-size: 15px;
  color: #4b4b4b;
}

.post-cover{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin: 18px 0 22px;
}

.post-content{
  font-size: 18px;
  line-height: 1.7;
  color: #2a2a2a;
}

.post-content p{
  margin: 0 0 16px 0;
}

.post-content h2,
.post-content h3{
  margin: 26px 0 12px;
  line-height: 1.2;
  color: #111;
}

.post-content blockquote{
  margin: 22px 0;
  padding: 14px 18px;
  border-left: 4px solid rgba(236, 200, 208, 0.85);
  background: rgba(236, 200, 208, 0.22);
  color: #444;
}

.post-content img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 18px auto;
  border-radius: 6px;
}

.post-content a{
  color: #2b5cc6;
}

/* =========================
   BLOG POST (Wix-style card)
   ========================= */

.post-wrap{
  background: #faf7f7;
  padding: 42px 18px 70px;
}

.post-card{
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(220, 200, 205, 0.65);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  padding: 40px 46px;
}

.post-kicker{
  font-size: 14px;
  letter-spacing: 0.2px;
  color: #8a8a8a;
  margin-bottom: 12px;
}

.post-title{
  margin: 0 0 10px 0;
  font-size: 44px;
  font-weight: 600;
  color: #2a2a2a;
  line-height: 1.12;
}

.post-byline{
  margin: 0 0 22px 0;
  font-size: 16px;
  color: #2a2a2a;
  font-weight: 600;
}

/* intro section: text left, image right */
.post-intro{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  margin: 18px 0 26px;
}

.post-intro-text p{
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: #3a3a3a;
}

.post-intro-media{
  border: 1px solid rgba(220, 200, 205, 0.65);
  padding: 10px;
  background: #fff;
}

.post-intro-image{
  width: 100%;
  height: auto;
  display: block;
}

/* main content typography */
.post-content{
  font-size: 18px;
  line-height: 1.8;
  color: #2f2f2f;
}

.post-content p{
  margin: 0 0 18px 0;
}

.post-content img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 22px auto;
}

/* responsive */
@media (max-width: 900px){
  .post-card{
    padding: 26px 22px;
  }
  .post-title{
    font-size: 34px;
  }
  .post-intro{
    grid-template-columns: 1fr;
  }
  .post-intro-media{
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Wix-style floated image inside blog posts */
.post-float-image{
  float: right;
  width: 360px;              /* adjust size here */
  margin: 0 0 20px 28px;     /* space from text */
  border: 1px solid rgba(210,180,188,0.6);
  padding: 10px;
  background: #fff;
}

/* Clear float after post content */
.post-content::after{
  content: "";
  display: block;
  clear: both;
}

/* Mobile: stack image above text */
@media (max-width: 700px){
  .post-float-image{
    float: none;
    width: 100%;
    margin: 0 0 18px 0;
  }
}


/* Category listing pages */
.category-wrap{
  padding: 120px 18px 90px;  /* increased top padding = buffer */
  background: rgba(248, 240, 242, 0.45);
}

/* Category card (title only) */
.category-card{
  max-width: 980px;
  margin: 0 auto 28px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(210, 180, 188, 0.65);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 34px 40px;
}

/* Intro text ABOVE grid */
.category-intro{
  max-width: 980px;          /* matches grid */
  margin: 0 auto 40px;       /* centers the block */
  padding: 0 18px;           /* aligns with cards */

  text-align: left;          /* LEFT aligned text */
  color: #7a7a7a;
  font-size: 14px;
  line-height: 1.25;
}

.category-intro p{
  margin: 0 0 14px 0;
}

.category-title{
  margin: 0 0 6px 0;
  font-size: 44px;
  color: #222;
}
.category-subtitle{
  margin: 0 0 24px 0;
  color: #7a7a7a;
  font-size: 18px;
  line-height: 1.6;
}

.post-list{
  display: grid;
  gap: 18px;
}

/* each post becomes a horizontal row */
.post-row{
  display: flex;
  align-items: center;
  gap: 18px;

  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* square thumbnail */
.post-row-thumb{
  width: 120px;
  height: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}

/* right-side text */
.post-row-body{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.post-row-title{
  font-size: 20px;
  text-decoration: none;
  color: #222;
  line-height: 1.2;
}

.post-row-title:hover{
  text-decoration: underline;
}

.post-row-meta{
  font-size: 14px;
  color: #8a8a8a;
  display:flex;
  gap:10px;
  align-items:center;
}

.post-row-meta .dot{
  opacity: 0.6;
}

.empty{
  color:#8a8a8a;
}

/* mobile tweaks */
@media (max-width: 650px){
  .post-row{
    align-items: flex-start;
  }

  .post-row-thumb{
    width: 96px;
    height: 96px;
  }
}


/* =========================
   Dropdown nav (hover)
   ========================= */

.hero-nav{
  position: relative;
  gap: 42px;
}

/* wrapper for dropdown items */
.nav-item{
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* top-level links + dropdown labels */
.hero-nav > a,
.nav-link{
  font-size: 20px;
  color: #8a8a8a;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
}

/* label-only (no navigation) */
.nav-link{
  cursor: default;
}

/* dropdown panel hidden by default */
.dropdown{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;

  min-width: 260px;
  background: rgba(236, 200, 208, 0.92);
  border: 1px solid rgba(210, 180, 188, 0.65);
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
  border-radius: 14px;
  padding: 10px;
  z-index: 999;
}

/* “hover bridge” so it doesn’t collapse while moving mouse */
.dropdown::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

/* show dropdown on hover/focus */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  display: block;
}

/* dropdown links */
.dropdown a{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #8a8a8a;
  font-size: 18px;
}

.dropdown a:hover{
  color: #222;
  background: rgba(255, 255, 255, 0.45);
}

/* force same type sizing for links + buttons in the pill */
.hero-nav a,
.hero-nav button{
  font-size: 20px;
  line-height: 1;
}

/* Make top-level nav items feel interactive on hover */
.nav-item > a,
.nav-item > button{
  cursor: pointer;
}

/* Optional: subtle hover effect like Wix */
.nav-item > a:hover,
.nav-item > button:hover{
  color: #222;
}


/* About page: wrapped image + caption */
.about-content::after{
  content:"";
  display:block;
  clear: both;
}

.about-media{
  float: right;
  width: 42%;
  max-width: 420px;
  margin: 8px 0 22px 34px;
  text-align: center;
}

.about-photo{
  width: 100%;
  height: auto;
  display: block;
}

.about-caption{
  font-size: 14px;
  color: #8a8a8a;
  line-height: 1.35;
  margin-top: 10px;
}

/* Mobile: stack image above text */
@media (max-width: 768px){
  .about-media{
    float: none;
    width: 100%;
    max-width: none;
    margin: 18px 0 18px 0;
  }
}

/* =========================
   Footer (matches site style)
   ========================= */

.site-footer{
  width: 100%;
  margin-top: 90px;
  font-family: inherit;
}

/* Clouds background spans FULL width */
.site-footer .footer-inner{
  width: 100%;

  /* IMPORTANT: use site-root path so it works on GitHub Pages */
  background-image: url("/assets/pink-clouds.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  border-top: 1px solid rgba(160, 120, 130, 0.25);
}

/* TOP CONTENT */
.footer-top{
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* LOGO — SMALL & SUBTLE */
.footer-logo{
  width: 25px;
  height: auto;
  opacity: 0.45;
}

/* LINKS */
.footer-links{
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #7f7f7f;
}

.footer-links a{
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover{
  color: #555;
  text-decoration: underline;
}

.footer-sep{
  opacity: 0.5;
}

/* MAUVE COPYRIGHT BAR */
.footer-copy{
  max-width: 100%;          
  margin: 0 auto;           
  background: #C6ACB1;
  color: rgba(255,255,255,0.95);

  padding: 10px 24px;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-align: left;
}

/* MOBILE */
@media (max-width: 650px){
  .footer-top{
    flex-direction: column;
    gap: 14px;
  }

  .footer-links{
    font-size: 12px;
  }

  .footer-copy{
    text-align: center;
    font-size: 11px;
  }
}


/* =========================
   Blog Post Styling
   ========================= */

.post-wrap {
  background: #faf6f7;
  padding: 80px 20px;
}

.post-card {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 60px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.post-kicker {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #9a8f92;
  margin-bottom: 14px;
}

.post-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.post-byline {
  font-size: 16px;
  color: #777;
  margin-bottom: 32px;
}

.post-excerpt {
  font-size: 20px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 28px;
}

.post-figure {
  margin: 40px 0;
}

.post-figure img {
  max-width: 100%;
  border-radius: 4px;
}

.post-figure figcaption {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 8px;
}

.post-content {
  font-size: 18px;
  line-height: 1.75;
  color: #333;
}

.post-content p {
  margin-bottom: 22px;
}

.post-content h2 {
  font-size: 28px;
  margin: 48px 0 18px;
}

.post-content h3 {
  font-size: 22px;
  margin: 36px 0 14px;
}

/* =========================
   Category grid (covers + meta)
   ========================= */

.category-page{
  max-width: 980px;
  margin: 0 auto;
}

.category-page h1{
  margin: 0 0 22px 0;
  font-size: 44px;
  color: #222;
}

.post-grid{
  display: grid;

  /* responsive columns instead of fixed 3 */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 22px;

  /* keeps the grid from stretching too wide */
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

.post-grid .post-card{
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(210, 180, 188, 0.65);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.05);
  padding: 0;

.post-grid .post-card{
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-grid .post-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

  /* prevents giant cards */
  max-width: 360px;
  justify-self: center; 
}

/* Square post thumbnails on category pages */
.post-thumb{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.post-grid .post-meta{
  margin: 0;
  padding: 14px 16px 16px;
  font-style: normal; /* override your earlier italic meta */
}

.post-card-title{
  font-size: 18px;
  color: #222;
  font-weight: 600;
  line-height: 1.25;
}

.post-card-sub{
  margin-top: 8px;
  font-size: 13px;
  color: #8a8a8a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-location{
  font-style: italic;
}

.post-card-dot{
  opacity: 0.6;
}

/* responsive */
@media (max-width: 980px){
  .post-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px){
  .post-grid{ grid-template-columns: 1fr; }
  .post-thumb{ height: 220px; }
}


/* =========================
   FORCE buffer under the hero for ALL category pages
   (put this at the VERY END of style.css)
   ========================= */

.category-wrap,
.category-page{
  padding-top: 90px !important;   /* buffer below header */
}

/* if you removed the big H1, this keeps the grid from hugging the top */
.category-wrap .post-grid,
.category-page .post-grid{
  margin-top: 18px !important;
}

.category-wrap,
.category-page{
  margin-top: 0 !important;
  position: relative;
  top: 0 !important;
}

/* Buffer for GRID category pages (Informative-style) */
.category-page{
  max-width: 980px;
  margin: 0 auto;
  padding: 120px 18px 0;   /* buffer below hero + side padding */
}

.category-page .post-grid{
  margin-top: 18px;
}

/* Global buffer between header/hero and page content */
.site-main{
  padding-top: 80px;
}

/* Slide descriptions under carousels */
.slide-notes{
  margin: 24px 0 36px;
  padding: 18px 22px;

  background: rgba(248, 240, 242, 0.55);
  border-left: 3px solid rgba(236, 200, 208, 0.9);

  font-size: 14px;          /* smaller than post body */
  line-height: 1.55;
  color: #6f6f6f;
}

.slide-notes h4{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a8a8a;
}

.slide-notes ul{
  margin: 0;
  padding-left: 18px;
}

.slide-notes li{
  margin-bottom: 8px;
}


.post-sources{
  margin-top: 40px;
  font-size: 13px;
  line-height: 1.55;
  color: #9a9a9a;
}

.post-sources p{
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.post-sources ul{
  margin: 0;
  padding-left: 18px;
}

.post-sources li{
  margin-bottom: 6px;
}

.post-sources a{
  color: #9a9a9a;
  text-decoration: underline;
}

.post-sources a:hover{
  color: #666;
}


/* COMMUNITY UPDATES: horizontal post cards */
.post-feed{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  gap: 26px;
}

.news-card{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;

  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(210, 180, 188, 0.65);
  border-radius: 14px;
  overflow: hidden;
}

.news-card-media{
  width: 260px;
  height: 260px;      /* square */
  background: #f7f1f3;
}

.news-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* right side */
.news-card-body{
  padding: 34px 34px 34px 0;
  min-width: 0;
}

.news-card-date{
  font-size: 16px;
  color: #8a8a8a;
  margin-bottom: 10px;
}

.news-card-title{
  font-size: 20px;
  line-height: 1.05;
  color: #111;
  margin-bottom: 18px;
  font-weight: 700;
}

.news-card-excerpt{
  font-size: 14px;
  line-height: 1.5;
  color: #6f6f6f;
  max-width: 60ch;
}

/* hover */
.news-card:hover{
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* responsive */
@media (max-width: 900px){
  .news-card{
    grid-template-columns: 1fr;
  }

  .news-card-media{
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* keeps square on mobile */
  }

  .news-card-body{
    padding: 20px;
  }

  .news-card-title{
    font-size: 30px;
  }
}


/* =========================
   CATEGORY GRID hover + polish
   ========================= */

.post-grid .post-card{
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.post-grid .post-card:hover{
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: rgba(210, 180, 188, 0.9);
}


/* HOME LAYOUT */
.home-wrap{
  max-width: 1300px;
  margin: 0 auto;
  padding: 32px 24px 80px;  /* smaller top padding */
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 36px;
}

/* LEFT */
.home-left{
  font-size: 14px;
  color: #8a8a8a;
}

.home-section-title{
  font-size: 22px;
  color: #b88c95;
  margin-bottom: 6px;
}

.home-subtext{
  font-style: italic;
  margin-bottom: 24px;
}

.home-links a{
  display: block;
  font-size: 22px;
  color: #9a9a9a;
  text-decoration: none;
  margin-bottom: 10px;
}

.home-links a:hover{
  color: #444;
}

.home-mini-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.home-mini-grid img{
  width: 100%;
  border-radius: 6px;
}

.instagram-block{
  display: block;
  text-decoration: none;
  color: inherit;
}

.instagram-block:hover{
  opacity: 0.95;
}

.instagram-block img{
  pointer-events: none; /* makes whole grid clickable */
}

/* ===== HOME CAROUSEL ===== */

/* --- HOME CAROUSEL (scroll-snap, draggable) --- */
.home-carousel{
 /* outer frame (keeps your beige background + padding) */
.home-carousel-shell{
  background: #eee5dd;
  padding: 26px;
  border-radius: 8px;
  overflow: hidden; /* prevents peek + respects rounded corners */
}

.carousel-meta{
  background: rgba(255, 235, 240, 0.65);
  padding: 18px 20px;
  border-radius: 6px;

  min-height: 180px;   /* 👈 adjust this */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
  /* optional: subtle separation */
  box-shadow: inset 0 0 0 1px rgba(220, 180, 190, 0.25);
}

.carousel-card a{
  text-decoration: none;
  color: inherit;
  display: block;
}
.carousel-card:hover .carousel-title{
  text-decoration: underline;
}

/* actual scroll container (NO padding!) */
.home-carousel{
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* hide scrollbar */
.home-carousel::-webkit-scrollbar{ height: 0; }
.home-carousel{ scrollbar-width: none; }

.home-carousel-track{
  display: flex;
  will-change: transform;
}

/* each slide takes exactly the visible width */
.carousel-card{
  flex: 0 0 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
}

  overflow-x: auto;              /* key: allow manual scroll */
  overflow-y: hidden;
  scroll-snap-type: x mandatory; /* snap slide-by-slide */
  scroll-behavior: smooth;

  -webkit-overflow-scrolling: touch; /* iOS smooth */
}

/* hide scrollbar but keep scroll */
.home-carousel::-webkit-scrollbar{ height: 0; }
.home-carousel{ scrollbar-width: none; } /* Firefox */

/* track becomes the horizontal row */
.home-carousel-track{
  display: flex;
  gap: 0;
}

/* each slide takes full carousel width */
.carousel-card{
  flex: 0 0 100%;
  scroll-snap-align: start;
  box-sizing: border-box;
  margin: 0;
}

/* prevent images from "dragging" ghost */
.carousel-card img{
  width: 100%;
  display: block;
  border-radius: 0px;
  user-drag: none;
  -webkit-user-drag: none;
}



/* RIGHT */
.home-right{
  font-size: 15px;
  color: #7a7a7a;
}

.home-right p{
  margin-bottom: 16px;
}


.resources-note{
  margin: 0 0 22px 0;
  color: #8a8a8a;
  font-size: 14px;
}



/* Community Chats / Resources-style blocks */
.resource-block{
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.8;
  color: #2f2f2f;
}

.resource-note{
  margin-top: 10px;
  color: #7a7a7a;
  font-size: 14px;
  line-height: 1.5;
}

.resource-cta{
  margin: 22px 0 10px;
}

.btn-soft{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(210, 180, 188, 0.65);
  background: rgba(255,255,255,0.85);
  text-decoration: none;
  color: #2a2a2a;
  font-weight: 600;
}

.btn-soft:hover{
  box-shadow: 0 12px 26px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.resource-small{
  margin-top: 12px;
  font-size: 14px;
  color: #7a7a7a;
}












/* ===== HERO: unified left alignment ===== */

.hero-titleblock{
  position: absolute;
  left: 300px;        /* same anchor for everything */
  top: 95px;
  max-width: 980px;

  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 🔑 LEFT */
  text-align: left;
}

/* Title */
.hero-title{
  margin: 0;
}

/* Tagline aligns perfectly under title */
.hero-tagline{
  margin: 6px 0 14px 0;
}

/* Nav + search row */
.hero-navwrap{
  display: inline-flex;    /* NOT full width */
  align-items: center;
  gap: 14px;
}

/* Pink pill starts exactly under title */
.hero-nav{
  margin: 0;
  width: fit-content;
}

/* Search icon sits immediately after About */
.search-toggle{
  margin: 0;
  padding: 6px 8px;
}


/* =========================
   HERO — FINAL (single source of truth)
   ========================= */

.hero-home{
  position: relative;
  height: 420px;
  overflow: hidden;
}

/* keep bg behind everything */
.hero-bg{ z-index: 0; }
.hero-logo{ z-index: 2; }
.hero-titleblock{ z-index: 3; }

/* title + tagline + nav all align to the same left edge */
.hero-titleblock{
  position: absolute;
  left: 380px;     /* adjust if you want it closer/farther from logo */
  top: 95px;
  max-width: 980px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* 🔑 left align */
  text-align: left;
}

/* title */
.hero-title{
  margin: 0;
}

/* tagline: NO extra padding/margin-left */
.hero-tagline{
  margin: 6px 0 14px 0;
  padding: 0;
}

/* nav row sits right under tagline */
.hero-navwrap{
  display: inline-flex;     /* shrink-to-fit */
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

/* nav pill should NOT be centered */
.hero-nav{
  margin: 0;
  width: fit-content;
}

/* search icon sits right after About */
.search-toggle{
  margin: 0;
}




/* ===== SEARCH ICON: top-right of hero ===== */

/* Make hero the positioning context */
.hero-home{
  position: relative;
}

/* Pull search icon out of nav flow */
.hero-home .search-toggle{
  position: fixed !important;   
  top: 18px;
  right: 22px;
  
  z-index: 10000;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
}

/* Optional: hover polish */
.hero-home .search-toggle:hover{
  background: rgba(255,255,255,0.85);
}




/* ===== DROPDOWN HOVER BUFFER (prevents flicker) ===== */

/* make the dropdown feel "connected" to the top item */
.nav-item.has-dropdown .dropdown{
  top: calc(100% + 6px) !important;  /* small gap */
}

/* invisible bridge between nav item and dropdown */
.nav-item.has-dropdown .dropdown::before{
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: -20px;        /* bridge height */
  height: 20px;
  background: transparent;
}















/* =======================================================
   MOBILE: home order + hide IG grid + smaller type + wider margins
   ======================================================= */

@media (max-width: 900px){

  /* ---------- HOME: order + hide instagram grid ---------- */
  .home-wrap{
    grid-template-columns: 1fr !important;
    gap: 26px !important;

    /* wider side margins on mobile */
    padding: 22px 22px 70px !important;
  }

  /* order: carousel first, then connect, then share */
  .home-center{ order: 1 !important; }
  .home-left{ order: 2 !important; }
  .home-right{ order: 3 !important; }

  /* hide the "Follow" section + instagram mini grid entirely */
  .home-left .home-section-title + .home-mini-grid,
  .home-mini-grid{
    display: none !important;
  }

  /* also hide the "Follow" heading itself (the second title in left column) */
  .home-left h3.home-section-title:nth-of-type(2){
    display: none !important;
  }

  /* optional: tighten Connect area so it feels intentional */
  .home-left .home-links a{
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .home-subtext{
    margin-bottom: 16px !important;
    font-size: 13px !important;
  }

  /* ---------- HOME CAROUSEL: keep it clean on mobile ---------- */
  .home-carousel-shell{
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .carousel-title{ font-size: 20px !important; }
  .carousel-excerpt{ font-size: 13px !important; }
  .carousel-date{ font-size: 12px !important; }

  /* ---------- POSTS: smaller text + wider margins ---------- */
  /* for your Wix-style post pages */
  .post-wrap{
    padding: 78px 24px !important;   /* wider side margins */
  }

  .post-card{
    padding: 26px 22px !important;
  }

  .post-title{
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  .post-byline,
  .post-kicker{
    font-size: 13px !important;
  }

  .post-content{
    font-size: 16px !important;
    line-height: 1.75 !important;
  }

  /* for category/list pages too (if needed) */
  .category-wrap{
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .category-card{
    padding: 24px 22px !important;
  }

  .category-title{
    font-size: 34px !important;
  }

  .category-subtitle{
    font-size: 16px !important;
  }

  /* ---------- HEADER: make logo + text smaller so it fits ---------- */
  .hero-logo{
    width: 200px !important;
    height: 200px !important;
    margin-top: 18px !important;
  }

  .hero-title{
    font-size: 38px !important;
  }

  .hero-tagline{
    font-size: 16px !important;
  }

  .hero-nav a,
  .hero-nav button{
    font-size: 17px !important;
  }
}

/* extra small phones */
@media (max-width: 520px){

  /* even wider breathing room */
  .home-wrap{
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .hero-logo{
    width: 175px !important;
    height: 175px !important;
  }

  .hero-title{
    font-size: 32px !important;
  }

  .hero-tagline{
    font-size: 15px !important;
  }

  .post-title{
    font-size: 26px !important;
  }

  .post-content{
    font-size: 15px !important;
  }
}


/* =========================================
   MOBILE: narrower margins (override)
   ========================================= */

@media (max-width: 900px){

  /* HOME PAGE */
  .home-wrap{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* BLOG POSTS */
  .post-wrap{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .post-card{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* CATEGORY / GRID PAGES */
  .category-wrap,
  .category-page{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .category-card{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* EXTRA SMALL PHONES */
@media (max-width: 520px){

  .home-wrap,
  .post-wrap,
  .category-wrap,
  .category-page{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .post-card,
  .category-card{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}


.title-link{
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.title-link:hover,
.title-link:focus{
  text-decoration: none;
  color: inherit;
  outline: none;
}




/* =========================
   MOBILE HOME + HEADER FIXES
   Paste at VERY BOTTOM
   ========================= */

@media (max-width: 650px){

  /* ---------- HEADER / HERO (smaller + cleaner on mobile) ---------- */
  .hero-home{
    height: auto !important;
    min-height: 0 !important;
    padding: 18px 14px 22px !important;  /* narrower margins */
    overflow: hidden; /* keep clouds tidy */
  }

  .hero-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-logo{
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 150px !important;
    height: 150px !important;
    margin: 6px auto 10px auto !important;
    display: block;
  }

  .hero-titleblock{
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;   /* center on mobile */
    text-align: center !important;
  }

  .hero-title{
    font-size: 30px !important;
    line-height: 1.08 !important;
    margin: 0 !important;
  }

  .hero-tagline{
    font-size: 14px !important;
    margin: 6px 0 12px 0 !important;
  }

  /* nav wraps smaller */
  .hero-navwrap{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-nav{
    gap: 18px !important;
    padding: 10px 16px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .hero-nav a,
  .hero-nav button{
    font-size: 16px !important;
  }




  .hero-nav{
  max-width: 100% !important;
  width: 100% !important;            /* allow it to fit screen */
  box-sizing: border-box !important;
}

.hero-navwrap{
  max-width: 100% !important;
}



  

  /* keep search visible but not huge */
  .search-toggle{
    font-size: 14px !important;
    padding: 6px 8px !important;
  }


  /* ---------- HOME PAGE ORDER: carousel -> connect -> share ---------- */
  @media (max-width: 900px){
  .home-wrap{
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    padding: 18px 14px 40px !important;  /* narrower margins */
    max-width: 100% !important;
  }

  .home-center{ order: 1 !important; }
  .home-left{ order: 2 !important; }
  .home-right{ order: 3 !important; }

  /* hide the Instagram mini grid + the "Follow" heading */
  .home-left .home-section-title:nth-of-type(2){
    display: none !important;
  }
  .home-mini-grid{
    display: none !important;
  }

  /* make the Connect links a bit tighter */
  .home-links a{
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }


  /* ---------- HOME CAROUSEL: keep it clean on mobile ---------- */
  @media (max-width: 900px){
  .home-carousel-shell{
    padding: 16px !important;
    border-radius: 10px !important;
  }

  .carousel-title{ font-size: 18px !important; }
  .carousel-excerpt{ font-size: 13px !important; }


  /* ---------- BLOG POSTS: smaller text + narrower margins ---------- */
  @media (max-width: 900px){
  .post-wrap{
    padding: 44px 14px !important; /* narrower side padding */
  }

  .post-card{
    padding: 24px 18px !important;
  }

  .post-title{
    font-size: 28px !important;
  }

  .post-content{
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  /* if you’re using the “wix-style card” intro layout, stack it */
  .post-intro{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}


@media (max-width: 900px){
/* Prevent mobile horizontal overflow (fixes left-shift look) */
html, body{
  width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after{
  box-sizing: border-box;
}

/* Common offenders */
img, svg, video{
  max-width: 100%;
  height: auto;
}








/* =========================================================
   MOBILE ONLY: Equal-height carousel cards (FIX)
   ========================================================= */

@media (max-width: 650px){

  /* 1) Make track stretch slides */
  .home-carousel-track,
  .car-track{
    align-items: stretch !important;
  }

  /* 2) Force each slide/card to same height */
  .carousel-card,
  .car-slide{
    display: flex !important;
    flex-direction: column !important;
    height: 600px !important;      /* 🔧 adjust if needed */
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* 3) Anchor clickable wrapper to full height */
  .carousel-card > a,
  .car-slide > a{
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  /* 4) Lock image height so it can’t change card height */
  .carousel-card img,
  .car-slide img{
    width: 100% !important;
    height: 320px !important;      /* 🔧 image height */
    object-fit: cover !important;
    flex: 0 0 320px !important;
    display: block !important;
  }

  /* 5) Text container fills remaining space */
  .carousel-meta{
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  /* 6) Clamp long titles/excerpts so height stays equal */
  .carousel-title{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  .carousel-excerpt{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
  }
}

  

/* =========================================================
   MOBILE ONLY: force identical carousel text-box height
   ========================================================= */
@media (max-width: 650px){

  /* Make all slides equal height */
  .home-carousel-track{
    align-items: stretch !important;
  }

  .carousel-card{
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
  }

  /* ✅ Lock the pink text area to the SAME height */
  .carousel-meta{
    height: 240px !important;     /* 🔧 adjust: 190–240 */
    min-height: 240px !important;
    max-height: 240px !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
  }

  /* Clamp title + excerpt so they can't expand the box */
  .carousel-title{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  .carousel-excerpt{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
    overflow: hidden !important;
  }

  /* Optional: keep date from wrapping weirdly */
  .carousel-date{
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}


















  /* ============================
   MOBILE: tighten space after header
   ============================ */
@media (max-width: 650px){

  /* Kill global top buffer on mobile */
  .site-main{
    padding-top: 28px !important;
  }

  /* Pull first section closer to hero */
  .home-wrap,
  .post-wrap,
  .category-wrap,
  .category-page{
    margin-top: 0 !important;
    padding-top: 28px !important;  /* was much larger */
  }
}

/* ============================
   MOBILE: tighten space before footer
   ============================ */
@media (max-width: 650px){

  /* Reduce bottom padding on last sections */
  .home-wrap,
  .post-wrap,
  .category-wrap{
    padding-bottom: 28px !important;
  }

  /* Remove extra margin before footer */
  .site-footer{
    margin-top: 20px !important;
  }
}





/* =========================================================
   GRID & LIST PAGES: add breathing room under header
   ========================================================= */
@media (max-width: 650px){

.category-wrap,
.category-page,
.post-list,
.post-grid {
  margin-top: 18px !important;   /* small white gap */
}


/* =========================================================
   MOBILE ONLY: uniform post grid & list cards
   ========================================================= */

@media (max-width: 650px){

  /* Make grid/list items stretch evenly */
  .post-grid,
  .post-list {
    align-items: stretch !important;
  }

  /* Force every card to same height */
  .post-card,
  .post-row {
    display: flex !important;
    flex-direction: column !important;
    height: 420px !important;     /* 🔧 adjust if needed */
    overflow: hidden !important;
  }

  /* Lock image to perfect square */
  .post-thumb,
  .post-row-thumb,
  .post-card img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    flex: 0 0 auto !important;
  }

  /* Text container fills remaining space */
  .post-meta,
  .post-row-body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  /* Clamp titles so height stays equal */
  .post-card-title,
  .post-row-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  /* Clamp subtitles/excerpts */
  .post-card-sub,
  .post-row-meta {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }
}









/* =========================================================
   MOBILE: dropdown width fits its content (no giant boxes)
   ========================================================= */
@media (max-width: 650px){

  /* Beat older rules by using higher specificity */
  .hero-home .hero-nav .nav-item.has-dropdown > .dropdown{
    /* remove desktop sizing */
    min-width: unset !important;          /* overrides min-width:260px */
    width: fit-content !important;        /* shrink to content */
    max-width: calc(100vw - 24px) !important;

    /* stop centering trick that pushes off-screen */
    left: 0 !important;
    right: auto !important;
    transform: none !important;

    /* keep items from wrapping (so box stays tight) */
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .hero-home .hero-nav .nav-item.has-dropdown > .dropdown a{
    white-space: nowrap !important;
  }

  /* If a dropdown is near the right edge (like About), pin it to the right */
  .hero-home .hero-nav .nav-item.has-dropdown:last-child > .dropdown{
    left: auto !important;
    right: 0 !important;
  }
}

/* =========================================================
   MOBILE ONLY: force dropdown to center and stay on-screen
   (put at VERY BOTTOM)
   ========================================================= */
@media (max-width: 650px){

  /* target ONLY the header dropdowns */
  header .hero-nav .nav-item.has-dropdown{
    position: relative !important;
  }

  header .hero-nav .nav-item.has-dropdown > .dropdown{
    /* override the desktop dropdown sizing */
    min-width: 0 !important;
    width: max-content !important;          /* shrink to text */
    max-width: calc(100vw - 24px) !important;

    /* force centering */
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;

    /* keep content from forcing extra width */
    white-space: normal !important;
    box-sizing: border-box !important;
    text-align: center !important;

    /* optional: make it feel less huge */
    padding: 10px 12px !important;
  }

  header .hero-nav .nav-item.has-dropdown > .dropdown a{
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }
}


  




/* =========================================================
   MOBILE ONLY: smaller text in search overlay
   ========================================================= */
@media (max-width: 650px){

  /* Search input text */
  .search-input{
    font-size: 15px !important;
    padding: 12px 14px !important;
  }

  /* Result titles */
  .search-title{
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  /* Result subtitles / locations */
  .search-sub{
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  /* Hint text */
  .search-hint{
    font-size: 10px !important;
  }

  /* Each result card padding */
  .search-item{
    padding: 12px 14px !important;
  }

  /* Close (×) button */
  .search-close{
    font-size: 24px !important;
  }
}



/* =========================================================
   MOBILE ONLY: STOP posts from getting clipped/cut off
   (paste at VERY bottom)
   ========================================================= */
@media (max-width: 650px){

  /* allow the main page area to grow */
  .site-main,
  .post-wrap,
  .post-card,
  .post,
  .post-content,
  .post-body{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* if any parent section was trapping height */
  main,
  article,
  section{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* images inside posts shouldn’t force weird cropping */
  .post-cover,
  .post-content img{
    max-width: 100% !important;
    height: auto !important;
  }
}










/* =========================
   Category grid (covers + meta)
   ========================= */

.post-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

.post-grid .post-card{
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(210, 180, 188, 0.65);
  border-radius: 14px;
  overflow: hidden;            /* fine for grid cards */
  padding: 0;
  max-width: 360px;
  justify-self: center;

  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-grid .post-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: rgba(210, 180, 188, 0.9);
}

/* Square post thumbnails on category pages */
.post-thumb{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.post-grid .post-meta{
  margin: 0;
  padding: 14px 16px 16px;
  font-style: normal;
}

.post-card-title{
  font-size: 18px;
  color: #222;
  font-weight: 600;
  line-height: 1.25;
}

.post-card-sub{
  margin-top: 8px;
  font-size: 13px;
  color: #8a8a8a;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 980px){
  .post-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px){
  .post-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   MOBILE: Never clip real post pages
   ========================================================= */
@media (max-width: 650px){

  /* your actual post page wrapper */
  .post-wrap .post-card{
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  .post-content{
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }
}





/* =========================================
   MOBILE FINAL OVERRIDE: center dropdowns
   ========================================= */
@media (max-width: 650px){

  /* anchor point */
  .hero-nav .nav-item.has-dropdown{
    position: relative !important;
  }

  /* force the dropdown to center under the nav item */
  .hero-nav .nav-item.has-dropdown > .dropdown{
    position: absolute !important;
    top: calc(100% + 10px) !important;

    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;

    width: max-content !important;              /* fit text */
    max-width: calc(100vw - 24px) !important;   /* never off screen */
    min-width: 0 !important;

    white-space: normal !important;
    box-sizing: border-box !important;
  }

  /* wrapping for long link text */
  .hero-nav .nav-item.has-dropdown > .dropdown a{
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}
