/* ============================================
   EVENTS STYLES - BRAND GUIDELINES COMPLIANT
   Using ONLY brand colors from colors.html
   ============================================ */

/* Brand Color Variables */
:root {
    --brand-green: #4A7C59;
    --brand-gold: #D4A017;
    --brand-cream: #F9F7F2;
    --brand-charcoal: #2C2C2C;
    --brand-error: #EF4444;
}

/* Typography */
.flaeske-events-container {
    font-family: 'Lato', sans-serif;
    color: var(--brand-charcoal);
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
}

/* ============================================
   HERO SECTION - From hero.html
   Mobile-first responsive
   ============================================ */
.events-header-section {
    background: var(--brand-green);
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
    .events-header-section {
        border-radius: 20px;
        padding: 32px 32px;
    }
}

@media (min-width: 768px) {
    .events-header-section {
        border-radius: 24px;
        padding: 48px 64px;
        margin-bottom: 32px;
    }
}

.events-header-section::before {
    content: '';
    position: absolute;
    top: -64px;
    right: -64px;
    width: 300px;
    height: 300px;
    background: var(--brand-gold);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(96px);
    transition: opacity 0.7s ease;
}

@media (min-width: 768px) {
    .events-header-section::before {
        top: -128px;
        right: -128px;
        width: 600px;
        height: 600px;
    }
}

.events-header-section:hover::before {
    opacity: 0.2;
}

.events-header-content {
    position: relative;
    z-index: 10;
    max-width: 768px;
}

.events-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 160, 23, 0.4);
    color: var(--brand-gold);
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
    .events-badge {
        gap: 8px;
        padding: 6px 16px;
        font-size: 12px;
        margin-bottom: 24px;
    }
}

.events-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-gold);
    animation: pulse 2s ease-in-out infinite;
}

@media (min-width: 640px) {
    .events-badge::before {
        width: 8px;
        height: 8px;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.events-main-title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

@media (min-width: 640px) {
    .events-main-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .events-main-title {
        font-size: 48px;
        margin-bottom: 24px;
    }
}

.events-main-title .text-gradient-gold {
    background: linear-gradient(to right, #D4A017, #F2C94C, #D4A017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
    font-style: italic;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.events-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(249, 247, 242, 0.9);
    max-width: 100%;
}

@media (min-width: 640px) {
    .events-description {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 32px;
    }
}

@media (min-width: 768px) {
    .events-description {
        font-size: 18px;
        line-height: 1.75;
        margin-bottom: 40px;
        max-width: 512px;
    }
}

.events-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    align-items: start;
}

@media (min-width: 640px) {
    .events-stats {
        gap: 16px;
        padding-top: 20px;
    }
}

@media (min-width: 768px) {
    .events-stats {
        gap: 24px;
        padding-top: 24px;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    width: 100%;
    justify-content: flex-end;
}

.stat-label {
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-gold);
    margin-bottom: 2px;
    line-height: 1.3;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    width: 100%;
    min-height: calc(1.3em * 2);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

@media (min-width: 640px) {
    .stat-label {
        font-size: 11px;
        letter-spacing: 0.1em;
        margin-bottom: 4px;
    }
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 12px;
    }
}

.stat-number {
    font-size: 18px;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .stat-number {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 24px;
    }
}

/* ============================================
   SUBMIT BUTTON - Primary Button
   Mobile-first responsive
   ============================================ */
.events-submission-section {
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .events-submission-section {
        margin-bottom: 24px;
    }
}

.events-submit-toggle-btn {
    background: var(--brand-green);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
}

@media (min-width: 640px) {
    .events-submit-toggle-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: auto;
    }
}

.events-submit-toggle-btn:hover {
    background: #3a6346;
}

/* ============================================
   TABS - From web-elements.html
   ============================================ */
.events-view-toggle {
    display: flex;
    border-bottom: 1px solid rgba(74, 124, 89, 0.2);
    margin-bottom: 24px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding: 0;
    overflow: hidden;
}

.view-toggle-btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    color: rgba(44, 44, 44, 0.4);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Lato', sans-serif;
}

.view-toggle-btn:hover {
    color: var(--brand-charcoal);
    background: rgba(249, 247, 242, 0.5);
}

.view-toggle-btn.active {
    color: var(--brand-charcoal);
    border-bottom-color: var(--brand-green);
    background: rgba(249, 247, 242, 0.3);
}

/* ============================================
   MODAL - From forms.html
   ============================================ */
.events-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 44, 44, 0.2);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.events-modal-container {
    background: #fff;
    border-radius: 24px;
    max-width: 512px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(1);
    transition: transform 0.2s ease;
}

.events-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(74, 124, 89, 0.1);
}

.events-modal-header h2 {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin: 0;
}

.events-modal-close {
    background: transparent;
    border: none;
    color: rgba(44, 44, 44, 0.4);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.events-modal-close:hover {
    color: var(--brand-charcoal);
}

.events-modal-content {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

/* ============================================
   FORM STYLES - From forms.html
   ============================================ */
.flaeske-event-submission-form {
    padding: 0;
}

.flaeske-event-submission-form h3 {
    display: none;
}

.flaeske-event-form .form-section {
    margin-bottom: 24px;
}

.flaeske-event-form .form-section:last-child {
    margin-bottom: 0;
}

.flaeske-event-form .form-section h4 {
    font-size: 16px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 16px;
    font-family: 'Lato', sans-serif;
}

.flaeske-event-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .flaeske-event-form .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flaeske-event-form .form-group.full-width {
        grid-column: 1 / -1;
    }
}

.flaeske-event-form .form-group {
    display: flex;
    flex-direction: column;
}

.flaeske-event-form .form-group label {
    font-size: 14px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 8px;
    font-family: 'Lato', sans-serif;
}

.flaeske-event-form .form-group input,
.flaeske-event-form .form-group textarea,
.flaeske-event-form .form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(74, 124, 89, 0.3);
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    color: var(--brand-charcoal);
    background: #fff;
    transition: all 0.2s ease;
}

.flaeske-event-form .form-group input:focus,
.flaeske-event-form .form-group textarea:focus,
.flaeske-event-form .form-group select:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 1px var(--brand-green);
}

.flaeske-event-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.flaeske-event-form .form-group small {
    font-size: 12px;
    color: rgba(44, 44, 44, 0.6);
    margin-top: 4px;
}

.flaeske-event-form .form-group input.error,
.flaeske-event-form .form-group textarea.error {
    border-color: var(--brand-error);
}

.flaeske-event-form .form-group .error-message {
    font-size: 12px;
    color: var(--brand-error);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.flaeske-event-form .submit-button {
    width: 100%;
    background: var(--brand-green);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-family: 'Lato', sans-serif;
}

.flaeske-event-form .submit-button:hover {
    background: #3a6346;
}

.flaeske-event-form .form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.flaeske-event-form .form-message.success {
    background: rgba(74, 124, 89, 0.1);
    color: var(--brand-green);
    border: 1px solid rgba(74, 124, 89, 0.2);
}

.flaeske-event-form .form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--brand-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Restaurant Search */
.restaurant-search-wrapper {
    position: relative;
}

.restaurant-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--brand-green);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.restaurant-search-result {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(74, 124, 89, 0.1);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.restaurant-search-result:hover {
    background: rgba(249, 247, 242, 0.5);
}

.restaurant-search-result:last-child {
    border-bottom: none;
}

.restaurant-search-result .restaurant-name {
    font-weight: 600;
    color: var(--brand-green);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .restaurant-search-result .restaurant-name {
        font-size: 15px;
    }
}

.restaurant-search-results .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    color: rgba(44, 44, 44, 0.6);
    font-size: 14px;
}

.restaurant-search-results .loading-icon {
    width: 16px;
    height: 16px;
    color: var(--brand-green);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.restaurant-search-results .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(74, 124, 89, 0.1);
    color: var(--brand-green);
    border: 1px solid rgba(74, 124, 89, 0.2);
    border-radius: 9999px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Lato', sans-serif;
}

.restaurant-search-results .status-badge-icon {
    width: 12px;
    height: 12px;
    color: var(--brand-gold);
    flex-shrink: 0;
}

/* "Restaurant not found" helper option in submit form */
.restaurant-not-found-toggle {
    margin-top: 8px;
}

.restaurant-not-found-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 4px 0 0;
    font-size: 13px;
    color: rgba(44, 44, 44, 0.7);
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
}

.restaurant-not-found-btn:hover {
    color: var(--brand-green);
}

.restaurant-not-found-btn.is-active {
    color: var(--brand-green);
    font-weight: 600;
}

.restaurant-not-found-fields {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px dashed rgba(74, 124, 89, 0.3);
    background: rgba(249, 247, 242, 0.9);
}

.restaurant-not-found-fields .form-group {
    margin-bottom: 8px;
}

.restaurant-not-found-fields .form-group:last-child {
    margin-bottom: 0;
}

.restaurant-not-found-hint {
    font-size: 12px;
    color: rgba(44, 44, 44, 0.7);
    margin-top: 4px;
}

/* File Upload Area - Brand Guidelines */
.flaeske-event-form .file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 128px;
    background: transparent;
    border: 2px dashed rgba(74, 124, 89, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flaeske-event-form .file-upload-area:hover {
    background: rgba(74, 124, 89, 0.05);
    border-color: var(--brand-green);
}

.flaeske-event-form .file-upload-area.dragover {
    background: rgba(74, 124, 89, 0.1);
    border-color: var(--brand-green);
}

.flaeske-event-form .file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0 24px;
}

.flaeske-event-form .file-upload-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    color: rgba(74, 124, 89, 0.6);
    transition: color 0.2s ease;
}

.flaeske-event-form .file-upload-area:hover .file-upload-icon {
    color: var(--brand-green);
}

.flaeske-event-form .file-upload-text {
    font-size: 14px;
    color: rgba(44, 44, 44, 0.8);
    margin-bottom: 4px;
    text-align: center;
}

.flaeske-event-form .file-upload-bold {
    font-weight: bold;
    color: var(--brand-green);
}

.flaeske-event-form .file-upload-info {
    font-size: 12px;
    color: rgba(44, 44, 44, 0.5);
    margin-top: 4px;
}

.flaeske-event-form .poster-preview {
    position: relative;
    margin-top: 16px;
    display: inline-block;
}

.flaeske-event-form .poster-preview-image {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(74, 124, 89, 0.2);
}

.flaeske-event-form .remove-poster-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--brand-error);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.flaeske-event-form .remove-poster-btn:hover {
    background: #dc2626;
}

.restaurant-search-result .restaurant-details {
    font-size: 12px;
    color: rgba(44, 44, 44, 0.6);
}

.selected-restaurant-display {
    margin-top: 12px;
}

.selected-restaurant-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(74, 124, 89, 0.1);
    border: 1px solid rgba(74, 124, 89, 0.2);
    border-radius: 8px;
}

.selected-restaurant-name {
    flex: 1;
    font-weight: 600;
    color: var(--brand-green);
}

.selected-restaurant-details {
    flex: 1;
    font-size: 13px;
    color: rgba(44, 44, 44, 0.6);
}

.remove-restaurant-btn {
    background: var(--brand-error);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.remove-restaurant-btn:hover {
    background: #dc2626;
}

/* ============================================
   CALENDAR - From web-elements.html
   ============================================ */
.events-calendar-view {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 1);
    overflow: hidden;
}

.events-calendar {
    padding: 24px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

@media (min-width: 640px) {
    .calendar-header {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .calendar-header {
        margin-bottom: 24px;
    }
}

.calendar-month-year {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin: 0;
    flex: 1;
    text-align: center;
}

@media (min-width: 640px) {
    .calendar-month-year {
        font-size: 19px;
    }
}

@media (min-width: 768px) {
    .calendar-month-year {
        font-size: 20px;
    }
}

.calendar-nav {
    display: flex;
    gap: 6px;
}

@media (min-width: 640px) {
    .calendar-nav {
        gap: 8px;
    }
}

.calendar-nav-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.calendar-nav a,
.calendar-nav button {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--brand-charcoal);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .calendar-nav a,
    .calendar-nav button {
        width: 30px;
        height: 30px;
    }
}

@media (min-width: 768px) {
    .calendar-nav a,
    .calendar-nav button {
        width: 32px;
        height: 32px;
    }
}

.calendar-nav a:hover,
.calendar-nav button:hover {
    background: rgba(249, 250, 251, 1);
}

.calendar-nav svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 640px) {
    .calendar-nav svg {
        width: 19px;
        height: 19px;
    }
}

@media (min-width: 768px) {
    .calendar-nav svg {
        width: 20px;
        height: 20px;
    }
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: rgba(107, 114, 128, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 640px) {
    .calendar-weekday {
        font-size: 11.5px;
    }
}

@media (min-width: 768px) {
    .calendar-weekday {
        font-size: 12px;
    }
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    min-height: 96px;
    padding: 8px;
    border: 1px solid rgba(229, 231, 235, 1);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    position: relative;
    background: #fff;
}

.calendar-day:hover {
    border-color: rgba(74, 124, 89, 0.3);
}

.calendar-day.empty {
    border-color: transparent;
    color: rgba(209, 213, 219, 1);
    cursor: default;
}

.calendar-day.empty:hover {
    border-color: transparent;
}

.calendar-day.today {
    border: 2px solid var(--brand-green);
    background: rgba(74, 124, 89, 0.05);
}

.calendar-day.today .day-number {
    color: var(--brand-green);
    font-weight: bold;
}

.calendar-day.today::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--brand-gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.day-number {
    font-size: 14px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 8px;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.day-event-item {
    padding: 6px;
    background: var(--brand-cream);
    border: 1px solid rgba(74, 124, 89, 0.1);
    border-radius: 6px;
    font-size: 12px;
    color: var(--brand-charcoal);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.day-event-item:hover {
    background: rgba(74, 124, 89, 0.05);
    border-color: rgba(74, 124, 89, 0.2);
}

.day-event-item.error {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.day-event-more {
    padding: 4px 6px;
    font-size: 10px;
    color: rgba(44, 44, 44, 0.6);
    text-align: center;
}

/* ============================================
   EVENT CARDS - From web-elements.html
   ============================================ */
.events-list-view {
    width: 100%;
}

/* ============================================
   FILTERS SECTION - From ui-kit.html
   ============================================ */
.events-filters-section {
    background: rgba(249, 250, 251, 1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(229, 231, 235, 1);
}

@media (min-width: 768px) {
    .events-filters-section {
        padding: 24px;
    }
}

.events-filters-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 16px;
}

@media (min-width: 768px) {
    .events-filters-header {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
}

.events-filters-title {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin: 0;
}

@media (min-width: 768px) {
    .events-filters-title {
        font-size: 20px;
    }
}

.events-add-button {
    background: var(--brand-green);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
}

.events-add-button svg {
    width: 16px;
    height: 16px;
}

.events-add-button:hover {
    background: #3a6346;
}

.events-filters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .events-filters-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
        align-items: end;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(107, 114, 128, 1);
    margin-bottom: 6px;
    font-family: 'Lato', sans-serif;
    line-height: 1.5;
}

.flaeske-events-container .filter-input,
.flaeske-events-container .filter-select,
.flaeske-events-container #event-search-input,
.flaeske-events-container #event-city-filter,
.flaeske-events-container #event-region-filter {
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(229, 231, 235, 1) !important;
    font-size: 14px !important;
    font-family: 'Lato', sans-serif !important;
    color: var(--brand-charcoal) !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    min-height: 42px !important;
    outline: none !important;
    box-shadow: none !important;
}

.flaeske-events-container .filter-input:focus,
.flaeske-events-container .filter-select:focus,
.flaeske-events-container #event-search-input:focus,
.flaeske-events-container #event-city-filter:focus,
.flaeske-events-container #event-region-filter:focus {
    outline: none !important;
    border-color: var(--brand-green) !important;
    box-shadow: 0 0 0 1px var(--brand-green) !important;
}

.filter-select-wrapper {
    position: relative;
}

.filter-select {
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.filter-select-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: rgba(156, 163, 175, 1);
    pointer-events: none;
}

.filter-group.filter-region-with-actions {
    display: flex;
    flex-direction: column;
}

.region-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.region-actions-wrapper .filter-select-wrapper {
    width: 100%;
}

.filter-actions {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    width: 100%;
}

@media (min-width: 768px) {
    .region-actions-wrapper {
        flex-direction: row;
        align-items: flex-end;
    }
    
    .region-actions-wrapper .filter-select-wrapper {
        flex: 1;
        min-width: 0;
    }
    
    .filter-actions {
        flex-shrink: 0;
        width: auto;
    }
}

.filter-search-btn {
    padding: 10px 24px;
    background: rgba(243, 244, 246, 1);
    color: var(--brand-charcoal);
    border: 1px solid rgba(229, 231, 235, 1);
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Lato', sans-serif;
    height: 42px;
    white-space: nowrap;
}

.filter-search-btn:hover {
    background: rgba(229, 231, 235, 1);
}

.filter-clear-btn {
    padding: 10px 24px;
    background: transparent;
    color: rgba(107, 114, 128, 1);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Lato', sans-serif;
    height: 42px;
    white-space: nowrap;
}

.filter-clear-btn:hover {
    color: var(--brand-charcoal);
}

.events-filter-results {
    padding-top: 16px;
    border-top: 1px solid rgba(229, 231, 235, 1);
    font-size: 14px;
    color: rgba(107, 114, 128, 1);
    text-align: center;
    font-weight: 600;
}

#events-filter-count {
    color: var(--brand-green);
    font-size: 18px;
    font-weight: bold;
}

.events-list-container {
    width: 100%;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.events-region-group {
    margin-bottom: 24px;
    width: 100%;
}

@media (min-width: 640px) {
    .events-region-group {
        margin-bottom: 28px;
    }
}

@media (min-width: 768px) {
    .events-region-group {
        margin-bottom: 32px;
    }
}

.events-region-header {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--brand-green);
}

@media (min-width: 640px) {
    .events-region-header {
        font-size: 22px;
        margin-bottom: 14px;
        padding-bottom: 7px;
    }
}

@media (min-width: 768px) {
    .events-region-header {
        font-size: 24px;
        margin-bottom: 16px;
        padding-bottom: 8px;
    }
}

.events-date-group {
    margin-bottom: 20px;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 16px;
    width: 100%;
}

.events-date-header {
    font-size: 16px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 12px;
    font-family: 'Lato', sans-serif;
    grid-column: 1 / -1 !important; /* Span full width */
}

@media (min-width: 640px) {
    .events-date-header {
        font-size: 17px;
        margin-bottom: 14px;
    }
}

@media (min-width: 768px) {
    .events-date-header {
        font-size: 18px;
        margin-bottom: 16px;
    }
}

/* Event Card - Horizontal from web-elements.html */
.event-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(74, 124, 89, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.event-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
    .event-card {
        flex-direction: row;
        height: 256px;
    }
}

.event-poster {
    width: 100%;
    height: 200px;
    background: rgba(44, 44, 44, 0.2);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .event-poster {
        width: 33.333%;
        height: 100%;
    }
}

.event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.event-card:hover .event-poster img {
    transform: scale(1.05);
}

.event-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--brand-charcoal);
    text-align: center;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(74, 124, 89, 0.1);
}

@media (min-width: 640px) {
    .event-date-badge {
        top: 14px;
        left: 14px;
        padding: 7px 11px;
    }
}

@media (min-width: 768px) {
    .event-date-badge {
        top: 16px;
        left: 16px;
        padding: 8px 12px;
    }
}

.event-date-badge .month {
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--brand-error);
    line-height: 1;
}

@media (min-width: 640px) {
    .event-date-badge .month {
        font-size: 10px;
    }
}

.event-date-badge .day {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin-top: 2px;
}

@media (min-width: 640px) {
    .event-date-badge .day {
        font-size: 19px;
    }
}

@media (min-width: 768px) {
    .event-date-badge .day {
        font-size: 20px;
    }
}

.event-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

@media (min-width: 640px) {
    .event-content {
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .event-content {
        padding: 24px;
    }
}

.event-restaurant-name {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-green);
    margin-bottom: 8px;
    font-family: 'Lato', sans-serif;
}

.event-restaurant-name a {
    color: inherit;
    text-decoration: none;
}

.event-title {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.event-card:hover .event-title {
    color: var(--brand-green);
}

.event-title a {
    color: inherit;
    text-decoration: none;
}

.flaeske-events-container .event-meta,
.flaeske-event-page .event-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(44, 44, 44, 0.6);
    margin-bottom: 16px;
    align-items: center;
    overflow: hidden;
}

@media (min-width: 640px) {
    .flaeske-events-container .event-meta,
    .flaeske-event-page .event-meta {
        gap: 12px;
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    .flaeske-events-container .event-meta,
    .flaeske-event-page .event-meta {
        gap: 16px;
        font-size: 14px;
    }
}

.flaeske-events-container .event-meta-item,
.flaeske-event-page .event-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    max-width: 100%;
}

.flaeske-events-container .event-meta-item > span:not(.price-value),
.flaeske-event-page .event-meta-item > span:not(.price-value) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
}

.flaeske-events-container .event-meta-item .price-value,
.flaeske-event-page .event-meta-item .price-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
}

@media (min-width: 640px) {
    .flaeske-events-container .event-meta-item,
    .flaeske-event-page .event-meta-item {
        gap: 6px;
        flex-shrink: 0;
    }
}

.flaeske-events-container .event-meta-item svg,
.flaeske-event-page .event-meta-item svg {
    width: 14px;
    height: 14px;
    color: rgba(44, 44, 44, 0.4);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .flaeske-events-container .event-meta-item svg,
    .flaeske-event-page .event-meta-item svg {
        width: 16px;
        height: 16px;
    }
}

.flaeske-events-container .event-meta-item.price svg,
.flaeske-event-page .event-meta-item.price svg {
    color: var(--brand-gold);
}

.flaeske-events-container .event-meta-item.price .price-value,
.flaeske-event-page .event-meta-item.price .price-value {
    font-weight: bold;
    color: var(--brand-charcoal);
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    font-size: 12px;
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 640px) {
    .flaeske-events-container .event-meta-item.price .price-value,
    .flaeske-event-page .event-meta-item.price .price-value {
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    .flaeske-events-container .event-meta-item.price .price-value,
    .flaeske-event-page .event-meta-item.price .price-value {
        font-size: 14px;
    }
}

.event-description {
    font-size: 14px;
    color: rgba(44, 44, 44, 0.5);
    line-height: 1.75;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-links {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.event-link {
    color: var(--brand-charcoal);
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.event-link:hover {
    color: var(--brand-green);
}

.event-link .arrow {
    color: var(--brand-gold);
}

.event-external-link-inline {
    background: rgba(44, 44, 44, 0.1);
    color: var(--brand-charcoal);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
}

.event-external-link-inline:hover {
    background: var(--brand-green);
    color: #fff;
}

.event-external-link-inline svg {
    width: 16px;
    height: 16px;
}

.no-events,
.no-events-filtered {
    text-align: center;
    padding: 48px 24px;
    color: rgba(44, 44, 44, 0.6);
    font-size: 16px;
}

/* ============================================
   SINGLE EVENT PAGE
   ============================================ */
.flaeske-event-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
}

.event-back-link {
    margin-bottom: 24px;
}

.event-back-link a {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.event-back-link a:hover {
    color: #3a6346;
}

.event-header-section {
    margin-bottom: 32px;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
    }
}

.event-poster-large {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .event-poster-large {
        width: 300px;
    }
}

.event-poster-large img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.header-info {
    flex: 1;
}

.event-restaurant-name-large {
    font-size: 28px;
    font-weight: bold;
    color: var(--brand-green);
    margin-bottom: 8px;
    font-family: 'Lato', sans-serif;
}

.event-restaurant-name-large a {
    color: inherit;
    text-decoration: none;
}

.event-title-large {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 16px;
}

.event-date-time {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 16px;
    color: rgba(44, 44, 44, 0.6);
}

.flaeske-events-container .event-price,
.flaeske-event-page .event-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 16px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.event-location {
    font-size: 16px;
    color: rgba(44, 44, 44, 0.6);
    margin-bottom: 16px;
}

.event-link-wrapper {
    margin-top: 16px;
}

.event-external-link {
    display: inline-block;
    background: var(--brand-green);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.event-external-link:hover {
    background: #3a6346;
}

.event-description-section,
.event-attendance-section,
.event-restaurant-section,
.event-related-section {
    margin-bottom: 32px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(74, 124, 89, 0.1);
}

.event-description-section h2,
.event-attendance-section h2,
.event-restaurant-section h2,
.event-related-section h2 {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 16px;
}

/* Single event page: show full description (no line-clamp) */
.event-description-section .event-description {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

.event-description,
.attendance-info {
    font-size: 16px;
    line-height: 1.75;
    color: var(--brand-charcoal);
}

.restaurant-link-card {
    background: var(--brand-cream);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(74, 124, 89, 0.1);
}

.restaurant-link-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 12px;
    font-family: 'Merriweather', serif;
}

.restaurant-link-card p {
    font-size: 14px;
    color: rgba(44, 44, 44, 0.6);
    margin-bottom: 8px;
}

.restaurant-link-card .button {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 24px;
    background: var(--brand-green);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.restaurant-link-card .button:hover {
    background: #3a6346;
}

/* Related Events Grid - Compact Card Layout */
.related-events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 600px) {
    .related-events-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 800px) {
    .related-events-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.related-event-card-v2 {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.related-event-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-green);
}

.related-card-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-event-card-v2:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-cream) 0%, #e8e5dc 100%);
}

.related-card-image--placeholder span {
    font-size: 2rem;
    opacity: 0.5;
}

.related-card-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.related-event-card-v2 h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-charcoal);
    margin: 0;
    font-family: 'Merriweather', serif;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    color: #6b7280;
}

.related-meta-date,
.related-meta-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-card-price {
    display: inline-block;
    margin-top: auto;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--brand-green) 0%, #3a6346 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    align-self: flex-start;
}

/* Legacy styles kept for backwards compatibility */
.related-events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-event-card {
    background: var(--brand-cream);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(74, 124, 89, 0.1);
}

.related-event-card h4 {
    font-size: 18px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 8px;
    font-family: 'Merriweather', serif;
}

.related-event-card h4 a {
    color: inherit;
    text-decoration: none;
}

.related-event-card h4 a:hover {
    color: var(--brand-green);
}

.related-event-card p {
    font-size: 14px;
    color: rgba(44, 44, 44, 0.6);
    margin: 0;
}

/* ============================================
   MAP VIEW
   ============================================ */
.events-map-view {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 639px) {
    .events-map-view {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 0;
    }
}

.flaeske-events-map-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 1);
    position: relative;
    height: 500px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 639px) {
    .flaeske-events-map-container {
        height: 400px;
        border-radius: 12px;
        margin: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
}

@media (min-width: 640px) {
    .flaeske-events-map-container {
        height: 600px;
    }
}

@media (min-width: 768px) {
    .flaeske-events-map-container {
        height: 700px;
    }
}

.flaeske-events-map-container .flaeske-events-map {
    width: 100%;
    height: 100%;
    border-radius: 0;
    min-height: 500px;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 639px) {
    .flaeske-events-map-container .flaeske-events-map {
        min-height: 400px;
        width: 100%;
        max-width: 100%;
    }
}

/* Override any other map styles for events map */
.flaeske-events-map-container .leaflet-container {
    height: 100% !important;
    min-height: 500px !important;
    border-radius: 0 !important;
    background: #fff !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 639px) {
    .flaeske-events-map-container .leaflet-container {
        min-height: 400px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.flaeske-events-map-container .leaflet-pane {
    z-index: 400 !important;
}

.flaeske-events-map-container .leaflet-popup-pane {
    z-index: 1000 !important;
}

.flaeske-events-map-container .leaflet-popup {
    z-index: 1000 !important;
}

.flaeske-events-map-container .leaflet-map-pane {
    position: relative !important;
}

.flaeske-events-map-container .leaflet-tile-container {
    position: absolute !important;
}

.flaeske-events-map-container .leaflet-container .leaflet-tile-container img {
    filter: contrast(1.1) saturate(0.8);
}

/* Brand Guidelines Event Markers */
.flaeske-events-map-container .flaeske-event-marker-content {
    width: 40px;
    height: 40px;
    background: var(--brand-green);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    animation: bounce 2s ease-in-out infinite;
}

.flaeske-events-map-container .flaeske-event-marker-content svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Shadow for marker */
.flaeske-events-map-container .flaeske-event-marker::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(2px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Override any other marker styles for events map */
.flaeske-events-map-container .restaurant-marker.event-marker {
    background: transparent !important;
    border: none !important;
}

/* Map controls - brand guidelines */
.flaeske-events-map-container .leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.flaeske-events-map-container .leaflet-control-zoom a {
    background: #fff !important;
    border: 1px solid rgba(229, 231, 235, 1) !important;
    color: var(--brand-charcoal) !important;
    font-weight: bold !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    border-radius: 6px !important;
}

.flaeske-events-map-container .leaflet-control-zoom a:hover {
    background: rgba(249, 250, 251, 1) !important;
}

.flaeske-events-map-container .leaflet-control-zoom-in,
.flaeske-events-map-container .leaflet-control-zoom-out {
    font-size: 18px !important;
}

.events-map-stats {
    padding: 16px 24px;
    background: var(--brand-cream);
    border-top: 1px solid rgba(74, 124, 89, 0.1);
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* ============================================
   EVENT MAP POPUP - BRAND GUIDELINES
   ============================================ */
.flaeske-events-map-container .flaeske-event-popup {
    max-width: 350px;
    z-index: 1000 !important;
}

.flaeske-events-map-container .flaeske-event-popup .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 1);
    background: var(--brand-cream);
    overflow: visible;
    position: relative;
    z-index: 1000;
}

.flaeske-events-map-container .flaeske-event-popup .leaflet-popup-content {
    margin: 0;
    padding: 0;
    width: 350px;
    position: relative;
    z-index: 1001;
}

.flaeske-event-popup-content {
    background: var(--brand-cream);
    width: 100%;
}

.event-popup-body {
    padding: 16px;
}

/* Mobile - minimal overrides */
/* Hide Leaflet popup on mobile - we use bottom sheet instead */
@media (max-width: 640px) {
    .flaeske-events-map-container .flaeske-event-popup {
        display: none !important;
    }
}

/* Mobile Bottom Sheet Modal */
.flaeske-mobile-event-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flaeske-mobile-event-modal.active {
    opacity: 1;
    pointer-events: all;
}

.flaeske-mobile-event-modal.closing {
    opacity: 0;
}

.flaeske-mobile-event-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.flaeske-mobile-event-modal-content {
    position: relative;
    width: 100%;
    max-height: 80vh;
    background: var(--brand-cream);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 10001;
}

.flaeske-mobile-event-modal.active .flaeske-mobile-event-modal-content {
    transform: translateY(0);
}

.flaeske-mobile-event-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: var(--brand-green);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.flaeske-mobile-event-modal-close:hover {
    background: #3a6346;
}

.flaeske-mobile-event-modal .flaeske-event-popup-content {
    padding: 20px 16px 24px;
}

.flaeske-mobile-event-modal .event-popup-body {
    padding: 0;
}

.flaeske-mobile-event-modal .event-popup-title {
    font-size: 20px;
    margin-bottom: 8px;
    padding-right: 50px;
}

.flaeske-mobile-event-modal .event-popup-restaurant {
    font-size: 11px;
    margin-bottom: 12px;
}

.flaeske-mobile-event-modal .event-popup-meta {
    gap: 10px;
    margin-bottom: 16px;
}

.flaeske-mobile-event-modal .event-popup-description {
    font-size: 14px;
    color: rgba(44, 44, 44, 0.5);
    line-height: 1.75;
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
}

.flaeske-mobile-event-modal .event-popup-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* Mobile Modal Buttons - Brand Guidelines */
.flaeske-mobile-event-modal .event-popup-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    font-family: 'Lato', sans-serif;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
}

.flaeske-mobile-event-modal .event-popup-btn-primary {
    background: var(--brand-green);
    color: #fff;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.flaeske-mobile-event-modal .event-popup-btn-primary:hover {
    background: #3a6346;
    color: #fff;
}

.flaeske-mobile-event-modal .event-popup-btn-secondary {
    background: transparent;
    color: var(--brand-green);
    border: 2px solid var(--brand-green);
}

.flaeske-mobile-event-modal .event-popup-btn-secondary:hover {
    background: var(--brand-green);
    color: #fff;
}

.event-popup-title {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.event-popup-restaurant {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-green);
    margin-bottom: 10px;
    font-family: 'Lato', sans-serif;
}

.event-popup-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.event-popup-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(44, 44, 44, 0.6);
    font-family: 'Lato', sans-serif;
}

.event-popup-icon {
    width: 16px;
    height: 16px;
    color: rgba(44, 44, 44, 0.4);
    flex-shrink: 0;
}

.event-popup-icon-price {
    color: var(--brand-gold);
}

.event-popup-price .event-popup-price-value {
    font-weight: bold;
    color: var(--brand-charcoal);
}

.event-popup-description {
    font-size: 14px;
    color: rgba(44, 44, 44, 0.5);
    line-height: 1.75;
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
}

.event-popup-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Buttons - Brand Guidelines */
.flaeske-events-map-container .event-popup-btn,
.flaeske-events-map-container .flaeske-event-popup .event-popup-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    font-family: 'Lato', sans-serif;
    text-align: center;
    cursor: pointer;
}

/* Primary Button - Brand Guidelines */
.flaeske-events-map-container .event-popup-btn-primary,
.flaeske-events-map-container .flaeske-event-popup .event-popup-btn-primary {
    background: var(--brand-green);
    color: #fff;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.flaeske-events-map-container .event-popup-btn-primary:hover,
.flaeske-events-map-container .flaeske-event-popup .event-popup-btn-primary:hover {
    background: #3a6346;
    color: #fff;
}

/* Secondary Button - Brand Guidelines */
.flaeske-events-map-container .event-popup-btn-secondary,
.flaeske-events-map-container .flaeske-event-popup .event-popup-btn-secondary {
    background: transparent;
    color: var(--brand-green);
    border: 2px solid var(--brand-green);
}

.flaeske-events-map-container .event-popup-btn-secondary:hover,
.flaeske-events-map-container .flaeske-event-popup .event-popup-btn-secondary:hover {
    background: var(--brand-green);
    color: #fff;
}

.map-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-stat-item .stat-number {
    font-size: 20px;
    font-weight: bold;
    color: var(--brand-green);
    line-height: 1;
    margin-bottom: 4px;
}

.map-stat-item .stat-label {
    font-size: 12px;
    color: rgba(44, 44, 44, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.events-map-no-data {
    padding: 48px 24px;
    text-align: center;
    color: rgba(44, 44, 44, 0.6);
    font-size: 16px;
}

/* ============================================
   RESPONSIVE - Mobile-first improvements
   ============================================ */
.flaeske-events-container {
    padding: 12px;
}

@media (min-width: 640px) {
    .flaeske-events-container {
        padding: 16px;
    }
}

/* Event Cards - Mobile */
.event-card {
    flex-direction: column;
    height: auto;
}

@media (min-width: 768px) {
    .event-card {
        flex-direction: row;
        height: 256px;
    }
}

.event-poster {
    width: 100%;
    height: 200px;
}

@media (min-width: 768px) {
    .event-poster {
        width: 33.333%;
        height: 100%;
    }
}

.event-content {
    padding: 16px;
}

@media (min-width: 640px) {
    .event-content {
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .event-content {
        padding: 24px;
    }
}

.event-title {
    font-size: 20px;
}

@media (min-width: 640px) {
    .event-title {
        font-size: 22px;
    }
}

@media (min-width: 768px) {
    .event-title {
        font-size: 24px;
    }
}

.event-meta {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

@media (min-width: 640px) {
    .event-meta {
        gap: 16px;
        font-size: 14px;
    }
}

.event-links {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

@media (min-width: 640px) {
    .event-links {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Calendar - Mobile */
.events-calendar {
    padding: 16px;
}

@media (min-width: 640px) {
    .events-calendar {
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .events-calendar {
        padding: 24px;
    }
}

.calendar-weekdays {
    gap: 8px;
    margin-bottom: 8px;
}

@media (min-width: 640px) {
    .calendar-weekdays {
        gap: 12px;
    }
}

@media (min-width: 768px) {
    .calendar-weekdays {
        gap: 16px;
    }
}

.calendar-grid {
    gap: 4px;
}

@media (min-width: 640px) {
    .calendar-grid {
        gap: 6px;
    }
}

@media (min-width: 768px) {
    .calendar-grid {
        gap: 8px;
    }
}

.calendar-day {
    min-height: 80px;
    padding: 6px;
}

@media (min-width: 640px) {
    .calendar-day {
        min-height: 90px;
        padding: 7px;
    }
}

@media (min-width: 768px) {
    .calendar-day {
        min-height: 96px;
        padding: 8px;
    }
}

.day-number {
    font-size: 12px;
    margin-bottom: 4px;
}

@media (min-width: 640px) {
    .day-number {
        font-size: 13px;
        margin-bottom: 6px;
    }
}

@media (min-width: 768px) {
    .day-number {
        font-size: 14px;
        margin-bottom: 8px;
    }
}

.day-event-item {
    font-size: 10px;
    padding: 4px 6px;
}

@media (min-width: 640px) {
    .day-event-item {
        font-size: 11px;
        padding: 5px 7px;
    }
}

@media (min-width: 768px) {
    .day-event-item {
        font-size: 11px;
        padding: 6px;
    }
}

/* Modal - Mobile */
.events-modal-container {
    max-width: 100%;
    margin: 16px;
}

@media (min-width: 640px) {
    .events-modal-container {
        max-width: 512px;
        margin: 0;
    }
}

.events-modal-header {
    padding: 16px;
}

@media (min-width: 640px) {
    .events-modal-header {
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .events-modal-header {
        padding: 24px;
    }
}

.events-modal-content {
    padding: 16px;
    max-height: 60vh;
}

@media (min-width: 640px) {
    .events-modal-content {
        padding: 20px;
        max-height: 65vh;
    }
}

@media (min-width: 768px) {
    .events-modal-content {
        padding: 24px;
        max-height: 70vh;
    }
}

/* Tabs - Mobile */
.events-view-toggle {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.events-view-toggle::-webkit-scrollbar {
    display: none;
}

.view-toggle-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 12px;
    font-size: 13px;
}

@media (min-width: 640px) {
    .view-toggle-btn {
        padding: 12px;
        font-size: 14px;
    }
}

/* Filters - Mobile */
.events-filters-section {
    padding: 16px;
}

@media (min-width: 640px) {
    .events-filters-section {
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .events-filters-section {
        padding: 24px;
    }
}

.events-search-filter {
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .events-search-filter {
        grid-template-columns: 2fr 1fr 1fr auto;
        gap: 16px;
    }
}

/* Single Event Page - Mobile */
.flaeske-event-page {
    padding: 12px;
}

@media (min-width: 640px) {
    .flaeske-event-page {
        padding: 16px;
    }
}

@media (min-width: 768px) {
    .flaeske-event-page {
        padding: 16px;
    }
}

.event-title-large {
    font-size: 24px;
}

@media (min-width: 640px) {
    .event-title-large {
        font-size: 28px;
    }
}

@media (min-width: 768px) {
    .event-title-large {
        font-size: 32px;
    }
}

.event-restaurant-name-large {
    font-size: 20px;
}

@media (min-width: 640px) {
    .event-restaurant-name-large {
        font-size: 24px;
    }
}

@media (min-width: 768px) {
    .event-restaurant-name-large {
        font-size: 28px;
    }
}

.event-description-section,
.event-attendance-section,
.event-restaurant-section,
.event-related-section {
    padding: 16px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .event-description-section,
    .event-attendance-section,
    .event-restaurant-section,
    .event-related-section {
        padding: 20px;
        margin-bottom: 28px;
    }
}

@media (min-width: 768px) {
    .event-description-section,
    .event-attendance-section,
    .event-restaurant-section,
    .event-related-section {
        padding: 24px;
        margin-bottom: 32px;
    }
}

/* Map - Mobile */
.flaeske-events-map {
    height: 500px;
}

@media (min-width: 640px) {
    .flaeske-events-map {
        height: 600px;
    }
}

@media (min-width: 768px) {
    .flaeske-events-map {
        height: 700px;
    }
}

.events-map-stats {
    padding: 12px 16px;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 640px) {
    .events-map-stats {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        padding: 14px 20px;
    }
}

@media (min-width: 768px) {
    .events-map-stats {
        gap: 24px;
        padding: 16px 24px;
    }
}

/* ============================================
   COMPACT EVENT CARDS - Database Style Design (Grid Layout)
   ============================================ */
.event-card-compact {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(74, 124, 89, 0.1);
    transition: all 0.2s ease;
    overflow: hidden;
    height: 100%;
}

.event-card-compact:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-green);
    transform: translateY(-4px);
}

/* Visual Section - Image/Poster Area */
.event-card-visual {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-cream) 0%, #e8e5dc 100%);
    flex-shrink: 0;
}

.event-date-badge-compact {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid var(--brand-green);
    border-radius: 8px;
    padding: 4px 8px;
    min-width: 44px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.event-date-badge-compact .badge-month {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #EF4444;
    line-height: 1;
}

.event-date-badge-compact .badge-day {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-charcoal);
    line-height: 1.1;
}

.event-poster-compact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.event-poster-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card-compact:hover .event-poster-compact img {
    transform: scale(1.08);
}

/* Content Section */
.event-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
}

.event-date-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-restaurant-link {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-green);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-restaurant-link:hover {
    color: #3a6346;
    text-decoration: underline;
}

.event-card-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-charcoal);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-card-compact:hover .event-card-title a {
    color: var(--brand-green);
}

/* Meta Row */
.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: rgba(44, 44, 44, 0.6);
}

.event-card-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.event-card-meta .meta-item svg {
    width: 14px;
    height: 14px;
    color: rgba(44, 44, 44, 0.4);
    flex-shrink: 0;
}

.event-card-meta .meta-price {
    font-weight: 600;
    color: var(--brand-charcoal);
}

.event-card-meta .meta-price svg {
    color: var(--brand-gold);
}

/* Excerpt - Hidden in grid view for compactness */
.event-card-excerpt {
    display: none;
    font-size: 12px;
    color: rgba(44, 44, 44, 0.5);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Actions */
.event-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

.event-action-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-action-link:hover {
    color: var(--brand-green);
}

.event-action-external {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(44, 44, 44, 0.5);
    text-decoration: none;
    padding: 6px 12px;
    background: rgba(44, 44, 44, 0.05);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.event-action-external svg {
    width: 14px;
    height: 14px;
}

.event-action-external:hover {
    background: var(--brand-green);
    color: #fff;
}

/* Mobile Responsive - Compact Cards */
@media (max-width: 640px) {
    .event-card-compact {
        /* Card is already vertical, no changes needed */
    }
    
    .event-card-visual {
        height: 100px;
    }
    
    .event-date-badge-compact {
        padding: 3px 6px;
        min-width: 44px;
    }
    
    .event-date-badge-compact .badge-month {
        font-size: 8px;
    }
    
    .event-date-badge-compact .badge-day {
        font-size: 18px;
    }
    
    .event-poster-compact {
        width: 50px;
        height: 65px;
    }
    
    .event-card-title {
        font-size: 14px;
    }
    
    .event-card-meta {
        gap: 8px;
        font-size: 11px;
    }
    
    .event-card-meta .meta-item svg {
        width: 12px;
        height: 12px;
    }
    
    .event-card-excerpt {
        font-size: 12px;
    }
    
    .event-card-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .event-action-link,
    .event-action-external {
        font-size: 12px;
    }
    
    .event-action-external {
        padding: 5px 10px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.flaeske-event-page--not-found {
    padding: 48px 24px;
    text-align: center;
}

.not-found-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(74, 124, 89, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.not-found-card h2 {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: bold;
    color: var(--brand-charcoal);
    margin-bottom: 16px;
}

.not-found-card p {
    font-size: 16px;
    color: rgba(44, 44, 44, 0.6);
    margin-bottom: 16px;
}

.not-found-card a {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: bold;
}

.not-found-card a:hover {
    text-decoration: underline;
}

/* ============================================
   VALGFLÆSK SHORTCODE - BRAND GUIDELINES
   ============================================ */
.flaeske-valgflaesk {
    font-family: 'Lato', sans-serif;
    color: var(--brand-charcoal);
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px;
}

.flaeske-valgflaesk--empty {
    padding: 24px 0;
}

/* Empty state: branded card under page hero (not a second hero) */
.valgflaesk-empty-card {
    background: var(--brand-cream);
    border: 1px solid rgba(74, 124, 89, 0.25);
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.valgflaesk-empty-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(74, 124, 89, 0.12);
    border: 1px solid rgba(74, 124, 89, 0.3);
    color: var(--brand-green);
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.valgflaesk-empty-title {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--brand-charcoal);
}

.valgflaesk-empty-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.55;
    margin: 0;
    color: rgba(44, 44, 44, 0.82);
}

@media (min-width: 640px) {
    .valgflaesk-empty-card {
        padding: 28px 28px;
        border-radius: 14px;
    }
    .valgflaesk-empty-badge {
        padding: 5px 12px;
        font-size: 11px;
        margin-bottom: 14px;
    }
    .valgflaesk-empty-title {
        font-size: 1.375rem;
        margin-bottom: 10px;
    }
    .valgflaesk-empty-text {
        font-size: 1rem;
    }
}

.flaeske-valgflaesk--list {
    padding: 24px 0;
}

.valgflaesk-list-container {
    width: 100%;
}

.valgflaesk-list-title {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-charcoal);
    margin: 0 0 20px;
}

.valgflaesk-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 480px) {
    .valgflaesk-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .valgflaesk-events-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
}
