/* Defines the main display font - Concourse for headings/UI */
@font-face {
    font-family: 'Concourse';
    src: url('/fonts/concourse_t3_regular.woff') format('woff');
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Concourse';
    src: url('/fonts/concourse_t3_italic.woff') format('woff');
    font-weight: 300;
    font-stretch: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Concourse';
    src: url('/fonts/concourse_t4_bold.woff') format('woff');
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Concourse';
    src: url('/fonts/concourse_t4_bold_italic.woff') format('woff');
    font-weight: 400;
    font-stretch: normal;
    font-style: italic;
}

/* Valkyrie serif font for body text */
@font-face {
    font-family: 'Valkyrie';
    src: url('/fonts/valkyrie_t3_regular.woff') format('woff');
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Valkyrie';
    src: url('/fonts/valkyrie_t3_italic.woff') format('woff');
    font-weight: 300;
    font-stretch: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Valkyrie';
    src: url('/fonts/valkyrie_t3_bold.woff') format('woff');
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Valkyrie';
    src: url('/fonts/valkyrie_t3_bold_italic.woff') format('woff');
    font-weight: 700;
    font-stretch: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Valkyrie';
    src: url('/fonts/valkyrie_t4_regular.woff') format('woff');
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Valkyrie';
    src: url('/fonts/valkyrie_t4_italic.woff') format('woff');
    font-weight: 400;
    font-stretch: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Valkyrie';
    src: url('/fonts/valkyrie_t4_bold.woff') format('woff');
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Valkyrie';
    src: url('/fonts/valkyrie_t4_bold_italic.woff') format('woff');
    font-weight: 700;
    font-stretch: normal;
    font-style: italic;
}

/* -------------------------------------------------------
   Brand palette + Bootstrap token overrides (Bootstrap 5)
   ------------------------------------------------------- */
:root {
    /* Brand colors (Star palette) */
    --brand-red:    #d22a2a;
    --brand-purple: #5f3e97;
    --brand-blue:   #1b5ba7; /* navbar */
    --brand-green:  #3c8f43;
    --brand-yellow: #e8b52e;
    --brand-orange: #c97a29;

    /* Neutrals */
    --mc-paper:    #E9EEF5;  /* page background */
    --mc-cream:    #e4e4df;  /* alternate section bg */
    --mc-ink:      #2a2a2a;  /* primary text */
    --mc-ink-soft: #5a5a5a;  /* secondary text */

    /* Bootstrap variables */
    --bs-body-bg:          var(--mc-paper);
    --bs-body-color:       var(--mc-ink);
    --bs-primary:          var(--brand-blue);
    --bs-link-color:       var(--brand-blue);
    --bs-link-hover-color: #154b8a;
    --bs-border-color:     rgba(0,0,0,0.12);
}

body {
    font-family: 'Valkyrie', serif;
    font-weight: 400;
    font-style: normal;
    background: var(--mc-paper);
    color: var(--mc-ink);
    font-size: 18px;
    line-height: 1.7;
}

/* Paragraph spacing */
p {
    margin-bottom: 1.25rem;
}

/* Lead text (intro paragraphs) */
.lead {
    font-size: 1.28rem;
    line-height: 1.65;
    font-weight: 400;
}

/* Section intro text */
.fs-5 {
    font-size: 1.17rem !important;
    line-height: 1.65;
}

/* Headings use Concourse sans */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Concourse', sans-serif;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1, .h1 {
    font-size: 2.75rem;
}

h2, .h2 {
    font-size: 2rem;
}

h3, .h3 {
    font-size: 1.5rem;
}

h4, .h4 {
    font-size: 1.25rem;
}

h5, .h5 {
    font-size: 1.1rem;
}

.display-5 {
    font-family: 'Concourse', sans-serif;
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.25;
}

.display-6 {
    font-family: 'Concourse', sans-serif;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.3;
}

/* -------------------------------------------------------
   Links
   ------------------------------------------------------- */
/* Links */
a {
    text-underline-offset: 0.12em;
}
a:hover {
    text-decoration-thickness: 2px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* -------------------------------------------------------
   Navbar (Star blue)
   ------------------------------------------------------- */
.navbar {
    font-family: 'Concourse', sans-serif;
    background:
        var(--brand-blue);
    border-bottom: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}

    /* desktop: vertical bar */
    .navbar .nav-separator {
        width: 1px;
        height: 20px;
        margin-top: 12px;
        background-color: #fff;
        opacity: 1;
        min-height: 0;
        border: 0;
    }

    /* mobile: horizontal bar */
    .navbar .nav-separator-mobile {
        border-top: 1px solid #fff;
        margin: .5rem 0;
        opacity: 1;
    }

/* Brand lockup in navbar */
    .navbar .navbar-brand.brand-lockup {
        font-family: 'Concourse', sans-serif;
        color: rgba(255,255,255,0.94);
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        color: #ffffff;
        text-decoration: none;
        line-height: 1;
    }

.navbar .navbar-brand.brand-lockup:hover,
.navbar .navbar-brand.brand-lockup:focus {
    color: #ffffff;
    text-decoration: none;
}

.navbar .brand-type {
    font-size: 1.75rem; /* larger wordmark */
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.navbar .brand-mark {
    height: 28px;
    width: auto;
    flex: 0 0 auto;
    display: block;
}

@media (max-width: 576px) {
    .navbar .brand-type { font-size: 1.15rem; }
    .navbar .brand-mark { height: 22px; }
}

/* Nav links */
.navbar .navbar-nav .nav-link {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus {
    color: #ffffff;
}

/* Active link: yellow underline */
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .show > .nav-link {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--brand-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.32em;
}

/* Toggler */
.navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.35);
}
.navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(232,181,46,0.28);
}

/* Dropdowns */
.navbar .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}
.navbar .dropdown-item { color: var(--mc-ink); }
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(27,91,167,0.10);
}

/* -------------------------------------------------------
   Used on the homepage
   ------------------------------------------------------- */
.hero {
    background:
        radial-gradient(1200px 520px at 65% 0%,
            rgba(27,91,167,0.16) 0%,
            rgba(27,91,167,0.06) 40%,
            rgba(233,238,245,0.0) 75%),
        linear-gradient(180deg,
            rgba(27,91,167,0.08) 0%,
            rgba(27,91,167,0.00) 70%);
}

.section-pad {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.text-balance {
    text-wrap: balance;
}

.card-soft {
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    background: #ffffff;
}

/* Knockout panel (e.g., Upcoming Sessions) */
.panel-knockout {
    background:
        radial-gradient(900px 260px at 30% 0%,
            rgba(255,255,255,0.10) 0%,
            rgba(255,255,255,0.00) 60%),
        linear-gradient(180deg,
            rgba(95,62,151,0.22) 0%,
            rgba(95,62,151,0.00) 60%),
        linear-gradient(135deg,
            rgba(12,18,28,0.94) 0%,
            rgba(12,18,28,0.86) 60%,
            rgba(12,18,28,0.92) 100%);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

.panel-knockout,
.panel-knockout h1,
.panel-knockout h2,
.panel-knockout h3,
.panel-knockout h4,
.panel-knockout h5,
.panel-knockout h6,
.panel-knockout p,
.panel-knockout li,
.panel-knockout .text-muted,
.panel-knockout .text-secondary {
    color: #ffffff !important;
    opacity: 1;
}

.panel-knockout a {
    color: rgba(255,255,255,0.92);
    text-decoration-color: rgba(232,181,46,0.85);
}
.panel-knockout a:hover {
    color: #ffffff;
    text-decoration-thickness: 2px;
}

/* Muted text */
.text-secondary,
.text-muted {
    color: var(--mc-ink-soft) !important;
}

.anchor-offset {
    scroll-margin-top: 90px;
}
