/* Trekking Trials Theme Custom Stylesheet - Design System & Responsive Foundation */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    /* Color Palette — matched to Official Trekking Trials Logo */
    --trekkingtrials-primary: #2d6a5a;       /* Teal Forest Green (mountains & wordmark) */
    --trekkingtrials-primary-hover: #235548; /* Darkened Green for hover state */
    --trekkingtrials-primary-deep: #1e4634;  /* Deep shade for footers & dark blocks */
    --trekkingtrials-secondary: #0f172a;     /* Dark Mountain Slate */
    --trekkingtrials-accent: #c87352;        /* Terracotta (compass star & arrow) */
    --trekkingtrials-accent-hover: #b3613f;  /* Hover Terracotta */
    --trekkingtrials-text: #2C3E50;          /* Dark Gray */
    --trekkingtrials-light-bg: #F8F9FA;      /* Light Background */
    --trekkingtrials-border: #E0E0E0;        /* Border Color */

    /* Typography */
    --font-heading: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Open Sans', 'Roboto', system-ui, -apple-system, sans-serif;

    /* Base Spacing Scale (8px Grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 64px;

    /* Section Spacing */
    --section-spacing: 40px;
}

@media (min-width: 1024px) {
    :root {
        --section-spacing: 60px;
    }
}

/* Global Reset & Base Typography - Mobile First (<768px) */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--trekkingtrials-text);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--trekkingtrials-secondary);
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: var(--space-2);
}

h1, .h1 { font-size: 32px; }
h2, .h2 { font-size: 28px; }
h3, .h3 { font-size: 22px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 16px; }
h6, .h6 { font-size: 14px; }

/* Desktop Typography Overrides (>=1024px) */
@media (min-width: 1024px) {
    body {
        font-size: 16px;
    }
    h1, .h1 { font-size: 48px; }
    h2, .h2 { font-size: 36px; }
    h3, .h3 { font-size: 28px; }
    h4, .h4 { font-size: 22px; }
    h5, .h5 { font-size: 18px; }
    h6, .h6 { font-size: 16px; }
}

/* Section Spacing Utility */
.section-padding {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

/* Button Components */
.btn-primary-trek,
.btn-primary {
    background-color: var(--trekkingtrials-primary) !important;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--trekkingtrials-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.btn-primary-trek:hover,
.btn-primary:hover,
.btn-primary-trek:focus,
.btn-primary:focus {
    background-color: var(--trekkingtrials-primary-hover) !important;
    border-color: var(--trekkingtrials-primary-hover) !important;
    color: #ffffff !important;
    transform: scale(1.02);
}

.btn-secondary-trek,
.btn-outline-primary {
    background-color: transparent !important;
    color: var(--trekkingtrials-primary) !important;
    border: 1px solid var(--trekkingtrials-primary) !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.btn-secondary-trek:hover,
.btn-outline-primary:hover,
.btn-secondary-trek:focus,
.btn-outline-primary:focus {
    background-color: var(--trekkingtrials-primary) !important;
    color: #ffffff !important;
    transform: scale(1.02);
}

/* Card Components */
.card,
.trek-card {
    background-color: #ffffff;
    border: 1px solid var(--trekkingtrials-border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover,
.trek-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.trek-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Logo Styling */
.trekkingtrials-logo-img,
.custom-logo,
.navbar-brand img,
.custom-logo-link img {
    height: var(--trekkingtrials-logo-height, 50px) !important;
    max-height: var(--trekkingtrials-logo-height, 50px) !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.site-footer .trekkingtrials-logo-img,
.site-footer .custom-logo {
    height: auto !important;
    max-height: 65px !important;
}

.trekkingtrials-logo-img:hover,
.custom-logo:hover {
    opacity: 0.9;
}


/* Accordions & Tabs Components */
.accordion-item {
    border: 1px solid var(--trekkingtrials-border);
    border-radius: 8px;
    margin-bottom: var(--space-2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed),
.nav-tabs .nav-link.active,
.accordion-item.active {
    background-color: var(--trekkingtrials-light-bg) !important;
    border-left: 4px solid var(--trekkingtrials-primary) !important;
    color: var(--trekkingtrials-secondary) !important;
    transition: background-color 0.3s ease, border-left 0.3s ease;
}

.accordion-button {
    transition: all 0.3s ease;
}

[x-collapse] {
    overflow: hidden;
    transition: height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
}

[x-collapse].is-closing,
[x-collapse].is-opening {
    will-change: height, opacity;
}

/* Form Components */
:where(input[type="text"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="tel"],
input[type="search"],
textarea,
select) {
    border: 1px solid var(--trekkingtrials-border);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
}

.form-control,
.form-select {
    border: 1px solid var(--trekkingtrials-border);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--trekkingtrials-primary) !important;
    box-shadow: 0 0 0 3px rgba(30, 70, 52, 0.15) !important;
}

/* ==========================================================================
   Header & Navigation (Transparent Top, Sticky Scrolled, Multilevel Dropdowns)
   ========================================================================== */
.nav-item {
    position: relative;
}

/* Hover bridge padding overlay to eliminate gap disconnect */
.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: -20px;
    left: -10px;
    right: -10px;
    z-index: 1;
}

.dropdown-item-group::before {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -10px;
    right: -25px;
    z-index: 1;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px) scale(0.98);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    pointer-events: none;
    z-index: 99999 !important;
}

.dropdown-menu > div,
.flyout-menu > div {
    background-color: rgba(30, 41, 59, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5) !important;
}

.group:hover > .dropdown-menu,
.dropdown-item-group:hover > .flyout-menu,
.dropdown-menu:hover,
.flyout-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) translateX(0) scale(1) !important;
    pointer-events: auto !important;
}

.flyout-menu {
    position: absolute;
    top: 0;
    left: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px) scale(0.98);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    pointer-events: none;
    z-index: 99999 !important;
}




.nav-item::after, .dropdown-item-group::after {
    content: '';
    position: absolute;
    inset: -10px -10px;
    z-index: -1;
}


html,
html.admin-bar,
html[lang],
body,
body.admin-bar {
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

* html body {
    margin-top: 0 !important;
}

#primary,
.site-main,
.home-hero-bg,
#page-hero,
#taxonomy-hero,
#post-hero,
#contact-hero,
#regions-hero,
.page-hero,
.trek-hero {
    margin-top: -25px !important;
}

body.single-trek #primary,
body.single-trek #hero,
body.single-itinerary #primary,
body.single-itinerary #hero,
.single-trek #primary,
.single-trek #hero,
#hero {
    margin-top: 0 !important;
}

[x-cloak] {
    display: none !important;
}

#main-header,
header.site-header,
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    padding-top: var(--trekkingtrials-header-pt, 12px) !important;
    padding-right: var(--trekkingtrials-header-pr, 0px) !important;
    padding-bottom: var(--trekkingtrials-header-pb, 12px) !important;
    padding-left: var(--trekkingtrials-header-pl, 0px) !important;
    margin: 0 !important;
    margin-top: 0 !important;
    box-sizing: border-box !important;
    transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

#main-header.transparent-state,
header.site-header.transparent-state,
.site-header.transparent-state {
    background: linear-gradient(180deg, rgba(11, 28, 40, 0.82) 0%, rgba(11, 28, 40, 0.35) 65%, transparent 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

#main-header.scrolled-sticky-state,
header.site-header.scrolled-sticky-state,
.site-header.scrolled-sticky-state {
    background-color: rgba(19, 47, 69, 0.98) !important;
    backdrop-filter: blur(20px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
    padding-top: max(8px, calc(var(--trekkingtrials-header-pt, 12px) * 0.75)) !important;
    padding-bottom: max(8px, calc(var(--trekkingtrials-header-pb, 12px) * 0.75)) !important;
}

.group:hover > a .chevron-icon,
.dropdown-item-group:hover > a .chevron-icon-side {
    transform: rotate(180deg);
}
.dropdown-item-group:hover > a .chevron-icon-side {
    transform: translateX(3px);
}

/* Liquid Glass Navigation List */
.desktop-nav-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.25rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.desktop-nav-list > li {
    position: relative !important;
}

.desktop-nav-list > li > a {
    display: flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 9999px !important;
    color: rgba(241, 245, 249, 0.88) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
}

.desktop-nav-list > li > a:hover,
.desktop-nav-list > li:hover > a,
.desktop-nav-list > li.current-menu-item > a,
.desktop-nav-list > li.current-menu-ancestor > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

/* Submenu Dropdown Container */
.desktop-nav-list .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    padding-top: 0.5rem !important;
    list-style: none !important;
    margin: 0 !important;
    z-index: 9999 !important;
    min-width: 16rem !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(6px) !important;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease !important;
}

.desktop-nav-list li.menu-item-has-children:hover > .sub-menu,
.desktop-nav-list li.group:hover > .sub-menu,
.desktop-nav-list li.is-hovered > .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Nested Level 2 Flyouts */
.desktop-nav-list .sub-menu li {
    position: relative !important;
}

.desktop-nav-list .sub-menu .sub-menu {
    top: 0 !important;
    left: 100% !important;
    padding-top: 0 !important;
    padding-left: 0.5rem !important;
    transform: translateX(6px) !important;
}

.desktop-nav-list .sub-menu li:hover > .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
}

/* Position Static for Full-width Mega Menu */
.desktop-nav-list > li.position-relative-mega,
.desktop-nav-list > li.mega-menu {
    position: static !important;
}

/* Hide duplicate sub-menu for mega menu items */
.desktop-nav-list > li.position-relative-mega > ul.sub-menu,
.desktop-nav-list > li.mega-menu > ul.sub-menu {
    display: none !important;
}

/* Liquid Glass Mega Menu & Dropdowns (High Opacity / Low Transparency) */
.mega-menu-panel {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(6px) !important;
    right: auto !important;
    top: 100% !important;
    padding-top: 0.5rem !important;
    background: transparent !important;
    z-index: 9999 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease !important;
}

.desktop-nav-list li:hover > .mega-menu-panel,
.desktop-nav-list li.group:hover > .mega-menu-panel,
.desktop-nav-list li.is-hovered > .mega-menu-panel {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Invisible Hover Bridges */
.mega-menu-panel::before {
    content: '' !important;
    position: absolute !important;
    top: -15px !important;
    left: 0 !important;
    right: 0 !important;
    height: 20px !important;
    background: transparent !important;
    z-index: 1 !important;
}

.desktop-nav-list .sub-menu::before {
    content: '' !important;
    position: absolute !important;
    top: -15px !important;
    left: 0 !important;
    right: 0 !important;
    height: 20px !important;
    background: transparent !important;
    z-index: 1 !important;
}

/* Mega Menu & Dropdowns (Clean, Bright, High Contrast) */
.mega-menu-panel > div,
.liquid-glass-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    color: #0f172a !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    outline: none !important;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.14), 0 8px 20px -5px rgba(15, 23, 42, 0.06) !important;
    border-radius: 1rem !important;
}

.mega-menu-panel > div > div {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.desktop-nav-list .sub-menu > div,
.glass-dropdown-panel {
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    color: #0f172a !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    outline: none !important;
    box-shadow: 0 15px 35px -8px rgba(15, 23, 42, 0.12), 0 6px 14px -3px rgba(15, 23, 42, 0.05) !important;
    border-radius: 0.75rem !important;
}

/* Custom Navigation Slim Scrollbar */
.custom-nav-scrollbar::-webkit-scrollbar {
    width: 5px;
}
.custom-nav-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 9999px;
}
.custom-nav-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
.custom-nav-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Custom Mega Menu Slim Scrollbar */
.mega-menu-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}
.mega-menu-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.mega-menu-scrollbar::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 9999px;
}
.mega-menu-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
.mega-menu-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mobile Nav List */
.mobile-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-nav-list a {
    text-decoration: none !important;
}

.mobile-accordion-content {
    transition: all 0.3s ease !important;
}

.navbar-trekkingtrials .navbar-brand,
.navbar-trekkingtrials .nav-link,
.navbar-trekkingtrials .menu-item a,
.navbar-trekkingtrials li a,
.navbar-trekkingtrials a {
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.5rem 0.75rem;
    display: inline-block;
}

.navbar-trekkingtrials .nav-link:hover,
.navbar-trekkingtrials .menu-item a:hover,
.navbar-trekkingtrials li a:hover,
.navbar-trekkingtrials .current-menu-item > a,
.navbar-trekkingtrials .current-menu-ancestor > a {
    color: var(--trekkingtrials-accent, #d76c52) !important;
}

/* Ensure WordPress nav menu container uls render inline horizontal on desktop */
.navbar-trekkingtrials ul.navbar-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

/* Desktop Navbar Collapse Force Display (>=768px Bootstrap md breakpoint) */
/* Override Tailwind .collapse{visibility:collapse} that conflicts with Bootstrap */
@media (min-width: 768px) {
    .navbar-expand-md .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        visibility: visible !important;
    }
}

/* Mobile only: Bootstrap .collapse behavior — scoped to avoid desktop specificity conflict */
@media (max-width: 767.98px) {
    .navbar-collapse.collapse:not(.show) {
        display: none !important;
        visibility: visible !important;
    }

    .navbar-collapse.collapse.show {
        display: block !important;
        visibility: visible !important;
    }
}

.navbar-trekkingtrials .navbar-collapse {
    align-items: center;
    justify-content: space-between;
}

/* Sticky Header Compact Padding */
.navbar-scrolled {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Full-Width Header Grid Overlay Navigation System */
@media (min-width: 992px) {
    .navbar-trekkingtrials .position-relative-mega {
        position: relative !important;
    }
    
    .mega-menu-panel {
        top: 100% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(6px) !important;
    }

    /* Multi-Level Hover Visibility Rules */
    .group:hover > .mega-menu-panel {
        display: block !important;
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0) !important;
        pointer-events: auto !important;
    }

    .group:hover > .dropdown-menu,
    .group\/sub:hover > .dropdown-menu,
    .group\/deep:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) translateX(0) !important;
        pointer-events: auto !important;
    }
}

.extra-small {
    font-size: 0.75rem;
}

/* Mega Menu Sidebar Tabs (Clean No Shadow) */
.nav-mega-sidebar .nav-link {
    color: #334155 !important;
    font-size: 0.875rem;
    padding: 0.6rem 0.85rem;
    transition: all 0.18s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
    text-shadow: none !important;
}

.nav-mega-sidebar .nav-link:hover {
    color: var(--trekkingtrials-primary) !important;
    background-color: #f8fafc !important;
    border-left-color: rgba(30, 70, 52, 0.3);
}

.nav-mega-sidebar .nav-link.active {
    color: var(--trekkingtrials-primary) !important;
    background-color: #f1f5f9 !important;
    border-left-color: var(--trekkingtrials-primary) !important;
}

.nav-mega-sidebar .nav-link.active .badge {
    background-color: var(--trekkingtrials-primary) !important;
    color: #ffffff !important;
}

/* Modern 4-Column Route Lists */
.mega-route-list {
    margin-bottom: 0;
}

.mega-route-list li {
    margin-bottom: 0.35rem;
}

.mega-route-list a {
    color: #334155;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.18s ease;
    text-shadow: none !important;
}

.mega-route-list a:hover {
    color: var(--trekkingtrials-primary);
    background-color: #f1f5f9;
    padding-left: 0.7rem;
}

.mega-route-list a .badge-dur {
    font-size: 0.725rem;
    color: #64748b;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.15rem 0.45rem;
    border-radius: 50rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.mega-route-list a:hover .badge-dur {
    background-color: var(--trekkingtrials-primary);
    color: #ffffff;
    border-color: var(--trekkingtrials-primary);
}

/* Clean 3-Column Route Link Lists */
.mega-clean-list {
    margin-bottom: 0;
}

.mega-clean-list li {
    margin-bottom: 0.4rem;
}

.mega-clean-list a {
    color: #1e293b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem;
    border-radius: 0.375rem;
    transition: all 0.18s ease;
    white-space: nowrap;
    text-shadow: none !important;
}

.mega-clean-list a:hover {
    color: var(--trekkingtrials-primary);
    background-color: #f1f5f9;
    padding-left: 0.85rem;
}

.mega-clean-list a .badge-tag {
    font-size: 0.725rem;
    color: #64748b;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.18rem 0.55rem;
    border-radius: 50rem;
    margin-left: 0.75rem;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.mega-clean-list a:hover .badge-tag {
    background-color: var(--trekkingtrials-primary);
    color: #ffffff;
    border-color: var(--trekkingtrials-primary);
}

@keyframes fadeInDownCenter {
    from {
        opacity: 0;
        transform: translate(-50%, 8px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.nav-mega-tabs .nav-link {
    color: #475569 !important;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-mega-tabs .nav-link:hover {
    color: var(--trekkingtrials-primary) !important;
    background-color: rgba(30, 70, 52, 0.06) !important;
}

.nav-mega-tabs .nav-link.active {
    color: #ffffff !important;
    background-color: var(--trekkingtrials-primary) !important;
    box-shadow: 0 4px 12px rgba(30, 70, 52, 0.25);
}

.nav-mega-tabs .nav-link.active .badge {
    background-color: var(--trekkingtrials-accent) !important;
    color: #ffffff !important;
}

/* Responsive Grid & Breakpoint Rules */
/* Mobile First: 0px - 767px (default above) */

/* Tablet Breakpoint: 768px - 1023px */
@media (min-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .navbar-trekkingtrials .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background-color: #ffffff;
        border: 1px solid var(--trekkingtrials-border);
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        padding: 0.5rem 0;
    }

    .navbar-trekkingtrials .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* Desktop Breakpoint: 1024px+ */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Iframe & Widget Mobile Overflow Protection */
iframe, embed, object {
    max-width: 100% !important;
}

/* -------------------------------------------------------------
   Refined Layout System & Visual Rhythm Extensions
   ------------------------------------------------------------- */

/* Alternating Section Background Colors */
.bg-section-white {
    background-color: #ffffff !important;
}
.bg-section-alt {
    background-color: #f8f9fa !important;
}
.bg-section-tint {
    background-color: #f2f7f4 !important;
}
.bg-dark-block {
    background-color: var(--trekkingtrials-primary) !important;
    color: #ffffff;
}

.site-footer,
footer.site-footer,
footer.bg-dark {
    background-color: #132f45 !important;
}

/* Contact Form 7 inside Footer */
.trekkingtrials-footer-cf7 .wpcf7 form {
    margin: 0;
}
.trekkingtrials-footer-cf7 .wpcf7 p {
    margin-bottom: 0.5rem;
}
.trekkingtrials-footer-cf7 .wpcf7 input[type="text"],
.trekkingtrials-footer-cf7 .wpcf7 input[type="email"],
.trekkingtrials-footer-cf7 .wpcf7 input[type="tel"] {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 0 !important;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.trekkingtrials-footer-cf7 .wpcf7 input[type="text"]:focus,
.trekkingtrials-footer-cf7 .wpcf7 input[type="email"]:focus,
.trekkingtrials-footer-cf7 .wpcf7 input[type="tel"]:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}
.trekkingtrials-footer-cf7 .wpcf7 input[type="submit"] {
    background-color: #d76c52 !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}
.trekkingtrials-footer-cf7 .wpcf7 input[type="submit"]:hover {
    background-color: #c25940 !important;
}
.trekkingtrials-footer-cf7 .wpcf7-not-valid-tip {
    color: #f87171;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}
.trekkingtrials-footer-cf7 .wpcf7-response-output {
    margin: 0.75rem 0 0 0 !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem !important;
    border-radius: 0 !important;
    border-width: 1px !important;
    color: #ffffff !important;
}
.trekkingtrials-footer-cf7 .wpcf7-spinner {
    margin: 0.5rem auto 0 auto;
    display: block;
}

/* Distinct Section Vertical Padding */
.section-padding-lg {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
@media (min-width: 992px) {
    .section-padding-lg {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Custom Trekking Trials Tabbed Navigation */
.nav-tabs-trekkingtrials {
    border-bottom: 2px solid #e2e8f0;
    gap: 0.5rem;
}
.nav-tabs-trekkingtrials .nav-link {
    border: none !important;
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background: transparent;
}
.nav-tabs-trekkingtrials .nav-link:hover {
    color: var(--trekkingtrials-primary);
    background-color: rgba(30, 70, 52, 0.08);
}
.nav-tabs-trekkingtrials .nav-link.active {
    color: #ffffff !important;
    background-color: var(--trekkingtrials-primary) !important;
    box-shadow: 0 4px 12px rgba(30, 70, 52, 0.3);
}

/* Enhanced Primary & Secondary CTA Hierarchy */
.btn-start-trek,
.btn-primary-action {
    background: linear-gradient(135deg, #1e4634 0%, #143224 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(30, 70, 52, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-start-trek:hover,
.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 70, 52, 0.45);
    color: #ffffff !important;
}

.btn-accent-trek {
    background: linear-gradient(135deg, #d76c52 0%, #c25940 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(215, 108, 82, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-accent-trek:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(215, 108, 82, 0.45);
    color: #ffffff !important;
}

.btn-secondary-ghost {
    background-color: transparent !important;
    color: var(--trekkingtrials-primary) !important;
    border: 2px solid var(--trekkingtrials-primary) !important;
    font-weight: 600 !important;
    transition: all 0.25s ease;
}
.btn-secondary-ghost:hover {
    background-color: var(--trekkingtrials-primary) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Swiper Carousel Enhancements */
.swiper-trek-container {
    padding-bottom: 2.5rem !important;
}
.swiper-pagination-trek .swiper-pagination-bullet-active {
    background-color: var(--trekkingtrials-primary) !important;
    width: 24px;
    border-radius: 6px;
}

/* Micro-animations & Visual Polish Extensions */
.hover-up {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-up:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12) !important;
}

.transition-transform {
    transition: transform 0.4s ease;
}
.card:hover .transition-transform {
    transform: scale(1.05);
}

.backdrop-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hover-primary {
    transition: color 0.2s ease;
}
.hover-primary:hover {
    color: var(--trekkingtrials-primary) !important;
}

.fw-extrabold {
    font-weight: 800;
}

/* Category Card Premium Polish */
.category-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2) !important;
}
.category-card-img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.category-card:hover .category-card-img {
    transform: scale(1.1);
}
.category-card-overlay {
    transition: opacity 0.4s ease;
}
.category-card:hover .category-card-overlay {
    opacity: 0.95;
}

/* Additional Styles for Homepage 6-Section Redesign */
.hero-smart-search {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.trek-card-stats {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--trekkingtrials-primary);
    background-color: rgba(30, 70, 52, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.trek-card-highlights {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.45;
}

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

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

.season-card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

.season-card.active-season {
    border: 2px solid var(--trekkingtrials-primary);
    box-shadow: 0 8px 20px rgba(30, 70, 52, 0.15);
}

.trust-badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background-color: var(--trekkingtrials-primary);
    color: #ffffff;
}

/* Lucide Icon Standard Styling & Visibility Fix */
.lucide-icon,
svg.lucide,
[data-lucide] {
    display: inline-block !important;
    vertical-align: middle;
    stroke-width: 2px;
    stroke: currentColor;
    fill: none;
    width: 1em;
    height: 1em;
}

i[data-lucide] {
    min-width: 16px;
    min-height: 16px;
}

.feature-icon i[data-lucide],
.feature-icon svg,
.feature-icon .lucide-icon {
    width: 28px !important;
    height: 28px !important;
    stroke: #1e4634 !important;
    color: #1e4634 !important;
}

.trust-badge-icon i[data-lucide],
.trust-badge-icon svg,
.trust-badge-icon .lucide-icon {
    width: 28px !important;
    height: 28px !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.text-dark-heading {
    color: #0f172a !important;
}

.text-muted-body {
    color: #475569 !important;
}

/* Newsletter Section & Badge Styling */
.newsletter-badge {
    background-color: var(--trekkingtrials-accent) !important;
    color: #ffffff !important;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: none !important;
}

.newsletter-form-group {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    height: 52px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 0 !important;
}

.newsletter-btn {
    height: 52px;
    font-size: 1rem;
    background-color: var(--trekkingtrials-accent) !important;
    border-color: var(--trekkingtrials-accent) !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    transition: all 0.25s ease;
}

.newsletter-btn:hover {
    background-color: var(--trekkingtrials-accent-hover) !important;
    border-color: var(--trekkingtrials-accent-hover) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   Trek Archive Page Styles
   ========================================================================== */

/* Hero Banner */
.trek-archive-hero {
    background: linear-gradient(135deg, #1e4634 0%, #2d6a5a 40%, #358c6e 70%, #235548 100%);
    padding: 7rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.trek-archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.trek-archive-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #f8fafc, transparent);
    pointer-events: none;
}

/* Content Area — force white/light background */
.trek-archive-content {
    background-color: #f8fafc !important;
    position: relative;
    z-index: 1;
}

/* Filter Sidebar Card */
.trek-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.trek-filter-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trek-filter-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.trek-filter-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.trek-filter-select {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8.825a.5.5 0 0 1-.354-.146l-4-4a.5.5 0 0 1 .708-.708L6 7.618l3.646-3.647a.5.5 0 0 1 .708.708l-4 4A.5.5 0 0 1 6 8.825z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    cursor: pointer;
}

.trek-filter-select:focus {
    outline: none;
    border-color: var(--trekkingtrials-primary);
    box-shadow: 0 0 0 3px rgba(30, 70, 52, 0.12);
}

/* Trek Card */
.trek-archive-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.trek-archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.14),
                0 8px 16px -8px rgba(15, 23, 42, 0.06);
}

/* Difficulty Badge */
.trek-diff-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 50rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Line clamp for excerpt */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination styling */
.trek-archive-content .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.trek-archive-content .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.trek-archive-content .page-numbers:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--trekkingtrials-primary);
}

.trek-archive-content .page-numbers.current {
    background: var(--trekkingtrials-primary);
    border-color: var(--trekkingtrials-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(30, 70, 52, 0.3);
}

/* Mobile responsive tweaks */
@media (max-width: 1023.98px) {
    .trek-archive-hero {
        padding: 6rem 0 2rem;
    }
}

@media (max-width: 639.98px) {
    .trek-archive-hero {
        padding: 5.5rem 0 1.75rem;
    }

    .trek-archive-hero h1 {
        font-size: 1.75rem !important;
    }
}

/* ==========================================================================
   HOMEPAGE REDESIGN STYLES & ACCENTS (THEME COLOR MATCHED)
   ========================================================================== */

.home-hero-bg {
    margin-top: -25px !important;
    background-color: #0b1c28;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(30, 70, 52, 0.78) 50%, rgba(15, 23, 42, 0.92) 100%),
                url('https://images.unsplash.com/photo-1544735716-392fe2489ffa?auto=format&fit=crop&w=2000&q=85') center 30% / cover no-repeat,
                #0b1c28;
}

.hero-search-wrapper {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.home-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(45, 106, 90, 0.1);
    color: var(--trekkingtrials-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.home-section-badge.badge-accent {
    background: rgba(215, 108, 82, 0.12);
    color: #d76c52;
}

.region-mosaic-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.region-mosaic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.25);
}

.region-mosaic-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.region-mosaic-card:hover img {
    transform: scale(1.08);
}

.season-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.season-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
}

.resource-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(30, 70, 52, 0.12);
    border-color: rgba(45, 106, 90, 0.3);
}

.resource-card:hover .resource-icon-wrap {
    background: var(--trekkingtrials-primary);
    color: #ffffff;
    transform: scale(1.08);
}

.resource-icon-wrap {
    transition: all 0.3s ease;
}

.difficulty-pill {
    transition: all 0.25s ease;
}

.difficulty-pill:hover {
    border-color: var(--trekkingtrials-primary);
    background-color: #f0fdf4;
}

.testimonial-bubble {
    position: relative;
    border-radius: 1.25rem;
    transition: transform 0.25s ease;
}

.testimonial-bubble:hover {
    transform: translateY(-2px);
}

/* Search Results Template Styles */
.search-hero-bg {
    background-size: cover;
    background-position: center;
}

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

.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(30, 70, 52, 0.12);
}

/* Custom Trekking Trials Search Pagination */
.trekkingtrials-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.trekkingtrials-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #475569;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.trekkingtrials-pagination .page-numbers:hover {
    border-color: var(--trekkingtrials-primary);
    color: var(--trekkingtrials-primary);
    background-color: #f0fdf4;
}

.trekkingtrials-pagination .page-numbers.current {
    background-color: var(--trekkingtrials-primary);
    color: #ffffff;
    border-color: var(--trekkingtrials-primary);
    box-shadow: 0 4px 10px rgba(45, 106, 90, 0.25);
}

.trekkingtrials-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: #94a3b8;
}


