/*
Theme Name: Maiastra Theme
Theme URI: https://maiastra.ovh
Author: Maiastra Association
Author URI: https://maiastra.ovh
Description: Professional Franco-Romanian cultural association website theme for Maiastra Strasbourg
Version: 1.1.0
Tested up to: 6.9
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maiastra
Domain Path: /languages/
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */

:root {
    /* V5 Color Scheme */
    --col-primary: #A62626;      /* Burgundy Red */
    --col-secondary: #1A2B4C;    /* Navy Blue */
    --col-accent: #D4AF37;       /* Old Gold */
    --col-bg: #FCFBF9;           /* Off-white/Cream */
    --col-text: #2D3436;         /* Dark gray */
    --col-grey-light: #F0F2F5;   /* Light gray */

    /* Legacy aliases for compatibility */
    --primary: var(--col-primary);
    --accent: var(--col-accent);
    --light: var(--col-bg);
    --dark: var(--col-secondary);
    --gold: var(--col-accent);
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;

    /* V5 Typography */
    --font-head: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-family: var(--font-body);

    /* Font sizes */
    --font-size-xs: 12px;
    --font-size-sm: 13px;
    --font-size-base: 15px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 23px;
    --font-size-4xl: 36px;
    --font-size-5xl: 48px;

    /* V5 Layout */
    --max-w: 1200px;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 20px;
    --space-2xl: 24px;
    --space-3xl: 32px;
    --space-4xl: 40px;
    --space-5xl: 50px;
    --space-6xl: 60px;

    /* Border radius */
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --border-radius-xl: 12px;

    /* Transitions */
    --transition-speed: 0.3s;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--col-text);
    background-color: var(--col-bg);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-speed);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    object-fit: cover;
}

ul {
    list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--col-secondary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.2rem;
    margin-top: var(--space-4xl);
}

/* Page title spacing */
.entry-header h1,
.page-header h1 {
    margin-top: var(--space-5xl);
    margin-bottom: var(--space-3xl);
}

/* Hero H1 should not have extra top margin */
.hero h1 {
    margin-top: 0;
    color: #fff;
}

h2 {
    font-size: 2.5rem;
    color: var(--col-secondary);
    margin-bottom: var(--space-2xl);
}

h3 {
    font-size: 1.5rem;
    color: var(--col-secondary);
}

h4 {
    font-size: 1.3rem;
    color: var(--col-secondary);
}

p {
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-header {
    background: white;
    color: #333;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid #e9ecef;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 21px;
    font-weight: 700;
    padding: 0;
    letter-spacing: 0.8px;
    color: var(--primary);
}

.logo a {
    color: var(--primary);
    text-decoration: none;
}

.logo-flags {
    font-size: 24px;
    margin-left: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-grow: 1;
    margin-left: 40px;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    padding: 10px 0;
    display: block;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-switch {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    font-weight: 500;
}

.lang-switch:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: #f0f0f0;
    border-radius: 50%;
    transition: all 0.3s;
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
}

/* ==========================================================================
   HAMBURGER MENU
   ========================================================================== */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when menu is open */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

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

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

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.85) 0%, rgba(0, 52, 150, 0.88) 50%, rgba(220, 41, 30, 0.15) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="fleur" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="3" fill="rgba(255,255,255,0.08)"/><path d="M50,20 L80,80 M80,20 L20,80" stroke="rgba(255,255,255,0.05)" stroke-width="1" fill="none"/></pattern></defs><rect width="1200" height="600" fill="url(%23fleur)"/><line x1="0" y1="0" x2="1200" y2="600" stroke="rgba(220,41,30,0.08)" stroke-width="2"/><line x1="1200" y1="0" x2="0" y2="600" stroke="rgba(0,82,204,0.05)" stroke-width="2"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 70px 20px;
    text-align: center;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 41, 30, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 14px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
}

.hero p {
    font-size: 18px;
    margin-bottom: 22px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

/* V5 Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-speed);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--col-primary);
    color: #fff;
    border-color: var(--col-primary);
}

.btn-primary:hover {
    background: #8a1f1f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 38, 38, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--col-secondary);
    border: 1px solid var(--col-secondary);
}

.btn-outline:hover {
    background: var(--col-secondary);
    color: #fff;
}

/* Legacy secondary button (now outline style) */
.btn-secondary {
    background: transparent;
    color: var(--col-secondary);
    border: 1px solid var(--col-secondary);
}

.btn-secondary:hover {
    background: var(--col-secondary);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */

/* V5 Container */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* V5 Utility Classes */
.section-padding {
    padding: 80px 0;
}

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

section {
    padding: 50px 20px;
}

section h2 {
    font-size: 2.5rem;
    color: var(--col-secondary);
    margin-bottom: 38px;
    text-align: center;
    position: relative;
    padding-bottom: 14px;
    font-weight: 700;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--col-primary);
    border-radius: 2px;
}

/* ==========================================================================
   ABOUT/MISSION GRID
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
    margin-bottom: 40px;
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 61, 153, 0.08);
}

.about-content h3 {
    color: var(--primary);
    font-size: 23px;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    letter-spacing: -0.3px;
}

.about-content h3 i {
    font-size: 28px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0px;
}

.about-content p {
    margin-bottom: 0;
    line-height: 1.8;
    color: #555;
    font-size: 15px;
    font-weight: 400;
}

.about-image {
    height: 280px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 6px 18px rgba(0, 61, 153, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   EVENT CARDS
   ========================================================================== */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    border-left: 4px solid var(--primary);
    border-top: 1px solid #e9ecef;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.event-header {
    background: linear-gradient(135deg, var(--primary), #004db8);
    color: white;
    padding: 22px;
}

.event-date {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 9px;
    font-weight: 500;
}

.event-title {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    color: white;
}

.event-body {
    padding: 20px;
}

.event-location {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
}

.event-address {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.event-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.event-program {
    background: #f0f0f0;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 12px;
}

.event-program strong {
    display: block;
    margin-bottom: 8px;
}

.event-footer {
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-contact {
    font-size: 13px;
    color: #666;
}

.event-contact a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.event-contact a:hover {
    text-decoration: underline;
}

.event-price-badge {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.event-price-badge.free {
    background: var(--success);
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-3px);
}

.member-avatar {
    background: linear-gradient(135deg, var(--primary), #0052cc);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}

.member-info {
    padding: 20px;
}

.member-name {
    color: var(--primary);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

/* ==========================================================================
   TAB NAVIGATION
   ========================================================================== */

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: #f0f0f0;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.tab-btn:hover {
    background: var(--primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
    text-align: center;
}

.contact-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
}

.contact-section p {
    margin-bottom: 20px;
    font-weight: 300;
}

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

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-history {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-objectives {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.about-objectives ul {
    color: #666;
    line-height: 1.8;
    list-style: none;
    padding: 0;
}

.about-objectives li {
    margin-bottom: 12px;
}

.participate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.participate-card {
    padding: 30px;
    border-radius: 8px;
}

.participate-card.primary {
    background: var(--primary);
    color: white;
}

.participate-card.secondary {
    background: #e8eef7;
    color: var(--primary);
    border: 1px solid #d0daea;
}

.participate-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.participate-card p {
    margin-bottom: 15px;
    font-weight: 300;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
    color: #333;
    padding: 50px 20px 30px;
    margin-top: 60px;
    border-top: 2px solid var(--primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    margin-bottom: 11px;
    color: #677;
    text-decoration: none;
    line-height: 1.7;
    font-weight: 400;
    display: block;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 61, 153, 0.12);
    padding-top: 28px;
    text-align: center;
    color: #99a;
    font-size: 13px;
    font-weight: 400;
}

/* Footer contact items with inline icons */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-contact-item i {
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
}

.footer-contact-item a,
.footer-contact-item span {
    margin-bottom: 0;
    display: inline;
}

/* ==========================================================================
   SINGLE EVENT PAGE
   ========================================================================== */

.single-event-header {
    background: linear-gradient(135deg, var(--primary), #004db8);
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.single-event-date {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.single-event-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.single-event-details {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.single-event-details h3 {
    margin-bottom: 20px;
}

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

/* ==========================================================================
   EVENT GALLERY / PHOTO ALBUM
   ========================================================================== */

.event-gallery h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.event-gallery-item {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

/* Lightbox Modal */
.maiastra-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.maiastra-lightbox.active {
    display: flex;
}

.maiastra-lightbox-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}

.maiastra-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.maiastra-lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.2s;
}

.maiastra-lightbox-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.maiastra-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.2s;
    z-index: 10001;
}

.maiastra-lightbox-nav:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.maiastra-lightbox-prev {
    left: 20px;
}

.maiastra-lightbox-next {
    right: 20px;
}

.maiastra-lightbox-caption {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 6px;
    max-width: 80%;
    z-index: 10001;
}

.maiastra-lightbox-counter {
    position: fixed;
    top: 25px;
    left: 30px;
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 10001;
}

@media (max-width: 768px) {
    .event-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .maiastra-lightbox-content {
        max-width: 95%;
        max-height: 70%;
    }

    .maiastra-lightbox-content img {
        max-height: 70vh;
    }

    .maiastra-lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }

    .maiastra-lightbox-prev {
        left: 10px;
    }

    .maiastra-lightbox-next {
        right: 10px;
    }

    .maiastra-lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .maiastra-lightbox-counter {
        top: 20px;
        left: 15px;
        font-size: 12px;
    }
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.error-404 {
    text-align: center;
    padding: 80px 20px;
}

.error-404 h1 {
    font-size: 120px;
    color: var(--primary);
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* ==========================================================================
   LEGAL PAGE
   ========================================================================== */

.legal-page h1 {
    margin-top: var(--space-5xl);
    margin-bottom: var(--space-4xl);
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--space-4xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 12px rgba(0, 61, 153, 0.08);
}

.legal-content h2 {
    font-size: var(--font-size-2xl);
    color: var(--primary);
    margin-top: var(--space-4xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--accent);
    text-align: left;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h2::after {
    display: none;
}

.legal-content h3 {
    font-size: var(--font-size-lg);
    color: var(--dark);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.legal-content p {
    color: #555;
    margin-bottom: var(--space-lg);
}

.legal-content ul {
    color: #555;
    margin-bottom: var(--space-lg);
    padding-left: var(--space-2xl);
}

.legal-content li {
    margin-bottom: var(--space-sm);
}

.legal-update {
    margin-top: var(--space-4xl);
    padding-top: var(--space-xl);
    border-top: 1px solid #e9ecef;
    color: #999;
    text-align: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    /* Mobile hamburger menu */
    .hamburger-menu {
        display: flex;
    }

    .site-nav {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
        z-index: 999;
        margin-left: 0;
        gap: 0;
    }

    .nav-menu.mobile-open {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-menu a {
        padding: 15px 0;
        font-size: 16px;
        text-align: left;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-right {
        gap: 10px;
    }

    .lang-switch {
        padding: 6px 10px;
        font-size: 11px;
    }

    .social-icons {
        display: none;
    }

    .hero {
        padding: 50px 20px;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 17px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    section h2 {
        font-size: 30px;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .about-image {
        height: 240px;
    }

    .participate-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .single-event-header {
        padding: 25px;
    }

    .single-event-title {
        font-size: 28px;
    }

    .legal-content {
        padding: var(--space-2xl);
    }
}

/* ==========================================================================
   SMALL TABLETS (max-width: 600px)
   ========================================================================== */

@media (max-width: 600px) {
    html {
        font-size: 14px;
    }

    section {
        padding: 40px 15px;
    }

    .hero {
        padding: 45px 15px;
        min-height: 380px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
    }

    section h2 {
        font-size: 26px;
        margin-bottom: 28px;
    }

    .about-content h3 {
        font-size: 20px;
    }

    .about-grid {
        padding: 20px;
        gap: 25px;
    }

    .about-image {
        height: 200px;
    }

    .event-title {
        font-size: 18px;
    }

    .event-header {
        padding: 18px;
    }

    .contact-section {
        padding: 30px 20px;
    }

    .contact-section h3 {
        font-size: 20px;
    }
}

/* ==========================================================================
   LARGE PHONES (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    section {
        padding: 35px 12px;
    }

    .hero {
        padding: 40px 12px;
        min-height: 350px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 14px;
    }

    /* Hide decorative elements on small screens */
    .hero::before,
    .hero::after {
        display: none;
    }

    section h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .about-content h3 {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
    }

    .about-content h3 i {
        font-size: 24px;
    }

    .about-grid {
        padding: 16px;
        gap: 20px;
    }

    .about-image {
        height: 180px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .events-grid {
        gap: 20px;
    }

    .event-card {
        border-radius: 8px;
    }

    .participate-card {
        padding: 20px;
    }

    .participate-card h4 {
        font-size: 16px;
    }

    .footer-section h4 {
        font-size: 13px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }

    .nav-menu {
        width: 100%;
    }

    .logo {
        font-size: 18px;
    }

    .logo-flags {
        font-size: 20px;
        margin-left: 8px;
    }

    .legal-content {
        padding: var(--space-xl);
    }

    .legal-content h2 {
        font-size: var(--font-size-lg);
    }
}

/* ==========================================================================
   SMALL PHONES (max-width: 320px)
   ========================================================================== */

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 13px;
    }

    section h2 {
        font-size: 22px;
    }

    .logo {
        font-size: 16px;
    }

    .about-grid {
        padding: 12px;
    }

    .about-image {
        height: 160px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* ==========================================================================
   WORDPRESS SPECIFIC
   ========================================================================== */

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

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

.wp-caption-text {
    font-size: 13px;
    color: #666;
    text-align: center;
    padding: 10px 0;
}

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

/* Admin bar spacing */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

/* Focus states for accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus {
    outline-color: var(--accent);
}

/* Scrolled header state */
.site-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-bottom-color: var(--primary);
}

.site-header.scrolled .site-nav {
    padding: 10px 20px;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

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

    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .hero-buttons,
    .hamburger-menu,
    .mobile-menu-overlay,
    .nav-right {
        display: none !important;
    }

    .hero {
        background: none !important;
        color: black !important;
        padding: 20px 0 !important;
        min-height: auto !important;
    }

    .hero h1,
    .hero p {
        color: black !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        color: black !important;
        text-decoration: underline;
    }

    .legal-content {
        box-shadow: none !important;
        padding: 0 !important;
    }
}

/* ==========================================================================
   V5 COMPONENTS
   ========================================================================== */

/* ---------- V5 HEADER / NAV ---------- */
.header-v5 {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-v5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-v5 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--col-primary);
    font-family: var(--font-head);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-v5 i {
    color: var(--col-accent);
}

.nav-links-v5 {
    display: flex;
    gap: 30px;
}

.nav-links-v5 a {
    font-weight: 500;
    color: var(--col-text);
}

.nav-links-v5 a:hover,
.nav-links-v5 a.active {
    color: var(--col-primary);
}

/* ---------- V5 HERO (ACCUEIL) ---------- */
.hero-v5 {
    background: linear-gradient(rgba(26,43,76,0.85), rgba(26,43,76,0.75)),
                url('/V5/images/ro-fr-abstrait.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 140px 0;
    text-align: center;
}

.hero-v5 h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-v5 p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
    font-weight: 300;
}

/* ---------- V5 PAGE HERO (AUTRES PAGES) ---------- */
.page-hero {
    background: linear-gradient(rgba(26,43,76,0.9), rgba(26,43,76,0.8)),
                url('/V5/images/ro-fr-abstrait.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    font-size: 2.6rem;
    margin-top: 0;
}

.page-hero p {
    max-width: 700px;
    margin: 10px auto 0;
    opacity: 0.9;
}

/* ---------- V5 MISSION + MOSAÏQUE ---------- */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mission-images img:first-child {
    grid-row: span 2;
    height: 100%;
    min-height: 400px;
}

.mission-images img {
    height: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mission-content h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.mission-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--col-primary);
    transform: none;
}

.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--col-grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--col-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ---------- V5 EVENTS & PROJECTS SECTION ---------- */
.events-projects {
    background: #fff;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card-ep {
    background: var(--col-bg);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-top: 4px solid var(--col-primary);
}

.card-ep h3 {
    margin-bottom: 10px;
}

.card-ep span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--col-primary);
    margin-bottom: 8px;
}

/* ---------- V5 AGENDA TEASER (ACCUEIL) ---------- */
.agenda-section {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.event-card-large {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: var(--col-bg);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.event-visual {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 450px;
}

.event-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
}

.date-box {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255,255,255,0.95);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-top: 4px solid var(--col-primary);
}

.date-box span {
    display: block;
    font-weight: 700;
    color: var(--col-secondary);
    font-size: 1.8rem;
    line-height: 1;
}

.date-box small {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--col-text);
}

.event-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.tag {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--col-primary);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.event-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.meta-list {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.meta-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    color: #555;
}

.meta-list i {
    color: var(--col-accent);
    width: 20px;
    text-align: center;
}

/* ---------- V5 VALUES SECTION ---------- */
.values-section {
    background: var(--col-secondary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.values-section h2 {
    color: #fff;
}

.values-section h2::after {
    background: var(--col-accent);
}

.values-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.value-box {
    background: rgba(255,255,255,0.05);
    padding: 35px;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--col-accent);
    transition: var(--transition-speed);
}

.value-box:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.value-box h4 {
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.value-box h4 i {
    color: var(--col-accent);
}

.value-box p {
    color: #dcdde1;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ---------- V5 AGENDA PAGE (EVENT LIST) ---------- */
.event-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.event-card-v5 {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.event-header-v5 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.event-header-v5 h3 {
    margin: 0;
}

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

.event-gallery {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.event-gallery img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-speed);
}

.event-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* ---------- V5 FOOTER ---------- */
.footer-v5 {
    background: #151515;
    color: #999;
    padding: 60px 0 20px;
    font-size: 0.9rem;
    margin-top: 40px;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-v5 h5 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.footer-v5 .footer-brand {
    color: var(--col-primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--col-primary);
    margin-top: 3px;
}

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

.footer-v5 ul li {
    margin-bottom: 10px;
}

.footer-v5 ul li a:hover {
    color: var(--col-primary);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
    text-align: center;
}

/* ---------- V5 RESPONSIVE ---------- */
@media (max-width: 900px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .event-card-large {
        grid-template-columns: 1fr;
    }

    .event-visual {
        min-height: 250px;
    }

    .values-container {
        grid-template-columns: 1fr;
    }

    .hero-v5 h1 {
        font-size: 2.4rem;
    }

    .nav-links-v5 {
        display: none;
    }

    .footer-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .navbar-v5 {
        height: 70px;
    }

    .event-info {
        padding: 30px;
    }
}

/* ---------- V5 MOBILE MENU ---------- */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--col-secondary);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu a {
    padding: 12px 20px;
    color: var(--col-text);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition-speed);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--col-grey-light);
    color: var(--col-primary);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu.active {
    display: flex;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .hamburger-menu {
        display: block;
    }

    .nav-right .btn {
        display: none;
    }

    .mobile-menu {
        top: 70px;
    }
}

/* ==========================================================================
   V6 EVENT LIST (ZIG-ZAG LAYOUT)
   ========================================================================== */

.event-list-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.event-row {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--col-white, #fff);
    border-radius: 12px;
}

.event-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Image Side */
.event-row-image {
    flex: 1;
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.event-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 0;
}

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

/* Date Badge */
.event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    padding: 12px 20px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-top: 4px solid var(--col-primary);
    z-index: 10;
}

.event-date-badge .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--col-secondary);
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--col-primary);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Text Side */
.event-row-content {
    flex: 1;
    padding: 10px;
}

.event-row-content .event-category {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--col-accent);
    font-weight: 700;
    margin-bottom: 15px;
}

.event-row-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--col-secondary);
}

.event-row-content h3 a {
    color: inherit;
}

.event-row-content h3 a:hover {
    color: var(--col-primary);
}

.event-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.95rem;
    font-weight: 600;
}

.meta-item i {
    color: var(--col-primary);
}

.event-row-content .event-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Action Buttons Container */
.event-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* V6 Event List Responsive */
@media (max-width: 900px) {
    .event-list-container {
        gap: 50px;
    }

    .event-row,
    .event-row:nth-child(even) {
        flex-direction: column;
        gap: 20px;
    }

    .event-row-image {
        width: 100%;
        height: 250px;
    }

    .event-row-content h3 {
        font-size: 1.6rem;
    }

    .event-meta-grid {
        gap: 15px;
    }

    .event-actions {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .event-actions .btn {
        width: 100%;
        text-align: center;
    }
}
