﻿/* ==========================================================================
   Conference public site - design system
   One stylesheet for both directions: layout uses CSS logical properties
   (margin-inline, padding-inline, inset-inline, text-align: start), so the
   same rules serve <html dir="rtl"> (fa) and <html dir="ltr"> (en).
   Sections: 1 tokens Â· 2 base Â· 3 layout Â· 4 components Â· 5 page blocks Â· 6 responsive
   ========================================================================== */

/* 1. TOKENS --------------------------------------------------------------- */
@font-face { font-family: "IRANYekan"; font-weight: 300; font-display: swap;
  src: url("../fonts/iranyekanweblight.woff2") format("woff2"), url("../fonts/iranyekanweblight.woff") format("woff"); }
@font-face { font-family: "IRANYekan"; font-weight: 400; font-display: swap;
  src: url("../fonts/iranyekanwebregular.woff2") format("woff2"), url("../fonts/iranyekanwebregular.woff") format("woff"); }
@font-face { font-family: "IRANYekan"; font-weight: 700; font-display: swap;
  src: url("../fonts/iranyekanwebbold.woff2") format("woff2"), url("../fonts/iranyekanwebbold.woff") format("woff"); }

:root {
    /* brand */
    --c-primary: #1648e8;
    --c-primary-hover: #0f3ac4;
    --c-primary-soft-light: #f1f5ff;
    --c-primary-soft-lighter: #f5f8ff;
    --c-primary-soft-lightest: #f9fbff;
    /* Ø§ØµÙ„ÛŒ */
    --c-primary-soft: #eaf0ff;
    /* ØªÛŒØ±Ù‡â€ŒØªØ± */
    --c-primary-soft-dark: #dde6ff;
    --c-primary-soft-darker: #d0dcff;
    --c-primary-soft-darkest: #c2d2ff;
    --c-success: #12a06b;
    --c-success-hover: #0c8557;
    --c-success-soft: #e7f7f0;
    --c-success-soft-lighter: #f4fcf9;
    --c-success-soft-lightest: #f8fdfb;
    --c-success-soft-paler: #fafefc; /* Ú©Ù…ÛŒ Ú©Ù…â€ŒØ±Ù†Ú¯â€ŒØªØ± */
    --c-success-soft-palest: #fbfefd; /* Ú©Ù…â€ŒØ±Ù†Ú¯â€ŒØªØ± */
    --c-success-soft-faint: #fcfefd; /* Ø®ÛŒÙ„ÛŒ Ú©Ù…â€ŒØ±Ù†Ú¯â€ŒØªØ± */
    --c-success-soft-fainter: #fdfffe; /* ØªÙ‚Ø±ÛŒØ¨Ø§Ù‹ Ø³ÙÛŒØ¯ */
    --c-success-soft-dark: #d8f2e6; /* Ú©Ù…ÛŒ Ù¾Ø±Ø±Ù†Ú¯â€ŒØªØ± */
    --c-success-soft-darker: #c8ecdd; /* Ù¾Ø±Ø±Ù†Ú¯â€ŒØªØ± */
    --c-success-soft-darkest: #b6e6d3; /* Ù…Ø­Ø³ÙˆØ³â€ŒØªØ± */
    --c-orange: #f59e0b;
    --c-warning: #e8890c;
    --c-warning-soft: #fff3e0;
    --c-danger: #e0414b;
    --c-danger-soft: #fdecee;
    --c-violet: #7a5af8;
    --c-violet-soft: #f1edff;
    --c-neutral-soft: #eef1f6;
    --c-neutral-50: #fafbfc; /* Ø±ÙˆØ´Ù†â€ŒØªØ±ÛŒÙ† - ØªÙ‚Ø±ÛŒØ¨Ø§Ù‹ Ø³ÙÛŒØ¯ */
    --c-neutral-100: #f5f7fa; /* Ø®ÛŒÙ„ÛŒ Ø±ÙˆØ´Ù† */
    --c-neutral-hard: #5f6e88;
    --c-main-color: #0a1728;
    /* surfaces and text */
    --c-bg: #f5f7fb;
    --c-surface: #ffffff;
    --c-border: #e6eaf2;
    --c-border-strong: #d5dbe7;
    --c-text: #092d71;
    --c-text-2: #092d71;
    --c-muted: #64748b;
    --c-row-hover: #f8fafd;
    --c-alert-soft: #fff8fa;
    /* shape */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 40px;
    --shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px rgba(16, 24, 40, .04);
    --shadow-pop: 0 8px 28px rgba(16, 24, 40, .12);
    /* rhythm */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --header-h: 96px;
    /* the height of what an event page keeps pinned under the header (.ev-pinned) once the pair is up: the masthead's
       strip and the bar of stops below it. A fixed number now that the pair is the only thing that changes on scroll -
       an anchor jump has to clear the lot, hence the token */
    --ev-pinned-h: 148px;
    --container: 1440px;
    --font: "IRANYekan", "Segoe UI", Tahoma, Arial, sans-serif;
}

html[dir="ltr"] { --font: "Segoe UI", "IRANYekan", Roboto, Helvetica, Arial, sans-serif; }

/* 2. BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%;  min-width: 0; overflow-x: clip; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--font); font-size: 15px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-align: start;
 min-width: 0; overflow-x: clip; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
h1 { font-size: 28px; } h2 { font-size: 22px; } h3 { font-size: 17px; } h4 { font-size: 15px; }
p { margin: 0; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-hover); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--c-muted); }
.ltr { direction: ltr; unicode-bidi: isolate; }          /* latin codes, numbers, e-mails inside RTL text */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }
.icon--2lg {
    width: 32px;
    height: 32px;
}
.icon--xl {
    width: 40px;
    height: 40px;
}
.icon--2xl {
    width: 65px;
    height: 65px;
}
/* brand artwork that brings its own fills (checkbox, cards, bank, coins...): .icon hands down
   fill:none + stroke:currentColor, which would hollow out those shapes, so both are dropped here.
   Each shape inside still paints with the fill/stroke it declares itself. */
.icon--fill {
    fill: none;
    stroke: none;
}
/* arrows and chevrons point "forward": mirrored automatically in RTL */
html[dir="rtl"] .icon--dir { transform: scaleX(-1); }
/* the same arrow pointing BACK (previous page): mirrored in LTR, as drawn in RTL */
html[dir="ltr"] .icon--back { transform: scaleX(-1); }

/* 3. LAYOUT --------------------------------------------------------------- */
.container { width: 100%; max-width: min(var(--container), 100vw); margin-inline: auto; padding-inline: clamp(var(--space-4), 4vw, var(--space-6)); }
.page { padding-block: var(--space-4) var(--space-7); min-width: 0; overflow-x: clip; }
.page--bleed { padding-block: 0; min-width: 0; overflow-x: clip; }   /* the page places its own bands and .container (an event's hero) */
.stack > * + * { margin-block-start: var(--space-5); }
.row { display: flex; gap: var(--space-4); align-items: center; }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pt-0 {
    padding-top: 0px !important;
}
.p-2 {
    padding:4px !important;
}
.p-3 {
    padding: var(--space-3) !important;
}
.pt-3 {
    padding-top: var(--space-3) !important;
}
.border-none {
    border:none !important;
}
.color--primary {
    color: var(--c-primary) !important;
    font-weight:bolder;
}
.color--text {
    color: var(--c-text) !important;
}
.color--danger {
    color: var( --c-danger);
}
.align-flex-end {
    align-items: flex-end !important;
}
.align-flex-center {
    align-items: center !important;
}
.align-flex-start {
    align-items: flex-start !important;
}
.text-center {
    text-align:center !important;
}
.text-end {
    text-align:end;
}
.text-start {
    text-align:start;
}
.m-20{
    margin:20px;
}
.bold{
font-weight:bold;
}
.flex-center{
    display:flex;
    justify-content:center;
    align-items:center;
}
.justify-content-end {
    justify-content: end;
}
.gap-3 {
    gap: var(--space-3)
}
.flex-col {
    display: flex;
    flex-direction:column;
}
.extra-bold {
    -webkit-text-stroke: medium;
}
html[dir="ltr"] .extra-bold {
    -webkit-text-stroke: unset;
}
.flex-col-center {
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
}
.w-50{
    width:50%;
}
.mt-16 {
    margin-block-start: 16px;
}
.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}
.f-12{
    font-size:12px;
}
.f-16 {
    font-size: 16px !important;
}
.bg-transparent {
    background-color: transparent !important;
}
.bg--primary-soft-dark {
    background-color: var(--c-primary-soft-dark);
}
.relative {
    position: relative;
}
/* user area: side menu + content */
.account {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
}

/* header */
/* =========================================================
   Header
   ========================================================= */

.site-header {
    background: var(--c-surface);
    border-block-end: 1px solid var(--c-border);
    position: sticky;
    inset-block-start: 0;
    z-index: 50;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    min-height: var(--header-h);
    justify-content:space-between;
}

.header-search {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* =========================================================
   Brand
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--c-text);
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    flex: none;
}

    .brand:hover {
        color: var(--c-text);
    }

.brand__logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex: none;
    object-fit: contain;
    background: var(--c-surface);
}

.brand__name small {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: var(--c-text-2);
}

/* =========================================================
   Main Navigation
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-inline: auto;
}

    .main-nav a {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 8px 14px;
        border-radius: var(--radius-sm);
        color: var(--c-text-2);
        font-size: 14px;
        white-space: nowrap;
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .main-nav a:hover {
            background: var(--c-neutral-soft);
            color: var(--c-text);
        }

        .main-nav a.is-active {
            color: var(--c-primary);
            font-weight: 700;
        }

    /* Navigation buttons */

    .main-nav button {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 8px 14px;
        border: 0;
        border-radius: var(--radius-sm);
        background: transparent;
        color: var(--c-text-2);
        font-family: inherit;
        font-size: 14px;
        white-space: nowrap;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .main-nav button:hover,
        .main-nav .has-sub:hover > button {
            background: var(--c-neutral-soft);
            color: var(--c-text);
        }

        .main-nav button.is-active {
            color: var(--c-primary);
            font-weight: 700;
        }

    /* Sub menu */

    .main-nav .has-sub {
        position: relative;
    }

    .main-nav .sub-menu {
        display: none;
        position: absolute;
        inset-inline-start: 0;
        inset-block-start: calc(100% + 4px);
        min-width: 220px;
        padding: var(--space-2);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        background: var(--c-surface);
        box-shadow: var(--shadow-pop);
        z-index: 60;
    }

    /* the panel hangs 4px below the button and that gap is dead space for the pointer, so :hover is lost while the
       pointer crosses it â€” this bridge covers the whole gap (6px, the panel's 1px border sits inside it), so the
       drop-down stays open on its way down to the panel */
        .main-nav .sub-menu::before {
            content: "";
            position: absolute;
            inset-inline: 0;
            inset-block-start: -6px;
            height: 6px;
        }

        .main-nav .sub-menu a {
            display: flex;
            width: 100%;
            padding: 10px 14px;
        }

        .main-nav .has-sub:hover > .sub-menu,
        .main-nav .sub-menu.is-open {
            display: block;
        }

/* =========================================================
   Header Actions
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

/* Language */

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--c-neutral-soft);
    color: var(--c-text-2);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .lang-switch:hover {
        background: var(--c-border);
        color: var(--c-text);
    }

/* User */

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 12px;
    color: var(--c-text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .user-chip:hover {
        background: var(--c-neutral-soft);
        color: var(--c-text);
    }

    .user-chip {
        border: 0;
        background: transparent;
        font-family: inherit;
        cursor: pointer;
    }

        .user-chip:focus-visible {
            outline: 2px solid var(--c-primary);
            outline-offset: 2px;
        }

    /* click-only drop-down under the user chip: avatar + name on top, then the member pages */
    .user-menu-wrap {
        position: relative;
    }

    .user-menu {
        display: none;
        position: absolute;
        inset-inline-end: 0;
        inset-block-start: calc(100% + 8px);
        width: 260px;
        max-width: calc(100vw - 24px);
        padding: var(--space-2);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        background: var(--c-surface);
        box-shadow: var(--shadow-pop);
        z-index: 60;
    }

        .user-menu.is-open {
            display: block;
        }

        .user-menu a {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            padding: 11px 14px;
            border-radius: 8px;
            color: var(--c-text);
            font-size: 14px;
            text-decoration: none;
        }

            .user-menu a:hover {
                background: var(--c-neutral-soft);
                color: var(--c-text);
            }

            .user-menu a.is-danger {
                color: var(--c-danger);
            }

                .user-menu a.is-danger:hover {
                    background: var(--c-danger-soft);
                }

    .user-menu__head {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        margin-block-end: var(--space-2);
        border-block-end: 1px solid var(--c-border);
    }

        .user-menu__head strong {
            font-size: 14px;
        }

    .user-menu__sep {
        margin: var(--space-2);
        border: 0;
        border-block-start: 1px solid var(--c-border);
    }

    .user-menu__username {
        display: block;
        margin-block-start: 2px;
        color: var(--c-muted);
        font-size: 12px;
        direction: ltr;
        text-align: end;
    }

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--c-neutral-soft);
    flex: none;
}

.avatar--xl {
    width: 84px;
    height: 84px;
}

/* =========================================================
   Icon Buttons
   ========================================================= */

.icon-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--c-neutral-soft);
    color: var(--c-text-2);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .icon-btn:hover {
        background: var(--c-border);
        color: var(--c-text);
    }

.icon-btn__count {
    position: absolute;
    inset-block-start: 2px;
    inset-inline-end: 2px;
    min-width: 16px;
    height: 16px;
    padding-inline: 4px;
    border-radius: 8px;
    background: var(--c-primary);
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
}

/* =========================================================
   Header Buttons
   ========================================================= */

.header-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    text-decoration: none;
}

.header-actions .btn--primary {
    padding: 9px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.header-actions .btn--ghost {
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--c-neutral-soft);
    color: var(--c-text-2);
    font-size: 13px;
}

    .header-actions .btn--ghost:hover {
        background: var(--c-border);
        color: var(--c-text);
    }

/* =========================================================
   Mobile Navigation Toggle
   ========================================================= */

.nav-toggle {
    display: none;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
    .main-nav {
        gap: 0;
    }

        .main-nav a,
        .main-nav button {
            padding-inline: 10px;
        }

    .header-actions {
        gap: 7px;
    }

    .user-chip span {
        display: none;
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-grid;
    }

    .site-header__inner {
        justify-content: space-between;
    }

    .header-actions {
        margin-inline-start: auto;
    }
}

@media (max-width: 600px) {
    .site-header__inner {
        min-height: 64px;
        gap: 10px;
    }

    .brand__logo {
        width: 46px;
        height: 46px;
    }

    .brand__name {
        font-size: 14px;
    }

        .brand__name small {
            font-size: 11px;
        }

    .lang-switch {
        display: none;
    }

    .header-actions .btn--ghost {
        display: none;
    }

    .user-chip {
        padding: 4px;
    }

        .user-chip span {
            display: none;
        }
}


/* log-in pages: full-height flex so the account footer sticks to the bottom */
body.layout-auth {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.layout-auth > main {
    flex: 1;
}

/* footer */
.site-footer {
    border-block-start: 1px solid var(--c-border);
    margin-block-start: var(--space-7);
    font-size: 14px;
    color: var(--c-text-2);
    display: flex;
    flex-direction: row;
    background: url(/Content/site/img/footer-image.webp) right center / 400px auto no-repeat var(--c-main-color);
}
.footer__image {
    width:200px;
    background-image: url(/Content/site/img/footer-image.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-brand {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}
.footer__brand__logo{
    width:80px;
    height:80px
}
.footer__brand__name {
    font-size: 18px;
    font-weight: 500;
    color: white;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.footer__text {
    color: #3d698e;
    font-size: 16px;
    font-weight: 200;
}
    .site-footer__grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1.1fr;
        gap: var(--space-6);
        padding-block: var(--space-6);
    }
.footer__item_title {
    font-size: 18px;
    font-weight: 500;
    color: white;
}
.footer__item {
    display: flex;
    color: #6896b7;
    font-size: 16px;
    font-weight: 200;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    border-right: 1px solid #6896b7;
}
.site-footer li + li {
    margin-block-start: 6px;
}
.site-footer li a, .site-footer li span {
    color: #6896b7;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 30px;
    align-items: center;
}
.site-footer a:hover { color: var(--c-primary); }
.site-footer__bar { border-block-start: 1px solid var(--c-border); padding-block: var(--space-4); text-align: center; font-size: 13px; color: var(--c-muted); }

/* 4. COMPONENTS ----------------------------------------------------------- */
/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px;
  border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--c-text);
  font-size: 14px; font-weight: 700; line-height: 1.4; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; }
.btn--success { background: var(--c-success); color: #fff; }
.btn--success:hover { background: var(--c-success-hover); color: #fff; }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-surface); }
.btn--outline:hover { background: var(--c-primary-soft); }
.btn--outline-success { border-color: var(--c-success); color: var(--c-success); background: var(--c-surface); }
.btn--outline-success:hover { background: var(--c-success-soft); color: var(--c-success-hover); }
.btn--outline-violet { border-color: var(--c-violet); color: var(--c-violet); background: var(--c-surface); }
.btn--outline-violet:hover { background: var(--c-violet-soft); }
.btn--ghost { border-color: var(--c-border-strong); background: var(--c-surface); color: var(--c-text-2); }
.btn--ghost:hover { background: var(--c-neutral-soft); color: var(--c-text); }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.btn--lg { min-height: 52px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* cards */
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.card__body { padding: var(--space-5); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-5) 0; }

.section-title { display: flex; align-items: center; gap: var(--space-3); font-size: 20px; }
.section-title::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--c-success); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-block-end: var(--space-4); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }

.page-head {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-block-end: var(--space-5);
    justify-content: space-between;
}
.page-head-margin {
    margin-block-start: var(--space-5);
}
.head-cards {
    display: flex;
    gap: 12px;
    align-items: center;
}
.page-head__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--c-primary-soft);
    color: var(--c-primary);
    flex: none;
}
.head-title {
    display: flex;
    gap: 12px;
    align-items:center;

}
.page-head-container {
    display: flex;
    gap: 12px;
    flex-direction:column
}
.page-head-container--full {
    flex: 0 0 auto;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
    color: var(--c-muted);
    margin-block-start: 4px;
}
    .breadcrumb li + li::before {
        content: "›";
        margin-inline-end: var(--space-2);
        color: var(--c-muted);
    }

html[dir="rtl"] .breadcrumb li + li::before {
    content: "‹";
}
.breadcrumb li:last-child { color: var(--c-text); }

.card__body__alert{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
/* stat card */
.stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5);
}
.stat > :first-child { min-width: 0; }
.stat__label { font-size: 14px; color: var(--c-text-2); }
.stat__value {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--c-text);
}
.stat__value small { font-size: 13px; font-weight: 400; color: var(--c-muted); }
.stat__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; flex: none; }
.stat__icon--blue { background: var(--c-primary-soft); color: var(--c-primary); }
.stat__icon--green { background: var(--c-success-soft); color: var(--c-success); }
.stat__icon--orange { background: var(--c-warning-soft); color: var(--c-warning); }

/* welcome: a greeting next to the member's numbers (top of the dashboard) */
.welcome { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: var(--space-5); align-items: center; }
.welcome__eyebrow { font-size: 16px; color: var(--c-text-2); }
.welcome__title { font-size: 28px; line-height: 1.6; }
.welcome__text { margin-block-start: var(--space-2); font-size: 14px; color: var(--c-text-2); }

/* badges (type of an event, on its picture) and chips (status of a row) */
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; background: var(--c-primary); }
.badge--success { background: var(--c-success); }
.badge--violet { background: var(--c-violet); }
.badge--warning { background: var(--c-warning); }
.badge--code { background: var(--c-text-2); font-weight: 400; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--c-neutral-soft); color: var(--c-text-2); }
.chip .icon { width: 15px; height: 15px; }
.chip--success { background: var(--c-success-soft); color: var(--c-success-hover); }
.chip--warning { background: var(--c-warning-soft); color: var(--c-warning); }
.chip--danger { background: var(--c-danger-soft); color: var(--c-danger); }
.chip--info { background: var(--c-primary-soft); color: var(--c-primary); }

/* event card */
.event-card { display: flex; flex-direction: column; overflow: hidden; }
.event-card__media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #102a6b, #1648e8); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__media .badge { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; }
.event-card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4) var(--space-5) var(--space-5); flex: 1; }
.event-card__title { font-size: 15px; font-weight: 700; color: var(--c-text); min-height: 3.2em; }
.event-card__meta { display: grid; gap: 4px; font-size: 13px; color: var(--c-muted); }
.event-card__meta li { display: flex; align-items: center; gap: 6px; }
.event-card .btn { margin-block-start: auto; }

/* side menu of the user area */
.side-menu { padding: var(--space-1); }
.side-menu a { position: relative; display: flex; align-items: center; gap: var(--space-3); padding: 14px 16px; border-radius: var(--radius-sm); color: var(--c-text-2); font-size: 14px; }
.side-menu a:hover { background: var(--c-row-hover); color: var(--c-text); }
.side-menu a.is-active { background: var(--c-primary-soft); color: var(--c-primary); font-weight: 700; }
.side-menu a.is-active::before { content: ""; position: absolute; inset-inline-end: -5px; inset-block: 12px; width: 3px; border-radius: 2px; background: var(--c-primary); }
.side-menu a.is-danger { color: var(--c-danger); }
.profile-card { padding: var(--space-5); text-align: center; border-block-end: 1px solid var(--c-border); }
.profile-card .avatar { margin-inline: auto; margin-block-end: var(--space-3); }
.profile-card .btn { margin-block-start: var(--space-4); }
.profile-card__photo {
    position: relative;
    width: 84px;
    margin-inline: auto;
    margin-block-end: var(--space-3);
}

    .profile-card__photo .avatar {
        margin: 0;
    }

.profile-card__edit {
    position: absolute;
    inset-block-end: -2px;
    inset-inline-end: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--c-surface, #fff);
    color: var(--c-text);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    transition: transform .12s ease;
}

    .profile-card__edit:hover {
        transform: scale(1.1);
    }

    .profile-card__edit:focus-within {
        outline: 2px solid var(--c-primary);
        outline-offset: 2px;
    }

.profile-card__badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    min-height: 22px;
    padding: 0 8px;
    font-size: 11px;
    box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

.profile-card__note {
    font-size: 12px;
    margin-block: 0 var(--space-2);
}

.profile-card__note--success {
    color: var(--c-success);
}

.profile-card__note--danger {
    color: var(--c-danger);
}
/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { padding: 14px 16px; background: var(--c-row-hover); color: var(--c-muted); font-weight: 400; text-align: start; white-space: nowrap; }
.table td { padding: 14px 16px; border-block-start: 1px solid var(--c-border); vertical-align: middle; }
.table tbody tr:hover { background: var(--c-row-hover); }
.table tr.is-success { background: #f1fbf6; }
    .table tr.is-pending {
        background-color: var(--c-alert-soft);
    }
.table .course-card .num { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.course-card .ltr { direction: ltr; unicode-bidi: isolate; }
.table__actions { display: flex; gap: var(--space-2); }
.table tr.table__total > td { background: var(--c-primary-soft); font-weight: 700; }
.table tr.table__detail > td { padding: var(--space-4) var(--space-5); background: var(--c-row-hover); }
.table tr.table__detail .table { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.table tr.table__empty > td { padding: 0; }
.table tr.table__empty:hover { background: none; }

/* a block opened and closed by a [data-toggle] button (site.js): detail row of a table, panel of a list row */
.collapse { display: none; }
.collapse.is-open { display: revert; }
[data-toggle] .icon--turn, [data-hover-menu] .icon--turn { transition: transform .15s; }
[data-toggle][aria-expanded="true"] .icon--turn, [data-hover-menu][aria-expanded="true"] .icon--turn { transform: rotate(180deg); }

/* pagination */
.pagination { display: flex; align-items: center; gap: var(--space-2); }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding-inline: 8px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-surface); color: var(--c-text-2); font-size: 13px; }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .is-current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }
.pagination .is-gap { border-color: transparent; background: transparent; }
.table-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-block-start: var(--space-5); flex-wrap: wrap; font-size: 13px; color: var(--c-muted); }

/* list rows (articles) */
.list-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: var(--space-5); align-items: center; padding: var(--space-5); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); }
.list-row + .list-row { margin-block-start: var(--space-3); }
.list-row__title { font-weight: 700; color: var(--c-primary); }
.list-row__meta { font-size: 13px; color: var(--c-muted); }
.list-row__aside { display: flex; align-items: center; gap: var(--space-3); }
/* a list row with a panel that opens under it */
.list-item { border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); }
.list-item + .list-item { margin-block-start: var(--space-3); }
.list-item > .list-row { border: 0; background: transparent; }
.list-row__panel { padding: var(--space-5); border-block-start: 1px solid var(--c-border); font-size: 14px; color: var(--c-text-2); }
.list-row__panel h4 { margin-block: var(--space-4) var(--space-2); font-size: 14px; color: var(--c-text); }
.list-row__panel h4:first-child { margin-block-start: 0; }
.list-row__panel sup { color: var(--c-primary); }

/* empty state / end-of-flow message: icon, a line, a hint, actions - centred */
.empty-head__section {
    align-items: center;
    width: 100%;
}
.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-6) var(--space-4);
    text-align: center;
}
.empty__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.empty__icon--success { background: var(--c-success-soft); color: var(--c-success); }
.empty__icon--warning { background: var(--c-warning-soft); color: var(--c-warning); }
.empty__icon--danger { background: var(--c-danger-soft); color: var(--c-danger); }
.empty strong{
    padding-bottom: 14px;
    font-size: x-large;
}
.empty-fact {
    padding: 14px 20px;
    margin: 14px !important;
    background: var(--c-neutral-soft);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    gap: 14px 100px !important;
}
.empty-fact dt{
    text-align:start;
}
    .empty-fact dd {
        text-align: start;
    }
/* search form: a few fields and the button on one line */
.search-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--space-4); align-items: end; }

/* a bordered box with an icon: who the invoice is for, the bank account */
.info-box { display: flex; gap: var(--space-4); padding: var(--space-5); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); }
.info-box__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); flex: none; }
.info-box__title { font-weight: 700; margin-block-end: var(--space-2); }

/* label / value pairs */
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px var(--space-4); margin: 0; font-size: 14px; }
.facts dt { color: var(--c-muted); }
.facts dd { margin: 0; color: var(--c-text); }
.facts--rows { gap: 0 var(--space-4); }
.facts--rows dt, .facts--rows dd { padding-block: var(--space-3); border-block-end: 1px solid var(--c-border); }
.facts--rows dd { text-align: end; font-weight: 700; }

/* file drop area */
.upload-box { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-5); border: 1px dashed var(--c-border-strong); border-radius: var(--radius); background: var(--c-row-hover); text-align: center; font-size: 13px; }
.upload-box__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.upload-box.is-disabled { opacity: .75; cursor: not-allowed; }

/* a choice with its own action: the ways to pay */
.option-card { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); border: 1px solid var(--c-primary); border-radius: var(--radius); background: var(--c-primary-soft); }
.option-card > div { flex: 1; min-width: 0; }
.option-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-surface); color: var(--c-primary); flex: none; }
.option-card--success { border-color: var(--c-success); background: var(--c-success-soft); }
.option-card--success .option-card__icon { color: var(--c-success); }

/* page banner (top of a list page) */
.page-banner { padding: var(--space-6) var(--space-6); margin-block-end: var(--space-5); border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--c-primary) 0%, #5b8cff 60%, #a9c4ff 100%); }
.page-banner h1 { color: #fff; font-size: 32px; }
.page-banner p { margin-block-start: var(--space-2); opacity: .9; }

/* filter tabs: a row of pills with a count */
.filter-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.filter-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-surface); color: var(--c-text-2); font-size: 14px; white-space: nowrap; }
.filter-tabs a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-tabs a.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); flex: none; }
.dot--success { background: var(--c-success); } .dot--muted { background: var(--c-muted); } .dot--danger { background: var(--c-danger); }
.input-group--search { min-width: 320px; }
.input-group--search .input { border: 0; box-shadow: none; }

/* event row: picture | text | actions */
.event-row { display: grid; grid-template-columns: 240px minmax(0, 1fr) 240px; gap: var(--space-5); align-items: center; padding: var(--space-5); }
.event-row + .event-row { margin-block-start: var(--space-4); }
.event-row__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-violet) 100%); }
.event-row__media img { width: 100%; height: 100%; object-fit: cover; }
.event-row__title { font-size: 20px; margin-block: var(--space-2); }
.event-row__text { font-size: 14px; color: var(--c-text-2); }
.event-row__meta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-3); }
.event-row__meta li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-sm); background: var(--c-neutral-soft); font-size: 13px; color: var(--c-text-2); }
.event-row__actions { display: flex; flex-direction: column; gap: var(--space-2); }
.event-row--finished .event-row__media { filter: saturate(.6); }
.ribbon { position: absolute; inset-block-start: 14px; inset-inline-start: -34px; padding: 4px 40px; background: var(--c-danger); color: #fff; font-size: 12px; font-weight: 700; transform: rotate(45deg); }
html[dir="ltr"] .ribbon { transform: rotate(-45deg); }

/* one event (owner's mock-up): a hero that runs edge to edge - text and the fee card | the poster, which fades into
   the background - then a white strip of section tabs under it, then the body: sticky side menu | sections.
   The hero stands: nothing folds it away, and only the pair below it (.ev-pinned) changes on scroll */
.event-banner {
    background-image: url(/Content/site/img/event/D1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 8.58 / 1;
    align-items: center;
    justify-content: center;
    display: flex;
    color: var(--c-text)
}
.event--list--title {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.event-hero {
    position: relative;
    overflow: hidden;
    /*    background: linear-gradient(135deg, #f4f7ff 0%, #e5eeff 100%);*/
    background-image: url(/Content/site/img/event-header.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
html[dir="ltr"] .event-hero {
    background-image: url(/Content/site/img/event/event-header-2.webp);
}
.event-hero::before { content: ""; position: absolute; inset-block-start: -30%; inset-inline-start: -10%; width: 60%; height: 160%; pointer-events: none; background: radial-gradient(closest-side, rgba(22, 72, 232, .09), transparent); }
/* min-height 0 lets the grid track above collapse over the cover (the grid item's default min-height would hold it open) */
.event-hero__inner { position: relative; display: flex; gap: var(--space-6); align-items: stretch;justify-content:end; overflow: hidden; min-height: 650px; }
.event-hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding-block: var(--space-6) var(--space-6);
    align-items: end;
    width:60%;
}
.event-hero__title__container {
    width: 65%;
    text-align: end;
}
.event-hero__inner--text-only {
    grid-template-columns: minmax(0, 1fr);
}   /* an event without a poster */
.event-hero__inner--text-only .event-hero__text { max-width: 880px; }
.event-hero__title {
    font-size: 44px;
    line-height: 1.35;
    -webkit-text-stroke: medium;
}
html[dir="ltr"] .event-hero__title {
    -webkit-text-stroke: unset;
}
.event-hero__summary { font-size: 16px; color: var(--c-text-2);  }
.event-hero__facts {
    display: grid;
    grid: 1;
    grid-template-columns: 1fr 1fr;
    justify-items: self-end;
    gap: var(--space-3) 0;
}
.event-hero__facts .fact { padding-inline-end: var(--space-5); }
/*.event-hero__facts .fact + .fact { padding-inline-start: var(--space-5); border-inline-start: 1px solid var(--c-border-strong); }*/
.fact { display: flex; align-items: center; gap: var(--space-3); }
.fact__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--c-surface); color: var(--c-primary); flex: none; }
.fact .muted { display: block; font-size: 13px; }
/* the poster fills the height of the hero and fades into the background on its inner and lower edge */
.event-hero__media { position: relative; min-height: 460px; }
.event-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, #e8effd 0%, rgba(232, 239, 253, 0) 22%), linear-gradient(to right, #eaf0fe 0%, rgba(234, 240, 254, 0) 30%); }
/* the inner edge of the poster is its right edge when the text stands on the right (a gradient has no logical direction) */
html[dir="rtl"] .event-hero__media::after { background: linear-gradient(to top, #e8effd 0%, rgba(232, 239, 253, 0) 22%), linear-gradient(to left, #eaf0fe 0%, rgba(234, 240, 254, 0) 30%); }

/* the fee card inside the hero: one column per tier, the tier of today highlighted with its countdown */
.fee-card { width: 100%; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: var(--c-surface); box-shadow: var(--shadow-pop); }
.fee-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.fee-card__group { font-size: 13px; font-weight: 700; color: var(--c-muted); }
.tabs--pills { display: inline-flex; gap: 4px; padding: 4px; border: 0; border-radius: 10px; background: var(--c-neutral-soft); }
.tabs--pills .tabs__tab { flex: none; margin: 0; padding: 6px 14px; border: 0; border-radius: 8px; font-size: 13px; }
.tabs--pills .tabs__tab.is-active { background: var(--c-surface); color: var(--c-primary); box-shadow: var(--shadow-card); }
.fee-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-2); }
.fee-tier { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding: var(--space-4) var(--space-3); text-align: center; }
.fee-tier + .fee-tier { border-inline-start: 1px solid var(--c-border); }
.fee-tier--current {
    border-radius: var(--radius);
    background: linear-gradient(to top, var(--c-success-soft-darkest) 5%, var(--c-success-soft-lightest) 40%, var(--c-success-soft-palest) 100% )
}
.fee-tier {
    gap: 40px;
}
.fee-tier--current {
    gap: 4px !important;
}
.fee-tier__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--c-text-2); }
.fee-tier--current .fee-tier__label { color: var(--c-success-hover); }
.chip--event {
    color: white !important;
    background: var(--c-success) !important;
}
.fee-tier__was { font-size: 15px; color: var(--c-muted); text-decoration: line-through; direction: ltr; unicode-bidi: isolate; }
.fee-tier__price { font-size: 26px; font-weight: 700; line-height: 1.4; direction: ltr; unicode-bidi: isolate; }
.fee-tier__price small { display: block; font-size: 13px; font-weight: 400; color: var(--c-muted); }
.fee-tier--current .fee-tier__price { color: var(--c-success-hover); }
.fee-tier__dates { font-size: 13px; color: var(--c-muted); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; margin-block-start: var(--space-2); }
    .countdown span {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 6px 4px;
        border-radius: var(--radius-sm);
        background: var(--c-success-soft-lighter);
        border: 1px solid var(--c-border);
    }
.countdown b { font-size: 18px; }
.countdown small { font-size: 11px; color: var(--c-muted); }
.fee-card__actions { display: flex; align-items:center; justify-content:end; flex-wrap: wrap; gap: var(--space-6); padding-block-start: var(--space-3); border-block-start: 1px solid var(--c-border); }

/* The cover stands: it is the first screenful of the page and the reader is meant to see all of it. Nothing folds it
   away any more - what pins is the pair below it (.ev-pinned), and only that pair changes on scroll, so the page's height
   is a fixed thing from the first render to the last and nothing below has to be told where the reader is.
   overflow-anchor: none because the pair growing into a strip under the header is a change of the page's own making, and
   the browser would otherwise answer for it by moving the scroll to hold the content being read in place. */
.event-hero {
    display: grid;
    overflow-anchor: none;
}

/* the section tabs: a white strip under the hero; the section being read underlined. Not pinned either */
.section-tabs { background: var(--c-surface); border-block-end: 1px solid var(--c-border); }
.section-tabs__inner { display: flex; overflow-x: auto; scrollbar-width: none; }
.section-tabs__inner::-webkit-scrollbar { display: none; }
.section-tabs a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 16px; border-block-end: 3px solid transparent; color: var(--c-text-2); font-size: 15px; font-weight: 700; white-space: nowrap; }
.section-tabs a .icon { width: 22px; height: 22px; }
.section-tabs a:hover { color: var(--c-primary); }
.section-tabs a.is-active { color: var(--c-primary); border-block-end-color: var(--c-primary); }

/* tiles: the highlights under "about" and the scientific topics - one <li> of the CMS page each */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-3); }
.tile { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-4) var(--space-3); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); text-align: center; font-size: 14px; font-weight: 700; color: var(--c-text-2); line-height: 1.6; }
.tile .icon { color: var(--c-primary); }
.tile-grid--soft .tile { background: var(--c-primary-soft); border-color: #d5e0ff; }
/* the gallery and the pictures of the exhibition */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-3); }
.gallery-item { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-neutral-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery-item:hover img { transform: scale(1.04); }

/* the films, sounds, lecture files and links of an event (Events/Item #media, conf.DutyMedia): a card each; a film
   takes two columns from the tablet width up, a sound plays inside its card, the rest is a button */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: var(--space-4); }
.media-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.media-card__frame { position: relative; aspect-ratio: 16 / 9; background: var(--c-neutral-hard); }
.media-card__frame iframe, .media-card__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-card__frame--image { display: block; background: var(--c-neutral-soft); }
.media-card__frame--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.media-card__body { display: flex; align-items: flex-start; gap: var(--space-3); }
.media-card__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.media-card__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); min-width: 0; }
.media-card__title { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.media-card__audio { display: block; width: calc(100% - 2 * var(--space-4)); margin-inline: var(--space-4); margin-block-end: var(--space-3); }
.media-card__foot { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: auto; padding: 0 var(--space-4) var(--space-4); }
.media-card__foot:empty { display: none; }
/* a file whose title is a line or two (a site page's documents): icon, title and the button on one row - the button
   goes under the title when the row is too narrow for both */
.media-grid--rows { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: var(--space-3); }
.media-card--row { flex-flow: row wrap; align-items: center; }
.media-card--row .media-card__body { flex: 1 1 180px; align-items: center; min-width: 0; }
.media-card--row .media-card__foot { flex: none; margin: 0; margin-inline-start: auto; padding: var(--space-3) var(--space-4); }
@media (min-width: 768px) {
    .media-card--wide { grid-column: span 2; }
}

/* the branches of the association (Branches/Index, Branches/Item): a card per branch; the page of a branch has its
   board as portrait cards, the earlier terms folded, the conferences by year, the other branches at the side */
/* the journals of the association on the home page (conf.SiteLink, IsFeatured): a big box each, the cover beside the words */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: var(--space-5); }
.journal-box { display: flex; align-items: stretch; gap: var(--space-5); padding: var(--space-5); color: var(--c-text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.journal-box:hover { border-color: var(--c-primary); }
.journal-box__cover { flex: none; width: 140px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); background: var(--c-neutral-soft); }
.journal-box__cover--empty { display: inline-flex; align-items: center; justify-content: center; color: var(--c-primary); }
.journal-box__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--space-3); min-width: 0; }
.journal-box__title { font-size: 19px; overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .journal-box { flex-direction: column; align-items: center; text-align: center; }
    .journal-box__body { align-items: center; }
}
/* the useful links (Home/Links): a card per link, logo, name, note, the site it leads to */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: var(--space-3); }
.link-card { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border: 1px solid var(--c-border); border-radius: var(--radius-sm); color: var(--c-text); text-decoration: none; }
.link-card:hover { border-color: var(--c-primary); }
.link-card__logo { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-primary-soft); color: var(--c-primary); }
.link-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.link-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.link-card__body strong { overflow-wrap: anywhere; }
.link-card__host { font-size: 12px; color: var(--c-muted); }
/* the calendar of a year (Events/Calendar): the years of the archive, then a card per month */
.calendar-years .card__body { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.calendar-years__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); flex: 1; }
.calendar-years__list .chip { text-decoration: none; }
.calendar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: var(--space-4); align-items: start; margin-block: var(--space-4) var(--space-6); }
.calendar-month--current { border-color: var(--c-primary); box-shadow: 0 0 0 2px var(--c-primary-soft); }
.calendar-month--empty { opacity: .7; }
.calendar-month__title { margin: 0; font-size: 18px; display: flex; justify-content: space-between; gap: var(--space-2); }
.calendar-list { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.calendar-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.calendar-item__day { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--c-primary-soft); color: var(--c-primary); font-weight: 700; }
.calendar-item__body { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.calendar-item__body > a { color: var(--c-text); font-weight: 600; overflow-wrap: anywhere; }
.calendar-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: 12px; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--space-4); }
.branch-card { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); color: var(--c-text); text-decoration: none; transition: border-color .15s; }
.branch-card:hover { border-color: var(--c-primary); }
.branch-card--central { border-color: var(--c-primary-soft-dark); background: var(--c-primary-soft-lightest); }
.branch-card__logo { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--c-primary-soft); color: var(--c-primary); }
.branch-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.branch-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); min-width: 0; flex: 1; }
.branch-card__title { font-size: 17px; overflow-wrap: anywhere; }
.branch-card__go { flex: none; color: var(--c-muted); }
.branch-logo { width: 88px; height: 88px; object-fit: contain; border-radius: var(--radius); background: var(--c-surface); padding: var(--space-2); }
.branch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-5); align-items: start; padding-block-end: var(--space-6); }
.branch-contact { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: 0; padding: 0; list-style: none; color: var(--c-text-2); }
.branch-contact li { display: inline-flex; align-items: center; gap: var(--space-2); }
.board-grid .person-card { text-align: center; }
.board-term { border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); }
.board-term > summary { cursor: pointer; font-weight: 700; }
.board-term[open] > summary { margin-block-end: var(--space-4); }
.branch-year { margin: var(--space-4) 0 var(--space-2); padding-block-end: var(--space-2); border-block-end: 1px solid var(--c-border); font-size: 16px; color: var(--c-primary); }
.branch-event { display: flex; gap: var(--space-4); padding: var(--space-3); border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.branch-event__poster { flex: none; width: 120px; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-neutral-soft); }
.branch-event__poster img { width: 100%; height: 100%; object-fit: cover; }
.branch-event__body { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; flex: 1; }
.branch-event__title { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.branch-event__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: 0; padding: 0; list-style: none; color: var(--c-text-2); font-size: 13px; }
.branch-event__meta li { display: inline-flex; align-items: center; gap: var(--space-1); }
.branch-event__speakers { margin: 0; font-size: 13px; line-height: 1.9; }
@media (max-width: 900px) {
    .branch-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .branch-event { flex-direction: column; }
    .branch-event__poster { width: 100%; aspect-ratio: 16 / 9; }
}
.video-card { overflow: hidden; }
.video-card__player { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-card .card__body { padding: var(--space-4); }
.is-sticky { position: sticky; inset-block-start: calc(var(--header-h) + 84px); }
/* a jump to a section lands under the header, not behind it - and clear of what the page keeps pinned there */
.ev-section [id] { scroll-margin-block-start: calc(var(--header-h) + var(--ev-pinned-h) + var(--space-4)); }
.fee-card { scroll-margin-block-start: calc(var(--header-h) + 24px); }
.sub-title { font-size: 15px; color: var(--c-text-2); margin-block-end: var(--space-3); }

/* ==========================================================================
   Event page blocks (owner's mock-up, after the cover)
   The blocks that follow the folding cover, in the order of the mock-up: a band of counters, then the stops of the
   page. They are all in the normal flow - the cover folds away on scroll and they rise into the space it left.
   Nothing here is pinned. Written on the tokens of section 1 rather than a framework, like the rest of the sheet;
   the mock-up's palette is folded into the brand blue so the blocks sit with the header and the footer.
   ========================================================================== */
.ev-section { padding-block: var(--space-7); }
/* the tinted band every other block (the mock-up's slate sections) */
.ev-band { background: var(--c-neutral-soft); }
.ev-band > .container { display: grid; }

/* the heading of a block: a small pill, the title, a line under it */
.ev-head { display: grid; gap: var(--space-2); justify-items: center; text-align: center;  }
.ev-head--between { display: flex; align-items: flex-end; justify-content: space-between; text-align: start; }
.ev-head .section-title { justify-content: center; }
.ev-head p { max-width: 62ch; }
.ev-badge {
    display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
    color: #fff; font-size: 12px; font-weight: 700; line-height: 1.9;
}
.ev-badge--plain { background: var(--c-primary-soft); border-color: transparent; color: var(--c-primary); }
.ev-badge--plain .icon { width: 15px; height: 15px; }

/* An event page moves things on purpose: the pair under the header grows into a strip and closes again as the reader
   passes. The browser's scroll anchoring reads that as the content being read being shoved about, and answers by moving
   the scroll to hold the content still - and the scroll is the very thing the masthead's showing is decided from, so the
   page corrects itself against its own correction and the masthead blinks. Not being anchored to is the state this page
   wants: it holds the reader's place itself, and site.js [data-pinned] is what holds it. Set on <html> and <body> so that
   the whole subtree is out of the running - excluding the pair alone would not do, since the anchor the browser picks is
   something below it. */
html.no-scroll-anchor,
html.no-scroll-anchor body { overflow-anchor: none; }

/* The masthead and the bar of stops, pinned under the header as one piece (site.js [data-pinned] adds is-stuck once
   the bar of stops is against the header, and [data-hero-swap] is-shown at the same moment). One wrapper rather than two
   sticky elements: each would have to know the height of the other to know where to stop, and the masthead's height is
   not a fixed number - it is folded away while the cover is up and a strip once the pair is pinned. Pinned together, the
   bar simply rides on the foot of the masthead. */
.ev-pinned {
    position: sticky; inset-block-start: var(--header-h); z-index: 40;
}

/* the way into the page: the stops of the page as a row of pills (owner's mock-up), riding down the page on the masthead.
   White on a hairline with a shadow under it, the way the mock-up floats its bar off the page; the stop being read
   stands out of the row in brand blue. */
.ev-quick {
    margin-block-end: var(--space-4);
    padding-block: var(--space-3);
    background: var(--c-surface);
    border-block: 1px solid var(--c-border);
    box-shadow: var(--shadow-card);
}
/* the stops slide along their own axis rather than wrapping: they do not all fit across a narrow page, and the
   mock-up's bar is one row with its scrollbar taken away */
.ev-quick__bar {
    display: flex; align-items: center; gap: var(--space-2);
    overflow-x: auto; scrollbar-width: none;
    justify-content:center;
}
.ev-quick__bar::-webkit-scrollbar { display: none; }
.ev-quick__tab {
    display: inline-flex; align-items: center; gap: var(--space-2); flex: none;
    padding: 10px var(--space-4); border: 1px solid transparent; border-radius: var(--radius);
    font-size: 14px; font-weight: 500; line-height: 1.7; white-space: nowrap; color: var(--c-text-2);
    transition: background-color .2s ease, color .2s ease;
}
.ev-quick__tab:hover { color: var(--c-primary); background: var(--c-row-hover); }
.ev-quick__tab .icon { width: 16px; height: 16px; }
.ev-quick__tab.is-active { color: var(--c-primary); font-weight: 700; background: var(--c-primary-soft); border-color: #d5e0ff; }
.ev-quick__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-3);padding-bottom:12px; }
.ev-topic__icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius);
    background: var(--c-primary-soft); color: var(--c-primary);
}

/* the masthead: who and what and when, over the brand gradient.
   It stands in for the cover while the cover is up - folded away on the first render, brought in once the bar of stops
   is against the header (site.js [data-hero-swap]). The swap is done with grid-template-rows (0fr -> 1fr), so its height
   never has to be measured, and the only cost is the strip of height the pair loses as it closes. */
.ev-masthead {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    background-image: url(/Content/site/img/event/header01.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
    position: relative;
    transition: grid-template-rows .35s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, visibility .35s;
}
.ev-masthead.is-shown { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
/* the inner is the fold: min-height 0 and its overflow hidden, so the row closing on it takes its whole height with it.
   Nothing padded hangs off it - the padding that used to open the band is on the main, inside the fold, where a closed
   band carries it out of sight with everything else. */
.ev-masthead__inner { display: flex; justify-content:end; gap: var(--space-7); align-items: center; min-height: 0; overflow: hidden; }
/* the band stands as tall as it always did, and its few lines sit on the foot of it */
.ev-masthead__main { display: grid; gap: var(--space-4); justify-items: start; min-height: 700px; align-content: end; padding-block: var(--space-7) var(--space-6); transition: min-height .25s ease, padding-block .25s ease; justify-content:space-between; width:100%;}

/* Pinned, the band is a problem: seven hundred pixels of it, with the header above it and the bar of stops below,
   would stand between the reader and the whole page. So it keeps its height only while it is still coming up the
   page, and against the header it folds to a strip - the place and the buttons side by side on one line, which is
   all it ever held. The fold is not animated: the band is being told its height twice over (the row and the
   min-height) and animating both would have it grow to full height and shrink again in the same breath. */
.ev-pinned.is-stuck .ev-masthead,
.ev-pinned.is-stuck .ev-masthead__main { transition: none; }
.ev-pinned.is-stuck .ev-masthead__main {
    min-height: 150px;
    padding-block: var(--space-3);
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    gap: var(--space-4);
}
.ev-masthead__row { display: flex; align-items: center; gap: var(--space-5); }
.ev-masthead__count {
    display: grid; place-items: center; flex: none; min-width: 104px; padding: var(--space-3) var(--space-4);
    border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .12);
    text-align: center; line-height: 1.3;
}
.ev-masthead__count b { font-size: 44px; }
.ev-masthead__count span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #cfe0ff; }
.ev-masthead__title { font-size: 38px; }
.ev-masthead__sub { font-size: 18px; font-weight: 700; color: #bcd4ff; }
.ev-masthead__lead { max-width: 60ch; color: #dbe6ff; }
.ev-masthead__place {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius);
    background: #0000009e;
    font-size: 14px;
}
.ev-masthead__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
/* a ghost button has no outline of its own to read on the gradient */
.ev-btn--onDark { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); color: #fff; }
.ev-btn--onDark:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.ev-masthead__card {
    display: grid; gap: var(--space-3); justify-items: center; padding: var(--space-6) var(--space-5); text-align: center;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .1);
}
.ev-masthead__cardIcon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #cfe0ff; }
.ev-masthead__card p { font-size: 13px; color: #dbe6ff; }
.ev-masthead__facts { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }

/* about: the text of the panel beside the picture of the event, with the counters of the event under both */
.ev-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-6);
    align-items: start;
    background-image: url(/Content/site/img/event/event-info.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-block-end: var(--space-6);
    min-height: 400px;
}
html[dir="ltr"] .ev-about__grid {
    background-image: url(/Content/site/img/event/event-info-ltr.jpg);
}

.ev-about__media { display: grid; gap: var(--space-3); }
.ev-frame { overflow: hidden; border: 4px solid var(--c-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); background: var(--c-neutral-soft); aspect-ratio: 3 / 2; }
.ev-frame img { width: 100%; height: 100%; object-fit: cover; }
.ev-frame--empty { display: grid; place-items: center; color: var(--c-border-strong); }
.ev-frame__caption { display: grid; gap: 2px; }
.ev-frame__caption strong { color: var(--c-primary); }
.ev-frame__caption span { font-size: 13px; }
.ev-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-3); }
.ev-stat {
    display: grid;
    justify-items: center;
    gap: var(--space-1);
    padding: var(--space-5) var(--space-3);
    text-align: center;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-primary-soft);
}
.ev-stat__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-block-end: var(--space-2); border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.ev-stat__value { font-size: 30px; color: var(--c-text); }
.ev-stat__label { font-size: 13px; color: var(--c-muted); }

/* the scientific topics */
.ev-topic {
    display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-5) var(--space-4); text-align: center;
    border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ev-topic:hover { border-color: var(--c-primary); box-shadow: var(--shadow-card); }
.ev-topic strong { font-size: 14px; color: var(--c-text-2); }
.ev-topic__icon { width: 56px; height: 56px; }

/* the organising committees: one list per committee, the first one straight under the heading */
.ev-people__list + .ev-people__list { margin-block-start: var(--space-6); }

/* the speakers */
.ev-speaker {
    display: grid; justify-items: center; gap: var(--space-1); padding: var(--space-5) var(--space-4); text-align: center;
    border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface);
    box-shadow: var(--shadow-card); transition: box-shadow .2s ease, transform .2s ease;
}
.ev-speaker:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.ev-speaker__photo, .ev-avatar {
    display: grid; place-items: center; width: 88px; height: 88px; margin-block-end: var(--space-3);
    border-radius: 50%; border: 2px solid var(--c-primary); background: var(--c-primary-soft);
    color: var(--c-primary); font-size: 24px; font-weight: 700; overflow: hidden; object-fit: cover;
}
.ev-speaker__country { font-size: 12px; font-weight: 700; color: var(--c-primary); }
.ev-speaker small { font-size: 12px; }

/* the sponsors: the gold one first, on the brand gradient, then the rest as logo cards */
.ev-platinum {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: var(--space-6);
    border-radius: var(--radius-lg); color: #fff; background: linear-gradient(100deg, #0a2160, var(--c-primary) 70%, #2f7ae5);
}
.ev-platinum h3 { font-size: 28px; }
.ev-platinum p { font-size: 13px; color: #dbe6ff; max-width: 60ch; }
.ev-platinum__tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 6px;
    background: #ffc043; color: #4a2c00; font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
.ev-platinum .btn { flex: none; }
/* The platinum and gold sponsors lead the band, one to a slide: the picture of their stand behind a dark wash, the
   logo on a white tile, the name, a line of their text and the way to their page. A sponsor without a picture gets
   the brand gradient instead, like the card that stands in when there are no sponsors at all. */
.ev-sponsors__slider { margin-block-end: var(--space-6); }
.ev-sponsor-slide {
    position: relative; display: flex; align-items: center; min-height: 260px; overflow: hidden;
    border-radius: var(--radius-lg); color: #fff; background: linear-gradient(100deg, #0a2160, var(--c-primary) 70%, #2f7ae5);
}
.ev-sponsor-slide__picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.ev-sponsor-slide__body { position: relative; display: grid; gap: var(--space-3); justify-items: start; padding: var(--space-6); max-width: 70ch; }
.ev-sponsor-slide__head { display: flex; align-items: center; gap: var(--space-4); }
.ev-sponsor-slide__logo { display: grid; place-items: center; flex: none; width: 96px; height: 72px; padding: 6px; border-radius: var(--radius-sm); background: #fff; }
.ev-sponsor-slide__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ev-sponsor-slide h3 { font-size: 26px; }
.ev-sponsor-slide p { font-size: 14px; color: #dbe6ff; }
.ev-sponsor-slide .btn--ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }

/* the tier of a sponsor: a small tag, in the metal of the tier */
.ev-tier {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 6px;
    font-size: 12px; font-weight: 700; background: var(--c-neutral-soft); color: var(--c-text-2);
}
.ev-tier--1 { background: #e6e9f4; color: #2b3a67; }
.ev-tier--2 { background: #ffc043; color: #4a2c00; }
.ev-tier--3 { background: #e4e7eb; color: #3d4852; }
.ev-tier--4 { background: #f1d9c6; color: #5c3415; }

/* every tier as a rank of logos, the size of a logo following the tier */
.ev-sponsors__tier + .ev-sponsors__tier { margin-block-start: var(--space-6); }
.ev-sponsors__tier .sub-title { display: flex; align-items: center; gap: var(--space-2); }
.ev-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--lw, 160px), 1fr)); gap: var(--space-3); }
.ev-logos .logo-card { min-height: var(--lh, 100px); transition: border-color .2s ease, box-shadow .2s ease; }
.ev-logos .logo-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-card); }
.ev-logos .logo-card img { max-height: calc(var(--lh, 100px) - 36px); max-width: 100%; }
.ev-logos--1 { --lw: 260px; --lh: 150px; }
.ev-logos--2 { --lw: 220px; --lh: 130px; }
.ev-logos--3 { --lw: 180px; --lh: 110px; }
.ev-logos--4, .ev-logos--0 { --lw: 150px; --lh: 90px; }

/* the rest of the pages of the panel: one tab per page, the page given the width of the band */
.section-title--sm { font-size: 17px; }
.ev-info__card { overflow: hidden; }
.ev-info__panel { padding: var(--space-5); }
.ev-info__title { display: flex; align-items: center; gap: var(--space-2); }
/* a page of the panel may hold a table set to a width, a video, a picture: nothing of it may push the band wider
   than the page (the inline widths are already taken off on the server, EventPageModel.CleanHtml) */
.rich-text--page { overflow-x: auto; max-width: 100%; }
.rich-text--page video, .rich-text--page iframe, .rich-text--page embed, .rich-text--page object { max-width: 100%; height: auto; }
.rich-text--page video { width: 100%; max-width: 720px; border-radius: var(--radius-sm); }
.rich-text--page table { max-width: 100%; }
.rich-text--page h1, .rich-text--page h2, .rich-text--page h3 { font-size: 17px; margin-block: var(--space-4) var(--space-2); color: var(--c-text); }

/* a page of the panel's page editor (Page/Show) - the pages of iagh.org were built with its components, on
   Bootstrap's grid (rows of col-md-N, cards, an accordion of .collapse). This site has its own meaning for row,
   card, container, collapse and icon, so inside .cms-page they get the old one back: columns stack on a phone and
   flow side by side from the tablet width up; the accordion has no script here, so every panel is open. */
.cms-page .container { max-width: none; padding-inline: 0; }
.cms-page .row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; margin-inline: calc(var(--space-2) * -1); }
.cms-page [class*="col-"] { flex: 0 0 100%; max-width: 100%; min-width: 0; padding-inline: var(--space-2); }
.cms-page .row > .col { flex: 1 1 40%; min-width: 0; padding-inline: var(--space-2); }
.cms-page .component-item + .component-item { margin-block-start: var(--space-3); }
.cms-page .card { box-shadow: none; overflow: hidden; }
.cms-page .card-header { background: var(--c-neutral-soft); border-block-end: 1px solid var(--c-border); }
.cms-page .card-header .btn, .cms-page .btn-link { display: block; min-height: 0; margin: 0; padding: var(--space-3) var(--space-4); background: none; border: 0; color: var(--c-text); font-size: 16px; font-weight: 700; text-align: start; white-space: normal; }
.cms-page .card-body { padding: var(--space-4); }
.cms-page .collapse { display: block; }
.cms-page div.icon { width: auto; height: auto; display: flex; justify-content: center; }
.cms-page .text-center { text-align: center; }
.cms-page img { max-width: 100%; height: auto; }
.cms-page .img-thumbnail { padding: 4px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-surface); }
.cms-page hr { border: 0; border-block-start: 1px solid var(--c-border); margin-block: var(--space-4); }
/* the clickable icons of the editor (a PDF of a speaker, a file to download) became links without text */
.cms-file { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.cms-file::before { content: ""; width: 20px; height: 20px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.cms-file:hover { background: var(--c-primary); color: var(--c-surface); }
@media (min-width: 768px) {
    .cms-page .row > .col { flex: 1 1 0; }
    .cms-page .col-md-1, .cms-page .col-lg-1 { flex-basis: 8.3333%; max-width: 8.3333%; }
    .cms-page .col-md-2, .cms-page .col-lg-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
    .cms-page .col-md-3, .cms-page .col-lg-3 { flex-basis: 25%; max-width: 25%; }
    .cms-page .col-md-4, .cms-page .col-lg-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
    .cms-page .col-md-5, .cms-page .col-lg-5 { flex-basis: 41.6667%; max-width: 41.6667%; }
    .cms-page .col-md-6, .cms-page .col-lg-6 { flex-basis: 50%; max-width: 50%; }
    .cms-page .col-md-7, .cms-page .col-lg-7 { flex-basis: 58.3333%; max-width: 58.3333%; }
    .cms-page .col-md-8, .cms-page .col-lg-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
    .cms-page .col-md-9, .cms-page .col-lg-9 { flex-basis: 75%; max-width: 75%; }
    .cms-page .col-md-10, .cms-page .col-lg-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
    .cms-page .col-md-11, .cms-page .col-lg-11 { flex-basis: 91.6667%; max-width: 91.6667%; }
    .cms-page .col-md-12, .cms-page .col-lg-12 { flex-basis: 100%; max-width: 100%; }
}

/* a link to a document inside a page of the editor (SitePageModel marks it): a download, not a word in the text */
.cms-page a.cms-download { display: inline-flex; align-items: center; gap: 6px; margin-block: var(--space-1); padding: 6px 14px; border: 1px solid var(--c-primary); border-radius: var(--radius-sm); background: var(--c-surface); color: var(--c-primary); font-weight: 700; text-decoration: none; }
.cms-page a.cms-download::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.cms-page a.cms-download:hover { background: var(--c-primary); color: var(--c-surface); }
.cms-page a.cms-download strong { font-weight: inherit; }
/* a long text of the editor (the grant, the by-law): its headings mark sections, as the site's section titles do */
.rich-text--page.cms-page h2 { font-size: 19px; color: var(--c-primary); margin-block-start: var(--space-5); padding-block-end: var(--space-2); border-block-end: 1px solid var(--c-border); }
.rich-text--page.cms-page h3 { font-size: 16px; color: var(--c-primary); }
.rich-text--page.cms-page > :first-child h2:first-child, .rich-text--page.cms-page > h2:first-child { margin-block-start: 0; }

/* the pages of the association brought over from iagh.org, shown with the site's components (Page/Show,
   SitePageLayouts): a card per journal with its picture; a row per book; one picture per year; the programmes of a
   year by kind */
.cover-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.cover-card__img { display: grid; place-items: center; height: 200px; padding: var(--space-4); background: var(--c-neutral-soft); }
.cover-card__img img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.cover-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); min-width: 0; padding: var(--space-5); }
.cover-card__title { margin: 0; font-size: 18px; line-height: 1.5; color: var(--c-text); overflow-wrap: anywhere; }
.cover-card .btn { white-space: normal; text-align: start; }

.book-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: var(--space-3); }
.book-row { display: flex; align-items: flex-start; gap: var(--space-3); min-width: 0; padding: var(--space-3); border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-surface); }
.book-row__cover { flex: none; width: 72px; height: 96px; object-fit: cover; border-radius: 4px; background: var(--c-neutral-soft); }
.book-row__cover--none { display: grid; place-items: center; width: 56px; height: 72px; color: var(--c-primary); background: var(--c-primary-soft); }
.book-row__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.book-row__title { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-text); overflow-wrap: anywhere; }
.book-row__line { margin: 0; font-size: 13px; line-height: 1.7; color: var(--c-text-2); overflow-wrap: anywhere; }
.book-row__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-block-start: var(--space-2); }

.person-card__facts { align-self: stretch; margin: var(--space-2) 0 0; padding: var(--space-3) 0 0; border-block-start: 1px solid var(--c-border); list-style: none; text-align: start; }
.person-card__facts a { color: inherit; overflow-wrap: anywhere; }

.year-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: var(--space-4); }
.year-card { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; min-width: 0; }
.year-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-neutral-soft); }
.year-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s; }
.year-card__img:hover img { transform: scale(1.03); }
.year-card__caption { font-weight: 700; color: var(--c-primary); text-align: center; }

.programme-years { display: grid; gap: var(--space-3); }
.programme-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: var(--space-4); }
.programme-kind { min-width: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--c-neutral-soft); }
.programme-kind__title { margin: 0 0 var(--space-2); font-size: 15px; color: var(--c-primary); }
.programme-list { display: grid; gap: 6px; margin: 0; padding-inline-start: 18px; list-style: disc; font-size: 14px; line-height: 1.6; color: var(--c-text-2); }
.programme-list li { overflow-wrap: anywhere; }

/* the committees and the speakers: a compact grid of names, a dozen open and the rest behind "show all" */
.ev-people__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-block-end: var(--space-4); }
.ev-people__bar--end { justify-content: flex-end; }
.ev-people__bar .tabs--pills { flex-wrap: wrap; }
.tabs__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--c-neutral-soft); font-size: 11px; }
.tabs--pills .tabs__tab.is-active .tabs__count { background: var(--c-primary-soft); color: var(--c-primary); }
.input-group--filter { min-width: 240px; }
.input-group--filter .input { border: 0; box-shadow: none; }
.ev-people__panel-title { display: none; }
.ev-grid { display: grid; gap: var(--space-3); }
.ev-grid--people { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ev-grid--featured { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-block-end: var(--space-6); }
.ev-grid--collapsed > :nth-child(n + 13) { display: none; }
.ev-grid > [hidden] { display: none !important; }
.person-row {
    display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3);
    border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); font-size: 14px;
}
.person-row__text { display: flex; flex-direction: column; min-width: 0; }
.person-row__text .muted { font-size: 12px; }
.avatar--md { width: 48px; height: 48px; }
.ev-more { margin-block-start: var(--space-4); gap: var(--space-3); flex-wrap: wrap; }
.ev-more__icon { transition: transform .2s ease; }
.is-open .ev-more__icon { transform: rotate(180deg); }
.empty-line { text-align: center; padding-block: var(--space-4); }
/* while a name is searched for, every committee is on the page and nothing is folded away */
.is-filtering .tabs__panel[hidden] { display: block; }
.is-filtering .ev-people__panel-title { display: block; }
.is-filtering .ev-grid--collapsed > :nth-child(n + 13) { display: flex; }
.is-filtering .ev-more { display: none; }

/* ---------------------------------------------------------------- submitting an article (Member/SubmitArticle)
   The membership wizard's shell (.wizard, .form-card, .stepper, .action-bar) with three things of its own: the
   parts of the text that come and go with the type, the count of words against the limit of the call, and the
   writers as rows that are added and taken away. */
/* the page: the head of the mock-up (title, the event on a banner with "back to the event"), then the form beside an
   aside with the event and the tips of the step being read */
.sub-hero { padding-block: var(--space-5) var(--space-4); background: linear-gradient(180deg, var(--c-primary-soft-lightest), var(--c-bg)); }
.sub-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-5); align-items: center; }
.sub-hero__banner { position: relative; display: flex; align-items: center; min-height: 150px; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-surface); box-shadow: var(--shadow-card); }
.sub-hero__picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-hero__body { position: relative; display: grid; gap: var(--space-2); justify-items: start; padding: var(--space-5); max-width: 60%; background: linear-gradient(90deg, rgba(255,255,255,.95) 60%, rgba(255,255,255,0)); min-height: 150px; }
html[dir="ltr"] .sub-hero__body { background: linear-gradient(270deg, rgba(255,255,255,.95) 60%, rgba(255,255,255,0)); }
.sub-hero__body h2 { font-size: 20px; }
.sub-hero__back { position: absolute; inset-block-end: var(--space-4); inset-inline-end: var(--space-4); }
.btn--dark { background: rgba(10, 33, 96, .85); color: #fff; border-color: transparent; }
.btn--dark:hover { background: #0a2160; color: #fff; }
.sub-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
    padding-block: var(--space-4) var(--space-7);
}
.sub-aside .status-card + .status-card { margin-block-start: var(--space-4); }
.event-mini { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: var(--space-3); margin-block: var(--space-3); }
.event-mini__picture { width: 96px; height: 128px; object-fit: cover; border-radius: var(--radius-sm); }
.event-mini__body { display: grid; gap: var(--space-2); align-content: start; font-size: 13px; }
.event-mini__body .muted { display: inline-flex; align-items: center; gap: 6px; }
.tips-list { display: grid; gap: var(--space-2); padding-inline-start: 1.2em; font-size: 13px; line-height: 1.9; color: var(--c-text-2); list-style: disc; }
.next-steps {
    display: grid;
    gap: var(--space-2);
    padding-inline-start: 0px;
}
.next-steps li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-size: 13px; }
.next-steps__num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 12px; font-weight: 700; }
.article-form .form-container--wide { max-width: none; }
.form-header--between { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
/* the parts of the text come and go with the type of the article: the wizard styles give .form-group a display of
   its own, so the hidden attribute needs the final word */
.article-form [data-part][hidden], .article-form [hidden] { display: none !important; }
.article-text { min-height: 96px; line-height: 1.9; }
.field__counter { font-size: 12px; color: var(--c-muted); }
.word-count { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 12px; border-radius: 6px; background: var(--c-neutral-soft); font-size: 13px; color: var(--c-text-2); }
.word-count.is-over { background: var(--c-danger-soft); color: var(--c-danger); }
/* the tiles of a choice: a radio drawn as a card, the chosen one in brand blue */
.tile-choices { display: grid; gap: var(--space-3); }
.tile-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-choice { position: relative; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.tile-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile-choice__mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--c-neutral-soft); color: var(--c-text-2); font-size: 12px; font-weight: 700; }
.tile-choice__text { display: grid; gap: 2px; min-width: 0; }
.tile-choice__text b { font-size: 14px; color: var(--c-text); }
.tile-choice__text small { font-size: 12px; color: var(--c-muted); }
.tile-choice:hover { border-color: var(--c-primary); }
.tile-choice:has(input:checked) { border-color: var(--c-primary); background: var(--c-primary-soft); box-shadow: 0 0 0 1px var(--c-primary) inset; }
.tile-choice input:checked ~ .tile-choice__mark { background: var(--c-primary); color: #fff; }
.tile-choice input:checked ~ .tile-choice__text b { color: var(--c-primary); }
.tile-choice input:focus-visible ~ .tile-choice__text { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.tile-choices--sm .tile-choice { padding: var(--space-2) var(--space-3); }
.tile-choices--sm .tile-choice__mark { width: 32px; height: 32px; }
.select-search { position: relative; display: block; }
.select-search__icon { position: absolute; inset-block-start: 50%; inset-inline-start: 12px; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.select-search .form-control { padding-inline-start: 40px; }
/* the attachments: two drop zones and the box of rules above them */
.info-box { padding: var(--space-4); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-primary-soft-light, var(--c-neutral-soft)); font-size: 13px; line-height: 1.9; }
.info-box ul { padding-inline-start: 1.2em; list-style: disc; display: grid; gap: 4px; }
.info-box__title { display: flex; align-items: center; gap: var(--space-2); margin-block-end: var(--space-2); font-weight: 700; }
.info-box--split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-4); align-items: center; }
.info-box__sample { display: flex; align-items: center; gap: var(--space-3); padding-inline-start: var(--space-4); border-inline-start: 1px solid var(--c-border); }
.info-box__sample-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--c-primary-soft-dark); color: var(--c-primary); }
.info-box__sample b{
    color:var(--c-primary)
}
.dropzones {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    margin-block-start: var(--space-4);
}
.dropzone { position: relative; display: grid; gap: var(--space-3); padding: var(--space-4); border: 2px dashed var(--c-border-strong); border-radius: var(--radius); background: var(--c-surface); text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.dropzone:hover, .dropzone.is-over { border-color: var(--c-primary); background: var(--c-primary-soft); }
.dropzone.is-invalid { border-color: var(--c-danger); }
.dropzone.is-busy { opacity: .6; }
.dropzone__title { text-align: start; }
.dropzone__empty { display: grid; justify-items: center; gap: 4px; padding-block: var(--space-3); font-size: 13px; }
.dropzone__icon { color: var(--c-primary); margin-block-end: var(--space-2); }
.dropzone__file { display: none; align-items: center; gap: var(--space-3); text-align: start; }
.dropzone.has-file { cursor: default; }
.dropzone.has-file .dropzone__empty { display: none; }
.dropzone.has-file .dropzone__file { display: flex; }
.dropzone__preview img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.dropzone__name { flex: 1; min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
/* the writers: a table of rows, the editor above it */
.writer-editor { padding: var(--space-4); margin-block-end: var(--space-4); border: 1px solid var(--c-primary); border-radius: var(--radius); background: var(--c-primary-soft); }
.writer-editor .row { margin-block-start: var(--space-3); }
.writers-table.is-invalid { outline: 1px solid var(--c-danger); border-radius: var(--radius); }
.writers-table__tools { white-space: nowrap; }
.writers-table__tools .icon-btn { margin-inline: 2px; }
.writers-table__handle { cursor: grab; color: var(--c-muted); }
.writers-table tr.is-dragging { opacity: .4; }
.writers-table__empty { display: flex; align-items: center; justify-content: center; gap: var(--space-3); padding: var(--space-5); color: var(--c-muted); font-size: 14px; }
.mark-yes { color: var(--c-success); }
/* the review and the page after */
.review-block-header--between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.review-block-header--between > span { display: inline-flex; align-items: center; gap: var(--space-2); }
.review-files { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.review-file { display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-surface); color: inherit; text-decoration: none; font-size: 13px; }
.review-file img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.action-bar--between { display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.action-bar--between .row { gap: var(--space-2); flex-wrap: wrap; }
.done-page__hero { display: grid; justify-items: center; gap: var(--space-2); text-align: center; padding-block: var(--space-5); }
.done-page__check { display: grid; place-items: center; width: 96px; height: 96px; margin-block-end: var(--space-3); border-radius: 50%; background: var(--c-success); color: #fff; box-shadow: 0 0 0 12px var(--c-success-soft); }
.done-page__title { font-size: 26px; color: var(--c-primary); }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-primary-soft-lightest, var(--c-neutral-soft)); }
.facts-row__item { display: grid; gap: 6px; text-align: center; }
.facts-row__item + .facts-row__item { border-inline-start: 1px solid var(--c-border); }
.facts-row__label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--c-primary); }
.done-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
@media (max-width: 900px) {
    .sub-hero__inner, .sub-layout, .dropzones, .info-box--split, .tile-choices--2, .tile-choices--3 { grid-template-columns: minmax(0, 1fr); }
    .sub-hero__body { max-width: none; background: rgba(255,255,255,.92); }
    .info-box__sample { padding-inline-start: 0; border: 0; }
}
@media print {
    .site-header, .site-footer, .sub-hero, .sub-aside, .done-page__actions { display: none !important; }
    .sub-layout { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- the referee's list (Judging/Index)
   The owner's mock-up: the head of the period's event, the side menu with the guide and the archive of earlier
   periods at the start of the page, and the list - segment tabs, a row of filters, cards with the article code on
   a tile, the status and the action at the end, the pager. */
.sub-layout--aside-start { grid-template-columns: 320px minmax(0, 1fr); }
.sub-layout--aside-start > .sub-aside > * + * { margin-block-start: var(--space-4); }
.judging-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.seg-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: var(--space-2); }
.seg-tabs__tab {
    display: flex;
    gap: 6px;
    place-items: center;
    padding: 10px 16px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: var(--c-surface);
    color: var(--c-text-2);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.seg-tabs__tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.seg-tabs__tab.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.judging-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)) minmax(0, 1fr) auto; gap: var(--space-2); align-items: center; }
.judging-filters select.input { min-height: 44px; }
.judging-filters__search { min-width: 0; }
.judge-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: var(--space-4); align-items: center; padding: var(--space-4); border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); }
.judge-item:hover { box-shadow: var(--shadow-card); }
.judge-item__code { display: grid; justify-items: center; align-content: center; gap: var(--space-2); min-height: 96px; border-radius: var(--radius-sm); background: var(--c-primary-soft); color: var(--c-primary); font-size: 12px; font-weight: 700; }
.judge-item__body { display: grid; gap: var(--space-2); min-width: 0; }
.judge-item__title { font-size: 15px; line-height: 1.7; }
.judge-item__title a { color: var(--c-primary); text-decoration: none; }
.judge-item__title a:hover { text-decoration: underline; }
.judge-item__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); font-size: 13px; color: var(--c-text-2); }
.judge-item__meta li { display: inline-flex; align-items: center; gap: 6px; }
.judge-item__meta li + li { padding-inline-start: var(--space-4); border-inline-start: 1px solid var(--c-border); }
.judge-item__side { display: grid; gap: var(--space-2); justify-items: stretch; min-width: 190px; }
.judge-item__side .chip { justify-content: center; }
.judging-foot .table-foot { padding-inline: 0; }
.guide-links { display: grid; gap: var(--space-2); padding-inline-start: 1.2em; list-style: disc; font-size: 13px; line-height: 1.9; }
.guide-links a { color: var(--c-text-2); }
.guide-links a:hover { color: var(--c-primary); }
.guide-criteria summary { cursor: pointer; color: var(--c-text-2); }
.guide-criteria[open] summary { color: var(--c-primary); font-weight: 700; }
.guide-criteria__body { padding-block: var(--space-2); }
.guide-criteria__body ul { display: grid; gap: 4px; padding-inline-start: 1em; list-style: circle; }
.period-list { display: grid; gap: var(--space-2); margin-block: var(--space-3); }
.period-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 10px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); color: var(--c-text); font-size: 13px; text-decoration: none; }
.period-list a:hover { border-color: var(--c-primary); color: var(--c-primary); }
/* the referee's deadline (list and review page): the end of the review, the days left, the articles waiting */
.deadline-bar { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); border: 1px solid; border-radius: var(--radius); }
.deadline-bar--warning { background: var(--c-warning-soft); border-color: var(--c-warning); color: var(--c-text); }
.deadline-bar--danger { background: var(--c-danger-soft); border-color: var(--c-danger); color: var(--c-text); }
.deadline-bar--success { background: var(--c-success-soft); border-color: var(--c-success); color: var(--c-text); }
.deadline-bar__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--c-surface); }
.deadline-bar--warning .deadline-bar__icon { color: var(--c-warning); }
.deadline-bar--danger .deadline-bar__icon { color: var(--c-danger); }
.deadline-bar--success .deadline-bar__icon { color: var(--c-success); }
.deadline-bar__text { display: grid; gap: 4px; flex: 1; min-width: 0; font-size: 14px; }
.deadline-bar__days { display: grid; justify-items: center; flex: none; min-width: 64px; padding: var(--space-2); border-radius: var(--radius-sm); background: var(--c-surface); }
.deadline-bar__days b { font-size: 24px; line-height: 1.1; }
.deadline-bar__days small { font-size: 12px; color: var(--c-muted); }
/* the congress of the article on the review page: the event-brief card of the articles page, a little lower */
.review-event { margin-block-end: var(--space-4); grid-template-columns: minmax(0, 1fr) 180px; }
.review-event .event-brief__title { font-size: 17px; }
/* the referee's way through the list on the review page */
.review-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-block: var(--space-4); }
.review-nav__steps { display: flex; align-items: center; gap: var(--space-2); }
.review-nav__pos { padding-inline: var(--space-2); font-size: 13px; color: var(--c-muted); white-space: nowrap; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
/* the attachments shown to the referee */
.review-files--large { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-3); }
.attach { display: grid; gap: var(--space-2); margin: 0; padding: var(--space-2); border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-surface); }
.attach__picture { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--c-neutral-soft); color: var(--c-primary); }
.attach__picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.attach__picture:hover img { transform: scale(1.04); }
.attach figcaption { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); font-size: 12px; min-width: 0; }
.attach figcaption > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the count on the side menu (the articles waiting for the referee) */
.side-menu__badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-inline-start: auto; border-radius: 11px; background: var(--c-danger); color: #fff; font-size: 12px; font-weight: 700; }
@media (max-width: 1100px) {
    .judging-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .judging-filters__search { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .sub-layout--aside-start { grid-template-columns: minmax(0, 1fr); }
    .sub-layout--aside-start > .sub-main { order: -1; }
    .seg-tabs { grid-auto-flow: row; grid-auto-columns: auto; width: 100%; }
    .judging-filters { grid-template-columns: minmax(0, 1fr); }
    .judge-item { grid-template-columns: minmax(0, 1fr); }
    .judge-item__code { grid-auto-flow: column; min-height: 0; padding: var(--space-2); justify-content: start; }
}

/* ---------------------------------------------------------------- the member's account (Profile)
   The personal photo page: the picture on file beside its standing with the office, then the box to send a new one.
   The password page is three boxes in one column. */
.photo-box {
    display: grid;
    align-items: center;
    gap: var(--space-5);
    grid-template-columns: 200px 200px 1fr;
}
.photo-box__picture {  flex: none; object-fit: cover; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-neutral-soft); }
.photo-box__text { display: grid; gap: var(--space-2); justify-items: start; min-width: 0; }
.photo-box__desc {
    display: flex;
    gap: var(--space-2);
    justify-items: start;
    border: 1px dashed var(--c-border-strong);
    border-radius: var(--radius);
    background: var(--c-row-hover);
    padding: 12px 16px;
    height: 100%;
    align-items: center;
}

.upload-photo-tips {
    color: #36517d;
    font-size: 10px;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upload-photo-tips__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: bolder;
}

.upload-photo-tips__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    border: 1px solid #1677ff;
    border-radius: 50%;
    color: #1677ff;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: normal;
}

.upload-photo-tips__list {
    margin: 0;
    padding: 0 20px 0 0;
    list-style: none;
    font-size: 14px;
}

    .upload-photo-tips__list li {
        position: relative;
        padding-right: 0;
    }

        .upload-photo-tips__list li::before {
            content: "";
            position: absolute;
            right: -18px;
            top: 8px;
            width: 10px;
            height: 10px;
            background-color: #1677ff;
            border-radius: 50%;
        }


.photo-box__file { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }
.form-grid--narrow { grid-template-columns: minmax(0, 420px); }
@media (max-width: 700px) {
    .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- the page of one sponsor (Events/Sponsor)
   The company on a card under the compact hero - the picture of its stand behind, the logo on a white tile, the tier,
   the name - then its text and whatever it left in its booth (teaser, offers, products, pictures, catalogues) down
   the page, with the ways to reach it at the side. */
.sp-hero .breadcrumb { margin-block-end: var(--space-4); }
.sp-hero__card {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--c-border);
    background: var(--c-surface); box-shadow: var(--shadow-card);
}
.sp-hero__picture { display: block; width: 100%; max-height: 320px; object-fit: cover; }
.sp-hero__body { display: flex; align-items: center; gap: var(--space-5); padding: var(--space-5); flex-wrap: wrap; }
.sp-hero__logo { flex: none; width: 160px; min-height: 120px; }
.sp-hero__logo img { max-height: 96px; max-width: 100%; }
/* the text takes what is left beside the logo and drops under it on a phone; a long name or line wraps rather than
   pushing the card wider than the page */
.sp-hero__text { display: grid; gap: var(--space-2); justify-items: start; min-width: 0; flex: 1 1 280px; }
.sp-hero__text > * { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.sp-hero__title { font-size: 26px; }
.sp-body { padding-block: var(--space-6); }
.sp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-5); align-items: start; }
.sp-video { width: 100%; border-radius: var(--radius-sm); background: #000; }
.sp-pictures { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-3); }
.sp-pictures--files { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sp-picture { display: grid; gap: var(--space-2); color: inherit; text-decoration: none; }
.sp-picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--c-neutral-soft); transition: transform .2s; }
.sp-picture:hover img { transform: scale(1.03); }
.sp-picture__caption { font-size: 13px; color: var(--c-text-2); }
.sp-picture--file { grid-template-columns: auto 1fr; align-items: center; padding: var(--space-3); border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.sp-picture__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.sp-facts { display: grid; gap: var(--space-3); font-size: 14px; }
.sp-facts li { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
.sp-facts a { color: var(--c-primary); overflow-wrap: anywhere; }
.sp-visits { display: flex; align-items: center; gap: var(--space-3); }
.sp-visits__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.sp-visits div { display: grid; }
.sp-visits b { font-size: 22px; }
.sp-visits .muted { font-size: 13px; }
.sp-event { display: grid; gap: var(--space-2); color: inherit; text-decoration: none; }
.sp-event .muted { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
@media (max-width: 900px) {
    .sp-grid { grid-template-columns: minmax(0, 1fr); }
    .ev-sponsor-slide { min-height: 0; }
    .ev-sponsor-slide__body { padding: var(--space-5); }
}

/* the news of the congress */
.ev-news__card { overflow: hidden; display: flex; flex-direction: column; }
.ev-news__media { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--c-primary-soft); color: #b9c9ea; }
.ev-news__card .card__body { padding: var(--space-5); flex: 1; }
.ev-news__card h3 { font-size: 16px; }
.ev-news__tag {
    align-self: start; padding: 2px 10px; border-radius: 6px; background: var(--c-primary); color: #fff;
    font-size: 11px; font-weight: 700;
}

/* the newsletter */
.ev-subscribe__box {
    display: flex; align-items: center; gap: var(--space-5); padding: var(--space-6);
    border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: var(--c-primary-soft);
}
.ev-subscribe__icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: var(--radius-lg); background: var(--c-primary); color: #fff; }
.ev-subscribe__box > div { flex: 1; min-width: 0; }
.ev-subscribe__box .btn { flex: none; }

/* ---------------------------------------------------------------- the carousels
   Every band of cards on an event page slides on its own and can be driven by hand. The track is a plain
   horizontal scroller with scroll-snap: the browser does the sliding and a swipe comes for free, so there is
   no transform maths and nothing to recalculate on resize. --cw is the width of one card; how many of them
   fit is left to the width of the page. */
/* min-width:0 because a band lays its container out as a grid, and a grid item's automatic minimum size
   is the min-content size of what is inside it. Without this the track sizes itself to the full run of
   cards instead of to the page, the band grows wider than the page, and there is nothing left to slide:
   the page scrolls sideways instead and the arrows hide themselves as "nothing to slide". */
.carousel {
    position: relative;
    min-width: 0;
    margin-block-end: var(--space-6);
}
.carousel__track {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-block-end: 4px;                 /* so the focus ring of a card is not clipped */
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 var(--cw, 260px); scroll-snap-align: start; }
.carousel__item > * { height: 100%; }
.carousel__track--sm { --cw: 220px; }
.carousel__track--md { --cw: 260px; }
.carousel__track--lg { --cw: 300px; }
.carousel__track--xl { --cw: 460px; }
/* one to a slide, for the names that are read rather than glanced at */
.carousel__track--full { --cw: 100%; }

.carousel__nav {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    position: absolute;
    top: 50%;
    width: 100%;
    justify-content: space-between;
}
.carousel__nav  .prev{
    margin-right: -30px;
}
    .carousel__nav .next {
        margin-left: -30px;
    }
/* on a phone the container has 16px of gutter and the 30px the arrows hang out by made the page 14px wider than
   the screen (a sideways scroll on every event page): there the arrows stay inside the row */
@media (max-width: 900px) {
    .carousel__nav .prev, .carousel__nav .next { margin: 0; }
}
.carousel__btn {
    display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
    border: 1px solid var(--c-border-strong); border-radius: 50%;
    background: var(--c-surface); color: var(--c-text-2); cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.carousel__btn:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
/* nothing to slide: the cards fit on the page as they are, so the arrows would be a lie */
.carousel.is-static .carousel__nav { display: none; }

@media (max-width: 1080px) {
    .ev-masthead__inner { grid-template-columns: minmax(0, 1fr); }
    .ev-masthead__card { justify-items: start; text-align: start; }
    .ev-masthead__facts { justify-content: flex-start; }
    .ev-about__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .ev-section { padding-block: var(--space-6); }
    /* the bar keeps to the top on a narrow page too - the mock-up's does - but it gives up a row of its padding to
       leave the reader a little more of the screen */
    .ev-quick { padding-block: var(--space-2); }
    .ev-masthead__main { padding-block: var(--space-6) var(--space-5); }
    .ev-masthead__row { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
    .ev-masthead__title { font-size: 26px; }
    .ev-masthead__sub { font-size: 15px; }
    .ev-masthead__count b { font-size: 32px; }
    .ev-platinum, .ev-subscribe__box { flex-direction: column; align-items: flex-start; }
    .ev-subscribe__box .btn, .ev-platinum .btn { width: 100%; }
    /* the groups of sponsors, two to a row on a wide page, are one to a row on a narrow one: half of a phone is not
       a card to read a name on */
    .ev-sponsors__groups { grid-template-columns: 1fr; }
    .carousel__item { flex-basis: min(var(--cw, 260px), 78%); }
    /* The first group is one name to a slide and means to fill the page it is on, as the bands above do. The rank is
       left at four to a row, which at the width of a phone is two - a name in a quarter of a phone is not a name. */
    .ev-sponsors__groups > :first-child .carousel__item { flex-basis: 100%; }
    .ev-sponsors__group:not(:first-child) .carousel__track { --cw: calc((100% - var(--space-3)) / 2); }
}


/* the programme of an event (owner's mock-up): a short hero, days | halls tabs + session cards */
.event-hero--compact {
    position: relative;
    overflow: hidden;
    background-image: url(/Content/site/img/event/H03.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1536 / 173;
    opacity: 1;
    transition: grid-template-rows .35s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}
.event-hero--compact__inner {
    position: relative;
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    min-height: 0;
    height: 100%;
}
    .event-hero--compact__inner .breadcrumb {
        margin-block-start: 14px;
    }
.event-hero--compact .event-hero__facts {
    height: 100%;
    align-items: flex-start;
    flex-direction: column;
    justify-content: end
}
.event-hero--compact .event-hero__text {
    padding-block: var(--space-4) var(--space-5);
    gap: var(--space-3);
    flex-direction: row-reverse;
    height: 100%;
    align-items: center;
}
.event-hero--compact .event-hero__media { min-height: 200px; }
.event-hero__title--sm { font-size: 30px; }
.program {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: var(--space-5);
    align-items: start;
    padding-block: 0px var(--space-7);

}
.program__body {
    position: relative;
    overflow: hidden;
    /* The tall strip of the mock-up, hard against the right and the bottom of the page so that it runs off both
       edges instead of floating inside them. The white card stands over the middle of it and leaves it showing down
       the right-hand margin and along the foot of the page - which is the whole of it, since a strip this narrow has
       nowhere else to be seen from. */
    background: linear-gradient(to right, #eff6fc 40%, #ffffff 60%, #ffffff 100%)
}
.program__head {
    display: flex;
    align-items: flex-start;
    justify-content: start;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-block-end: var(--space-4);
}
.program__child {

    border-radius: var(--radius);
    background-color: white;
padding:var(--space-7)

}
.page-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 22px;
}
.page-title .icon { color: var(--c-primary); }
/* The days of the congress as a timeline: a rail down the side of the card with a bead on it for each day and the
   name beside the bead. The gutter the rail and the beads sit in is padding on the day itself, not on the button
   inside it, so that the button's own fill - the one that says which day is being read - stops short of the rail
   instead of covering it. The rail is drawn from each bead down to the one below it rather than once down the whole
   list, so it ends where the last day is whatever height the days happen to be, and it is put on the inline-start
   side so that it stands on the right of the card in Persian and on the left in English without a second rule. */
.day-list__items { list-style: none; margin: 0; padding: var(--space-2) var(--space-3) var(--space-3); }
.day-list__items > li { position: relative; padding-inline-start: 25px; }
.day-list__items > li::before {
    content: ""; position: absolute; inset-inline-start: 16px; inset-block-start: 25px; inline-size: 15px; block-size: 15px;
    border-radius: 50%; background: var(--c-border-strong);
}
/* The bead of the day being read: filled in the brand colour and ringed in white, which is the card showing through
   the ring. The ring is a box-shadow rather than a border because a border would add a pixel to the box and this
   bead would end up a size larger than the beads either side of it, breaking the line up. It is the one place in
   the sheet that reaches out of the day for its state, because the class is on the button inside and the bead is on
   the day outside, and :has() is the only way across that from here. */
.day-list__items > li:has(.is-active)::before { background: var(--c-primary); box-shadow: 0 0 0 3px #fff; }
.day-list__items > li:not(:last-child)::after {
    content: ""; position: absolute; inset-inline-start: 22px; inset-block-start: 40px; inset-block-end: -25px; inline-size: 3px;
    background: var(--c-border); border-radius: 1px;
}
.program__empty { padding: var(--space-6); text-align: center; color: var(--c-muted); }
.program__empty[hidden] { display: none; }
.day-list__day { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 10px 14px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--c-text-2); cursor: pointer; text-align: start; font-size: 14px; }
.day-list__day span { font-size: 12px; color: var(--c-muted); }
.day-list__day:hover { background: var(--c-row-hover); }
.day-list__day.is-active { background: var(--c-primary); color: #fff; font-weight: 700; } .day-list__day.is-active span { color: rgba(255, 255, 255, .8); }
.print-card { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-4); cursor: pointer; text-align: start; font: inherit; color: var(--c-text); }
.print-card:hover { border-color: var(--c-primary); }
.print-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--c-primary-soft); color: var(--c-primary); flex: none; }
.print-card small { display: block; font-size: 12px; }
.hall-tabs { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; margin-block-end: var(--space-4); }
.hall-tabs::-webkit-scrollbar { display: none; }
.hall-tabs__tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-width: 130px; min-height: 52px; padding: 8px 14px; border: 1px solid var(--c-primary-soft-darker); border-radius: var(--radius); background: var(--c-primary-soft-lightest); color: var(--c-text-2); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.hall-tabs__tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.hall-tabs__tab.is-active { background: var(--c-text); border-color: var(--c-text); color: #fff; }
.program__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-block-end: var(--space-4); }
.program__day-title { display: flex; align-items: center; gap: var(--space-2); font-size: 17px; color: var(--c-primary); }
.switch { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 13px; color: var(--c-muted); cursor: pointer; }
.switch input { width: 36px; height: 20px; appearance: none; border-radius: 10px; background: var(--c-border-strong); position: relative; cursor: pointer; transition: background .15s; }
.switch input::after { content: ""; position: absolute; inset-block-start: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--c-primary); } .switch input:checked::after { transform: translateX(16px); }
html[dir="rtl"] .switch input:checked::after { transform: translateX(-16px); }
.live-links { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-block-end: var(--space-4); }
.sessions { display: flex; flex-direction: column; gap: var(--space-4); }
.session[hidden] { display: none; }
.session__head {
   
    align-items: center;
   
    padding: var(--space-1) var(--space-4);
   
    background: var(--c-primary-soft-lightest);
    border-start-start-radius: var(--radius);
    border-end-start-radius: var(--radius);
}
.session__head_container {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border-inline-start: 4px solid var(--c-primary);
    padding-right:var(--space-4)
}
.session__toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: var(--c-primary-soft);
    color: var(--c-primary);
    cursor: pointer;
    flex: none;
    transition: transform .2s;
}
.session.is-open .session__toggle { transform: rotate(180deg); }
.session__code { padding: 4px 12px; border-radius: var(--radius-sm); background: var(--c-neutral-soft); font-size: 13px; font-weight: 700; color: var(--c-text-2); flex: none; }
.session__title {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-left: 40px;
}
.session__title strong { font-size: 16px; }
.session__title .muted { font-size: 13px; }
.session__time { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--c-text); flex: none; }
.session__hall { flex: none; }
.session__body { border-block-start: 1px solid var(--c-border); }
.session__body[hidden] { display: none; }
.session__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4) var(--space-5); padding: var(--space-4); }
.session__chair, .session__board { display: flex; flex-direction: column; gap: var(--space-2); font-size: 14px; }
.session__board ul { display: flex; flex-direction: column; gap: 4px; }
.session__board li { display: flex; align-items: center; gap: 6px; }
.session__board .icon { color: var(--c-muted); }
.session__text { grid-column: 1 / -1; font-size: 14px; color: var(--c-text-2); }
.session__tools { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.person { display: flex; align-items: center; gap: var(--space-3); }
.person__text { display: flex; flex-direction: column; min-width: 0; }
.person__text .muted { font-size: 13px; }
.avatar--lg { width: 56px; height: 56px; }
/* --- programme: the people with their photos (presenters, co-presenters, board, speakers) ------------------------ */
.avatar--sm { width: 28px; height: 28px; }
.person--sm { gap: var(--space-2); font-size: 13px; }
.person--sm .person__text { display: block; }
.person-list { display: flex; flex-direction: column; gap: 6px; }
.session__speakers { display: flex; flex-direction: column; gap: var(--space-2); font-size: 14px; }
.session__speakers .person-list { gap: var(--space-2); }
.table--presentations .table__people { min-width: 150px; }
.avatar-stack { display: flex; flex-direction: column; gap: 4px; }
.avatar-stack__row { display: flex; align-items: center; }
.avatar-stack__row .avatar { box-shadow: 0 0 0 2px var(--c-surface); }
.avatar-stack__row .avatar + .avatar { margin-inline-start: -8px; }
.avatar-stack__more { display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--c-text-2); }
.avatar-stack small { font-size: 12px; }
/* --- end programme people --------------------------------------------------------------------------------------- */
.vote { display: inline-flex; gap: 4px; }
.vote__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 10px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-surface); color: var(--c-muted); font: inherit; font-size: 13px; cursor: pointer; }
.vote__btn:hover:not([disabled]) { border-color: var(--c-success); color: var(--c-success); }
.vote__btn--down:hover:not([disabled]) { border-color: var(--c-danger); color: var(--c-danger); }
.vote__btn.is-on { background: var(--c-success-soft); border-color: var(--c-success); color: var(--c-success-hover); }
.vote__btn--down.is-on { background: var(--c-danger-soft); border-color: var(--c-danger); color: var(--c-danger); }
.vote__btn[disabled] { cursor: default; opacity: .7; }
.table-wrap { overflow-x: auto; padding: 0; }
.table--presentations { width: 100%; border-collapse: collapse; font-size: 14px; }
.table--presentations th { padding: 10px 12px; background: var(--c-row-hover); color: var(--c-muted); font-size: 12px; font-weight: 700; text-align: start; white-space: nowrap; }
.table--presentations td { padding: 10px 12px; border-block-start: 1px solid var(--c-border); vertical-align: top; }
.table--presentations .table__title small { display: block; font-size: 12px; }
.table__files { display: flex; gap: 4px; align-items: center; }
.file-link { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: var(--radius-sm); background: var(--c-primary-soft); color: var(--c-primary); cursor: pointer; }
.file-link:hover { background: var(--c-primary); color: #fff; }
.file-link.is-disabled { background: var(--c-neutral-soft); color: var(--c-muted); cursor: default; }
.player { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--space-4); background: rgba(15, 23, 42, .8); }
.player[hidden] { display: none; }
.player__box { position: relative; width: min(960px, 100%); }
.player__video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); }
.player__close { position: absolute; inset-block-start: -48px; inset-inline-end: 0; background: var(--c-surface); }
.player__note { margin-block-start: var(--space-2); color: #fff; text-align: center; }

/* a dialog: [data-*-dialog] over the page, filled by the <template> of the row that opened it */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: var(--space-4); background: rgba(15, 23, 42, .8); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(720px, 100%); max-height: calc(100vh - 2 * var(--space-4)); overflow: auto; overscroll-behavior: contain; background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-pop); }
.modal__close { position: absolute; inset-block-start: var(--space-4); inset-inline-end: var(--space-4); }
.modal__head { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); padding-inline-end: 72px; border-block-end: 1px solid var(--c-border); }
.modal__head > div { min-width: 0; flex: 1; }
.modal__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--c-primary-soft); color: var(--c-primary); }
.modal__title { font-size: 18px; line-height: 1.4; }
.modal__body { padding: var(--space-5); }
.modal__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding: var(--space-4) var(--space-5); border-block-start: 1px solid var(--c-border); background: var(--c-neutral-soft); }

/* the same dialog holding one picture ([data-lightbox]): the picture keeps its own proportions, so a scan of
   a page of a document is read whole - the head names the document, the foot holds the full size address */
.lightbox__box { width: min(960px, 100%); }
.lightbox__body { padding: var(--space-4); }
.lightbox__img { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: var(--radius-sm); background: var(--c-neutral-soft); }

/* the archive of articles (owner's mock-up): filters | search bar, rows, pagination | preview of the selected row */
.page-banner--archive {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
    background-image: url(/Content/site/img/article/B01.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1536 / 143;
    margin-block-end: var(--space-3);
}
.page-banner__aside { display: inline-flex; align-items: center; gap: var(--space-2); padding: 10px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .16); font-weight: 700; }
.breadcrumb--light, .breadcrumb--light li:last-child, .breadcrumb--light a, .breadcrumb--light li + li::before { color: rgba(255, 255, 255, .85); }
.breadcrumb--light + h1 { margin-block-start: var(--space-2); }
.archive {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 340px;
    gap: var(--space-4);
    align-items: start;
}
/* ---- the filter panel (right column) ---- */
.filter-panel { padding: var(--space-4); display: flex; flex-direction: column; }
/* the drawers separate themselves with a rule, so the panel does not add a gap on top of the rules */
.filter-panel > .btn { margin-block-start: var(--space-4); }
.filter-panel__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding-block-end: var(--space-3); border-block-end: 1px solid var(--c-border); }
.filter-panel__title {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    -webkit-text-stroke: medium;
}
html[dir="ltr"] .filter-panel__title {
    -webkit-text-stroke: unset;
}
.article-row__details {
    width: 100%;
    display: flex;
    justify-content: end;
    flex: 1;
}
.filter-panel__title .icon { color: var(--c-primary); }
.filter-panel__reset {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    border-right-color: var(--c-neutral-soft);
    border-right-style: solid;
    padding-right: 15px;
    font-weight: bolder;
}
.filter-panel__reset:hover { color: var(--c-danger); text-decoration: underline; }
/* ---- one filter group: a drawer that opens and closes ---- */
.filter-group { margin: 0; padding: 0; border: 0; border-block-start: 1px solid var(--c-border); }
.filter-group:first-of-type { border-block-start: 0; }
.filter-group__head { display: flex; align-items: center; gap: var(--space-2); padding-block: var(--space-3); cursor: pointer; list-style: none; user-select: none; }
.filter-group__head::-webkit-details-marker { display: none; }
.filter-group__head:hover .filter-group__title { color: var(--c-primary); }
.filter-group__head:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: var(--radius-sm); }
.filter-group__title { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: var(--c-text); }
.filter-group__title .icon { color: var(--c-primary); }
/* the chevron turns with the drawer; icon--dir is not used here because this is a place on the page, not a step */
.filter-group__chevron { flex: none; color: var(--c-muted); transition: transform .18s ease; }
.filter-group[open] > .filter-group__head .filter-group__chevron { transform: rotate(180deg); }
/* how many boxes of this group are held, shown by the script once the visitor ticks one */
.filter-group__badge { flex: none; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
.filter-group__badge[hidden] { display: none; }
.filter-group__body { padding-block-end: var(--space-3); }
.checkbox-list { display: flex; flex-direction: column; gap: var(--space-2); max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
.checkbox-list .check { display: flex; align-items: center; gap: var(--space-2); font-size: 13px; cursor: pointer; }
.checkbox-list .check > span:first-of-type { flex: 1; min-width: 0; }
.checkbox-list .check input[type="checkbox"] { width: 16px; height: 16px; flex: none; accent-color: var(--c-primary); }
/* "all" is not one of the values, it is the absence of them: a slimmer line above the real choices */
.check--all { padding-block-end: var(--space-2); border-block-end: 1px dashed var(--c-border); font-weight: 700; color: var(--c-text); }
.item-count { flex: none; font-size: 11px; color: var(--c-muted); }
/* ---- a long list of choices: a box to narrow it and a button past the tenth row ----
   The list is the scroll box (max-height above), so the search sticks to its top and the button sits at its end.
   Every rule that shows one of these has to beat a display set further up: .checkbox-list paints .check flex and
   .facet-more is a button, so [hidden] alone would not take them off the page. */
.facet-search { position: sticky; inset-block-start: 0; z-index: 1; display: flex; align-items: center; gap: 6px; padding: 7px 8px; border: 1px solid var(--c-border-strong); border-radius: var(--radius-sm); background: var(--c-surface); }
.facet-search__icon { flex: none; color: var(--c-muted); }
.facet-search__input { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; outline: 0; font-size: 12px; }
.facet-search__input::placeholder { color: var(--c-muted); }
.facet-search__input::-webkit-search-cancel-button { filter: grayscale(1) opacity(.6); cursor: pointer; }
.facet-options { display: flex; flex-direction: column; gap: var(--space-2); }
.facet-options > .check[hidden] { display: none; }
.facet-more { position: sticky; inset-block-end: 0; z-index: 1; display: block; width: 100%;text-align:right; padding: 7px 8px; border: 1px dashed var(--c-border-strong); border-radius: var(--radius-sm); background: var(--c-surface); color: var(--c-primary); font-size: 12px; font-weight: 700; cursor: pointer; }
.facet-more:hover { border-color: var(--c-primary); background: var(--c-primary-soft); }
.facet-more[hidden] { display: none; }
.facet-empty { font-size: 12px; color: var(--c-muted); text-align: center; }
.facet-empty[hidden] { display: none; }
/* ---- the year range: two ends of one track, the numbers live in the hidden fields ---- */
.year-range { display: flex; flex-direction: column; }
.slider { position: relative; height: 24px; margin-block: var(--space-2); }
.slider__track { position: absolute; inset-inline: 0; inset-block-start: 50%; height: 6px; transform: translateY(-50%); border-radius: 3px; background: var(--c-border-strong); }
.slider__fill { position: absolute; inset-block-start: 50%; height: 6px; transform: translateY(-50%); border-radius: 3px; background: var(--c-primary); }
.slider__input { position: absolute; inset-inline: 0; inset-block: 0; width: 100%; margin: 0; background: none; appearance: none; pointer-events: none; }
/* both thumbs sit on the same track, so the one being dragged has to be the one under the pointer: the thumbs of the
   "to" end are raised above the "from" end, and the script lowers them on that end while it is being dragged */
.slider__input--to { z-index: 2; }
.slider__input--to.is-active { z-index: 3; }
.slider__input--from.is-active { z-index: 3; }
.slider__input::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--c-surface); border: 2px solid var(--c-primary); box-shadow: var(--shadow-card); cursor: grab; pointer-events: auto; }
.slider__input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--c-surface); border: 2px solid var(--c-primary); box-shadow: var(--shadow-card); cursor: grab; pointer-events: auto; }
.slider__input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--c-primary-soft); }
.range-values { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--c-primary); }
.archive__select { min-height: 44px; }
/* ---- the search bar (top of the middle column) ---- */
.archive__bar { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; padding: var(--space-3) var(--space-4); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.archive__search { flex: 1; min-width: 220px; }
.archive__search.input-group { min-width: 0; }
.input-group__btn--primary { width: 110px; background: var(--c-primary); color: #fff; }
.archive__sort { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 13px; }
.archive__sort .input { min-height: 44px; width: 220px; }
.view-toggle { display: inline-flex; border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--c-surface); color: var(--c-muted); cursor: pointer; }
.view-toggle__btn.is-active { background: var(--c-primary); color: #fff; }
.archive__count {
    margin-block-end: var(--space-3);
    margin-block-start: var(--space-3);
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text);
}
.white-shadow {
    position: relative;
    isolation: isolate;
}

    .white-shadow::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0px 0px;
        background: #fff;
        filter: blur(8px);
        opacity: 0.7;
        pointer-events: none;
    }
/* ---- the rows ---- */
.article-list { display: flex; flex-direction: column; gap: var(--space-3); }
.article-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: var(--space-4); padding: var(--space-4); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.article-row:hover { border-color: var(--c-primary); }
    .article-row.is-selected {
        border-right-color: var(--c-primary);
        box-shadow: 0 0 0 3px var(--c-primary-soft);
        border-right-width: 4px;
    }
.article-row__thumb { position: relative; display: block; aspect-ratio: 4 / 5; border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; background: var(--c-neutral-soft); }
.article-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-row__doc { display: grid; place-items: center; width: 100%; height: 100%; color: var(--c-primary); background: linear-gradient(135deg, #eef3ff, #e3ecff); }
.badge--pdf { position: absolute; inset-block-end: 8px; inset-inline-end: 8px; min-height: 22px; padding: 0 8px; border-radius: 4px; background: var(--c-danger); color: #fff; font-size: 11px; font-weight: 800; }
.article-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.article-row__chips { gap: var(--space-2); }
.article-row__chips:empty { display: none; }
.badge--green, .badge--blue { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge--green { background: var(--c-success-soft); color: var(--c-success-hover); }
.badge--blue { background: var(--c-primary-soft); color: var(--c-primary); }
.article-row__title { font-size: 14px; line-height: 1.4; font-weight: 700; color: var(--c-text); }
.article-row__title a:hover { color: var(--c-primary); }
.article-row__writers { font-size: 12px; color: var(--c-muted); }
.article-row__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); font-size: 11px; color: var(--c-muted); }
    .article-row__meta li {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--c-text);
    }
/* the counters sit in their own column with a dashed rule, as in the mock-up */
.article-row__stats { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); min-width: 90px; padding-inline-start: var(--space-4); border-inline-start: 1px dashed var(--c-border-strong); font-size: 12px; color: var(--c-muted); white-space: nowrap; }
.article-row__date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--c-text);
    font-weight: 600;
}
.article-row__icons { display: flex; flex-direction: column; gap: 6px; color:var(--c-text) }
.article-row__icons span { display: inline-flex; align-items: center; gap: 6px; }
.article-row__open { display: grid; place-items: center; width: 28px; height: 28px; margin-block-start: auto; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); transition: background .15s, color .15s; }
.article-row__open:hover { background: var(--c-primary); color: #fff; }
.chip--violet { background: var(--c-violet-soft); color: var(--c-violet); }
.chip--info { background: var(--c-primary-soft); color: var(--c-primary); }
/* the keywords of an article (conf.DutyArticle.Keywords): small tags, each a search */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 12px; background: var(--c-neutral-soft); color: var(--c-text-2); font-size: 11px; }
a.tag:hover { background: var(--c-primary-soft); color: var(--c-primary); }
/* grid view: cards */
.article-list--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.article-list--grid .article-row { grid-template-columns: minmax(0, 1fr); }
.article-list--grid .article-row__thumb { aspect-ratio: 16 / 9; }
.article-list--grid .article-row__stats { flex-direction: row; flex-wrap: wrap; align-items: center; min-width: 0; padding: var(--space-2) 0 0; border: 0; border-block-start: 1px solid var(--c-border); }
.article-list--grid .article-row__icons { flex-direction: row; }
.article-list--grid .article-row__open { margin-block-start: 0; }
/* ---- the panel of the selected row (left column) ---- */
.preview__head { padding: var(--space-4); border-block-end: 1px solid var(--c-border); }
.preview__head h3 { display: flex; align-items: center; gap: var(--space-2); font-size: 15px; font-weight: 700; color: var(--c-text); }
.preview__body { padding: var(--space-4); }
.preview .stack > * + * { margin-block-start: var(--space-3); }
.preview__thumb { position: relative; display: grid; place-items: center; aspect-ratio: 8 / 6; border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; background: var(--c-neutral-soft); }
.preview__thumb img { width: 80%; height: 90%; object-fit: contain; box-shadow: var(--shadow-card); }
.preview__title { font-size: 13px; line-height: 1.4; font-weight: 700; color: var(--c-text); }
.preview__writers { font-size: 11px; color: var(--c-muted); }
.preview__facts { display: flex; flex-direction: column; gap: var(--space-2); font-size: 11px; color: var(--c-text-2); }
.preview__facts li { display: flex; align-items: flex-start; gap: 6px; }
.preview__facts .icon { flex: none; margin-block-start: 2px; color: var(--c-primary); }
.preview__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; background: var(--c-bg); border-radius: var(--radius-sm); }
.preview__stats span { display: flex; flex-direction: column; gap: 2px; padding: var(--space-3) var(--space-2); align-items:center; justify-content:center }
.preview__stats span + span { border-inline-start: 1px solid var(--c-border); }
.preview__stats b { font-size: 14px; color: var(--c-text); } .preview__stats small { font-size: 10px; color: var(--c-muted); }

/* the page of one article: side | text | writers and related */

.page-banner--article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
    background-image: url(/Content/site/img/article/F3.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 7120 / 640;
    margin-block-end:16px;
}
.page-banner--article__breadcrumb {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.article-page {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 300px;
    gap: var(--space-5);
    align-items: start;
}

    .article-thumb {
        position: relative;
        aspect-ratio: 3 / 4;
        border-radius: var(--radius-sm);
        overflow: hidden;
        background: var(--c-neutral-soft);
    }

        .article-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .article-stats .counter {
        padding: var(--space-3);
    }

    .card-title {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        margin-block-end: var(--space-3);
        font-size: 15px;
        color: var(--c-primary);
    }

    .facts-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        font-size: 14px;
        color: var(--c-text-2);
    }

        .facts-list li {
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .facts-list .icon {
            color: var(--c-primary);
            margin-block-start: 4px;
        }

    .article-title {
        font-size: 24px;
        line-height: 1.6;
        color: var(--c-primary);
    }

    .article-writers {
        font-size: 15px;
        color: var(--c-text-2);
    }

        .article-writers span + span::before {
            content: "ØŒ ";
        }

    html[dir="ltr"] .article-writers span + span::before {
        content: ", ";
    }

    .article-writers sup {
        color: var(--c-primary);
        font-size: 11px;
    }

    .article-affiliations {
        padding-inline-start: var(--space-5);
        font-size: 13px;
        color: var(--c-muted);
        list-style: decimal;
    }

    .tabs--scroll {
        overflow-x: auto;
        scrollbar-width: none;
    }

        .tabs--scroll::-webkit-scrollbar {
            display: none;
        }

        .tabs--scroll .tabs__tab {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            flex: 1 0 auto;
            white-space: nowrap;
        }

    .article-part + .article-part {
        margin-block-start: var(--space-4);
        padding-block-start: var(--space-4);
        border-block-start: 1px solid var(--c-border);
    }

    .article-part h3 {
        margin-block-end: var(--space-2);
        font-size: 16px;
    }

    .file-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
    }

        .file-list a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            border: 1px solid var(--c-border);
            border-radius: var(--radius-sm);
        }

    .cite {
        padding: var(--space-4);
        border: 1px solid #cfe0ff;
        border-radius: var(--radius-sm);
        background: var(--c-primary-soft);
        font-size: 14px;
    }

    .cite__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-2);
        margin-block-end: var(--space-2);
    }

        .cite__head strong {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--c-primary);
        }

    .writer-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

        .writer-list li {
            display: flex;
            align-items: center;
            gap: var(--space-3);
            font-size: 14px;
        }

            .writer-list li > div {
                flex: 1;
                min-width: 0;
                display: flex;
                flex-direction: column;
            }

        .writer-list small {
            font-size: 12px;
        }

    .related-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        margin-block-end: var(--space-3);
    }

        .related-list li {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            gap: 4px 8px;
            font-size: 14px;
        }

            .related-list li .icon {
                color: var(--c-primary);
                margin-block-start: 4px;
            }

        .related-list small {
            grid-column: 2;
            font-size: 12px;
        }

    [data-copy].is-copied {
        border-color: var(--c-success);
        color: var(--c-success-hover);
    }
    /* the request to join the association (owner's mock-up): a stepper, four steps of one form, the card preview */
    .stepper {
        display: flex;
        margin: 0 0 var(--space-5);
        padding: 0;
        list-style: none;
    }

    .stepper__step {
        position: relative;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding-block-start: 46px;
        text-align: center;
        font-size: 14px;
    }

        .stepper__step small {
            font-size: 12px;
        }

        .stepper__step::before {
            content: "";
            position: absolute;
            inset-block-start: 17px;
            inset-inline-start: 50%;
            width: 100%;
            height: 2px;
            background: var(--c-border-strong);
        }

        .stepper__step:last-child::before {
            display: none;
        }

    .stepper__dot {
        position: absolute;
        inset-block-start: 0;
        inset-inline-start: calc(50% - 18px);
        z-index: 1;
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border: 2px solid var(--c-border-strong);
        border-radius: 50%;
        background: var(--c-surface);
        color: var(--c-muted);
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }

        .stepper__dot .icon {
            display: none;
        }

    .stepper__step.is-active .stepper__dot {
        border-color: var(--c-primary);
        background: var(--c-primary);
        color: #fff;
        box-shadow: 0 0 0 5px var(--c-primary-soft);
    }

    .stepper__step.is-active strong {
        color: var(--c-primary);
    }

    .stepper__step.is-done .stepper__dot {
        border-color: var(--c-primary);
        background: var(--c-primary);
        color: #fff;
    }

        .stepper__step.is-done .stepper__dot span {
            display: none;
        }

        .stepper__step.is-done .stepper__dot .icon {
            display: block;
        }

    .stepper__step.is-done::before {
        background: var(--c-primary);
    }

    .stepper--status .stepper__dot {
        cursor: default;
    }

    .wizard__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: var(--space-5);
        align-items: start;
    }

    .wizard__step[hidden] {
        display: none;
    }

    .wizard__head {
        display: flex;
        align-items: center;
        gap: var(--space-3);
    }

        .wizard__head h2 {
            font-size: 20px;
        }

        .wizard__head h3 {
            font-size: 16px;
        }

        .wizard__head p {
            font-size: 13px;
        }

    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-4);
    }

        .form-grid .field + .field {
            margin-block-start: 0;
        }

    .wizard .field + .field {
        margin-block-start: 0;
    }

    .req {
        color: var(--c-danger);
    }

    .field.is-invalid .input--bare {
        border-color: var(--c-danger);
    }

    .wizard__nav {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        flex-wrap: wrap;
        margin-block-start: var(--space-4);
    }

    .wizard__save {
        margin-inline-start: auto;
    }

    .degree-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

    .degree {
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
    }

        .degree[hidden] {
            display: none;
        }

    .degree__head {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        width: 100%;
        padding: 12px 16px;
        border: 0;
        background: transparent;
        font: inherit;
        cursor: pointer;
        text-align: start;
    }

        .degree__head .icon:first-child {
            color: var(--c-primary);
        }

        .degree__head .icon:last-child {
            margin-inline-start: auto;
            transition: transform .2s;
        }

    .degree.is-open .degree__head .icon:last-child {
        transform: rotate(180deg);
    }

    .degree__body {
        display: none;
        padding: 0 var(--space-4) var(--space-4);
    }

    .degree.is-open .degree__body {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

    .details summary {
        cursor: pointer;
        font-weight: 700;
        color: var(--c-primary);
        padding: var(--space-2) 0;
    }

    .details .form-grid {
        margin-block-start: var(--space-3);
    }

    .upload-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

    .upload {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr) auto auto;
        gap: var(--space-2) var(--space-3);
        align-items: center;
        padding: var(--space-3) var(--space-4);
        border: 1px dashed var(--c-border-strong);
        border-radius: var(--radius);
        background: var(--c-surface);
    }

        .upload.has-file {
            border-style: solid;
            border-color: var(--c-success);
            background: var(--c-success-soft);
        }

        .upload.is-invalid {
            border-color: var(--c-danger);
        }

        .upload.is-busy {
            opacity: .6;
        }

    .upload__label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 700;
    }

        .upload__label .icon {
            color: var(--c-primary);
        }

    .upload__file {
        font-size: 13px;
        color: var(--c-text-2);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .upload__remove {
        display: none;
    }

    .upload.has-file .upload__remove {
        display: inline-grid;
    }

    .upload__hint {
        grid-column: 1 / -1;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
    }

    .upload [data-upload-error] {
        grid-column: 1 / -1;
        display: none;
    }

    .upload.is-invalid [data-upload-error] {
        display: block;
    }

    .review {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

    .review__block {
        position: relative;
        padding: var(--space-4);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        background: var(--c-row-hover);
    }

        .review__block h4 {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-block-end: var(--space-3);
            font-size: 15px;
            color: var(--c-primary);
        }

        .review__block .link-more {
            position: absolute;
            inset-block-start: var(--space-3);
            inset-inline-end: var(--space-4);
            border: 0;
            background: transparent;
            cursor: pointer;
        }

        .review__block .facts {
            grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
        }

    .review__files {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
        font-size: 13px;
    }

        .review__files li {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: var(--radius-sm);
            background: var(--c-surface);
            border: 1px solid var(--c-border);
        }

    .review__confirm {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        padding: var(--space-4);
        border: 1px solid #cfe0ff;
        border-radius: var(--radius);
        background: var(--c-primary-soft);
    }

        .review__confirm h4 {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
            color: var(--c-primary);
        }

        .review__confirm.is-invalid {
            border-color: var(--c-danger);
        }

    .member-card {
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid var(--c-border);
        box-shadow: var(--shadow-card);
    }

    .member-card__head {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        padding: var(--space-4);
        background: linear-gradient(135deg, #0b2a6f, #1648e8);
        color: #fff;
    }

        .member-card__head strong {
            display: block;
            font-size: 14px;
        }

        .member-card__head small {
            display: block;
            font-size: 10px;
            opacity: .85;
            direction: ltr;
            text-align: start;
        }

    .member-card__logo {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #fff;
        object-fit: contain;
        flex: none;
    }

    .member-card__body {
        position: relative;
        padding: var(--space-4);
        padding-inline-start: 120px;
        min-height: 150px;
        background: var(--c-surface);
    }

    .member-card__photo {
        position: absolute;
        inset-block-start: -28px;
        inset-inline-start: var(--space-4);
        width: 84px;
        height: 84px;
        border-radius: 50%;
        border: 4px solid #fff;
        object-fit: cover;
        background: var(--c-neutral-soft);
        box-shadow: var(--shadow-card);
    }

    .member-card__name strong {
        display: block;
        font-size: 16px;
        color: var(--c-primary);
    }

    .member-card__name small {
        display: block;
        font-size: 12px;
        color: var(--c-muted);
    }

    .member-card__facts {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-block: var(--space-3);
        font-size: 13px;
        color: var(--c-text-2);
    }

        .member-card__facts li {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .member-card__facts .icon {
            color: var(--c-primary);
        }

    .member-card__foot {
        padding-block-start: var(--space-2);
        border-block-start: 1px dashed var(--c-border);
        font-size: 13px;
    }

    .progress {
        font-size: 13px;
        color: var(--c-text-2);
    }

    .progress__bar {
        height: 8px;
        margin-block-start: 6px;
        border-radius: 4px;
        background: var(--c-neutral-soft);
        overflow: hidden;
    }

        .progress__bar span {
            display: block;
            height: 100%;
            border-radius: 4px;
            background: var(--c-primary);
            transition: width .3s;
        }

    .sent {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
        padding: var(--space-6) var(--space-4);
        text-align: center;
    }

    .sent__icon {
        display: grid;
        place-items: center;
        width: 84px;
        height: 84px;
        border-radius: 50%;
        background: var(--c-success-soft);
        color: var(--c-success);
        box-shadow: 0 0 0 12px #f0faf5;
    }

    .sent h2 {
        font-size: 26px;
        color: var(--c-primary);
    }

    .sent p {
        max-width: 60ch;
    }

    .status-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: var(--space-5);
        align-items: start;
    }

    .status-facts .counter {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .status-facts .counter__value {
        font-size: 18px;
    }

    .status-facts .counter__label {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .rich-text {
        font-size: 15px;
        line-height: 1.9;
        color: var(--c-text-2);
    }

        .rich-text img {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius-sm);
        }

        .rich-text p + p, .rich-text ul, .rich-text ol {
            margin-block-start: var(--space-3);
        }

        .rich-text ul, .rich-text ol {
            padding-inline-start: var(--space-5);
            list-style: revert;
        }

        .rich-text table {
            width: 100%;
            border-collapse: collapse;
        }

        .rich-text td, .rich-text th {
            padding: 8px 12px;
            border: 1px solid var(--c-border);
        }

    .person-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-4);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        background: var(--c-surface);
        text-align: center;
        font-size: 14px;
    }

    .logo-card {
        display: grid;
        place-items: center;
        min-height: 90px;
        padding: var(--space-3);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        background: var(--c-surface);
    }

        .logo-card img {
            max-height: 64px;
            width: auto;
            object-fit: contain;
        }

    .logo-card__name {
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        color: var(--c-text-2);
    }
    /* alert */
    .alert {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--c-border);
        background: var(--c-row-hover);
        font-size: 13px;
        color: var(--c-text-2);
    }

    .alert--info .icon {
        color: var(--c-primary);
    }

    .alert--danger {
        background: var(--c-danger-soft);
        border-color: #f7c9cd;
        color: var(--c-danger);
    }

    .alert--success {
        background: var(--c-success-soft);
        border-color: #bfe8d6;
        color: var(--c-success-hover);
    }
    /* forms */
    .field {
        display: block;
    }

        .field + .field {
            margin-block-start: var(--space-5);
        }

    .field__label {
        display: block;
        margin-block-end: var(--space-2);
        font-size: 14px;
        font-weight: 700;
    }

    .field__hint, .field__error {
        display: block;
        margin-block-start: 6px;
        font-size: 12px;
        color: var(--c-muted);
    }

    .field__error {
        color: var(--c-danger);
    }

    .input-group {
        display: flex;
        align-items: stretch;
        border: 1px solid var(--c-border-strong);
        border-radius: var(--radius-sm);
        background: var(--c-surface);
        overflow: hidden;
        transition: border-color .15s, box-shadow .15s;
    }

        .input-group:focus-within {
            border-color: var(--c-primary);
            box-shadow: 0 0 0 3px var(--c-primary-soft);
        }

    .input-group__icon {
        display: grid;
        place-items: center;
        width: 48px;
        color: var(--c-muted);
        border-inline-end: 1px solid var(--c-border);
        flex: none;
    }

    .input-group__btn {
        display: grid;
        place-items: center;
        width: 48px;
        border: 0;
        background: transparent;
        color: var(--c-muted);
        cursor: pointer;
        flex: none;
    }

    .input {
        width: 100%;
        min-height: 50px;
        padding: 10px 14px;
        border: 0;
        background: transparent;
        outline: 0;
        font-size: 14px;
    }

        .input::placeholder {
            color: #9aa5b8;
        }

    .input--bare {
        border: 1px solid var(--c-border-strong);
        border-radius: var(--radius-sm);
        background: var(--c-surface);
    }

        .input--bare:focus {
            border-color: var(--c-primary);
            box-shadow: 0 0 0 3px var(--c-primary-soft);
        }

    select.input--bare {
        appearance: none;
        padding-inline-end: 36px;
    }

    .check {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        font-size: 14px;
        color: var(--c-text-2);
        cursor: pointer;
    }

        .check input {
            width: 18px;
            height: 18px;
            accent-color: var(--c-primary);
        }

    .is-invalid .input-group, .input--bare.is-invalid {
        border-color: var(--c-danger);
    }
    /* tabs */
    .tabs {
        display: flex;
        border-block-end: 1px solid var(--c-border);
    }

    .tabs__tab {
        flex: 1;
        padding: 14px 8px;
        border: 0;
        border-block-end: 2px solid transparent;
        margin-block-end: -1px;
        background: transparent;
        color: var(--c-muted);
        font-size: 14px;
        cursor: pointer;
        text-align: center;
    }

        .tabs__tab.is-active {
            color: var(--c-primary);
            border-block-end-color: var(--c-primary);
            font-weight: 700;
        }

    .tabs__panel[hidden] {
        display: none;
    }

    .divider {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        color: var(--c-muted);
        font-size: 13px;
        margin-block: var(--space-5);
    }

        .divider::before, .divider::after {
            content: "";
            flex: 1;
            height: 1px;
            background: var(--c-border);
        }
    /* 5. PAGE BLOCKS ---------------------------------------------------------- */
    .hero {
        position: relative;
        overflow: hidden;
        border-radius: var(--radius-lg);
        background: var(--c-surface);
        min-height: 400px;
        display: flex;
    }

    .hero__slides {
        display: grid;
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
    }

    /* one slide fills the whole hero box and carries its own picture (.hero__slide--n) */
    .hero__slide {
        grid-area: 1 / 1;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 400px;
        padding: var(--space-7);
        opacity: 0;
        visibility: hidden;
        transition: opacity .6s ease;
    }

        .hero__slide::after {
            content: '';
            position: absolute;
            inset: 0;
            background-image: var(--hero-bg);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 0;
        }

        /* the pictures are drawn for a right to left page: turn them round for a left to right one */
        html[dir="ltr"] .hero__slide::after {
            transform: scaleX(-1);
        }

        /* a soft veil over the side the text sits on, so the words stay readable on any picture */
        .hero__slide::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to right, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .55) 42%, rgba(255, 255, 255, 0) 78%);
            z-index: 1;
        }

        html[dir="ltr"] .hero__slide::before {
            background: linear-gradient(to left, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .55) 42%, rgba(255, 255, 255, 0) 78%);
        }

    .hero__body {
        position: relative;
        z-index: 2;
        max-width: min(600px, 100%);
    }

    .hero__slide--1 {
        --hero-bg: url(/Content/site/img/Slide.webp);
    }

    .hero__slide--2 {
        --hero-bg: url(/Content/site/img/order-baner.jpeg);
    }

    .hero__slide--3 {
        --hero-bg: url(/Content/site/img/request-header.jpg);
    }

    .hero__slide.is-active {
        opacity: 1;
        visibility: visible;
    }

    .hero__dots {
        position: absolute;
        left: var(--space-6);
        bottom: var(--space-5);
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 2;
    }

    .hero.is-static .hero__dots {
        display: none;
    }

    .hero__dot {
        width: 9px;
        height: 9px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .65);
        box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
        cursor: pointer;
        transition: background .2s, transform .2s;
    }

        .hero__dot:hover {
            transform: scale(1.2);
        }

        .hero__dot.is-active {
            background: var(--c-primary);
            transform: scale(1.25);
        }

    .hero__eyebrow {
        color: var(--c-primary);
        font-size: 20px;
        font-weight: 700;
    }

    .hero__title {
        color: #1e293b;
        font-size: 52px;
        line-height: 1.3;
        margin-block: var(--space-2) var(--space-4);
        text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
    }

    .hero__text {
       
        max-width: 46ch;
        margin-block-end: var(--space-5);
    }

    .quick-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-5) var(--space-3);
        background: var(--c-surface);
        color: var(--c-text);
        text-align: center;
        transition: transform .15s, box-shadow .15s;
    }

        .quick-link:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-card);
            color: var(--c-text);
        }

        .quick-link strong {
            font-size: 14px;
        }

        .quick-link span {
            font-size: 12px;
            color: var(--c-muted);
        }

        .quick-link .icon {
            color: var(--c-primary);
        }

    .quick-link--green {
        background: var(--c-success-soft);
        border-color: #cfeede;
    }

        .quick-link--green .icon {
            color: var(--c-success);
        }

    .quick-link--blue {
        background: var(--c-primary-soft);
        border-color: #d5e0ff;
    }

    .quick-link--violet {
        background: var(--c-violet-soft);
        border-color: #e0d8ff;
    }

        .quick-link--violet .icon {
            color: var(--c-violet);
        }

    .quick-link--orange {
        background: var(--c-warning-soft);
        border-color: #ffe2b8;
    }

        .quick-link--orange .icon {
            color: var(--c-warning);
        }

    .counters {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .counter {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-4);
        padding: var(--space-5);
    }

        .counter + .counter {
            border-inline-start: 1px solid var(--c-border);
        }

    .counter__value {
        font-size: 26px;
        font-weight: 700;
        color: var(--c-primary);
        line-height: 1.4;
    }

    .counter__label {
        font-size: 13px;
        color: var(--c-text);
    }

    .counter .icon {
        color: var(--c-success);
    }
    /* home: latest events next to the common-problems column (like a 8/4 split) */
    .home-split {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: var(--space-6);
        align-items: start;
    }

        .home-split .grid {
            align-content: start;
        }
    /* section heading with a colored accent bar on the start edge */
    .head-accent {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
        margin-block-end: var(--space-4);
    }

    .head-accent--blue {
        border-inline-start-color: var(--c-primary);
    }

    .head-accent .section-title {
        font-size: 18px;
    }

    .head-accent .link-more {
        font-size: 13px;
        font-weight: 700;
        color: var(--c-primary);
    }
    /* common problems (Ù…Ø´Ú©Ù„Ø§Øª Ø´Ø§ÛŒØ¹): soft-tinted rows, each opens a relevant page */
    .problem-list {
        display: grid;
        gap: var(--space-3);
    }

    .problem-item {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        border-radius: var(--radius);
        border: 1px solid;
        transition: box-shadow .15s;
    }

        .problem-item:hover {
            box-shadow: var(--shadow-card);
        }

    .problem-item__icon {
        display: grid;
        place-items: center;
        width: 100px;
    }

    .problem-item__body {
        display: grid;
        gap: 2px;
        min-width: 0;
    }

    .problem-item__title {
        font-weight: 700;
        font-size: 13px;
        color: var(--c-text);
    }

    .problem-item__price {
        font-size: 12px;
        color: var(--c-muted);
    }

        .problem-item__price del {
            margin-inline-start: var(--space-2);
            color: var(--c-border-strong);
        }

    .problem-item__chevron {
        display: grid;
        place-items: center;
        margin-inline-start: auto;
        font-size: 12px;
    }

    .problem-item--blue {
        background: var(--c-primary-soft);
        border-color: #d5e0ff;
    }

        .problem-item--blue .problem-item__icon, .problem-item--blue .problem-item__chevron {
            color: var(--c-primary);
        }

    .problem-item--green {
        background: var(--c-success-soft);
        border-color: #cfeede;
    }

        .problem-item--green .problem-item__icon, .problem-item--green .problem-item__chevron {
            color: var(--c-success);
        }

    .problem-item--rose {
        background: var(--c-danger-soft);
        border-color: #f7c9cd;
    }

        .problem-item--rose .problem-item__icon, .problem-item--rose .problem-item__chevron {
            color: var(--c-danger);
        }

    .problem-item--violet {
        background: var(--c-violet-soft);
        border-color: #e0d8ff;
    }

        .problem-item--violet .problem-item__icon, .problem-item--violet .problem-item__chevron {
            color: var(--c-violet);
        }

    .problem-item--blue:hover {
        border-color: var(--c-primary);
    }

    .problem-item--green:hover {
        border-color: var(--c-success);
    }

    .problem-item--rose:hover {
        border-color: var(--c-danger);
    }

    .problem-item--violet:hover {
        border-color: var(--c-violet);
    }
    /* statistics banner: the site numbers on a dark blue band */
    .stats-banner {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--space-4);
        padding: var(--space-6);
        border-radius: var(--radius-lg);
        border-color: var(--c-violet);
        background-color: white;
    }

.stats-banner__item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    text-align: end;
}


    stats-banner__item__label {
        display: flex;
        flex-direction: column;
    }

    .stats-banner__value {
        font-size: 34px;
        font-weight: 700;
        line-height: 1.3;
        color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
        text-align:start;
    }

    .stats-banner__item__icon {
        display: grid;
        place-items: center;
        width: 60px;
        height: 60px;
        border-radius: var(--radius-full);
        background: var(--c-primary-soft);
        box-shadow: var(--shadow-card);
        flex: none;
    }

    .stats-banner__label {
        font-size: 13px;
        color: var(--c-muted);
    }

    .stats-banner__item .blue {
        color: var(--c-primary);
    }

    .stats-banner__item .green {
        color: var(--c-success);
    }

    .stats-banner__item .gold {
        color: var(--c-violet);
    }
    /* newsletter: one-line invitation with an e-mail box */
    .newsletter {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: var(--radius-lg);
        background-color: #e4ecfd;
    }

    .newsletter-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: var(--radius-lg);
        gap: var(--space-6);
        padding: var(--space-6);
        width: 70%;
        background-color: #e4ecfd;
    }

    .newsletter__title {
        font-size: 20px;
    }

    .newsletter__text {
        margin-block-start: var(--space-1);
        font-size: 14px;
        color: var(--c-text-2);
    }

    .newsletter__form {
        display: flex;
        gap: var(--space-3);
        flex: 1;
        min-width: 0;
        max-width: 560px;
    }

        .newsletter__form .input-group {
            flex: 1;
            min-width: 0;
        }

    .newsletter__img {
        height: 120px;
        border-top-left-radius: var(--radius-lg);
        border-bottom-left-radius: var(--radius-lg);
    }

    .auth__bg {
        /*        background-image: url(/Content/site/img/login-bg.webp);*/
        background-repeat: no-repeat;
        background-size: cover;
    }

    .login__page {
        background-image: url(/Content/site/img/login-bg.webp);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .auth {
        display: grid;
        grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
        gap: var(--space-7);
        align-items: flex-start;
        /*    min-height: calc(100vh - var(--header-h) - 160px);*/
    }

    .auth__card {
        padding: var(--space-7) var(--space-6);
    }

    .auth__intro {
        padding-inline: var(--space-6);
        display: flex;
        justify-content: center;
        flex-direction: row;
        align-items: center;
    }

        .auth__intro h1 span {
            display: block;
            color: var(--c-primary);
            font-size: 40px;
        }

    .auth-footer {
        display: flex !important;
        flex-direction: row !important;
    }

    .auth-footer-item {
        display: flex !important;
        flex-direction: row !important;
        width: 33%;
        text-align: center;
        font-size: 13px;
        color: var(--c-text-2);
        gap: 10px;
        align-items: center;
        justify-content: space-between;
    }

    .auth-footer-item-social {
        justify-content: end !important;
    }

    .auth-footer-item ul {
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }

        .auth-footer-item ul li {
            border: 1px solid var(--c-border);
            padding: 5px;
            border-radius: var(--radius-full);
            background: var(--c-primary-soft);
            box-shadow: var(--shadow-card);
        }

    .auth-footer-item a {
        color: var(--c-text-2);
    }

    .counters--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .news-card .card__body {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        height: 100%;
    }

    .news-card .chip {
        align-self: flex-start;
    }

    .news-card__title {
        font-size: 15px;
    }

    .news-card__text {
        font-size: 13px;
        color: var(--c-text-2);
        flex: 1;
    }

    .news-card__date {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: var(--c-muted);
    }

    .auth__head {
        text-align: center;
        margin-block-end: var(--space-5);
    }

        .auth__head h2 {
            margin-block-end: var(--space-2);
        }

    .auth__form {
        margin-block-start: var(--space-5);
    }

    .auth__options {
        margin-block: var(--space-5);
        font-size: 14px;
    }

    .auth__foot {
        text-align: center;
        color: var(--c-text-2);
    }

    .auth .alert {
        margin-block-end: var(--space-4);
    }
    /* the basket (owner's mock-up): the foot of the table = selected count | the sum of the selection | pay */
    .basket-foot {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .basket-foot__total {
        font-size: 14px;
        color: var(--c-text-2);
    }

        .basket-foot__total strong {
            font-size: 18px;
            color: var(--c-text);
        }

    .footer-basket-chip {
        padding-right: 1px !important;
    }

        .footer-basket-chip .icon {
            width: 25px !important;
            height: 25px !important;
        }

    .article__head__section {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .article__banner-center {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 32px;
        color: var(--c-text);
        justify-content: center;
        text-align: center
    }

        .article__banner-center h1 {
            -webkit-text-stroke: medium;
        }
html[dir="ltr"] .article__banner-center h1 {
    -webkit-text-stroke: unset;
}
    .article__banner-right {
        border-left: 4px solid var(--c-orange);
        padding-left: 16px;
        text-align: left;
        color: var(--c-primary);
        font-size: 18px;
        font-weight: 500;
        -webkit-text-stroke: medium;
    }

    .article__banner-left {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        text-align: start;
        font-size: 18px;
        font-weight: 500;
        -webkit-text-stroke: medium;
    }
html[dir="ltr"] .article__banner-right, html[dir="ltr"] .article__banner-left {
    -webkit-text-stroke: unset;
}
    .article__banner-left_container {
        padding-bottom: 16px;
        border-bottom: 4px solid var(--c-orange);
    }

    .article__banner-left_desc {
        border-left: 4px solid var(--c-orange);
        padding-left: 16px;
    }
    /* the member's articles (owner's mock-up): a row = certificate tile | status + event + date, title, topic, presenter, "details" */
    .my-article {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr) 300px;
        align-items: flex-start;
        gap: var(--space-4);
        padding: var(--space-4);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        background: var(--c-surface);
    }

    .my-article__tile {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .my-article__cert {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-2);
        padding: var(--space-1);
        border-radius: var(--radius-sm);
        background: var(--c-primary-soft);
        color: var(--c-primary);
        font-size: 13px;
        font-weight: 700;
        text-align: center;
    }

        .my-article__cert.is-muted {
            background: var(--c-neutral-hard);
            color: white;
            font-weight: 400;
        }

    .my-article__body {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        min-width: 0;
        flex: 1;
    }

    .my-article__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
        flex-wrap: wrap;
    }

    .my-article__state {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
    }

        .my-article__state span {
            flex-grow: 1;
            align-items: center;
            text-align: center;
            justify-content: center;
            font-weight: bolder;
        }

    .my-article__event {
        display: inline-flex;
        align-items: center;
        gap: var(--space-3);
        font-size: 13px;
    }

        .my-article__event .muted {
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

    .my-article__title {
        font-size: 16px;
        line-height: 1.7;
    }

        .my-article__title a {
            color: var(--c-primary);
        }

    .my-article__tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: var(--c-muted);
    }

    .my-article__facts {
        display: flex;
        gap: 2px var(--space-2);
        margin: 0;
        font-size: 13px;
    }

        .my-article__facts dt {
            font-weight: 700;
            color: var(--c-text-2);
        }

        .my-article__facts dd {
            margin: 0;
            color: var(--c-muted);
        }

    .my-article__more {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        align-self: start;
        padding: 8px 14px;
        border-radius: var(--radius-sm);
        background: var(--c-row-hover);
        font-size: 13px;
        font-weight: 700;
    }
    /* the page of one of the member's articles: text + PDF | facts; the banner's aside is the "back" link */
    .article-page--member {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .pdf-frame {
        display: block;
        width: 100%;
        height: 640px;
        border: 1px solid var(--c-border);
        border-radius: var(--radius-sm);
        background: var(--c-neutral-soft);
    }

    .rich-text.clamp:not(.is-open) {
        max-height: 9.5em;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(#000 70%, transparent);
        mask-image: linear-gradient(#000 70%, transparent);
    }

    button.link-more {
        border: 0;
        background: transparent;
        cursor: pointer;
        padding: 0;
    }

    a.page-banner__aside {
        color: #fff;
    }

        a.page-banner__aside:hover {
            background: rgba(255, 255, 255, .26);
        }
    /* about us (owner's mock-up): the introduction next to a photograph, four value tiles, portrait cards of the officials */
    .about-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: var(--space-6);
        align-items: center;
    }

    .about-intro--text-only {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-intro__title {
        position: relative;
        padding-block-end: var(--space-3);
        margin-block-end: var(--space-4);
        font-size: 24px;
        color: var(--c-primary);
    }

        .about-intro__title::after {
            content: "";
            position: absolute;
            inset-block-end: 0;
            inset-inline-start: 0;
            width: 56px;
            height: 3px;
            border-radius: 2px;
            background: var(--c-primary);
        }

    .about-intro__text p {
        color: var(--c-text-2);
        line-height: 1.9;
        text-align: justify;
    }

        .about-intro__text p + p {
            margin-block-start: var(--space-3);
        }

    .about-intro__photo {
        width: 100%;
        border-radius: var(--radius);
        object-fit: cover;
        aspect-ratio: 4 / 3;
    }

    .about-values .counter {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }

        .about-values .counter .icon {
            color: var(--c-primary);
        }

    .about-values .counter__value {
        font-size: 18px;
        color: var(--c-text);
    }

    .person-card--portrait {
        padding: var(--space-5);
        gap: var(--space-2);
    }

    .person-card__photo {
        width: 160px;
        height: 200px;
        border-radius: var(--radius);
        object-fit: cover;
        background: var(--c-neutral-soft);
        margin-block-end: var(--space-2);
    }

    .person-card--portrait strong {
        font-size: 17px;
        color: var(--c-primary);
    }

    .person-card__mail {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-block-start: var(--space-2);
        padding-block-start: var(--space-3);
        border-block-start: 1px solid var(--c-border);
        color: var(--c-text-2);
        font-size: 14px;
    }
    /* contact us (owner's mock-up): the message form | the card of the office; one column below 1200px */
    .contact {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: var(--space-5);
        align-items: start;
    }

        .contact .page-head {
            margin-block-end: 0;
        }

        .contact .form-grid + .field {
            margin-block-start: 0;
        }

    .contact__facts {
        gap: var(--space-3);
        font-size: 15px;
    }

        .contact__facts .icon {
            margin-block-start: 5px;
        }

    .contact__links {
        display: flex;
        flex-direction: column;
    }

    .contact__social {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
        margin-block-start: var(--space-3);
    }

        .contact__social .chip {
            min-height: 40px;
            padding-inline: 14px;
        }

    .contact__map {
        position: relative;
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        overflow: hidden;
        aspect-ratio: 4 / 3;
        background: var(--c-neutral-soft);
    }

        .contact__map iframe {
            display: block;
            width: 100%;
            height: 100%;
            border: 0;
        }

    .contact__map-link {
        position: absolute;
        inset-block-end: var(--space-3);
        inset-inline-end: var(--space-3);
        background: var(--c-surface);
    }

    .site-footer__contact li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .site-footer__contact .icon {
        color: var(--c-primary);
        margin-block-start: 5px;
    }

    .site-footer__contact + .social {
        margin-block-start: var(--space-3);
    }
    /* a text area and a select inside an input group; the caret of the select is drawn by the group */
    .input-group--multiline .input-group__icon {
        align-content: start;
        padding-block-start: 14px;
    }

    .input-group textarea.input {
        min-height: 160px;
        resize: vertical;
        line-height: 1.7;
    }

    .input-group select.input {
        appearance: none;
        cursor: pointer;
    }

    .input-group__caret {
        display: grid;
        place-items: center;
        width: 40px;
        color: var(--c-muted);
        pointer-events: none;
        flex: none;
    }
    /* the honeypot of a public form: no visitor sees it, a bot fills it */
    .hp {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .captcha {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        flex-wrap: wrap;
    }

        .captcha img {
            border: 1px solid var(--c-border);
            border-radius: var(--radius-sm);
        }
        /* the refresh button sits next to a 30px tall picture, so it matches its height instead of the usual 38px */
        .captcha .icon-btn {
            width: 30px;
            height: 30px;
            border-radius: var(--radius-sm);
        }

        .captcha .input {
            flex: 1;
            min-width: 120px;
        }
        /* the contact form wraps its captcha box in an input group (shield icon + field), so the group takes
           the place the bare input used to fill */
        .captcha .input-group {
            flex: 1;
            min-width: 0;
        }
    /* user names, passwords, codes are typed left-to-right even on the Persian site; the placeholder keeps the page direction */
    .ltr-input:not(:placeholder-shown) {
        direction: ltr;
        text-align: left;
    }

    .end-content {
        justify-content: end !important;
    }
    /* 6. RESPONSIVE ----------------------------------------------------------- */
    /* next to the side menu the content column is ~300px narrower than the page: the greeting gets its own row earlier */
    @media (max-width: 1400px) {
        .account .welcome {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

            .account .welcome > :first-child {
                grid-column: 1 / -1;
            }
        /* the archive and the page of an article: two columns - the third one goes under the text */
        .archive {
            grid-template-columns: 260px minmax(0, 1fr);
        }

        .archive__preview {
            grid-column: 2;
        }

            .archive__preview .is-sticky {
                position: static;
            }

        .article-page {
            grid-template-columns: 240px minmax(0, 1fr);
        }

        .article-page__aside {
            grid-column: 2;
        }

        .article-page--member {
            grid-template-columns: minmax(0, 1fr) 300px;
        }

            .article-page--member .article-page__aside {
                grid-column: auto;
            }
        /* one event on a narrow screen: the masthead, the counters and the grids all fall to one column */
        .ev-masthead__row {
            flex-direction: column;
            align-items: flex-start;
            gap: var(--space-3);
        }

        .ev-masthead__title {
            font-size: 28px;
        }

        .ev-masthead__sub {
            font-size: 16px;
        }
    }

    @media (max-width: 1200px) {
        .contact {
            grid-template-columns: minmax(0, 1fr);
        }

        .about-intro {
            grid-template-columns: minmax(0, 1fr);
        }

        .about-intro__photo {
            max-width: 520px;
            margin-inline: auto;
        }

        .grid--6 {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .grid--4 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .home-split {
            grid-template-columns: minmax(0, 1fr);
        }

        .stats-banner {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .site-footer__grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .welcome {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

            .welcome > :first-child {
                grid-column: 1 / -1;
            }

        .account .stat__icon {
            width: 56px;
            height: 56px;
        }
        /* the six entries of the main menu + the header actions do not fit below ~1150px: the menu folds here, not at 992 */
        .nav-toggle {
            display: inline-grid;
        }

        .main-nav {
            display: none;
            position: absolute;
            inset-inline: 0;
            inset-block-start: 100%;
            flex-direction: column;
            gap: 0;
            margin: 0;
            padding: var(--space-3);
            background: var(--c-surface);
            border-block-end: 1px solid var(--c-border);
            box-shadow: var(--shadow-pop);
        }

            .main-nav.is-open {
                display: flex;
            }

            .main-nav a, .main-nav button {
                padding: 12px 14px;
                width: 100%;
                justify-content: space-between;
                text-align: start;
            }

            .main-nav .sub-menu {
                position: static;
                min-width: 0;
                padding: 0 var(--space-4);
                border: 0;
                box-shadow: none;
            }
                /* in the flow there is no gap to bridge, and the strip would only cover the entry above */
                .main-nav .sub-menu::before {
                    display: none;
                }

            .main-nav .has-sub:hover > .sub-menu {
                display: none;
            }

            .main-nav .sub-menu.is-open {
                display: block;
            }

        .header-actions {
            margin-inline-start: auto;
        }
    }

    @media (max-width: 992px) {
        :root {
            --header-h: 72px;
        }

        .container {
            padding-inline: var(--space-4);
        }

        .user-chip__name, .brand__name small {
            display: none;
        }

        .account, .auth, .hero {
            grid-template-columns: minmax(0, 1fr);
        }

        .search-form {
            grid-template-columns: minmax(0, 1fr);
        }

        .event-row {
            grid-template-columns: minmax(0, 1fr);
        }
        /* one event: the poster on top, full width, fading into the text below it; the tabs scroll sideways; no side menu */
        .event-hero__inner {
            grid-template-columns: minmax(0, 1fr);
            gap: 0;
        }

        .event-hero__text {
            padding-block: var(--space-4) var(--space-5);
        }

        .event-hero__title {
            font-size: 26px;
        }

        .event-hero__media {
            order: -1;
            min-height: 0;
            aspect-ratio: 16 / 9;
            margin-inline: calc(var(--space-4) * -1);
        }

            .event-hero__media:empty {
                display: none;
            }
        /* no poster (or it failed to load and was removed): no empty band */
        html[dir] .event-hero__media::after {
            background: linear-gradient(to top, #e8effd 0%, rgba(232, 239, 253, 0) 35%);
        }

        .event-hero__facts .fact {
            padding-inline-end: var(--space-4);
        }

            .event-hero__facts .fact + .fact {
                padding-inline-start: var(--space-4);
            }

        .section-tabs a {
            flex: none;
            padding: 14px 16px;
            font-size: 14px;
        }
        /* the request to join: one column, the card preview under the form; the stepper keeps its four dots */
        .wizard__grid, .status-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .wizard__aside .is-sticky {
            position: static;
        }

        .form-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .stepper__step strong {
            font-size: 12px;
        }

        .stepper__step small {
            display: none;
        }

        .upload {
            grid-template-columns: minmax(0, 1fr) auto;
        }

        .wizard .upload--picture {
            grid-template-columns: 76px minmax(0, 1fr);
        }

        .upload__file {
            grid-column: 1 / -1;
        }

        .review__block .facts {
            grid-template-columns: auto minmax(0, 1fr);
        }
        /* the archive and the page of an article: one column; the preview panel is the row itself here */
        .archive, .article-page {
            grid-template-columns: minmax(0, 1fr);
        }

        .archive__preview {
            display: none;
        }

        .my-article {
            grid-template-columns: minmax(0, 1fr);
        }

        .my-article__tile {
            justify-content: start;
        }

        .my-article__cert {
            flex: none;
            flex-direction: row;
            padding: 8px 14px;
        }

        .pdf-frame {
            height: 420px;
        }

        .article-page__aside, .archive__preview {
            grid-column: auto;
        }
        /* the 1400px rule put them in a second column */
        .article-row {
            grid-template-columns: 90px minmax(0, 1fr);
        }

        .article-row__stats {
            grid-column: 1 / -1;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            min-width: 0;
            padding: var(--space-2) 0 0;
            border: 0;
            border-block-start: 1px solid var(--c-border);
        }

        .article-row__icons {
            flex-direction: row;
        }

        .article-row__open {
            margin-inline-start: auto;
            margin-block-start: 0;
        }

        .archive__sort .input {
            width: auto;
        }

        .program {
            grid-template-columns: minmax(0, 1fr);
            padding-block: var(--space-4) var(--space-6);
        }

        .program__aside .is-sticky {
            position: static;
        }

        .day-list__items {
            display: flex;
            gap: var(--space-2);
            overflow-x: auto;
        }
            /* a rail runs the wrong way on days laid along the foot of the screen, so the timeline is put away there
               and the days go back to being a row of pills to tap - beads and all, since a filled bead with no rail
               to sit on would be a dot in the margin */
            .day-list__items > li {
                padding-inline-start: 0;
            }

                .day-list__items > li::before, .day-list__items > li::after {
                    content: none;
                }

        .day-list__day {
            white-space: nowrap;
        }

        .print-card {
            display: none;
        }

        .session__head {
            flex-wrap: wrap;
        }

        .session__title {
            flex-basis: 100%;
            order: 1;
        }

        .session__top {
            grid-template-columns: minmax(0, 1fr);
        }

        .fee-tiers {
            grid-template-columns: minmax(0, 1fr);
        }

        .fee-tier + .fee-tier {
            border-inline-start: 0;
            border-block-start: 1px solid var(--c-border);
        }

        .event-row__media {
            aspect-ratio: 16 / 9;
        }

        .filter-tabs {
            overflow-x: auto;
            flex-wrap: nowrap;
            padding-block-end: 4px;
        }

        .input-group--search {
            min-width: 0;
            width: 100%;
        }

        .page-banner {
            padding: var(--space-5) var(--space-4);
        }

            .page-banner h1 {
                font-size: 24px;
            }

        .option-card {
            flex-wrap: wrap;
        }

        .hero {
            text-align: center;
        }

        .hero__slide {
            padding: var(--space-6) var(--space-5);
            justify-content: center;
        }

        /* the words are centred here, so the veil covers the picture evenly instead of from one side */
        .hero__slide::before,
        html[dir="ltr"] .hero__slide::before {
            background: rgba(255, 255, 255, .72);
        }

        .hero__body {
            margin-inline: auto;
        }

        .hero__dots {
            left: var(--space-5);
            bottom: var(--space-4);
        }

        .hero__title {
            font-size: 36px;
        }

        .hero__text {
            margin-inline: auto;
        }

        .auth__intro {
            display: none;
        }

        .side-menu {
            display: flex;
            overflow-x: auto;
            gap: var(--space-2);
        }

            .side-menu a {
                white-space: nowrap;
                padding: 10px 14px;
            }

                .side-menu a.is-active::before {
                    display: none;
                }

        .profile-card {
            display: none;
        }

        .counters, .counters--3 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .counter:nth-child(3) {
            border-inline-start: 0;
        }

        .list-row {
            grid-template-columns: minmax(0, 1fr);
            gap: var(--space-3);
        }
    }

    @media (max-width: 600px) {
        h1 {
            font-size: 22px;
        }
        /* header: logo + short name, language, log in, menu - nothing else fits on a phone */
        .site-header__inner {
            gap: var(--space-2);
        }

        .brand {
            min-width: 0;
            font-size: 13px;
        }

        .brand__logo {
            width: 40px;
            height: 40px;
        }

        .brand__name {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .header-actions {
            gap: var(--space-1);
            flex: none;
        }

            .header-actions .btn--outline, .header-actions .btn--ghost, .lang-switch .icon {
                display: none;
            }

        .lang-switch {
            padding-inline: 6px;
        }

        .page-head {
            gap: var(--space-3);
        }

        .page-head__icon {
            width: 44px;
            height: 44px;
        }

        .card__body, .stat {
            padding: var(--space-4);
        }

        .stat__icon {
            width: 56px;
            height: 56px;
        }

        .table-foot {
            justify-content: center;
        }

        .grid--2, .grid--3, .grid--4, .welcome, .account .welcome {
            grid-template-columns: minmax(0, 1fr);
        }

        .welcome__title {
            font-size: 22px;
        }

        .grid--6 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .site-footer__grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .auth__card {
            padding: var(--space-5) var(--space-4);
        }

        .newsletter {
            flex-direction: column;
            align-items: stretch;
        }

        .newsletter__form {
            max-width: none;
            width: 100%;
        }
    }
    /* 7. PRINT ---------------------------------------------------------------- */
    /* the programme: "print the whole programme" (or save it as PDF) - every day, every hall, every session opened */
    @media print {
        .site-header, .site-footer, .program__aside, .program__actions, .hall-tabs, .program__bar, .live-links, .alert, .vote, .file-link, .session__toggle, .session__tools, .player, .modal, .event-hero__media, .carousel__nav {
            display: none !important;
        }
        /* a carousel on paper would print one screenful and hide the rest: lay the cards out instead */
        .carousel__track {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            overflow: visible;
        }

        .carousel__item {
            flex: none;
        }

        .event-hero {
            background: none;
        }

            .event-hero::before {
                display: none;
            }

        .event-hero__inner {
            grid-template-columns: minmax(0, 1fr);
        }

        .program {
            display: block;
            padding: 0;
        }

        .session {
            break-inside: avoid;
            border: 1px solid #999;
            box-shadow: none;
            margin-block-end: 12px;
        }

            .session[hidden], .session__body[hidden] {
                display: block !important;
            }

        .session__head::before {
            content: attr(data-date-label);
            font-size: 12px;
            color: #555;
        }

        .table--presentations th:last-child, .table--presentations td:last-child {
            display: none;
        }

        /* the people: names always print; the photos print small, the row of overlapping co-presenter photos is
           dropped (their names are printed as text underneath it) */
        .avatar--lg {
            width: 36px;
            height: 36px;
        }

        .avatar-stack__row {
            display: none;
        }

        a {
            color: inherit;
            text-decoration: none;
        }
    }

    .wizard .btn[hidden], .wizard .form-card[hidden] {
        display: none !important;
    }

    .page-banner.page-banner--membership {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        color: var(--c-text);
        box-shadow: none;
        background: none;
        margin-block-end: 0px;
        padding: 0px;
    }

    .page-banner--membership .breadcrumb {
        margin-block-start: 0;
        justify-content: flex-end;
    }

        .page-banner--membership .breadcrumb li, .page-banner--membership .breadcrumb a {
            color: var(--c-muted);
        }

    .page-banner--membership .page-banner__title {
        text-align: center;
        font-size: 22px;
        font-weight: 800;
        color: var(--c-text);
        margin-block: 4px;
    }

    .page-banner--membership .page-banner__sub {
        text-align: center;
        font-size: 12px;
        color: var(--c-muted);
        margin-block-end: 20px;
    }

    .page-banner--membership-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .info-bar-top {
        display: flex;
        align-items: center;
        gap: 10px;
        max-width: 340px;
        margin: 0 0 var(--space-4);
        padding: 10px 14px;
        border: 1px solid #bae6fd;
        border-radius: var(--radius);
        background: var(--c-primary-soft);
        color: #0369a1;
        font-size: 12px;
        line-height: 1.6;
    }

        .info-bar-top span {
            border-left: 1px solid #6896b7;
        }

    .wizard .info-bar-top .icon {
        flex: none;
        margin-block-start: 1px;
        color: #0369a1;
    }

    .wizard .stepper-card {
        margin-block-end: var(--space-5);
    }

    .wizard .stepper {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        justify-content: space-between;
        position: relative;
    }

        .wizard .stepper::before {
            content: "";
            position: absolute;
            top: 20px;
            right: 60px;
            left: 60px;
            height: 3px;
            border-radius: 2px;
            background: var(--c-border-strong);
        }

    .wizard .step-item {
        position: relative;
        z-index: 1;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

        .wizard .step-item::after {
            content: "";
            position: absolute;
            top: 20px;
            right: calc(50% - 1.5px);
            left: calc(-50% + 1.5px);
            height: 3px;
            border-radius: 2px;
            background: transparent;
        }

        .wizard .step-item.is-done::after {
            background: var(--c-primary);
        }

        .wizard .step-item:last-child::after {
            display: none;
        }

    .wizard .step-circle {
        width: 40px;
        height: 40px;
        margin: 0 0 6px;
        padding: 0;
        display: grid;
        place-items: center;
        border: 3px solid var(--c-border-strong);
        border-radius: 50%;
        background: var(--c-surface);
        color: var(--c-muted);
        font: inherit;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        transition: all .25s;
    }

        .wizard .step-circle .icon {
            display: none;
        }

    .wizard .step-item.is-active .step-circle {
        border-color: var(--c-primary);
        background: var(--c-primary);
        color: #fff;
        box-shadow: 0 0 0 5px var(--c-primary-soft);
    }

    .wizard .step-item.is-active .step-title {
        color: var(--c-primary);
    }

    .wizard .step-item.is-done .step-circle {
        border-color: var(--c-primary);
        background: var(--c-primary);
        color: #fff;
    }

        .wizard .step-item.is-done .step-circle .step-circle__num {
            display: none;
        }

        .wizard .step-item.is-done .step-circle .icon {
            display: block;
        }

    .wizard .step-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--c-text);
    }

    .wizard .step-desc {
        display: block;
        margin-block-start: 2px;
        font-size: 11px;
    }

    .wizard .content-grid {
        display: grid;
        grid-template-columns: 330px minmax(0, 1fr);
        gap: var(--space-5);
        align-items: start;
    }

    .wizard .form-container {
        display: flex;
        flex-direction: column;
        gap: var(--space-5);
        min-width: 0;
    }

    .wizard .form-card {
        padding: var(--space-5) var(--space-4);
        border: 1px solid var(--c-border);
        border-radius: 16px;
        background: var(--c-surface);
        box-shadow: var(--shadow-card);
    }

        .wizard .form-card .form-grid {
            margin-block-start: var(--space-2);
        }

        .wizard .form-card > .sub-title + .form-grid, .wizard .form-card > .form-grid + .form-grid {
            margin-block-start: var(--space-4);
        }

        .wizard .form-card > .degree-list, .wizard .form-card > .upload-list, .wizard .form-card > .details, .wizard .form-card > .review, .wizard .form-card > .alert {
            margin-block-start: var(--space-4);
        }

    .wizard .form-grid .full-width {
        grid-column: 1 / -1;
        margin-block-start: 0;
    }

    .wizard .form-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
        flex-wrap: wrap;
        padding-block-end: 12px;
        border-block-end: 1px solid var(--c-border);
        margin-block-end: var(--space-4);
    }

    .wizard .form-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        font-weight: 700;
        color: var(--c-text);
    }

    .wizard .form-title__icon {
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--c-primary-soft);
        color: var(--c-primary);
    }

        .wizard .form-title__icon .icon {
            width: 15px;
            height: 15px;
        }

    .wizard .form-subtext {
        font-size: 12px;
    }

    .wizard .form-control {
        width: 100%;
        min-height: 44px;
        padding: 9px 14px;
        border: 1px solid var(--c-border-strong);
        border-radius: var(--radius);
        background: var(--c-surface);
        color: var(--c-text);
        font: inherit;
        font-size: 14px;
        outline: 0;
        transition: border-color .2s, box-shadow .2s;
    }

        .wizard .form-control:focus {
            border-color: var(--c-primary);
            box-shadow: 0 0 0 3px var(--c-primary-soft);
        }

    .wizard select.form-control {
        appearance: none;
        padding-inline-end: 38px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: left 12px center;
        background-size: 16px;
    }

    .wizard .form-group {
        min-width: 0;
    }

        .wizard .form-group.is-invalid .form-control {
            border-color: var(--c-danger);
        }

            .wizard .form-group.is-invalid .form-control:focus {
                box-shadow: 0 0 0 3px var(--c-danger-soft);
            }

    .wizard .form-label {
        display: block;
        margin-block-end: var(--space-2);
        font-size: 13px;
        font-weight: 600;
        color: var(--c-text);
    }

        .wizard .form-label .req {
            margin-inline-start: 3px;
            color: var(--c-danger);
            font-weight: 700;
        }

    .wizard .radio-group {
        display: flex;
        align-items: center;
        gap: var(--space-4);
        flex-wrap: wrap;
        padding-block: 8px;
    }

    .wizard .radio-label {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        color: var(--c-text);
        cursor: pointer;
    }

        .wizard .radio-label input, .wizard .checkbox-item input {
            width: 17px;
            height: 17px;
            accent-color: var(--c-primary);
            cursor: pointer;
        }

    .wizard .checkbox-item {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 13px;
        line-height: 1.7;
        color: #0369a1;
        text-align: start;
    }

        .wizard .checkbox-item + .checkbox-item {
            margin-block-start: var(--space-2);
        }

        .wizard .checkbox-item input {
            flex: none;
            margin-block-start: 2px;
        }

    .wizard .upload.upload-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        align-items: center;
        padding: 0;
        border: 0;
        background: transparent;
    }

        .wizard .upload.upload-row.has-file, .wizard .upload.upload-row.is-invalid {
            border: 0;
            background: transparent;
        }

    .wizard .upload-file-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-width: 0;
        padding: 10px 14px;
        border: 1px solid var(--c-border-strong);
        border-radius: 12px;
        background: var(--c-row-hover);
    }

    .wizard .upload-row.has-file .upload-file-box {
        border-color: var(--c-success);
        background: var(--c-success-soft);
    }

    .wizard .upload-row.is-invalid .upload-file-box {
        border-color: var(--c-danger);
        background: var(--c-danger-soft);
    }

    .wizard .upload-file-info {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1;
    }
    /* the picture of the document, next to its name (nothing at all for a PDF: the file icon is all it gets) */
    .wizard .upload-preview {
        position: relative;
        display: block;
        flex: none;
        width: 76px;
        height: 56px;
        border: 1px solid var(--c-border-strong);
        border-radius: var(--radius-sm);
        background: var(--c-surface);
        overflow: hidden;
    }

        .wizard .upload-preview[hidden] {
            display: none;
        }

        .wizard .upload-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    .wizard .upload-preview__zoom {
        position: absolute;
        inset-block-end: 3px;
        inset-inline-end: 3px;
        display: grid;
        place-items: center;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: rgba(15, 23, 42, .55);
        color: #fff;
        opacity: 0;
        transition: opacity .15s ease;
    }

    .wizard .upload-preview:hover .upload-preview__zoom {
        opacity: 1;
    }
    /* the same preview in a block that is not a row of the list (the documents of the degrees, step 2): it takes
       the first cell of the block, and keeps that cell when there is no picture (a PDF: the file icon is all it
       gets) so the rest of the line never shifts */
    .wizard .upload--picture {
        grid-template-columns: 76px 220px minmax(0, 1fr) auto auto;
    }

        .wizard .upload--picture > .upload-preview[hidden] {
            display: block;
            visibility: hidden;
            pointer-events: none;
        }

    .wizard .upload-file-thumb {
        display: grid;
        place-items: center;
        flex: none;
        width: 36px;
        height: 36px;
        border-radius: var(--radius-sm);
        background: var(--c-primary-soft);
        color: var(--c-primary);
    }

        .wizard .upload-file-thumb .icon {
            width: 18px;
            height: 18px;
        }

    .wizard .upload-file-meta {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

        .wizard .upload-file-meta .upload__label {
            font-size: 13px;
            font-weight: 700;
        }

    .wizard .upload-row.has-file .upload__remove {
        display: inline-grid;
    }

    .wizard .upload-hint-box {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: var(--c-muted);
    }

        .wizard .upload-hint-box .icon {
            flex: none;
            color: var(--c-primary);
        }

    .wizard .upload-row [data-upload-error] {
        margin: 0;
        grid-column: auto;
    }

    .wizard .upload-row.is-invalid .upload-hint-box [data-upload-error] {
        display: inline;
        color: var(--c-danger);
    }

    .wizard .review-block {
        display: grid;
        grid-template-columns: 170px 1fr;
        position: relative;
        gap: 10px;
    }
.wizard .submit-article-review-block {
    grid-template-columns: 170px 1fr 110px;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    background: var(--c-neutral-soft);
    padding: 12px
}
    .wizard .submit-article-review-block .review-block-header, .wizard .submit-article-review-block .review-grid {
        border: none !important;
        background-color: transparent !important;
    }
    .review-block-header-detail {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .wizard .review-block-header {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 14px;
        font-weight: 700;
        color: var(--c-primary);
        padding: var(--space-2);
        border: 1px solid var(--c-border);
        border-radius: 4px;
        background: var(--c-neutral-soft);
    }

    .review-block-header__confirm {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 12px;
        font-weight: 700;
        color: var(--c-primary);
    }

    .wizard .review-block-header .icon {
        color: var(--c-primary);
    }

    .wizard .review-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px var(--space-4);
        font-size: 11px;
        line-height: 1.7;
        flex: 1;
        padding: var(--space-2);
        border: 1px solid var(--c-border);
        border-radius: 4px;
        background: var(--c-neutral-soft);
    }

    .form-header-title {
        display: flex;
        flex-direction: column;
    }

    .wizard .review-grid > div {
        min-width: 0;
    }

    .wizard .review-grid .review-item {
        min-width: 0;
    }

        .wizard .review-grid .review-item strong {
            color: var(--c-muted);
            font-weight: 600;
        }

            .wizard .review-grid .review-item strong::after {
                content: ": ";
            }

        .wizard .review-grid .review-item span {
            color: var(--c-text);
            overflow-wrap: anywhere;
        }

    .wizard .review-grid .is-wide {
        grid-column: 1 / -1;
    }

    .wizard .review-thumbs {
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex-wrap: wrap;
    }
    /* each uploaded document as a card: the picture on the start side (the file icon when there is no
       picture, a PDF), the title and the file's name beside it, and the picture opens the whole file */
    .wizard .review-thumb-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        border: 1px solid var(--c-border-strong);
        border-radius: var(--radius-sm);
        background: var(--c-row-hover);
        font-size: 12px;
        color: var(--c-text-2);
    }

    .wizard .review-thumb {
        position: relative;
        display: grid;
        place-items: center;
        flex: none;
        width: 96px;
        height: 72px;
        border: 1px solid var(--c-border-strong);
        border-radius: var(--radius-sm);
        background: var(--c-surface);
        overflow: hidden;
    }

    .wizard .review-thumb__icon {
        color: var(--c-primary);
    }

    .wizard .review-thumb a {
        position: absolute;
        inset: 0;
    }

    .wizard .review-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .wizard .review-thumb__meta {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

        .wizard .review-thumb__meta b {
            color: var(--c-text-1);
        }

        .wizard .review-thumb__meta span {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }


    .wizard .review__confirm {
        border-color: #bae6fd;
        background: #f0f9ff;
        color: #0369a1;
        margin-top: 12px;
    }

        .wizard .review__confirm .review-block-header, .wizard .review__confirm .review-block-header .icon {
            color: #0369a1;
        }

        .wizard .review__confirm .field__error {
            color: var(--c-danger);
        }

    .wizard .review-block .link-more {
        position: absolute;
        inset-block-start: var(--space-3);
        inset-inline-end: var(--space-4);
        border: 0;
        background: transparent;
        color: var(--c-primary);
        cursor: pointer;
        font: inherit;
        font-size: 13px;
    }

    .wizard .action-bar {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        flex-wrap: wrap;
        margin-block-start: var(--space-4);
        justify-content: end;
    }

    .wizard .btn-save {
        background: var(--c-surface);
        color: var(--c-primary);
        border-color: var(--c-primary);
        border-style: dashed;
    }

        .wizard .btn-save:hover {
            background: var(--c-primary-soft);
            color: var(--c-primary);
        }

    .wizard .btn-primary {
        background: var(--c-primary);
        color: #fff;
    }

        .wizard .btn-primary:hover {
            background: var(--c-primary-hover);
            color: #fff;
        }

    .wizard .btn-outline {
        border-color: var(--c-border-strong);
        background: var(--c-surface);
        color: var(--c-text-2);
    }

        .wizard .btn-outline:hover {
            background: var(--c-neutral-soft);
            color: var(--c-text);
        }

    .wizard .preview-sidebar {
        min-width: 0;
    }

    .wizard .preview-card {
        padding: var(--space-4);
        border: 1px solid var(--c-border);
        border-radius: 16px;
        background: var(--c-surface);
        box-shadow: var(--shadow-card);
        position: sticky;
        top: calc(var(--header-h) + 32px);
    }

    .wizard .preview-header {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 700;
        color: var(--c-text);
    }

        .wizard .preview-header .icon {
            color: var(--c-primary);
        }

    .wizard .preview-subtext {
        margin-block-start: 4px;
        font-size: 11px;
    }

    .wizard .membership-badge {
        margin-block-start: var(--space-4);
        border: 1px solid var(--c-border);
        border-radius: 16px;
        overflow: hidden;
        background: var(--c-surface);
        box-shadow: var(--shadow-card);
    }

    .wizard .badge-top {
        padding: 14px 10px;
        text-align: center;
        background: linear-gradient(135deg, #1648e8, #0b2a6f);
        color: #fff;
    }

    .wizard .badge-top-logo {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        margin: 0 auto 6px;
        border-radius: 50%;
        background: #fff;
        overflow: hidden;
    }

        .wizard .badge-top-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

    .wizard .badge-top h4 {
        margin: 0;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.6;
    }

    .wizard .badge-top p {
        margin: 2px 0 0;
        font-size: 8.5px;
        opacity: .85;
        direction: ltr;
    }

    .wizard .badge-body {
        padding: 0 14px 16px;
        text-align: center;
        position: relative;
    }

    .wizard .badge-avatar-wrap {
        position: absolute;
        left: -10px;
    }

    .wizard .badge-avatar {
        display: block;
        width: 76px;
        height: 76px;
        border: 3px solid #fff;
        border-radius: 50%;
        object-fit: cover;
        background: #e2e8f0;
        box-shadow: var(--shadow-card);
    }

    .wizard .edit-avatar-icon {
        position: absolute;
        bottom: 0;
        inset-inline-start: 0;
        display: grid;
        place-items: center;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--c-primary);
        color: #fff;
        box-shadow: var(--shadow-card);
    }

        .wizard .edit-avatar-icon .icon {
            width: 12px;
            height: 12px;
        }

    .wizard .badge-name {
        display: block;
        font-size: 15px;
        font-weight: 800;
        color: var(--c-text);
    }

    .wizard .badge-en-name {
        display: block;
        margin-block-start: 2px;
        font-size: 10px;
        color: var(--c-muted);
        direction: ltr;
    }

    .wizard .badge-details-list {
        margin: 25px 0 0;
        padding: 0;
        list-style: none;
    }

    .wizard .badge-detail-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 0;
        border-block-end: 1px dashed var(--c-border);
        font-size: 11px;
        color: var(--c-text-2);
        text-align: start;
        justify-content: space-between;
    }

        .wizard .badge-detail-item:last-child {
            border-block-end: 0;
        }

        .wizard .badge-detail-item .icon {
            flex: none;
            color: #64748b;
        }

        .wizard .badge-detail-item span {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .wizard .badge-chip {
        margin-block-start: 12px;
    }

    .wizard .progress-box {
        margin-block-start: var(--space-4);
        padding-block-start: var(--space-3);
        border-block-start: 1px dashed var(--c-border);
    }

    .wizard .progress-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 12px;
        color: var(--c-text-2);
    }

        .wizard .progress-info b {
            color: var(--c-primary);
            font-weight: 700;
        }

    .wizard .progress-bar-bg {
        height: 6px;
        margin-block-start: 8px;
        border-radius: 999px;
        background: var(--c-neutral-soft);
        overflow: hidden;
    }

    .wizard .progress-bar-fill {
        display: block;
        height: 100%;
        border-radius: 999px;
        background: var(--c-primary);
        transition: width .3s;
    }

    .wizard .side-alert-box {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin-block-start: var(--space-4);
        padding: 12px 14px;
        border: 1px solid #bae6fd;
        border-radius: var(--radius);
        background: #f0f9ff;
        color: #0369a1;
        font-size: 12px;
        line-height: 1.6;
    }

        .wizard .side-alert-box .icon {
            flex: none;
            margin-block-start: 2px;
            color: #0369a1;
        }

    @media (max-width: 992px) {
        .wizard .content-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .wizard .preview-card {
            position: static;
        }
    }

    @media (max-width: 640px) {
        .wizard .stepper-card {
            padding: 16px 8px;
        }

        .wizard .step-desc {
            display: none;
        }

        .wizard .form-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .wizard .upload.upload-row {
            grid-template-columns: minmax(0, 1fr);
        }

        .wizard .upload--picture {
            grid-template-columns: minmax(0, 1fr);
        }

        .wizard .upload-file-box {
            flex-direction: column;
            align-items: stretch;
        }

        .wizard .form-header {
            align-items: flex-start;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center
        }

        .wizard .review-grid {
            grid-template-columns: minmax(0, 1fr);
        }
    }
    /* ---------------------------------------------------------------- status page (registration success) */
    .status-page {
        max-width: 1440px;
        margin-inline: auto;
        display: flex;
        flex-direction: column;
        padding-inline: var(--space-6);
        gap: 12px;
    }

    .status-breadcrumb {
        margin: 0 0 22px;
        padding: 0;
        font-size: 12.5px;
        color: var(--c-muted);
    }

    .status-hero {
        position: relative;
        text-align: center;
        padding: 26px 20px 14px;
        max-width: 900px;
        margin-inline: auto;
    }

    .status-hero__dot {
        position: absolute;
        border-radius: 50%;
    }

    .status-hero__dot--1 {
        width: 10px;
        height: 10px;
        top: 26px;
        inset-inline-start: 20%;
        background: #3b82f6;
        opacity: .6;
    }

    .status-hero__dot--2 {
        width: 8px;
        height: 8px;
        top: 48px;
        inset-inline-end: 26%;
        background: #f59e0b;
        opacity: .7;
    }

    .status-hero__dot--3 {
        width: 12px;
        height: 12px;
        bottom: 18px;
        inset-inline-start: 40%;
        background: #ec4899;
        opacity: .5;
    }

    .status-hero__icon {
        display: grid;
        place-items: center;
        width: 72px;
        height: 72px;
        margin: 0 auto 18px;
        border-radius: 50%;
        background: var(--c-success-soft);
    }

        .status-hero__icon .icon {
            width: 52px;
            height: 52px;
            padding: 13px;
            border-radius: 50%;
            background: var(--c-success);
            color: #fff;
            box-shadow: 0 4px 12px rgba(16, 185, 129, .3);
            box-sizing: border-box;
        }

    .status-hero.is-danger .status-hero__icon {
        background: var(--c-danger-soft);
    }

        .status-hero.is-danger .status-hero__icon .icon {
            background: var(--c-danger);
            box-shadow: 0 4px 12px rgba(224, 65, 75, .3);
        }

    .status-hero.is-pending .status-hero__icon {
        background: var(--c-warning-soft);
    }

        .status-hero.is-pending .status-hero__icon .icon {
            background: var(--c-warning);
            box-shadow: 0 4px 12px rgba(232, 137, 12, .3);
        }

    .status-hero__title {
        margin: 0 0 12px;
        font-size: 24px;
        font-weight: 800;
        color: var(--c-text);
    }

    .status-hero__desc {
        max-width: 650px;
        margin-inline: auto;
        font-size: 14px;
        line-height: 1.8;
        color: var(--c-muted);
    }

    .status-layout {
        display: grid;
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 24px;
        align-items: start;
        padding-bottom: 20px;
    }

    .status-column {
        min-width: 0;
        height: 100%;
    }

    .status-card {
        height: 100%;
        padding: 24px;
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        background: var(--c-surface);
        box-shadow: var(--shadow-card);
    }

    .status-card__title {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        margin-bottom: 20px;
        font-size: 15px;
        font-weight: 700;
        color: var(--c-primary);
    }

        .status-card__title .icon {
            color: var(--c-primary);
        }

    .icon--bg {
        padding: 2px 4px;
        border-radius: var(--radius-sm);
        background: var(--c-primary-soft);
        color: var(--c-primary);
        display: flex;
    }

    .status-preview-card {
        position: relative;
        overflow: hidden;
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        padding-bottom: 30px;
        text-align: center;
        box-shadow: 0 8px 20px rgba(13, 40, 71, .15);
    }

    .status-preview-card__header {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
        padding: 8px 12px 0px;
        /*    background: linear-gradient(135deg, #0d2847 0%, #163c66 100%);*/
        background: url(/Content/site/img/blue-wave-background.svg);
        /*    background-color:white;*/
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 130px;
        color: #fff;
        text-align: center;
        /*    box-shadow: 0 8px 20px rgba(13, 40, 71, .15);*/
        position: relative;
        overflow: hidden;
        border-radius: 18px 18px 0 0;
    }

    .status-preview-card__header__title {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0px;
    }

    .status-preview-card__logo {
        display: flex;
        justify-content: center;
        align-items: center;
        place-items: center;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .status-preview-card__footer {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
        color: var(--c-primary);
        margin-top: -25px;
    }

    .status-preview-card__footer_head {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 2px;
        width: 100%;
        padding: 0px 10px;
    }

    .status-preview-card__footer__title {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
    }

    .status-preview-card__logo img {
        width: 100px;
        height: 70px;
        object-fit: contain;
    }

    .status-preview-card__title {
        font-size: 13px;
        font-weight: 700;
        line-height: 1.5;
    }

    .status-preview-card__subtitle {
        direction: ltr;
        font-size: 9px;
        letter-spacing: .5px;
        line-height: 1.4;
        opacity: .8;
        text-align: end;
    }

    .status-preview-card__photo {
        display: block;
        width: 90px;
        height: 90px;
        margin: 6px;
        border-radius: var(--radius-full);
        object-fit: cover;
        border: 1px solid rgba(255, 255, 255, .9);
        background: #e2e8f0;
    }

    .has-seprator {
        border-left: 1px solid #adb5cf;
    }

    .status-preview-card__name strong {
        display: block;
        margin-top: 6px;
        font-size: 16px;
        font-weight: 800;
    }

    .status-preview-card__enname {
        margin: 2px 0 16px;
        font-size: 11px;
        opacity: .75;
    }

    .status-preview-card__notissued {
        display: inline-block;
        padding: 6px 14px;
        border: 1px dashed #f87171;
        border-radius: 6px;
        background: rgba(254, 226, 226, .95);
        color: #dc2626;
        font-size: 11px;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
        transform: rotate(-3deg);
    }

    .status-preview-card__issued {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        border-radius: 6px;
        background: rgba(209, 250, 229, .95);
        color: #0b8a58;
        font-size: 12px;
        font-weight: 700;
    }

        .status-preview-card__issued .icon {
            width: 15px;
            height: 15px;
        }

    .status-preview-note {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 14px;
        font-size: 11.5px;
        color: var(--c-primary);
    }

        .status-preview-note .icon {
            width: 14px;
            height: 14px;
            color: var(--c-primary);
        }

    .status-info-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
        margin-bottom: 24px;
        padding: 16px;
        border: 1px solid var(--c-border);
        border-radius: var(--radius-sm);
        background: var(--c-primary-soft);
    }

    .status-info-item {
        display: flex;
        gap: 6px;
        min-width: 0;
        justify-content: center;
        align-items: center;
    }

    .status-info-item-title {
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-width: 0;
        align-items: center;
    }

    .status-info-label {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: var(--c-muted);
    }

        .status-info-label .icon {
            width: 14px;
            height: 14px;
        }

    .status-info-value {
        display: flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
        font-size: 13.5px;
        font-weight: 700;
        color: var(--c-text);
    }

    .status-copy {
        display: inline-flex;
        align-items: center;
        color: var(--c-primary);
        cursor: pointer;
    }

        .status-copy .icon {
            width: 13px;
            height: 13px;
        }

    .status-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        width: fit-content;
        padding: 4px 10px;
        border-radius: 20px;
        background: var(--c-warning-soft);
        color: var(--c-warning);
        font-size: 12px;
        font-weight: 700;
    }

        .status-badge .icon {
            width: 12px;
            height: 12px;
        }

    .status-stepper {
        margin-top: 25px;
        padding-top: 10px;
    }

    .status-stepper__title {
        margin-bottom: 25px;
        font-size: 14px;
        font-weight: 700;
        color: var(--c-text);
        text-align: start;
        color: var(--c-primary);
    }

    .status-stepper__track {
        position: relative;
        display: flex;
        justify-content: space-between;
        max-width: 600px;
        margin: 0 auto 10px;
    }

    .status-stepper__line {
        position: absolute;
        z-index: 1;
        top: 18px;
        inset-inline: 10%;
        height: 2px;
        background: var(--c-border);
    }

    .status-stepper__fill {
        position: absolute;
        top: 0;
        inset-inline-start: 0;
        height: 100%;
        background: var(--c-primary);
        transition: width .4s ease;
    }

    .status-step {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 25%;
    }

    .status-step__circle {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
        border: 2px solid var(--c-border-strong);
        border-radius: 50%;
        background: var(--c-surface);
        color: var(--c-muted);
        font-size: 13px;
        font-weight: 700;
        transition: all .3s;
    }

        .status-step__circle .icon {
            width: 16px;
            height: 16px;
        }

    .status-step__label {
        font-size: 12.5px;
        font-weight: 700;
        text-align: center;
        color: var(--c-text-2);
    }

    .status-step__sub {
        display: block;
        margin-top: 2px;
        font-size: 11px;
        text-align: center;
    }

    .status-step.is-active .status-step__circle {
        border-color: var(--c-primary);
        color: var(--c-primary);
    }

    .status-step.is-active .status-step__label {
        color: var(--c-primary);
    }

    .status-step.is-done .status-step__circle {
        border-color: var(--c-primary);
        background: var(--c-primary);
        color: #fff;
    }

    .status-notice {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
        border: 1px solid #bae6fd;
        border-radius: var(--radius);
        background: #f0f7ff;
    }

    .status-notice__icon {
        color: var(--c-primary);
    }

        .status-notice__icon .icon {
            width: 20px;
            height: 20px;
            margin-top: 2px;
        }

    .status-notice__content h4 {
        margin: 0 0 4px;
        font-size: 13.5px;
        font-weight: 700;
        color: #0369a1;
    }

    .status-notice__content p {
        margin: 0;
        font-size: 12.5px;
        line-height: 1.7;
        color: #0284c7;
    }

    .status-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        margin: 28px 0 36px;
    }

    .status-support {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 20px 24px;
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        background: var(--c-surface);
        box-shadow: var(--shadow-card);
    }

    .status-support__details {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 1px;
        font-size: 12.5px;
        color: var(--c-text-2);
    }

    .status-support__item {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-direction: row-reverse;
    }

        .status-support__item .icon {
            width: 15px;
            height: 15px;
            color: var(--c-primary);
        }

    .status-support__info {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: end;
    }

    .status-support__text h3 {
        margin: 0;
        font-size: 14px;
        font-weight: 700;
        color: var(--c-text);
    }

    .status-support__text p {
        margin: 2px 0 0;
        font-size: 12px;
        color: var(--c-muted);
    }

    .status-support__circle {
        display: grid;
        place-items: center;
        flex: none;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--c-primary-soft);
        color: var(--c-primary);
    }

        .status-support__circle .icon {
            width: 20px;
            height: 20px;
        }

    .request-header {
        color: var(--c-text-2);
        display: flex;
        flex-direction: row;
        background: url(/Content/site/img/request-header.jpg);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        min-height: 200px;
        padding-top: 15px;
        margin-bottom: 30px;
    }

    .badge-avatar-container {
        display: flex;
        align-items: center;
        gap: 0px;
        text-align: end;
        width: 100%;
        padding: 5px 0px;
        border: 1px solid var(--c-border);
        background: var(--c-neutral-soft);
        border-radius: var(--radius);
        position: relative;
        margin-top: 20px;
        justify-content: center;
    }

    .status-preview-card__body {
        display: flex;
        align-items: flex-start;
        gap: 24px;
        text-align: start;
        flex-direction: column;
        padding-right: 6px;
        padding-top: 12px;
        background: url(/Content/site/img/g-8.svg);
        background-repeat: no-repeat;
        background-size: 40%;
        background-position: left bottom;
        font-size: 11px;
    }

    .status-preview-card__body_info {
        display: flex;
        align-items: flex-start;
        gap: 4px;
        text-align: start;
        flex-direction: column;
    }

    .status-preview-card__body_detail {
        display: flex;
        align-items: flex-start;
        gap: 4px;
        text-align: start;
        flex-direction: column;
    }

    .head__section {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 32px;
        text-align: start;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .orders-head {
        background: url(/Content/site/img/order-baner.jpeg);
        background-repeat: no-repeat;
        background-size: 30%;
        background-position: left bottom;
        margin-block-end: 0px;
    }
html[dir="ltr"] .orders-head {
    background-position: right bottom;
}
    .page-head__title {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }


    .guide-card {
        background: var(--c-neutral-soft);
        border-radius: 16px;
        /*    box-shadow: var(--card-shadow);*/
        padding: 28px;
        border: 1px solid #edf2f7;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .guide-content {
        flex: 1;
    }

    .guide-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 20px;
    }

        .guide-title i {
            color: var(--c-primary);
            font-size: 20px;
        }

    .guide-steps {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .guide-step {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 13px;
        color: #475569;
        line-height: 1.6;
    }

    .step-number {
        background-color: #dbeafe;
        color: var(--c-primary);
        min-width: 22px;
        height: 22px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        margin-top: 2px;
    }

    .guide-illustration {
        background-image: url(/Content/site/img/info-preview.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 220px;
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .payment-methods-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }

    .payment-option {
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        padding: 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        transition: all 0.2s;
        background-color: #f0fdf4;
    }

        .payment-option.active {
            border-color: var(--c-primary);
            background-color: #f0fdf4;
            box-shadow: 0 0 0 1px var(--c-primary);
        }

        .payment-option.offline {
            background-color: #f0fdf4;
            border-color: #dcfce7;
        }

            .payment-option.offline.active {
                border-color: #16a34a;
            }

    .option-right {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .radio-circle {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 2px solid #cbd5e1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .payment-option.active .radio-circle {
        border-color: var(--c-primary);
    }

    .radio-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--c-primary);
        display: none;
    }

    .payment-option.active .radio-dot {
        display: block;
    }

    .option-details h4 {
        font-size: 14.5px;
        font-weight: 700;
        color: #1e293b;
    }

    .option-details p {
        font-size: 12px;
        color: #64748b;
        margin-top: 2px;
    }

    .option-icon {
        width: 42px;
        height: 42px;
        background-color: #e0edff;
        color: var(--c-primary);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

        .option-icon.green {
            background-color: #dcfce7;
            color: #16a34a;
        }

    .pay-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .pay-btn-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    @media (max-width: 992px) {
        .status-layout {
            grid-template-columns: minmax(0, 1fr);
        }
    }

    @media (max-width: 640px) {
        .status-info-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .status-step__circle {
            width: 30px;
            height: 30px;
        }

        .status-stepper__line {
            top: 15px;
        }

        .status-step__sub {
            display: none;
        }

        .status-support {
            flex-direction: column;
            text-align: center;
        }

        .status-support__info {
            justify-content: center;
            text-align: center;
        }
    }

    .wizard-header {
        flex: 1;
    }

    .offline select.input {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
        background-repeat: no-repeat;
        background-position: left 12px center; /* ÙˆØ³Ø· Ø¹Ù…ÙˆØ¯ÛŒØŒ ÙØ§ØµÙ„Ù‡ Ø§Ø² Ú†Ù¾ */
        padding-left: 36px; /* Ø¬Ø§ Ø¨Ø±Ø§ÛŒ ÙÙ„Ø´ */
    }
    /* the offline payment page (owner's mock-up): the read-only stepper of the payment flow, the account
   card with its copy buttons, the tips box and the sample bank slip. The form itself uses the shared
   components (.wizard .stepper, .form-grid, .field, .upload-box), only what the site had no part for
   is added here. */
    .offline {
        background: var(--c-surface);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-card);
        padding: 15px;
    }

    .offline-head {
        flex-wrap: wrap;
        row-gap: var(--space-2);
    }

    .offline-head__sub {
        flex-basis: 100%;
        margin: 0;
        color: var(--c-muted);
        font-size: 14px;
    }

    .offline-head .breadcrumb {
        margin-inline-start: auto;
    }
    /* the mock-up's columns: the form is wider than the account column */
    .offline .content-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
        gap: 15px;
    }

    .offline .form-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .offline .info-bar-top {
        max-width: none;
    }

    .offline .form-grid .full-width .field__hint {
        margin-block-start: 4px;
        text-align: end;
    }

    .offline .field__hint.is-full {
        color: var(--c-danger);
        font-weight: 700;
    }

    .offline .input-group__icon .icon--sm {
        width: 15px;
        height: 15px;
    }

    .offline select.input--bare {
        padding-inline-end: 14px;
    }
    /* the tips of the form */
    .offline .tips-box {
        padding: var(--space-4);
        border: 1px solid var(--c-border);
        border-radius: var(--radius-sm);
        background: var(--c-row-hover);
    }

    .offline .tips-title {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        margin-block-end: var(--space-3);
        color: var(--c-primary);
        font-size: 14px;
        font-weight: 700;
    }

    .offline .tips-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        margin: 0;
        padding-inline-start: 20px;
        color: var(--c-text-2);
        font-size: 13px;
    }

        .offline .tips-list li::marker {
            color: var(--c-primary);
            font-weight: 700;
        }
    /* the account of the association: the rows of a bank slip, with the copy button of each number */
    .offline .account-desc {
        padding: var(--space-3) var(--space-4);
        border-radius: var(--radius-sm);
        background: var(--c-row-hover);
        color: var(--c-muted);
        font-size: 13px;
        line-height: 1.7;
    }

    .offline .account-card {
        padding: var(--space-4);
        border: 1px solid var(--c-border);
        border-radius: var(--radius-sm);
    }

    .offline .bank-name-header {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        margin-block-end: var(--space-3);
        padding-block-end: var(--space-2);
        border-block-end: 1px dashed var(--c-border-strong);
        font-size: 15px;
        font-weight: 700;
    }

    .offline .acc-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
        padding-block: var(--space-2);
        font-size: 13px;
    }

        .offline .acc-row + .acc-row {
            border-block-start: 1px solid var(--c-border);
        }

    .offline .acc-label {
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--c-muted);
    }

        .offline .acc-label .icon {
            color: var(--c-primary);
        }

    .offline .acc-value-group {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .offline .acc-value {
        font-weight: 700;
        text-align: end;
    }

    .offline .acc-value--sheba {
        font-family: ui-monospace, "Segoe UI", monospace;
        font-size: 12px;
    }

    .offline .copy-btn {
        display: inline-grid;
        place-items: center;
        width: 28px;
        height: 28px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: var(--c-primary);
        cursor: pointer;
    }

        .offline .copy-btn:hover {
            background: var(--c-primary-soft);
        }

        .offline .copy-btn.is-copied {
            color: var(--c-success-hover);
        }
    /* the drawing of a bank slip, so the member sees which two numbers are asked for */
    .offline .sample-title {
        margin-block-end: var(--space-2);
        font-size: 14px;
        font-weight: 700;
    }

    .offline .sample-receipt__card {
        background-image: url(/Content/site/img/fish-sample.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 500px;
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: relative;
    }

    .offline .receipt-mock {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        padding: var(--space-3);
        border: 1px solid var(--c-border);
        border-radius: 8px;
        background: var(--c-neutral-soft);
    }

    .offline .receipt-mock__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
    }

        .offline .receipt-mock__row small {
            display: block;
            margin-block-end: 2px;
            color: var(--c-muted);
            font-size: 11px;
        }

    .offline .highlight-box-number {
        position: absolute;
        color: var(--c-danger);
        font-size: 13px;
        font-weight: 800;
        top: 50px;
        left: 70px;
    }

    .offline .highlight-box-date {
        color: var(--c-danger);
        font-size: 13px;
        font-weight: 800;
        position: absolute;
        top: 50px;
        right: 50px;
    }

    .offline .receipt-mock__bar {
        height: 40px;
        border-radius: 4px;
        background: var(--c-border);
        opacity: .5;
    }

    .offline .receipt-overlay-text {
        font-size: 14px;
        font-weight: 800;
        position: absolute;
    }

    @media (max-width: 992px) {
        .offline .content-grid {
            grid-template-columns: minmax(0, 1fr);
        }
    }

    @media (max-width: 600px) {
        .offline .form-grid {
            grid-template-columns: minmax(0, 1fr);
        }

            .offline .form-grid .full-width {
                grid-column: auto;
            }

        .offline-head__sub {
            font-size: 12px;
        }
    }

    .news-header {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }


.article__head__details__section {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    height:100%;

}
.article__banner__details__right {
    display: flex;
    height: 100%;
    align-items: center;
}
.article__banner__details__right div{
    display: flex;
    border-left: 4px solid var(--c-orange);
    padding-left: 16px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    flex-direction: column;
    align-items: end;
    line-height:1.5;
}
.article--facts--rows {
    gap: 0 var(--space-4);
}

    .article--facts--rows dt, .article--facts--rows dd {
        padding-block: var(--space-1);
        border-block-end: 1px solid var(--c-border);
    }

    .article--facts--rows dd {
        text-align: right;
        font-weight: 700;
    }
    .article--facts--rows dt{
        color:var(--c-primary)
    }

.article-writer-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

    .article-writer-list li {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        font-size: 14px;
        flex-direction:row-reverse;
    }

        .article-writer-list li > div {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }

    .article-writer-list small {
        font-size: 12px;
    }

.article-user-avatar {
    align-self: start;
}
.article__tabs__tab {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);

    font-weight: 900;
}
    .article__tabs__tab.is-active {
        background: var(--c-primary);
        color:white;
        font-weight:900;

    }

.article__card__body {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    margin-top: 12px;
    background: var(--c-neutral-50);
}

/* my courses (Viewer Member/Courses): a search + filter toolbar over a stack of course cards */
.courses {
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    flex-wrap: wrap;
    padding: var(--space-4);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-surface);
    box-shadow: var(--shadow-card);
    margin-block-end: var(--space-5);
}
.course-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    flex-wrap: wrap;
    padding: var(--space-4);
    width: 100%;
}
.course-toolbar__search.input-group { width: 100%; max-width: 340px; }
.filter-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: var(--c-surface);
    color: var(--c-text-2);
    font-family: inherit;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.filter-tabs button:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-tabs button.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }
.filter-tabs button.is-active .tabs__count { background: var(--c-primary-hover); color: #fff; }

.course-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: 100%
}
.course-list > [hidden] { display: none !important; }

.course-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 450px) auto auto auto;
    gap: var(--space-5);
    align-items: center;
    padding: var(--space-5);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-surface);
    box-shadow: var(--shadow-card);
    transition: box-shadow .15s, border-color .15s;
}
.course-card:hover { box-shadow: var(--shadow-pop); border-color: var(--c-border-strong); }

.course-card__pic {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-violet) 100%);
    color: #fff;
    flex: none;
}
.course-card__main { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.course-card__kind { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-muted); }
.course-card__kind .icon { color: var(--c-primary); }
.course-card__title { font-size: 17px; font-weight: 700; color: var(--c-text); margin: 0; }
.course-card__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.course-card__facts {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, auto));
    gap: var(--space-2) var(--space-6);
    margin: var(--space-3) 0 0 0;
    padding: var(--space-3) 0 0 0;
    border-block-start: 1px solid var(--c-border);
}
.course-card__fact {
    display: flex;
    flex-direction: column;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.course-card__fact dt { font-size: 12px; color: var(--c-muted); }
.course-card__fact dd { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; color: var(--c-text-2); }
.course-card__fact dd .icon { color: var(--c-muted); }

.course-card__side { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.course-card__actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-2); }

@media (max-width: 980px) {
    .course-card { grid-template-columns: 80px minmax(0, 1fr); }
    .course-card__pic { width: 80px; height: 80px; }
    .course-card__side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-block-start: 1px solid var(--c-border);
        padding: var(--space-3) 0 0 0;
    }
    .course-card__actions { flex-direction: row; flex-wrap: wrap; }
    .course-toolbar__search.input-group { max-width: none; }
}
@media (max-width: 560px) {
    .course-card { grid-template-columns: 1fr; gap: var(--space-4); }
    .course-card__pic { display: none; }
    .course-card__facts { grid-template-columns: 1fr; }
}
.archive__preview {
    top: 100px;
    position: sticky;
}

.program__aside .is-sticky {
    position: sticky;
}

.program__aside {
    height: 100%;
    background: url(/Content/site/img/event/H04.webp) center bottom / 100% auto no-repeat
}
html[dir="ltr"] .status-preview-card__name strong {
    font-size: 13px;
}
html[dir="ltr"] .status-preview-card__title {
    font-size: 11px;
    text-align: start;
}
html[dir="ltr"] .status-preview-card__subtitle {
    text-align: start;
}
html[dir="ltr"] .wizard .step-item::after {
    right: calc(-50% - 1.5px);
    left: calc(50% + 1.5px);
}
html[dir="ltr"] .page-banner--article {
    background-image: url(/Content/site/img/article/F3.webp);
}
html[dir="ltr"] .article__banner__details__right div {
    align-items: start;
}

.account-edit-btn{
    justify-content:space-between;
}
.photo-box__image { position: relative; }
.photo-box__edit {
    position: absolute;
    bottom: var(--space-2);
    left: var(--space-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    color: var(--c-text);
    cursor: pointer;
    transition: transform .12s ease, background .12s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
    .photo-box__edit:hover {
        background: rgba(255, 255, 255, .95);
        transform: scale(1.3);
    }
.photo-box__edit:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.photo-box__edit .icon { width: 18px; height: 18px; }




/* =========================================
   Password Change Page
   ========================================= */

.password-page {
    --pw-blue: #1248ed;
    --pw-blue-hover: #073bd4;
    --pw-ink: #092e63;
    --pw-muted: #8996a9;
    --pw-border: #dce4ef;
    --pw-pale: #eff5ff;
    width: 100%;
    min-width: 0;
    color: var(--pw-ink);
}

    .password-page,
    .password-page * {
        box-sizing: border-box;
    }

.password-page__card {
    width: 100%;
    min-width: 0;
    padding: 15px 25px 20px;
    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 11px;
    box-shadow: 0 5px 24px rgba(27, 72, 125, 0.045);
}

.password-page__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

    .password-page__heading h2 {
        margin: 0;
        color: var(--pw-ink);
        font-size: 19px;
        font-weight: 800;
        line-height: 1.8;
    }

.password-page__heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    color: var(--pw-blue);
    background: #e8f1ff;
    border-radius: 50%;
}

    .password-page__heading-icon svg {
        width: 23px;
        height: 23px;
    }

.password-page__notice {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 47px;
    margin-bottom: 20px;
    padding: 10px 15px;
    color: #17437d;
    background: var(--pw-pale);
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.9;
}

.password-page__notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: var(--pw-blue);
    border: 2px solid currentColor;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.password-page__success {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 12px 14px;
    color: #147b4b;
    background: #edfbf3;
    border: 1px solid #c8efd9;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.8;
}

    .password-page__success svg {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
    }

/* Form */

.password-form {
    width: 100%;
    margin: 0;
}

.password-form__fields {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.password-field {
    display: block;
    width: 100%;
    min-width: 0;
}

.password-field__label {
    display: block;
    margin-bottom: 8px;
    color: var(--pw-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.password-field__required {
    color: #f22b36;
    font-weight: 700;
}

.password-field__input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 42px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d7e0eb;
    border-radius: 9px;
    box-shadow: inset 0 1px 2px rgba(20, 48, 80, 0.025);
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .password-field__input-group:focus-within {
        border-color: #6b99ff;
        box-shadow: 0 0 0 3px rgba(7, 82, 245, 0.07);
    }

.password-field__lock {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    color: #667487;
    border-left: 1px solid var(--pw-border);
}

    .password-field__lock svg {
        width: 21px;
        height: 21px;
    }

.password-field__input {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 13px;
    color: #173d70;
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
    font-family: inherit;
    font-size: 12px;
    text-align: right;
}

    .password-field__input::placeholder {
        color: #8d99aa;
        opacity: 1;
    }


.password-field__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 100%;
    padding: 0;
    color: #667487;
    background: transparent;
    border: 0;
    cursor: pointer;
}

    .password-field__toggle svg {
        width: 19px;
        height: 19px;
    }

    .password-field__toggle:hover {
        color: var(--pw-blue);
    }

    .password-field__toggle:focus-visible {
        outline: 2px solid var(--pw-blue);
        outline-offset: -3px;
    }

/* Server and client errors */

.password-field__error,
.password-field__client-error {
    display: block;
    margin-top: 5px;
    color: #d6293e;
    font-size: 11px;
    line-height: 1.8;
}

    .password-field__client-error:empty {
        display: none;
    }

.password-field.is-invalid .password-field__input-group,
.password-field.has-client-error .password-field__input-group {
    border-color: #e04455;
}

.password-field__hint {
    display: block;
    margin-top: 5px;
    color: var(--pw-muted);
    font-size: 11px;
}

/* Password strength */

.password-strength {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    min-height: 92px;
    margin-top: 8px;
}

.password-strength__bars {
    display: flex;
    width:50%;
    gap: 3px;
    padding-top: 5px;
}

    .password-strength__bars span {
        flex: 1 1 0;
        height: 6px;
        background: #dfe3e9;
        border-radius: 5px;
        transition: background-color 0.2s ease;
        flex-direction:row-reverse;
    }

.password-strength__rules {
    flex: 0 0 auto;
    min-width: 195px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #606b7c;
    font-size: 11px;
    line-height: 19px;
}

    .password-strength__rules li::before {
        content: "";
        display: inline-block;
        width: 10px;
        height: 10px;
        margin-left: 7px;
        border: 1px solid #9ba6b5;
        border-radius: 50%;
        vertical-align: -1px;
    }

    .password-strength__rules li.is-valid {
        color: #16885d;
    }

        .password-strength__rules li.is-valid::before {
            content: "âœ“";
            color: #fff;
            background: #12a66a;
            border-color: #12a66a;
            font-size: 9px;
            line-height: 10px;
            text-align: center;
        }

/* Form actions */

.password-form__message {
    margin: 0;
    color: #b66b00;
    font-size: 12px;
    line-height: 1.8;
}

    .password-form__message:empty {
        display: none;
    }

.password-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 19px;
    padding-top: 19px;
    border-top: 1px solid #f0f3f8;
    justify-content:end;
}

.password-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 203px;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

    .password-page__btn svg {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
    }

    .password-page__btn:active {
        transform: translateY(1px);
    }

    .password-page__btn:focus-visible {
        outline: 2px solid #6b99ff;
        outline-offset: 3px;
    }

.password-page__btn--primary {
    color: #fff;
    background: var(--pw-blue);
    border-color: var(--pw-blue);
    box-shadow: 0 3px 8px rgba(18, 72, 237, 0.12);
}

    .password-page__btn--primary:hover {
        color: #fff;
        background: var(--pw-blue-hover);
        border-color: var(--pw-blue-hover);
        box-shadow: 0 5px 12px rgba(18, 72, 237, 0.2);
    }

.password-page__btn--outline {
    color: #073b84;
    background: #fff;
    border-color: #0752f5;
}

    .password-page__btn--outline:hover {
        color: #073b84;
        background: #f3f7ff;
    }

/* Responsive */

@media (max-width: 900px) {
    .password-page__card {
        padding: 16px;
    }

    .password-strength {
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .password-page__card {
        padding: 14px 13px 16px;
        border-radius: 9px;
    }

    .password-page__heading h2 {
        font-size: 17px;
    }

    .password-page__notice {
        padding: 10px;
        font-size: 10px;
    }

    .password-field__label {
        font-size: 13px;
    }

    .password-field__input-group {
        height: 44px;
    }

    .password-field__lock {
        flex-basis: 43px;
        width: 43px;
    }

    .password-strength {
        gap: 8px;
    }

    .password-strength__bars {
        flex: 0 1 30%;
        gap: 2px;
    }

    .password-strength__rules {
        min-width: 170px;
        font-size: 10px;
    }

    .password-form__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .password-page__btn {
        width: 100%;
        min-width: 0;
        min-height: 46px;
    }
}

@media (max-width: 380px) {
    .password-strength {
        gap: 5px;
    }

    .password-strength__rules {
        min-width: 155px;
        font-size: 10px;
    }

    .password-page__btn {
        padding: 0 12px;
    }
}
.profile-page-head-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1536 / 135;
    align-items: center;
    justify-content: center;
    display: flex;
    color: var(--c-text)
}
.password-page-head {
    background-image: url(/Content/site/img/profile/002.webp);
   
}
html[dir="ltr"] .password-page-head {
    background-image: url(/Content/site/img/profile/002-1.webp);
}
.photo-page-head {
    background-image: url(/Content/site/img/profile/001.webp);
   
}
html[dir="ltr"] .photo-page-head {
    background-image: url(/Content/site/img/profile/001-1.webp);
}
.profile-page-head {
    background-image: url(/Content/site/img/profile/003.webp);
   
}
html[dir="ltr"] .profile-page-head {
    background-image: url(/Content/site/img/profile/003-1.webp);
}


.basket-page-head {
    background-image: url(/Content/site/img/profile/117-1.jpg);
}

html[dir="ltr"] .basket-page-head {
    background-image: url(/Content/site/img/profile/117-2.jpg);
}
.courses-page-head {
    background-image: url(/Content/site/img/profile/118-1.webp);
}

html[dir="ltr"] .courses-page-head {
    background-image: url(/Content/site/img/profile/118-2.webp);
}
.payments-page-head {
    background-image: url(/Content/site/img/profile/116-1.webp);
}

html[dir="ltr"] .payments-page-head {
    background-image: url(/Content/site/img/profile/116-2.webp);
}
.articles-page-head {
    background-image: url(/Content/site/img/profile/115-1.webp);
}

html[dir="ltr"] .articles-page-head {
    background-image: url(/Content/site/img/profile/115-3.webp);
}

.profile-page-head-container {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
    height: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
}
.head-title-container {
    align-items: start;
    flex-direction: column;
    display: flex;
    height: 100%;
    justify-content: end;
}
.head__description {
    font-size: 14px;
    color:var(--c-muted);
}
.profile-page-head__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--c-primary-soft-dark);
    color: var(--c-primary);
    flex: none;
}
.payments-head-title-container {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    height:100%;
}

.program-head-container{
    flex-direction:column;
    gap:0px !important;
}
.event-hero__text-container {
    display: flex;
    width: 100%;
    justify-content: end;
    align-items: center;
}
.program-event-hero__text{
    width:50%;
    display:grid;
    grid-template-columns:1fr 1fr 0.5fr;

}
.program-event-hero__facts{
    display:flex;
    align-items:center !important;
    justify-content:center !important;
}

/* ------------------------------------------------------------------ the member's articles in one event
   (owner's mock-up "ارسال مقالات"): the event in the page head, the call-to-action, a row per article with its track */
.event-articles-head {
    padding-block: var(--space-5);
    background: linear-gradient(180deg, var(--c-primary-soft-lightest), var(--c-bg));
}

.event-articles-head__inner {
    display: grid;
    grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
    gap: var(--space-5);
    align-items: center;
}

.event-articles-head__title {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    height:100%;
}

/* a short card of an event: picture, kind, title, when and where, the way to its page */
.event-brief {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    overflow: hidden;
}

.event-brief__media {
    order: 2;
    min-height: 140px;
    background: linear-gradient(135deg, #102a6b, #1648e8);
}

    .event-brief__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.event-brief__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-4);
}

.event-brief__title {
    font-size: 16px;
    line-height: 1.7;
}

.event-brief__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--c-text-2);
}

    .event-brief__meta li {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

.event-articles-cta {
    display: flex;
    align-items: stretch;
    gap: var(--space-4);
    padding:12px;
}

    .event-articles-cta .alert {
        flex: 1;
    }

    .event-articles-cta .btn {
        flex: none;
        align-self: center;
    }

/* one article of the member: thumbnail, title, facts, track | status and the way to its page */
.event-article {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 200px;
    gap: var(--space-4);
    align-items: start;
    padding: var(--space-4);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-surface);
    align-items: center;
}

.event-article__thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    background: var(--c-primary-soft);
    color: var(--c-primary);
    height:120px;
    width:100%;
}

.event-article__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 0;
}

.event-article__title {
    font-size: 16px;
    line-height: 1.7;
}

    .event-article__title a {
        color: var(--c-text);
    }

        .event-article__title a:hover {
            color: var(--c-primary);
        }

.event-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: var(--c-muted);
}

    .event-article__meta li {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

        .event-article__meta li + li {
            padding-inline-start: var(--space-3);
            border-inline-start: 1px solid var(--c-border);
        }

.event-article__side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
}

    .event-article__side .chip {
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

/* the road of an article: done steps green, the step it stands on in the colour of its status, a failed step red */
.track {
    display: flex;
    margin: var(--space-3) 0 0;
    padding: 0;
    list-style: none;
    --track-here: var(--c-primary);
    --track-here-soft: var(--c-primary-soft);
}

.track--warning {
    --track-here: var(--c-warning);
    --track-here-soft: var(--c-warning-soft);
}

.track--success {
    --track-here: var(--c-success);
    --track-here-soft: var(--c-success-soft);
}

.track--danger {
    --track-here: var(--c-danger);
    --track-here-soft: var(--c-danger-soft);
}

.track__step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    padding-block-start: 38px;
    text-align: center;
    font-size: 12px;
    color: var(--c-muted);
}

    .track__step::before {
        content: "";
        position: absolute;
        inset-block-start: 14px;
        inset-inline-start: 50%;
        width: 100%;
        height: 2px;
        background: var(--c-border-strong);
    }

    .track__step:last-child::before {
        display: none;
    }

.track__dot {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: calc(50% - 15px);
    z-index: 1;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--c-border-strong);
    border-radius: 50%;
    background: var(--c-surface);
    color: var(--c-muted);
}

.track__label {
    line-height: 1.5;
}

.track__date {
    font-size: 11px;
}

.track__step.is-done {
    color: var(--c-success-hover);
}

    .track__step.is-done::before {
        background: var(--c-success);
    }

    .track__step.is-done .track__dot {
        border-color: var(--c-success);
        background: var(--c-success);
        color: #fff;
    }

.track__step.is-active {
    color: var(--track-here);
    font-weight: 700;
}

    .track__step.is-active .track__dot {
        border-color: var(--track-here);
        background: var(--track-here);
        color: #fff;
        box-shadow: 0 0 0 4px var(--track-here-soft);
    }

.track__step.is-failed {
    color: var(--c-danger);
    font-weight: 700;
}

    .track__step.is-failed .track__dot {
        border-color: var(--c-danger);
        background: var(--c-danger);
        color: #fff;
    }

@media (max-width: 1100px) {
    .event-articles-head__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-article {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .event-article__side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 700px) {
    .event-brief {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-brief__media {
        order: 0;
        aspect-ratio: 16 / 7;
        min-height: 0;
    }

    .event-articles-cta {
        flex-direction: column;
    }

        .event-articles-cta .btn {
            align-self: stretch;
            justify-content: center;
        }

    .event-article {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-article__thumb {
        display: none;
    }

    .event-article__side {
        flex-direction: column;
        align-items: stretch;
    }

    /* seven steps do not fit side by side on a phone: the track stands upright */
    .track {
        flex-direction: column;
        gap: var(--space-2);
    }

    .track__step {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2);
        min-height: 30px;
        padding-block-start: 0;
        padding-inline-start: 40px;
        text-align: start;
    }

        .track__step::before {
            inset-block-start: 30px;
            inset-inline-start: 14px;
            width: 2px;
            height: calc(100% - 22px);
        }

    .track__dot {
        inset-block-start: 0;
        inset-inline-start: 0;
    }
}

/* ------------------------------------------------------------------ the referee's marks: one scale per part of the
   article (1 bad ... 5 excellent), radio buttons drawn as a row of tiles, and the running total */
.score-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.score-scale {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.score-scale__label {
    font-weight: 700;
    font-size: 14px;
}

.score-scale__options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.score-scale__option {
    position: relative;
    display: block;
    cursor: pointer;
}

    /* the radio stays in the page for the keyboard and the form, drawn by the tile after it */
    .score-scale__option input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

.score-scale__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 2px;
    border: 1px solid var(--c-border-strong);
    border-radius: var(--radius-sm);
    background: var(--c-surface);
    color: var(--c-text-2);
    text-align: center;
}

    .score-scale__tile b {
        font-size: 16px;
    }

    .score-scale__tile small {
        font-size: 11px;
        color: var(--c-muted);
    }

.score-scale__option:hover .score-scale__tile {
    border-color: var(--c-primary);
}

.score-scale__option input:checked + .score-scale__tile {
    border-color: var(--c-primary);
    background: var(--c-primary);
    color: #fff;
}

    .score-scale__option input:checked + .score-scale__tile small {
        color: #fff;
    }

.score-scale__option input:focus-visible + .score-scale__tile {
    box-shadow: 0 0 0 3px var(--c-primary-soft-darker);
}

.score-form:disabled .score-scale__option {
    cursor: default;
}

    .score-form:disabled .score-scale__option .score-scale__tile {
        opacity: .75;
    }

    .score-form:disabled .score-scale__option:hover .score-scale__tile {
        border-color: var(--c-border-strong);
    }

    .score-form:disabled .score-scale__option input:checked + .score-scale__tile {
        border-color: var(--c-primary);
    }

.score-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    background: var(--c-primary-soft);
    color: var(--c-primary);
    font-weight: 700;
}

    .score-total b {
        font-size: 18px;
    }



/* ===== Hero ===== */
.contact-us-hero {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    background: url(/Content/site/img/178-1.jpg) center 54% / cover no-repeat;
    overflow: hidden;
    aspect-ratio: 3000 / 482;
}
html[dir="ltr"] .contact-us-hero {
    background-image: url(/Content/site/img/178-2.jpg);
}
.contact-us-hero-content {
    
    width: 1185px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.contact-us-hero-english {
    text-align: left;
    color: #395578;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 300;
}

.contact-us-hero-title {
    text-align: center;
    margin-right: 45px;
}

    .contact-us-hero-title h1 {
        font-size: 38px;
        line-height: 1.3;
        color: #092d68;
        margin: 0 0 8px;
        font-weight: 800;
    }

    .contact-us-hero-title p {
        font-size: 19px;
        margin: 0;
        color: #163c76;
    }

.contact-us-hero-calligraphy {
    font-family: serif;
    font-size: 27px;
    line-height: 1.25;
    color: #647fa9;
    transform: rotate(-8deg);
    text-align: center;
    font-style: italic;
    opacity: .85;
}

/* ===== Content ===== */
.content-wrap {
    max-width: 1185px;
    margin: -50px auto 22px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.contact-card {
    background: rgba(255, 255, 255, 1);
    border: 1px solid #e2eaf5;
    border-radius: 11px;
    box-shadow: var(--shadow-card);
    padding: 22px 28px 23px;
    min-width: 0;
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 7px;
}

    .section-heading h2 {
        font-size: 19px;
        color: #0b2f69;
        font-weight: 800;
        margin: 0;
    }

    .section-heading span {
        height: 3px;
        width: 30px;
        background: #1769ce;
        border-radius: 4px;
    }

.intro {
    font-size: 12px;
    color: #8b9ab4;
    margin: 0 0 25px;
    line-height: 1.9;
}

/* ===== Form ===== */
/* the contact form is built from the shared field / input-group components, exactly as the profile and the
   login pages are; all that is set here is how this form's own boxes stack. */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

    #contactForm .field + .field {
        margin-block-start: 0;
    }

.form-status {
    font-size: 12px;
    margin: 0;
    color: #14805e;
    min-height: 0;
}

    .form-status:not(:empty) {
        padding: 8px 10px;
        background: #eaf8f1;
        border-radius: 7px;
    }

/* ===== Info card ===== */
.info-card {
    padding: 22px 29px 15px;
    display: flex;
    flex-direction: column;
}

    .info-card .section-heading {
      
        margin-bottom: 15px;
    }

.contact-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 62px 28px;
    align-items: start;
    column-gap: 50px;
    row-gap: 8px;
    padding: 0 0 14px;
    border-bottom: 1px solid #e0e8f3;
}

.detail-icon {
  
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

    .detail-icon svg {
        width: 30px;
        height: 30px;
       
    }

.contact-details strong {
    font-size: 14px;
    color: #123b77;
    font-weight: 700;
    padding-top: 2px;
}

.contact-details p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #294c7e;
    overflow-wrap: anywhere;
}

    .contact-details p a:hover {
        text-decoration: underline;
    }

.social-block {
    text-align: center;
    padding: 10px 0 17px;
}

    .social-block > p {
        font-size: 14px;
        font-weight: 500;
        margin: 0 0 10px;
    }

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

    .social-links a {
        display: flex;
        align-items: center;
        gap: 9px;
        direction: ltr;
        font-size: 12px;
    }

        .social-links a span {
            width: 33px;
            height: 33px;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 21px;
            font-weight: 700;
        }



.map-frame {
    height: 203px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #e7edf1;
    flex:1;
}

    .map-frame > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.map-expand {
    position: absolute;
    bottom: 15px;
    left: 13px;
    padding: 8px 11px;
    border-radius: 7px;
    background: white;
    color: #15519b;
    font-size: 11px;
    box-shadow: 0 2px 8px #12345b20;
}
html[dir="rtl"] input[name="PhoneNumber"]::placeholder {
    text-align: right;
}
html[dir="rtl"] .rtl-placeholder::placeholder {
    text-align: right;
}
/* ===== Responsive ===== */
@media (max-width: 1250px) {
    .content-wrap {
        margin-left: 24px;
        margin-right: 24px;
    }

    .contact-us-hero-content {
        max-width: 900px;
    }
}

@media (max-width: 980px) {
    .contact-us-hero {
        height: 230px;
    }

    .contact-us-hero-content {
        padding: 18px 30px;
    }

    .contact-us-hero-title {
        margin: 0;
    }

        .contact-us-hero-title h1 {
            font-size: 32px;
        }

        .contact-us-hero-title p {
            font-size: 15px;
        }

    .contact-us-hero-calligraphy {
        display: none;
    }

    .content-wrap {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin-top: -18px;
        gap: 12px;
    }

    .form-card {
        order: 2;
    }

    .info-card {
        order: 1;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 13px;
    }

    .contact-us-hero {
        height: 205px;
        background-position: center;
    }

    .contact-us-hero-content {
        justify-content: center;
        padding: 25px 15px;
    }

    .contact-us-hero-english {
        display: none;
    }

    .contact-us-hero-title h1 {
        font-size: 30px;
    }

    .contact-us-hero-title p {
        font-size: 13px;
        max-width: 280px;
        line-height: 1.8;
    }

   

    .content-wrap {
        margin: -12px 10px 20px;
        padding: 0;
        gap: 10px;
    }

    .contact-card {
        padding: 19px 15px;
        border-radius: 10px;
    }

    .section-heading h2 {
        font-size: 17px;
    }

    .intro {
        font-size: 11px;
        margin-bottom: 18px;
    }

    .contact-details {
        grid-template-columns: 25px 53px minmax(0, 1fr);
        column-gap: 7px;
        row-gap: 10px;
    }

        .contact-details p,
        .contact-details strong {
            font-size: 11px;
        }

    .map-frame {
        height: 190px;
    }

    .social-links {
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

.submit-article-banner {
    background-image: url(/Content/site/img/article/186-1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1536 / 133;
    align-items: center;
    justify-content: center;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: var(--space-5);
}

.submit-article-sub-hero__banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 150px;
    overflow: hidden;
   

}

.submit-article-sub-hero__body {
    position: relative;
    display: grid;
    gap: var(--space-2);
    justify-items: start;
    padding: var(--space-5);
    max-width: 60%;
    min-height: 150px;
}

    .submit-article-sub-hero__body h2 {
        font-size: 20px;
        -webkit-text-stroke: medium;
    }

.submit-article-event-mini {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: var(--space-3);
    margin-block: var(--space-3);
}
.form-group-container {
    display: flex;
    gap: var(--space-4);
}
.DutyCategory-select{
    padding-right:35px !important;
}
.jpg-sample{
    color:white;
    background:var(--c-primary)
}
.submit-article-review-block .article-strong-title {
    font-weight: bolder !important;
    color: var(--c-text) !important;
}

.article-submited-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 16px;
}

.decoration-dot {
    position: absolute;
/*    border-radius: 50%;*/
}

.dot-1 {
    width: 20px;
    height: 10px;
    background: #3b82f6;
    top: 50px;
    right: 40%;
    opacity: 0.8;
    transform: rotate(45deg);
}

.dot-2 {
    width: 20px;
    height: 8px;
    background: #f59e0b;
    top: 35%;
    left: 38%;
    opacity: 0.7;
    transform: rotate(30deg);
}

.dot-3 {
    width: 12px;
    height: 24px;
    background: #ec4899;
    bottom: 60%;
    right: 35%;
    opacity: 0.7;
    transform: rotate(70deg);
}
.dot-4 {
    width: 10px;
    height: 14px;
    background: #3b82f6;
    top: 25%;
    left: 35%;
    opacity: 0.6;
    transform: rotate(25deg);
}

.dot-5 {
    width: 16px;
    height: 8px;
    background: #c40bf5;
    top: 12%;
    left: 38%;
    opacity: 0.7;
    transform: rotate(125deg);
}

.dot-6 {
    width: 12px;
    height: 12px;
    background: #FFEB3B;
    bottom: 50%;
    right: 40%;
    opacity: 0.7;
    transform: rotate(45deg);
}
.event-article-header-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-block-start: 16px;
}

.judging-banner {
    background-image: url(/Content/site/img/judging/256-2.png);
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: flex-start;
}
html[dir="ltr"] .judging-banner {
    background-image: url(/Content/site/img/judging/256-3.png);
}
.judging-header  {
    grid-template-columns: 320px minmax(0, 1fr) !important;
}
.judging-header .sub-hero__body {
    background: none;
}
.judging-header .sub-hero__title  {

    height:100%;

}

.judging-header .sub-hero__title .head-title{
    padding-block-start:20px;
}

.judging-review-nav{
    padding-block-start:20px;
}


.rp {
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 14px;
    line-height: 1.6;
    min-width: 0;
}

    .rp .hidden {
        display: none !important;
    }

/* ---- hero banner ------------------------------------------------ */
.rp-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    background-color: #1e293b;
    background-image: linear-gradient(180deg, rgba(15, 23, 42, .4) 0%, rgba(15, 23, 42, .7) 100%), url('https://images.unsplash.com/photo-1578895210405-907db486c111?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center 30%;
}

.rp-hero__crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

    .rp-hero__crumbs a {
        color: #cbd5e1;
    }

        .rp-hero__crumbs a:hover {
            color: #fff;
            text-decoration: underline;
        }

    .rp-hero__crumbs .now {
        color: #fff;
        font-weight: 600;
    }

.rp-hero__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block-start:12px;
}

.rp-hero__badge {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 8px;
    background: rgba(37, 99, 235, .8);
    border: 1px solid rgba(147, 197, 253, .3);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.rp-hero h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.rp-hero__desc {
    margin-top: 8px;
    font-size: 14px;
    color: #e2e8f0;
}

.rp-hero__event {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #cbd5e1;
}

/* ---- action bar ------------------------------------------------- */
.rp-bar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rp-bar__nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.rp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.rp-btn--outline {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: #fff;
}

    .rp-btn--outline:hover {
        background: var(--c-primary-soft-light);
        color: var(--c-primary-hover);
    }

.rp-btn--primary {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08);
}

    .rp-btn--primary:hover {
        background: var(--c-primary-hover);
        border-color: var(--c-primary-hover);
        color: #fff;
    }

.rp-btn--off {
    border-color: #e2e8f0;
    color: #94a3b8;
    background: #fff;
    opacity: .6;
    cursor: not-allowed;
    user-select: none;
}

.rp-pos {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 6px 12px;
}

/* ---- grid and cards --------------------------------------------- */
.rp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.rp-side, .rp-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.rp-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px rgba(16, 24, 40, .04);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rp-card--g16 {
    gap: 16px;
}

.rp-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-primary);
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

    .rp-card__head h3 {
        font-size: 16px;
        font-weight: 700;
 
    }

/* ---- meta rows --------------------------------------------------- */
.rp-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}

.rp-meta__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
}

    .rp-meta__row:last-child {
        border-bottom: 0;
    }



.rp-meta__v {
    font-weight: 600;
}

/* ---- deadline box ------------------------------------------------ */
.rp-deadline {
    margin-top: 12px;
    display: flex;
    align-items: center;
    
    gap: 8px;
    border: 1px solid;
    border-radius: 8px;
    padding: 12px;
    font-size: 12px;
}

.rp-deadline--warning {
    background: #fffbeb;
    border-color: #fde68a;
}

.rp-deadline--danger {
    background: #fef2f2;
    border-color: #fecaca;
}

.rp-deadline--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.rp-deadline__t {
    font-weight: 700;

    margin-bottom: 2px;
}

.rp-deadline__s {
    font-size: 11px;
}

.rp-deadline--warning .rp-deadline__s {
    color: #92400e;
}

.rp-deadline--danger .rp-deadline__s {
    color: #991b1b;
}

.rp-deadline--success .rp-deadline__s {
    color: #065f46;
}

.rp-deadline__i {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-deadline--warning .rp-deadline__i {
    background: #fef3c7;
    color: #d97706;
}

.rp-deadline--danger .rp-deadline__i {
    background: #fee2e2;
    color: #dc2626;
}

.rp-deadline--success .rp-deadline__i {
    background: #d1fae5;
    color: #059669;
}

/* ---- alerts ------------------------------------------------------ */
.rp-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid;
    border-radius: 8px;
    padding: 12px;
    font-size: 12px;
}

    .rp-alert .icon {
        margin-top: 2px;
    }

.rp-alert--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.rp-alert--danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.rp-alert--muted {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
}

.rp-alert a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

/* ---- scoring form ------------------------------------------------ */
.rp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rp-marks {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .rp-marks[disabled] {
        opacity: .6;
    }

.rp-mark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

    .rp-mark:last-child {
        border-bottom: 0;
        padding-bottom: 4px;
    }

.rp-mark__label {
    width: 50%;
    font-weight: 500;
}

.rp-mark__opts {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}

.rp-tile {
    width: 28px;
    height: 28px;
    flex: none;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
   
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

    .rp-tile:hover {
        background: #f8fafc;
    }

.rp-mark__opts input:checked + .rp-tile {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    font-weight: 700;
}

.rp-mark__opts input:focus-visible + .rp-tile {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
}

.rp-marks[disabled] .rp-tile {
    cursor: default;
}

.rp-total {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.rp-total__k {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 2px;
}

.rp-total__v {
    font-size: 20px;
    font-weight: 800;
    color: var(--c-primary);
}

.rp-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--c-primary);
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08);
    transition: background-color .15s ease;
}

    .rp-submit:hover {
        background: var(--c-primary-hover);
    }

/* ---- reviewer note ------------------------------------------------ */
.rp-note {
    width: 100%;
    box-sizing: border-box;
    font-size: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    background: #fff;
    resize: vertical;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .rp-note::placeholder {
        color: #94a3b8;
    }

    .rp-note:focus {
        outline: none;
        border-color: var(--c-primary);
        box-shadow: 0 0 0 3px rgba(22, 72, 232, .12);
    }

    .rp-note[readonly] {
        background: #f8fafc;
        color: #64748b;
    }

.rp-note__count {
    text-align: left;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 4px;
}

/* ---- chips and the article summary ------------------------------- */
.rp-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    justify-content:space-between;
    width:100%;
}

.rp-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

    .rp-chip .icon {
        width: 14px;
        height: 14px;
    }

.rp-chip--warning {
    background: #fef3c7;
    color: #92400e;
}

.rp-chip--info {
    background: #dbeafe;
    color: #1e40af;
}

.rp-chip--success {
    background: #d1fae5;
    color: #065f46;
}

.rp-chip--danger {
    background: #fee2e2;
    color: #991b1b;
}

.rp-chip--neutral {
    background: #f1f5f9;
    color: #334155;
}

.rp-chip--violet {
    background: #f3e8ff;
    color: #6b21a8;
}

.rp-summary__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rp-pdf {
    width: 100px;
    height: 100px;
    flex: none;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color:var(--c-primary)
}

.rp-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 12px;
    font-size: 12px;
    color: #1e3a8a;
}

    .rp-notice .icon {
        margin-top: 2px;
        color: var(--c-primary);
    }

/* ---- document card: tabs and viewer ------------------------------- */
.rp-doc {
    background: #fff;
  
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rp-tabs {
    display: flex;
    background: rgba(248, 250, 252, .6);
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
}

.rp-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
   
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s ease;
}

    .rp-tab:hover {
        color: #0f172a;
    }

    .rp-tab.is-active {
        color: var(--c-primary);
        border-bottom-color: var(--c-primary);
        background: #fff;
    }

.rp-panel {
    padding: 16px;
}

.rp-viewer {
    background: #1e293b;
    color: #e2e8f0;
    font-size: 12px;
}

.rp-viewer__bar {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #0f172a;
    border-bottom: 1px solid #334155;
    padding: 8px 16px;
}

.rp-viewer__grp {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.rp-viewer__file {
    font-weight: 600;
    color: #cbd5e1;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rp-tool {
    display: inline-flex;
    color: #cbd5e1;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: color .15s ease;
}

    .rp-tool:hover {
        color: #fff;
    }

.rp-viewer__stage {
    background: #475569;
    padding: 24px;
    display: flex;
    justify-content: center;
}

.rp-page {
    background: #fff;
    color: #0f172a;
    width: 100%;
    max-width: 672px;
    min-height: 600px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
    border-radius: 4px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rp-page__head {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

    .rp-page__head h2 {
        font-size: 20px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.5;
    }

.rp-sec {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .rp-sec h3 {
        font-size: 14px;
        font-weight: 700;
        color: #0f172a;
    }

    .rp-sec p {
        font-size: 12px;
       
        line-height: 1.75;
    }

.rp-page__empty {
    font-size: 12px;
    color: #94a3b8;
}

/* ---- attachments -------------------------------------------------- */
.rp-files {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rp-file {
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .15s ease;
}

    .rp-file:hover {
        box-shadow: 0 4px 12px rgba(16, 24, 40, .08);
    }

    .rp-file a {
        display: block;
    }

    .rp-file img {
        width: 100%;
        height: 144px;
        object-fit: cover;
    }

.rp-file__ph {
    height: 144px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.rp-file figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px;
    font-size: 11px;
}

.rp-file__name {
    color: #334155;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rp-file__act {
    flex: none;
    color: var(--c-primary);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

    .rp-file__act:hover {
        text-decoration: underline;
        color: var(--c-primary-hover);
    }

.rp-empty {
    font-size: 12px;
    color: #64748b;
}

/* ---- extra info panel --------------------------------------------- */
.rp-panel--info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rp-event {
    margin-top: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rp-event__img {
    width: 64px;
    height: 64px;
    flex: none;
    border-radius: 8px;
    object-fit: cover;
}

.rp-event__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.rp-event__chip {
    align-self: flex-start;
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
}

.rp-event__title {
    font-weight: 700;
    color: #1e293b;
}

.rp-event__line {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
}

/* ---- guidance ------------------------------------------------------ */
.rp-guide {
    list-style: disc inside;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;

    line-height: 1.75;
}

.rp-summary--container {
    gap: 16px;
    display: flex;
    flex-direction: column;
}
.judging-banner-container{
    padding-bottom:0px;
    padding-top:0px;
    height:100%;
}
.review-card-body {
    display:flex;
    flex-direction:column;
    gap:var(--space-4);
    padding:var(--space-3);
    padding-bottom:var(--space-6)
}
.rp-card-description {
    background: var(--c-primary-soft-light);
}
.article--state {
    color: var( --c-primary);
    padding-block: var(--space-1);
}
/* ---- responsive ----------------------------------------------------- */
@media (min-width: 768px) {
    .rp-hero {
        padding: 32px;
    }
}

    @media (min-width: 640px) {
        .rp-files {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (min-width: 1024px) {
        .rp-grid {
            grid-template-columns: repeat(12, minmax(0, 1fr));
        }

        .rp-side {
            grid-column: span 4 / span 4;
        }

        .rp-main {
            grid-column: span 8 / span 8;
        }

        .rp-files {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    @media (max-width: 639px) {
        .rp-viewer__stage {
            padding: 16px;
        }

        .rp-page {
            padding: 20px;
        }
    }