:root {
    --charcoal: rgb(35, 31, 32);
    --grey: rgb(154, 157, 162);
    --green: rgb(116, 164, 52);
    --white: #ffffff;
}

/* Base layout */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--charcoal);
    color: var(--white);
    font-family: "Futura", "Montserrat", sans-serif;
}

/* Force brand font everywhere (fixes Arial fallback) */
body,
button,
.disc-header,
.disc-header span,
.session-link,
a,
h1, h2, h3, h4, h5, h6,
p,
div,
span {
    font-family: "Futura", "Montserrat", sans-serif !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.title {
    font-size: 2.8rem;
    margin-bottom: 5px;
    color: var(--white);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--grey);
    margin-bottom: 30px;
}

/* Top buttons */
.top-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    padding: 10px 20px;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.btn.active {
    background: var(--white);
    color: var(--charcoal);
}

/* Divider (used by Results page) */
.divider {
    height: 1px;
    background: var(--grey);
    margin: 25px 0;
}

/* Discipline blocks */
.disc-block {
    margin-bottom: 20px;
}

/* Collapsible headers (flat, Results-style) */
.disc-header {
    width: 100%;
    background: transparent;
    color: var(--white);
    border: none;
    padding: 12px 5px;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: left;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.disc-header:hover {
    color: var(--green);
}

/* Arrow matches Results page exactly */
.arrow {
    font-size: 1.4rem;
    line-height: 1;
    font-weight: normal;
}

/* Collapsible content (no animation) */
.disc-content {
    display: none;
    padding-left: 10px;
    margin-bottom: 10px;
}

/* Make collapsibles work with JS */
.disc-block.open .disc-content {
    display: block;
}

/* Session links (match Results event-item) */
.session-link {
    display: block;
    padding: 6px 0;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
}

.session-link:hover {
    color: var(--green);
    text-decoration: underline;
}

.disabled-link {
    color: var(--grey);
    opacity: 0.5;
    cursor: default;
    text-decoration: none;
    pointer-events: none;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .container {
        padding: 20px 10px;
    }

    .title {
        font-size: 2.2rem;
    }

    .disc-header {
        font-size: 1.3rem;
    }

    .session-link {
        font-size: 1.05rem;
    }
}
