/* Event pages under /calendar/: shared shell (header, footer) copied from /calendar/index.html,
   plus the event page layout. Loaded after /styles.css. */
/* === Site Header (matching index.html landing page header) === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #FFFFFFCC;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 18px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-logo-frame {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FDE8EC, #F5D0D6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-logo-frame img {
    width: 24px;
    height: 24px;
}

.header-logo-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #2D1A1E;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #5C3A44;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
    color: #A4303F;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-lang-switch {
    display: flex;
    border: 2px solid rgba(164, 48, 63, 0.2);
    border-radius: 100px;
    overflow: hidden;
}

.header-lang-btn {
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: #8C6B74;
    line-height: 1;
}

.header-lang-btn:hover {
    color: #800020;
}

.header-lang-btn.active {
    background: #A4303F;
    color: white;
}

/* Hamburger menu (mobile) */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #2D1A1E;
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFFEE;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

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

.mobile-menu a {
    font-family: 'Quicksand', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #2D1A1E;
    text-decoration: none;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #2D1A1E;
    padding: 4px;
}

/* === Site Footer (matching index.html) === */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 60px 80px 32px;
    background: linear-gradient(180deg, #3D1A22, #2D1218);
    color: white;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.footer-brand-tagline {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #D4A0A7;
    line-height: 1.6;
    max-width: 300px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-links a {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #D4A0A7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col-links a:hover {
    color: white;
}

.footer-divider {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: rgba(212, 160, 167, 0.2);
    margin-bottom: 24px;
}

.footer-bottom-text {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(140, 107, 116, 0.53);
}

/* Hide old navbar and footer from styles.css */
.navbar { display: none !important; }
.footer { display: none !important; }

/* Override hero from styles.css since we use cal-hero */
.hero { display: none !important; }


/* === Event page layout === */
.ev-main {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 120px 24px 64px;
    font-family: 'Quicksand', sans-serif;
    color: var(--text-primary);
}

.ev-breadcrumbs {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.ev-breadcrumbs a {
    color: var(--accent-rose);
    text-decoration: none;
}

.ev-breadcrumbs a:hover { text-decoration: underline; }

.ev-breadcrumbs span[aria-hidden] { margin: 0 6px; }

.ev-badge {
    display: inline-block;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #A4303F;
    background: rgba(164, 48, 63, 0.06);
    border: 1.5px solid rgba(164, 48, 63, 0.15);
    border-radius: 100px;
    margin-bottom: 14px;
}

.ev-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}

.ev-lead {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.ev-section { margin-top: 36px; }

.ev-section h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 14px;
}

.ev-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 8px;
}

.ev-section p,
.ev-section li {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-secondary);
}

.ev-section p + p { margin-top: 10px; }

.ev-section ul {
    padding-left: 20px;
    margin: 8px 0;
}

.ev-section a,
.ev-lead a {
    color: var(--accent-rose);
    font-weight: 700;
}

.ev-card {
    background: var(--bg-card);
    border: 1px solid rgba(164, 48, 63, 0.12);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(128, 0, 32, 0.04);
}

.ev-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.ev-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.ev-status {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.ev-status-upcoming { color: #fff; background: var(--gradient-primary); }
.ev-status-past { color: var(--text-muted); background: var(--bg-elevated); }
.ev-status-tba { color: #8a5a00; background: #fff4dc; }

.ev-facts {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.ev-facts th,
.ev-facts td {
    text-align: left;
    vertical-align: top;
    padding: 6px 0;
    border-top: 1px solid rgba(164, 48, 63, 0.08);
    line-height: 1.5;
}

.ev-facts th {
    width: 34%;
    padding-right: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

.ev-facts td {
    font-weight: 600;
    color: var(--text-primary);
}

.ev-facts a {
    color: var(--accent-rose);
    font-weight: 700;
    word-break: break-word;
}

.ev-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.6;
}

.ev-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 10px 18px;
    border-radius: 100px;
    background: var(--gradient-primary);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.ev-related {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
}

.ev-related li a {
    display: block;
    height: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(164, 48, 63, 0.15);
    border-radius: 12px;
    background: var(--bg-card);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.ev-related li a:hover { border-color: #A4303F; color: #A4303F; }

.ev-updated {
    margin-top: 40px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Hide old navbar and footer from styles.css */
.navbar { display: none !important; }
.footer { display: none !important; }

@media (max-width: 900px) {
    .site-header { padding: 14px 20px; }
    .header-nav { display: none; }
    .hamburger-btn { display: block; }
    .header-logo-text { font-size: 16px; }
    .site-footer { padding: 40px 24px 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-columns { display: none; }
    .footer-brand-tagline { max-width: none; }
    .ev-main { padding: 96px 16px 48px; }
    .ev-title { font-size: 28px; }
    .ev-lead { font-size: 15px; }
}

@media (max-width: 480px) {
    .ev-facts th,
    .ev-facts td { display: block; width: 100%; padding: 2px 0; border-top: none; }
    .ev-facts tr { display: block; padding: 6px 0; border-top: 1px solid rgba(164, 48, 63, 0.08); }
}
