/*
Theme Name: Unscripted Thrills
Theme URI: https://unscriptedthrills.com
Author: Ronakkumar Thakkar
Description: Custom adventure and travel agency WordPress theme built with Slick Carousel integration.
Version: 1.1.0
Text Domain: unscripted-thrills
*/

:root {
    --primary: #f2a900;
    --primary-hover: #d99600;
    --dark: #0a1118;
    --dark-card: #121c24;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --card-border: #e2e8f0;
    --white: #ffffff;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }

  input[type="checkbox"],
  input[type="radio"] {
    accent-color: var(--primary);
  }

  body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
  }

  #blog-listing,
  #contact-form {
    scroll-margin-top: 100px;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Base Typography & Headings matching design */
  .section-title-tag {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 6px;
    display: block;
  }
  
  .section-heading {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .btn-primary {
    background-color: var(--primary);
    color: #000;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
  }
  
  .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    backdrop-filter: blur(5px);
  }
  
  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .view-all {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .view-all:hover {
    text-decoration: underline;
  }
  
  .badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
  }
  .badge-seller { background: #f59e0b; color: #fff; }
  .badge-popular { background: #3b82f6; color: #fff; }
  .badge-easy { background: #10b981; color: #fff; }
  .badge-weekend { background: #ef4444; color: #fff; }
  .badge-dark { background: rgba(0, 0, 0, 0.8); color: #fff; }
  
  /* Fixed Slick Slider Card Spacing & Equal Heights */
  .cards-grid,
  .events-grid,
  .blog-grid,
  .testimonials-grid {
    padding-bottom: 50px;
  }

  /* Smaller than the other sliders: .features already has generous bottom padding
     of its own, so the full 50px here doubled up into a large empty gap. */
  .home-experience-grid.slick-initialized {
    padding-bottom: 20px;
  }

  .cards-grid.slick-slider,
  .events-grid.slick-slider,
  .blog-grid.slick-slider,
  .testimonials-grid.slick-slider,
  .home-experience-grid.slick-slider {
    margin-left: -10px;
    margin-right: -10px;
  }

  /* Once Slick initializes, cancel .features-grid's base CSS-grid display so its
     single .slick-list child isn't laid out as a grid track (harmless but redundant). */
  .home-experience-grid.slick-initialized {
    display: block;
  }

  .cards-grid .slick-list,
  .events-grid .slick-list,
  .blog-grid .slick-list,
  .testimonials-grid .slick-list,
  .home-experience-grid .slick-list {
    overflow: hidden;
  }

  .cards-grid .slick-track,
  .events-grid .slick-track,
  .blog-grid .slick-track,
  .testimonials-grid .slick-track,
  .home-experience-grid .slick-track {
    display: flex !important;
    align-items: stretch;
    gap: 0;
  }

  .cards-grid .slick-slide,
  .events-grid .slick-slide,
  .blog-grid .slick-slide,
  .testimonials-grid .slick-slide,
  .home-experience-grid .slick-slide {
    padding: 0 10px;
    box-sizing: border-box;
    height: auto;
    display: flex !important;
    align-items: stretch;
  }

  .cards-grid .slick-slide > div,
  .events-grid .slick-slide > div,
  .blog-grid .slick-slide > div,
  .testimonials-grid .slick-slide > div,
  .home-experience-grid .slick-slide > div {
    width: 100%;
    display: flex;
    align-items: stretch;
  }

  /* .feature-card is a centered icon/title/text column, not a row card needing
     stretch — override the generic wrapper rule above (higher specificity than
     .feature-card alone). Slick wraps an intermediate div inside .slick-slide, so
     .feature-card is a grandchild, not a direct child — use a descendant selector. */
  .home-experience-grid .slick-slide .feature-card {
    align-items: center;
  }

  /* Belt-and-suspenders: auto margins on a flex item override the parent's
     align-items for that item specifically (per the flexbox spec), regardless of
     whatever align-items Slick's own nested wrapper divs end up computing to. */
  .home-experience-grid .feature-icon-wrapper {
    margin-left: auto;
    margin-right: auto;
  }

  /* "What We Offer" cards get the same card treatment (background/border/shadow)
     as the rest of the site's card components, instead of floating bare on the page. */
  .home-experience-grid .feature-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 32px 24px;
    transition: box-shadow .25s ease, transform .25s ease;
  }
  .home-experience-grid .feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
  }
  
  .slick-dots {
    bottom: -18px;
  }
  
  .slick-dots li button:before {
    font-size: 10px;
    color: #cbd5e1;
    opacity: 1;
  }
  
  .slick-dots li.slick-active button:before {
    color: var(--primary);
  }
  
  /* Top Bar */
  .top-bar {
    background-color: var(--dark);
    color: #94a3b8;
    font-size: 0.75rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .top-info {
    display: flex;
    gap: 20px;
  }
  
  .top-info a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--white);
  }
  .top-info a i{
    font-size: 1rem;
    color: var(--primary);
  }
  
  .social-links {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .social-links a i{
    font-size: 1rem;
    color: var(--white);
  }

  .social-links span{
    font-size: 0.9rem;
    color: var(--white);
  }
  
  /* Navbar & Dropdown Menus */
  .navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
  }
  
  .logo-icon {
    color: var(--text-dark);
    font-size: 1.5rem;
  }
  
  .logo-text span {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-top: -4px;
  }
  
  /* Nav Menu & Submenu Setup */
  .nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
  }
  
  .nav-links li {
    position: relative;
  }
  
  .nav-links a {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-dark);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 24px 0;
  }
  
  .nav-links a:hover,
  .nav-links li.active > a,
  .nav-links li.current-menu-item > a,
  .nav-links li.current-menu-ancestor > a,
  .nav-links li.current_page_item > a {
    color: var(--primary);
  }
  
  /* Dropdown Submenu Styling */
  .nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99;
  }
  
  .nav-links li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-links .sub-menu li {
    width: 100%;
  }
  
  .nav-links .sub-menu a {
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
  }
  
  .nav-links .sub-menu a:hover {
    background-color: var(--light-bg);
    color: var(--primary);
  }
  
  .mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
  }
  
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    background: linear-gradient(rgba(10, 17, 24, 0.65), rgba(10, 17, 24, 0.75)), 
                url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 90px 0 130px;
  }
  
  .hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }
  
  .hero-content {
    max-width: 650px;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #e2e8f0;
    display: block;
  }
  
  /* 4. Updated Hero Heading Color Distinction */
  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: #ffffff;
  }
  
  .hero-title .highlight-text {
    color: var(--primary);
    display: block;
  }
  
  .hero-description {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 480px;
  }
  
  .hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  /* 5. Right Sidebar Stats Layout */
  .hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(10, 17, 24, 0.45);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 220px;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .stat-icon {
    font-size: 1.5rem;
    color: var(--primary);
    width: 30px;
  }

  .stat-icon-img,
  .feature-icon-wrapper img,
  .why-stat-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

  .feature-icon-wrapper img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .why-stat img,
  .why-stat-img {
    width: 2rem;
    height: 2rem;
    display: block;
    margin: 0 auto 8px;
  }
  
  .stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
  }
  
  .stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
  }
  
  /* Filter Search Bar */
  .search-wrapper {
    max-width: 1000px;
    margin: -45px auto 60px;
    position: relative;
    z-index: 10;
  }
  
  .search-bar {
    background: var(--white);
    border-radius: 40px;
    padding: 8px 12px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr auto;
    gap: 10px;
    align-items: center;
  }
  
  .search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-right: 1px solid #f1f5f9;
  }
  
  .search-field:last-of-type {
    border-right: none;
  }
  
  .search-field i {
    color: #94a3b8;
    font-size: 0.9rem;
  }
  
  .search-field input, .search-field select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-dark);
    background: transparent;
    font-family: inherit;
  }
  
  /* Feature Offer Section */
  .features {
    padding: 40px 0 70px;
    text-align: center;
  }

  /* On the homepage this section carries both .features and .container — .features'
     own padding shorthand above fully overrides .container's horizontal padding
     (same specificity, .features wins by source order), leaving zero side padding
     and letting the carousel/cards run edge-to-edge on mobile. Restore it here,
     scoped to this combination only so the Contact page's plain .features (which
     gets its horizontal padding from a separate inner .container div) is untouched. */
  .features.container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
  }
  
  .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }
  
  .feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #b45309;
    font-size: 1.5rem;
  }
  
  .feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .feature-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
  }
  
  /* Adventures (Treks) */
  .adventures {
    padding: 30px 0 60px;
    background-color: var(--white);
    overflow: hidden;
  }

  /* Tours page: static listing (intentionally separate from Slick carousel grids). */
  .tours-hero { padding: 88px 0; }

  .tours-listing {
    padding: 70px 0 80px;
    background: var(--light-bg);
  }

  .tours-listing .section-heading { margin-bottom: 0; }

  .tours-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .tours-pagination { margin-top: 42px; }
  .tours-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .tours-pagination a,
  .tours-pagination span {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--white);
  }
  .tours-pagination .current,
  .tours-pagination a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
  }
  .tours-pagination .dots { border: 0; background: transparent; }
  .tours-empty { color: var(--text-muted); }
  .tour-upcoming-dates {
    align-items: flex-start;
    color: var(--text-muted);
    display: flex;
    font-size: 0.68rem;
    gap: 6px;
    line-height: 1.4;
    margin-top: 13px;
  }
  .tour-upcoming-dates i { color: var(--primary); margin-top: 2px; }
  .tour-upcoming-dates strong { color: var(--text-dark); }
  .tour-page-actions { display: flex; gap: 10px; margin-top: 16px; }
  .tour-more-details,
  .tour-pdf-link {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    flex: 1;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 6px;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    white-space: nowrap;
  }
  .tour-more-details { background: #f1f5f9; color: var(--text-dark); }
  .tour-more-details:hover { background: #e2e8f0; }
  .tour-pdf-link { background: #fff1e9; color: #ea580c; }
  .tour-pdf-link:hover { background: #ffdfcc; color: #c2410c; }

  /* Events page: static card grid, separate from the homepage Slick carousel. */
  .events-hero { padding: 88px 0; }
  .events-listing { padding: 70px 0 80px; background: var(--light-bg); }
  .events-listing .section-heading { margin-bottom: 0; }
  .events-intro {
    max-width: 300px;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .events-intro i { color: var(--primary); margin-right: 6px; }
  .events-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
  .event-page-card {
    border: 1px solid var(--card-border);
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .event-page-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .event-page-image { display: block; height: 185px; position: relative; overflow: hidden; }
  .event-page-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
  .event-page-card:hover .event-page-image img { transform: scale(1.04); }
  .event-page-image .badge { position: absolute; top: 12px; left: 12px; }
  .event-page-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 4px;
  }
  .event-page-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
  .event-page-body h3 { font-size: 0.95rem; line-height: 1.3; min-height: 2.5em; margin-bottom: 9px; }
  .event-page-location { color: var(--text-muted); font-size: 0.73rem; margin-bottom: 12px; }
  .event-page-location i, .event-page-footer i { color: var(--primary); }
  .event-page-footer {
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.72rem;
    padding-bottom: 12px;
  }
  .event-page-footer strong { color: var(--primary); font-size: 0.9rem; white-space: nowrap; }
  .event-page-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
  .event-page-link { font-size: 0.78rem; font-weight: 800; }
  .event-page-link i { margin-left: 7px; transition: transform 0.2s ease; }
  .event-page-link:hover { color: var(--primary); }
  .event-page-link:hover i { transform: translateX(3px); }
  .event-pdf-link { color: var(--primary); font-size: 0.7rem; font-weight: 800; white-space: nowrap; }
  .event-pdf-link:hover { color: var(--primary-hover); }
  
  .card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--card-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  
  .card-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
  }
  
  .card-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
  }
  
  .card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .card-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
  }

  .card-desc {
    color: var(--text-muted);
    font-size: .8rem;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px dashed var(--card-border);
    margin-top: auto;
  }
  
  .card-rating {
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .card-rating i {
    color: var(--primary);
  }
  
  .card-rating span {
    color: var(--text-muted);
    font-weight: 400;
  }
  
  .card-price {
    font-size: 0.95rem;
    font-weight: 800;
  }
  
  /* Events */
  .events {
    padding: 50px 0;
    background-color: var(--light-bg);
    overflow: hidden;
  }
  
  .event-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--card-border);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .event-img {
    position: relative;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .event-date {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .event-body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .event-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .event-loc {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 8px;
  }
  
  .event-price-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: auto;
  }
  
  .event-price {
    font-size: 0.85rem;
    font-weight: 800;
  }
  
  /* 8. WHY TRAVEL WITH US (Updated to 4 horizontal items on desktop) */
  .why-us {
    background: linear-gradient(rgba(10, 17, 24, 0.88), rgba(10, 17, 24, 0.88)), 
                url('https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&w=1920&q=80') center/cover;
    color: var(--white);
    padding: 60px 0;
  }
  
  .why-us-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }
  
  .why-us-text {
    max-width: 380px;
    flex-shrink: 0;
  }
  
  .why-us-text h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 10px;
  }
  
  .why-us-text p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
  }
  
  .why-us-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    flex-grow: 1;
  }
  
  .why-stat {
    text-align: center;
  }
  
  .why-stat i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
  }
  
  .why-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
  }
  
  .why-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
  }
  
  /* 9. Testimonial Slider Space Fixes */
  .testimonials {
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
  }
  
  .slider-wrapper {
    position: relative;
    margin-top: 20px;
  }
  
  .testimonial-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .stars {
    color: #f59e0b;
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  
  .testimonial-text {
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
  }
  
  .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
  }
  
  .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .user-name {
    font-size: 0.85rem;
    font-weight: 700;
  }
  
  .user-trip {
    font-size: 0.7rem;
    color: var(--text-muted);
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 5;
    transition: all 0.2s;
  }
  
  .slider-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
  }
  
  .slider-btn.prev { left: -20px; }
  .slider-btn.next { right: -20px; }
  
  /* Blog Section */
  .blog {
    padding: 40px 0 60px;
    background-color: var(--light-bg);
    overflow: hidden;
  }
  
  .blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--card-border);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .blog-img-wrapper {
    position: relative;
    height: 150px;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .blog-tag {
    position: absolute;
    top: 10px;
    left: 10px;
  }
  
  .blog-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .blog-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .blog-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
  }
  
  /* Newsletter */
  .newsletter {
    background: linear-gradient(rgba(10, 17, 24, 0.8), rgba(10, 17, 24, 0.8)), 
                url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 40px 0;
    color: var(--white);
  }
  
  .newsletter .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .newsletter-text h3 {
    font-size: 1.4rem;
    font-weight: 800;
  }
  
  .newsletter-text p {
    font-size: 0.8rem;
    color: #94a3b8;
  }
  
  .newsletter-form {
    display: flex;
    background: var(--white);
    border-radius: 30px;
    padding: 4px;
    width: 100%;
    max-width: 400px;
  }
  
  .newsletter-form input {
    border: none;
    outline: none;
    padding: 8px 16px;
    width: 100%;
    border-radius: 30px;
    font-size: 0.85rem;
  }
  
  /* Footer */
  footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 60px 0 20px;
    font-size: 0.8rem;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr) 1.5fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-brand .logo {
    color: var(--white);
    margin-bottom: 12px;
  }
  
  .footer-brand p {
    margin-bottom: 16px;
    line-height: 1.5;
  }
  
  .footer-socials {
    display: flex;
    gap: 10px;
  }
  
  .footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
  }

  @media (max-width: 768px) {
    .footer-socials {
      display: flex;
      flex-wrap: nowrap;
      gap: 10px;
      width: max-content;
      align-items: center;
    }

    .footer-socials a {
      width: 32px;
      height: 32px;
      flex: none;
    }
  }
  
  .footer-column h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
  }

  .footer-links li {
    list-style: none;
  }
  
  .footer-links a:hover {
    color: var(--white);
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .contact-item a:hover {
    color: var(--white);
  }

  /* Inner pages and post detail templates */
  .page-hero,
  .detail-hero {
    background: var(--dark);
    color: var(--white);
    padding: 72px 0;
  }

  .page-hero h1,
  .detail-hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    font-weight: 900;
    max-width: 860px;
  }

  .breadcrumb {
    color: #cbd5e1;
    font-size: 0.8rem;
    margin-bottom: 14px;
  }

  .breadcrumb a:hover { color: var(--primary); }

  .page-content,
  .detail-content {
    padding: 64px 0;
  }

  .entry-content {
    font-size: 1rem;
    line-height: 1.8;
  }

  .entry-content > * + * { margin-top: 1.25rem; }
  .entry-content h2,
  .entry-content h3,
  .entry-content h4 { line-height: 1.25; color: var(--text-dark); }
  .entry-content ul,
  .entry-content ol { margin-left: 1.25rem; }
  .entry-content ul { list-style: disc; }
  .entry-content ol { list-style: decimal; }

  /* WordPress editor image alignment classes (theme never styled these, so they were inert) */
  .aligncenter,
  .alignnone {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .alignleft {
    float: left;
    margin: 0.35rem 1.5rem 1rem 0;
  }
  .alignright {
    float: right;
    margin: 0.35rem 0 1rem 1.5rem;
  }
  img.aligncenter,
  img.alignnone,
  img.alignleft,
  img.alignright {
    border-radius: var(--radius-sm);
  }
  .wp-caption {
    max-width: 100%;
  }
  .wp-caption img {
    display: block;
    margin: 0 auto;
  }
  .wp-caption.aligncenter {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .wp-caption-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 8px;
    text-align: center;
  }

  .post-layout,
  .detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
  }

  .featured-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
  }

  .detail-sidebar {
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 94px;
  }

  .detail-price { font-size: 1.6rem; font-weight: 900; margin: 8px 0 20px; }
  .detail-meta { display: grid; gap: 14px; margin-bottom: 24px; }
  .detail-meta-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
  .detail-meta-item i { color: var(--primary); width: 16px; padding-top: 3px; }
  .detail-sidebar .btn { width: 100%; margin-top: 10px; }
  .btn-outline-detail {
    background: var(--white);
    border: 1px solid var(--card-border);
    color: var(--text-dark);
  }
  .btn-outline-detail:hover {
    border-color: var(--primary);
    color: var(--primary);
  }
  .post-meta { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; }

  .not-found { padding: 100px 0; text-align: center; }
  .not-found h1 { font-size: clamp(4rem, 15vw, 9rem); line-height: 1; color: var(--primary); }
  .not-found h2 { font-size: 1.8rem; margin: 12px 0; }
  .not-found p { color: var(--text-muted); margin-bottom: 24px; }

  /* Trek detail page */
  .trek-detail-page { background: var(--light-bg); padding: 26px 0 0; }
  .trek-breadcrumb { color: var(--text-muted); }
  .trek-gallery { display: grid; grid-template-columns: 2fr repeat(2, 1fr); grid-template-rows: repeat(2, 150px); gap: 6px; margin-bottom: 20px; }
  .trek-gallery-image { border: 0; cursor: pointer; overflow: hidden; padding: 0; position: relative; }
  .trek-gallery-image img { height: 100%; object-fit: cover; width: 100%; transition: transform .3s ease; }
  .trek-gallery-image:hover img { transform: scale(1.04); }
  .trek-gallery-image-1 { grid-row: span 2; border-radius: var(--radius-md) 0 0 var(--radius-md); }
  .trek-gallery-image-3 { border-radius: 0 var(--radius-md) 0 0; }
  .trek-gallery-image-5 { border-radius: 0 0 var(--radius-md) 0; }
  .gallery-more { align-items: center; background: rgba(10,17,24,.56); color: var(--white); display: flex; font-size: .8rem; font-weight: 800; inset: 0; justify-content: center; position: absolute; }
  .trek-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
  .trek-detail-main { display: grid; gap: 16px; }
  .trek-content-card, .trek-booking-card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
  .trek-content-card h2, .trek-booking-card h2 { font-size: 1.05rem; margin-bottom: 16px; }
  .trek-title-card h1 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin: 5px 0; }
  .trek-title-card p { color: var(--text-muted); font-size: .85rem; }
  .trek-title-card p i { color: var(--primary); }
  .trek-kicker { color: var(--text-muted); font-size: .75rem; }
  .trek-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .trek-fact { border-left: 1px solid var(--card-border); display: grid; gap: 3px; padding-left: 12px; }
  .trek-fact:first-child { border-left: 0; padding-left: 0; }
  .trek-fact i { color: var(--primary); }
  .trek-fact span { color: var(--text-muted); font-size: .65rem; }
  .trek-fact strong { font-size: .78rem; }
  .departure-list, .inclusion-grid ul { display: grid; gap: 10px; }
  .departure-list { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .departure-list li { align-items: center; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 999px; color: #9a3412; display: flex; font-size: .78rem; font-weight: 700; gap: 8px; padding: 9px 12px; }
  .trek-itinerary { display: grid; gap: 10px; }
  .trek-itinerary details { border: 1px solid var(--card-border); border-radius: var(--radius-sm); }
  .trek-itinerary summary { align-items: center; cursor: pointer; display: flex; font-size: .88rem; font-weight: 800; justify-content: space-between; list-style: none; padding: 15px; }
  .trek-itinerary summary::-webkit-details-marker { display: none; }
  .trek-itinerary details[open] summary { border-bottom: 1px solid var(--card-border); }
  .trek-itinerary details[open] summary i { transform: rotate(180deg); }
  .itinerary-details { font-size: .86rem; line-height: 1.7; padding: 15px; }
  .itinerary-details img { border-radius: var(--radius-sm); float: right; height: 130px; margin: 0 0 10px 16px; object-fit: cover; width: 190px; }
  .itinerary-details p, .itinerary-details h2, .itinerary-details h3, .itinerary-details h4, .itinerary-details ul, .itinerary-details ol, .itinerary-details blockquote { margin-bottom: 1rem; }
  .itinerary-details h2, .itinerary-details h3, .itinerary-details h4 { color: var(--text-dark); line-height: 1.3; margin-top: 1.25rem; }
  .itinerary-details ul, .itinerary-details ol { margin-left: 1.25rem; }
  .itinerary-details ul { list-style: disc; }
  .itinerary-details ol { list-style: decimal; }
  .itinerary-details li { margin-bottom: .4rem; }
  .itinerary-details > *:last-child, .itinerary-details p:last-child, .itinerary-details ul:last-child, .itinerary-details ol:last-child { margin-bottom: 0; }
  .inclusion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
  .inclusion-grid li { align-items: center; display: flex; font-size: .85rem; font-weight: 600; gap: 10px; }
  .included-heading, .included-heading i, .inclusion-grid > div:first-child li i { color: #15803d; }
  .excluded-heading, .excluded-heading i, .inclusion-grid > div:last-child li i { color: #dc2626; }
  .trek-booking-card { position: sticky; top: 94px; }
  .trek-price { font-size: 1.45rem; font-weight: 900; margin-bottom: 16px; }
  .trek-price small { color: var(--text-muted); font-size: .7rem; font-weight: 600; }
  .trek-booking-card .btn { margin-top: 10px; width: 100%; }
  .related-trips { padding: 70px 0; }
  .related-trips-grid { margin: 0 -10px; }
  .related-trip-card { padding: 0 10px; }
  .related-trips-grid--static { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .related-trip-card a { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); display: block; overflow: hidden; }
  .related-trip-card img { height: 155px; object-fit: cover; width: 100%; }
  .related-trip-card div { padding: 14px; }
  .related-trip-card span { color: var(--primary); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
  .related-trip-card h3 { font-size: .9rem; line-height: 1.3; margin: 5px 0 12px; min-height: 2.4em; }
  .related-trip-card b { font-size: .75rem; }
  .trek-lightbox { align-items: center; background: rgba(0,0,0,.88); display: none; inset: 0; justify-content: center; padding: 30px; position: fixed; z-index: 9999; }
  .trek-lightbox.is-open { display: flex; }
  .trek-lightbox img { max-height: 90vh; max-width: 92vw; object-fit: contain; }
  .trek-lightbox-close { background: var(--white); border: 0; border-radius: 50%; cursor: pointer; height: 40px; position: absolute; right: 22px; top: 22px; width: 40px; }
  .trek-lightbox-nav { background: rgba(255,255,255,.9); border: 0; border-radius: 50%; cursor: pointer; height: 44px; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; }
  .trek-lightbox-prev { left: 22px; }
  .trek-lightbox-next { right: 22px; }
  .booking-popup { align-items: center; background: rgba(10,17,24,.68); display: none; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 9999; }
  .booking-popup.is-open { display: flex; }
  .booking-popup-dialog { background: var(--white); border-radius: var(--radius-md); max-height: 90vh; max-width: 520px; overflow-y: auto; padding: 30px; position: relative; width: 100%; }
  .booking-popup-dialog h2 { font-size: 1.4rem; margin-bottom: 5px; }
  .booking-popup-dialog > p { color: var(--text-muted); font-size: .85rem; margin-bottom: 20px; }
  .booking-popup-close { background: var(--light-bg); border: 0; border-radius: 50%; cursor: pointer; height: 34px; position: absolute; right: 16px; top: 16px; width: 34px; }
  .booking-popup .wpcf7-form { display: grid; gap: 12px; }
  .booking-popup .wpcf7-form-control-wrap input, .booking-popup .wpcf7-form-control-wrap textarea { border: 1px solid var(--card-border); border-radius: var(--radius-sm); font: inherit; padding: 10px 12px; width: 100%; }
  .booking-popup input[type="submit"] { background: var(--primary); border: 0; border-radius: 30px; cursor: pointer; font: inherit; font-weight: 800; padding: 12px 20px; }
  
  .whatsapp-btn {
    background-color: #25d366;
    color: var(--white);
    border-radius: 20px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-top: 10px;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  /* Responsive Styles */
  @media (max-width: 1024px) {
    .hero .container { flex-direction: column; align-items: flex-start; }
    .hero-stats { flex-direction: row; width: 100%; justify-content: space-between; margin-top: 20px; }
    .search-bar { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius-md); padding: 16px; gap: 12px; }
    .search-field { border-right: none; border-bottom: 1px solid #f1f5f9; padding: 8px 0; }
    .search-bar button { grid-column: span 2; width: 100%; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: span 3; }
    .why-us-content { flex-direction: column; align-items: flex-start; }
    .why-us-stats { width: 100%; grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .trek-facts { grid-template-columns: repeat(3, 1fr); }
    .related-trips-grid--static { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tours-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .events-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  
  @media (max-width: 768px) {
    .home-experience-grid{margin-bottom: 0;}
    .top-bar { display: none; }
    .mobile-toggle { display: block; }
    
    .nav-links {
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      background-color: var(--white);
      flex-direction: column;
      padding: 20px;
      gap: 0;
      box-shadow: var(--shadow-md);
      display: none;
      align-items: flex-start;
    }
    
    .nav-links.active { display: flex; }
    
    .nav-links li {
      width: 100%;
    }
    
    .nav-links a {
      padding: 12px 0;
      width: 100%;
      justify-content: space-between;
    }
  
    .nav-links .sub-menu {
      position: static;
      width: 100%;
      box-shadow: none;
      border: none;
      opacity: 1;
      visibility: visible;
      transform: none;
      display: none;
      padding-left: 15px;
      background: var(--light-bg);
    }
  
    .nav-links li.open > .sub-menu {
      display: block;
    }
  
    .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .slider-btn { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: span 2; }
    .post-layout, .detail-layout { grid-template-columns: 1fr; gap: 28px; }
    .detail-sidebar { position: static; }
    .trek-detail-layout { grid-template-columns: 1fr; }
    .trek-booking-card { position: static; }
    .trek-gallery { grid-template-rows: repeat(2, 120px); }
    .related-trips-grid--static { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .events-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .tour-page-actions { flex-direction: column; }
  }
  
  /* ============================================
     Blog listing (template-blog.php) & default archive (index.php)
     ============================================ */
  .blog-listing { padding: 70px 0 80px; background: var(--light-bg); }
  .blog-listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
  .blog-card--listing .blog-img-wrapper { height: 200px; }
  .blog-card--listing .blog-title { margin-bottom: 10px; }
  .blog-card-excerpt { color: var(--text-muted); font-size: .82rem; line-height: 1.6; margin-bottom: 14px; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .blog-card-footer { border-top: 1px dashed var(--card-border); display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 14px; }
  .blog-card-meta { align-items: center; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .blog-card-author,
  .blog-card-date { align-items: center; color: var(--text-dark); display: flex; font-size: .78rem; font-weight: 700; gap: 6px; }
  .blog-card-date { color: var(--text-muted); font-weight: 600; }
  .blog-card-author i,
  .blog-card-date i { color: var(--primary); }
  .blog-read-more { align-items: center; align-self: flex-end; background: rgba(242, 169, 0, .12); border-radius: 999px; color: var(--primary); display: inline-flex; font-size: .74rem; font-weight: 800; gap: 6px; padding: 8px 16px; transition: background .2s ease, color .2s ease; }
  .blog-read-more i { transition: transform .2s ease; }
  .blog-read-more:hover { background: var(--primary); color: #000; }
  .blog-read-more:hover i { transform: translateX(3px); }
  .blog-related { background: var(--light-bg); }

  /* Sidebar */
  .blog-sidebar { display: grid; gap: 20px; align-content: start; }
  .sidebar-widget { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 20px; }
  .sidebar-widget-title { font-size: .82rem; font-weight: 800; letter-spacing: .3px; margin-bottom: 14px; text-transform: uppercase; }
  .sidebar-search { padding: 10px; }
  .sidebar-search-form { align-items: center; background: var(--light-bg); border-radius: 30px; display: flex; padding: 4px 4px 4px 16px; }
  .sidebar-search-form input { background: transparent; border: 0; flex: 1; font: inherit; font-size: .85rem; outline: none; padding: 8px 0; }
  .sidebar-search-form button { align-items: center; background: var(--primary); border: 0; border-radius: 50%; color: #000; cursor: pointer; display: flex; height: 34px; justify-content: center; width: 34px; flex-shrink: 0; }
  .sidebar-category-list { display: grid; gap: 4px; }
  .sidebar-category-list a { align-items: center; border-radius: var(--radius-sm); display: flex; font-size: .85rem; font-weight: 600; justify-content: space-between; padding: 8px 10px; }
  .sidebar-category-list a:hover { background: var(--light-bg); color: var(--primary); }
  .sidebar-count { color: var(--text-muted); font-size: .7rem; font-weight: 700; }
  .sidebar-recent-posts { display: grid; gap: 14px; }
  .sidebar-recent-post { align-items: center; display: flex; gap: 10px; }
  .sidebar-recent-post img { border-radius: var(--radius-sm); height: 52px; object-fit: cover; width: 52px; flex-shrink: 0; }
  .sidebar-recent-post span { display: flex; flex-direction: column; gap: 3px; }
  .sidebar-recent-post strong { font-size: .8rem; line-height: 1.3; }
  .sidebar-recent-post:hover strong { color: var(--primary); }
  .sidebar-recent-post em { color: var(--text-muted); font-size: .68rem; font-style: normal; }
  .sidebar-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .sidebar-tag-list a { background: var(--light-bg); border-radius: 999px; font-size: .72rem; font-weight: 700; padding: 6px 12px; }
  .sidebar-tag-list a:hover { background: var(--primary); color: #000; }
  .sidebar-cta { background: linear-gradient(160deg, var(--dark), #1c2a36); color: var(--white); text-align: center; }
  .sidebar-cta i { color: var(--primary); font-size: 1.6rem; margin-bottom: 10px; }
  .sidebar-cta h4 { font-size: .95rem; margin-bottom: 6px; }
  .sidebar-cta p { color: #94a3b8; font-size: .78rem; margin-bottom: 16px; }
  .sidebar-cta .btn { width: 100%; }

  /* ============================================
     Blog details (single.php)
     ============================================ */
  .blog-detail-hero .badge { display: inline-block; margin-bottom: 14px; }
  .blog-detail-hero h1 { margin-bottom: 14px; }
  .blog-detail-meta { color: #cbd5e1; display: flex; flex-wrap: wrap; font-size: .82rem; gap: 20px; }
  .blog-detail-meta i { color: var(--primary); margin-right: 5px; }
  .post-tags { align-items: center; border-top: 1px dashed var(--card-border); clear: both; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; }
  .post-tags i { color: var(--primary); margin-right: 4px; }
  .post-tags a { background: var(--light-bg); border-radius: 999px; font-size: .75rem; font-weight: 700; padding: 6px 14px; }
  .post-tags a:hover { background: var(--primary); color: #000; }
  .author-box { align-items: center; background: var(--light-bg); border-radius: var(--radius-md); clear: both; display: flex; gap: 16px; margin-top: 24px; padding: 20px; }
  .author-box img { border-radius: 50%; flex-shrink: 0; }
  .author-box-kicker { color: var(--text-muted); font-size: .68rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
  .author-box h3 { font-size: 1rem; margin: 2px 0 4px; }
  .author-box p { color: var(--text-muted); font-size: .82rem; line-height: 1.5; }
  .post-nav { border-top: 1px solid var(--card-border); display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-top: 28px; padding-top: 24px; }
  .post-nav-link { align-items: center; background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-sm); display: flex; gap: 12px; padding: 14px 16px; transition: border-color .2s ease, transform .2s ease; }
  .post-nav-link:hover { border-color: var(--primary); transform: translateY(-2px); }
  .post-nav-link i { color: var(--primary); }
  .post-nav-link span { display: flex; flex-direction: column; font-size: .84rem; font-weight: 700; gap: 2px; }
  .post-nav-link small { color: var(--text-muted); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
  .post-nav-next { justify-content: flex-end; text-align: right; }
  .post-nav-next span { align-items: flex-end; }

  /* Comments */
  .comments-section { border-top: 1px solid var(--card-border); margin-top: 36px; padding-top: 32px; }
  .comments-title { font-size: 1.15rem; margin-bottom: 20px; }
  .comment-list { display: grid; gap: 18px; list-style: none; margin: 0 0 30px; }
  .comment-list .children { display: grid; gap: 18px; list-style: none; margin-top: 18px; padding-left: 30px; }
  .comment-body { background: var(--light-bg); border-radius: var(--radius-md); padding: 18px 20px; }
  .comment-author.vcard { align-items: center; display: flex; gap: 10px; }
  .comment-author .avatar { border-radius: 50%; }
  .comment-author .fn { font-size: .88rem; font-style: normal; }
  .comment-metadata { color: var(--text-muted); font-size: .7rem; margin: 4px 0 10px; }
  .comment-metadata a { color: inherit; }
  .comment-content p { font-size: .86rem; line-height: 1.6; margin: 0; }
  .comment-reply-link { color: var(--primary); font-size: .75rem; font-weight: 800; }
  .comments-closed { color: var(--text-muted); font-size: .85rem; }
  #commentform p { margin-bottom: 14px; }
  #commentform label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 6px; }
  #commentform input[type="text"],
  #commentform input[type="email"],
  #commentform input[type="url"],
  #commentform textarea { border: 1px solid var(--card-border); border-radius: var(--radius-sm); font: inherit; padding: 10px 12px; width: 100%; }
  #commentform .comment-notes,
  #commentform .comment-form-cookies-consent { color: var(--text-muted); font-size: .78rem; }
  #commentform .form-submit input { background: var(--primary); border: 0; border-radius: 30px; cursor: pointer; font: inherit; font-weight: 800; padding: 12px 24px; }

  /* ============================================
     Contact page (template-contact.php)
     ============================================ */
  .contact-info-card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); cursor: pointer; padding: 28px 20px; transition: transform .25s ease, box-shadow .25s ease; }
  .contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
  .contact-info-card .feature-desc { word-break: break-word; }
  .contact-info-strip { padding-bottom: 24px; }
  .contact-page-content { background: var(--light-bg); padding-top: 24px; }
  .contact-grid { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr; align-items: start; }
  .contact-form-intro { color: var(--text-muted); font-size: .88rem; margin-bottom: 20px; }
  .contact-form-card .wpcf7-form p { margin-bottom: 16px; }
  .contact-form-card .wpcf7-form label { color: var(--text-dark); display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
  .contact-form-card .wpcf7-form-control-wrap input,
  .contact-form-card .wpcf7-form-control-wrap textarea,
  .contact-form-card .wpcf7-form-control-wrap select { border: 1px solid var(--card-border); border-radius: var(--radius-md); font: inherit; padding: 12px 16px; transition: border-color .2s ease, box-shadow .2s ease; width: 100%; }
  .contact-form-card .wpcf7-form-control-wrap input:focus,
  .contact-form-card .wpcf7-form-control-wrap textarea:focus,
  .contact-form-card .wpcf7-form-control-wrap select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(242, 169, 0, .15); outline: none; }
  .contact-form-card input[type="submit"] { background: var(--primary); border: 0; border-radius: 30px; cursor: pointer; font: inherit; font-weight: 800; padding: 13px 28px; transition: background .2s ease, transform .2s ease; }
  .contact-form-card input[type="submit"]:hover { background: var(--primary-hover); transform: translateY(-2px); }
  .contact-form-fallback-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
  .contact-map-card { display: grid; gap: 20px; }
  .contact-map-frame { border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); height: 260px; width: 100%; }
  .contact-map-placeholder { align-items: center; background: var(--white); border: 1px dashed var(--card-border); border-radius: var(--radius-md); color: var(--text-muted); display: flex; flex-direction: column; gap: 10px; height: 260px; justify-content: center; padding: 20px; text-align: center; }
  .contact-map-placeholder i { color: var(--primary); font-size: 1.8rem; }
  .contact-hours-card h2 { align-items: center; display: flex; gap: 8px; }
  .contact-hours-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; margin-bottom: 16px; }
  .contact-faqs { margin-top: 60px; }
  .contact-faqs .section-heading { margin-bottom: 24px; }

  /* ============================================
     About page (template-about.php)
     ============================================ */
  .about-story { background: var(--white); padding: 80px 0; }
  .about-story-inner { align-items: flex-start; display: grid; gap: 50px; grid-template-columns: 1fr 1fr; }
  .about-story-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); height: 420px; object-fit: cover; width: 100%; }
  .about-story-text .section-heading { margin-bottom: 16px; }
  .read-more-content { margin-top: 1.25rem; }
  .read-more-btn { background: none; border: 0; color: var(--primary); cursor: pointer; font: inherit; font-weight: 700; font-size: .9rem; margin-top: 14px; padding: 0; text-decoration: underline; }
  .read-more-btn:hover { color: var(--primary-hover); }
  .about-numbers-heading { margin-bottom: 36px; text-align: center; }
  .about-numbers-heading .section-heading { margin-bottom: 0; }
  .about-numbers .why-us-stats { flex-grow: 0; }
  .team-section { background: var(--light-bg); padding: 80px 0; }
  .team-section .section-heading { margin-bottom: 34px; }
  .team-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .team-card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 28px 20px; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
  .team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
  .team-card-photo { border-radius: 50%; height: 100px; margin: 0 auto 16px; overflow: hidden; width: 100px; }
  .team-card-photo img { height: 100%; object-fit: cover; width: 100%; }
  .team-card h3 { font-size: .98rem; margin-bottom: 3px; }
  .team-card-role { color: var(--primary); display: block; font-size: .72rem; font-weight: 800; letter-spacing: .4px; margin-bottom: 12px; text-transform: uppercase; }
  .team-card p { color: var(--text-muted); font-size: .8rem; line-height: 1.5; margin-bottom: 14px; }
  .team-card-socials { display: flex; gap: 8px; justify-content: center; }
  .team-card-socials a { align-items: center; background: var(--light-bg); border-radius: 50%; display: flex; height: 32px; justify-content: center; width: 32px; }
  .team-card-socials a:hover { background: var(--primary); color: #000; }

  .team-card--image-left, .team-card--image-right { align-items: center; display: flex; gap: 40px; grid-column: 1 / -1; padding: 40px; text-align: left; }
  .team-card--image-right { flex-direction: row-reverse; }
  .team-card--image-left .team-card-photo, .team-card--image-right .team-card-photo { flex-shrink: 0; height: 160px; margin: 0; width: 160px; }
  .team-card--image-left .team-card-socials, .team-card--image-right .team-card-socials { justify-content: flex-start; }

  @media (max-width: 768px) {
    .team-card--image-left, .team-card--image-right { flex-direction: column; padding: 28px 20px; text-align: center; }
    .team-card--image-left .team-card-photo, .team-card--image-right .team-card-photo { height: 100px; margin: 0 auto 16px; width: 100px; }
    .team-card--image-left .team-card-socials, .team-card--image-right .team-card-socials { justify-content: center; }
  }
  /* Background image + overlay now set inline from the CTA's own ACF field (see template-about.php); this is just a fallback in case that style attribute is ever missing. */
  .about-cta { background-color: var(--dark); color: var(--white); padding: 60px 0; }
  .about-cta-inner { align-items: center; display: flex; gap: 24px; justify-content: space-between; }
  .about-cta-inner h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
  .about-cta-inner p { color: #cbd5e1; font-size: .9rem; }
  .about-cta-inner .btn { flex-shrink: 0; }

  /* Generic Page "Call To Action" banner (page.php) — a rounded, inset card rather
     than a full-bleed section like .about-cta. */
  .page-cta-card { align-items: center; background-color: var(--dark); background-position: center; background-size: cover; border-radius: var(--radius-lg); color: var(--white); display: flex; gap: 24px; justify-content: space-between; margin-top: 48px; padding: 40px 48px; }
  .page-cta-text h2 { font-size: 1.5rem; margin-bottom: 8px; }
  .page-cta-text p { color: #cbd5e1; font-size: .9rem; line-height: 1.5; max-width: 480px; }
  .page-cta-btn { align-items: center; background: var(--white); border-radius: 30px; color: var(--dark); display: flex; flex-shrink: 0; font-size: .85rem; font-weight: 800; gap: 8px; padding: 14px 24px; transition: transform .2s ease, box-shadow .2s ease; }
  .page-cta-btn:hover { box-shadow: var(--shadow-md); color: var(--dark); transform: translateY(-2px); }

  @media (max-width: 700px) {
    .page-cta-card { flex-direction: column; padding: 32px 24px; text-align: center; }
    .page-cta-text p { max-width: none; }
    .page-cta-btn { width: 100%; justify-content: center; }
  }

  @media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
    .about-story-inner { grid-template-columns: 1fr; }
    .about-story-image img { height: 300px; }
  }

  @media (max-width: 768px) {
    .blog-listing-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav-next { justify-content: flex-start; text-align: left; }
    .comment-list .children { padding-left: 16px; }
    .about-cta-inner { flex-direction: column; text-align: center; }
    .features { padding-bottom: 40px; }
    /* Inclusions/Exclusions: one column, Inclusions above Exclusions (already their
       DOM order — stacking the grid is enough to get that order). */
    .inclusion-grid { grid-template-columns: 1fr; gap: 28px; }
  }

  @media (max-width: 480px) {
    .search-bar { grid-template-columns: 1fr; }
    .search-bar button { grid-column: span 1; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* .why-us-stats { grid-template-columns: 1fr; } */
    .why-us-stats { grid-template-columns: repeat(2, 1fr) !important; }
    .features-grid { grid-template-columns: 1fr; }
    .contact-info-strip .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .home-experience-grid{margin-bottom: 0 !important;}
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .newsletter-form { flex-direction: column; background: transparent; gap: 10px; }
    .newsletter-form input { background: var(--white); }
    .newsletter-form button { width: 100%; }
    .book-now-btn { padding: 8px 16px; }
    .tours-grid { grid-template-columns: 1fr; }
    .trek-gallery { display: flex; height: 240px; }
    .related-trips-grid--static { grid-template-columns: 1fr; }
    .trek-gallery-image { display: none; }
    .trek-gallery-image-1 { border-radius: var(--radius-md); display: block; flex: 1; }
    .trek-facts { grid-template-columns: 1fr 1fr; }
    .trek-fact:nth-child(odd) { border-left: 0; padding-left: 0; }
    .itinerary-details img { float: none; height: 170px; margin: 0 0 12px; width: 100%; }
    .trek-lightbox-nav { height: 38px; width: 38px; }
    .trek-lightbox-prev { left: 10px; }
    .trek-lightbox-next { right: 10px; }
    .events-page-grid { grid-template-columns: 1fr; }
  }

  /* ============================================
     Join From (Trek/Event detail city selector) — single row, horizontal scroll
     contained to this card only (never wraps, never affects page width).
     ============================================ */
  .join-from-section { overflow: hidden; }
  .join-from-grid { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; padding-bottom: 14px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .join-from-grid::-webkit-scrollbar { height: 6px; }
  .join-from-grid::-webkit-scrollbar-track { background: var(--light-bg); border-radius: 10px; }
  .join-from-grid::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 10px; }
  .join-from-grid::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
  .join-from-card { background: var(--white); border: 2px solid var(--card-border); border-radius: var(--radius-md); cursor: pointer; flex: 0 0 200px; overflow: hidden; padding: 0 0 12px; text-align: left; transition: border-color .2s ease, box-shadow .2s ease; }
  .join-from-card:hover { box-shadow: var(--shadow-sm); }
  .join-from-card.is-active { border-color: var(--primary); box-shadow: var(--shadow-md); }
  .join-from-card-image { background: var(--light-bg); display: block; height: 110px; position: relative; }
  .join-from-card-image img { display: block; height: 100%; object-fit: cover; width: 100%; }
  .join-from-card-badge { background: rgba(0, 0, 0, 0.6); border-radius: 4px; bottom: 8px; color: var(--white); font-size: .68rem; font-weight: 700; left: 8px; padding: 3px 8px; position: absolute; }
  .join-from-card-name { color: var(--text-dark); display: block; font-size: .92rem; font-weight: 700; margin: 12px 12px 2px; }
  .join-from-card-price { color: var(--text-dark); display: block; font-size: 1rem; font-weight: 800; margin: 0 12px; }

  @media (max-width: 600px) {
    .join-from-card { flex-basis: 160px; }
  }

  /* ============================================
     Places to Visit / Attractions (Trek & Event detail)
     ============================================ */
  .places-heading { align-items: center; display: flex; gap: 8px; }
  .places-heading i { color: var(--primary); }
  .places-subtext { color: var(--text-muted); font-size: .82rem; margin: -10px 0 16px; }
  .places-grid { display: grid; gap: 12px 32px; grid-template-columns: 1fr 1fr; list-style: none; }
  .places-grid li { align-items: center; display: flex; font-size: .85rem; font-weight: 600; gap: 10px; }
  .places-grid li i { color: var(--primary); }
  .places-note { border-top: 1px solid var(--card-border); color: var(--text-muted); font-size: .78rem; font-style: italic; margin-top: 18px; padding-top: 14px; }

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

  /* ============================================
     Per-city Itinerary panels (Trek & Event detail)
     ============================================ */
  .itinerary-panel { display: none; }
  .itinerary-panel.is-active { display: grid; }
  .itinerary-panel + .itinerary-panel { margin-top: 10px; }

  /* ============================================
     Volunteers page
     ============================================ */
  .volunteers-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding: 60px 0; }
  .volunteers-layout--no-sidebar { grid-template-columns: 1fr; }
  .volunteers-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .volunteer-card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 24px 16px; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
  .volunteer-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
  .volunteer-card-photo { border-radius: 50%; height: 96px; margin: 0 auto 14px; overflow: hidden; width: 96px; }
  .volunteer-card-photo img { height: 100%; object-fit: cover; width: 100%; }
  .volunteer-card-photo-placeholder { align-items: center; background: var(--light-bg); color: var(--text-muted); display: flex; font-size: 1.6rem; height: 100%; justify-content: center; width: 100%; }
  .volunteer-card-name { font-size: .98rem; margin-bottom: 4px; }
  .volunteer-card-label { color: var(--primary); display: block; font-size: .72rem; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
  .volunteers-sidebar { position: sticky; top: 94px; }

  @media (max-width: 900px) {
    .volunteers-layout { grid-template-columns: 1fr; }
    .volunteers-sidebar { position: static; }
  }

  /* Volunteer CTA card — shared by the Volunteers page sidebar and the Contact page. */
  .volunteer-cta-card { background: linear-gradient(135deg, #d99600, #f2a900 55%, #ffc94d); border-radius: var(--radius-md); color: var(--dark); padding: 32px 26px; }
  .volunteer-cta-icon { align-items: center; background: rgba(10, 17, 24, .15); border-radius: 14px; display: flex; height: 52px; justify-content: center; margin-bottom: 16px; width: 52px; }
  .volunteer-cta-icon i { color: var(--dark); font-size: 1.3rem; }
  .volunteer-cta-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 10px; opacity: .75; text-transform: uppercase; }
  .volunteer-cta-card h2 { font-size: 1.4rem; margin-bottom: 10px; }
  .volunteer-cta-card p { font-size: .88rem; line-height: 1.5; margin-bottom: 22px; opacity: .85; }
  .volunteer-cta-btn { align-items: center; background: var(--white); border-radius: 30px; color: var(--dark); display: flex; font-size: .85rem; font-weight: 800; gap: 8px; justify-content: center; letter-spacing: .4px; padding: 14px 20px; text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease; white-space: nowrap; }
  .volunteer-cta-btn:hover { box-shadow: var(--shadow-md); color: var(--dark); transform: translateY(-2px); }

  /* Horizontal banner variant — e.g. Contact page, above the FAQs */
  .volunteer-cta-banner { align-items: center; background: linear-gradient(135deg, #d99600, #f2a900 55%, #ffc94d); border-radius: var(--radius-md); color: var(--dark); display: flex; gap: 24px; margin: 40px 0; padding: 26px 32px; }
  .volunteer-cta-banner .volunteer-cta-icon { flex-shrink: 0; margin-bottom: 0; }
  .volunteer-cta-banner-text { flex: 1; }
  .volunteer-cta-banner-text .volunteer-cta-label { margin-bottom: 4px; }
  .volunteer-cta-banner-text h3 { font-size: 1.2rem; margin-bottom: 2px; }
  .volunteer-cta-banner-text p { font-size: .85rem; line-height: 1.4; margin: 0; opacity: .85; }
  .volunteer-cta-banner .volunteer-cta-btn { flex-shrink: 0; }

  @media (max-width: 700px) {
    .volunteer-cta-banner { flex-direction: column; text-align: center; }
    .volunteer-cta-banner .volunteer-cta-btn { width: 100%; }
  }

  /* ============================================
     Gallery page
     ============================================ */
  .gallery-page { padding: 60px 0; }
  .gallery-masonry { columns: 4 220px; column-gap: 16px; }
  .gallery-masonry-item { background: none; border: 0; break-inside: avoid; cursor: pointer; display: block; margin-bottom: 16px; padding: 0; position: relative; width: 100%; }
  .gallery-masonry-item img { border-radius: var(--radius-md); display: block; width: 100%; }
  .gallery-masonry-zoom { align-items: center; background: rgba(10, 17, 24, 0.55); border-radius: var(--radius-md); color: var(--white); display: flex; font-size: 1.4rem; inset: 0; justify-content: center; opacity: 0; position: absolute; transition: opacity .2s ease; }
  .gallery-masonry-item:hover .gallery-masonry-zoom { opacity: 1; }

  @media (max-width: 1024px) {
    .gallery-masonry { columns: 3 200px; }
  }

  @media (max-width: 600px) {
    .gallery-masonry { columns: 2 150px; }
  }

  /* ============================================
     Apply as a Volunteer page (long application form)
     ============================================ */
  .apply-volunteer-page { padding: 60px 0; }
  .apply-volunteer-card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin: 0 auto; max-width: 820px; padding: 44px; }
  .apply-volunteer-intro { color: var(--text-muted); font-size: .95rem; margin-bottom: 30px; text-align: center; }
  .apply-volunteer-card .wpcf7-form h3 { border-top: 1px solid var(--card-border); font-size: 1.05rem; margin: 30px 0 18px; padding-top: 26px; }
  .apply-volunteer-card .wpcf7-form h3:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
  .apply-volunteer-card .wpcf7-form p { margin-bottom: 18px; }
  .apply-volunteer-card .cf7-label { color: var(--text-dark); display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
  .apply-volunteer-card .wpcf7-form-control-wrap input[type="text"],
  .apply-volunteer-card .wpcf7-form-control-wrap input[type="email"],
  .apply-volunteer-card .wpcf7-form-control-wrap input[type="tel"],
  .apply-volunteer-card .wpcf7-form-control-wrap input[type="url"],
  .apply-volunteer-card .wpcf7-form-control-wrap input[type="date"],
  .apply-volunteer-card .wpcf7-form-control-wrap textarea,
  .apply-volunteer-card .wpcf7-form-control-wrap select { border: 1px solid var(--card-border); border-radius: var(--radius-md); font: inherit; padding: 12px 16px; transition: border-color .2s ease, box-shadow .2s ease; width: 100%; }
  .apply-volunteer-card .wpcf7-form-control-wrap input:focus,
  .apply-volunteer-card .wpcf7-form-control-wrap textarea:focus,
  .apply-volunteer-card .wpcf7-form-control-wrap select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(242, 169, 0, .15); outline: none; }
  .apply-volunteer-card .wpcf7-form-control-wrap textarea { min-height: 100px; resize: vertical; }
  .apply-volunteer-card .wpcf7-list-item { display: block; font-weight: 400; margin: 0 0 8px; }
  .apply-volunteer-card .wpcf7-acceptance .wpcf7-list-item { margin-bottom: 10px; }
  .apply-volunteer-card input[type="submit"] { background: var(--primary); border: 0; border-radius: 30px; cursor: pointer; font: inherit; font-weight: 800; margin-top: 10px; padding: 14px 32px; transition: background .2s ease, transform .2s ease; }
  .apply-volunteer-card input[type="submit"]:hover { background: var(--primary-hover); transform: translateY(-2px); }
  .apply-volunteer-card .wpcf7-response-output { border-radius: var(--radius-sm); font-size: .85rem; margin-top: 16px; }
  .apply-volunteer-card .wpcf7-not-valid-tip { color: #dc2626; font-size: .75rem; margin-top: 4px; }

  @media (max-width: 600px) {
    .apply-volunteer-card { padding: 28px 20px; }
  }
