/* Atkinson Conference Agenda – clean, minimal, theme-friendly */
.ca-conference-agenda {
    font-family: "NittiGrotesk Regular", sans-serif;
    max-width: 100%;
    margin: 2rem 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #3f454f;
}

/* Filters - increased font sizes, vertical layout */
.ca-conference-filters {
    background: #f5f5f5;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
}
.ca-filter-group {
    flex: 1 1 200px;
}
.ca-filter-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.ca-filter-options label {
    display: block;
    margin-right: 0;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.8;
}
.ca-clear-filters {
    background: none;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    align-self: flex-end;
    font-size: 1rem;
}
.ca-clear-filters:hover {
    background: #eee;
}

/* Day heading - now h4 */
.ca-day-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ddd;
}

/* Each day's container – add more space after the list */
.ca-conference-day {
    margin-bottom: 3rem;
}
.ca-conference-day:last-child {
    margin-bottom: 0;
}

/* Event card - reduced padding for collapsed state */
.ca-conference-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #fff;
    transition: box-shadow 0.2s;
    cursor: pointer;
}
.ca-conference-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ca-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}
.ca-card-title {
    flex: 1 1 200px;
}
/* Ensure title uses NittiGrotesk Regular (sans-serif) and is bold – override theme */
#main .ca-conference-agenda .ca-card-title h5,
.ca-conference-agenda .ca-card-title h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    display: inline;
    font-family: "NittiGrotesk Regular", sans-serif !important;
}

/* Featured badge - star icon on red background */
.ca-featured-badge {
    display: inline-block;
    background: #b31b1b;
    color: #fff;
    font-size: 0.85rem;
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
    margin-right: 0.5rem;
    font-weight: bold;
    line-height: 1.4;
}

/* Hybrid badge - unchanged */
.ca-hybrid-badge {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Time - increased font size */
.ca-card-time {
    font-weight: bold;
    white-space: nowrap;
    font-size: 1rem;
}

/* Toggle button - larger, rounded, clean */
.ca-toggle-details {
    background: none;
    border: 2px solid #ccc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.ca-toggle-details:hover {
    background: #f0f0f0;
}
.ca-toggle-details:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}
.ca-toggle-details .ca-toggle-icon {
    transition: none; /* no rotation */
    display: block;
    line-height: 1;
}

/* Details – hidden by default */
.ca-card-details[hidden] {
    display: none !important;
}
.ca-card-details {
    margin-top: 0.75rem;
    border-top: 1px solid #eee;
    padding-top: 0.75rem;
}

/* Detail items */
.ca-detail-item {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}
.ca-detail-label {
    font-weight: bold;
    margin-right: 0.5rem;
}
/* Hosts and Speakers - increase font size */
.ca-detail-hosts .ca-detail-label,
.ca-detail-hosts .ca-detail-value,
.ca-detail-speakers .ca-detail-label,
.ca-detail-speakers .ca-detail-value {
    font-size: 1rem;
}

/* Badge rows: hide the labels (Event Type: and Themes:) */
.ca-detail-badge-row .ca-detail-label {
    display: none;
}

/* NEW: Combined badges container */
.ca-detail-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.5rem;
    margin-bottom: 0.4rem;
}

/* Themes badges - gray background, black text */
.ca-detail-badge {
    display: inline-block;
    background: #e9ecef;
    color: #000;
    padding: 0.15rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

/* Event Type badges - black background, white text */
.ca-event-type-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 0.15rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

/* Abstract */
.ca-abstract {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}
.ca-abstract p {
    margin: 0 0 0.5rem;
}

/* Buttons */
.ca-button {
    display: inline-block;
    background: #b31b1b;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}
.ca-button:hover {
    background: #8a1515;
}
.ca-register-button {
    background: #0073aa;
}
.ca-register-button:hover {
    background: #005a87;
}
.ca-zoom-button {
    background: #2d6a4f;
}
.ca-zoom-button:hover {
    background: #1e4a36;
}

/* No results */
.ca-no-events {
    padding: 2rem;
    text-align: center;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ca-filter-group {
        flex: 1 1 100%;
    }
    .ca-card-header {
        flex-direction: column;
        align-items: stretch;
    }
    .ca-card-time {
        order: 2;
    }
    .ca-toggle-details {
        align-self: flex-end;
    }
    /* Reduce day spacing on mobile */
    .ca-conference-day {
        margin-bottom: 1.5rem;
    }
    .ca-conference-day:last-child {
        margin-bottom: 0;
    }
    /* Reduce card padding on mobile */
    .ca-conference-card {
        padding: 0.4rem 0.5rem;
    }
    .ca-card-title {
    flex: 1 1 25px;
    }
}