:root {
    --c-terracotta: #E2725B;
    --c-indigo: #1B263B;
    --c-sand: #fdf5e6;
    --c-clay: #7A443A;
    --c-paper: #ffffff;
    --c-border: rgba(27, 38, 59, 0.1);

    --f-serif: 'Playfair Display', serif;
    --f-sans: 'Outfit', sans-serif;

    --radius-organic: 2px;
    --transition-organic: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.zce-events-module {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
    /* Reduced padding for widget context */
    color: var(--c-indigo);
    font-family: var(--f-sans);
    position: relative;
}

/* Texture Overlay */
.grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.04;
    pointer-events: none;
    z-index: 5;
}

/* Header Boutique */
.boutique-header {
    margin-bottom: 4rem;
    text-align: center;
}

.header-pre {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--c-clay);
}

.header-brand h2 {
    font-family: var(--f-serif);
    font-size: 3rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 0.5rem;
}

.header-brand h2 span {
    display: block;
    font-weight: 400;
    font-style: italic;
    color: var(--c-terracotta);
    margin-left: 1.5rem;
}

.brand-tagline {
    font-size: 0.9rem;
    font-family: var(--f-serif);
    font-style: italic;
    opacity: 0.7;
}

/* Nav Boutique */
.boutique-filters {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: 1rem 0;
}

.filter-link {
    background: transparent;
    border: 1px solid transparent;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-family: var(--f-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-indigo);
    cursor: pointer;
    transition: var(--transition-organic);
}

.filter-link.active {
    background: var(--c-indigo);
    color: var(--c-paper);
    opacity: 1;
}

.filter-link:hover:not(.active) {
    color: var(--c-terracotta);
    background: rgba(226, 114, 91, 0.05);
}

/* Hero Curated */
.hero-curated {
    margin-bottom: 6rem;
    position: relative;
}

.hero-box {
    display: flex;
    align-items: center;
    position: relative;
}

.hero-image-wrap {
    width: 45%;
    /* Significantly smaller as requested */
    aspect-ratio: 2 / 3;
    height: auto;
    overflow: hidden;
    border-radius: 4px;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* Keep faces and top content visible */
    filter: sepia(10%) contrast(105%);
}

.hero-content-overlap {
    width: 65%;
    /* Increased to cover more area since image is smaller */
    background: var(--c-paper);
    padding: 3rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 15px 15px 50px rgba(0, 0, 0, 0.08);
    border-left: 8px solid var(--c-terracotta);
    z-index: 10;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    /* Larger label */
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--c-terracotta);
    margin-bottom: 1.2rem;
    display: block;
}

.hero-content-overlap h3 {
    font-family: var(--f-serif);
    font-size: 2.8rem;
    /* Larger title */
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--c-indigo);
}

.hero-content-overlap p {
    font-size: 1.1rem;
    /* Larger body text */
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.hero-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--c-border);
}

.hero-meta-item {
    font-family: var(--f-sans);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-indigo);
}

.hero-meta-item strong {
    color: var(--c-terracotta);
    font-size: 1.2rem;
}

.btn-boutique {
    padding: 0.7rem 1.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    transition: var(--transition-organic);
}

.btn-solid {
    background: var(--c-indigo);
    color: white;
    border: none;
}

.btn-ghost {
    background: transparent;
    color: var(--c-indigo);
    border: 1px solid var(--c-indigo);
    cursor: pointer;
}

.btn-boutique:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Agenda Sections */
.agenda-month {
    font-family: var(--f-serif);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--c-terracotta);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.agenda-month::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-border);
}

.agenda-stream {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.agenda-entry {
    display: grid;
    grid-template-columns: 80px 0.7fr 1.5fr;
    /* Smaller image, more text space */
    gap: 2rem;
    align-items: start;
    position: relative;
    padding-bottom: 4rem;
}

.agenda-entry::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 60px;
    bottom: 0;
    width: 1px;
    background: var(--c-border);
    z-index: 1;
}

.agenda-entry:last-child::before {
    display: none;
}

.day-num {
    font-family: var(--f-serif);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--c-terracotta);
    /* More active color */
    background: var(--c-paper);
    padding: 0 10px;
    z-index: 2;
    text-align: center;
    position: relative;
}

.entry-visual {
    aspect-ratio: 2 / 3;
    /* Enforce vertical poster ratio */
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05);
}

.entry-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* Ensures the top of the vertical image is always visible */
    transition: var(--transition-organic);
}

.agenda-entry:hover .entry-visual img {
    transform: scale(1.04);
}

.entry-details {
    padding-top: 1rem;
}

.entry-cat {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--c-terracotta);
    display: block;
    margin-bottom: 0.8rem;
}

.entry-details h4 {
    font-family: var(--f-serif);
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--c-indigo);
}

/* Action Links transformed to Buttons for Affordance */
.entry-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.action-link {
    font-family: var(--f-sans);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-indigo);
    background: var(--c-paper);
    border: 1px solid var(--c-border);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-organic);
    box-shadow: 1px 1px 0px var(--c-border);
}

.action-link i {
    color: var(--c-terracotta);
}

.action-link:hover {
    border-color: var(--c-terracotta);
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px var(--c-terracotta);
}

.action-link.bold {
    background: var(--c-terracotta);
    color: white;
    border-color: var(--c-terracotta);
    justify-content: center;
}

.action-link.bold i {
    color: white;
}

.entry-price {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--c-border);
    padding-top: 1rem;
}

.free {
    color: var(--c-terracotta);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-box {
        flex-direction: column;
    }

    .hero-image-wrap {
        width: 100%;
        height: 300px;
        border-radius: 15px 15px 0 0;
    }

    .hero-content-overlap {
        width: 90%;
        position: relative;
        right: auto;
        margin-top: -2rem;
        border-left: none;
        border-top: 6px solid var(--c-terracotta);
        padding: 1.5rem;
    }

    .agenda-entry {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .day-num {
        font-size: 2.5rem;
        margin-bottom: -1rem;
        z-index: 5;
        position: relative;
    }

    .entry-visual {
        aspect-ratio: 2 / 3;
        height: auto;
    }
}