/* Header and Footer css only */

/* =====================================================
   WHF 2026 DESIGN SYSTEM
===================================================== */
:root {
    --green-main: #00C853;
    --green-dark: #009624;
    --green-light: #69F0AE;
    --dark: #07130D;
    --dark-2: #0B1F15;
    --white: #ffffff;
    --text-soft: #A8B8AF;
    --border: rgba(255, 255, 255, .12);
    --shadow: 0 25px 70px rgba(0, 0, 0, .45);
    --transition: .35s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  
  body {
    font-family: Inter, system-ui, sans-serif;
  }
  
  a {
    text-decoration: none;
  }
  
  /* =====================================================
     HEADER
  ===================================================== */
  .whf2026-header {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 70px);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 19, 13, .88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  
  /* LOGO */
  .whf2026-logo {
    display: flex;
    align-items: center;
  }
  
  .whf2026-logoImg {
    width: auto;
    height: 65px;
    border-radius: 50%;
  }
  
  .whf2026-logoText {
    color: white;
    font-size: 1.35rem;
    font-weight: 700;
  }
  
  /* =====================================================
     NAVIGATION
  ===================================================== */
  .whf2026-navList {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
  }
  
  .whf2026-navItem {
    position: static;
  }
  
  .whf2026-navLink {
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: .3s;
  }
  
  .whf2026-navLink:hover {
    background: rgba(0, 200, 83, .15);
    color: var(--green-light);
  }
  
  /* Make Tools button look like normal navigation text */
  .whf2026-megaTrigger {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    color: white;
    padding: 12px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  /* =====================================================
     DESKTOP FULL WIDTH MEGA MENU
  ===================================================== */
  .whf2026-megaMenu {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translate(-50%, 20px);
    width: 100vw;
    max-width: 100%;
    padding: 40px clamp(20px, 8vw, 100px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(135deg, #0B1F15, #07130D);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: .35s ease;
  }
  
  .whf2026-hasMega:hover .whf2026-megaMenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  
  .whf2026-megaHeading {
    color: var(--green-light);
    margin-bottom: 15px;
  }
  
  .whf2026-megaLink {
    display: block;
    color: var(--text-soft);
    padding: 8px 0;
    transition: .3s;
  }
  
  .whf2026-megaLink:hover {
    color: white;
    transform: translateX(8px);
  }
  
  /* =====================================================
     HAMBURGER
  ===================================================== */
  .whf2026-navToggle {
    display: none;
    background: none;
    border: 0;
  }
  
  .whf2026-navToggleBar {
    width: 28px;
    height: 3px;
    display: block;
    margin: 5px;
    background: white;
    border-radius: 20px;
  }
  
  /* =====================================================
     FOOTER
  ===================================================== */
  .whf2026-footer {
    background: radial-gradient(circle at top, #10351F, #050B07);
    padding: 70px clamp(20px, 5vw, 80px) 25px;
    color: white;
  }
  
  .whf2026-footerContainer {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
  }
  
  .whf2026-footerLogo {
    display: flex;
    align-items: center;
  }
  .whf2026-footerLogoImg {
    width: auto;
    height: 65px;
    border-radius: 50%;
  }
  
  .whf2026-footerBrandName {
    font-size: 1.4rem;
    font-weight: 700;
  }
  
  .whf2026-footerDesc {
    margin: 20px 0;
    line-height: 1.7;
    color: var(--text-soft);
  }
  
  /* SOCIAL */
  .whf2026-socialLinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .whf2026-socialLink {
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .08);
    color: white;
    transition: .3s;
  }
  
  .whf2026-socialLink:hover {
    background: var(--green-main);
    transform: translateY(-4px);
  }
  
  .whf2026-footerHeading {
    color: var(--green-light);
    margin-bottom: 20px;
  }
  
  .whf2026-footerNav {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .whf2026-footerLink {
    color: var(--text-soft);
    transition: .3s;
  }
  
  .whf2026-footerLink:hover {
    color: white;
    transform: translateX(8px);
  }
  
  .whf2026-footerBottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
  }
  
  .whf2026-legalNav {
    display: flex;
    gap: 20px;
  }
  
  .whf2026-legalLink {
    color: var(--text-soft);
  }
  
  /* =====================================================
     MOBILE NAVIGATION + FOOTER
  ===================================================== */
  @media(max-width: 768px) {
    /* ================= HEADER ================= */
    .whf2026-header {
      height: 75px;
      padding: 0 20px;
    }
  
    /* Hamburger visible */
    .whf2026-navToggle {
      display: block;
      width: 40px;
      height: 40px;
      position: relative;
      z-index: 2000;
    }
  
    /* Hamburger animation */
    .whf2026-navToggleBar {
      width: 28px;
      height: 3px;
      margin: 6px auto;
      transition: .35s ease;
    }
  
    /* when menu opens */
    .whf2026-navToggle.active .whf2026-navToggleBar:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }
  
    .whf2026-navToggle.active .whf2026-navToggleBar:nth-child(2) {
      opacity: 0;
    }
  
    .whf2026-navToggle.active .whf2026-navToggleBar:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }
  
    /* ================= MOBILE MENU ================= */
    .whf2026-nav {
      position: fixed;
      top: 75px;
      left: 0;
      width: 85%;
      height: calc(100vh - 75px);
      background: linear-gradient(160deg, #0B1F15, #07130D);
      transform: translateX(-100%);
      transition: .45s ease;
      overflow-y: auto;
      z-index: 1500;
      border-right: 1px solid var(--border);
    }
  
    /* open menu */
    .whf2026-nav.active {
      transform: translateX(0);
    }
  
    .whf2026-navList {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 5px;
      padding: 25px;
    }
  
    .whf2026-navLink {
      width: 100%;
      justify-content: space-between;
      padding: 15px 10px;
      border-radius: 10px;
    }
  
    /* remove desktop hover */
    .whf2026-navLink:hover {
      background: none;
    }
  
    /* ================= TOOLS DROPDOWN ================= */
    .whf2026-hasMega {
      position: relative;
    }
  
    .whf2026-megaTrigger {
      width: 100%;
      justify-content: space-between;
    }
  
    /* arrow */
    .whf2026-megaTrigger::after {
      content: "›";
      font-size: 22px;
      transition: .3s;
    }
  
    .whf2026-hasMega.active .whf2026-megaTrigger::after {
      transform: rotate(90deg);
    }
  
    /* hide mega menu */
    .whf2026-megaMenu {
      position: static;
      width: 100%;
      padding: 10px 15px;
      display: none;
      grid-template-columns: 1fr;
      opacity: 1;
      visibility: visible;
      transform: none;
      box-shadow: none;
      border: none;
    }
  
    /* Disable desktop hover mega menu behavior */
    .whf2026-hasMega:hover .whf2026-megaMenu {
      transform: none;
    }
  
    .whf2026-megaMenu {
      left: auto;
      top: auto;
      transform: none !important;
      width: 100%;
    }
  
    /* show tools */
    .whf2026-hasMega.active .whf2026-megaMenu {
      display: block;
    }
  
    .whf2026-megaCol {
      margin-bottom: 20px;
    }
  
    .whf2026-megaHeading {
      font-size: .9rem;
    }
  
    /* ================= FOOTER MOBILE ================= */
    .whf2026-footer {
      padding: 50px 20px 25px;
    }
  
    .whf2026-footerContainer {
      grid-template-columns: 1fr;
      gap: 35px;
    }
  
    .whf2026-footerBrand {
      text-align: center;
    }
  
    .whf2026-footerLogo {
      justify-content: center;
    }
  
    .whf2026-footerDesc {
      text-align: center;
    }
  
    .whf2026-socialLinks {
      justify-content: center;
    }
  
    .whf2026-footerCol {
      text-align: center;
    }
  
    .whf2026-footerNav {
      align-items: center;
    }
  
    .whf2026-addressLine {
      text-align: center;
    }
  
    .whf2026-footerBottom {
      flex-direction: column;
      align-items: center;
      gap: 20px;
      text-align: center;
    }
  
    .whf2026-legalNav {
      flex-direction: column;
      gap: 12px;
    }
  }
  
  
  
  
  
  /* ==================================================================================================================================================================== */
  
    /* HEADER AND FOOTER ENDS HERE */
    /* HEADER AND FOOTER ENDS HERE */
      /* HEADER AND FOOTER ENDS HERE */
  /* HEADER AND FOOTER ENDS HERE */
  /* ==================================================================================================================================================================== */
  

  






















/* ==========================================================================
   BLOG LIST PAGE (pages/blogs.html)
   ========================================================================== */

   .blog-index {
    background: #FAFAF7;
    color: #12172B;
    padding: 64px 24px 96px;
    max-width: 1180px;
    margin: 0 auto;
}

.blog-index__hero { max-width: 640px; margin-bottom: 56px; }

.blog-index__eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #145C38;
    display: block;
    margin-bottom: 14px;
}

.blog-index__title {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.05;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.blog-index__subtitle {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #5B6072;
    margin: 0;
}

.blog-index__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

.blog-sidebar { position: sticky; top: 24px; }

.blog-search { position: relative; margin-bottom: 32px; }

.blog-search__icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #5B6072;
    pointer-events: none;
}

.blog-search__input {
    width: 100%;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    padding: 11px 14px 11px 36px;
    border: 1px solid #E1E6E1;
    border-radius: 8px;
    background: #FFFFFF;
    color: #12172B;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-search__input::placeholder { color: #A3AAA4; }

.blog-search__input:focus {
    border-color: #145C38;
    box-shadow: 0 0 0 3px #E3F0E8;
}

.blog-sidebar__section-label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5B6072;
    margin-bottom: 12px;
}

.category-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #E1E6E1; }
.category-list__item { border-bottom: 1px solid #E1E6E1; }
.category-list__item--all { border-top: none; }

.category-list__row { display: flex; align-items: center; gap: 8px; }

.category-list__link {
    flex: 1;
    text-align: left;
    background: none;
    border: none;
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    color: #12172B;
    padding: 11px 0;
    cursor: pointer;
    transition: color 0.15s ease;
}

.category-list__link:hover { color: #145C38; }
.category-list__link.is-active { color: #145C38; font-weight: 600; }

.category-list__count {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: #5B6072;
    min-width: 18px;
    text-align: right;
}

.category-list__toggle {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid #E1E6E1;
    background: #FFFFFF;
    color: #5B6072;
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.15s ease, color 0.15s ease;
}

.category-list__toggle:hover { border-color: #145C38; color: #145C38; }

.category-list__toggle[aria-expanded="true"] {
    transform: rotate(45deg);
    color: #145C38;
    border-color: #145C38;
}

.category-preview { padding: 2px 0 12px 2px; }

.category-preview__list {
    list-style: none;
    margin: 0;
    padding: 4px 0 4px 14px;
    border-left: 2px solid #E3F0E8;
}

.category-preview__list li { margin-bottom: 8px; }

.category-preview__list a {
    font-family: "Inter", sans-serif;
    font-size: 13.5px;
    color: #5B6072;
    text-decoration: none;
    line-height: 1.4;
}

.category-preview__list a:hover { color: #145C38; text-decoration: underline; }

.category-preview__empty { font-size: 13px; color: #5B6072; font-style: italic; }

.category-preview__more {
    margin-left: 14px;
    background: none;
    border: none;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    letter-spacing: 0.04em;
    color: #145C38;
    cursor: pointer;
    padding: 2px 0;
}

.category-preview__more:hover { text-decoration: underline; }

.category-list__empty { padding: 12px 0; color: #5B6072; font-size: 13px; }

.blog-main__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E1E6E1;
}

.blog-main__result-label {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #5B6072;
    margin: 0;
}

.blog-main__result-label strong { color: #12172B; }

.blog-sort { display: flex; align-items: center; gap: 8px; }

.blog-sort__label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5B6072;
}

.blog-sort__select {
    font-family: "Inter", sans-serif;
    font-size: 13.5px;
    color: #12172B;
    border: 1px solid #E1E6E1;
    border-radius: 6px;
    padding: 7px 10px;
    background: #FFFFFF;
    cursor: pointer;
}

.blog-sort__select:focus {
    outline: none;
    border-color: #145C38;
    box-shadow: 0 0 0 3px #E3F0E8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px 24px;
    min-height: 120px;
}

.blog-card { display: flex; flex-direction: column; }
.blog-card__image-link { display: block; }

.blog-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    background: #E3F0E8;
    display: block;
}

.blog-card__image--placeholder { background: linear-gradient(135deg, #E3F0E8, #F1F7F2); }

.blog-card__body { padding-top: 14px; }

.blog-card__category {
    display: inline-block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #145C38;
    margin-bottom: 8px;
}

.blog-card__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
}

.blog-card__title a { color: #12172B; text-decoration: none; }
.blog-card__title a:hover { color: #145C38; }

.blog-card__date { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #5B6072; }

.blog-empty {
    grid-column: 1 / -1;
    font-family: "Inter", sans-serif;
    color: #5B6072;
    font-size: 14px;
    padding: 32px 0;
    text-align: center;
}

.blog-load-more-wrap { display: flex; justify-content: center; margin-top: 40px; }

.blog-load-more {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #12172B;
    background: #FFFFFF;
    border: 1px solid #E1E6E1;
    border-radius: 999px;
    padding: 12px 28px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.blog-load-more:hover { border-color: #145C38; color: #145C38; }

.blog-load-more:focus-visible,
.category-list__link:focus-visible,
.category-list__toggle:focus-visible,
.category-preview__more:focus-visible,
.blog-search__input:focus-visible {
    outline: 2px solid #145C38;
    outline-offset: 2px;
}

@media (max-width: 860px) {
    .blog-index__layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
}

@media (prefers-reduced-motion: reduce) {
    .category-list__toggle { transition: none; }
}

/* ==========================================================================
   BLOG DETAIL PAGE (pages/blog-detail.html)
   ========================================================================== */

.post { background: #FAFAF7; color: #12172B; padding: 56px 24px 96px; }
.post__wrap { max-width: 760px; margin: 0 auto; }

.post__breadcrumb {
    font-family: "Inter", sans-serif;
    font-size: 13.5px;
    color: #5B6072;
    margin-bottom: 28px;
}

.post__breadcrumb a { color: #5B6072; text-decoration: none; }
.post__breadcrumb a:hover { color: #145C38; }

.post__category {
    display: inline-block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #145C38;
    text-decoration: none;
    margin-bottom: 16px;
}

.post__category:hover { text-decoration: underline; }

.post__title {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(30px, 4.5vw, 44px);
    line-height: 1.12;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px;
    color: #5B6072;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #E1E6E1;
}

.post__meta-dot { color: #E1E6E1; }

.post__excerpt {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #5B6072;
    margin: 0 0 32px;
}

.post__image {
    width: 100%;
    border-radius: 12px;
    display: block;
    margin-bottom: 40px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #E3F0E8;
}

.post__content { font-family: "Inter", sans-serif; font-size: 17px; line-height: 1.75; color: #12172B; }

.post__content h1, .post__content h2, .post__content h3 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    line-height: 1.25;
    margin: 40px 0 16px;
    letter-spacing: -0.005em;
}

.post__content h1 { font-size: 30px; }
.post__content h2 { font-size: 25px; }
.post__content h3 { font-size: 20px; }
.post__content p { margin: 0 0 20px; }

.post__content a {
    color: #145C38;
    text-decoration: underline;
    text-decoration-color: #E3F0E8;
    text-underline-offset: 2px;
}

.post__content a:hover { text-decoration-color: #145C38; }
.post__content strong { font-weight: 700; }

.post__content ul, .post__content ol { margin: 0 0 20px; padding-left: 24px; }
.post__content li { margin-bottom: 8px; }

.post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 8px 0 28px;
    display: block;
}

.post__content blockquote {
    margin: 28px 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid #145C38;
    color: #5B6072;
    font-style: italic;
}

.post__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #12172B;
    text-decoration: none;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid #E1E6E1;
    width: 100%;
}

.post__back:hover { color: #145C38; }