/*
Theme Name: West Yorkshire Canoe Club V2
Theme URI: https://westyorkshirecanoeclub.com
Author: Ben Smith
Author URI: https://westyorkshirecanoeclub.com
Description: Custom WordPress theme for West Yorkshire Canoe Club featuring responsive design, mobile navigation, blog listing, and single post views.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wycc-v2
Tags: custom-menu, featured-images, footer-widgets, threaded-comments, translation-ready

West Yorkshire Canoe Club V2 WordPress Theme, Copyright 2025
*/

/* ===================================
   CSS Variables for easy customization
   =================================== */
:root {
    --primary-color: #1e40af;
    --primary-hover: #1e3a8a;
    --text-color: #1f2937;
    --text-hover: #1e40af;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===================================
   Page Loader
   =================================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-spinner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 115px;
    height: 115px;
    border: 3px solid transparent;
    border-top-color: #1e40af;
    border-right-color: #1e40af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-logo {
    width: 85px;
    height: auto;
    position: relative;
    z-index: 1;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* ===================================
   Header Container
   =================================== */

.site-header {
    background-color: var(--background-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Group header actions (cart + CTA buttons) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
    z-index: 1001;
}

.site-logo a {
    display: block;
    line-height: 0;
}

.site-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

/* Primary Navigation */
.primary-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Desktop menu - visible on desktop, hidden on mobile */
.desktop-menu {
    display: flex;
    flex: 1;
    justify-content: center;
}

/* Mobile menu - HIDDEN on desktop */
.mobile-menu {
    display: none;
    visibility: hidden;
}

/* Ensure mobile menu stays hidden on larger screens */
@media (min-width: 901px) {
    .mobile-menu {
        display: none !important;
        visibility: hidden !important;
    }
}

.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border-radius: 6px;
    white-space: nowrap;
}

.menu-item > a:hover,
.menu-item > a:focus {
    color: var(--text-hover);
    background-color: rgba(30, 64, 175, 0.05);
}

.current-menu-item > a,
.current-menu-parent > a {
    color: var(--primary-color);
}

/* Dropdown Indicators */
.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5rem;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: var(--transition);
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Sub-menus */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .menu-item {
    display: block;
}

.sub-menu .menu-item > a {
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    display: block;
    white-space: nowrap;
}

.sub-menu .menu-item > a:hover {
    background-color: rgba(30, 64, 175, 0.05);
    padding-left: 1.5rem;
}

/* Third-level menus */
.sub-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5rem;
    vertical-align: middle;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid currentColor;
    border-right: none;
    float: right;
    margin-top: 4px;
}

.sub-menu .sub-menu {
    left: 100%;
    top: 0;
    margin-top: 0;
    margin-left: 0.5rem;
}

/* Mobile Icons Container - hidden on desktop */
.mobile-icons {
    display: none;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    z-index: 1200;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: relative;
}

/* Mobile Header Cart Icon */
.mobile-header-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.mobile-header-cart .cart-icon {
    width: 24px;
    height: 24px;
}

.mobile-header-cart:hover {
    color: var(--primary-color);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* CTA Button */
.header-cta {
    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.cta-icon,
.arrow-icon {
    flex-shrink: 0;
}

.cta-icon {
    width: 20px;
    height: 20px;
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

/* Cart Button */
.header-cart {
    flex-shrink: 0;
}

.cart-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--background-white);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cart-button:hover {
    border-color: var(--primary-color);
    background-color: rgba(30, 64, 175, 0.05);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.cart-button:hover .cart-icon {
    color: var(--primary-color);
}

.cart-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: var(--transition);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--background-white);
}

/* ===================================
   Responsive Design - Desktop/Tablet
   =================================== */

@media (max-width: 1024px) {
    .header-container {
        padding: 0.75rem 1.5rem;
    }
    
    .menu {
        gap: 0.25rem;
    }
    
    .menu-item > a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .cart-button {
        width: 44px;
        height: 44px;
    }
}

/* ===================================
   Mobile Navigation
   =================================== */

@media (max-width: 900px) {
    /* Show mobile icons container */
    .mobile-icons {
        display: flex;
    }
    
    /* Hide desktop menu completely on mobile */
    .desktop-menu {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Enable mobile menu on mobile devices */
    .mobile-menu {
        display: flex !important;
        flex-direction: column;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 340px;
        max-width: 85vw;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        padding: 5.5rem 0 6rem;
        overflow-y: auto;
        overflow-x: hidden;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1100;
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    /* Scrollbar styling for mobile menu - only on mobile */
    .mobile-menu {
        scroll-behavior: smooth;
    }
    
    .mobile-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .mobile-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .mobile-menu::-webkit-scrollbar-thumb {
        background: rgba(30, 64, 175, 0.2);
        border-radius: 3px;
    }
    
    .mobile-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(30, 64, 175, 0.3);
    }
    
    .menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1.25rem 1rem 0 1rem;
        position: relative;
        z-index: 1;
        width: 100%;
    }
    
    .menu-item {
        border-radius: 10px;
        margin-bottom: 0.5rem;
        background-color: #ffffff;
        border: 1px solid #f3f4f6;
        transition: all 0.2s ease;
        position: relative;
        z-index: 1;
    }
    
    .menu-item:hover {
        border-color: #e5e7eb;
        box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08);
    }
    
    .menu-item > a {
        padding: 1.1rem 1.5rem;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 500;
        position: relative;
        transition: all 0.2s ease;
        color: var(--text-color);
        z-index: 2;
        cursor: pointer;
    }
    
    .menu-item > a:hover {
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.06) 0%, rgba(30, 64, 175, 0.02) 100%);
        color: var(--primary-color);
        padding-left: 1.75rem;
    }
    
    .menu-item > a:active {
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(30, 64, 175, 0.04) 100%);
    }
    
    /* Add subtle icon to menu items */
    .menu-item > a::before {
        content: '';
        position: absolute;
        left: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: linear-gradient(180deg, var(--primary-color) 0%, #3b82f6 100%);
        border-radius: 2px;
        transition: height 0.2s ease;
    }
    
    .menu-item > a:hover::before {
        height: 24px;
    }
    
    /* Dropdowns in mobile */
    .menu-item-has-children > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .menu-item-has-children > a::after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid currentColor;
        transition: transform 0.3s ease, color 0.2s ease;
        color: #9ca3af;
        flex-shrink: 0;
        margin-left: 0.5rem;
    }
    
    .menu-item-has-children > a:hover::after {
        color: var(--primary-color);
    }
    
    .menu-item-has-children.active {
        background-color: #f9fafb;
        border-color: #dbeafe;
        border-radius: 10px;
    }
    
    .menu-item-has-children.active > a {
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(30, 64, 175, 0.03) 100%);
        color: var(--primary-color);
        border-radius: 10px 10px 0 0;
    }
    
    .menu-item-has-children.active > a::after {
        transform: rotate(180deg);
        color: var(--primary-color);
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0 0 10px 10px;
        background-color: transparent;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }
    
    .menu-item-has-children.active > .sub-menu {
        max-height: 600px;
        padding: 0.5rem 0 0.75rem;
    }
    
    .sub-menu .menu-item {
        background-color: #ffffff;
        border: none;
        box-shadow: none;
        margin-bottom: 0.25rem;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .sub-menu .menu-item:hover {
        background-color: #fafbfc;
    }
    
    .sub-menu .menu-item > a {
        padding: 0.85rem 1.5rem 0.85rem 2.5rem;
        font-size: 0.95rem;
        font-weight: 400;
        color: #4b5563;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .sub-menu .menu-item > a::before {
        left: 1.25rem;
        width: 2px;
        background: linear-gradient(180deg, #60a5fa 0%, var(--primary-color) 100%);
    }
    
    .sub-menu .menu-item > a:hover {
        padding-left: 2.75rem;
        color: var(--primary-color);
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.08) 0%, rgba(96, 165, 250, 0.02) 100%);
    }
    
    .sub-menu .menu-item > a:hover::before {
        height: 20px;
    }
    
    .sub-menu .sub-menu .menu-item > a {
        padding-left: 3.5rem;
        font-size: 0.9rem;
        color: #6b7280;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .sub-menu .sub-menu .menu-item > a::before {
        left: 2.25rem;
    }
    
    .sub-menu .sub-menu .menu-item > a:hover {
        padding-left: 3.75rem;
    }
    
    .sub-menu .menu-item-has-children > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .sub-menu .menu-item-has-children > a::after {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid currentColor;
        border-bottom: none;
        color: #9ca3af;
        flex-shrink: 0;
        margin-left: 0.5rem;
    }
    
    .sub-menu .menu-item-has-children > a:hover::after {
        color: var(--primary-color);
    }
    
    /* Hide desktop header actions on mobile */
    .header-actions {
        display: none;
    }
    
    .cart-button {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .site-logo img {
        height: 50px;
    }
    
    /* Scale down mobile icons on small screens */
    .mobile-icons {
        gap: 0.4rem;
    }
    
    .mobile-menu-toggle,
    .mobile-header-cart {
        width: 28px;
        height: 28px;
    }
    
    .mobile-header-cart .cart-icon {
        width: 22px;
        height: 22px;
    }
    
    .mobile-menu-toggle {
        padding: 3px;
    }
    
    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .cta-icon {
        width: 18px;
        height: 18px;
    }
    
    .arrow-icon {
        width: 14px;
        height: 14px;
    }
    
    .cart-button {
        width: 40px;
        height: 40px;
    }
    
    .cart-icon {
        width: 20px;
        height: 20px;
    }
    
    .cart-badge {
        min-width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    
    /* Hide text on very small screens, show only icons */
    .cta-button span {
        display: none;
    }
}

/* Accessibility */
.menu-item > a:focus,
.cta-button:focus,
.cart-button:focus,
.mobile-menu-toggle:focus,
.mobile-header-cart:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .mobile-icons,
    .header-actions {
        display: none;
    }
}

/* ===================================
   Breadcrumb Navigation
   =================================== */

.breadcrumb-container {
    background-color: #f9fafb;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.75rem;
    border-left: 5px solid #9ca3af;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #6b7280;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumb-link:hover {
    color: var(--primary-color);
    background-color: rgba(30, 64, 175, 0.05);
}

.breadcrumb-home-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.breadcrumb-current {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.25rem 0.5rem;
}

.breadcrumb-active {
    pointer-events: none;
}

/* Responsive Breadcrumb */
@media (max-width: 640px) {
    .breadcrumb-container {
        padding: 0.5rem 0;
    }
    
    .breadcrumb {
        padding: 0 1rem;
        font-size: 0.85rem;
        gap: 0.35rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 0.5rem;
        border-left-width: 4px;
        border-top-width: 3px;
        border-bottom-width: 3px;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        padding: 0.2rem 0.35rem;
    }
}

/* ===================================
   Main Content Area
   =================================== */

.site-main {
    background-color: #ffffff;
}

/* Featured Image Section */
.featured-image-container {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    position: relative;
    background-color: #f3f4f6;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
    object-position: center center;
}

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
}

.page-content h1,
.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.page-content p,
.entry-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.page-content a,
.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.page-content a:hover,
.entry-content a:hover {
    color: var(--primary-hover);
}

.page-content ul,
.page-content ol,
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.page-content li,
.entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.page-content img,
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.page-content blockquote,
.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
}

/* Entry Meta */
.entry-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #6b7280;
}

.entry-meta a {
    color: #6b7280;
    text-decoration: none;
}

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

/* Responsive Content */
@media (max-width: 1024px) {
    .content-container {
        padding: 2.5rem 1.5rem;
    }
    
    .page-content h1,
    .entry-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .featured-image-container {
        max-height: 300px;
    }
    
    .featured-image {
        max-height: 300px;
    }
}

@media (max-width: 640px) {
    .featured-image-container {
        max-height: 250px;
    }
    
    .featured-image {
        max-height: 250px;
    }
    
    .content-container {
        padding: 2rem 1rem;
    }
    
    .page-content h1,
    .entry-title {
        font-size: 1.75rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
    
    .page-content h3 {
        font-size: 1.25rem;
    }
}

/* ===================================
   Blog Archive / Listing View
   =================================== */

/* Archive Header */
.archive-header {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.archive-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.archive-description {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Container */
.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Blog Card */
.blog-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.blog-card-date,
.blog-card-author {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-card-date svg,
.blog-card-author svg {
    flex-shrink: 0;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-card-title {
    color: var(--primary-color);
}

.blog-card-excerpt {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.blog-card-read-more svg {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-read-more svg {
    transform: translateX(4px);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0.5rem 1rem;
    background-color: white;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-weight: 500;
    transition: var(--transition);
}

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

.pagination .page-numbers.current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .dots {
    color: #6b7280;
    padding: 0 0.5rem;
}

/* Responsive Blog Grid */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .archive-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .archive-header {
        padding: 2rem 0;
    }
    
    .archive-title {
        font-size: 1.75rem;
    }
    
    .archive-description {
        font-size: 1rem;
    }
    
    .blog-container {
        padding: 3rem 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .blog-container {
        padding: 2rem 1rem;
    }
    
    .pagination {
        gap: 0.35rem;
    }
    
    .pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* ===================================
   Footer Styles
   =================================== */

.site-footer {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 0 0;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

/* Brand Column */
.footer-brand {
    gap: 1.5rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
    display: block;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: #93c5fd;
    transform: translateX(4px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid white;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-4px);
}

/* Newsletter Column */
.footer-newsletter {
    gap: 1rem;
}

.footer-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.footer-subheading {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.newsletter-input {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-button:hover {
    background-color: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Locations & Links Columns */
.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding: 0;
}

/* Reset all WordPress menu styling for footer */
.footer-list,
.footer-locations .menu,
.footer-links .menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.5rem 0 0 0;
    padding: 0;
}

/* Style all menu items in footer as simple list items */
.footer-list li,
.footer-list .menu-item,
.footer-locations .menu-item,
.footer-links .menu-item {
    display: block;
    position: static;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

/* Style all links in footer uniformly */
.footer-link,
.footer-list a,
.footer-locations a,
.footer-links a {
    color: white !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    transform: none;
}

/* Arrow before footer links */
.footer-link::before,
.footer-list a::before,
.footer-locations a::before,
.footer-links a::before {
    content: '▸';
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    margin: 0;
}

/* Hover state for footer links */
.footer-link:hover,
.footer-list a:hover,
.footer-locations a:hover,
.footer-links a:hover {
    color: #93c5fd !important;
    transform: translateX(8px) !important;
    background: none !important;
    padding: 0 !important;
}

.footer-link:hover::before,
.footer-list a:hover::before,
.footer-locations a:hover::before,
.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    text-align: center;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Remove any submenu indicators and styles from footer menus */
.footer-list .menu-item-has-children > a::after {
    display: none !important;
}

.footer-list .sub-menu {
    display: none !important;
}

.footer-list .menu-item-has-children:hover > a,
.footer-list .menu-item-has-children > a {
    background: none !important;
    padding: 0 !important;
}

.footer-list .menu-item > a {
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
}

/* Ensure footer links maintain white color */
.site-footer .footer-list a,
.site-footer .footer-link {
    color: white !important;
}

.site-footer .footer-list a:hover,
.site-footer .footer-link:hover {
    color: #93c5fd !important;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 3rem 0 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 1.5rem 2rem;
        gap: 2rem;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-heading {
        font-size: 1.25rem;
    }
    
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.sticky {
    /* Sticky post styles if needed */
}

.bypostauthor {
    /* Author post styles if needed */
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ===================================
   Hero Image Carousel
   =================================== */

.hero-carousel-section {
    width: 100%;
    background-color: #000;
    position: relative;
}

.hero-carousel-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

/* Carousel Slides */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Carousel Overlay */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.carousel-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.carousel-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.carousel-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.carousel-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.6);
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-control:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

.carousel-control svg {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-indicators .indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background-color: white;
    width: 32px;
    border-radius: 6px;
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .hero-carousel {
        height: 500px;
    }
    
    .carousel-title {
        font-size: 2.5rem;
    }
    
    .carousel-description {
        font-size: 1.25rem;
    }
    
    .carousel-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .carousel-control {
        width: 48px;
        height: 48px;
    }
    
    .carousel-control.prev {
        left: 1.5rem;
    }
    
    .carousel-control.next {
        right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 400px;
    }
    
    .carousel-content {
        padding: 1.5rem;
    }
    
    .carousel-title {
        font-size: 2rem;
    }
    
    .carousel-description {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-button {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-control.prev {
        left: 1rem;
    }
    
    .carousel-control.next {
        right: 1rem;
    }
    
    .carousel-indicators {
        bottom: 1.5rem;
    }
    
    .carousel-indicators .indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicators .indicator.active {
        width: 24px;
    }
}

@media (max-width: 640px) {
    .hero-carousel {
        height: 350px;
    }
    
    .carousel-title {
        font-size: 1.75rem;
    }
    
    .carousel-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .carousel-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .carousel-control {
        width: 36px;
        height: 36px;
    }
    
    .carousel-control.prev {
        left: 0.75rem;
    }
    
    .carousel-control.next {
        right: 0.75rem;
    }
}

/* Pause on Hover */
.hero-carousel:hover .carousel-slide.active .carousel-content {
    animation-play-state: paused;
}

/* ===================================
   Contact Page Template
   =================================== */

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-wrapper {
    width: 100%;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contact Methods Grid */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding-top: 1em;
}

.contact-method {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.contact-method-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.contact-method-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-method-icon.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.contact-method-icon.email {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
}

.contact-method-icon.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-method-content {
    flex: 1;
}

.contact-method-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-method-description {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-method-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.contact-method-link:hover {
    color: var(--primary-hover);
    gap: 0.75rem;
}

.contact-method-link svg {
    transition: var(--transition);
}

/* Contact Form Section */
.contact-form-section {
    background-color: #f9fafb;
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.contact-form-description {
    font-size: 1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Form 7 Styling */
.contact-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-wrapper .wpcf7-form p {
    margin: 0;
}

.contact-form-wrapper label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper input[type="url"],
.contact-form-wrapper textarea,
.contact-form-wrapper select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: white;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.contact-form-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-wrapper input[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: auto;
    align-self: flex-start;
}

.contact-form-wrapper input[type="submit"]:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.contact-form-wrapper .wpcf7-response-output {
    border: 2px solid var(--primary-color);
    background-color: rgba(30, 64, 175, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0 0 0;
}

.contact-form-wrapper .wpcf7-validation-errors {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.05);
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-container {
        padding: 2rem 1rem;
    }
    
    .contact-header {
        margin-bottom: 2.5rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-method-icon {
        margin: 0 auto;
    }
    
    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-title {
        font-size: 1.75rem;
    }
    
    .contact-form-wrapper input[type="submit"] {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 1.75rem;
    }
    
    .contact-form-section {
        padding: 1.5rem 1rem;
    }
    
    .contact-method {
        padding: 1.5rem;
    }
}

/* ===================================
   Documents Page Template
   =================================== */

.documents-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Documents Header */
.documents-header {
    margin-bottom: 2.5rem;
}

.documents-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.documents-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.documents-description p {
    margin: 0;
}

/* Documents Table Container */
.documents-table-container {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.documents-table {
    width: 100%;
    border-collapse: collapse;
}

.documents-table thead {
    background: linear-gradient(to right, var(--primary-color), #024bb8);
}

.documents-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

.documents-table th:last-child {
    text-align: center;
}

.documents-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s ease;
}

.documents-table tbody tr:last-child {
    border-bottom: none;
}

.documents-table tbody tr:hover {
    background: #f1f5f9;
}

.documents-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    vertical-align: top;
}

/* Document Name Cell */
.doc-name-cell {
    width: 55%;
}

.doc-name {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.doc-name a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.doc-name a:hover {
    color: #0255d4;
}

.doc-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.doc-type {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: #e0e7ff;
    color: #4338ca;
    font-weight: 500;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.doc-type.governance {
    background: #dbeafe;
    color: var(--primary-color);
}

.doc-type.financial {
    background: #dcfce7;
    color: #15803d;
}

.doc-type.policy {
    background: #fef3c7;
    color: #a16207;
}

.doc-type.risk {
    background: #fee2e2;
    color: #b91c1c;
}

.doc-description {
    font-size: 0.825rem;
    color: #64748b;
    line-height: 1.4;
    margin-top: 4px;
}

/* Date Cell */
.date-cell {
    color: #64748b;
    font-size: 0.85rem;
    white-space: nowrap;
    width: 20%;
}

/* Action Cell */
.action-cell {
    text-align: center;
    width: 15%;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #024bb8 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(1, 51, 160, 0.2);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(1, 51, 160, 0.3);
    background: linear-gradient(135deg, #024bb8 0%, var(--primary-color) 100%);
}

.download-icon {
    width: 16px;
    height: 16px;
}

/* Responsive Documents Table */
@media (max-width: 768px) {
    .documents-container {
        padding: 2rem 1rem;
    }
    
    .documents-title {
        font-size: 1.5rem;
    }
    
    .documents-table-container {
        border-radius: 8px;
        overflow-x: auto;
    }
    
    .documents-table {
        min-width: 600px;
    }
    
    .documents-table th {
        padding: 10px 12px;
        font-size: 0.7rem;
    }
    
    .documents-table td {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .doc-icon {
        width: 18px;
        height: 18px;
    }
    
    .doc-type {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .download-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .documents-container {
        padding: 1.5rem 0.75rem;
    }
    
    .documents-header {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .documents-table {
        min-width: 550px;
    }
}

/* ===================================
   Documents Page Template
   =================================== */

.documents-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Documents Header */
.documents-header {
    margin-bottom: 3rem;
}

.documents-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.documents-intro {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.8;
}

.documents-intro p {
    margin-bottom: 1rem;
}

/* Documents Table Container */
.documents-table-container {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.documents-table {
    width: 100%;
    border-collapse: collapse;
}

.documents-table thead {
    background: linear-gradient(to right, var(--primary-color), #024bb8);
}

.documents-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

.documents-table th:last-child {
    text-align: center;
}

.documents-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s ease;
}

.documents-table tbody tr:last-child {
    border-bottom: none;
}

.documents-table tbody tr:hover {
    background: #f1f5f9;
}

.documents-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    vertical-align: top;
}

/* Document Name Cell */
.doc-name-cell {
    width: 55%;
}

.doc-name {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.doc-name a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.doc-name a:hover {
    color: #0255d4;
}

.doc-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Document Type Badge */
.doc-type {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: #e0e7ff;
    color: #4338ca;
    font-weight: 500;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.doc-type.governance {
    background: #dbeafe;
    color: var(--primary-color);
}

.doc-type.financial {
    background: #dcfce7;
    color: #15803d;
}

.doc-type.policy {
    background: #fef3c7;
    color: #a16207;
}

.doc-type.risk {
    background: #fee2e2;
    color: #b91c1c;
}

/* Document Description */
.doc-description {
    font-size: 0.825rem;
    color: #64748b;
    line-height: 1.4;
    margin-top: 4px;
}

/* Date Cell */
.date-cell {
    color: #64748b;
    font-size: 0.85rem;
    white-space: nowrap;
    width: 20%;
}

/* Action Cell */
.action-cell {
    text-align: center;
    width: 15%;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    background: #024bb8;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.download-icon {
    width: 16px;
    height: 16px;
}

/* Responsive Documents Page */
@media (max-width: 1024px) {
    .documents-container {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .documents-container {
        padding: 2rem 1rem;
    }
    
    .documents-header {
        margin-bottom: 2rem;
    }
    
    .documents-title {
        font-size: 2rem;
    }
    
    .documents-intro {
        font-size: 1rem;
    }
    
    .documents-table-container {
        overflow-x: auto;
    }
    
    .documents-table {
        min-width: 600px;
    }
    
    .documents-table th,
    .documents-table td {
        padding: 10px 12px;
    }
    
    .doc-name {
        font-size: 0.875rem;
    }
    
    .doc-description {
        font-size: 0.75rem;
    }
    
    .date-cell {
        font-size: 0.75rem;
    }
    
    .download-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .download-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .documents-title {
        font-size: 1.75rem;
    }
    
    .documents-table {
        min-width: 550px;
    }
}



.tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.tabs-wrapper::-webkit-scrollbar {
    height: 6px;
}

.tabs-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.tabs-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* ===================================
   Event Page Tabs
   =================================== */

.event-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
    padding: 0;
    min-width: min-content;
}

.event-tab {
    padding: 12px 24px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    bottom: -2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.event-tab:hover {
    color: #2563eb;
    background-color: #f9fafb;
    border-radius: 8px 8px 0 0;
}

.event-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

/* Mobile optimizations



/* Container styling */
.mc-event-list-container {
    margin: 0 auto;
    padding: 20px;
}

/* Remove default list styling */
.mc-event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Individual event items */
.mc-event-list li {
    background: #fff;
    border-left: 4px solid #2c5f8d;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mc-event-list li:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateX(5px);
}

/* Date/time styling */
.mc-event-list li strong {
    display: block;
    color: #555;
    font-size: 0.9em;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Time and date spans */
.mc_tb, .mc_te {
    color: #2c5f8d;
    font-weight: 700;
}

.mc_db {
    color: #333;
}

/* Event link styling */
.mc-event-list li a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    display: inline-block;
    transition: color 0.2s ease;
}

.mc-event-list li a:hover {
    color: #2c5f8d;
}

/* Category-specific border colors */
.mc_pool-session {
    border-left-color: #3498db;
}

.mc_general {
    border-left-color: #27ae60;
}

/* Optional: Add icons or indicators */
.mc-icon {
    margin-right: 8px;
}

/* Responsive design */
@media (max-width: 600px) {
    .mc-event-list-container {
        padding: 10px;
    }
    
    .mc-event-list li {
        padding: 12px 15px;
    }
    
    .mc-event-list li a {
        font-size: 1em;
    }
}