:root {
    /* warm, austere chess palette (cream + charcoal + bronze accents) */
    --cream-1: #f4edd9;
    --cream-2: #e9ddbf;
    --charcoal-1: #3d3a36;
    --charcoal-2: #2e2b27;
    --bronze-1: #c49e7f;
    --bronze-2: #8b5e3c;
    --ink: #1f1d1a;
    --radius-xl: 20px;
    --shadow-1: 0 8px 24px rgba(0, 0, 0, .18);
    --shadow-2: 0 2px 10px rgba(0, 0, 0, .25);
}

/* ====== GLOBAL ====== */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    color: var(--ink);
    background: radial-gradient(1400px 900px at 10% -10%, #fff8e9 0, var(--cream-1) 35%, var(--cream-2) 100%);
    font-family: "Libre Franklin", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.5;
}

a {
    color: var(--bronze-2);
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

/* ====== HEADER with Chessboard Background ====== */
header {
    position: relative;
    color: var(--cream-1);
    padding: 1rem .75rem 0 .75rem;
    z-index: 40;
    box-shadow: var(--shadow-2);
    background-color: var(--charcoal-1);
    /* fallback */
    background-image: linear-gradient(45deg, rgba(196, 158, 127, 0.15) 25%, transparent 25%), linear-gradient(-45deg, rgba(196, 158, 127, 0.15) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(196, 158, 127, 0.15) 75%), linear-gradient(-45deg, transparent 75%, rgba(196, 158, 127, 0.15) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    /* overlay for readability */
}

header .brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    padding: .4rem 0 1rem 0;
    position: relative;
    z-index: 1;
}

.brand .logo {
    width: 52px;
    height: 52px;
    border-radius: 0%;
    background: conic-gradient(from 210deg, var(--bronze-2), var(--bronze-1), #e8cfb5, var(--bronze-1));
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .06) inset, 0 6px 18px rgba(0, 0, 0, .4);
    background: url("images/tkcc-logo.png") center/contain no-repeat;
    /* logo */
}

.logo:after {
    content: ""
}

.brand h1 {
    margin: 0;
    font-family: "Crimson Text", Georgia, serif;
    font-weight: 700;
    letter-spacing: .5px;
    font-size: clamp(1.75rem, 2.1vw + 1rem, 2.6rem);
    background: linear-gradient(90deg, #fff, #e9ddbf, #e8cfb5, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: shimmer 12s linear infinite;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%
    }
    100% {
        background-position: 200% 50%
    }
}

/* ====== ULTRA COMPACT NEWSLETTER FORM ====== */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 0.75rem;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.25rem;
    min-width: 180px;
    max-width: 200px;
    backdrop-filter: blur(3px);
}

.newsletter-form h3 {
    margin: 0 0 0.15rem 0;
    color: var(--cream-1);
    font-size: 0.55rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
}

.form-row {
    margin-bottom: 0.1rem;
}

.form-row input,
.form-row select {
    width: 100%;
    padding: 0.15rem 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    color: #333;
    line-height: 1;
    min-height: 18px;
    height: 18px;
}

.form-row input::placeholder {
    color: #666;
    font-style: italic;
    font-size: 0.8rem;
}

.action-row {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.15rem;
}

.action-row label {
    color: var(--cream-1);
    font-size: 0.65rem;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
}

.action-row select {
    flex: 1;
    padding: 0.1rem 0.2rem;
    font-size: 0.8rem;
    min-height: 18px;
    height: 18px;
}

.submit-btn {
    width: 100%;
    background: var(--bronze-2);
    color: white;
    border: none;
    padding: 0.15rem 0.3rem;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    min-height: 20px;
    height: 20px;
    line-height: 1;
}

.submit-btn:hover {
    background: var(--bronze-1);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Newsletter form responsive behavior */
@media (max-width: 1200px) {
    .newsletter-form {
        min-width: 160px;
        max-width: 180px;
    }
}

@media (max-width: 968px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 220px;
        min-width: auto;
        padding: 0.3rem;
    }
    
    .newsletter-form h3 {
        font-size: 0.6rem;
        margin-bottom: 0.2rem;
    }
    
    .form-row {
        margin-bottom: 0.15rem;
    }
    
    .form-row input,
    .form-row select {
        font-size: 0.9rem;
        padding: 0.2rem 0.4rem;
        min-height: 20px;
        height: 20px;
    }
    
    .action-row {
        margin-bottom: 0.2rem;
    }
    
    .action-row label {
        font-size: 0.7rem;
    }
    
    .action-row select {
        font-size: 0.85rem;
        padding: 0.15rem 0.25rem;
    }
    
    .submit-btn {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
        min-height: 22px;
        height: 22px;
    }
}

/* ====== NAV ====== */
nav {
    background: rgba(0, 0, 0, .18);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(0, 0, 0, .6);
    backdrop-filter: blur(3px);
    position: relative;
    z-index: 1;
}

.menu {
    margin: 0 auto;
    padding: .35rem .5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .25rem;
    max-width: 1100px;
}

.menu a {
    color: #f0e8d0;
    font-weight: 700;
    letter-spacing: .2px;
    padding: .55rem .85rem;
    border-radius: 999px;
    transition: .18s ease transform, .25s ease background;
    text-transform: uppercase;
    font-size: .86rem;
}

.menu a:hover,
.menu a:focus {
    background: linear-gradient(180deg, #4a473f, #3b3833);
    transform: translateY(-1px);
}

/* Style for the active menu item */
.menu a.active,
.menu a.active:hover {
    background: var(--bronze-2);
    box-shadow: var(--shadow-2);
    transform: none;
}

/* Style for active links inside the dropdown */
.dropdown-content a.active {
    background-color: var(--bronze-2);
}

.dropdown-content a.active:hover {
    background-color: var(--bronze-2);
    transform: none;
}

/* ====== DROPDOWN MENU - FIXED VERSION ====== */
/* The main container for the dropdown */
.dropdown {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Style for the dropdown button (the menu group title) */
.dropbtn {
    color: #f0e8d0;
    font-weight: 700;
    letter-spacing: .2px;
    padding: .55rem .85rem;
    border-radius: 999px;
    transition: .18s ease transform, .25s ease background;
    text-transform: uppercase;
    font-size: .86rem;
    cursor: pointer;
    border: none;
    background: none;
    text-decoration: none;
    display: inline-block;
}

/* The actual dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--charcoal-1);
    min-width: 200px;
    width: fit-content;
    box-shadow: var(--shadow-2);
    z-index: 1000;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Style for the links inside the dropdown */
.dropdown-content a {
    color: var(--cream-1);
    padding: 10px 10px;
    text-decoration: none;
    display: block;
    transition: .2s background-color;
    font-size: .8rem;
    letter-spacing: .5px;
    text-transform: none;
    border-radius: 0;
    white-space: nowrap;
}

/* Change color on hover for dropdown links */
.dropdown-content a:hover {
    background-color: var(--charcoal-2);
    transform: none;
}

/* Show the dropdown menu on hover for desktop */
@media (hover: hover) and (pointer: fine) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* Mobile and touch device specific styles */
@media (hover: none) and (pointer: coarse), (max-width: 968px) {
    /* Disable hover-based dropdowns on mobile */
    .dropdown:hover .dropdown-content {
        display: none;
    }
    
    /* Enable click/touch based dropdowns */
    .dropdown.active .dropdown-content {
        display: block;
        animation: slideDown 0.2s ease-out;
    }
    
    /* Improve touch responsiveness and fix width issues */
    .dropdown-content {
        touch-action: manipulation;
        /* Better positioning for mobile */
        left: 50%;
        transform: translateX(-50%);
        min-width: 220px;
        max-width: 85vw;
        width: auto;
        /* Ensure proper text wrapping */
        white-space: normal;
    }
    
    .dropdown-content a {
        white-space: normal;
        word-wrap: break-word;
        hyphens: auto;
        font-size: .80rem;
        padding: 10px 10px;
        line-height: 1.4;
    }
    
    .dropbtn {
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        position: relative;
    }
    
    /* Add a touch indicator for mobile */
    .dropbtn::after {
        content: ' ▼';
        font-size: 0.7em;
        opacity: 0.7;
        margin-left: 0.3em;
    }
    
    .dropdown.active .dropbtn::after {
        content: ' ▲';
    }
}

/* Animation for dropdown appearance */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Prevent horizontal scrolling when dropdowns are open */
@media (max-width: 768px) {
    .dropdown-content {
        /* Ensure dropdown doesn't cause horizontal scroll */
        left: 50%;
        transform: translateX(-50%);
        max-width: 80vw;
        width: auto;
        min-width: 200px;
        box-sizing: border-box;
    }
    
    .dropdown-content a {
        padding: 10px 10px;
        font-size: 0.80rem;
        line-height: 1.2;
    }
}

/* Very small screens - more constrained dropdowns */
@media (max-width: 480px) {
    .dropdown-content {
        left: 50%;
        transform: translateX(-50%);
        max-width: 75vw;
        width: auto;
        min-width: 220px;
    }
    
    .dropdown-content a {
        padding: 12px 14px;
        font-size: 1.0rem;
        line-height: 1.4;
    }
}

/* ====== NAV / HERO SEPARATOR ====== */
.divider {
    height: 14px;
    background: radial-gradient(12px 8px at 50% 0, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 70%), linear-gradient(90deg, transparent, rgba(0, 0, 0, .35), transparent);
    filter: blur(.2px);
}

/* ====== HERO ====== */
.hero {
    position: relative;
    margin-top: 6px;
    isolation: isolate;
}

.hero .banner {
    aspect-ratio: 21/8;
    width: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(.75) saturate(.95);
}

.hero .overlay {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    padding: 1rem 1.4rem;
    min-width: clamp(260px, 50vw, 680px);
    text-align: center;
    color: #fff;
    font-family: "Crimson Text", Georgia, serif;
    font-size: clamp(1.2rem, 1.2vw + 1rem, 2rem);
    font-style: italic;
    line-height: 1.25;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .65));
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .45);
    backdrop-filter: blur(2px);
    opacity: 0;
    transform-origin: 50% 60%;
    animation: floatIn 1.1s ease-out .05s forwards, glowPulse 4.5s ease-in-out 1.1s infinite;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(.98);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes glowPulse {
    0%,
    100% {
        box-shadow: 0 12px 36px rgba(0, 0, 0, .45), 0 0 0 rgba(255, 255, 255, 0)
    }
    50% {
        box-shadow: 0 12px 36px rgba(0, 0, 0, .45), 0 0 22px rgba(255, 255, 255, .06)
    }
}

/* ====== CONTENT ====== */
.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem
}

.intro {
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .2));
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-1);
}

.intro h2 {
    font-family: "Crimson Text", Georgia, serif;
    font-size: clamp(1.4rem, 1.2vw + 1rem, 2rem);
    margin: .1rem 0 0;
    color: var(--charcoal-1);
    display: inline-block;
    position: relative;
}

.intro h2 .accent {
    background: linear-gradient(90deg, var(--bronze-2), var(--bronze-1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.intro h2:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--bronze-2), var(--bronze-1));
    transform-origin: left;
    transform: scaleX(0);
    animation: underlineSweep 2.4s ease .25s forwards;
}

@keyframes underlineSweep {
    to {
        transform: scaleX(1)
    }
}

.cols {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
    grid-template-columns: repeat(12, 1fr);
}

.card {
    grid-column: span 12;
    background: #fffdf6;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-1);
}

.card h3 {
    margin: .2rem 0 .25rem 0;
    font-family: "Crimson Text", Georgia, serif;
    font-size: 1.25rem;
    color: var(--charcoal-2);
    letter-spacing: .3px;
}

.card p {
    margin: .25rem 0 .5rem 0
}

@media (min-width: 840px) {
    .card.span-4 {
        grid-column: span 4
    }
    .card.span-8 {
        grid-column: span 8
    }
}

/* ====== VIDEO GALLERY ====== */
.videos {
    margin-top: 2rem;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.video {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow-1);
    transition: .2s ease transform, .2s ease box-shadow;
}

.video:hover {
    transform: translateY(-2px);
    box-shadow: 14px 34px rgba(0, 0, 0, .24)
}

.video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0
}

@media (min-width: 920px) {
    .videos {
        grid-template-columns: 1fr 1fr;
    }
}

/* This ensures the single video displays correctly */
@media (max-width: 919px) {
    .videos {
        display: flex;
        justify-content: center;
    }
}

/* ====== FOOTER ====== */
footer {
    margin-top: 2.5rem;
    background: var(--charcoal-1);
    color: var(--cream-1);
    padding: 1.75rem 1rem;
    /* slightly reduced padding to save height */
}

/* two-row structure */
.foot-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    /* changed from grid */
    flex-direction: column;
    /* top info row + links row */
    gap: 1.25rem;
    /* tighter spacing to reduce height */
}

/* legacy .foot-col can remain for backward compat, but option 1 uses .foot-info / .foot-links */
.foot-col {
    opacity: .9;
}

.foot-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: .95;
}

.foot-info h4 {
    font-family: "Crimson Text", Georgia, serif;
    margin: .15rem 0 .35rem 0;
    font-size: 1.2rem;
    color: #fff;
}

.foot-info p {
    margin: 0 .25rem;
}

.foot-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    /* compact columns */
    gap: 1rem 1.25rem;
    text-align: left;
}

.foot-links h4 {
    font-family: "Crimson Text", Georgia, serif;
    margin: .15rem 0 .4rem 0;
    font-size: 1.05rem;
    color: #fff;
}

.foot-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.foot-links li {
    margin: .28rem 0;
}

footer a {
    color: var(--bronze-1);
    /* soft bronze link color */
    transition: color .2s ease, box-shadow .2s ease;
}

footer a:hover {
    color: #fff;
    /* white on hover for contrast */
    box-shadow: 0 0 10px rgba(255, 255, 255, .15);
    /* subtle glow */
}

.mini {
    margin-top: 1rem;
    font-size: .9rem;
    opacity: .8;
    text-align: center;
    padding-top: .75rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* small utility badges */
.badge {
    display: inline-block;
    padding: .28rem .55rem;
    border-radius: 8px;
    background-color: #f0e8d0;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    font-weight: 700;
    letter-spacing: .2px;
    font-size: 1.2rem;
    color: #4a3e2f;
    animation: gentlePulse 5s ease-in-out infinite;
}

/* subtle marquee effect for tag line */
.tagline {
    display: block;
    margin-top: .15rem;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    font-size: .78rem;
    opacity: .85;
    background: linear-gradient(90deg, #fff, #d7c4a2, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: shimmer 10s linear infinite;
}

/* ====== Animation for the Badge ====== */
@keyframes gentlePulse {
    0% {
        background-color: #f0e8d0;
    }
    50% {
        background-color: #e6d8b7;
    }
    100% {
        background-color: #f0e8d0;
    }
}

/* ====== RESPONSIVE TWEAKS FOR FOOTER ====== */
@media (max-width: 640px) {
    .foot-links {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        /* adjusted for five columns */
        gap: .75rem 1rem;
    }
}

/* Event Calendar Styles - Mobile Responsive */
.event-calendar .calendar-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
    font-family: 'Crimson Text', serif;
    width: 100%;
    box-sizing: border-box;
}

.event-calendar #calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    width: 100%;
    box-sizing: border-box;
}

.event-calendar .day-header {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    text-align: center;
    color: var(--charcoal-1);
    padding: 8px 4px;
    font-size: 0.85rem;
    box-sizing: border-box;
}

.event-calendar .day {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
    background: var(--cream-1);
    font-family: 'Crimson Text', serif;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 0.9rem;
}

.event-calendar .has-event {
    background: #8fbc8f;
    font-weight: 600;
}

.event-calendar .pad {
    background: var(--cream-1);
    opacity: 0.5;
}

.event-calendar #nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    font-family: 'Libre Franklin', sans-serif;
    flex-wrap: wrap;
    gap: 10px;
}

.event-calendar #nav button {
    background: var(--bronze-2);
    color: var(--cream-1);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Libre Franklin', sans-serif;
    border-radius: 4px;
    box-shadow: var(--shadow-2);
    white-space: nowrap;
}

.event-calendar #nav button:hover {
    background: var(--bronze-1);
}

.event-calendar #current-month {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal-2);
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.event-calendar #event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.event-calendar #modal-content {
    background: var(--cream-1);
    padding: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: var(--radius-xl);
    position: relative;
    font-family: 'Crimson Text', serif;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-1);
    box-sizing: border-box;
}

.event-calendar .close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    font-family: 'Libre Franklin', sans-serif;
    color: var(--bronze-2);
    font-weight: bold;
    line-height: 1;
    padding: 5px;
}

.event-calendar .close:hover {
    color: var(--bronze-1);
}

/* Mobile-specific responsive styles */
@media (max-width: 600px) {
    .event-calendar .calendar-container {
        padding: 5px;
        margin: 10px auto;
    }
    
    .event-calendar #calendar-grid {
        gap: 1px;
    }
    
    .event-calendar .day {
        padding: 4px 2px;
        font-size: 0.8rem;
        min-height: 35px;
    }
    
    .event-calendar .day-header {
        padding: 6px 2px;
        font-size: 0.75rem;
    }
    
    .event-calendar #nav {
        margin: 15px 0;
        justify-content: center;
    }
    
    .event-calendar #nav button {
        padding: 6px 8px;
        font-size: 0.8rem;
        flex: 0 0 auto;
    }
    
    .event-calendar #current-month {
        font-size: 1rem;
        order: -1;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .event-calendar #modal-content {
        padding: 15px;
        margin: 10px;
        max-height: 85vh;
    }
    
    .event-calendar #modal-content h3 {
        font-size: 1.1rem;
        margin: 10px 0 5px 0;
    }
    
    .event-calendar #modal-content p {
        font-size: 0.9rem;
        margin: 5px 0;
    }
    
    /* Videos stack on mobile for all pages */
    .videos {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    
    /* Newsletter form mobile width fix */
    .newsletter-form {
        max-width: 280px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0.3rem;
    }
    
    .newsletter-form h3 {
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
    }
    
    .form-row {
        margin-bottom: 0.15rem;
    }
    
    .form-row input,
    .form-row select {
        font-size: 0.95rem;
        padding: 0.25rem 0.4rem;
        min-height: 24px;
        height: 24px;
    }
    
    .form-row input::placeholder {
        font-size: 0.9rem;
    }
    
    .action-row {
        margin-bottom: 0.2rem;
    }
    
    .action-row label {
        font-size: 0.75rem;
    }
    
    .action-row select {
        font-size: 0.9rem;
        padding: 0.2rem 0.3rem;
        height: 24px;
    }
    
    .submit-btn {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
        min-height: 26px;
        height: 26px;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .event-calendar .calendar-container {
        padding: 2px;
    }
    
    .event-calendar .day {
        padding: 2px 1px;
        font-size: 0.75rem;
        min-height: 30px;
    }
    
    .event-calendar .day-header {
        padding: 4px 1px;
        font-size: 0.7rem;
    }
    
    .event-calendar #nav button {
        padding: 5px 6px;
        font-size: 0.75rem;
    }
    
    .event-calendar #current-month {
        font-size: 0.9rem;
    }
}