/*
Theme Name: NRNA China Theme
Description: A lightweight, responsive WordPress theme for NRNA China website with custom post types and multilingual support.
Version: 1.0.0
Author: NRNA China
Text Domain: nrana-china
*/

/* Google Fonts are loaded dynamically through the customizer */

/* CSS Variables */
:root {
    --primary-blue: #004080;
    --primary-gold: #FFCC00;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-color: #333333;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --black-color-rgb: 0, 0, 0;
    --white-color: #ffffff;
    --primary-color: #004080;
    --secondary-color: #FFCC00;
    
    /* Enhanced Color Palette */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Button System Variables */
    --btn-border-radius: 5px;
    --btn-transition: all ease-in-out 0.25s;
    --btn-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --btn-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
    --btn-transform-hover: translateY(-2px);
    
    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    
    /* Album Layout Variables */
    --album-grid-columns: 3;
    --album-card-gap: 2rem;
    --album-card-radius: var(--radius-lg);
    --album-card-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    
    /* Typography Variables */
    --font-family-primary: 'Poppins', sans-serif;
    --font-family-secondary: 'Open Sans', sans-serif;
    --font-size-base: 16px;
    --font-weight-heading: 600;
    
    /* Color Variations */
    --primary-color-light: rgba(0, 64, 128, 0.1);
    --primary-color-dark: #002b5a;
    --secondary-color-light: rgba(255, 204, 0, 0.1);
    --secondary-color-dark: #e6b800;
}

/* ========================================
   COMPREHENSIVE BUTTON SYSTEM (btn-cta)
   ======================================== */

/* Base Button Styles */
.btn-cta {
    display: inline-block;
    border-radius: var(--btn-border-radius);
    padding: 14px 28px;
    font-size: 0.8888888889em;
    line-height: 1.888em;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--btn-transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

/* Button Variants */
.btn-cta--primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-cta--primary:hover,
.btn-cta--primary:focus {
    background: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
    transform: var(--btn-transform-hover);
    box-shadow: var(--btn-shadow-hover);
}

.btn-cta--secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.btn-cta--secondary:hover,
.btn-cta--secondary:focus {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    transform: var(--btn-transform-hover);
    box-shadow: var(--btn-shadow-hover);
}

.btn-cta--outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-cta--outline:hover,
.btn-cta--outline:focus {
    background: var(--primary-color);
    color: var(--white-color);
    transform: var(--btn-transform-hover);
    box-shadow: var(--btn-shadow-hover);
}

.btn-cta--ghost {
    background-color: transparent;
    color: var(--primary-color);
    border-color: transparent;
}

.btn-cta--ghost:hover,
.btn-cta--ghost:focus {
    background: var(--primary-color-light);
    color: var(--primary-color);
    transform: var(--btn-transform-hover);
}

/* Typography Enhancements */
.site-title,
.site-description {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-heading);
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--secondary-color);
}

/* Color Scheme Enhancements */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

/* Button Sizes */
.btn-cta--small {
    padding: 8px 16px;
    font-size: 0.8em;
}

.btn-cta--large {
    padding: 18px 36px;
    font-size: 1.1em;
}

.btn-cta--xlarge {
    padding: 22px 44px;
    font-size: 1.2em;
}

/* Button States */
.btn-cta:disabled,
.btn-cta--disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

.btn-cta--loading {
    position: relative;
    color: transparent !important;
}

.btn-cta--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: btn-spin 1s linear infinite;
}

@keyframes btn-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button with Icons */
.btn-cta--with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta--icon-left .btn-cta__icon {
    order: -1;
}

.btn-cta--icon-right .btn-cta__icon {
    order: 1;
}

.btn-cta__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Button Groups */
.btn-cta-group {
    display: inline-flex;
    gap: 0;
}

.btn-cta-group .btn-cta {
    border-radius: 0;
    min-width: auto;
}

.btn-cta-group .btn-cta:first-child {
    border-top-left-radius: var(--btn-border-radius);
    border-bottom-left-radius: var(--btn-border-radius);
}

.btn-cta-group .btn-cta:last-child {
    border-top-right-radius: var(--btn-border-radius);
    border-bottom-right-radius: var(--btn-border-radius);
}

.btn-cta-group .btn-cta:not(:last-child) {
    border-right: none;
}

/* Responsive Button Adjustments */
@media screen and (max-width: 768px) {
    .btn-cta {
        min-width: 160px;
        padding: 12px 24px;
        font-size: 0.85em;
    }
    
    .btn-cta--large {
        padding: 16px 32px;
    }
    
    .btn-cta--xlarge {
        min-width: 250px;
        padding: 18px 36px;
    }
}

/* ========================================
   LEGACY BUTTON COMPATIBILITY
   ======================================== */

/* Maintain compatibility with existing button classes */
.btn, .widget_blossomtheme_companion_cta_widget .btn-cta {
    @extend .btn-cta;
    @extend .btn-cta--primary;
}

.btn:hover, .btn:focus,
.widget_blossomtheme_companion_cta_widget .btn-cta:hover,
.widget_blossomtheme_companion_cta_widget .btn-cta:focus {
    @extend .btn-cta--primary:hover;
}

.widget_blossomtheme_companion_cta_widget .btn-cta.btn-primary-one:hover, 
.widget_blossomtheme_companion_cta_widget .btn-cta.btn-1:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    border-color: transparent;
}

/* Legacy Button Variants - Now using btn-cta system */
.btn-primary {
    @extend .btn-cta;
    @extend .btn-cta--primary;
}

.btn-primary:hover, .btn-primary:focus {
    @extend .btn-cta--primary:hover;
}

.btn-secondary {
    @extend .btn-cta;
    @extend .btn-cta--secondary;
}

.btn-secondary:hover, .btn-secondary:focus {
    @extend .btn-cta--secondary:hover;
}

.btn-outline {
    @extend .btn-cta;
    @extend .btn-cta--outline;
}

.btn-outline:hover, .btn-outline:focus {
    @extend .btn-cta--outline:hover;
}

/* Legacy Button Sizes */
.btn-sm {
    @extend .btn-cta--small;
}

.btn-lg {
    @extend .btn-cta--large;
}

/* Legacy Button States */
.btn:disabled, .btn.disabled {
    @extend .btn-cta--disabled;
}

/* ========================================
   SPECIFIC BUTTON STYLES FOR COMPONENTS
   ======================================== */

/* Hero Button - Special styling for hero section */
.hero-button {
    @extend .btn-cta;
    @extend .btn-cta--secondary;
    @extend .btn-cta--large;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    min-width: auto;
}

.hero-button:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
    color: var(--primary-blue);
}

/* Submit Button - For forms */
.submit-btn {
    @extend .btn-cta;
    @extend .btn-cta--secondary;
    width: 100%;
    min-width: auto;
}

.submit-btn:hover {
    @extend .btn-cta--secondary:hover;
}



/* Search Submit Button */
.search-submit {
    @extend .btn-cta;
    @extend .btn-cta--primary;
    @extend .btn-cta--small;
    min-width: auto;
    padding: 0.5rem 1rem;
}

/* CTA Button - General call-to-action buttons */
.cta-button {
    @extend .btn-cta;
    @extend .btn-cta--primary;
}

/* President Message CTA Button */
.president-message-section .cta-button {
    @extend .btn-cta;
    @extend .btn-cta--secondary;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.president-message-section .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Header Search Button */
.header-search {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-search:hover {
    background: var(--primary-gold);
    color: var(--primary-blue);
}

.header-search svg {
    width: 16px;
    height: 16px;
}

/* Header Search Form Submit */
.search-form-inner .search-submit {
    @extend .btn-cta;
    @extend .btn-cta--primary;
    @extend .btn-cta--small;
    min-width: auto;
    padding: 0.5rem 1rem;
}

.search-form-inner .search-submit:hover {
    @extend .btn-cta--primary:hover;
}

/* Header Search Close Button */
.search-form-inner .close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.3s ease;
}

.search-form-inner .close:hover {
    background: var(--primary-gold);
    color: var(--primary-blue);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Container - Mobile First Approach */
.container {
    padding: 0 15px;
    width: 100%;
    margin: 0 auto;
    max-width: 420px;
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media screen and (min-width: 1025px) {
    .container {
        max-width: 1000px;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1250px;
    }
}

/* Top Header */
.header-t {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.header-t .container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.header-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    flex: 1;
}

.contact-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.contact-block svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-block .content {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-block a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-block a:hover {
    color: var(--primary-gold);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
    flex-shrink: 0;
}

/* Ensure social icons stay on the right when no contact info */
.header-t .container.no-contact {
    justify-content: flex-end;
}

.header-social .social-list {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.header-social .social-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.header-social .social-list a:hover {
    background: var(--primary-gold);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.header-social .social-list svg {
    width: 16px;
    height: 16px;
}

.header-search-wrap {
    position: relative;
}

.header-search {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-search:hover {
    background: var(--primary-gold);
    color: var(--primary-blue);
}

.header-search svg {
    width: 16px;
    height: 16px;
}

.search-form-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    min-width: 300px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.search-form-wrap.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form-inner {
    position: relative;
}

.search-form-inner .search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form-inner .search-field {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
}

.search-form-inner .search-submit {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.search-form-inner .search-submit:hover {
    background: var(--primary-gold);
    color: var(--primary-blue);
}

.search-form-inner .close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.3s ease;
}

.search-form-inner .close:hover {
    background: var(--primary-gold);
    color: var(--primary-blue);
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    display: flex;
    align-items: center;
}

.custom-logo-link img,
.site-logo img {
    object-fit: contain;
    transition: all 0.3s ease;
}

.site-branding {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .custom-logo-link img,
    .site-logo img {
        max-width: 100% !important;
        height: auto !important;
    }
}

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

.main-navigation a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    background: var(--primary-blue);
    color: var(--white);
}





/* Hero Section */
.hero-section {
    background: var(--primary-blue);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
}



.hero-section::after {
    content: "";
    position: absolute;
    background: rgba(var(--black-color-rgb), 0.6);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--white);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-button-wrapper {
    margin-top: 2rem;
}

.hero-button {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.hero-button:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
    color: var(--primary-blue);
}

.hero-button-text {
    display: inline-block;
}

/* Sections */
.section {
    padding: 4rem 0;
}

/* Mobile Section Padding */
@media (max-width: 767px) {
    .section {
        padding: 3rem 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}



/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.card-image {
    height: 200px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 1rem;
}

/* Events */
.event-card {
    border-left: 4px solid var(--primary-gold);
}

/* Events Archive Page */
.page-header .hero-content {
    position: relative;
    z-index: 2;
}

.page-header .page-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

.page-header .archive-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--white);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header Styles */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: var(--primary-color);
    color: white;
    margin-top: 2rem;
}

.page-header .page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.page-header .archive-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Events Search and Filter */
.events-filter {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.events-search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.events-search-form input[type="text"] {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.events-search-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 64, 128, 0.1);
}

.events-search-form .search-submit {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-search-form .search-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.3);
}

.search-input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-group input[type="text"] {
    flex: 1;
    min-width: 250px;
}

.search-input-group .search-submit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-results-info {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-results-info p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.clear-search {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: var(--secondary-color);
    color: white;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Event Card Enhancements */
.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: none;
    border-left: 4px solid var(--primary-gold);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.event-card .card-image {
    height: 220px;
    overflow: hidden;
}

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

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

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

.event-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.event-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-card h3 a:hover {
    color: var(--secondary-color);
}

.event-date,
.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.event-date {
    color: var(--primary-color);
    font-weight: 600;
}

.event-location {
    color: var(--dark-gray);
    font-style: italic;
}

.event-date .dashicons,
.event-location .dashicons {
    font-size: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
}

.event-excerpt {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

.event-card .read-more {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.event-card .read-more:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.3);
}

/* No Events Found */
.no-events {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.no-events h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-events p {
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.events-cta {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.events-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.events-cta p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

/* Pagination */
.navigation.pagination {
    margin: 3rem 0;
    text-align: center;
}

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

.nav-links a,
.nav-links span {
    padding: 12px 16px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-links a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-links .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Events Page Header Responsive */
@media (max-width: 768px) {
    .page-header .page-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .page-header .archive-description {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .page-header .page-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .page-header .archive-description {
        font-size: 1rem;
    }
}

/* Main Content Layout */
.site-main {
    margin-bottom: 3rem;
    width: 100%;
}

/* Sidebar Widgets */
.widget-area {
    margin-top: 2rem;
}

.widget {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.widget-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

/* Quick Links Widget */
.widget_nrana_china_quick_links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_nrana_china_quick_links li {
    margin-bottom: 0.75rem;
}

.widget_nrana_china_quick_links a {
    color: var(--dark-gray);
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.widget_nrana_china_quick_links a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Upcoming Events Widget */
.upcoming-events-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.event-item:last-child {
    border-bottom: none;
}

.event-item h4 {
    margin-bottom: 0.5rem;
}

.event-item h4 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.event-item h4 a:hover {
    color: var(--secondary-color);
}

.event-item .event-date {
    font-size: 0.85rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.view-all-link {
    margin-top: 1rem;
    text-align: center;
}

.view-all-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.view-all-link a:hover {
    background: var(--primary-color);
    color: white;
}

/* Contact Info Widget */
.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-info strong {
    color: var(--primary-color);
}

.contact-info a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .events-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .events-search-form input[type="text"] {
        min-width: auto;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card .card-image {
        height: 180px;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .page-header {
        padding: 1.5rem 1rem;
        margin-top: 1rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .events-filter {
        padding: 1rem;
    }
    
    .event-card .card-content {
        padding: 1rem;
    }
    
    .widget {
        padding: 1rem;
    }
}

.event-date {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-location {
    color: var(--dark-gray);
    font-style: italic;
}






/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

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

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

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

/* Fix Modula Gallery Image Centering */
.modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content img.pic,
.modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content picture.pic {
    transform: translate(-50%, -50%);
}

/* Also fix any other Modula gallery images that might have centering issues */
.modula .modula-items .modula-item img.pic,
.modula .modula-items .modula-item picture.pic {
    transform: translate(-50%, -50%);
}

/* Card Icon Styling */
.card-icon {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon .dashicons {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* President Message Section */
.president-message-section {
    position: relative;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--blue-50) 100%);
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}



.president-message-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,64,128,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(0,64,128,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(0,64,128,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(0,64,128,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(0,64,128,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.president-message-section .section-title {
    margin-bottom: var(--spacing-2xl);
}







.president-message-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    max-width: 1200px;
    border-radius: 10px;
}


.president-photo {
    width: 100%;
    max-width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 4px solid var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



.president-photo-placeholder {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.placeholder-icon {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-400);
}

.placeholder-text {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

.president-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--primary-gold);
    color: var(--primary-blue);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
    animation: badge-pulse 2s ease-in-out infinite;
}

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

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

.president-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 var(--spacing-xs) 0;
    line-height: 1.2;
}

.president-title {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

.president-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    color: var(--gray-600);
    font-size: 0.875rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-blue);
}



/* Message Content Card */






.message-text {
    margin-bottom: var(--spacing-md);
    position: relative;
}



.message-paragraph {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin: 0;
    text-align: justify;
}

.message-footer {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-start;
    text-align: left;
}

.president-signature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.signature-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-gold));
    border-radius: 2px;
}

.signature-details {
    text-align: left;
}

.signature-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 0.25rem 0;
}

.signature-title {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.message-actions {
}

.btn-cta {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 64, 128, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.message-actions .btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.message-actions .btn-cta:hover::before {
    left: 100%;
}

.message-actions .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 64, 128, 0.3);
}

/* Footer */
.site-footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
}

/* Contact Section */
.footer-content .footer-section.contact-section {
    display: block;
    padding: 0;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--primary-gold);
    margin-top: 0.125rem;
}



.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details a,
.contact-details span {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-gold);
}



/* Hours Section */
.hours-section .hours-content {
    line-height: 1.6;
    color: var(--white);
    opacity: 0.9;
    white-space: pre-line;
}

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

.gallery-section .gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
}

/* Location Section */
.location-section .location-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Social Networks Section */
.social-section .social-networks {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-section .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-section .social-link:hover {
    background: var(--primary-gold);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.social-section .social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Contact Details Social Networks */
.contact-details-wrap .social-networks {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.contact-details-wrap .social-networks li {
    list-style: none;
    margin: 0;
}

.contact-details-wrap .social-networks .bttk-contact-social-icon-wrap {
    margin: 0;
}

.contact-details-wrap .social-networks a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details-wrap .social-networks a:hover {
    background: var(--primary-gold);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.contact-details-wrap .social-networks svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-details-wrap .social-networks .bttk-contact-social-links-field-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.location-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--primary-gold);
    margin-top: 0.125rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.location-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-details a,
.location-details span {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-details a:hover {
    color: var(--primary-gold);
}

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

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    color: var(--white);
    opacity: 0.8;
    text-align: center;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Contact Page Styles */
.contact-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.contact-form-section,
.social-media-section {
    margin-bottom: 4rem;
    text-align: center;
}

.contact-info-section h2,
.contact-form-section h2,
.social-media-section h2 {
    /* color: var(--primary-gold); */
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.contact-info-section p,
.contact-form-section p,
.social-media-section p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.contact-page-content .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-page-content .contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.contact-page-content .contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-page-content .contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-page-content .contact-details h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-page-content .contact-details a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-page-content .contact-details a:hover {
    color: var(--primary-gold);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

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

.submit-btn {
    background: var(--primary-gold);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-blue);
}

/* Homepage Contact Section Styles */
.contact-section {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    position: relative;
    padding: 4rem 0;
}

.contact-section .widget {
    flex: 0 0 60%;
}

.contact-section .widget_text {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.contact-section .widget_custom_html {
    padding-right: 0;
}

.contact-section .widget_custom_html + .widget_text {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}

section.contact-section .widget_custom_html .widget-title {
    display: none;
}

section.contact-section .widget_text .textwidget {
    max-width: 100%;
    margin-top: 0;
}

.contact-section .widget_text .textwidget {
    display: flex;
    flex: 1;
    width: 100%;
    flex-direction: column;
}

section.contact-section .widget_custom_html .textwidget {
    min-height: 600px;
}

section.contact-section .widget_text .textwidget .wpcf7 {
    width: 100%;
}

iframe {
    border: 0;
    width: 100%;
}

.map-section {
    height: 500px;
    flex: 0 0 50%;
    width: 50%;
}

.contact-form-section {
    padding-left: 60px;
    padding-top: 50px;
    padding-bottom: 80px;
    padding-right: 60px;
    text-align: left;
}

.contact-form-section .section-title {
    text-align: left;
}

.contact-form-section .section-title h2 {
    color: var(--primary-color);
}



/* CTA Section title underline styling */

/* CTA Section Layout */
.cta-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.cta-text-content {
    flex: 1;
    text-align: left;
}

.cta-text-content h2 {
    margin-bottom: 1rem;
}

.cta-text-content p {
    margin-bottom: 1rem;
    max-width: 600px;
}



.cta-button-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Responsive CTA layout */
@media screen and (max-width: 768px) {
    .cta-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-text-content {
        text-align: center;
    }
    

}

/* CTA Button hover effect */
.cta-button-wrapper .btn-cta:hover {
    color: white !important;
}

.cta-button-wrapper .btn-cta:hover span {
    color: white !important;
}

/* Mission, Vision & Goals Section */
.mission-vision-section {
    padding: 5rem 0;
    background: var(--white);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.mission-vision-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-gold);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.mission-vision-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.mission-vision-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.goals-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.goals-list li {
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.goals-list li::before {
    content: "✓";
    color: var(--primary-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* Responsive design for mission vision section */
@media screen and (max-width: 768px) {
    .mission-vision-section {
        padding: 3rem 0;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .mission-vision-card {
        padding: 2rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
}

/* Tablet responsive padding */
@media screen and (max-width: 1024px) {
    .contact-form-section {
        padding-left: 40px;
        padding-top: 60px;
        padding-bottom: 60px;
        padding-right: 40px;
    }
}

/* Mobile responsive padding */
@media screen and (max-width: 768px) {
    .contact-form-section {
        padding: 0;
    }
}

/* Tablet and below - stack contact sections vertically */
@media screen and (max-width: 1024px) {
    .contact-section .container {
        flex-direction: column;
    }
}

.contact-details-wrap {
    background: #fff;
    border: 10px solid var(--primary-gold);
    border-right: 0;
    line-height: initial;
    box-shadow: 0 1px 30px rgba(0,0,0,.1);
    padding: 50px;
}





.contact-section .contact-details-wrap {
    flex: 0 0 40%;
    max-width: none;
    position: static;
    top: auto;
    left: auto;
    transform: none;
}

/* Mobile Responsive Layout */
@media screen and (max-width: 768px) {
    .contact-section .containerr {
        flex-direction: column;
        width: 100%;
    }
    
    .contact-form-section {
        flex: 0 0 auto;
        width: 100%;
        order: 1;
        margin-bottom: 0;
    }
    
    .contact-details-wrap {
        position: static;
        width: 100%;
        order: 2;
        margin: 30px auto 0 auto;
    }
}

.contact-section .contact-details-wrap::after {
    content: "";
    background: #fff;
    position: absolute;
    top: 50px;
    bottom: 50px;
    width: 10px;
    right: -10px;
    height: calc(100% - 100px);
}

.contact-details-wrap .widget {
    margin-bottom: 30px;
    width: 100%;
    display: block;
}

.contact-section .widget_text form label {
    font-size: 12px;
    text-transform: uppercase;
}

.contact-section .widget_text form label span {
    font-size: 16px;
    text-transform: none;
}

.contact-details-wrap .widget table,
.contact-details-wrap .widget:last-child {
    margin-bottom: 0;
}

.contact-details-wrap .widget .widget-title,
section.contact-section .contact-details-wrap .widget .widget-title {
    font-weight: 400;
    font-size: 1.112em;
    color: var(--primary-gold);
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-top: 0;
    margin-bottom: 20px;
    display: inline-block;
    padding-bottom: 5px;
}

.contact-details-wrap .widget .widget-title:after,
section.contact-section .contact-details-wrap .widget .widget-title:after {
    content: "";
    background: linear-gradient(to right, var(--primary-gold), transparent);
    width: 100%;
    height: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
}

.widget_bttk_contact_social_links p {
    font-size: .8888em;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.8;
}

.site-footer .widget_bttk_contact_social_links p {
    color: #fff;
}

.contact-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-info ul.contact-list li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 35px;
    font-size: .8888em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-list + ul.social-networks {
    margin-top: 20px;
}

.contact-info ul.contact-list li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 35px;
    font-size: .8888em;
}

.contact-info ul.contact-list li svg {
    width: 15px;
    position: absolute;
    top: 5px;
    left: 0;
    height: 15px;
    color: #999596;
}

.contact-info ul.contact-list li a {
    color: var(--text-color);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Force hide any notification that might be appearing */
body::before {
    display: none !important;
    content: none !important;
}

/* Responsive Design - Consolidated Media Queries */
@media screen and (max-width: 768px) {
    .header-t .container {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .header-t .container.no-contact {
        align-items: center;
    }
    
    .header-contact {
        order: 2;
        justify-content: center;
        gap: 1.5rem;
        flex: none;
    }
    
    .nav-right {
        order: 1;
        justify-content: center;
        flex: none;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        display: flex !important;
        flex-direction: column;
        text-align: left;
        gap: 1rem;
    }
    

    

    
    .site-header .header-content {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        position: relative;
    }
    
    .site-header .site-branding {
        flex: 1;
        text-align: center;
        margin-left: 0; /* Remove left margin */
    }
    

    
    /* Position toggle button on the left */
    .site-header .toggle-btn {
        position: relative;
        z-index: 1000000;
        order: 1; /* First element */
        flex-shrink: 0;
        margin-right: 0.5rem; /* Add some spacing */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .president-message-section .president-message-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .president-message-section .section-title {
        margin-bottom: 2rem;
    }
    

    
    .president-message-section h2 {
        font-size: 1.75rem;
    }
    

    
    .president-photo,
    .president-photo-placeholder {
        max-width: 250px;
        height: 250px;
    }
    
    .president-name {
        font-size: 1.25rem;
    }
    
   
    
    .message-title {
        font-size: 1.25rem;
    }
    
    .message-paragraph {
        font-size: 1rem;
        text-align: left;
    }
    
    .message-footer {
        gap: 1.5rem;
    }
    
    .message-actions .btn-cta {
        
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section h3::after {
        width: 30px;
    }
    
    .gallery-section .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-page-content {
        padding: 1rem 0;
    }
    
    .contact-info-section h2,
    .contact-form-section h2,
    .social-media-section h2 {
        font-size: 2rem;
    }
    
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-page-content .contact-item {
        padding: 1rem;
    }
    
    .contact-page-content .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-page-content .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .contact-section {
        padding: 2rem 0;
        flex-direction: column;
    }
    
    .contact-details-wrap {
        padding: 30px;
    }
    
    .contact-section .contact-details-wrap::after {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .header-t .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-t .container.no-contact {
        justify-content: flex-end;
    }
    
    .header-contact {
        order: 1;
        gap: 2rem;
    }
    
    .nav-right {
        order: 2;
        margin-top: 0;
    }
    
    .header-content {
        flex-direction: row;
        gap: 2rem;
    }
    
    .main-navigation ul {
        flex-direction: row;
        text-align: left;
        gap: 2rem;
    }
    

    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .president-message-section .president-message-content {
        grid-template-columns: 1fr 2fr;
        gap: 2.5rem;
        text-align: left;
    }
    

    
    .president-photo,
    .president-photo-placeholder {
        max-width: 300px;
        height: 300px;
    }
    
    /* .message-content-card {
        padding: 2.5rem;
    } */
    
    .message-title {
        font-size: 1.375rem;
    }
    
    .message-paragraph {
        font-size: 1.0625rem;
    }
}

@media screen and (min-width: 1025px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .president-message-section .president-message-content {
        gap: 4rem;
        grid-template-columns: 1fr 2.5fr;
    }
    

    
    .president-photo,
    .president-photo-placeholder {
        max-width: 320px;
        height: 320px;
    }
    
    .president-name {
        font-size: 1.625rem;
    }
    
    /* .message-content-card {
        padding: 2rem;
    } */
    
    .message-title {
        font-size: 1.5rem;
    }
    
    .message-paragraph {
        font-size: 1.125rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .contact-section,
    .about-section {
        grid-column: span 1;
    }
    
    .hours-section,
    .gallery-section,
    .location-section {
        grid-column: span 1;
    }
}

@media screen and (min-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-content {
        max-width: 900px;
    }
}

@media screen and (min-width: 1400px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-content {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1024px) {
    .contact-section .widget_text {
        width: 100%;
    }
    
    .contact-section .widget_custom_html {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .contact-section .widget_custom_html + .widget_text {
        padding-left: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .contact-section .widget + .contact-details-wrap {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-details-wrap {
        padding: 20px;
    }
    
    .contact-section .widget_custom_html .textwidget {
        min-height: 400px;
    }
}

/* ========================================
   MOBILE NAVIGATION STYLES
   ======================================== */

.responsive-nav {
    position: fixed;
    display: block;
    width: 320px;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--primary-color);
    z-index: 999999;
    overflow: auto;
    visibility: hidden;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all ease .35s;
    -moz-transition: all ease .35s;
    transition: all ease .35s;
}

/* Toggle Button Styles */
.toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000000;
}

.toggle-btn .toggle-bar {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Mobile Navigation Menu Styles */
.responsive-nav .main-navigation {
    padding: 1.5rem;
}

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

.responsive-nav .nav-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.responsive-nav .nav-menu li:last-child {
    border-bottom: none;
}

.responsive-nav .nav-menu a {
    display: block;
    padding: 1rem 0;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.responsive-nav .nav-menu a:hover {
    color: var(--secondary-color);
}

/* WordPress Menu Integration */


.responsive-nav .menu-item {
    position: relative;
}

.responsive-nav .menu-item-has-children > a::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.responsive-nav .menu-item-has-children.open > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.responsive-nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--secondary-color);
    margin-left: 1rem;
    display: none;
}

.responsive-nav .sub-menu li {
    border-bottom: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.responsive-nav .sub-menu a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.responsive-nav .sub-menu a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Header Social and Contact in Mobile Nav */
.responsive-nav .header-social {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.responsive-nav .header-social .social-list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.responsive-nav .header-social .social-list a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.responsive-nav .header-social .social-list a:hover {
    color: var(--secondary-color);
}

.responsive-nav .header-contact {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.responsive-nav .contact-block {
    margin-bottom: .75rem;
    color: var(--white);
}

.responsive-nav .contact-block:last-child {
    margin-bottom: 0;
}

.responsive-nav .contact-block .title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.responsive-nav .contact-block .content {
    margin: 0;
    font-size: 1rem;
}

.responsive-nav .contact-block a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.responsive-nav .contact-block a:hover {
    color: var(--secondary-color);
}

.responsive-nav .contact-block svg {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Mobile Navigation Active State */
@media screen and (max-width: 767px) {
    .menu-toggled .responsive-nav {
        visibility: visible;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        transform: translateX(0);
    }
    
    .toggle-btn {
        display: flex;
    }
    
    /* Hamburger Animation */
    .menu-toggled .toggle-btn .toggle-bar:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .menu-toggled .toggle-btn .toggle-bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggled .toggle-btn .toggle-bar:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    /* Mobile Toggle Button in Responsive Nav */
    .responsive-nav .mobile-toggle {
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 1000001;
    }
    
    .responsive-nav .mobile-toggle .toggle-bar {
        background: var(--white);
    }
    
    /* Submenu Toggle for Mobile */
    .responsive-nav .menu-item-has-children > a {
        padding-right: 2rem;
    }
    
    .responsive-nav .sub-menu {
        display: none;
    }
    
    .responsive-nav .menu-item-has-children.open .sub-menu {
        display: block;
    }
}

/* Desktop: Hide Mobile Navigation */
@media screen and (min-width: 768px) {
    .responsive-nav {
        display: none;
    }
    
    .toggle-btn {
        display: none;
    }
}

/* Additional Mobile Navigation Enhancements */
.responsive-nav .nav-animated {
    will-change: transform, visibility;
}

.responsive-nav .nav-menu .current-menu-item > a,
.responsive-nav .nav-menu .current-menu-parent > a {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin: 0 -0.5rem;
    padding: 1rem 0.5rem;
}

.responsive-nav .nav-menu .current-menu-item > a::before,
.responsive-nav .nav-menu .current-menu-parent > a::before {
    content: '▶';
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Touch Device Enhancements */
@media (hover: none) and (pointer: coarse) {
    .responsive-nav .nav-menu a {
        padding: 1.25rem 0;
    }
    
    .responsive-nav .sub-menu a {
        padding: 1rem 1.25rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .responsive-nav {
        border: 2px solid var(--white);
    }
    
    .responsive-nav .nav-menu li {
        border-bottom: 2px solid var(--white);
    }
    
    .responsive-nav .sub-menu {
        border-left: 3px solid var(--white);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .responsive-nav,
    .toggle-btn .toggle-bar {
        transition: none;
    }
    
    .responsive-nav .nav-menu a {
        transition: color 0.1s ease;
    }
}

/* Global Title Underline Styles */
.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-gold));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Override for specific sections that need different margins */
.contact-form-section .title-underline,
.cta-text-content .title-underline {
    margin: 1rem 0 0 0;
}

@media screen and (max-width: 768px) {
    .cta-text-content .title-underline {
        margin: 1rem auto 0;
    }
}

/* Card Icon Styles */
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon .dashicons {
    font-size: 3rem;
}

/* Contact Page Contact Icon Styles */
.contact-page-content .contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-page-content .contact-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: var(--primary-gold);
}

.contact-page-content .contact-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.contact-page-content .contact-icon:hover svg {
    transform: scale(1.1);
}

/* Contact Info Section Contact Icon Styles */
.contact-info-section .contact-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    color: var(--primary-gold);
    margin-top: 0.125rem;
    background: var(--primary-color);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Social Networks Section Styles */
.social-networks {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    margin-top: 1.5rem;
}

.social-networks .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-networks .social-link:hover {
    background: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-networks .social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form Section Styles */
.contact-form-section {
    width: 100%;
    margin-bottom: 0px;
}

@media screen and (min-width: 1024px) {
    .contact-form-section {
        width: 100%;
    }
}

/* Contact Info Section Styles */
.contact-info-section {
    width: 100%;
}

@media screen and (min-width: 1024px) {
    .contact-info-section {
        width: 100%;
    }
}

/* ========================================
   BOARD MEMBERS STYLES
   ======================================== */

/* Board Members Grid */
.board-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Archive Page Grid - Same as homepage */
.board-members-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Board Member Card */
.board-member-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.board-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.board-member-card .card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

/* Default Avatar */
.default-avatar {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.default-avatar .dashicons {
    font-size: 3rem;
    width: 3rem;
    height: 3rem;
}

.board-member-card:hover .default-avatar {
    background: var(--gray-200);
    color: var(--gray-500);
}

.board-member-card .card-content {
    padding: 1.5rem;
}

.board-member-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

/* Member Position */
.member-position {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.member-position .dashicons {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

/* Member Excerpt */
.member-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Member Contact */
.member-contact {
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.contact-item .dashicons {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--primary-blue) ;
    text-decoration: none;
    transition: color 0.3s ease;
}


.site-footer .contact-item a {
    color: var(--white) !important;
}
.contact-item a:hover {
    color: var(--primary-gold);
}

/* Board Member Cards Grid (Homepage) */
.cards-grid .board-member-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cards-grid .board-member-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cards-grid .board-member-card .member-excerpt {
    flex: 1;
}

/* Grid Layout Options */
.board-members-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.board-members-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.board-members-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}



/* ========================================
   EVENTS GRID LAYOUT OPTIONS
   ======================================== */

/* Events Grid Layout Options */
.events-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.events-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.events-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}





/* ========================================
   WORDPRESS WIDGET STYLING
   ======================================== */

/* Widget Container */
.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

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

/* Widget Title */
.widget-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-gold);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-blue);
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: 0.5rem;
}

.widget_search .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.widget_search .search-field:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 64, 128, 0.1);
}

.widget_search .search-submit {
    @extend .btn-cta;
    @extend .btn-cta--primary;
    @extend .btn-cta--small;
    min-width: auto;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
}

.widget_search .search-submit:hover {
    @extend .btn-cta--primary:hover;
}

/* Recent Posts Widget */
.widget_recent_entries ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_recent_entries li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.widget_recent_entries li:hover {
    padding-left: 0.5rem;
}

.widget_recent_entries a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

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

.widget_recent_entries .post-date {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Recent Comments Widget */
.widget_recent_comments ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_recent_comments li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.widget_recent_comments .comment-author-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.widget_recent_comments .comment-author-link:hover {
    color: var(--primary-gold);
}

.widget_recent_comments .comment-content {
    color: var(--text-color);
    margin-top: 0.5rem;
}

.widget_recent_comments .comment-date {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Archives Widget */
.widget_archive ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_archive li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.widget_archive li:hover {
    padding-left: 0.5rem;
}

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

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

.widget_archive .post-count {
    float: right;
    background: var(--primary-gold);
    color: var(--primary-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

/* Categories Widget */
.widget_categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_categories li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.widget_categories li:hover {
    padding-left: 0.5rem;
}

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

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

.widget_categories .post-count {
    float: right;
    background: var(--primary-gold);
    color: var(--primary-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

/* Meta Widget */
.widget_meta ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_meta li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.widget_meta li:hover {
    padding-left: 0.5rem;
}

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

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

/* Pages Widget */
.widget_pages ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_pages li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.widget_pages li:hover {
    padding-left: 0.5rem;
}

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

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

/* Calendar Widget */
.widget_calendar {
    text-align: center;
}

.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.widget_calendar caption {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    margin-bottom: 0;
}

.widget_calendar th {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 0.5rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.widget_calendar td {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.widget_calendar td:hover {
    background: var(--primary-gold);
    color: var(--primary-blue);
}

.widget_calendar .pad {
    background: var(--gray-100);
}

.widget_calendar .today {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.widget_tag_cloud .tagcloud a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.widget_tag_cloud .tagcloud a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* RSS Widget */
.widget_rss ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_rss li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.widget_rss .rsswidget {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.5rem;
}

.widget_rss .rsswidget:hover {
    color: var(--primary-gold);
}

.widget_rss .rss-date {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.widget_rss .rssSummary {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.widget_rss cite {
    color: var(--primary-blue);
    font-style: normal;
    font-weight: 500;
}

/* Text Widget */
.widget_text {
    line-height: 1.6;
}

.widget_text p:last-child {
    margin-bottom: 0;
}

.widget_text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
}

/* Navigation Menu Widget */
.widget_nav_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_nav_menu li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.widget_nav_menu li:hover {
    padding-left: 0.5rem;
}

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

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

.widget_nav_menu .sub-menu {
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.widget_nav_menu .sub-menu li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.widget_nav_menu .sub-menu li:last-child {
    border-bottom: none;
}

/* Custom HTML Widget */
.widget_custom_html {
    line-height: 1.6;
}

.widget_custom_html img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.widget_custom_html iframe {
    max-width: 100%;
    border-radius: var(--radius-sm);
}

/* Media Widget */
.widget_media_gallery .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
    margin: 0;
}

.widget_media_gallery .gallery-item {
    margin: 0;
}

.widget_media_gallery .gallery-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

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

/* Audio Widget */
.widget_media_audio {
    text-align: center;
}

.widget_media_audio audio {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* Video Widget */
.widget_media_video {
    text-align: center;
}

.widget_media_video video {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* Responsive Widget Adjustments */
@media screen and (max-width: 768px) {
    .widget {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .widget-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .widget_search .search-form {
        flex-direction: column;
    }
    
    .widget_search .search-field {
        margin-bottom: 0.5rem;
    }
    
    .widget_search .search-submit {
        width: 100%;
    }
    
    .widget_calendar table {
        font-size: 0.9rem;
    }
    
    .widget_calendar th,
    .widget_calendar td {
        padding: 0.4rem 0.3rem;
    }
}

/* Widget Hover Effects */
.widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Widget Focus States */
.widget:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 64, 128, 0.1);
}

/* Widget Loading States */
.widget.widget-loading {
    opacity: 0.7;
    pointer-events: none;
}

.widget.widget-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-blue);
    border-radius: 50%;
    animation: widget-spin 1s linear infinite;
}

@keyframes widget-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Widget Empty States */
.widget:empty::before {
    content: 'No content available';
    display: block;
    text-align: center;
    color: var(--gray-500);
    font-style: italic;
    padding: 2rem 0;
}

/* Widget Error States */
.widget.widget-error {
    border-color: #dc3545;
    background: #f8d7da;
}

.widget.widget-error .widget-title {
    color: #721c24;
    border-bottom-color: #dc3545;
}

.widget.widget-error::before {
    content: 'Error loading widget';
    display: block;
    text-align: center;
    color: #721c24;
    font-style: italic;
    padding: 1rem 0;
}

/* Full Width Container Adjustments */
.container {
    padding: 0 15px;
    width: 100%;
    margin: 0 auto;
    max-width: 420px;
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media screen and (min-width: 1025px) {
    .container {
        max-width: 1000px;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1250px;
    }
}

/* Enhanced Content Layout */
.entry-content {
    max-width: 100%;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Posts Grid - Full Width */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

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

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

/* Post Cards - Enhanced */
.post-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    height: 200px;
    overflow: hidden;
}

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

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

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

.entry-title {
    margin-bottom: 1rem;
}

.entry-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--secondary-color);
}

.entry-meta {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.entry-meta span {
    margin-right: 1rem;
}

.entry-summary {
    margin-bottom: 1.5rem;
    flex: 1;
    color: var(--text-color);
    line-height: 1.6;
}

.entry-footer {
    margin-top: auto;
}

.read-more {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sidebar Layout Options */
.site-main {
    margin-bottom: 3rem;
    width: 100%;
}

/* When sidebar is visible */
.sidebar-visible .site-main {
    width: 100%;
}

@media screen and (min-width: 1024px) {
    .sidebar-visible .site-main {
        width: 70%;
        float: left;
    }
    
    .sidebar-visible .widget-area {
        width: 28%;
        float: right;
        margin-top: 0;
    }
    
    .sidebar-visible.sidebar-left .site-main {
        float: right;
    }
    
    .sidebar-visible.sidebar-left .widget-area {
        float: left;
    }
    
    .sidebar-visible .container::after {
        content: '';
        display: table;
        clear: both;
    }
}

/* Sidebar Widgets - Enhanced */
.widget-area {
    margin-top: 2rem;
}

.widget {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.widget-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

/* Enhanced Sidebar Integration */
.sidebar-visible .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.sidebar-visible .site-main {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.sidebar-visible .widget-area {
    flex: 0 0 300px; /* Fixed width for sidebar */
    margin-top: 0;
}

/* Sidebar Left Layout */
.sidebar-visible.sidebar-left .container {
    flex-direction: row-reverse;
}

/* Responsive Sidebar */
@media screen and (max-width: 1023px) {
    .sidebar-visible .container {
        flex-direction: column;
    }
    
    .sidebar-visible .site-main,
    .sidebar-visible .widget-area {
        flex: none;
        width: 100%;
    }
    
    .sidebar-visible .widget-area {
        margin-top: 2rem;
    }
}

/* Sidebar Widget Enhancements */
.widget-area .widget:last-child {
    margin-bottom: 0;
}

/* Quick Links Widget - Enhanced */
.widget_nrana_china_quick_links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_nrana_china_quick_links li {
    margin-bottom: 0.75rem;
}

.widget_nrana_china_quick_links a {
    color: var(--dark-gray);
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.widget_nrana_china_quick_links a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Upcoming Events Widget - Enhanced */
.upcoming-events-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.event-item:last-child {
    border-bottom: none;
}

.event-item h4 {
    margin-bottom: 0.5rem;
}

.event-item h4 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.event-item h4 a:hover {
    color: var(--secondary-color);
}

.event-item .event-date {
    font-size: 0.85rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.view-all-link {
    margin-top: 1rem;
    text-align: center;
}

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

.view-all-link a:hover {
    color: var(--secondary-color);
}

/* Contact Info Widget - Enhanced */
.widget_nrana_china_contact_info .contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.widget_nrana_china_contact_info .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget_nrana_china_contact_info .contact-info a:hover {
    color: var(--secondary-color);
}

/* Customizer Control Enhancements */
.customize-control {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 8px;
}

.customize-control:hover {
    background-color: rgba(0, 115, 170, 0.05);
    transform: translateX(5px);
}

.customize-control-title {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.customize-control-title:hover {
    background-color: rgba(0, 115, 170, 0.1);
    color: #0073aa;
}

.customize-control-description {
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.customize-control-description:hover {
    background-color: rgba(0, 115, 170, 0.05);
    color: #0073aa;
}

/* Section Headers */
.accordion-section-title,
.customize-section-title {
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-section-title:hover,
.customize-section-title:hover {
    background-color: rgba(0, 115, 170, 0.1);
    color: #0073aa;
}

/* Active Control Highlight */
.customize-control.active {
    background-color: rgba(0, 115, 170, 0.1);
    border-left: 4px solid #0073aa;
    padding-left: 16px;
}

/* Input Focus States */
.customize-control input:focus,
.customize-control textarea:focus,
.customize-control select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

/* Preview Section Highlighting */
.customizer-highlight {
    animation: customizer-pulse 2s ease-in-out;
}

@keyframes customizer-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 115, 170, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 115, 170, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 115, 170, 0);
    }
}

/* Customizer Navigation Hints */
.customize-control::before {
    content: "🎯";
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.customize-control:hover::before {
    opacity: 1;
}

/* Section Navigation */
.accordion-section::before {
    content: "📂";
    position: absolute;
    left: -30px;
    top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 16px;
}

.accordion-section:hover::before {
    opacity: 1;
}

/* Control Group Highlighting */
.customize-control-group {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.customize-control-group:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.1);
}

/* Responsive Customizer */
@media (max-width: 768px) {
    .customize-control {
        margin-bottom: 12px;
    }
    
    .customize-control-title {
        padding: 10px 15px;
        font-size: 16px;
    }
    
    .customize-control-description {
        padding: 6px 15px;
        font-size: 14px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .customize-control:hover {
        background-color: rgba(0, 115, 170, 0.15);
    }
    
    .customize-control-title:hover {
        background-color: rgba(0, 115, 170, 0.2);
    }
    
    .customize-control-description:hover {
        background-color: rgba(0, 115, 170, 0.15);
    }
}

/* President Message Page Styles */
.president-message-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-blue);
}

.page-title {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.breadcrumb {
    font-size: 1rem;
    color: var(--secondary-color);
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--light-gray);
}

.breadcrumb .current {
    color: var(--dark-gray);
    font-weight: 600;
}

/* President Profile Section */
.president-profile {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profile-image {
    flex-shrink: 0;
}

.president-photo {
}

.default-president-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 123, 170, 0.3);
}

.profile-info {
    flex: 1;
}

.president-name {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.president-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.president-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.contact-item .icon {
    font-size: 1.2rem;
}





.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.message-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 0;
    font-weight: 700;
}

.message-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.message-date .icon {
    font-size: 1.1rem;
}

.message-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.message-body p {
    margin-bottom: 20px;
}

.message-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.message-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.achievements-list li,
.future-goals li {
    position: relative;
    padding-left: 20px;
}

.achievements-list li::before {
    content: "✅";
    position: absolute;
    left: -20px;
    color: var(--success-color, #28a745);
}

.future-goals li::before {
    content: "🎯";
    position: absolute;
    left: -20px;
    color: var(--primary-blue);
}

.signature {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--light-gray);
    text-align: right;
    font-style: italic;
    color: var(--primary-blue);
}

/* Call to Action Section */
.message-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 5px 20px rgba(0, 123, 170, 0.3);
}

.message-cta h4 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.message-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-cta {
    min-width: 200px;
}

.btn-cta--secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-cta--secondary:hover {
    background: white;
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .president-message-page {
        padding: 20px 0;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .president-profile {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .president-name {
        font-size: 1.3rem;
    }
    
    /* .president-message-content {
        padding: 25px;
    }
     */
    .message-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .message-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-cta {
        min-width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .president-name {
        font-size: 1.8rem;
    }
    
    .president-message-content {
        padding: 20px;
    }
    
    .message-title {
        font-size: 1.5rem;
    }
    
    .message-body {
        font-size: 1rem;
    }
}

.page-template-page-president-message-php .president-message-section {
    padding: 45px;
}

/* ========================================
   CONSOLIDATED RESPONSIVE MEDIA QUERIES
   ======================================== */

/* Large Desktop & Tablet Landscape */
@media (max-width: 1024px) {
    .events-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .events-grid-3,
    .events-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .board-members-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .president-message-page {
        padding: 20px 0;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .president-profile {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .president-name {
        font-size: 1.3rem;
    }
    
    .message-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .message-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-cta {
        min-width: 100%;
        max-width: 300px;
    }
}

/* Mobile Landscape */
@media (max-width: 767px) {
    /* Header Mobile Adjustments */
    .header-t .nav-right {
        display: none;
    }
    
    .header-t .header-contact {
        justify-content: flex-start;
        gap: 15px;
    }
    
    .header-t .contact-block {
        font-size: 0.8rem;
    }
    
    .header-t .contact-block .title {
        display: none;
    }
    
    .header-t .contact-block .content {
        font-size: 0.8rem;
    }
    
    .header-t .contact-block:nth-child(3) {
        display: none;
    }
    
    /* Hide Desktop Navigation on Mobile */
    .site-header .main-navigation {
        display: none;
    }
    
    /* Mobile Navigation - Hidden by Default */
    .responsive-nav {
        display: block;
        visibility: hidden;
        transform: translateX(-100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Mobile Navigation - Show when Active */
   
    
    /* Mobile Navigation - Hide when Inactive */
    .responsive-nav:not(.nav-animated) {
        visibility: hidden;
        transform: translateX(-100%);
    }
    
    /* Mobile Navigation Social Links Alignment */
    .responsive-nav .header-social {
        justify-content: left;
    }
    
    .responsive-nav .header-social .social-list {
        justify-content: left;
    }
    
    .responsive-nav .header-contact {
        justify-content: left;
    }
    
    .responsive-nav .contact-block .title {
        display: none;
    }
    
    .responsive-nav.nav-animated .main-navigation {
        margin-top: 60px;
    }
    
    .responsive-nav .main-navigation a {
        color: white;
    }
    
    .responsive-nav .main-navigation a:hover,
    .responsive-nav .main-navigation a:focus {
        color: var(--primary-gold);
    }
    
    /* Toggle Button Animation States */
    .menu-toggled .toggle-btn .toggle-bar:nth-child(1) {
        transform: rotate(50deg);
    }
    
    .menu-toggled .toggle-btn .toggle-bar:nth-child(3) {
        transform: rotate(-43deg);
        left: -2px;
        top: 4px;
    }
    
    /* Global Section Padding */
    .section {
        padding: 3rem 0;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 5rem 0;
    }
    
    /* President Message Section */
    .president-message-section {
        padding: 3rem 0;
    }
    
    /* Events Section */
    .events-grid,
    .events-grid-2,
    .events-grid-3,
    .events-grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        margin-bottom: 1rem;
    }
    
    .event-card .card-content {
        padding: 1.25rem;
    }
    
    .event-card h3 {
        font-size: 1.25rem;
    }
    
    .event-card .card-image {
        height: 200px;
    }
    
    #events-section, #board-members-section {
        padding: 3rem 0;
    }
    
    /* Board Members Section */
    .board-members-grid,
    .board-members-grid-2,
    .board-members-grid-3,
    .board-members-grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .board-member-card {
        margin-bottom: 1rem;
    }
    
    .board-member-card .card-content {
        padding: 1.25rem;
    }
    
    .board-member-card h3 {
        font-size: 1.25rem;
    }
    
    .board-member-card .card-image {
        height: 200px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .events-grid-2,
    .events-grid-3,
    .events-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .board-members-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .president-name {
        font-size: 1.8rem;
    }
    
    .president-message-content {
        padding: 20px;
    }
    
    .message-title {
        font-size: 1.5rem;
    }
    
    .message-body {
        font-size: 1rem;
    }
}

/* Gallery Section Styles */
.gallery-section {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

/* Albums Grid */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(var(--album-grid-columns), 1fr);
    gap: var(--album-card-gap);
    margin-bottom: 2rem;
}

.album-card {
    background: var(--white);
    border-radius: var(--album-card-radius);
    overflow: hidden;
    box-shadow: var(--album-card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Album Card Hover Shadow Variations */
.album-card.shadow-light:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.album-card.shadow-heavy:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.album-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.album-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    height: 100%;
    color: var(--primary-blue);
}

.album-placeholder .dashicons {
    font-size: 3rem;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 115, 170, 0.9), rgba(255, 193, 7, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-overlay .album-info {
    text-align: center;
    color: white;
    padding: 1rem;
}

.album-overlay .album-title {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.album-overlay .album-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

.album-content {
    padding: 1.5rem;
}

.album-content .album-title {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.album-content .album-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.album-content .album-title a:hover {
    color: var(--primary-gold);
}

.album-content .album-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.no-albums {
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--primary-blue);
}

    .no-albums p {
        color: var(--text-color);
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Single Gallery Template Styles */
    .gallery-single {
        padding: 2rem 0;
    }
    
    .gallery-single .entry-header {
        margin-bottom: 3rem;
    }
    
    .gallery-single .entry-title {
        color: var(--primary-blue);
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }
    
    .gallery-single .entry-excerpt {
        color: var(--text-color);
        font-size: 1.2rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .gallery-single .gallery-description {
        background: var(--light-gray);
        padding: 2rem;
        border-radius: var(--radius-lg);
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .gallery-single .gallery-display {
        margin-bottom: 3rem;
    }
    
    .gallery-single .gallery-navigation {
        margin: 3rem 0;
        padding: 2rem 0;
        border-top: 1px solid var(--light-gray);
        border-bottom: 1px solid var(--light-gray);
    }
    
    .gallery-single .nav-links {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
    
    .gallery-single .nav-previous,
    .gallery-single .nav-next {
        flex: 1;
    }
    
    .gallery-single .nav-previous a,
    .gallery-single .nav-next a {
        display: block;
        text-decoration: none;
        color: var(--text-color);
        transition: color 0.3s ease;
    }
    
    .gallery-single .nav-previous a:hover,
    .gallery-single .nav-next a:hover {
        color: var(--primary-blue);
    }
    
    .gallery-single .nav-subtitle {
        display: block;
        font-size: 0.9rem;
        color: var(--primary-gold);
        margin-bottom: 0.5rem;
    }
    
    .gallery-single .nav-title {
        display: block;
        font-weight: 600;
        font-size: 1.1rem;
    }
    
    .gallery-single .back-to-galleries {
        margin-top: 2rem;
    }
    
    /* Archive Gallery Template Styles */
    .galleries-archive-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
        margin: 3rem 0;
    }
    
    .gallery-archive-item {
        background: var(--white);
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .gallery-archive-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }
    
    .gallery-archive-item .gallery-preview {
        position: relative;
        overflow: hidden;
        aspect-ratio: 4/3;
    }
    
    .gallery-archive-item .gallery-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .gallery-archive-item:hover .gallery-thumbnail {
        transform: scale(1.05);
    }
    
    .gallery-archive-item .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 115, 170, 0.9), rgba(255, 193, 7, 0.9));
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .gallery-archive-item:hover .gallery-overlay {
        opacity: 1;
    }
    
    .gallery-archive-item .gallery-overlay .gallery-info {
        text-align: center;
        color: white;
        padding: 1rem;
    }
    
    .gallery-archive-item .gallery-overlay .gallery-title {
        color: white;
        margin-bottom: 0.5rem;
        font-size: 1.3rem;
    }
    
    .gallery-archive-item .gallery-overlay .gallery-excerpt {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.95rem;
        margin: 0;
    }
    
    .gallery-archive-item .gallery-content {
        padding: 1.5rem;
    }
    
    .gallery-archive-item .gallery-content .gallery-title {
        color: var(--primary-blue);
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }
    
    .gallery-archive-item .gallery-content .gallery-excerpt {
        color: var(--text-color);
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    /* Gallery Not Found */
    .gallery-not-found {
        padding: 4rem 0;
        text-align: center;
    }
    
    .gallery-not-found h1 {
        color: var(--primary-blue);
        margin-bottom: 1rem;
    }
    
    .gallery-not-found p {
        color: var(--text-muted);
        margin-bottom: 2rem;
        font-size: 1.1rem;
    }
    
    /* Responsive Gallery Single & Archive */
    @media (max-width: 767px) {
        .gallery-single .entry-title {
            font-size: 2rem;
        }
        
        .gallery-single .nav-links {
            flex-direction: column;
            gap: 1rem;
        }
        
        .galleries-archive-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
    }

.gallery-section .section-header {
    margin-bottom: 3rem;
}

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

.gallery-section .section-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-content {
    margin-bottom: 2rem;
}

.gallery-footer {
    margin-top: 2rem;
}

.gallery-description {
    color: var(--text-color);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.gallery-fallback {
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--primary-blue);
}

.gallery-fallback p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Gallery Section */
@media (max-width: 767px) {
    .gallery-section {
        padding: 3rem 0;
    }
    
    .gallery-section .section-title {
        font-size: 2rem;
    }
    
    .gallery-section .section-subtitle {
        font-size: 1rem;
    }
    
    .gallery-content {
        margin-bottom: 1.5rem;
    }
    
    .gallery-footer {
        margin-top: 1.5rem;
    }
    
    /* Mobile Albums Grid */
.albums-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Mobile Album Card Enhancements */
@media (max-width: 767px) {
    .album-card {
        margin-bottom: 1.5rem;
    }
    
    .album-content {
        padding: 1.25rem;
    }
    
    .album-content .album-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .album-content .album-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}
    
    
}

/* Tablet Albums Grid */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Desktop Albums Grid */
@media screen and (min-width: 1025px) {
    .albums-grid {
        grid-template-columns: repeat(var(--album-grid-columns), 1fr);
        gap: var(--album-card-gap);
    }
}

/* ========================================
   ALL PHOTO GALLERIES PAGE TEMPLATE STYLES
   ======================================== */

/* Gallery Cards Grid */
.galleries-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.default-gallery-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    height: 100%;
    color: var(--primary-blue);
}

.default-gallery-image .dashicons {
    font-size: 3rem;
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 64, 128, 0.9), rgba(255, 204, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.gallery-overlay-content .dashicons {
    font-size: 2rem;
}

.gallery-overlay-content span:last-child {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Gallery Card Content */
.gallery-card .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-card .gallery-title {
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gallery-card .gallery-excerpt {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Gallery Meta Information */
.gallery-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.gallery-meta > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.gallery-meta .dashicons {
    color: var(--primary-gold);
    font-size: 1rem;
}

.gallery-date a,
.gallery-image-count span {
    color: var(--text-color);
    text-decoration: none;
}

.gallery-date a:hover {
    color: var(--primary-blue);
}

/* Gallery Actions */
.gallery-actions {
    margin-top: auto;
}

.gallery-actions .btn-cta {
    width: 100%;
    justify-content: center;
}

/* No Galleries State */
.no-galleries {
    padding: 4rem 0;
    text-align: center;
}

.no-galleries-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-galleries-icon {
    margin-bottom: 2rem;
}

.no-galleries-icon .dashicons {
    font-size: 4rem;
    color: var(--primary-blue);
}

.no-galleries h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.no-galleries p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design for Gallery Page */
@media (max-width: 1024px) {
    .galleries-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .galleries-grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .gallery-card .card-content {
        padding: 1rem;
    }
    
    .gallery-card .gallery-title {
        font-size: 1.2rem;
    }
    
    .gallery-card .gallery-excerpt {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .gallery-meta {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .gallery-meta > div {
        font-size: 0.85rem;
    }
    
    .no-galleries {
        padding: 3rem 0;
    }
    
    .no-galleries h2 {
        font-size: 1.5rem;
    }
    
    .no-galleries p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .gallery-meta > div {
        justify-content: center;
    }
}