/* =========================================================
   Juniata College Liberal Arts Symposium - Schedule at a Glance
   ========================================================= */

:root {
    --navy: #1B365D;
    --navy-dark: #12253F;
    --gold: #A89968;
    --gold-light: #D9CFB4;
    --off-white: #FAF9F6;
    --border-light: #E3E0D8;
    --text-body: #2B2B2B;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background-color: var(--off-white);
}

h1, h2, h3, .las-brand {
    font-family: 'Playfair Display', Georgia, serif;
}

a {
    color: var(--navy);
}

/* ---------- Top navigation ---------- */

.las-nav {
    background-color: var(--navy);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.las-brand {
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

.las-nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.las-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.4rem 0.2rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.las-nav-links a:hover,
.las-nav-links a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* ---------- Hero ---------- */

.las-hero {
    background-color: var(--navy);
    background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
}

.las-hero h1 {
    color: var(--gold);
    margin: 0 0 0.35rem;
    font-size: 2.25rem;
}

.las-hero p {
    color: var(--gold-light);
    margin: 0;
    font-size: 1rem;
}

/* ---------- Layout container ---------- */

.las-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.75rem 1.25rem 4rem;
}

/* ---------- Filters + search ---------- */

.las-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1.75rem;
}

.las-filter-btn {
    background-color: #fff;
    border: 1px solid var(--navy);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.las-filter-btn:hover {
    background-color: var(--navy);
    color: #fff;
}

.las-search-wrap {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
    flex: 1 1 260px;
    max-width: 340px;
}

.las-search-input {
    flex: 1;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
}

.las-search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(168, 153, 104, 0.25);
}

/* ---------- Section headings ---------- */

.las-section-title {
    color: var(--navy);
    font-size: 1.65rem;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 0.4rem;
    margin: 2.5rem 0 1.25rem;
}

.las-section-title:first-of-type {
    margin-top: 0;
}

.las-empty-note {
    color: #7a7a7a;
    font-style: italic;
    font-size: 0.9rem;
}

/* Subcategory heading (e.g. Plenary, nested under All Day Events) */
.las-subsection-title {
    color: var(--navy);
    font-size: 1.2rem;
    margin: 1.25rem 0 1rem 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--gold-light);
    display: inline-block;
}

/* Badge distinguishing Special Sessions within the merged
   Presentations & Special Sessions category */
.las-type-badge {
    display: inline-block;
    background-color: var(--gold-light);
    color: var(--navy-dark);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    margin-bottom: 0.35rem;
}

/* ---------- Simple event list (All Day / Special Sessions / Posters) ---------- */

.las-event-card {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1rem;
    align-items: start;
    background-color: #fff;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
}

.las-event-time {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
    white-space: nowrap;
}

.las-event-body .las-event-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--navy);
    font-size: 1.15rem;
    margin: 0 0 0.3rem;
}

.las-event-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.las-event-presenters {
    font-size: 0.9rem;
    color: var(--text-body);
    margin: 0 0 0.25rem;
}

.las-event-presenters strong {
    color: var(--navy);
}

.las-event-location {
    font-size: 0.85rem;
    color: var(--text-body);
}

.las-learn-more {
    justify-self: end;
    background-color: var(--navy);
    color: var(--gold);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.las-learn-more:hover {
    background-color: var(--navy-dark);
}

/* ---------- Grouped time/location blocks (Presentations) ---------- */

.las-time-block {
    background-color: #fff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.las-time-block-header {
    background-color: var(--navy);
    color: var(--gold);
    padding: 0.7rem 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    align-items: baseline;
    font-size: 1.05rem;
}

.las-time-block-header .las-block-time {
    font-weight: 700;
}

.las-time-block-header .las-block-location {
    color: #fff;
    font-size: 0.95rem;
}

.las-time-block-header .las-block-location a {
    color: #fff;
    text-decoration: underline;
}

.las-presentation-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.las-presentation-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 1.1rem;
    border-top: 1px solid var(--border-light);
}

.las-presentation-item:first-child {
    border-top: none;
}

.las-presentation-item .las-event-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--navy);
    font-size: 1.05rem;
    margin: 0 0 0.3rem;
}

/* ---------- Modal (native dialog) ---------- */

dialog.las-modal {
    border: none;
    border-radius: 10px;
    padding: 0;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

dialog.las-modal::backdrop {
    background: rgba(27, 54, 93, 0.55);
}

.las-modal-header {
    background-color: var(--navy);
    color: var(--gold);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.las-modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.las-modal-close {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.las-modal-body {
    padding: 1.25rem;
    font-size: 0.95rem;
}

.las-modal-body dl {
    margin: 0;
}

.las-modal-body dt {
    font-weight: 700;
    color: var(--navy);
    margin-top: 0.75rem;
}

.las-modal-body dt:first-child {
    margin-top: 0;
}

.las-modal-body dd {
    margin: 0.15rem 0 0;
}

.las-modal-footer {
    padding: 0.9rem 1.25rem;
    border-top: 1px solid var(--border-light);
    text-align: right;
}

.las-modal-footer button {
    background-color: var(--off-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: inherit;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
    .las-event-card {
        grid-template-columns: 1fr;
    }

    .las-learn-more {
        justify-self: start;
    }

    .las-presentation-item {
        grid-template-columns: 1fr;
    }

    .las-search-wrap {
        max-width: none;
        margin-left: 0;
        width: 100%;
    }
}