/* =========================================================
   2nd Vertigo Congress in Romania – theme
   Palette taken from the poster: cream paper, deep forest
   green, sage, warm gold, with a magenta accent (IREV dot).
   Works on top of Bootstrap 5.3
   ========================================================= */

:root {
    /* --- brand palette --- */
    --forest:       #1d3a33;   /* "Vertigo Congress" title */
    --forest-deep:  #142a25;
    --sage:         #6e8b7d;   /* subtitle banner */
    --sage-light:   #dfe7e1;
    --sage-pale:    #eef3ef;
    --gold:         #b8894f;   /* "The 2nd", "in Romania" */
    --gold-light:   #e6d3b2;
    --gold-pale:    #f6eedf;
    --cream:        #f8f4ec;
    --paper:        #fffdf8;
    --magenta:      #e0157f;   /* IREV accent – use sparingly */
    --plum:         #6b2f7a;   /* society logo */
    --text-dark:    #1f2b28;
    --text-muted:   #5f6d68;
    --line:         #e4dccd;

    /* legacy names kept so existing markup keeps working */
    --primary:   var(--forest);
    --secondary: var(--gold);
    --success:   var(--sage);
    --info:      var(--sage);
    --warning:   var(--gold);
    --danger:    var(--magenta);
    --light:     var(--cream);
    --dark:      var(--forest);
    --navy:      var(--forest);
    --navy-deep: var(--forest-deep);
    --purple:    var(--plum);
    --purple-deep: var(--forest-deep);

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Montserrat', 'Poppins', system-ui, sans-serif;

    --radius:    14px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 6px rgba(29, 58, 51, .06);
    --shadow:    0 8px 28px rgba(29, 58, 51, .10);

    /* --- Bootstrap overrides --- */
    --bs-primary: #1d3a33;
    --bs-primary-rgb: 29, 58, 51;
    --bs-secondary: #b8894f;
    --bs-secondary-rgb: 184, 137, 79;
    --bs-success: #6e8b7d;
    --bs-success-rgb: 110, 139, 125;
    --bs-info: #6e8b7d;
    --bs-info-rgb: 110, 139, 125;
    --bs-warning: #b8894f;
    --bs-warning-rgb: 184, 137, 79;
    --bs-danger: #e0157f;
    --bs-danger-rgb: 224, 21, 127;
    --bs-light: #f8f4ec;
    --bs-light-rgb: 248, 244, 236;
    --bs-dark: #1d3a33;
    --bs-dark-rgb: 29, 58, 51;
    --bs-body-bg: #f8f4ec;
    --bs-body-color: #1f2b28;
    --bs-body-font-family: var(--font-sans);
    --bs-link-color: #1d3a33;
    --bs-link-color-rgb: 29, 58, 51;
    --bs-link-hover-color: #b8894f;
    --bs-link-hover-color-rgb: 184, 137, 79;
    --bs-border-color: #e4dccd;
    --bs-border-radius: 8px;
    --bs-nav-link-padding-y: 0;
}

/* ---------- BASE ---------- */
body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--cream);
    /* soft paper sheen, like the poster background */
    background-image:
        radial-gradient(1200px 600px at 100% 0%, rgba(110,139,125,.10), transparent 60%),
        radial-gradient(900px 500px at 0% 100%, rgba(184,137,79,.08), transparent 60%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    color: var(--forest);
    font-weight: 700;
    letter-spacing: -.01em;
}
h1 { font-size: calc(2rem + 1.5vw); line-height: 1.05; margin-bottom: 1.5rem; }
h1 small { display: block; font-weight: 400; font-style: italic; font-size: .55em; line-height: 1.2; color: var(--gold); }
h2 { font-size: calc(1.5rem + .8vw); }
h3 { font-size: 1.5rem; }

a { color: var(--forest); text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.text-gold   { color: var(--gold) !important; }
.text-forest { color: var(--forest) !important; }
.text-sage   { color: var(--sage) !important; }
.bg-forest   { background: var(--forest) !important; color: #fff; }
.bg-sage     { background: var(--sage) !important; color: #fff; }
.bg-cream    { background: var(--cream) !important; }
.bg-paper    { background: var(--paper) !important; }

.bg-contrast {
    background: var(--forest);
    background: linear-gradient(120deg, var(--forest-deep) 0%, var(--forest) 55%, var(--sage) 100%);
    color: #fff;
}

/* Section title, e.g. "CLINICIANS MEET RESEARCHERS" with gold lines */
.title,
.section-kicker {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--forest);
    padding: 2rem 0 .75rem;
}
.title::before, .title::after,
.section-kicker::before, .section-kicker::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.title::after, .section-kicker::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}
.section-title { text-align: center; margin-bottom: .25rem; }
.section-subtitle {
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold);
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

/* ---------- BUTTONS ---------- */
.btn { font-weight: 600; letter-spacing: .04em; border-radius: var(--radius-sm); padding: .6rem 1.4rem; }

.btn-primary {
    --bs-btn-bg: var(--forest);
    --bs-btn-border-color: var(--forest);
    --bs-btn-hover-bg: var(--forest-deep);
    --bs-btn-hover-border-color: var(--forest-deep);
    --bs-btn-active-bg: var(--forest-deep);
    --bs-btn-active-border-color: var(--forest-deep);
    --bs-btn-disabled-bg: var(--sage);
    --bs-btn-disabled-border-color: var(--sage);
}
.btn-secondary, .btn-gold {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #a07540;
    --bs-btn-hover-border-color: #a07540;
    --bs-btn-active-bg: #8f6838;
    --bs-btn-active-border-color: #8f6838;
}
.btn-outline-primary {
    --bs-btn-color: var(--forest);
    --bs-btn-border-color: var(--forest);
    --bs-btn-hover-bg: var(--forest);
    --bs-btn-hover-border-color: var(--forest);
    --bs-btn-active-bg: var(--forest);
}

/* "REGISTER NOW >" pill from the poster */
.btn-register {
    display: inline-flex; align-items: center; gap: .75rem;
    background: var(--forest);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .12em;
    border-radius: 999px;
    padding: .8rem 1.8rem;
    box-shadow: var(--shadow);
    border: 0;
}
.btn-register:hover { background: var(--forest-deep); color: var(--gold-light); }
.btn-register .bi { transition: transform .2s; }
.btn-register:hover .bi { transform: translateX(4px); }

.own-btn-dark { background-color: var(--forest); color: #fff; }
.own-btn-dark:hover { background-color: var(--gold); color: #fff; }
.own-list { list-style: none; padding-left: 1rem; }

/* ---------- NAVBAR ---------- */
.navbar {
    background: rgba(255, 253, 248, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.navbar-brand img { max-height: 46px; }
.navbar-nav { padding: .5rem 0; }
.navbar-nav .nav-link {
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--forest);
    padding: .5rem .9rem !important;
    white-space: nowrap;
    border-radius: var(--radius-sm);
}
.navbar-nav .nav-link:hover { color: var(--gold); }
.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
    color: var(--forest);
    background-color: var(--sage-light);
}
.dropdown, .dropdown-center, .dropend, .dropstart, .dropup, .dropup-center { position: relative; }
.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    background: var(--paper);
}
.dropdown-menu[data-bs-popper] { top: 100%; right: 0; left: auto; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--sage-pale); color: var(--forest); }
.dropdown-item.active, .dropdown-item:active { background: var(--forest); color: #fff; }

/* ---------- HEADER / HERO ---------- */
header {
    position: relative;
    background-color: var(--cream);
    background-image: url("/upload/header27.jpg");
    background-size: cover;
    background-position: center;
    color: var(--text-dark);
    overflow: hidden;
}

.header-container {
    position: relative;
    padding: 1rem;
    padding-top: 110px;
    min-height: 50vh;
    background: linear-gradient(100deg, rgba(248,244,236,.97) 0%, rgba(248,244,236,.9) 55%, rgba(248,244,236,.4) 100%);
}

.hero {
    position: relative;
    min-height: 560px;
    padding: 64px 0 96px;
    color: var(--forest);
    overflow: hidden;
    background: var(--cream);
}
/* the green paper waves on the right of the poster */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero::before {
    width: 900px; height: 900px;
    right: -640px; top: -140px;
    background: linear-gradient(160deg, var(--sage-light) 0%, var(--sage) 45%, var(--forest) 100%);
    box-shadow: -30px 0 0 0 rgba(223,231,225,.7), -60px 0 0 0 rgba(223,231,225,.35);
}
.hero::after {
    width: 760px; height: 760px;
    right: -470px; top: 20px;
    border: 1.5px solid var(--gold);
    opacity: .6;
}
.hero-content { position: relative; z-index: 2; }

.eyebrow {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0;
}
.eyebrow sup { font-size: .55em; }

.hero h1 {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 6.2rem);
    line-height: .95;
    color: var(--forest);
    text-shadow: none;
    margin-bottom: .5rem;
}
.hero h1 em {
    display: block;
    font-style: italic;
    font-weight: 600;
    color: var(--gold);
    font-size: .6em;
    margin-top: .3rem;
}

/* sage ribbon: "WITH INTERNATIONAL AND MULTIDISCIPLINARY PARTICIPATION" */
.hero-ribbon {
    display: inline-block;
    background: var(--sage);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: clamp(.75rem, 1.4vw, .95rem);
    font-weight: 500;
    padding: .7rem 1.4rem;
    border-radius: var(--radius-sm);
    margin: .75rem 0 1.75rem;
    box-shadow: var(--shadow-sm);
}

/* date + venue rows with round icons */
.meta-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.meta-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.meta-icon {
    flex: 0 0 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--sage-light);
    color: var(--forest);
    font-size: 1.35rem;
}
.meta-text strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--forest);
}
.meta-text span { letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; color: var(--text-muted); }

.lead, .lead h1 { color: var(--forest); text-shadow: none; font-size: 1.25rem; font-weight: 400; }
.lead h3 { margin-top: 1rem; }
.lead small { display: block; color: var(--text-muted); }

/* ---------- CONTENT ---------- */
.content .container {
    margin-top: 1.5rem;
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
}
.hero .row { padding: 1rem 0; }

/* =========================================================
   INFO BOXES  – coloured boxes for information
   usage: <div class="info-box info-box-forest"> ... </div>
   ========================================================= */
.info-box {
    position: relative;
    height: 100%;
    padding: 1.6rem 1.6rem 1.4rem;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.info-box:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-box h3, .info-box h4, .info-box h5 { margin-bottom: .6rem; }
.info-box p:last-child, .info-box ul:last-child { margin-bottom: 0; }

.info-box .info-icon {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: var(--sage-light);
    color: var(--forest);
}
.info-box .info-label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .35rem;
}

/* colour variants */
.info-box-forest {
    background: linear-gradient(145deg, var(--forest) 0%, var(--forest-deep) 100%);
    border-color: var(--forest);
    color: #e9efeb;
}
.info-box-forest h3, .info-box-forest h4, .info-box-forest h5 { color: #fff; }
.info-box-forest .info-icon { background: rgba(255,255,255,.12); color: var(--gold-light); }
.info-box-forest .info-label { color: var(--gold-light); }
.info-box-forest a { color: var(--gold-light); }

.info-box-sage {
    background: var(--sage);
    border-color: var(--sage);
    color: #fff;
}
.info-box-sage h3, .info-box-sage h4, .info-box-sage h5 { color: #fff; }
.info-box-sage .info-icon { background: rgba(255,255,255,.2); color: #fff; }
.info-box-sage .info-label { color: var(--gold-pale); }
.info-box-sage a { color: #fff; }

.info-box-mint {
    background: var(--sage-pale);
    border-color: var(--sage-light);
}

.info-box-gold {
    background: var(--gold-pale);
    border-color: var(--gold-light);
}
.info-box-gold .info-icon { background: var(--gold); color: #fff; }

/* accent-bar variants (light box with coloured left edge) */
.info-box-accent { border-left: 5px solid var(--gold); }
.info-box-accent.accent-forest  { border-left-color: var(--forest); }
.info-box-accent.accent-sage    { border-left-color: var(--sage); }
.info-box-accent.accent-magenta { border-left-color: var(--magenta); }

/* outlined gold box – like "2 DAYS WORKSHOP PRE-CONGRESS" */
.feature-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 2rem;
    border: 1.5px solid var(--gold-light);
    border-radius: var(--radius);
    background: rgba(255,253,248,.85);
    box-shadow: var(--shadow-sm);
}
.feature-box .feature-icon {
    font-size: 2.6rem;
    color: var(--sage);
    padding-right: 1.5rem;
    border-right: 1.5px solid var(--gold-light);
}
.feature-box .feature-text {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--forest);
}
.feature-box .feature-text span { color: var(--sage); display: block; }

/* key fact strip (dates / venue / CME) */
.fact-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background: var(--forest);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.fact-strip .fact { padding: 1.4rem 1.6rem; color: #e9efeb; border-right: 1px solid rgba(255,255,255,.1); }
.fact-strip .fact:last-child { border-right: 0; }
.fact-strip .fact .num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--gold-light); line-height: 1.1; }
.fact-strip .fact .lbl { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; }

/* Bootstrap alerts recoloured */
.alert { border-radius: var(--radius-sm); border-width: 0 0 0 5px; }
.alert-primary { background: var(--sage-pale); border-color: var(--forest); color: var(--forest); }
.alert-info    { background: var(--sage-pale); border-color: var(--sage);   color: var(--forest); }
.alert-warning { background: var(--gold-pale); border-color: var(--gold);   color: #6b4d24; }
.alert-danger  { background: #fde8f2;           border-color: var(--magenta); color: #8a0f4f; }

/* Bootstrap cards */
.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}
.card-header { background: var(--forest); color: #fff; font-weight: 600; letter-spacing: .04em; border-radius: var(--radius) var(--radius) 0 0 !important; }

/* ---------- TOPICS GRID ---------- */
.topics {
    border-top: 1px solid var(--gold-light);
    border-bottom: 1px solid var(--gold-light);
    padding: 1rem 0;
}
.topic-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 992px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }

.topic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: 1.1rem .5rem;
    text-align: center;
    font-weight: 500;
    font-size: .92rem;
    color: var(--forest);
    border-right: 1px solid var(--gold-light);
    transition: background .2s;
}
.topic-grid .topic-item:nth-child(5n) { border-right: 0; }
.topic-item:hover { background: var(--sage-pale); }
.topic-item .topic-icon,
.topic-item svg {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--sage-light);
    color: var(--forest);
    font-size: 1.4rem;
    stroke: var(--forest);
    flex-shrink: 0;
}
@media (max-width: 992px) {
    .topic-grid .topic-item { border-right: 0; }
}

/* ---------- SPEAKERS ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.lector {
    text-align: center;
    width: 210px;
    padding: 1.25rem 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.lector img {
    width: 120px; height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--paper);
    outline: 2px solid var(--gold-light);
    margin-bottom: .75rem;
}
.lector p { color: var(--text-muted); font-size: .9rem; margin: 0; }
.lector p::first-line { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--forest); }

/* ---------- PARTNERS ---------- */
.logo { padding: .5rem; }
.partners_logo { text-align: center; }
.partners_logo img {
    max-height: 70px;
    margin: .5rem 1rem;
    filter: grayscale(30%);
    opacity: .9;
    transition: filter .2s, opacity .2s;
}
.partners_logo img:hover { filter: none; opacity: 1; }
.partners_logo_head img { max-height: 34px; margin: .3rem; }

/* ---------- REGISTRATION FEES ---------- */
.tax-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}
.tax {
    flex: 1 1 30%;
    position: relative;
    min-height: 120px;
    padding: 1.2rem 1.2rem 2.8rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .2s;
}
.tax:hover { border-color: var(--sage); background: var(--sage-pale); transform: translateY(-2px); }
.tax.selected {
    background: linear-gradient(145deg, var(--forest), var(--forest-deep));
    border-color: var(--gold);
    color: #fff;
}
.tax.selected .valid { color: var(--gold-light); }
.tax.selected .value { color: var(--gold-light); }
.tax.selected::after {
    content: "\2713";
    position: absolute; top: 10px; right: 12px;
    width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--gold); color: #fff; font-size: .85rem;
}
.tax .item  { font-size: 1.05em; font-weight: 700; }
.tax .valid { color: var(--text-muted); font-size: .85rem; }
.tax .value {
    position: absolute; right: 14px; bottom: 10px;
    font-family: var(--font-serif);
    font-size: 1.45em; font-weight: 700;
    color: var(--gold);
}
@media (max-width: 800px) {
    .tax-selector { flex-direction: column; }
    .tax { flex: 100%; width: 100%; }
}

/* ---------- PROGRAM PAGE ---------- */
.time-col   { width: 100px; font-weight: 600; white-space: nowrap; color: var(--forest); }
.break-row  { background: var(--sage-pale) !important; }
.break-row td { background: transparent !important; color: var(--text-muted); font-style: italic; }
.dinner-row { background: var(--gold-pale) !important; }
.dinner-row td { background: transparent !important; }
.badge { font-weight: 500; letter-spacing: .03em; }
.badge.bg-primary { background: var(--forest) !important; }

.nav-tabs { border-bottom: 2px solid var(--gold-light); }
.nav-tabs .nav-link {
    font-weight: 600;
    color: var(--text-muted);
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.nav-tabs .nav-link:hover { color: var(--forest); border-bottom-color: var(--sage-light); }
.nav-tabs .nav-link.active { color: var(--forest); background: transparent; border-bottom-color: var(--gold); }

.table { --bs-table-bg: transparent; }
.table thead th {
    border-top: 0;
    background: var(--forest);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ---------- FOOTER ---------- */
footer {
    margin-top: 4rem;
    background: var(--forest-deep);
    color: #c9d4cf;
    padding: 3rem 0 1.5rem;
    border-top: 4px solid var(--gold);
}
footer .container { background: transparent; }
footer h5 { color: var(--gold-light); font-family: var(--font-sans); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--gold-light); }
footer .copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; }

/* ---------- RESPONSIVE HERO ---------- */
@media (max-width: 768px) {
    .hero { padding: 40px 0 60px; min-height: 0; }
    .hero::before, .hero::after { opacity: .35; }
    .feature-box { flex-direction: column; text-align: center; }
    .feature-box .feature-icon { border-right: 0; padding-right: 0; border-bottom: 1.5px solid var(--gold-light); padding-bottom: .75rem; }
}

/* =========================================================
   INNER PAGES – page header + welcome letter
   ========================================================= */
.content .container.page-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 .75rem;
}

/* page header band */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--gold-light);
}
.page-header::after {            /* small green wave, echo of the hero */
    content: "";
    position: absolute;
    width: 420px; height: 420px;
    right: -300px; top: -160px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--sage-light), var(--sage) 50%, var(--forest));
    box-shadow: -18px 0 0 0 rgba(223,231,225,.7);
    opacity: .9;
}
.page-header .section-kicker { padding: 0 0 .5rem; justify-content: flex-start; }
.page-header .section-kicker::before { display: none; }
.page-header .section-kicker::after { flex: 0 0 80px; }
.page-header h1 { margin: 0; position: relative; z-index: 1; }
.page-header h1 em { font-style: italic; font-weight: 600; color: var(--gold); }

/* portrait card (left column) */
.portrait-card {
    position: sticky;
    top: 100px;
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
    color: #e9efeb;
    box-shadow: var(--shadow);
}
.portrait-card img {
    width: 160px; height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--forest);
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    margin-bottom: 1rem;
}
.portrait-card .name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .35rem;
}
.portrait-card .role {
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-light);
    line-height: 1.5;
}
.portrait-card hr { border-color: rgba(255,255,255,.15); opacity: 1; margin: 1.1rem 0; }
.portrait-card .meta { list-style: none; padding: 0; margin: 0; text-align: left; font-size: .9rem; }
.portrait-card .meta li { display: flex; gap: .6rem; margin-bottom: .5rem; }
.portrait-card .meta .bi { color: var(--gold-light); }

/* the letter itself */
.letter {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2.5rem 2.75rem;
    font-size: 1.04rem;
    line-height: 1.8;
}
.letter::before {                 /* big decorative quote mark */
    content: "\201C";
    position: absolute;
    top: -.15em; right: 1.5rem;
    font-family: var(--font-serif);
    font-size: 7rem;
    line-height: 1;
    color: var(--gold-light);
    opacity: .6;
}
.letter .salutation {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--forest);
    margin-bottom: 1.25rem;
}
.letter b, .letter strong { color: var(--forest); font-weight: 600; }

.letter .info-box { padding: 1.2rem 1.3rem; }
.letter .info-box p { font-size: .95rem; line-height: 1.6; }
.letter .info-box .info-icon { width: 42px; height: 42px; font-size: 1.15rem; margin-bottom: .7rem; }

/* highlighted theme quote inside the letter */
.letter-quote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--sage);
    background: var(--sage-pale);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.letter-quote .kicker {
    font-size: .75rem; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase; color: var(--sage);
}
.letter-quote .theme {
    font-family: var(--font-serif);
    font-size: 1.35rem; font-weight: 700; color: var(--forest); line-height: 1.3;
}
.letter-quote .theme em { color: var(--gold); }

/* specialty pills */
.pill-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: .5rem 0 1.25rem; }
.pill-list li {
    font-size: .82rem; font-weight: 500;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--sage-light);
    color: var(--forest);
}

/* signature block */
.signature {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--gold-light);
}
.signature .closing { font-style: italic; color: var(--text-muted); margin-bottom: .75rem; }
.signature .name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--forest); }
.signature .role { font-size: .9rem; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 768px) {
    .letter { padding: 1.75rem 1.25rem; }
    .portrait-card { position: static; margin-bottom: 1.5rem; }
    .page-header::after { opacity: .35; }
}

/* =========================================================
   GENERAL INFORMATION PAGE – partners, committees
   ========================================================= */
.page-section { margin-bottom: 3rem; }
.page-section > .section-kicker { padding-top: .5rem; }

/* key facts row – info-box with big value */
.info-box .info-value {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .35rem;
}
.info-box-forest .info-value, .info-box-sage .info-value { color: #fff; }
.info-box-gold .info-value { color: var(--forest); }
.info-box .info-note { font-size: .92rem; opacity: .9; }
.info-box .info-note em { font-family: var(--font-serif); }

/* small "to be announced" tag */
.tag-tba {
    display: inline-block;
    font-size: .7rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: var(--gold-pale);
    color: #8f6838;
    border: 1px solid var(--gold-light);
    margin-left: .35rem;
    vertical-align: middle;
}

/* partner cards with logos */
.partner-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.partner-card .partner-head {
    padding: .7rem 1.4rem;
    font-size: .75rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: #fff;
    background: var(--forest);
}
.partner-card.partner-gold .partner-head { background: var(--gold); }
.partner-card .partner-logo {
    display: grid; place-items: center;
    min-height: 140px;
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.partner-card .partner-logo img { max-height: 90px; max-width: 80%; object-fit: contain; }
.partner-card .partner-body { padding: 1.2rem 1.4rem; flex: 1; }
.partner-card .partner-body p { margin: 0; }
.partner-card .partner-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; color: var(--forest); margin-bottom: .3rem !important; }

/* committee members */
.member-list { list-style: none; padding: 0; margin: 0; }
.member-list li {
    display: flex; align-items: center; gap: .9rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--line);
}
.member-list li:last-child { border-bottom: 0; }
.member-list .avatar {
    flex: 0 0 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--sage-light);
    color: var(--forest);
    font-weight: 700; font-size: .85rem; letter-spacing: .03em;
}
.member-list .member-name { font-weight: 600; color: var(--forest); line-height: 1.3; }
.member-list .member-role { display: block; font-size: .82rem; color: var(--gold); font-weight: 600; letter-spacing: .04em; }
.member-list li.is-lead .avatar { background: var(--gold); color: #fff; }

.box-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--forest);
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: .6rem;
}
.box-title .bi { color: var(--gold); font-size: 1.1rem; }
.info-box-forest .box-title, .info-box-sage .box-title { color: #fff; }
.info-box-forest .box-title .bi { color: var(--gold-light); }

/* dashed "pending" box */
.info-box-pending {
    background: transparent;
    border: 1.5px dashed var(--gold-light);
    box-shadow: none;
}
.info-box-pending:hover { transform: none; box-shadow: none; }

/* =========================================================
   REGISTRATION / FEES PAGE
   ========================================================= */
.fee-table-wrap {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.fee-table { margin: 0; --bs-table-striped-bg: rgba(110,139,125,.06); }
.fee-table caption {
    caption-side: top;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    font-size: .9rem;
}
.fee-table thead th {
    vertical-align: bottom;
    font-size: .74rem;
    line-height: 1.35;
    padding: .9rem 1rem;
    border: 0;
}
.fee-table thead th .period { display: block; font-family: var(--font-serif); text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--gold-light); }
.fee-table tbody th { font-weight: 600; color: var(--forest); padding: .9rem 1rem; }
.fee-table tbody th small { display: block; font-weight: 500; color: var(--gold); font-size: .78rem; }
.fee-table td { text-align: center; padding: .9rem 1rem; }
.fee-table th, .fee-table td { border-color: var(--line); }

.price { font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; color: var(--forest); white-space: nowrap; }
.price small { font-family: var(--font-sans); font-size: .7rem; font-weight: 600; letter-spacing: .08em; color: var(--text-muted); margin-left: 2px; }

/* highlight the early-bird column */
.fee-table .col-early { background: rgba(184,137,79,.10) !important; }
.fee-table thead th.col-early { background: var(--gold) !important; color: #fff; }
.fee-table thead th.col-early .period { color: #fff; }
.fee-table .row-workshop th, .fee-table .row-workshop td { background: var(--sage-pale) !important; }

/* sticky registration card */
.register-card {
    position: sticky;
    top: 100px;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--forest), var(--forest-deep));
    color: #e9efeb;
    box-shadow: var(--shadow);
}
.register-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: .4rem; }
.register-card .info-label {
    display: block;
    font-size: .75rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: .5rem;
}
.register-card .btn-register { background: var(--gold); width: 100%; justify-content: center; }
.register-card .btn-register:hover { background: #a07540; color: #fff; }
.register-card hr { border-color: rgba(255,255,255,.15); opacity: 1; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.7rem; margin-bottom: .45rem; }
.check-list li::before {
    content: "\2713";
    position: absolute; left: 0; top: .15em;
    width: 1.15rem; height: 1.15rem;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: .7rem; font-weight: 700;
    background: var(--sage); color: #fff;
}
.register-card .check-list li::before { background: var(--gold); }

.rate-badge {
    display: flex; align-items: center; gap: .75rem;
    padding: .8rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.08);
    font-size: .9rem;
}
.rate-badge strong { font-family: var(--font-serif); font-size: 1.15rem; color: var(--gold-light); }

/* numbered steps */
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.step-list li {
    counter-increment: step;
    position: relative;
    padding: 0 0 1.1rem 3.2rem;
    min-height: 2.4rem;
}
.step-list li::before {
    content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 2.2rem; height: 2.2rem;
    display: grid; place-items: center;
    border-radius: 50%;
    font-family: var(--font-serif); font-weight: 700;
    background: var(--forest); color: var(--gold-light);
}
.step-list li:not(:last-child)::after {
    content: "";
    position: absolute; left: 1.1rem; top: 2.4rem; bottom: .2rem;
    width: 1px; background: var(--gold-light);
}
.step-list li strong { color: var(--forest); }

.footnote-mark { color: var(--gold); font-weight: 700; }

/* =========================================================
   LOGIN / AUTH PAGES + FORMS
   ========================================================= */
.form-label, .col-form-label { font-weight: 600; color: var(--forest); font-size: .92rem; }
.form-label sup, .col-form-label sup { color: var(--magenta); }
.form-control, .form-select {
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background-color: #fff;
    padding: .7rem .9rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 .2rem rgba(110,139,125,.2);
}
.input-group-text {
    background: var(--sage-pale);
    border: 1.5px solid var(--line);
    color: var(--sage);
}
.input-group > .form-control { border-left: 0; }
.input-group:focus-within .input-group-text { border-color: var(--sage); color: var(--forest); }
.form-check-input:checked { background-color: var(--forest); border-color: var(--forest); }

.auth-card {
    max-width: 980px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 5fr 7fr;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.auth-side {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2rem;
    color: #e9efeb;
    background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
    display: flex; flex-direction: column; justify-content: space-between;
}
.auth-side::after {               /* gold ring echo */
    content: "";
    position: absolute;
    width: 360px; height: 360px;
    right: -180px; bottom: -160px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    box-shadow: inset 0 0 0 40px rgba(110,139,125,.25);
    opacity: .7;
}
.auth-side .eyebrow { font-size: 1.6rem; color: var(--gold-light); }
.auth-side .auth-title {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 2.3rem;
    line-height: 1;
    color: #fff;
    margin: .2rem 0 .4rem;
}
.auth-side .auth-title em { display: block; font-style: italic; font-weight: 600; font-size: .62em; color: var(--gold-light); margin-top: .35rem; }
.auth-side .meta { list-style: none; padding: 0; margin: 1.5rem 0 0; font-size: .92rem; position: relative; z-index: 1; }
.auth-side .meta li { display: flex; gap: .7rem; margin-bottom: .6rem; }
.auth-side .meta .bi { color: var(--gold-light); }

.auth-main { padding: 2.75rem 2.75rem 2.25rem; }
.auth-main h1 { font-size: 2.2rem; margin-bottom: .35rem; }
.auth-main .auth-lead { color: var(--text-muted); margin-bottom: 1.75rem; }
.auth-main .btn-register { width: 100%; justify-content: center; }
.auth-links { display: flex; justify-content: flex-end; font-size: .88rem; margin: -.25rem 0 1.5rem; }
.auth-links a { color: var(--gold); font-weight: 600; text-decoration: none; }
.auth-links a:hover { color: var(--forest); text-decoration: underline; }
.auth-footer {
    margin-top: 1.75rem; padding-top: 1.25rem;
    border-top: 1px dashed var(--gold-light);
    text-align: center; font-size: .92rem; color: var(--text-muted);
}
.auth-footer a { font-weight: 600; }

@media (max-width: 768px) {
    .auth-card { grid-template-columns: 1fr; margin: 1.5rem auto; }
    .auth-side { padding: 1.75rem 1.5rem; }
    .auth-side .meta { display: none; }
    .auth-main { padding: 1.75rem 1.5rem; }
}