/* Featured gallery for top 3 events */
.utahmo-events-featured { display:flex; gap:1rem; justify-content:center; margin-bottom:1.5rem; }
.utahmo-event-featured-link { display:block; position:relative; width:32%; text-decoration:none; color:inherit; overflow:hidden; border-radius:24px; }
.utahmo-event-featured-link img { width:100%; height:520px; object-fit:cover; display:block; border-radius:24px; transition: transform 300ms ease; }
.utahmo-event-featured-overlay {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: transparent;
    color: #fff;
    padding: 0;
    border-radius: 0;
    font-weight: 400;
    font-size: 1.25rem;
}
.utahmo-event-featured-caption {
    position: absolute;
    left: 20px;
    top: 20px;
    right: 20px;
    color: #fff;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 1.4rem !important;
    text-decoration: underline;
    font-family: var(--et_global_heading_font);
}

.utahmo-event-organizer a{
    color: #000
}

.utahmo-event-featured-link--text-white .utahmo-event-featured-overlay,
.utahmo-event-featured-link--text-white .utahmo-event-featured-caption {
    color: #fff;
}

.utahmo-event-featured-link--text-black .utahmo-event-featured-overlay,
.utahmo-event-featured-link--text-black .utahmo-event-featured-caption {
    color: #000 !important;
}

.utahmo-event-organizer a:hover{
    color: #8e52c2
}

/* Fallback for small images */
.utahmo-event-featured-link img { min-height:420px; }
.utahmo-event-featured-link:hover img { transform: scale(1.06); }

/* Basic layout for events list */
.utahmo-events-list { margin: 0; padding: 0; }
.utahmo-event-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #000;
    padding: 0.75rem 0.5rem;
    flex-wrap: wrap;
}
.utahmo-event-row:last-child { border-bottom: none; }
.utahmo-event-row.is-open {
    background: #FEF6E4;
}
.utahmo-event-left { width: 100%; }
.utahmo-event-col { width: 25%; }
.utahmo-event-left,
.utahmo-event-col {
    padding: 0.35rem 0.5rem;
    box-sizing: border-box;
}
.utahmo-event-col { text-align: left; }
.utahmo-event-col-action { text-align: center; }
.utahmo-event-title { font-size: 1.25rem; font-weight: 600; color: #000; text-decoration: underline;}
.utahmo-event-col,
.utahmo-event-col * {
    font-size: 20px;
    font-weight: 400;
}
.utahmo-event-date { font-weight: 400; }
.utahmo-event-toggle {
    background: transparent;
    color: #333;
    border: 2px solid #fdcb39;
    padding: 0.6rem;
    cursor: pointer;
    border-radius: 25px;
    position: relative;
    font-family: var(--et_global_heading_font);
}
.utahmo-event-toggle::after {
    content: none;
}
.utahmo-event-toggle[aria-expanded="true"] {
    background: #fdcb39;
    border-color: #fdcb39;
}
.utahmo-event-toggle:hover {
    background: var(--gcid-secondary-color);
    border-color: var(--gcid-secondary-color);
}
.utahmo-event-panel {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    width: 100%;
}
.utahmo-event-desc-title { margin-bottom: 0.4rem; }
.utahmo-event-signup-toggle {
    background: #F8F1DD;
    color: #333;
    border: 2px solid #F8F1DD;
    padding: 0.4rem 0.6rem;
    margin-top: 0.5rem;
    cursor: pointer;
    border-radius: 25px;
}
.utahmo-event-signup-toggle:hover {
    background: var(--gcid-secondary-color);
    border-color: var(--gcid-secondary-color);
}
.utahmo-event-signup-form { margin-top: 0.5rem; }

@media (max-width: 700px) {
    .utahmo-events-featured { flex-direction: column; }
    .utahmo-event-featured-link { width: 100%; }
    .utahmo-event-row { flex-direction: column; align-items: flex-start; }
    .utahmo-event-col { width: 100%; text-align: left; }
    .utahmo-event-col-action { text-align: left; }
}
.utahmo-event-featured-link--swap .utahmo-event-featured-overlay { top: 20px; bottom: auto; }
.utahmo-event-featured-link--swap .utahmo-event-featured-caption { bottom: 20px; top: auto; }
