/*
Theme Name: FWDN Site Theme
Description: A custom WordPress theme for FWDN site with modern design and functionality.
Version: 1.0.0
Author: Sagar Prasai, Diverse Patterns
Text Domain: fwdn-site
*/

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

/* Force scrolling to work */
html {
    height: auto !important;
    overflow-y: scroll !important;
}

body {
    height: auto !important;
    overflow-y: visible !important;
    position: relative !important;
}

/* CSS Variables */
:root {
    --primary-dark: #37235a;
    --primary-accent: #e6007e;
    --secondary-accent: #2e4374;
    --highlight-cta: #ffc400;
    --neutral-white: #ffffff;
    --neutral-light-grey: #f8f9fa;
    --neutral-dark-grey: #495057;
    --text-color: #343a40;
}

/* Custom Tailwind-like utility classes */
.flex-1 { flex: 1 1 0%; }
.size-full { width: 100%; height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Ensure proper scrolling */
.group\/design-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    height: auto;
}

.w-full {
    width: 100%;
}

/* Ensure main content can expand and scroll */
main {
    flex: 1;
    height: auto;
    overflow: visible;
}

/* Remove any height constraints that might prevent scrolling */
.flex-1 {
    flex: 1 1 auto;
    min-height: 0;
}

/* Remove white space below footer */
footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure no extra spacing after footer */
.group\/design-root {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove any default WordPress spacing */
#page {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure body ends cleanly */
body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove any extra spacing from html */
html {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.-rotate-2 { --tw-rotate: -2deg; }
.rotate-2 { --tw-rotate: 2deg; }
.rotate-3 { --tw-rotate: 3deg; }
.scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.-translate-y-1 { --tw-translate-y: -0.25rem; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.hover\:text-\[var\(--primary-accent\)\]:hover { color: var(--primary-accent); }
.hover\:bg-opacity-90:hover { --tw-bg-opacity: 0.9; }
.group:hover .group-hover\:scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.group:hover .group-hover\:text-\[var\(--primary-accent\)\] { color: var(--primary-accent); }
.bg-center { background-position: center; }
.bg-no-repeat { background-repeat: no-repeat; }
.bg-cover { background-size: cover; }
.bg-contain { background-size: contain; }
.aspect-video { aspect-ratio: 16 / 9; }
.flex-shrink-0 { flex-shrink: 0; }
.size-12 { width: 3rem; height: 3rem; }
.inline-block { display: inline-block; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-x-12 { column-gap: 3rem; }
.gap-y-8 { row-gap: 2rem; }
.opacity-70 { opacity: 0.7; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-md { font-size: 1rem; line-height: 1.5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.leading-tight { line-height: 1.25; }
.tracking-tight { letter-spacing: -0.025em; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-gray-300 { color: rgb(209 213 219); }
.text-\[var\(--primary-dark\)\] { color: var(--primary-dark); }
.text-\[var\(--primary-accent\)\] { color: var(--primary-accent); }
.text-\[var\(--neutral-dark-grey\)\] { color: var(--neutral-dark-grey); }
.text-\[var\(--neutral-white\)\] { color: var(--neutral-white); }
.bg-\[var\(--primary-dark\)\] { background-color: var(--primary-dark); }
.bg-\[var\(--primary-accent\)\] { background-color: var(--primary-accent); }
.bg-\[var\(--secondary-accent\)\] { background-color: var(--secondary-accent); }
.bg-\[var\(--neutral-light-grey\)\] { background-color: var(--neutral-light-grey); }
.bg-\[var\(--neutral-white\)\] { background-color: var(--neutral-white); }
.bg-white { background-color: rgb(255 255 255); }
.bg-gray-50 { background-color: rgb(249 250 251); }
.p-10 { padding: 2.5rem; }
.p-8 { padding: 2rem; }
.p-6 { padding: 1.5rem; }
.p-4 { padding: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-12 { margin-bottom: 3rem; }
.h-96 { height: 24rem; }
.h-64 { height: 16rem; }
.h-56 { height: 14rem; }
.h-16 { height: 4rem; }
.h-12 { height: 3rem; }
.h-10 { height: 2.5rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0px; }
.min-w-\[90px\] { min-width: 90px; }
.max-w-\[480px\] { max-width: 480px; }
.grid-rows-2 { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg\:col-span-6 { grid-column: span 6 / span 6; }
.lg\:col-span-4 { grid-column: span 4 / span 4; }
.lg\:h-\[500px\] { height: 500px; }
.md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md\:col-span-2 { grid-column: span 2 / span 2; }
.md\:col-span-3 { grid-column: span 3 / span 3; }
.md\:p-16 { padding: 4rem; }
.md\:text-5xl { font-size: 3rem; line-height: 1; }
.md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.md\:flex-row { flex-direction: row; }
.md\:w-1\/2 { width: 50%; }
.md\:h-full { height: 100%; }
.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hidden { display: none; }
.lg\:flex { display: flex; }
.lg\:hidden { display: none; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.break-words { overflow-wrap: break-word; }
.overflow-hidden { overflow: hidden; }
.rounded-full { border-radius: 9999px; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.border-t { border-top-width: 1px; }
.border-gray-700 { border-color: rgb(55 65 81); }
.text-center { text-align: center; }
.text-gray-400 { color: rgb(156 163 175); }
.text-gray-300 { color: rgb(209 213 219); }
.text-white { color: rgb(255 255 255); }
.not-italic { font-style: normal; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.hover\:text-white:hover { color: rgb(255 255 255); }
.hover\:bg-gray-200:hover { background-color: rgb(229 231 235); }
.hover\:bg-opacity-90:hover { --tw-bg-opacity: 0.9; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.hover\:text-\[var\(--primary-accent\)\]:hover { color: var(--primary-accent); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

html, body {
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 100%;
}

body {
    font-family: "Work Sans", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--neutral-light-grey);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-accent);
    color: var(--neutral-white);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background-color: rgba(230, 0, 126, 0.9);
    color: var(--neutral-white);
}

.btn-secondary {
    background-color: var(--highlight-cta);
    color: var(--primary-dark);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.btn-secondary:hover {
    background-color: rgba(255, 196, 0, 0.9);
    color: var(--primary-dark);
}

/* Header Styles */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Fixed header state - applied via JavaScript */
.site-header.is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-title:hover {
    color: var(--primary-accent);
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: var(--primary-accent);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: all 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.menu-toggle-icon span {
    width: 20px;
    height: 2px;
    background-color: var(--primary-dark);
    transition: all 0.3s ease;
}

/* Main Content */
.site-main {
    padding: 2rem 0;
    min-height: 60vh;
}

.content-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Posts and Pages */
.post, .page {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.post-header, .page-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.post-title, .page-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
}

.post-content, .page-content {
    padding: 1.5rem;
}

.post-content p, .page-content p {
    margin-bottom: 1rem;
}

/* Sidebar */
.widget-area {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
}

.widget {
    margin-bottom: 2rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: #d1d5db;
    padding: 4rem 0;
    margin-top: 3rem;
}

.footer-content {
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 0.875rem;
}

/* Header Specific Styles */
.bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.top-0 {
    top: 0;
}

.z-50 {
    z-index: 50;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Sticky Header Animation Styles */
header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

/* Scrolled state - smaller header */
header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(55, 35, 90, 0.1);
}

header.header-scrolled .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Logo scaling on scroll */
header.header-scrolled .logo-container svg {
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-scrolled .logo-container h2 {
    font-size: 1.125rem;
    transition: font-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation menu scaling */
header.header-scrolled .main-navigation {
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-scrolled .main-navigation .nav-menu {
    gap: 1.5rem;
    transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-scrolled .main-navigation .nav-link {
    font-size: 0.875rem;
    transition: font-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button scaling */
header.header-scrolled .btn-secondary {
    height: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-scrolled .btn-secondary span {
    font-size: 0.75rem;
}

/* Action buttons scaling */
header.header-scrolled .action-buttons button {
    width: 2rem;
    height: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-scrolled .action-buttons button svg {
    width: 1rem;
    height: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header hide/show animations */
header.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-visible {
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure header is always visible by default */
header:not(.header-hidden) {
    transform: translateY(0) !important;
}

/* Mobile menu adjustments for scrolled state */
header.header-scrolled .mobile-menu-toggle {
    width: 2rem;
    height: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-scrolled .mobile-menu-toggle svg {
    width: 1rem;
    height: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced mobile menu for scrolled state */
header.header-scrolled #mobile-menu {
    margin-top: 0.5rem;
    transition: margin-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth transitions for all header elements */
header * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Performance optimization - use transform and opacity for animations */
header.header-scrolled {
    will-change: transform, background-color, box-shadow;
}

/* Ensure proper stacking context */
header {
    isolation: isolate;
}

/* Force header to stay on top of all content */
header,
header.header-scrolled,
header.header-hidden,
header.header-visible {
    z-index: 9999 !important;
}

/* Ensure no other elements can cover the header */
body > *:not(header) {
    position: relative;
    z-index: auto;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    header.header-scrolled .container {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
    
    header.header-scrolled .logo-container h2 {
        font-size: 1rem;
    }
    
    header.header-scrolled .main-navigation .nav-link {
        font-size: 0.8rem;
    }
    
    header.header-scrolled .btn-secondary {
        height: 1.75rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        font-size: 0.7rem;
    }
}

/* Reduced motion support for header animations */
@media (prefers-reduced-motion: reduce) {
    header,
    header *,
    header.header-scrolled,
    header.header-hidden,
    header.header-visible {
        transition: none !important;
        animation: none !important;
    }
    
    header.header-hidden {
        transform: none !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.justify-between {
    justify-content: space-between;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Utility Classes */
.flex { display: flex; }
.items-center { align-items: center; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.text-white { color: white; }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: bold; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.mb-4 { margin-bottom: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.hover\:text-white:hover { color: white; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.transition-colors { transition: color 0.3s ease; }
.rounded-full { border-radius: 9999px; }
.h-10 { height: 2.5rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.min-w-0 { min-width: 0; }
.min-w-\[90px\] { min-width: 90px; }
.max-w-\[480px\] { max-width: 480px; }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Navigation Link Styles */
.nav-link {
    color: var(--primary-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Responsive Navigation */
.hidden {
    display: none;
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }
}

/* Footer Specific Styles */
.bg-\[var\(--primary-dark\)\] {
    background-color: var(--primary-dark);
}

.text-gray-300 {
    color: #d1d5db;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.grid {
    display: grid;
}

.gap-8 {
    gap: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.pt-8 {
    padding-top: 2rem;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-700 {
    border-color: #374151;
}

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

.text-gray-400 {
    color: #9ca3af;
}

.not-italic {
    font-style: normal;
}

@media (min-width: 768px) {
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-area {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
    }
    
    .main-navigation.toggled ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Single Post Template Styles */
.prose {
    color: var(--text-color);
    line-height: 1.7;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h1 { font-size: 2.25rem; }
.prose h2 { font-size: 1.875rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.25rem; }

.prose p {
    margin-bottom: 1.5rem;
    color: var(--neutral-dark-grey);
}

.prose a {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.prose a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.prose ul, .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    color: var(--neutral-dark-grey);
}

.prose blockquote {
    border-left: 4px solid var(--primary-accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--neutral-dark-grey);
    background-color: var(--neutral-light-grey);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.prose img {
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.prose code {
    background-color: var(--neutral-light-grey);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: var(--primary-dark);
}

.prose pre {
    background-color: var(--neutral-light-grey);
    padding: 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
}

/* Sticky Sidebar */
.sticky {
    position: sticky;
}

.top-8 {
    top: 2rem;
}

/* Enhanced Sidebar Styles */
.widget-area {
    background: white;
    padding: 0;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.widget {
    margin-bottom: 0;
    border-bottom: 1px solid #f1f5f9;
}

.widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.widget ul {
    list-style: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
}

.widget li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    color: var(--neutral-dark-grey);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

/* Post Navigation Styles */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    margin: 0;
}

/* Responsive adjustments for single post */
@media (max-width: 1024px) {
    .lg\:col-span-8 {
        grid-column: span 12 / span 12;
    }
    
    .lg\:col-span-7 {
        grid-column: span 12 / span 12;
    }
    
    .lg\:col-span-5 {
        grid-column: span 12 / span 12;
    }
    
    .lg\:col-span-4 {
        grid-column: span 12 / span 12;
    }
    
    .lg\:col-span-2 {
        grid-column: span 12 / span 12;
    }
    
    .lg\:col-span-1 {
        grid-column: span 12 / span 12;
    }
    
    .sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .prose h1 { font-size: 1.875rem; }
    .prose h2 { font-size: 1.5rem; }
    .prose h3 { font-size: 1.25rem; }
}

/* Additional utility classes for single post template */
.lg\:col-span-12 { grid-column: span 12 / span 12; }
.lg\:col-span-7 { grid-column: span 7 / span 7; }
.lg\:col-span-5 { grid-column: span 5 / span 5; }
.lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.object-cover { object-fit: cover; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-\[var\(--primary-accent\)\] { --tw-gradient-from: var(--primary-accent); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(230, 0, 126, 0)); }
.to-\[var\(--secondary-accent\)\] { --tw-gradient-to: var(--secondary-accent); }
.max-w-none { max-width: none; }
.prose-lg { font-size: 1.125rem; line-height: 1.7777778; }
.leading-relaxed { line-height: 1.625; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.font-medium { font-weight: 500; }
.rounded-full { border-radius: 9999px; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.flex-wrap { flex-wrap: wrap; }
.inline-block { display: inline-block; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.p-6 { padding: 1.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.flex-shrink-0 { flex-shrink: 0; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.text-right { text-align: right; }
.overflow-hidden { overflow: hidden; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.min-w-0 { min-width: 0px; }
.mb-1 { margin-bottom: 0.25rem; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group:hover .group-hover\:bg-\[var\(--secondary-accent\)\] { background-color: var(--secondary-accent); }
.group:hover .group-hover\:text-\[var\(--primary-accent\)\] { color: var(--primary-accent); }
.bg-gray-50 { background-color: rgb(249 250 251); }
.bg-gray-300 { background-color: rgb(209 213 219); }
.text-gray-500 { color: rgb(107 114 128); }

/* Accessibility improvements */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .prose a {
        text-decoration: underline;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Page Template Styles */
.min-h-\[60vh\] { min-height: 60vh; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.overflow-hidden { overflow: hidden; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.opacity-60 { opacity: 0.6; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-\[var\(--primary-dark\)\] { --tw-gradient-from: var(--primary-dark); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(55, 35, 90, 0)); }
.via-\[var\(--secondary-accent\)\] { --tw-gradient-stops: var(--tw-gradient-from), var(--secondary-accent), var(--tw-gradient-to, rgba(46, 67, 116, 0)); }
.to-\[var\(--primary-accent\)\] { --tw-gradient-to: var(--primary-accent); }
.text-center { text-align: center; }
.text-white { color: white; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-8 { margin-bottom: 2rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.hover\:text-\[var\(--highlight-cta\)\]:hover { color: var(--highlight-cta); }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.flex { display: flex; }
.items-center { align-items: center; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.text-gray-300 { color: rgb(209 213 219); }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }
.mb-6 { margin-bottom: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-gray-200 { color: rgb(229 231 235); }
.leading-relaxed { line-height: 1.625; }
.max-w-3xl { max-width: 48rem; }
.mt-8 { margin-top: 2rem; }
.gap-6 { gap: 1.5rem; }
.justify-center { justify-content: center; }
.absolute { position: absolute; }
.bottom-8 { bottom: 2rem; }
.left-1\/2 { left: 50%; }
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.-translate-x-1\/2 { --tw-translate-x: -50%; }
.animate-bounce { animation: bounce 1s infinite; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.bg-white { background-color: white; }
.max-w-4xl { max-width: 56rem; }
.rounded-3xl { border-radius: 1.5rem; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.overflow-hidden { overflow: hidden; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.prose-xl { font-size: 1.25rem; line-height: 1.8; }
.max-w-none { max-width: none; }
.mt-12 { margin-top: 3rem; }
.p-6 { padding: 1.5rem; }
.bg-\[var\(--neutral-light-grey\)\] { background-color: var(--neutral-light-grey); }
.rounded-2xl { border-radius: 1rem; }
.mt-8 { margin-top: 2rem; }
.text-center { text-align: center; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.bg-\[var\(--primary-accent\)\] { background-color: var(--primary-accent); }
.text-white { color: white; }
.rounded-full { border-radius: 9999px; }
.hover\:bg-\[var\(--secondary-accent\)\]:hover { background-color: var(--secondary-accent); }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.font-medium { font-weight: 500; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.mt-16 { margin-top: 4rem; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-\[var\(--primary-dark\)\] { --tw-gradient-from: var(--primary-dark); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(55, 35, 90, 0)); }
.to-\[var\(--secondary-accent\)\] { --tw-gradient-to: var(--secondary-accent); }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-bold { font-weight: 700; }
.mb-6 { margin-bottom: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-gray-200 { color: rgb(229 231 235); }
.mb-8 { margin-bottom: 2rem; }
.flex-col { flex-direction: column; }
.sm\:flex-row { flex-direction: row; }
.gap-4 { gap: 1rem; }
.justify-center { justify-content: center; }
.btn-primary { background-color: var(--primary-accent); color: var(--neutral-white); transition: all 0.3s ease; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: bold; letter-spacing: 0.05em; }
.btn-primary:hover { background-color: rgba(230, 0, 126, 0.9); color: var(--neutral-white); }
.btn-secondary { background-color: var(--highlight-cta); color: var(--primary-dark); transition: all 0.3s ease; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: bold; letter-spacing: 0.05em; }
.btn-secondary:hover { background-color: rgba(255, 196, 0, 0.9); color: var(--primary-dark); }
.rounded-full { border-radius: 9999px; }
.h-12 { height: 3rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.font-bold { font-weight: 700; }
.tracking-wide { letter-spacing: 0.025em; }

/* Enhanced Prose Styles for Pages */
.prose-xl h1, .prose-xl h2, .prose-xl h3, .prose-xl h4, .prose-xl h5, .prose-xl h6 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.prose-xl h1 { font-size: 2.5rem; }
.prose-xl h2 { font-size: 2rem; }
.prose-xl h3 { font-size: 1.75rem; }
.prose-xl h4 { font-size: 1.5rem; }

.prose-xl p {
    margin-bottom: 1.75rem;
    color: var(--neutral-dark-grey);
    line-height: 1.8;
}

.prose-xl a {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.prose-xl a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.prose-xl ul, .prose-xl ol {
    margin-bottom: 1.75rem;
    padding-left: 1.75rem;
}

.prose-xl li {
    margin-bottom: 0.75rem;
    color: var(--neutral-dark-grey);
}

.prose-xl blockquote {
    border-left: 4px solid var(--primary-accent);
    padding-left: 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--neutral-dark-grey);
    background-color: var(--neutral-light-grey);
    padding: 2rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
}

.prose-xl img {
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    margin: 2.5rem 0;
}

.prose-xl code {
    background-color: var(--neutral-light-grey);
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: var(--primary-dark);
}

.prose-xl pre {
    background-color: var(--neutral-light-grey);
    padding: 2rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 2.5rem 0;
}

.prose-xl pre code {
    background-color: transparent;
    padding: 0;
}

/* Breadcrumb Styles */
nav[aria-label="Breadcrumb"] ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav[aria-label="Breadcrumb"] li {
    display: flex;
    align-items: center;
}

/* Animation for scroll indicator */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* Executive Board Section Styles */
.executive-member-card {
    background-color: #f8f9fa;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.executive-member-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.member-image-container {
    margin-bottom: 1.5rem;
    position: relative;
}

.member-image-container img,
.member-image {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    margin: 0 auto;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.executive-member-card:hover .member-image-container img,
.executive-member-card:hover .member-image {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.executive-member-card h3,
.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.executive-member-card p,
.member-position {
    color: #6b7280;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

/* Executive Board Grid Layout */
.executive-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .executive-board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .executive-board-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Executive Board Section Title */
.executive-board-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
}

.executive-board-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 2px;
}

@media (min-width: 768px) {
    .executive-board-title {
        font-size: 2.5rem;
    }
}

/* Responsive adjustments for page template */
@media (max-width: 768px) {
    .text-4xl { font-size: 2rem; }
    .text-5xl { font-size: 2.5rem; }
    .text-6xl { font-size: 3rem; }
    .text-xl { font-size: 1.125rem; }
    .text-2xl { font-size: 1.25rem; }
    .prose-xl h1 { font-size: 2rem; }
    .prose-xl h2 { font-size: 1.75rem; }
    .prose-xl h3 { font-size: 1.5rem; }
    .p-8 { padding: 1.5rem; }
    .p-12 { padding: 2rem; }
    .p-16 { padding: 2.5rem; }
    .gap-6 { gap: 1rem; }
    .flex-col { flex-direction: column; }
    .sm\:flex-row { flex-direction: column; }
    
    /* Executive Board Mobile Adjustments */
    .executive-member-card {
        padding: 1.5rem;
    }
    
    .member-image-container img,
    .member-image {
        width: 6rem;
        height: 6rem;
    }
    
    .executive-member-card h3,
    .member-name {
        font-size: 1.125rem;
    }
    
    .executive-member-card p,
    .member-position {
        font-size: 0.875rem;
    }
    
    .executive-board-title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }
}

/* Archive Template Styles */
.archive-header {
    position: relative;
}

.posts-grid {
    position: relative;
}

.archive-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.archive-post-card .card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.archive-post-card .post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.archive-post-card .post-excerpt {
    flex: 1;
}

/* Ensure card title transitions smoothly on hover */
.archive-post-card:hover .post-title {
    color: var(--primary-accent);
}

.archive-post-card .card-link:focus {
    outline: none;
}

.archive-post-card .card-link:focus-visible {
    outline: 3px solid var(--primary-accent);
    outline-offset: 2px;
    border-radius: 1rem;
}

/* Partner Logo Section in Archive Cards */
.partner-logo-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-light-grey);
}

.partner-logo-section p {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.partner-logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 3rem;
}

.partner-logo-container img {
    max-height: 3rem;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.archive-post-card:hover .partner-logo-container img {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Ensure partner logo section doesn't break card layout */
.archive-post-card .post-excerpt {
    flex: 1;
    margin-bottom: 0;
}

.fallback-logo-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 3rem;
}

.pagination-wrapper ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination-item {
    display: inline-block;
}

.page-numbers {
    text-decoration: none;
    border: none;
}

.page-numbers.dots {
    background: transparent !important;
    color: var(--neutral-dark-grey);
    cursor: default;
}

.page-numbers.dots:hover {
    background: transparent !important;
    color: var(--neutral-dark-grey);
    transform: none !important;
    box-shadow: none !important;
}

/* Search Form Styles */
.search-form {
    position: relative;
    max-width: 100%;
}

.search-form input[type="search"] {
    font-family: "Work Sans", sans-serif;
}

.search-form input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Archive specific animations */
.archive-header {
    animation: fadeInUp 0.5s ease-out;
}

/* No posts found animation */
.no-posts-found > div {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for archive cards */
.archive-post-card:hover .post-thumbnail img {
    filter: brightness(1.05);
}

.archive-post-card:hover .fallback-logo-container svg,
.archive-post-card:hover .fallback-logo-container img {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Focus states for better keyboard navigation */
.archive-post-card:focus-within {
    outline: 3px solid var(--primary-accent);
    outline-offset: 2px;
}

/* Archive responsive adjustments */
@media (max-width: 640px) {
    .posts-grid {
        gap: 1rem;
    }
    
    .archive-post-card .post-thumbnail {
        height: 12rem;
    }
    
    .archive-post-card .post-content {
        padding: 1rem;
    }
    
    .archive-header h1 {
        font-size: 1.875rem;
    }
    
    .pagination-wrapper ul {
        gap: 0.25rem;
    }
    
    .page-numbers {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.875rem;
    }
}

/* Loading state for images */
.post-thumbnail img {
    background: linear-gradient(
        90deg,
        var(--neutral-light-grey) 0%,
        var(--neutral-light-grey) 40%,
        #e0e0e0 50%,
        var(--neutral-light-grey) 60%,
        var(--neutral-light-grey) 100%
    );
    background-size: 200% 100%;
}

/* Category badge animations */
.archive-post-card .post-thumbnail span {
    animation: fadeInUp 0.4s ease-out 0.2s backwards;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Utility classes for archive */
.filter-drop-shadow-lg {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* Print styles for archive */
@media print {
    .archive-post-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .pagination-wrapper {
        display: none;
    }
}

/* Single Post - Project Partner Section */
.project-partner-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--neutral-light-grey);
}

.project-partner-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.project-partner-section h3 svg {
    flex-shrink: 0;
}

.project-partner-section .bg-\[var\(--neutral-light-grey\)\] {
    background-color: var(--neutral-light-grey);
    padding: 2rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.partner-logo-wrapper {
    flex-shrink: 0;
}

.partner-logo-wrapper img {
    max-height: 6rem;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logo-wrapper img:hover {
    transform: scale(1.05);
}

.partner-info {
    flex: 1;
}

.partner-info p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
}

/* Single Post - Consortium Partners Section */
.consortium-partners-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--neutral-light-grey);
}

.consortium-partners-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.consortium-partners-section h3 svg {
    flex-shrink: 0;
}

.consortium-partner-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 180px;
}

.consortium-partner-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.25rem);
}

.partner-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 6rem;
    width: 100%;
    margin-bottom: 1rem;
}

.partner-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.consortium-partner-card:hover .partner-image-wrapper img {
    transform: scale(1.05);
    opacity: 0.9;
}

.consortium-partner-card p {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

/* Responsive adjustments for partner sections */
@media (max-width: 768px) {
    .project-partner-section h3,
    .consortium-partners-section h3 {
        font-size: 1.25rem;
    }
    
    .project-partner-section .bg-\[var\(--neutral-light-grey\)\] {
        padding: 1.5rem;
    }
    
    .partner-logo-wrapper img {
        max-height: 5rem;
    }
    
    .partner-info p {
        font-size: 1.125rem;
    }
    
    .consortium-partner-card {
        padding: 1rem;
        min-height: 150px;
    }
    
    .partner-image-wrapper {
        height: 4.5rem;
    }
    
    .consortium-partner-card p {
        font-size: 0.75rem;
    }
}

@media (min-width: 768px) {
    .project-partner-section h3,
    .consortium-partners-section h3 {
        font-size: 1.875rem;
    }
    
    .partner-logo-wrapper img {
        max-height: 8rem;
    }
    
    .partner-info p {
        font-size: 1.5rem;
    }
}

/* Animation for partner sections */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-partner-section,
.consortium-partners-section {
    animation: fadeInSlide 0.6s ease-out;
}

.consortium-partner-card {
    animation: fadeInSlide 0.4s ease-out;
    animation-fill-mode: both;
}

.consortium-partner-card:nth-child(1) { animation-delay: 0.1s; }
.consortium-partner-card:nth-child(2) { animation-delay: 0.15s; }
.consortium-partner-card:nth-child(3) { animation-delay: 0.2s; }
.consortium-partner-card:nth-child(4) { animation-delay: 0.25s; }
.consortium-partner-card:nth-child(5) { animation-delay: 0.1s; }
.consortium-partner-card:nth-child(6) { animation-delay: 0.15s; }
.consortium-partner-card:nth-child(7) { animation-delay: 0.2s; }
.consortium-partner-card:nth-child(8) { animation-delay: 0.25s; }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .project-partner-section,
    .consortium-partners-section,
    .consortium-partner-card {
        animation: none !important;
    }
    
    .partner-logo-wrapper img,
    .partner-image-wrapper img {
        transition: none !important;
    }
}

/* Single Post - Documents Section */
.documents-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--neutral-light-grey);
}

.documents-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.documents-section h3 svg {
    flex-shrink: 0;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-item {
    display: block;
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.document-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.25rem);
}

.document-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.document-item:hover h4 {
    color: var(--primary-accent);
}

.document-item .flex-shrink-0 > div {
    transition: all 0.3s ease;
}

.document-item:hover .flex-shrink-0 > div:first-child {
    transform: scale(1.1);
}

/* Document file type badges */
.document-item .inline-flex {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Animation for documents section */
.documents-section {
    animation: fadeInSlide 0.6s ease-out;
}

.document-item {
    animation: fadeInSlide 0.4s ease-out;
    animation-fill-mode: both;
}

.document-item:nth-child(1) { animation-delay: 0.1s; }
.document-item:nth-child(2) { animation-delay: 0.15s; }
.document-item:nth-child(3) { animation-delay: 0.2s; }
.document-item:nth-child(4) { animation-delay: 0.25s; }
.document-item:nth-child(5) { animation-delay: 0.3s; }
.document-item:nth-child(6) { animation-delay: 0.35s; }
.document-item:nth-child(7) { animation-delay: 0.4s; }
.document-item:nth-child(8) { animation-delay: 0.45s; }

/* Responsive adjustments for documents section */
@media (max-width: 768px) {
    .documents-section h3 {
        font-size: 1.25rem;
    }
    
    .document-item {
        padding: 1rem;
    }
    
    .document-item .flex-shrink-0 > div:first-child {
        width: 3rem;
        height: 3rem;
    }
    
    .document-item h4 {
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .documents-section h3 {
        font-size: 1.875rem;
    }
    
    .document-item h4 {
        font-size: 1.125rem;
    }
}

/* Reduced motion support for documents */
@media (prefers-reduced-motion: reduce) {
    .documents-section,
    .document-item {
        animation: none !important;
    }
    
    .document-item,
    .document-item h4,
    .document-item .flex-shrink-0 > div {
        transition: none !important;
    }
}

/* ============================================
   FRONT PAGE ANIMATIONS
   ============================================ */

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes - Hidden State */
.animate-on-scroll {
    opacity: 0;
}

/* Animation Classes - Visible State */
.animate-on-scroll.aos-animate {
    animation-duration: 0.6s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.fade-in-up.aos-animate {
    animation-name: fadeInUp;
}

.fade-in-left.aos-animate {
    animation-name: fadeInLeft;
}

.fade-in-right.aos-animate {
    animation-name: fadeInRight;
}

.fade-in.aos-animate {
    animation-name: fadeIn;
}

.scale-in.aos-animate {
    animation-name: scaleIn;
}

/* Stagger delays for multiple items */
.animate-on-scroll:nth-child(1) { animation-delay: 0s; }
.animate-on-scroll:nth-child(2) { animation-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { animation-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { animation-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { animation-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { animation-delay: 0.5s; }
.animate-on-scroll:nth-child(7) { animation-delay: 0.6s; }
.animate-on-scroll:nth-child(8) { animation-delay: 0.7s; }
.animate-on-scroll:nth-child(9) { animation-delay: 0.8s; }

/* Hero Section Initial Animation */
.hero-animate {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-animate-delayed {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-image-animate {
    animation: fadeInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

/* Section Animations */
.section-heading {
    opacity: 0;
}

.section-heading.aos-animate {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Accessibility: Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-on-scroll,
    .hero-animate,
    .hero-animate-delayed,
    .hero-image-animate,
    .section-heading {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .animate-on-scroll.aos-animate {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* Performance optimizations */
.animate-on-scroll {
    will-change: opacity, transform;
}

.animate-on-scroll.aos-animate {
    will-change: auto;
}

