/* Vacation Thyme shared styles: content-pages. Edit here, not in the HTML files. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --sand: #FAFAF8;
    --sand-dark: #F0EFEB;
    --sea: #244B48;
    --sea-light: #3A7A76;
    --sea-pale: #EEF5F4;
    --shore: #B8845A;
    --shore-dark: #8E6038;
    --btn: #244B48;
    --btn-dark: #1A3835;
    --dusk: #1A3330;
    --text: #1A2E2B;
    --text-muted: #657A77;
    --white: #FFFFFF;
    --accent: #C4956A;
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }

  /* NAV */

  body { padding-top: 62px; }

  /* BLOG HEADER */
  .blog-wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
  .blog-head { padding: 3.5rem 0 2rem; }
  .eyebrow { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sea); font-weight: 500; margin-bottom: 1.2rem; }
  .blog-head h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 400; color: var(--dusk); line-height: 1.05; margin-bottom: 1.2rem; }
  .blog-head p { font-size: 1rem; color: var(--text); line-height: 1.6; max-width: 460px; }

  /* FILTERS */
  .filters { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 1rem 0 2rem; border-bottom: 1px solid rgba(26,51,48,0.12); }
  .chip { padding: 0.45rem 1rem; border-radius: 30px; border: 1px solid rgba(26,51,48,0.2); background: none; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; color: var(--text); cursor: pointer; transition: all 0.2s; }
  .chip:hover { border-color: var(--sea); }
  .chip.active { background: var(--sea); border-color: var(--sea); color: var(--white); }

  /* FEATURED */
  .featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; padding: 3rem 0; border-bottom: 1px solid rgba(26,51,48,0.12); text-decoration: none; color: inherit; }
  .featured .card-img { aspect-ratio: 5 / 4; border-radius: 14px; }
  .featured h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 400; color: var(--dusk); line-height: 1.1; margin-bottom: 1rem; }
  .featured p { font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.2rem; }
  .read-link { font-size: 0.8rem; font-weight: 500; color: var(--dusk); }

  /* GRID */
  .post-cat { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sea); font-weight: 500; margin-bottom: 0.6rem; }
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 3rem 0 5rem; }
  .post-card { text-decoration: none; color: inherit; display: block; }
  .post-card .card-img { aspect-ratio: 4 / 3; border-radius: 14px; margin-bottom: 1rem; transition: opacity 0.2s; }
  .post-card:hover .card-img { opacity: 0.88; }
  .post-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 500; color: var(--dusk); line-height: 1.2; margin-bottom: 0.6rem; }
  .post-card p { font-size: 0.83rem; color: var(--text); line-height: 1.5; }
  .img-teal { background: linear-gradient(135deg, #c0dbd9 0%, #3a7a76 100%); }
  .img-warm { background: linear-gradient(135deg, #f0e0cc 0%, #b8845a 100%); }
  .img-dark { background: linear-gradient(135deg, #c8d8d6 0%, #244b48 100%); }
  .img-sand { background: linear-gradient(135deg, #f5f0e8 0%, #c4956a 100%); }

  /* FOOTER */
  footer {
    background: var(--dusk); color: rgba(255,255,255,0.65);
    padding: 4rem 4rem 2rem;
  }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
  .footer-brand { }
  .footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--white); letter-spacing: 0.08em; margin-bottom: 0.8rem; }
  .footer-logo span { font-style: italic; color: var(--accent); }
  .footer-tagline { font-size: 0.83rem; line-height: 1.65; max-width: 240px; }
  .footer-col h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.2rem; font-weight: 500; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
  .footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
  .footer-col a:hover { color: var(--white); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
  .footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
  .footer-bottom a:hover { color: rgba(255,255,255,0.7); }

  @media (max-width: 900px) {
    .blog-wrap { padding: 0 1.5rem; }
    .featured { grid-template-columns: 1fr; gap: 1.5rem; }
    .grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    footer { padding: 3rem 1.5rem 1.5rem; }
  }
  @media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.65rem 4rem;
    background: rgba(255,255,255,0.94); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(42,122,122,0.12);
  }
  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--sea);
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid rgba(42,122,122,0.35);
    padding: 0.3rem 0.75rem;
    display: inline-block;
    line-height: 1.2;
    transition: border-color 0.2s;
  }
  .nav-logo:hover { border-color: rgba(42,122,122,0.65); }
  .nav-logo span { font-style: italic; color: var(--shore); }
  .nav-logo-sub { display: block; font-size: 0.48rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); font-style: normal; font-family: 'DM Sans', sans-serif; margin-top: 0.08rem; opacity: 0.7; }
  .nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
  .nav-links a { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; }
  .nav-links a:hover { color: var(--sea); }
  .nav-cta { background: var(--sea); color: var(--white); border: none; cursor: pointer; padding: 0.5rem 1.2rem; border-radius: 30px; font-size: 0.73rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'DM Sans', sans-serif; font-weight: 500; text-decoration: none; transition: background 0.2s; }
  .nav-cta:hover { background: var(--dusk); }
  .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 200; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--sea); 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 { display: none; position: fixed; inset: 0; background: rgba(27,59,59,0.98); z-index: 150; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--white); text-decoration: none; font-weight: 300; letter-spacing: 0.06em; transition: color 0.2s; }
  .mobile-menu a:hover { color: var(--accent); }
  .mobile-menu .mobile-cta { background: var(--btn); color: white; padding: 0.85rem 2.5rem; border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-top: 1rem; }
  .nav-dropdown { position: relative; }
  .nav-dropdown-toggle { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; cursor: pointer; background: none; border: none; font-family: 'DM Sans', sans-serif; padding: 0; display: flex; align-items: center; gap: 0.3rem; }
  .nav-dropdown-toggle:hover { color: var(--sea); }
  .nav-dropdown-toggle svg { width: 10px; height: 10px; transition: transform 0.2s; }
  .nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
  .nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--sand-dark); border-radius: 4px; box-shadow: 0 12px 40px rgba(27,59,59,0.12); min-width: 220px; padding: 0.5rem 0; z-index: 200; }
  .nav-dropdown-menu.open { display: block; }
  .nav-dropdown-menu a { display: block; padding: 0.65rem 1.25rem; font-size: 0.8rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s, background 0.15s; white-space: nowrap; }
  .nav-dropdown-menu a:hover { color: var(--sea); background: var(--sea-pale); }
  .nav-sub-dropdown { position: relative; }
  .nav-sub-toggle { width: 100%; background: none; border: none; padding: 0.65rem 1.25rem; font-size: 0.8rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s, background 0.15s; white-space: nowrap; cursor: pointer; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
  .nav-sub-toggle:hover { color: var(--sea); background: var(--sea-pale); }
  .nav-sub-toggle svg { width: 8px; height: 8px; flex-shrink: 0; transition: transform 0.2s; }
  .nav-sub-dropdown.open .nav-sub-toggle { color: var(--sea); background: var(--sea-pale); }
  .nav-sub-dropdown.open .nav-sub-toggle svg { transform: rotate(-90deg); }
  /* Hover-open dropdowns */
  .nav-dropdown:hover > .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover > .nav-dropdown-toggle svg { transform: rotate(180deg); }
  .nav-sub-dropdown:hover > .nav-sub-menu { display: block; }
  .nav-sub-menu { display: none; position: absolute; top: 0; left: 100%; background: var(--white); border: 1px solid var(--sand-dark); border-radius: 4px; box-shadow: 0 12px 40px rgba(27,59,59,0.12); min-width: 220px; padding: 0.5rem 0; z-index: 300; }
  .nav-sub-dropdown.open .nav-sub-menu { display: block; }
  .nav-sub-menu a { display: block; padding: 0.65rem 1.25rem; font-size: 0.8rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s, background 0.15s; white-space: nowrap; }
  .nav-sub-menu a:hover, .nav-sub-menu a.active { color: var(--sea); background: var(--sea-pale); }
  @media(max-width:900px) { .nav-sub-dropdown { display: none; } }
  @media (max-width: 900px) {
    nav { padding: 1rem 1.25rem; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
  }
