/*
 Theme Name:   AS Golf du Sauternais
 Theme URI:    https://asgolfdusauternais.com
 Description:  Thème enfant Astra pour l'AS Golf du Sauternais
 Author:       Armand TEGOMO VOUKENG
 Author URI:   https://www.linkedin.com/in/armand-tegomo-voukeng/
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-golf-sauternais
*/

/* ==========================================================================
   Variables & Base
   ========================================================================== */
:root {
    /* Astra global color overrides */
    --ast-global-color-0: #28a745 !important;
    --ast-global-color-1: #1e7e34 !important;
    --ast-global-color-2: #212529 !important;
    --ast-global-color-3: #495057 !important;
    --ast-global-color-4: #28a745 !important;
    --ast-global-color-5: #1e7e34 !important;

    --golf-green: #28a745;
    --golf-green-dark: #1e7e34;
    --golf-green-light: #48c764;
    --golf-white: #ffffff;
    --golf-gray-100: #f8f9fa;
    --golf-gray-200: #e9ecef;
    --golf-gray-300: #dee2e6;
    --golf-gray-500: #6c757d;
    --golf-gray-700: #495057;
    --golf-gray-900: #212529;
    --golf-danger: #dc3545;
    --golf-warning: #ffc107;
    --golf-info: #17a2b8;
}

/* ==========================================================================
   Typography
   ========================================================================== */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--golf-gray-900);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--golf-gray-900);
}

/* ==========================================================================
   Header
   ========================================================================== */
.ast-primary-header,
.site-header,
.ast-primary-header .ast-builder-menu-1,
.ast-builder-layout-element[data-section="section-primary-header-builder"],
#ast-desktop-header .ast-primary-header,
.ast-primary-header-bar,
.ast-header-break-point .ast-primary-header {
    background-color: var(--golf-green) !important;
}

.ast-primary-header .site-title a,
.ast-primary-header .site-description,
.main-header-menu > .menu-item > a,
.ast-builder-menu-1 .menu-item > .menu-link,
.ast-header-break-point .ast-builder-menu-1 .menu-item > .menu-link,
.ast-builder-layout-element .ast-site-identity .site-title a,
.ast-site-identity .site-title a {
    color: var(--golf-white) !important;
}

.main-header-menu > .menu-item:hover > a,
.main-header-menu > .menu-item.current-menu-item > a {
    color: var(--golf-gray-200) !important;
}

.main-header-menu .sub-menu {
    background-color: var(--golf-white);
    border-top: 3px solid var(--golf-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-header-menu .sub-menu .menu-item a {
    color: var(--golf-gray-900) !important;
}

.main-header-menu .sub-menu .menu-item:hover > a {
    background-color: var(--golf-gray-100);
    color: var(--golf-green) !important;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
a {
    color: var(--golf-green);
}

a:hover {
    color: var(--golf-green-dark);
}

.ast-button,
.button,
input[type="submit"],
button[type="submit"],
.wp-block-button__link {
    background-color: var(--golf-green) !important;
    border-color: var(--golf-green) !important;
    color: var(--golf-white) !important;
    border-radius: 4px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ast-button:hover,
.button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.wp-block-button__link:hover {
    background-color: var(--golf-green-dark) !important;
    border-color: var(--golf-green-dark) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer,
.ast-footer-overlay {
    background-color: var(--golf-gray-900) !important;
    color: var(--golf-gray-300);
}

.site-footer a {
    color: var(--golf-green-light) !important;
}

.site-footer a:hover {
    color: var(--golf-white) !important;
}

.ast-small-footer {
    border-top: 1px solid var(--golf-gray-700);
}

/* Hide default "Powered by Astra WordPress Theme" */
.ast-footer-copyright a[href*="developer.wordpress.org"],
.ast-footer-copyright a[href*="developer.wordpress.org"] ~ *,
.ast-footer-copyright a[href*="developer.wordpress"],
.ast-footer-copyright a[href*="developer.wordpress"] ~ *,
.ast-footer-copyright a[href*="wpastra.com"],
.ast-footer-copyright a[href*="wpastra.com"] ~ *,
.site-footer a[href*="developer.wordpress.org"],
.site-footer a[href*="wpastra.com"],
.ast-small-footer-section-2,
.ast-footer-copyright p:last-child a[href*="developer.wordpress"],
.ast-footer-copyright p:last-child a[href*="developer.wordpress"] ~ * {
    display: none !important;
}

/* Custom footer signature */
.site-footer .ast-footer-copyright,
.site-footer .ast-builder-layout-element .ast-footer-copyright {
    text-align: center;
    font-size: 13px;
    color: var(--golf-gray-300);
}
.site-footer .ast-footer-copyright a {
    color: var(--golf-green-light) !important;
    text-decoration: none;
    font-weight: 600;
}
.site-footer .ast-footer-copyright a:hover {
    color: var(--golf-white) !important;
    text-decoration: underline;
}

/* ==========================================================================
   Mobile responsive
   ========================================================================== */
@media (max-width: 768px) {
    .ast-primary-header .ast-mobile-menu-buttons .menu-toggle {
        color: var(--golf-white);
    }
}

/* ==========================================================================
   Single Event Page (gcm_event)
   ========================================================================== */

/* --- Hero Banner --- */
.gcm-event-hero {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center center;
    background-color: var(--golf-gray-900);
    display: flex;
    align-items: flex-end;
}
.gcm-event-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.3) 100%);
}
.gcm-event-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 40px;
}
.gcm-event-hero__status {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 3px;
    margin-bottom: 14px;
}
.gcm-event-hero__type {
    display: inline-block;
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 3px;
    margin-left: 8px;
    margin-bottom: 14px;
}
.gcm-event-hero__title {
    color: #fff !important;
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 14px 0;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.gcm-event-hero__date,
.gcm-event-hero__location {
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    margin: 0 0 6px 0;
}
.gcm-event-hero__date i,
.gcm-event-hero__location i {
    width: 22px;
    margin-right: 8px;
    color: var(--golf-green-light);
}

/* --- Main Layout --- */
.gcm-event-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}
.gcm-event-single__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

/* --- Description --- */
.gcm-event-single__description h2 {
    font-size: 24px;
    color: var(--golf-gray-900);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--golf-green);
}
.gcm-event-single__description h2 i {
    color: var(--golf-green);
    margin-right: 8px;
}
.gcm-event-single__body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--golf-gray-700);
}
.gcm-event-single__body p {
    margin-bottom: 16px;
}
.gcm-event-single__empty {
    color: var(--golf-gray-500);
    font-style: italic;
}

/* --- Gallery --- */
.gcm-event-single__gallery {
    margin-top: 40px;
}
.gcm-event-single__gallery h2 {
    font-size: 24px;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--golf-green);
}
.gcm-event-single__gallery h2 i {
    color: var(--golf-green);
    margin-right: 8px;
}
.gcm-event-single__gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.gcm-event-single__gallery-item {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.gcm-event-single__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gcm-event-single__gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Sidebar Card --- */
.gcm-event-single__card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 28px;
    margin-bottom: 24px;
}
.gcm-event-single__card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--golf-gray-200);
    color: var(--golf-gray-900);
}
.gcm-event-single__card-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--golf-gray-100);
}
.gcm-event-single__card-row:last-of-type {
    border-bottom: none;
}
.gcm-event-single__card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(40,167,69,0.1);
    color: var(--golf-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.gcm-event-single__card-row strong {
    display: block;
    font-size: 13px;
    color: var(--golf-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.gcm-event-single__card-row span {
    font-size: 15px;
    color: var(--golf-gray-900);
    font-weight: 500;
}

/* Progress bar */
.gcm-event-single__progress {
    margin-top: 6px;
    height: 6px;
    background: var(--golf-gray-200);
    border-radius: 3px;
    overflow: hidden;
}
.gcm-event-single__progress-bar {
    height: 100%;
    background: var(--golf-green);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Status badge */
.gcm-event-single__badge {
    display: inline-block;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA button */
.gcm-event-single__card-cta {
    margin-top: 20px;
}
.gcm-event-single__btn {
    display: block;
    text-align: center;
    background: var(--golf-green);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.gcm-event-single__btn:hover {
    background: var(--golf-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
    color: #fff !important;
}
.gcm-event-single__btn i {
    margin-right: 6px;
}

/* Share buttons */
.gcm-event-single__share-links {
    display: flex;
    gap: 10px;
}
.gcm-event-single__share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.gcm-event-single__share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #fff !important;
}
.gcm-event-single__share-btn--fb  { background: #1877f2; }
.gcm-event-single__share-btn--tw  { background: #1da1f2; }
.gcm-event-single__share-btn--email { background: var(--golf-gray-500); }

/* Back link */
.gcm-event-single__back {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--golf-gray-200);
}
.gcm-event-single__back a {
    color: var(--golf-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}
.gcm-event-single__back a:hover {
    color: var(--golf-green-dark);
}
.gcm-event-single__back a i {
    margin-right: 6px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .gcm-event-single__grid {
        grid-template-columns: 1fr;
    }
    .gcm-event-hero {
        min-height: 320px;
    }
    .gcm-event-hero__title {
        font-size: 30px;
    }
    .gcm-event-hero__content {
        padding: 40px 20px 30px;
    }
}

@media (max-width: 480px) {
    .gcm-event-hero {
        min-height: 260px;
    }
    .gcm-event-hero__title {
        font-size: 24px;
    }
    .gcm-event-single__card {
        padding: 20px;
    }
}

/* ==========================================================================
   Event Detail — Elementor Shortcode Components (gcm-ed-*)
   ========================================================================== */

/* --- Full-width override for single posts (articles/events) --- */
.single-post .site-content > .ast-container,
.single-gcm_event .site-content > .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}
.single-post.ast-separate-container .site-main > article,
.single-post.ast-separate-container #primary,
.single-gcm_event.ast-separate-container .site-main > article,
.single-gcm_event.ast-separate-container #primary {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}
/* Remove Astra separate-container spacing around content */
.single-post.ast-separate-container .site-content,
.single-gcm_event.ast-separate-container .site-content {
    padding-top: 0 !important;
}

/* --- Hero --- */
.gcm-ed-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-color: #1a472a;
}
.gcm-ed-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 100%);
}
.gcm-ed-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 30px 50px;
}
.gcm-ed-hero__badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.gcm-ed-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gcm-ed-hero__type {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.gcm-ed-hero__title {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 18px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1.15;
}
.gcm-ed-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.gcm-ed-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    font-weight: 500;
}
.gcm-ed-hero__meta-item i {
    font-size: 14px;
    opacity: 0.8;
}
.gcm-ed-hero__time {
    background: rgba(255,255,255,0.15);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 14px;
    margin-left: 4px;
}

/* --- Section Header --- */
.gcm-ed-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #28a745;
}
.gcm-ed-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.gcm-ed-section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

/* --- Content --- */
.gcm-ed-content__body {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
}
.gcm-ed-content__body p {
    margin-bottom: 16px;
}
.gcm-ed-content__empty {
    color: #6c757d;
    font-style: italic;
    padding: 30px 0;
}

/* --- Info Card --- */
.gcm-ed-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 24px;
}
.gcm-ed-card__header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}
.gcm-ed-card__header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gcm-ed-card__header h3 i {
    color: #28a745;
    font-size: 16px;
}
.gcm-ed-card__body {
    padding: 8px 24px 16px;
}
.gcm-ed-card__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}
.gcm-ed-card__row:last-child {
    border-bottom: none;
}
.gcm-ed-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(40,167,69,0.1), rgba(32,201,151,0.1));
    border-radius: 10px;
    color: #28a745;
    font-size: 16px;
    flex-shrink: 0;
}
.gcm-ed-card__text {
    flex: 1;
    min-width: 0;
}
.gcm-ed-card__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 2px;
}
.gcm-ed-card__value {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
}
.gcm-ed-card__badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gcm-ed-card__progress {
    margin-top: 8px;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}
.gcm-ed-card__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 3px;
    transition: width 0.5s ease;
}
.gcm-ed-card__cta {
    padding: 16px 24px 24px;
}

/* --- Button --- */
.gcm-ed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.gcm-ed-btn--primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}
.gcm-ed-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
    color: #fff;
}

/* --- Gallery --- */
.gcm-ed-gallery {
    margin-top: 40px;
}
.gcm-ed-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.gcm-ed-gallery__item {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.gcm-ed-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gcm-ed-gallery__item:hover img {
    transform: scale(1.08);
}
.gcm-ed-gallery__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40,167,69,0.5);
    color: #fff;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gcm-ed-gallery__item:hover .gcm-ed-gallery__overlay {
    opacity: 1;
}

/* --- Share --- */
.gcm-ed-share {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}
.gcm-ed-share__links {
    display: flex;
    gap: 10px;
    padding: 16px 24px 24px;
}
.gcm-ed-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.gcm-ed-share__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
}
.gcm-ed-share__btn--fb { background: #1877f2; }
.gcm-ed-share__btn--tw { background: #1da1f2; }
.gcm-ed-share__btn--wa { background: #25d366; }
.gcm-ed-share__btn--email { background: #6c757d; }

/* --- Back Link --- */
.gcm-ed-back {
    padding: 30px 0 10px;
}
.gcm-ed-back__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.gcm-ed-back__link:hover {
    background: rgba(40,167,69,0.08);
    color: #1e7e34;
}
.gcm-ed-back__link i {
    transition: transform 0.2s ease;
}
.gcm-ed-back__link:hover i {
    transform: translateX(-3px);
}

/* --- Layout --- */
.gcm-ed-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}
.gcm-ed-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.gcm-ed-main {}
.gcm-ed-sidebar {}
.gcm-ed-sidebar .gcm-ed-card {
    position: sticky;
    top: 100px;
}

/* --- Countdown --- */
.gcm-ed-countdown {
    background: linear-gradient(135deg, #1a472a, #28a745);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 32px;
    text-align: center;
    color: #fff;
}
.gcm-ed-countdown__label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.gcm-ed-countdown__label i {
    font-size: 16px;
}
.gcm-ed-countdown__boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.gcm-ed-countdown__box {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 16px 24px;
    min-width: 90px;
}
.gcm-ed-countdown__number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}
.gcm-ed-countdown__unit {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

/* --- Organizer --- */
.gcm-ed-organizer__info {
    padding: 8px 0;
}
.gcm-ed-organizer__name {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}
.gcm-ed-organizer__detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 6px;
}
.gcm-ed-organizer__detail i {
    color: #28a745;
    font-size: 13px;
    width: 16px;
    text-align: center;
}
.gcm-ed-organizer__detail a {
    color: #28a745;
    text-decoration: none;
}
.gcm-ed-organizer__detail a:hover {
    text-decoration: underline;
}

/* --- Related Events --- */
.gcm-ed-related {
    margin-top: 50px;
    padding-top: 10px;
}
.gcm-ed-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.gcm-ed-related__card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.gcm-ed-related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.gcm-ed-related__img {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #1a472a;
    position: relative;
}
.gcm-ed-related__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 16px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.gcm-ed-related__body {
    padding: 16px;
    display: flex;
    gap: 14px;
}
.gcm-ed-related__date {
    text-align: center;
    min-width: 48px;
    flex-shrink: 0;
}
.gcm-ed-related__day {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #28a745;
    line-height: 1;
}
.gcm-ed-related__month {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.3px;
    margin-top: 2px;
}
.gcm-ed-related__info {
    min-width: 0;
}
.gcm-ed-related__title {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 4px;
    line-height: 1.3;
}
.gcm-ed-related__loc {
    font-size: 13px;
    color: #6c757d;
}
.gcm-ed-related__loc i {
    color: #28a745;
    font-size: 11px;
    margin-right: 2px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .gcm-ed-hero { min-height: 320px; }
    .gcm-ed-hero__title { font-size: 30px; }
    .gcm-ed-hero__inner { padding: 40px 20px 35px; }
    .gcm-ed-hero__meta { gap: 16px; }
    .gcm-ed-grid { grid-template-columns: 1fr; gap: 24px; }
    .gcm-ed-sidebar .gcm-ed-card { position: static; }
    .gcm-ed-related__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .gcm-ed-hero { min-height: 260px; }
    .gcm-ed-hero__title { font-size: 24px; }
    .gcm-ed-hero__inner { padding: 30px 16px 25px; }
    .gcm-ed-hero__meta { flex-direction: column; gap: 8px; }
    .gcm-ed-hero__meta-item { font-size: 14px; }
    .gcm-ed-card__body { padding: 8px 16px 16px; }
    .gcm-ed-card__header { padding: 16px 16px 12px; }
    .gcm-ed-card__cta { padding: 12px 16px 20px; }
    .gcm-ed-share__links { padding: 12px 16px 20px; }
    .gcm-ed-gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .gcm-ed-related__grid { grid-template-columns: 1fr; }
    .gcm-ed-countdown__boxes { gap: 10px; }
    .gcm-ed-countdown__box { min-width: 70px; padding: 12px 16px; }
    .gcm-ed-countdown__number { font-size: 28px; }
}

/* ==========================================================================
   Contact Form 7 Styling
   ========================================================================== */
.wpcf7 {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.wpcf7 label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--golf-gray-700);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--golf-gray-200);
    border-radius: 6px;
    font-size: 15px;
    color: var(--golf-gray-900);
    background: var(--golf-gray-100);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 6px;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--golf-green) !important;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.15);
    outline: none;
    background: #fff;
}
.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}
.wpcf7 select {
    appearance: auto;
    cursor: pointer;
}
.wpcf7 input[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px 30px;
    background: var(--golf-green) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.wpcf7 input[type="submit"]:hover {
    background: var(--golf-green-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}
.wpcf7-response-output {
    border-radius: 6px !important;
    padding: 12px 16px !important;
    font-size: 14px;
    margin-top: 16px !important;
}
.wpcf7-not-valid-tip {
    color: var(--golf-danger);
    font-size: 13px;
    margin-top: 4px;
}
.wpcf7 .wpcf7-not-valid {
    border-color: var(--golf-danger) !important;
}

/* Elementor Accordion (FAQ) */
.elementor-accordion .elementor-tab-title {
    font-weight: 600 !important;
    font-size: 16px !important;
}
.elementor-accordion .elementor-tab-title a {
    color: var(--golf-gray-900) !important;
}
.elementor-accordion .elementor-tab-title.elementor-active a {
    color: var(--golf-green) !important;
}
.elementor-accordion .elementor-tab-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--golf-gray-700);
}
