/* Custom CSS for AAAG WordPress Theme */

/* Mobile Navigation */
.mobile-navigation {
    display: none;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 1rem;
}

.mobile-navigation.active {
    display: block;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 0.5rem;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu a:hover {
    color: #f54a00;
}

.mobile-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-social {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.mobile-social .social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section Enhancements */
.hero-logo {
    margin-bottom: 1rem;
}

.hero-logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #f59e0b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Slider Styles */
.hero-slider-section {
    padding: 2rem 0;
}

.hero-slider {
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination {
    bottom: 20px;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background: #fff;
}

/* Meeting Info */
.meeting-info {
    text-align: center;
}

.meeting-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.meeting-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Objectives Grid */
.objectives-grid {
    margin-top: 2rem;
}

.objective-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-5px);
}

.objective-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon-image {
    width: 50px;
    height: 50px;
}

.objective-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.objective-description {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Events Page Styles */
.events-years-grid {
    margin-top: 2rem;
}

.event-year-card {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.event-year-card:hover {
    transform: translateY(-5px);
}

.event-year-image {
    height: 200px;
    overflow: hidden;
}

.year-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-year-card:hover .year-image {
    transform: scale(1.05);
}

.event-year-content {
    padding: 1.5rem;
}

.event-year-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.event-year-title a {
    color: #333;
    text-decoration: none;
}

.event-year-title a:hover {
    color: #f54a00;
}

.event-year-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-year-actions {
    margin-top: 1rem;
}

/* Event Cards */
.event-card {
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-thumbnail {
    height: 200px;
    overflow: hidden;
    position: relative; /* enable overlay badge positioning */
}

.event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.event-card:hover .event-thumbnail img {
    transform: scale(1.05);
}

.event-content {
    padding: 1.5rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #666;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.event-title a {
    color: #333;
    text-decoration: none;
}

.event-title a:hover {
    color: #f54a00;
}

.event-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: auto; /* stick to bottom within flex column */
}

/* Tighten primary button look and right alignment like Next.js */
.event-card .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.event-card .btn-primary .btn-icon {
    display: inline-block;
}

.event-type-badge {
    background: #f3f4f6;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Month Sections */
.month-section {
    margin-bottom: 3rem;
}

.month-header {
    background: linear-gradient(to right, #ea580c, #dc2626);
    color: white;
    padding: 0.75rem 1.25rem; /* tightened */
    border-radius: 0.5rem;
    margin-bottom: 1rem; /* tightened */
}

.month-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.month-description {
    opacity: 0.9;
    margin: 0;
}

/* Month Description Box - Match Next.js Design */
.month-description-box {
    background: linear-gradient(to right, #fff7ed, #fef3c7);
    border-left: 4px solid #f97316;
    padding: 1.25rem; /* tightened */
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1.25rem 0; /* tightened */
    line-height: 1.6;
    padding: 1.25rem; /* p-6 equivalent */
}

/* Event Details */
.event-details {
    max-width: 800px;
    margin: 0 auto;
}

.event-info {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.event-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.event-info .event-meta:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: none;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.meta-item i {
    color: #f54a00;
    width: 16px;
}

.event-content {
    line-height: 1.8;
    color: #333;
}

/* Gallery Styles */
.event-gallery {
    margin-top: 2rem;
}

.gallery-grid {
    margin-top: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 1;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Related Events */
.related-events {
    margin-top: 2rem;
}

.related-event-card {
    transition: transform 0.3s ease;
}

.related-event-card:hover {
    transform: translateY(-5px);
}

.related-event-thumbnail {
    height: 150px;
    overflow: hidden;
}

.related-event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-event-card:hover .related-event-thumbnail img {
    transform: scale(1.05);
}

.related-event-content {
    padding: 1.5rem;
}

.related-event-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.related-event-title a {
    color: #333;
    text-decoration: none;
}

.related-event-title a:hover {
    color: #f54a00;
}

.related-event-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Back Link (see unified styles at bottom of file) */

/* Content Section Padding - Match Next.js Design */
.content-section {
    padding-top: 3rem;    /* tightened */
    padding-bottom: 3rem; /* tightened */
    padding-left: 1rem;   /* px-4 */
    padding-right: 1rem;  /* px-4 */
    max-width: 1152px;    /* max-w-6xl */
    margin-left: auto;    /* mx-auto */
    margin-right: auto;   /* mx-auto */
}

/* Tailwind-like utility classes for WordPress */
.py-16 {
    padding-top: 3rem; /* tightened */
    padding-bottom: 3rem; /* tightened */
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

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

.p-6 {
    padding: 1.5rem;
}

.bg-white {
    background-color: white;
}

.max-w-6xl {
    max-width: 1152px;
}

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

.mb-16 {
    margin-bottom: 2.5rem; /* tightened */
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-8 {
    margin-top: 1.25rem; /* tightened */
}

.mt-2 {
    margin-top: 0.5rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.overflow-hidden {
    overflow: hidden;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-sm {
    font-size: 0.875rem;
}

.font-medium {
    font-weight: 500;
}

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

.text-gray-500 {
    color: #6b7280;
}

.leading-relaxed {
    line-height: 1.625;
}

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

.border-b {
    border-bottom-width: 1px;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.mr-2 {
    margin-right: 0.5rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

/* Section Titles - Match Next.js Design */
.section-title {
    font-size: 1.875rem; /* text-3xl equivalent */
    font-weight: 700;
    color: #1f2937; /* text-gray-800 */
    margin-bottom: 1rem; /* Reduced from 3rem to match Next.js */
    text-align: center;
}

/* Membership Page Styling - Match Next.js Design */
.membership-section {
    padding: 4rem 1rem;
}

.membership-section.bg-gray-50 {
    background-color: #f9fafb;
}

.membership-section.bg-white {
    background-color: white;
}

.membership-container {
    max-width: 75rem; /* max-w-6xl */
    margin: 0 auto;
}

.membership-container-narrow {
    max-width: 56rem; /* max-w-4xl */
    margin: 0 auto;
}

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

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

.membership-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.membership-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.membership-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 2px solid;
}

.membership-card.border-red-200 {
    border-color: #fecaca;
}

.membership-card.border-blue-200 {
    border-color: #bfdbfe;
}

.membership-card.border-green-200 {
    border-color: #bbf7d0;
}

.membership-card.border-purple-200 {
    border-color: #e9d5ff;
}

.membership-card.border-orange-200 {
    border-color: #fed7aa;
}

.membership-card.border-pink-200 {
    border-color: #fce7f3;
}

.membership-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.membership-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.membership-icon.bg-red-100 {
    background-color: #fee2e2;
}

.membership-icon.bg-blue-100 {
    background-color: #dbeafe;
}

.membership-icon.bg-green-100 {
    background-color: #dcfce7;
}

.membership-icon.bg-purple-100 {
    background-color: #f3e8ff;
}

.membership-icon.bg-orange-100 {
    background-color: #fed7aa;
}

.membership-icon.bg-pink-100 {
    background-color: #fce7f3;
}

.membership-icon.bg-yellow-100 {
    background-color: #fef3c7;
}

.membership-icon i {
    font-size: 1.5rem;
}

.membership-icon i.text-red-600 {
    color: #dc2626;
}

.membership-icon i.text-blue-600 {
    color: #2563eb;
}

.membership-icon i.text-green-600 {
    color: #16a34a;
}

.membership-icon i.text-purple-600 {
    color: #9333ea;
}

.membership-icon i.text-orange-600 {
    color: #f54a00;
}

.membership-icon i.text-pink-600 {
    color: #db2777;
}

.membership-icon i.text-yellow-600 {
    color: #ca8a04;
}

.membership-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.membership-price {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.membership-price.text-red-600 {
    color: #dc2626;
}

.membership-price.text-blue-600 {
    color: #2563eb;
}

.membership-price.text-green-600 {
    color: #16a34a;
}

.membership-price.text-purple-600 {
    color: #9333ea;
}

.membership-price.text-orange-600 {
    color: #f54a00;
}

.membership-price.text-pink-600 {
    color: #db2777;
}

.membership-currency {
    font-size: 0.875rem;
    color: #6b7280;
}

.membership-description {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.membership-button {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.membership-button.bg-orange-600 {
    background-color: #f54a00;
    color: white;
}

.membership-button.bg-orange-600:hover {
    background-color: #ea580c;
}

.membership-button.bg-blue-600 {
    background-color: #2563eb;
    color: white;
}

.membership-button.bg-blue-600:hover {
    background-color: #1d4ed8;
}

.membership-button.bg-green-600 {
    background-color: #16a34a;
    color: white;
}

.membership-button.bg-green-600:hover {
    background-color: #15803d;
}

.membership-button.bg-purple-600 {
    background-color: #9333ea;
    color: white;
}

.membership-button.bg-purple-600:hover {
    background-color: #7c3aed;
}

.membership-button.bg-pink-600 {
    background-color: #db2777;
    color: white;
}

.membership-button.bg-pink-600:hover {
    background-color: #be185d;
}

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

.membership-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.membership-step-description {
    color: #4b5563;
}

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

.membership-feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.membership-feature-description {
    color: #4b5563;
    font-size: 0.875rem;
}

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

.membership-cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.membership-cta-description {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.membership-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .membership-cta-buttons {
        flex-direction: row;
    }
}

.membership-cta-button {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.membership-cta-button.bg-blue-600 {
    background-color: #2563eb;
    color: white;
}

.membership-cta-button.bg-blue-600:hover {
    background-color: #1d4ed8;
}

.membership-cta-button.bg-green-600 {
    background-color: #16a34a;
    color: white;
}

.membership-cta-button.bg-green-600:hover {
    background-color: #15803d;
}

/* ========================================
   EVENTS PAGE STYLING
   ======================================== */

/* Featured Events Section */
.featured-events-section {
    padding: 2.5rem 1rem 2rem; /* tighten top/bottom spacing */
    background-color: #f9fafb;
}

/* Narrower container on Events page to match Next.js feel */
.featured-events-section .container,
.all-years-section .container {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.featured-events-header {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-events-header .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.featured-events-header .section-description {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Featured Year Card */
.featured-year-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 1.5rem; /* reduce gap before All Years */
}

.featured-year-content {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .featured-year-content {
        flex-direction: row;
    }
}

.featured-year-image {
    flex: 1;
    position: relative;
}

.featured-year-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-year-image img {
    width: 50%; /* display at 50% of intrinsic width */
    height: auto; /* keep aspect ratio, no cropping */
    object-fit: contain;
}

@media (min-width: 768px) {
    .featured-year-image img {
        width: 50%;
    }
}

.featured-year-text {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-year-badge {
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    background: #f54a00;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-year-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.featured-year-description {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-year-button {
    display: inline-flex;
    align-items: center;
    background: #f54a00;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.featured-year-button:hover {
    background: #ea580c;
    color: white;
}

/* All Years Section */
.all-years-section {
    padding: 2rem 1rem; /* tighten spacing to bring section up */
    background: white;
}

.all-years-header {
    text-align: center;
    margin-bottom: 1.5rem; /* reduce internal header spacing */
}

.all-years-header .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.all-years-header .section-description {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Years Grid */
.years-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

/* Year Cards */
.year-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.year-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.year-card-image {
    position: relative;
    height: 16rem; /* matches Next.js h-64 */
    overflow: hidden;
    background-color: #f3f4f6;
}

.year-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.year-badge {
    position: absolute;
    top: 0.5rem;   /* slightly tighter like Next.js */
    left: 0.5rem;
}

.year-card-content {
    padding: 1.5rem;
}

.year-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.year-card-title a {
    color: inherit;
    text-decoration: none;
}

.year-card-title a:hover {
    color: #f54a00;
}

.year-card-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.year-card-link {
    display: inline-flex;
    align-items: center;
    color: #f54a00;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.year-card-link:hover {
    color: #c2410c;
}

/* ========================================
   EVENT GALLERY STYLING
   ======================================== */

/* Gallery Grid */
.aaag-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .aaag-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .aaag-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: #f3f4f6;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.gallery-item::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.5rem;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Lightbox Styles */
.aaag-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aaag-lightbox-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aaag-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.aaag-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.aaag-lightbox-title {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: white;
    z-index: 10;
}

.aaag-lightbox-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.aaag-lightbox-title p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.aaag-lightbox-counter {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    z-index: 10;
}

.aaag-lightbox-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
}

.aaag-lightbox-prev,
.aaag-lightbox-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.aaag-lightbox-prev:hover,
.aaag-lightbox-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.aaag-lightbox-image-container {
    max-width: 95vw;
    /* Reserve vertical space for header/counter and thumbnail rail to prevent cropping */
    height: 100vh;
    padding-top: 96px;   /* space for close, title, counter */
    padding-bottom: 128px; /* space for thumbnails */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.aaag-lightbox-image-container img {
    max-width: 100%;
    max-height: calc(100vh - 224px); /* aligns with padding top/bottom above */
    width: auto;
    height: auto;
    object-fit: contain;
}

.aaag-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.aaag-lightbox-thumbnails {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    max-width: 90vw;
    overflow-x: auto;
    padding: 0.5rem;
    z-index: 10;
}

.aaag-lightbox-thumb {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

/* Back link on single event - match Next.js styling */
.back-link {
    display: inline-flex;
    align-items: center;
    color: #f54a00;
    font-weight: 600;
    text-decoration: none;
    margin: 0.5rem 0 0.5rem 1rem; /* slightly reduced spacing */
}
.back-link:hover { color: #c2410c; }
.back-link::before {
    content: "<"; /* caret */
    display: inline-block;
    margin-right: 0.5rem;
    font-family: inherit; /* avoid icon fonts overriding caret */
}
/* Ensure no legacy icons show */
.back-link i, .back-link svg { display: none !important; }

@media (max-width: 640px) {
    .aaag-lightbox-image-container {
        padding-top: 72px;
        padding-bottom: 112px;
    }
    .aaag-lightbox-image-container img {
        max-height: calc(100vh - 184px);
    }
}

.aaag-lightbox-thumb.active {
    border-color: #f54a00;
}

.aaag-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Event Type Styling */
.event-type-gallery {
    position: relative;
}

.event-type-gallery::after {
    content: attr(data-image-count) ' photos';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f54a00;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Event Cards */
.event-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.event-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.event-card .event-thumbnail {
    position: relative;
    height: 16rem; /* align with Next.js grid cards */
    overflow: hidden;
    background-color: #f3f4f6;
}

.event-card .event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.event-card:hover .event-thumbnail img {
    transform: scale(1.05);
}

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

.event-card .event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.event-card .event-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-card .event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.event-card .event-title a {
    color: inherit;
    text-decoration: none;
}

.event-card .event-title a:hover {
    color: #f54a00;
}

.event-card .event-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.event-card .event-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.event-card .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.event-card .btn-primary {
    background: #f54a00;
    color: white;
}

.event-card .btn-primary:hover {
    background: #ea580c;
    color: white;
}

/* Chevron icon alignment for primary button */
.event-card .btn-primary .btn-icon { display: inline-block; }

.event-card .btn-outline {
    background: transparent;
    color: #f54a00;
    border: 1px solid #ea580c;
}

.event-card .btn-outline:hover {
    background: #f54a00;
    color: white;
}

.event-type-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Photo Count Badge - Match Next.js Design */
.photo-count-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem; /* right-aligned like Next.js */
    background: #f54a00; /* orange */
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 9999px; /* pill */
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* Large screen layout for event cards - Match Next.js Design */
@media (min-width: 1024px) {
    .event-card {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }
    
    .event-card .event-thumbnail {
        width: 24rem; /* 384px */
        flex-shrink: 0;
        aspect-ratio: auto;
        height: auto;
    }
    
    .event-card .event-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .event-card .event-title {
        font-size: 1.5rem;
    }
}

/* About Page Styling - Match Next.js Design */

/* Association & Mission Cards */
.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1152px;
    margin: 0 auto;
    padding: 4rem 1rem;
    background-color: #f9fafb;
}

@media (min-width: 1024px) {
    .about-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.about-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Video Section */
.about-video {
    padding: 4rem 1rem;
    background: white;
}

.about-video-container {
    max-width: 896px;
    margin: 0 auto;
}

.about-video-wrapper {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.about-video-wrapper video {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

@media (min-width: 768px) {
    .about-video-wrapper video {
        height: 20rem;
    }
}

@media (min-width: 1024px) {
    .about-video-wrapper video {
        height: 24rem;
    }
}

/* Meeting Schedule */
.about-meeting {
    padding: 4rem 1rem;
    background-color: #f9fafb;
}

.about-meeting-container {
    max-width: 896px;
    margin: 0 auto;
}

.about-meeting-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.about-meeting-card p {
    font-size: 1.125rem;
    color: #1f2937;
    line-height: 1.6;
    font-weight: 700;
    font-style: italic;
}

/* Executive Board */
.about-board {
    padding: 4rem 1rem;
    background: white;
}

.about-board-container {
    max-width: 1152px;
    margin: 0 auto;
}

.about-board h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
}

.about-board-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

/* Hide empty paragraphs that WordPress creates around comments */
.about-board-grid p:empty {
    display: none;
}

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

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

.about-board-member {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 2px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.about-board-photo {
    width: 12rem;
    height: 12rem;
    border-radius: 0.5rem;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.about-board-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* President image specific positioning */
.about-board-photo.president img {
    object-position: top;
}

.about-board-photo.red-border {
    border-color: #fecaca;
}

.about-board-photo.yellow-border {
    border-color: #fef3c7;
}

.about-board-photo.green-border {
    border-color: #bbf7d0;
}

.about-board-photo.blue-border {
    border-color: #dbeafe;
}

.about-board-photo.purple-border {
    border-color: #e9d5ff;
}

.about-board-photo.pink-border {
    border-color: #fce7f3;
}

.about-board-photo.indigo-border {
    border-color: #c7d2fe;
}

.about-board-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.about-board-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-board-title.red {
    color: #dc2626;
}

.about-board-title.yellow {
    color: #d97706;
}

.about-board-title.green {
    color: #16a34a;
}

.about-board-title.blue {
    color: #2563eb;
}

.about-board-title.purple {
    color: #9333ea;
}

.about-board-title.pink {
    color: #db2777;
}

.about-board-title.indigo {
    color: #4f46e5;
}

.about-board-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

/* Call to Action */
.about-cta {
    padding: 4rem 1rem;
    background-color: #f9fafb;
}

.about-cta-container {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}

.about-cta h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-cta p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.about-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .about-cta-buttons {
        flex-direction: row;
    }
}

.about-cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.about-cta-button.orange {
    background-color: #f54a00;
    color: white;
}

.about-cta-button.orange:hover {
    background-color: #ea580c;
    color: white;
}

.about-cta-button.blue {
    background-color: #2563eb;
    color: white;
}

.about-cta-button.blue:hover {
    background-color: #1d4ed8;
    color: white;
}

/* FAQ Page Styling - Match Next.js Design */


/* FAQ Container */
.aaag-faq-container {
    max-width: 896px; /* max-w-4xl equivalent */
    margin: 0 auto;
    padding: 0 1rem;
}

.aaag-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space-y-4 equivalent */
}

/* FAQ Item */
.aaag-faq-item {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.aaag-faq-item.featured {
    border-color: #f54a00;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.1), 0 2px 4px -1px rgba(249, 115, 22, 0.06);
}

/* FAQ Question Button */
.aaag-faq-question {
    width: 100%;
    padding: 1rem 1.5rem; /* py-4 px-6 equivalent */
    text-align: left;
    background: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.aaag-faq-question:hover {
    background: #f9fafb;
}

.aaag-faq-question:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px #f97316;
}

.aaag-faq-question-text {
    flex: 1;
    padding-right: 1rem;
    line-height: 1.5;
}

.aaag-faq-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
}

.aaag-faq-arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: #f54a00;
    transition: transform 0.2s ease;
}

/* FAQ Answer */
.aaag-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.aaag-faq-item.active .aaag-faq-answer {
    max-height: 10000px; /* Large enough for very long content */
}

.aaag-faq-answer-content {
    padding: 0 1.5rem 1rem 1.5rem; /* px-6 pb-4 equivalent */
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.aaag-faq-answer-content p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.aaag-faq-answer-content p:last-child {
    margin-bottom: 0;
}

.aaag-faq-answer-content strong {
    font-weight: 600;
    color: #1f2937;
}

/* FAQ Section Description */
.faq-description {
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 1rem; /* Reduced from 3rem to match Next.js mb-4 */
}

/* H1 Styling - Match Next.js text-5xl font-bold mb-4 */
h1 {
    font-size: 3rem; /* text-5xl equivalent */
    font-weight: 700; /* font-bold equivalent */
    line-height: 1.2; /* Tight line height for large text */
    margin-bottom: 1rem; /* mb-4 equivalent */
    color: white; /* White text for gradient backgrounds */
}

/* Responsive H1 sizing */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem; /* text-4xl for mobile */
    }
}

@media (min-width: 769px) {
    h1 {
        font-size: 3rem; /* text-5xl for desktop */
    }
}


/* Responsive FAQ */
@media (max-width: 768px) {
    .aaag-faq-container {
        padding: 0 0.5rem;
    }
    
    .aaag-faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .aaag-faq-answer-content {
        padding: 0 1rem 1rem 1rem;
    }
}

/* Stories Page Styling - Match Next.js Design */

/* Tab Navigation Section */
.aaag-stories-tabs-section {
    padding: 2rem 1rem;
    background: #f3f4f6; /* bg-gray-100 */
}

.aaag-stories-tabs-container {
    max-width: 896px; /* max-w-4xl equivalent */
    margin: 0 auto;
}

.aaag-stories-tabs-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.aaag-stories-tabs-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.aaag-stories-tabs-description {
    color: #6b7280;
    margin: 0;
}

.aaag-stories-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.aaag-story-tab {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
}

.aaag-story-tab:hover {
    background: #f9fafb;
}

.aaag-story-tab.active {
    background: #f54a00; /* bg-orange-600 */
    color: white;
    border-color: #f54a00;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Story Content Sections */
.aaag-stories-content {
    position: relative;
}

.aaag-story-section {
    display: none;
    padding: 4rem 1rem;
    background: #f9fafb; /* bg-gray-50 */
}

.aaag-story-section.active {
    display: block;
}

.aaag-story-container {
    max-width: 896px; /* max-w-4xl equivalent */
    margin: 0 auto;
}

/* Story Card */
.aaag-story-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 2px solid #fed7aa; /* border-orange-200 */
    overflow: hidden;
}

/* Story Header */
.aaag-story-header {
    margin-bottom: 2rem;
}

.aaag-story-author-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.aaag-story-author-avatar {
    width: 5rem;
    height: 5rem;
    background: #fed7aa; /* bg-orange-100 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aaag-story-author-avatar i {
    font-size: 1.875rem; /* text-3xl */
    color: #f54a00; /* text-orange-600 */
}

.aaag-story-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.aaag-story-subtitle {
    color: #6b7280;
    font-style: italic;
    margin: 0;
}

/* Story Content */
/* .aaag-story-content: removed empty ruleset */

/* Light orange border around entire story */
.aaag-story-card {
    border: 1px solid #fed7aa; /* light orange border - matches Next.js */
    border-radius: 0.5rem;
    padding: 1.5rem;
    background-color: white;
}

/* Home Page Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: white;
    margin-top: 1rem;
    margin-bottom: 0;
    opacity: 0.9;
    line-height: 1.4;
    font-style: italic;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

.aaag-story-quote {
    border-left: 4px solid #f97316;
    padding-left: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #fef3c7; /* bg-orange-50 */
    font-style: italic;
    color: #374151;
    margin-bottom: 2rem; /* mb-8 equivalent */
    font-size: 1.125rem;
    line-height: 1.6;
}

.aaag-story-image {
    margin-top: 2rem; /* Add top margin for proper spacing */
    margin-bottom: 2rem; /* mb-8 equivalent */
}

.aaag-story-img {
    width: 100%;
    height: 16rem; /* h-64 */
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.aaag-story-text {
    color: #374151;
    line-height: 1.6;
}

.aaag-story-text p {
    margin-bottom: 1.5rem; /* mb-6 equivalent */
    color: #374151;
    line-height: 1.6;
}

.aaag-story-text p:last-child {
    margin-bottom: 0;
}

/* Fix numbered lists in stories */
.aaag-story-text ol {
    list-style-type: decimal;
    list-style-position: inside;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.aaag-story-text ol li {
    margin-bottom: 0.5rem; /* space-y-2 equivalent */
    color: #374151;
    line-height: 1.6;
}

.aaag-story-text ol li:last-child {
    margin-bottom: 0;
}

/* Fix highlighted sections (like "I wish I would have known") */
.aaag-story-text div[style*="background: #fef3c7"] {
    background: #fef3c7 !important;
    border-left: 4px solid #eab308;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

.aaag-story-text div[style*="background: #fef3c7"] h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.aaag-story-text div[style*="background: #fef3c7"] ol {
    margin-bottom: 0;
}

/* Add yellow background for numbered list sections */
.aaag-story-text h3 + ol {
    background-color: #fef3c7; /* bg-yellow-50 */
    border-left: 4px solid #eab308; /* border-yellow-500 */
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

.aaag-story-text h3 {
    background-color: #fef3c7; /* bg-yellow-50 */
    border-left: 4px solid #eab308; /* border-yellow-500 */
    padding: 1.5rem 1.5rem 0 1.5rem; /* padding on all sides except bottom */
    margin-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0; /* rounded top corners only */
}

.aaag-story-text h3 + ol {
    background-color: #fef3c7; /* bg-yellow-50 */
    border-left: 4px solid #eab308; /* border-yellow-500 */
    border-top: none; /* remove top border since h3 has it */
    padding: 0 1.5rem 1.5rem 1.5rem; /* padding on all sides except top */
    margin-top: 0;
    border-radius: 0 0 0.5rem 0.5rem; /* rounded bottom corners only */
}

/* Fix spacing between elements */
.aaag-story-text > * {
    margin-bottom: 1.5rem;
}

.aaag-story-text > *:last-child {
    margin-bottom: 0;
}

/* Stories Container (for list layout) */
.aaag-stories-container {
    max-width: 896px; /* max-w-4xl equivalent */
    margin: 0 auto;
    padding: 0 1rem;
}

.aaag-stories-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Story Item */
.aaag-story-item {
    margin-bottom: 2rem;
}

.aaag-story-item.featured {
    border: 2px solid #f97316;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.1), 0 2px 4px -1px rgba(249, 115, 22, 0.06);
}

/* Story Card */
.aaag-story-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

/* Story Image */
.aaag-story-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.aaag-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.aaag-story-card:hover .aaag-story-img {
    transform: scale(1.05);
}

/* Story Content */
.aaag-story-content {
    padding: 2rem;
}

.aaag-story-header {
    margin-bottom: 1.5rem;
}

.aaag-story-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.aaag-story-author {
    color: #6b7280;
    font-style: italic;
    font-size: 1.125rem;
    margin: 0;
}

/* Story Excerpt */
.aaag-story-excerpt {
    margin-bottom: 2rem;
}

.aaag-story-quote {
    border-left: 4px solid #f97316;
    padding-left: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #fef3c7; /* bg-orange-50 */
    font-size: 1.125rem;
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

/* Story Actions */
.aaag-story-actions {
    text-align: center;
}

.aaag-story-read-more {
    display: inline-block;
    background: #f54a00;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.aaag-story-read-more:hover {
    background: #f54a00;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive Stories */
@media (max-width: 768px) {
    .aaag-stories-container {
        padding: 0 0.5rem;
    }
    
    .aaag-story-content {
        padding: 1.5rem;
    }
    
    .aaag-story-title {
        font-size: 1.5rem;
    }
    
    .aaag-story-image {
        height: 200px;
    }
}

/* Footer Enhancements */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.footer-description {
    color: #d1d5db;
    margin-top: 0.5rem;
    line-height: 1.6;
}

.footer-section-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.contact-info i {
    color: #f54a00;
    width: 16px;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #9ca3af;
    margin: 0;
}

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

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #f54a00;
}

/* Committee Cards Styling - Match Next.js Design */
.aaag-committees-container {
    max-width: 1152px; /* max-w-6xl equivalent */
    margin: 0 auto;
    padding: 0 1rem;
}

.aaag-committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.aaag-committee-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aaag-committee-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.aaag-committee-icon {
    margin-bottom: 1.5rem;
}

.aaag-committee-icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.aaag-committee-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.aaag-committee-description {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Single committee layout (Special Committees) */
.aaag-committee-single {
    max-width: 896px; /* max-w-4xl equivalent */
    margin: 0 auto;
}

.aaag-committee-single-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 2px solid #f3f4f6;
    text-align: center;
}

.aaag-committee-single-icon {
    margin-bottom: 1.5rem;
}

.aaag-committee-single-icon-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.aaag-committee-single-icon-circle i {
    font-size: 1.875rem; /* text-3xl equivalent */
}

.aaag-committee-single-title {
    font-size: 1.5rem; /* text-2xl equivalent */
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.aaag-committee-single-description {
    color: #6b7280;
    line-height: 1.6;
    text-align: left;
}

.aaag-committee-single-description p {
    margin-bottom: 1rem;
}

.aaag-committee-single-description p:last-child {
    margin-bottom: 0;
}

/* Color Classes for Icons */
.bg-red-100 { background-color: #fee2e2; }
.text-red-600 { color: #dc2626; }
.bg-blue-100 { background-color: #dbeafe; }
.text-blue-600 { color: #2563eb; }
.bg-green-100 { background-color: #dcfce7; }
.text-green-600 { color: #16a34a; }
.bg-purple-100 { background-color: #f3e8ff; }
.text-purple-600 { color: #9333ea; }
.bg-yellow-100 { background-color: #fef3c7; }
.text-yellow-600 { color: #d97706; }
.bg-indigo-100 { background-color: #e0e7ff; }
.text-indigo-600 { color: #4f46e5; }
.bg-pink-100 { background-color: #fce7f3; }
.text-pink-600 { color: #db2777; }
.bg-orange-100 { background-color: #fed7aa; }
.text-orange-600 { color: #ea580c; }
.bg-teal-100 { background-color: #ccfbf1; }
.text-teal-600 { color: #0d9488; }

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .meeting-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .event-meta {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .aaag-committees-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

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

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* ========================================
   GENERIC BLOCK SYSTEM STYLING
   ======================================== */

/* Pricing/Service Cards Block */
.aaag-pricing-cards {
    background-color: #f9fafb;
}

.aaag-pricing-cards .grid {
    display: grid;
    gap: 2rem;
}

.aaag-pricing-cards .grid-cols-1 {
    grid-template-columns: 1fr;
}

.aaag-pricing-cards .grid-cols-1.md\\:grid-cols-2 {
    grid-template-columns: 1fr;
}

.aaag-pricing-cards .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
    grid-template-columns: 1fr;
}

.aaag-pricing-cards .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .aaag-pricing-cards .grid-cols-1.md\\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aaag-pricing-cards .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aaag-pricing-cards .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .aaag-pricing-cards .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .aaag-pricing-cards .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Process Steps Block */
.aaag-process-steps {
    background-color: #ffffff;
}

.aaag-process-steps .grid {
    display: grid;
    gap: 2rem;
}

.aaag-process-steps .grid-cols-1 {
    grid-template-columns: 1fr;
}

.aaag-process-steps .grid-cols-1.md\\:grid-cols-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .aaag-process-steps .grid-cols-1.md\\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Feature Grid Block */
.aaag-feature-grid {
    background-color: #f9fafb;
}

.aaag-feature-grid .grid {
    display: grid;
    gap: 2rem;
}

.aaag-feature-grid .grid-cols-1 {
    grid-template-columns: 1fr;
}

.aaag-feature-grid .grid-cols-1.md\\:grid-cols-2 {
    grid-template-columns: 1fr;
}

.aaag-feature-grid .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
    grid-template-columns: 1fr;
}

.aaag-feature-grid .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .aaag-feature-grid .grid-cols-1.md\\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aaag-feature-grid .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aaag-feature-grid .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .aaag-feature-grid .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .aaag-feature-grid .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Call-to-Action Section Block */
.aaag-cta-section {
    background-color: #ffffff;
}

.aaag-cta-section.bg-gray-50 {
    background-color: #f9fafb;
}

.aaag-cta-section.bg-gradient-to-r {
    background: linear-gradient(to right, #dc2626, #eab308, #16a34a);
    color: white;
}

/* Generic Block Responsive Design */
@media (max-width: 768px) {
    .aaag-pricing-cards,
    .aaag-process-steps,
    .aaag-feature-grid,
    .aaag-cta-section {
        padding: 2rem 1rem;
    }
    
    .aaag-pricing-cards .grid,
    .aaag-process-steps .grid,
    .aaag-feature-grid .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .aaag-cta-section .flex {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Color Classes for Dynamic Styling */
.border-red-200 { border-color: #fecaca; }
.border-blue-200 { border-color: #dbeafe; }
.border-green-200 { border-color: #dcfce7; }
.border-purple-200 { border-color: #e9d5ff; }
.border-orange-200 { border-color: #fed7aa; }
.border-pink-200 { border-color: #fce7f3; }

.bg-red-100 { background-color: #fee2e2; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-green-100 { background-color: #dcfce7; }
.bg-purple-100 { background-color: #e9d5ff; }
.bg-orange-100 { background-color: #fed7aa; }
.bg-pink-100 { background-color: #fce7f3; }
.bg-yellow-100 { background-color: #fef3c7; }

.text-red-600 { color: #dc2626; }
.text-blue-600 { color: #2563eb; }
.text-green-600 { color: #16a34a; }
.text-purple-600 { color: #9333ea; }
.text-orange-600 { color: #ea580c; }
.text-pink-600 { color: #db2777; }
.text-yellow-600 { color: #ca8a04; }

.bg-red-600 { background-color: #dc2626; }
.bg-blue-600 { background-color: #2563eb; }
.bg-green-600 { background-color: #16a34a; }
.bg-purple-600 { background-color: #9333ea; }
.bg-orange-600 { background-color: #ea580c; }
.bg-pink-600 { background-color: #db2777; }

.hover\\:bg-red-700:hover { background-color: #b91c1c; }
.hover\\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\\:bg-green-700:hover { background-color: #15803d; }
.hover\\:bg-purple-700:hover { background-color: #7c3aed; }
.hover\\:bg-orange-700:hover { background-color: #c2410c; }
.hover\\:bg-pink-700:hover { background-color: #be185d; }

/* Using about-cta classes for Join Community section from About page */

/* Contact Form 7 Styling */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wpcf7-form p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wpcf7-form label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #f54a00;
    box-shadow: 0 0 0 3px rgba(245, 74, 0, 0.1);
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    background-color: #f54a00;
    color: #ffffff;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    align-self: flex-start;
    min-width: 120px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #d43d00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 74, 0, 0.3);
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(245, 74, 0, 0.3);
}

/* Success and Error Messages */
.wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.wpcf7-validation-errors {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.wpcf7-spam-blocked {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}

/* Field Validation Errors */
.wpcf7-not-valid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

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

/* Required Field Indicators */
.wpcf7-form .wpcf7-validates-as-required::after {
    content: " *";
    color: #ef4444;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .wpcf7-form {
        gap: 1.25rem;
    }
    
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="url"],
    .wpcf7-form input[type="date"],
    .wpcf7-form input[type="number"],
    .wpcf7-form select,
    .wpcf7-form textarea {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .wpcf7-form input[type="submit"] {
        width: 100%;
        padding: 1rem;
        font-size: 1.125rem;
    }
}

/* Loading State */
.wpcf7-form.submitting input[type="submit"] {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.wpcf7-form.submitting input[type="submit"]:hover {
    background-color: #9ca3af;
    transform: none;
    box-shadow: none;
}

/* ==========================================
   HERO SLIDER - HIDDEN GALLERY
   ========================================== */

/**
 * Hide WordPress Gallery blocks on the front page
 * The gallery images are used by the hero slider via get_post_galleries_images()
 * but we don't want to display the gallery itself on the page
 */
.home .wp-block-gallery,
.page-template-front-page .wp-block-gallery {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Events Calendar Styles */
.events-calendar-section {
    padding: 15px 20px 20px 20px;
    background-color: #f9fafb;
}

.calendar-header {
    text-align: center;
    margin-bottom: 40px;
}

.calendar-header .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

/* Two-column layout: Featured event (left) + Calendar (right) */
.calendar-featured-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

/* Featured Next Event (Left Side) */
.featured-next-event {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-event-image {
    width: 100%;
    overflow: hidden;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px; /* Add white space at top */
    margin-bottom: 0; /* Minimal space below image */
}

.featured-event-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.featured-event-image:hover img {
    transform: scale(1.05);
}

.featured-event-content {
    padding: 30px;
    padding-top: 5px; /* Minimal top padding to bring title closer to image */
}

.featured-event-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-event-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-event-title a:hover {
    color: #f54a00;
}

.featured-event-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 16px;
}

.event-meta-item i {
    color: #f54a00;
    width: 20px;
    text-align: center;
}

.featured-event-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #f54a00;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.featured-event-link:hover {
    background-color: #d43d00;
    color: white;
}

/* No Events Message in Featured Area */
.featured-next-event.no-events-message {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.featured-next-event.no-events-message .featured-event-content {
    text-align: center;
    padding: 20px;
    width: 100%;
}

.no-events-icon {
    text-align: center;
    margin-bottom: 15px;
}

.no-events-icon i {
    font-size: 56px;
    color: #f59e0b;
}

.featured-next-event.no-events-message .featured-event-title {
    color: #78350f;
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.no-events-text {
    color: #92400e;
    font-size: 16px;
    text-align: center;
    margin-top: 8px;
    line-height: 1.5;
}

/* Calendar Wrapper (Right Side) */
.calendar-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.calendar-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f54a00;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    font-size: 18px;
}

.calendar-nav-btn:hover {
    background-color: #d43d00;
    color: white;
}

.calendar-nav-btn.disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-month-year {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    flex: 1;
}

.calendar-grid {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    margin-bottom: 0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #f54a00;
    color: white;
}

.calendar-weekday {
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #e5e7eb;
}

.calendar-day {
    background-color: white;
    min-height: 60px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.calendar-day:hover {
    background-color: #f9fafb;
    text-decoration: none;
    color: inherit;
}

.calendar-day.empty {
    background-color: #f9fafb;
    cursor: default;
}

.calendar-day.today {
    background-color: #fef3c7;
    border: 2px solid #f54a00;
}

.calendar-day.has-events {
    background-color: #e8f4fd;
}

.day-number {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.event-badge {
    display: inline-block;
    background-color: #f54a00;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 8px;
    margin-top: auto;
    line-height: 1.2;
}

.calendar-day.today .event-badge {
    background-color: #d43d00;
}

/* Upcoming Events List */
.upcoming-events-list {
    margin-top: 60px;
}

.no-upcoming-events-section {
    padding: 20px 20px 30px 20px;
}

.no-upcoming-events {
    text-align: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
    border: 2px solid #f59e0b;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.1);
}

.no-events-message {
    color: #92400e;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.no-events-message i {
    font-size: 32px;
    color: #f59e0b;
    margin-bottom: 12px;
    display: block;
}

.no-events-message strong {
    color: #78350f;
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.upcoming-events-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
    text-align: center;
}

.upcoming-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.upcoming-event-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upcoming-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.upcoming-event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.upcoming-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upcoming-event-content {
    padding: 20px;
}

.upcoming-event-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.upcoming-event-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.upcoming-event-title a:hover {
    color: #f54a00;
}

.upcoming-event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6b7280;
}

.upcoming-event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.upcoming-event-meta i {
    color: #f54a00;
    width: 16px;
}

.upcoming-event-actions {
    margin-top: 15px;
}

/* Hero Event Date */
.hero-event-date {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-event-date i {
    color: #f54a00;
}

/* Event Featured Image and Content Layout */
.event-featured-content-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.event-featured-image-column {
    position: sticky;
    top: 20px;
}

.event-featured-image {
    width: 100%;
}

.event-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
}

.event-content-column {
    min-width: 0; /* Prevent grid overflow */
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .event-featured-content-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .event-featured-image-column {
        position: static;
    }
}

/* Past Events Section */
.past-events-section {
    padding: 0px 20px 60px 20px;
    background-color: #ffffff;
}

.past-events-header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
}

.past-events-header .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.past-events-header .section-description {
    font-size: 18px;
    color: #6b7280;
}

/* Responsive Calendar */
@media (max-width: 768px) {
    .calendar-featured-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .featured-event-content {
        padding: 20px;
    }
    
    .featured-event-title {
        font-size: 24px;
    }
    
    .calendar-navigation {
        flex-direction: row;
        gap: 15px;
    }
    
    .calendar-month-year {
        min-width: auto;
        font-size: 16px;
    }
    
    .calendar-day {
        min-height: 50px;
        padding: 5px;
    }
    
    .day-number {
        font-size: 12px;
    }
    
    .event-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .upcoming-events-grid {
        grid-template-columns: 1fr;
    }
}
