:root {
    --header-height-desktop: 104px;
    --header-height-mobile: 88px;
    --header-background: #1f2330;
    --header-overlay: rgba(13, 16, 27, 0.28);
    --header-overlay-menu: rgba(20, 23, 35, 0.96);
    --header-text: #f4f4f5;
    --header-muted: #a1a1aa;
    --header-accent: #f0512b;
    --header-focus: #f59e0b;
}

/* Profile */
.site-header__member-name {
    color: inherit;
    text-decoration: none;
}

.profile-hero {
    overflow: hidden;
    background: #20232d;
    color: #fff;
}

.profile-hero__inner {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    padding: 78px 0 64px;
}

.profile-eyebrow,
.profile-kicker {
    margin: 0 0 12px;
    color: #c8f135;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.profile-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(40px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
}

.profile-hero__inner > p:not(.profile-eyebrow) {
    max-width: 620px;
    margin: 22px 0 0;
    color: #c7c9d0;
    font-size: 18px;
    line-height: 1.6;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 150px));
    gap: 28px;
    margin-top: 48px;
}

.profile-stats div {
    display: grid;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid #4a4d57;
}

.profile-stats strong { font-size: 27px; }
.profile-stats span { color: #aeb0b7; font-size: 13px; }

.profile-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 48px;
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    padding: 56px 0 96px;
}

.profile-nav {
    position: sticky;
    top: 104px;
    align-self: start;
    display: grid;
    border-top: 1px solid #d8d5cc;
}

.profile-nav a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 4px;
    border-bottom: 1px solid #d8d5cc;
    color: #55564f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.profile-nav a:hover,
.profile-nav a.is-active { color: #171914; }
.profile-nav a.is-active { padding-left: 12px; border-left: 4px solid #9fc900; }

.profile-content { min-width: 0; }
.profile-panel + .profile-panel { margin-top: 28px; }

.profile-panel {
    padding: 38px;
    border: 1px solid #dedbd2;
    border-radius: 22px;
    background: #fff;
}

.profile-panel__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.profile-panel__heading h2 { margin: 0; color: #20221d; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.035em; }
.profile-panel__heading > p { max-width: 360px; margin: 0; color: #777970; line-height: 1.55; text-align: right; }
.profile-kicker { margin-bottom: 8px; color: #759500; }

.profile-feedback {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: 12px;
    font-weight: 700;
}
.profile-feedback.is-success { border-color: #9fc86b; background: #f1f9e9; color: #36570f; }
.profile-feedback.is-error { border-color: #e1a4a4; background: #fff0f0; color: #8b2020; }

.profile-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.profile-form__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-form__wide { grid-column: 1 / -1; }
.profile-form label,
.profile-upload label { display: grid; gap: 8px; color: #34362f; font-size: 13px; font-weight: 800; }
.profile-form label small { color: #8b8d85; font-weight: 500; }

.profile-form input,
.profile-form select,
.profile-upload input,
.profile-upload select {
    width: 100%;
    min-width: 0;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid #cbc9c0;
    border-radius: 10px;
    background: #fbfaf7;
    color: #20221d;
    font: inherit;
}
.profile-form input:focus,
.profile-form select:focus,
.profile-upload input:focus,
.profile-upload select:focus { outline: 3px solid rgba(159, 201, 0, .22); border-color: #759500; }

.profile-validation { color: #a52b2b; font-size: 12px; font-weight: 600; }
.profile-validation:empty { display: none; }

.profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 26px;
    padding: 12px 22px;
    border: 1px solid #20232d;
    border-radius: 999px;
    background: #20232d;
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.profile-button:hover { background: #343844; }
.profile-button:disabled { opacity: .55; cursor: wait; }
.profile-button--secondary { border-color: #a4cb13; background: #c8f135; color: #20232d; }
.profile-button--ghost { border-color: #cbc9c0; background: transparent; color: #34362f; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.profile-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.profile-card,
.profile-record { min-width: 0; padding: 22px; border: 1px solid #dfddd5; border-radius: 15px; background: #fbfaf7; }
.profile-card__top,
.profile-record__head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.profile-card h3,
.profile-record h3 { margin: 0; color: #252720; font-size: 19px; overflow-wrap: anywhere; }
.profile-card__top span,
.profile-meta { color: #81837b; font-size: 12px; }
.profile-card p,
.profile-record p { color: #66685f; line-height: 1.55; overflow-wrap: anywhere; }
.profile-card__actions { display: flex; gap: 18px; margin-top: 18px; }
.profile-card__actions a,
.profile-card__actions button,
.profile-text-link { border: 0; background: none; color: #496300; font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.profile-list { display: grid; gap: 16px; }
.profile-record__head > strong { white-space: nowrap; font-size: 18px; }
.profile-event-inventory { display: grid; grid-template-columns: 1fr auto; gap: 7px 20px; margin: 16px 0; padding: 15px 17px; border-radius: 12px; background: #f4f2ed; }
.profile-event-inventory span { color: #6e7069; }
.profile-event-inventory strong { text-align: right; }
.profile-record__links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 16px; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.profile-badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #ecebe6; color: #55574f; font-size: 11px; font-weight: 800; }
.profile-badge.is-success { background: #e5f3d7; color: #315a12; }
.profile-badge.is-danger { background: #f8dddd; color: #8b2020; }
.profile-badge.is-info { background: #dcecf7; color: #24566f; }
.profile-badge.is-progress,
.profile-badge.is-pending { background: #f5eccd; color: #71570c; }
.profile-record details { margin: 18px 0; padding-top: 15px; border-top: 1px solid #dedcd4; }
.profile-record summary { font-size: 13px; font-weight: 800; cursor: pointer; }
.profile-record li { margin-top: 8px; color: #65675f; line-height: 1.5; }
.profile-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.profile-data div { min-width: 0; }
.profile-data dt { color: #85877f; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.profile-data dd { margin: 3px 0 0; overflow-wrap: anywhere; }

.profile-empty { padding: 42px 24px; border: 1px dashed #c9c6bc; border-radius: 15px; background: #fbfaf7; text-align: center; }
.profile-empty h3 { margin: 0; font-size: 20px; }
.profile-empty p { margin: 8px 0 0; color: #777970; }
.profile-link-list { display: grid; gap: 10px; }
.profile-link-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px; border: 1px solid #dedbd2; border-radius: 12px; color: #22241f; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.profile-link-list a:hover { border-color: #a4cb13; background: #f8fce9; }
.profile-upload { display: grid; grid-template-columns: minmax(180px, .75fr) minmax(240px, 1.4fr) auto; align-items: end; gap: 16px; margin-bottom: 28px; padding: 20px; border-radius: 15px; background: #f1f0eb; }
.profile-upload .profile-button { margin: 0; }
.profile-note { padding: 12px 14px; border-left: 3px solid #a4cb13; background: #f4f6eb; }
.profile-unavailable { margin-bottom: 0 !important; color: #966116 !important; font-weight: 700; }

@media (max-width: 980px) {
    .profile-shell { grid-template-columns: 1fr; gap: 28px; }
    .profile-nav { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #d8d5cc; border-radius: 14px; overflow: hidden; }
    .profile-nav a { border: 0; border-right: 1px solid #d8d5cc; border-bottom: 1px solid #d8d5cc; padding: 15px; }
    .profile-nav a.is-active { padding-left: 15px; border-left: 0; background: #eef5d5; }
    .profile-form__grid--three { grid-template-columns: 1fr; }
    .profile-upload { grid-template-columns: 1fr 1.4fr; }
    .profile-upload .profile-button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 700px) {
    .profile-hero__inner,
    .profile-shell { width: min(100% - 32px, 1320px); }
    .profile-hero__inner { padding: 56px 0 46px; }
    .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .profile-shell { padding: 28px 0 64px; }
    .profile-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-nav a { font-size: 12px; }
    .profile-panel { padding: 24px 18px; border-radius: 16px; }
    .profile-panel__heading { align-items: start; flex-direction: column; margin-bottom: 24px; }
    .profile-panel__heading > p { text-align: left; }
    .profile-form__grid,
    .profile-card-grid,
    .profile-data,
    .profile-upload { grid-template-columns: 1fr; }
    .profile-form__wide,
    .profile-upload .profile-button { grid-column: auto; }
    .profile-card__top,
    .profile-record__head { flex-direction: column; }
    .profile-record__head > strong { white-space: normal; }
    .profile-button { width: 100%; }
    .profile-actions { display: grid; }
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
}

body {
    margin: 0;
    color: #18181b;
    background: #f7f7f8;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 14px;
    color: #18181b;
    background: #ffffff;
    border-radius: 6px;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-page--home {
    background: #111521;
}

.site-header {
    z-index: 1000;
    width: 100%;
    color: var(--header-text);
}

.site-page--home .site-header {
    position: absolute;
    inset: 0 0 auto;
    background: linear-gradient(180deg, rgba(8, 10, 18, 0.7) 0%, var(--header-overlay) 70%, transparent 100%);
}

.site-page--inner .site-header {
    position: relative;
    background: var(--header-background);
}

.site-header__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    width: min(100%, 1440px);
    height: var(--header-height-desktop);
    margin: 0 auto;
    padding: 0 clamp(28px, 5vw, 80px);
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header__nav--left {
    justify-self: start;
}

.site-header__nav--actions {
    justify-self: end;
    gap: 10px;
}

.site-header__member-name {
    max-width: 180px;
    overflow: hidden;
    color: var(--header-text);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header__logout-form,
.site-header__mobile-logout {
    margin: 0;
}

.site-header__logout-form button,
.site-header__mobile-logout button {
    font: inherit;
    cursor: pointer;
}

.site-header__link,
.site-header__action {
    color: var(--header-text);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.site-header__link,
.site-header__action--login {
    opacity: 0.86;
    transition: color 160ms ease, opacity 160ms ease;
}

.site-header__link:hover,
.site-header__action--login:hover {
    color: #ffffff;
    opacity: 1;
}

.site-header__separator {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.34);
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.site-header__logo {
    display: block;
    width: 104px;
    height: auto;
}

.site-header__action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
}

.site-header__action--register {
    color: var(--header-text);
    background: transparent;
    border: 1px solid var(--header-accent);
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.login-errors {
    margin-bottom: 18px;
    padding: 12px 14px;
    color: #991b1b;
    font-size: 13px;
    line-height: 1.45;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
}

.login-errors ul {
    margin: 0;
    padding-left: 18px;
}

.site-header__action--register:hover {
    color: #ffffff;
    background: var(--header-accent);
    border-color: var(--header-accent);
}

.site-header__link:focus-visible,
.site-header__action:focus-visible,
.site-header__brand:focus-visible,
.site-header__menu-button:focus-visible,
.site-header__mobile-menu a:focus-visible {
    outline: 2px solid var(--header-focus);
    outline-offset: 4px;
}

.site-header__menu-button,
.site-header__mobile-menu {
    display: none;
}

.site-main {
    min-height: calc(100vh - var(--header-height-desktop));
}

.site-page--home .site-main {
    min-height: 100vh;
}

.hero-banner {
    position: relative;
    display: grid;
    min-height: 100svh;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background-color: #111521;
    isolation: isolate;
}

.hero-banner::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 16, 27, .94), rgba(13, 16, 27, .58) 58%, rgba(13, 16, 27, .16));
    content: "";
}

.hero-banner--inner {
    min-height: calc(100svh - var(--header-height-desktop));
}

.hero-banner__inner {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100% - 64px));
    margin-inline: auto;
    padding-block: clamp(64px, 8vw, 112px);
}

.hero-banner__eyebrow {
    margin: 0 0 14px;
    color: #d2f53c;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-banner__title {
    max-width: 640px;
    margin: 0;
    font-size: clamp(26px, 3.5vw, 52px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.9;
    text-transform: uppercase;
    text-wrap: balance;
}

.hero-banner__description {
    max-width: 640px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
}

@media (max-width: 767px) {
    .hero-banner--inner {
        min-height: 0;
    }

    .hero-banner__inner {
        width: calc(100% - 44px);
        padding-block: 72px 64px;
    }

    .hero-banner__title {
        font-size: clamp(24px, 8vw, 34px);
    }
}

.home-hero {
    background: #070a12;
}

.home-hero__image { position: absolute; inset: 0; z-index: -2; }
.home-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.home-hero__content {
    padding-top: calc(var(--header-height-desktop) + 64px);
}

.home-hero .hero-banner__title {
    white-space: pre-line;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.action-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 999px;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.action-button:hover {
    transform: translateY(-2px);
}

.action-button--primary {
    background: var(--header-accent);
    border: 1px solid var(--header-accent);
}

.action-button--secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.event-footprint {
    color: #202330;
    background: #bd95d8;
}

.event-footprint__inner {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
    align-items: center;
    width: min(100%, 1440px);
    min-height: 680px;
    margin: 0 auto;
    padding: clamp(72px, 8vw, 120px) clamp(28px, 7vw, 112px);
}

.event-footprint h2 {
    margin: 0;
    color: #202330;
    line-height: 0.92;
    text-transform: uppercase;
}

.event-footprint h2 span {
    display: block;
    font-size: clamp(27px, 2.75vw, 42px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.event-footprint__stats {
    display: grid;
    gap: 12px;
    margin: clamp(26px, 3vw, 42px) 0 0;
}

.event-footprint__stat {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    min-height: 72px;
}

.event-footprint__stat dt,
.event-footprint__stat dd {
    margin: 0;
}

.event-footprint__icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    background: rgba(255, 255, 255, 0.24);
    border-radius: 50%;
}

.event-footprint__icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.event-footprint__icon svg circle {
    fill: currentColor;
    stroke: none;
}

.event-footprint__stat dd {
    font-size: clamp(24px, 2.3vw, 36px);
    font-weight: 730;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.event-footprint__stat dd strong {
    font-weight: 900;
}

.event-footprint__map {
    width: 100%;
    filter: drop-shadow(12px 16px 0 rgba(32, 35, 48, 0.16));
}

.event-footprint__map img {
    display: block;
    width: 100%;
    height: auto;
}

.event-color-transition {
    position: relative;
    height: 190px;
    overflow: hidden;
    color: #202330;
    background: #bd95d8;
}

.event-color-transition::before {
    position: absolute;
    inset: -1px 0 auto;
    height: calc(100% + 1px);
    background: #d2f53c;
    clip-path: polygon(0 0, 100% 0, 100% 34%, 0 100%);
    content: "";
}

.event-showcase {
    padding: 56px 0 28px;
    color: #ffffff;
    background: #d2f53c;
}

.event-showcase__empty {
    width: min(720px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 32px;
    color: #202330;
    text-align: center;
}

.event-showcase__empty h3 {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    letter-spacing: -0.04em;
}

.event-showcase__empty p {
    margin: 14px 0 0;
    font-size: 17px;
}

.event-showcase__track {
    display: grid;
    grid-auto-columns: clamp(330px, 27vw, 430px);
    grid-auto-flow: column;
    gap: clamp(18px, 2.6vw, 40px);
    padding: 0 clamp(18px, 3vw, 48px) 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: clamp(18px, 3vw, 48px);
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.event-showcase__track::-webkit-scrollbar {
    display: none;
}

.event-card {
    height: min(68vw, 680px);
    min-height: 560px;
    scroll-snap-align: start;
}

.event-card__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #ffffff;
    background: #202330;
    border-radius: 30px;
    isolation: isolate;
}

.event-card__link > img {
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08);
    transform: scale(1.015);
    transition: filter 420ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.event-card__image--bursa {
    object-position: 63% center;
}

.event-card__image--ankara {
    object-position: 44% center;
}

.event-card__image--cesme {
    object-position: 58% center;
}

.event-card__shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 19, 29, 0.05) 20%, rgba(16, 19, 29, 0.22) 54%, rgba(16, 19, 29, 0.92) 100%);
    transition: opacity 420ms ease;
}

.event-card__date {
    position: absolute;
    top: 34px;
    left: 34px;
    display: grid;
    grid-template-columns: 34px auto;
    align-items: center;
    column-gap: 10px;
    text-transform: uppercase;
}

.event-card__date svg {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.event-card__date strong {
    font-size: 18px;
    line-height: 1;
}

.event-card__date small {
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.event-card__body {
    position: absolute;
    right: 34px;
    bottom: 34px;
    left: 34px;
    display: grid;
}

.event-card__title {
    max-width: calc(100% - 72px);
    font-size: clamp(28px, 2.3vw, 38px);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.02;
    text-transform: uppercase;
}

.event-card__distance {
    margin-top: 28px;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.event-card__location {
    margin-top: 22px;
    font-size: 13px;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.event-card__arrow {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    color: #202330;
    background: #d2f53c;
    border-radius: 50%;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.event-card__arrow svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.event-card__link:focus-visible {
    outline: 4px solid var(--header-focus);
    outline-offset: -4px;
}

@media (hover: hover) and (pointer: fine) {
    .event-card__link:hover > img,
    .event-card__link:focus-visible > img {
        filter: grayscale(0) contrast(1);
        transform: scale(1.055);
    }

    .event-card__link:hover .event-card__shade,
    .event-card__link:focus-visible .event-card__shade {
        opacity: 0.84;
    }

    .event-card__link:hover .event-card__arrow,
    .event-card__link:focus-visible .event-card__arrow {
        color: #ffffff;
        background: var(--header-accent);
        transform: rotate(-4deg);
    }
}

.event-showcase__controls {
    display: flex;
    justify-content: space-between;
    padding: 18px clamp(18px, 3vw, 48px) 0;
}

.event-showcase__controls button {
    display: inline-flex;
    min-width: 150px;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    color: #d2f53c;
    background: #202330;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-style: italic;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-showcase__controls button:disabled {
    cursor: default;
    opacity: 0.42;
}

.event-showcase__controls svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.event-transition {
    position: relative;
    height: clamp(480px, 42vw, 680px);
    overflow: hidden;
    background: #bd95d8;
}

.event-transition img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    clip-path: polygon(0 24%, 100% 3%, 100% 100%, 0 100%);
}

.brand-story {
    overflow: hidden;
    color: #d8d6d7;
    background: #202330;
}

.brand-story__inner {
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(520px, 1.05fr);
    gap: clamp(56px, 7vw, 120px);
    align-items: center;
    width: min(100%, 1500px);
    min-height: 800px;
    margin: 0 auto;
    padding: clamp(78px, 8vw, 126px) clamp(28px, 6vw, 96px);
}

.brand-story__content {
    max-width: 700px;
}

.brand-story h2 {
    margin: 0 0 42px;
    color: #e0dddd;
    font-size: clamp(32px, 3vw, 50px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.88;
    text-transform: uppercase;
}

.brand-story p {
    max-width: 680px;
    margin: 0;
    color: rgba(237, 235, 236, 0.78);
    font-size: clamp(16px, 1.35vw, 21px);
    line-height: 1.65;
}

.brand-story p + p {
    margin-top: 28px;
}

.brand-story .brand-story__lead {
    color: #e0dddd;
    font-size: clamp(17px, 1.45vw, 22px);
    font-weight: 760;
    letter-spacing: 0.045em;
    line-height: 1.5;
    text-transform: uppercase;
}

.brand-story__visual {
    position: relative;
    width: min(100%, 650px);
    aspect-ratio: 0.92;
    justify-self: end;
    margin: 0;
}

.brand-story__visual > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% 42%;
}

.brand-story__hand {
    position: absolute;
    bottom: 2%;
    left: -18%;
    width: 45%;
    overflow: visible;
    fill: none;
    stroke: #d2f53c;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 11;
}

.brand-story__motion-mark {
    position: absolute;
    top: 53%;
    right: -13%;
    width: 49%;
    fill: #bd95d8;
}

/* Events catalog */
.events-catalog-hero {
    background: url("/images/event-istanbul.png") center 42% / cover no-repeat;
}

.events-catalog__eyebrow {
    margin: 0 0 14px;
    color: #d2f53c;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .16em;
}

.events-catalog-hero__stats {
    display: flex;
    gap: 48px;
    margin: 48px 0 0;
}

.events-catalog-hero__stats div {
    display: grid;
    gap: 5px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .35);
}

.events-catalog-hero__stats dt {
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.events-catalog-hero__stats dd {
    margin: 0;
    font-size: 30px;
    font-weight: 850;
}

.events-catalog {
    color: #202330;
    background: #efede9;
}

.events-catalog__section {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    padding: clamp(70px, 8vw, 112px) 0;
}

.events-catalog__section + .events-catalog__section {
    border-top: 1px solid #c9c5bd;
}

.events-catalog__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
}

.events-catalog__heading h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 72px);
    letter-spacing: -.055em;
    line-height: .95;
}

.events-catalog__heading > span {
    color: #65665f;
    font-size: 14px;
    font-weight: 750;
}

.events-catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.event-showcase__grid {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    color: #202330;
}

.event-detail__catalog-grid {
    width: min(100%, 1196px);
    margin: 0 auto;
}

.events-catalog-card { min-width: 0; }
.events-catalog-card[hidden], .events-carousel-controls[hidden] { display: none; }
.events-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.events-carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.events-carousel-dot { display: grid; place-items: center; width: 32px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.events-carousel-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #b6b1bb; }
.events-carousel-dot[aria-current="page"]::before { background: #77518f; transform: scale(1.3); }
.events-carousel-arrow { flex-shrink: 0; width: 40px; height: 40px; border: 1px solid #c9c5bd; border-radius: 50%; color: #202330; background: transparent; font-size: 22px; cursor: pointer; }
.events-carousel-arrow:disabled { opacity: .35; cursor: default; }
.events-carousel-controls button:focus-visible { outline: 3px solid #8d65a8; outline-offset: 2px; }
.events-catalog-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }

.events-catalog-card__visual {
    flex-shrink: 0;
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #d8d5cf;
    border-radius: 22px;
}

.events-catalog-card__visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 12, 20, .02), rgba(9, 12, 20, .55));
    content: "";
}

.events-catalog-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.events-catalog-card__date {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    display: grid;
    min-width: 62px;
    min-height: 68px;
    place-items: center;
    padding: 8px;
    color: #202330;
    background: #d2f53c;
    border-radius: 12px;
}

.events-catalog-card__date strong { font-size: 24px; line-height: 1; }
.events-catalog-card__date small { font-size: 11px; font-weight: 800; text-transform: uppercase; }

.events-catalog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 4px 0;
}

.events-catalog-card__date-label {
    display: block;
    color: #8d65a8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.events-catalog-card__body > strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    height: 2.4em;
    flex-shrink: 0;
    margin-top: 8px;
    font-size: clamp(12px, 1.2vw, 18px);
    letter-spacing: -.04em;
    line-height: 1.2;
}

.events-catalog-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 13px;
    margin-bottom: 22px;
    color: #666760;
    font-size: 14px;
}

.events-catalog-card__action {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-top: 1px solid #cbc7bf;
}

.events-catalog-card > a:hover .events-catalog-card__visual img { transform: scale(1.035); }
.events-catalog-card > a:focus-visible { outline: 3px solid #8d65a8; outline-offset: 7px; border-radius: 22px; }

.events-catalog__section--past .events-catalog-card__visual { filter: saturate(.72); }

.events-catalog__empty {
    padding: 58px;
    text-align: center;
    background: #e3e0da;
    border-radius: 22px;
}

.events-catalog__empty h3 { margin: 0; font-size: 32px; }
.events-catalog__empty p { margin: 10px 0 0; color: #65665f; }

@media (max-width: 980px) {
    .events-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
    .event-showcase__grid,
    .events-catalog__section { width: min(100% - 44px, 1320px); }
    .events-catalog-hero__stats { gap: 24px; }
    .events-catalog__heading { align-items: start; flex-direction: column; }
    .events-catalog__grid { grid-template-columns: 1fr; }
    .events-catalog-card__visual { aspect-ratio: 5 / 4; }
}

.login-shell {
    display: grid;
    min-height: calc(100svh - var(--header-height-desktop));
    grid-template-columns: minmax(380px, 0.92fr) minmax(500px, 1.08fr);
    background: #cec9c8;
}

.login-visual {
    position: relative;
    display: flex;
    min-height: inherit;
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(46px, 6vw, 92px);
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(12, 15, 25, 0.12) 15%, rgba(12, 15, 25, 0.88) 100%),
        linear-gradient(90deg, rgba(12, 15, 25, 0.18), rgba(12, 15, 25, 0.02)),
        url("/images/hero-test-runner.png") 66% center / cover no-repeat;
}

.login-visual::after {
    position: absolute;
    right: -66px;
    bottom: 9%;
    width: 190px;
    height: 190px;
    border: 2px solid rgba(210, 245, 60, 0.72);
    border-radius: 50%;
    content: "";
}

.login-visual__content {
    position: relative;
    z-index: 1;
    width: min(100%, 660px);
}

.login-visual__eyebrow,
.login-panel__eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.login-visual__eyebrow {
    color: #d2f53c;
}

.login-visual h1 {
    margin: 0;
    font-size: clamp(46px, 5vw, 82px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.94;
    text-transform: uppercase;
}

.login-visual__content > p:last-child {
    width: min(100%, 560px);
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(15px, 1.3vw, 19px);
    line-height: 1.55;
}

.login-panel {
    display: grid;
    min-width: 0;
    place-items: center;
    padding: clamp(54px, 7vw, 110px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 18%, transparent 18% 82%, rgba(255, 255, 255, 0.14) 82%),
        #cec9c8;
}

.login-panel__inner {
    width: min(100%, 650px);
}

.login-panel__eyebrow {
    color: #8f65ad;
}

.login-panel h2 {
    margin: 0 0 28px;
    color: #202330;
    font-size: clamp(36px, 4vw, 62px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-transform: uppercase;
}

.login-card {
    display: grid;
    gap: 24px;
    padding: clamp(26px, 4vw, 44px);
    background: #e7f0f6;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 26px;
    box-shadow: 0 28px 70px rgba(32, 35, 48, 0.12);
}

.login-field {
    display: grid;
    gap: 9px;
}

.login-field label {
    color: #b988d8;
    font-size: 14px;
    letter-spacing: 0.025em;
}

.login-field input {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    color: #202330;
    background: #d1cbcb;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.login-field input::placeholder {
    color: rgba(32, 35, 48, 0.58);
}

.login-field input:focus {
    background: #ffffff;
    border-color: #b988d8;
    box-shadow: 0 0 0 4px rgba(185, 136, 216, 0.18);
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #5f6270;
    font-size: 13px;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.login-remember input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #b988d8;
}

.login-options a,
.login-register a {
    color: #8f65ad;
    font-weight: 750;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.login-success { margin: 18px 0; padding: 14px 16px; border: 1px solid #9db743; border-radius: 10px; background: #f0f7d8; color: #38451d; font-weight: 700; }
.login-field > span { color: #a43d31; font-size: 12px; }
.login-shell--reset .login-visual { background-position: center; }

.login-submit {
    min-height: 56px;
    color: #ffffff;
    background: #bd95d8;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.login-submit:hover {
    background: #a978c9;
    transform: translateY(-2px);
}

.login-submit:focus-visible {
    outline: 3px solid #d2f53c;
    outline-offset: 4px;
}

.login-register {
    margin: 0;
    color: #6a6d79;
    font-size: 14px;
    text-align: center;
}

.login-shell--register .login-visual {
    background:
        linear-gradient(180deg, rgba(12, 15, 25, 0.1) 10%, rgba(12, 15, 25, 0.9) 100%),
        linear-gradient(90deg, rgba(12, 15, 25, 0.2), rgba(12, 15, 25, 0.02)),
        url("/images/event-istanbul.png") center 36% / cover no-repeat;
}

.login-shell--register .login-panel {
    padding-block: clamp(38px, 5vw, 74px);
}

.login-shell--register .login-panel h2 {
    margin-bottom: 20px;
    font-size: clamp(34px, 3.5vw, 54px);
}

.register-card {
    gap: 18px;
    padding-block: clamp(24px, 3vw, 34px);
}

.register-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.register-fields .login-field:nth-child(n + 3) {
    grid-column: 1 / -1;
}

.register-fields .login-field {
    gap: 7px;
}

.register-fields .login-field input {
    min-height: 48px;
}

.register-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #696c78;
    font-size: 12px;
    line-height: 1.45;
    cursor: pointer;
}

.register-consent input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: #b988d8;
}

.event-detail {
    color: #202330;
    background: #f4f3ef;
}

.event-detail__hero {
    position: relative;
    display: flex;
    min-height: clamp(560px, 66vw, 790px);
    align-items: flex-end;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(10, 13, 22, 0.92) 0%, rgba(10, 13, 22, 0.56) 48%, rgba(10, 13, 22, 0.12) 78%),
        linear-gradient(180deg, rgba(10, 13, 22, 0.06) 35%, rgba(10, 13, 22, 0.78) 100%),
        var(--event-hero) center / cover no-repeat;
    isolation: isolate;
}

.event-detail__hero::after {
    position: absolute;
    right: -7vw;
    bottom: -1px;
    z-index: -1;
    width: 52vw;
    height: 74px;
    background: #d2f53c;
    clip-path: polygon(14% 100%, 100% 0, 100% 100%);
    content: "";
}

.event-detail__hero-inner {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 90px clamp(28px, 6vw, 92px) clamp(56px, 6vw, 86px);
}

.event-detail__eyebrow,
.event-detail__section-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.event-detail__eyebrow {
    color: #d2f53c;
}

.event-detail__hero h1 {
    max-width: 920px;
    margin: 16px 0 34px;
    font-size: clamp(54px, 7.5vw, 112px);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.88;
    text-transform: uppercase;
}

.event-detail__facts {
    display: flex;
    max-width: 930px;
    flex-wrap: wrap;
    gap: 16px 0;
    margin: 0;
}

.event-detail__facts div {
    min-width: 150px;
    padding: 0 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.36);
}

.event-detail__facts div:first-child {
    padding-left: 0;
    border-left: 0;
}

.event-detail__facts dt {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.event-detail__facts dd {
    margin: 0;
    font-size: 15px;
    font-weight: 750;
}

.event-detail__hero-action {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin-top: 34px;
    padding: 0 24px;
    color: #202330;
    background: #d2f53c;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.event-detail__hero-action:hover {
    color: #ffffff;
    background: #f0512b;
    transform: translateY(-2px);
}

.event-detail__content {
    display: grid;
    width: min(100%, 1340px);
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
    gap: clamp(50px, 7vw, 104px);
    margin: 0 auto;
    padding: clamp(76px, 8vw, 118px) clamp(28px, 5vw, 72px);
}

.event-detail__story {
    min-width: 0;
}

.event-detail__text-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0 0 64px;
}

.event-detail__text-section + .event-detail__text-section {
    padding-top: 64px;
    border-top: 1px solid #d8d6d0;
}

.event-detail__section-kicker {
    color: #84649a;
}

.event-detail__section-title,
.event-detail__registration h2,
.event-detail__section-heading h2 {
    margin: 10px 0 24px;
    font-size: var(--event-detail-title-size, clamp(35px, 4vw, 58px));
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.96;
    text-transform: uppercase;
}

.event-detail__section-title {
    --event-detail-title-size: clamp(17.5px, 2vw, 29px);
}

.event-detail__rich-text {
    color: #4e5059;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.8;
    white-space: pre-line;
}

.event-detail__links {
    display: grid;
    margin-left: 0;
    border-top: 1px solid #d8d6d0;
}

.event-detail__links a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #202330;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid #d8d6d0;
}

.event-detail__links a:hover {
    color: #f0512b;
}

.event-detail__registration {
    position: sticky;
    top: 104px;
    align-self: start;
    padding: 38px;
    color: #ffffff;
    background: #202330;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(31, 35, 48, 0.16);
}

.event-detail__section-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #f4f3ef;
    display: flex;
    gap: 8px 24px;
    box-sizing: border-box;
    width: 100%;
    margin: 30px 0 0;
    padding: 14px max(28px, calc((100% - 1196px) / 2));
    border-bottom: 1px solid #d4d1c9;
    overflow-x: auto;
}
.event-detail__section-nav a {
    flex-shrink: 0;
    padding: 10px 0;
    color: #484451;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.event-detail__section-nav a:hover { color: #77518f; }
.event-detail__section-nav .event-detail__mobile-registration-link { display: none; }
.event-detail__section-nav a:focus-visible { outline: 2px solid #77518f; outline-offset: 3px; }
.event-detail :is(#event-about-title, #event-rules-title, #kayit-secenekleri, #routes-title, #gallery-title, #event-links, #upcoming-title) {
    scroll-margin-top: calc(var(--header-height-desktop) + 24px);
}
@media (max-width: 767px) {
    .event-detail__section-nav { margin-top: 18px; padding-inline: 22px; gap: 20px; }
    .event-detail__section-nav a { font-size: 13px; }
    .event-detail__section-nav .event-detail__mobile-registration-link { display: block; }
    .event-detail :is(#event-about-title, #event-rules-title, #kayit-secenekleri, #routes-title, #gallery-title, #event-links, #upcoming-title) {
        scroll-margin-top: calc(var(--header-height-mobile) + 20px);
    }
}

.event-detail__registration .event-detail__section-kicker {
    color: #d2f53c;
}

.event-detail__registration h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 3.2vw, 48px);
}

.event-detail__registration-intro {
    margin: 0 0 30px;
    color: #b8bac3;
    font-size: 14px;
    line-height: 1.65;
}

.event-detail__registration-status {
    margin: -14px 0 24px;
    padding: 14px 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.55;
}

.event-detail__registration-status a {
    color: #d2f53c;
    font-weight: 800;
}

.event-detail__registration-status--success {
    color: #202330;
    background: #d2f53c;
    border-color: #d2f53c;
    font-weight: 750;
}

.event-detail__category-list {
    display: grid;
    gap: 12px;
}

.event-detail__category {
    padding: 22px;
    color: #202330;
    background: #ffffff;
    border-radius: 18px;
}

.event-detail__category-copy h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.event-detail__category-copy p {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    color: #71737d;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.event-detail__category-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
}

.event-detail__category-action strong {
    font-size: 17px;
    white-space: nowrap;
}

.event-detail__category-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    color: #202330;
    background: #d2f53c;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.event-detail__category-button--registered {
    color: #ffffff;
    background: #202330;
}

.event-detail__category-button--disabled {
    color: #8c8e97;
    background: #e8e8e8;
}

.event-detail__media-section,
.event-detail__upcoming {
    padding: clamp(72px, 8vw, 112px) clamp(28px, 5vw, 72px);
}

.event-detail__media-section {
    background: #ffffff;
}

.event-detail__media-section--routes {
    color: #ffffff;
    background: #202330;
}

.event-detail__section-heading {
    width: min(100%, 1196px);
    margin: 0 auto 44px;
}

.event-detail__section-heading h2 {
    margin-bottom: 0;
}

.event-detail__media-section--routes .event-detail__section-kicker {
    color: #d2f53c;
}

.event-detail__route-list,
.event-detail__gallery,
.event-detail__upcoming-grid {
    display: grid;
    width: min(100%, 1196px);
    gap: 20px;
    margin: 0 auto;
}

.event-detail__route-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-detail__route {
    position: relative;
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    background: #121621;
    border-radius: 26px;
}

.event-detail__route img,
.event-detail__gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-detail__route figcaption {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 15px 18px;
    background: rgba(23, 27, 39, 0.88);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-detail__gallery {
    grid-template-columns: repeat(12, 1fr);
}

.event-detail__gallery figure {
    height: 360px;
    grid-column: span 5;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
}

.event-detail__gallery figure:nth-child(3n + 1) {
    grid-column: span 7;
}

.event-detail__upcoming {
    color: #202330;
    background: #d2f53c;
}

.event-detail__upcoming .event-detail__section-kicker {
    color: #694e7b;
}

.event-detail__upcoming-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-detail__upcoming .event-card {
    height: 460px;
    min-height: 0;
}

.event-detail__upcoming .event-card__link {
    border-radius: 24px;
}

.event-detail__upcoming .event-card__date {
    display: flex;
    gap: 8px;
}

.event-detail__upcoming .event-card__date strong,
.event-detail__upcoming .event-card__date small {
    font-size: 13px;
}

.event-detail__upcoming .event-card__arrow {
    font-size: 28px;
    font-weight: 400;
}

@media (max-width: 1040px) {
    .event-detail__content {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
        gap: 44px;
    }

    .event-detail__registration {
        padding: 28px;
    }

    .event-detail__upcoming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .site-header__inner {
        display: flex;
        height: var(--header-height-mobile);
        justify-content: flex-end;
        padding: 0 22px;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__brand {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 2;
        padding: 6px;
        transform: translate(-50%, -50%);
    }

    .site-header__logo {
        width: 78px;
    }

    .site-header__menu-button {
        position: relative;
        z-index: 2;
        display: inline-flex;
        width: 46px;
        height: 46px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0;
        color: inherit;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .site-header__menu-button span {
        display: block;
        width: 30px;
        height: 2px;
        background: var(--header-muted);
        transform-origin: center;
        transition: opacity 160ms ease, transform 160ms ease;
    }

    .site-header__menu-button[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .site-header__menu-button[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .site-header__menu-button[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .site-header__mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        display: grid;
        width: 100%;
        gap: 2px;
        padding: 10px 22px 24px;
        background: var(--header-background);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
    }

    .site-page--home .site-header__mobile-menu {
        background: var(--header-overlay-menu);
        backdrop-filter: blur(14px);
    }

    .site-header__mobile-menu[hidden] {
        display: none;
    }

    .site-header__mobile-menu a {
        display: flex;
        min-height: 48px;
        align-items: center;
        padding: 0 12px;
        color: var(--header-text);
        font-size: 14px;
        font-weight: 650;
        letter-spacing: 0.06em;
        text-decoration: none;
        text-transform: uppercase;
        border-radius: 8px;
    }

    .site-header__mobile-member {
        display: block;
        padding: 12px;
        color: var(--header-muted);
        font-size: 13px;
        font-weight: 650;
        letter-spacing: 0.04em;
    }

    .site-header__mobile-logout button {
        display: flex;
        width: 100%;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        color: var(--header-text);
        font-size: 14px;
        font-weight: 650;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        background: transparent;
        border: 1px solid var(--header-accent);
        border-radius: 8px;
    }

    .site-header__mobile-menu a:hover {
        background: rgba(255, 255, 255, 0.07);
    }

    .site-header__mobile-menu .site-header__mobile-register {
        justify-content: center;
        margin-top: 8px;
        border: 1px solid var(--header-accent);
    }

    .site-main {
        min-height: calc(100vh - var(--header-height-mobile));
    }

    .site-page--home .site-main {
        min-height: 100vh;
    }

    .event-detail__hero {
        min-height: 610px;
        background:
            linear-gradient(180deg, rgba(10, 13, 22, 0.08) 15%, rgba(10, 13, 22, 0.86) 76%, rgba(10, 13, 22, 0.96) 100%),
            var(--event-hero-mobile) center / cover no-repeat;
    }

    .event-detail__hero::after {
        right: -38vw;
        width: 104vw;
        height: 38px;
    }

    .event-detail__hero-inner {
        padding: 72px 22px 48px;
    }

    .event-detail__hero h1 {
        margin: 12px 0 28px;
        font-size: clamp(44px, 14vw, 68px);
        line-height: 0.92;
    }

    .event-detail__facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .event-detail__facts div,
    .event-detail__facts div:first-child {
        min-width: 0;
        padding: 12px 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        border-left: 1px solid rgba(255, 255, 255, 0.25);
    }

    .event-detail__facts div:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .event-detail__facts dd {
        font-size: 13px;
    }

    .event-detail__hero-action {
        width: 100%;
        margin-top: 24px;
    }

    .event-detail__content {
        display: flex;
        flex-direction: column;
        gap: 58px;
        padding: 68px 22px 76px;
    }

    .event-detail__text-section {
        padding-bottom: 48px;
    }

    .event-detail__text-section + .event-detail__text-section {
        padding-top: 48px;
    }

    .event-detail__section-title {
        --event-detail-title-size: clamp(16px, 5vw, 22px);
    }

    .event-detail__registration h2,
    .event-detail__section-heading h2:not(.event-detail__section-title) {
        font-size: clamp(32px, 10vw, 44px);
    }

    .event-detail__rich-text {
        font-size: 16px;
        line-height: 1.72;
    }

    .event-detail__links {
        margin-left: 0;
    }

    .event-detail__registration {
        position: static;
        padding: 26px 20px 20px;
        border-radius: 24px;
    }

    .event-detail__category {
        padding: 18px;
    }

    .event-detail__category-action {
        align-items: stretch;
        flex-direction: column;
    }

    .event-detail__category-button {
        width: 100%;
        min-height: 44px;
    }

    .event-detail__media-section,
    .event-detail__upcoming {
        padding: 68px 22px 76px;
    }

    .event-detail__section-heading {
        margin-bottom: 30px;
    }

    .event-detail__route-list,
    .event-detail__gallery {
        display: grid;
        grid-template-columns: 1fr;
    }

    .event-detail__route,
    .event-detail__gallery figure,
    .event-detail__gallery figure:nth-child(3n + 1) {
        width: 100%;
        height: min(82vw, 360px);
        min-height: 0;
        grid-column: auto;
    }

    .event-detail__upcoming-grid {
        display: grid;
        grid-auto-columns: min(76vw, 290px);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 16px;
        margin-right: -22px;
        padding-right: 22px;
        overflow-x: auto;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    .event-detail__upcoming-grid::-webkit-scrollbar {
        display: none;
    }

    .event-detail__upcoming .event-card {
        height: 410px;
        scroll-snap-align: start;
    }

    .home-hero__content {
        padding-top: calc(var(--header-height-mobile) + 64px);
    }

    .home-hero__actions {
        display: grid;
        width: 100%;
    }

    .action-button {
        width: 100%;
    }

    .event-footprint__inner {
        display: flex;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 64px 22px 42px;
    }

    .event-footprint h2 span {
        font-size: clamp(23px, 7vw, 31px);
    }

    .event-footprint__stats {
        gap: 6px;
        margin-top: 17px;
    }

    .event-footprint__stat {
        grid-template-columns: 48px 1fr;
        min-height: 48px;
    }

    .event-footprint__icon {
        width: 40px;
        height: 40px;
    }

    .event-footprint__icon svg {
        width: 22px;
        height: 22px;
        stroke-width: 2;
    }

    .event-footprint__stat dd {
        font-size: clamp(17px, 5.2vw, 22px);
    }

    .event-footprint__map {
        width: calc(100% + 30px);
        margin: 28px -15px 0;
    }

    .event-color-transition {
        height: 112px;
    }

    .event-color-transition::before {
        clip-path: polygon(0 0, 100% 0, 100% 28%, 0 100%);
    }

    .event-showcase {
        padding: 32px 0 34px;
    }

    .event-showcase__track {
        grid-auto-columns: min(72vw, 280px);
        gap: 16px;
        padding: 0 22px 14px;
        scroll-padding-inline: 22px;
    }

    .event-card {
        height: min(108vw, 420px);
        min-height: 374px;
    }

    .event-card__link {
        border-radius: 28px;
    }

    .event-card__date {
        top: 22px;
        left: 18px;
        grid-template-columns: 25px auto;
        column-gap: 7px;
    }

    .event-card__date svg {
        width: 25px;
        height: 25px;
    }

    .event-card__date strong {
        font-size: 14px;
    }

    .event-card__date small {
        font-size: 10px;
    }

    .event-card__body {
        right: 18px;
        bottom: 20px;
        left: 18px;
    }

    .event-card__title {
        max-width: calc(100% - 50px);
        font-size: 21px;
    }

    .event-card__distance {
        margin-top: 14px;
        font-size: 11px;
    }

    .event-card__location {
        margin-top: 10px;
        font-size: 9px;
    }

    .event-card__arrow {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }

    .event-card__arrow svg {
        width: 23px;
        height: 23px;
    }

    .event-showcase__controls {
        display: none;
    }

    .event-transition {
        height: min(128vw, 520px);
    }

    .event-transition img {
        object-position: 55% center;
        clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%);
    }

    .brand-story__inner {
        display: flex;
        min-height: 0;
        flex-direction: column;
        gap: 72px;
        padding: 78px 22px 84px;
    }

    .brand-story__visual {
        order: -1;
        width: min(84vw, 320px);
        height: min(94vw, 360px);
        aspect-ratio: auto;
        align-self: center;
    }

    .brand-story__hand {
        bottom: -3%;
        left: -10%;
        width: 42%;
        stroke-width: 10;
    }

    .brand-story__motion-mark {
        top: 53%;
        right: -12%;
        width: 46%;
    }

    .brand-story__content {
        width: 100%;
    }

    .brand-story h2 {
        margin-bottom: 34px;
        font-size: clamp(24px, 7vw, 32px);
        line-height: 0.92;
    }

    .brand-story p,
    .brand-story .brand-story__lead {
        font-size: 14px;
        line-height: 1.55;
    }

    .brand-story p + p {
        margin-top: 24px;
    }

    .login-shell {
        min-height: calc(100svh - var(--header-height-mobile));
        grid-template-columns: 1fr;
    }

    .login-visual {
        min-height: 250px;
        padding: 38px 24px;
        background-position: 64% 42%;
    }

    .login-visual::after {
        right: -50px;
        bottom: -52px;
        width: 140px;
        height: 140px;
    }

    .login-visual h1 {
        max-width: 330px;
        font-size: clamp(36px, 11vw, 52px);
    }

    .login-visual__content > p:last-child {
        display: none;
    }

    .login-panel {
        place-items: start stretch;
        padding: 44px 20px 60px;
    }

    .login-panel h2 {
        margin-bottom: 22px;
        font-size: clamp(34px, 11vw, 46px);
    }

    .login-card {
        gap: 20px;
        padding: 24px 20px;
        border-radius: 22px;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .login-shell--register .login-visual {
        background-position: center 34%;
    }

    .login-shell--register .login-panel {
        padding-block: 40px 60px;
    }

    .register-fields {
        grid-template-columns: 1fr;
    }

    .register-fields .login-field {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

}

.contact-page {
    overflow: clip;
    color: #202330;
    background: #f3f1eb;
}

.contact-eyebrow {
    margin: 0;
    color: #f0512b;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-hero {
    background: url('/images/hero-test-runner.png') center 42% / cover no-repeat;
}

.contact-hero::after {
    position: absolute;
    right: -8%;
    bottom: -1px;
    width: 58%;
    height: 22%;
    background: #d2f53c;
    clip-path: polygon(24% 100%, 100% 0, 100% 100%);
    content: '';
}

.contact-hero__mark {
    position: absolute;
    z-index: 1;
    right: 8%;
    top: 24%;
    display: grid;
    gap: 15px;
    transform: rotate(-18deg);
}

.contact-hero__mark span {
    display: block;
    width: clamp(110px, 12vw, 180px);
    height: 16px;
    background: #d2f53c;
    clip-path: polygon(0 35%, 100% 0, 92% 100%, 4% 70%);
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(480px, 1.2fr);
    gap: clamp(48px, 7vw, 112px);
    width: min(100%, 1320px);
    margin: 0 auto;
    padding: clamp(84px, 10vw, 148px) clamp(28px, 5vw, 72px);
}

.contact-details {
    align-self: start;
    padding-top: 18px;
}

.contact-details h2,
.contact-form-panel h2,
.contact-map h2 {
    margin: 18px 0 0;
    font-size: clamp(46px, 5.2vw, 78px);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.92;
    text-transform: uppercase;
}

.contact-details__list {
    display: grid;
    gap: 0;
    margin: 48px 0 0;
}

.contact-details__list > div {
    display: grid;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid #d1cfc8;
}

.contact-details__list > div:last-child {
    border-bottom: 1px solid #d1cfc8;
}

.contact-details dt {
    color: #787a83;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-details dd {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.contact-details a {
    color: inherit;
    text-decoration-color: #f0512b;
    text-underline-offset: 5px;
}

.contact-details__note {
    margin: 28px 0 0;
    color: #787a83;
    font-size: 13px;
    line-height: 1.6;
}

.contact-form-panel {
    padding: clamp(34px, 5vw, 68px);
    color: #ffffff;
    background: #202330;
    border-radius: 34px;
    box-shadow: 0 28px 72px rgba(31, 35, 48, 0.16);
}

.contact-form-panel .contact-eyebrow {
    color: #d2f53c;
}

.contact-form-panel h2 {
    max-width: 650px;
    font-size: clamp(48px, 5vw, 72px);
}

.contact-form-panel__intro {
    max-width: 560px;
    margin: 24px 0 36px;
    color: #b8bac3;
    font-size: 15px;
    line-height: 1.65;
}

.contact-feedback {
    display: grid;
    gap: 4px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.contact-feedback:empty {
    display: none;
}

.contact-feedback--success {
    color: #202330;
    background: #d2f53c;
}

.contact-feedback--error {
    color: #ffffff;
    background: rgba(240, 81, 43, 0.18);
    border: 1px solid rgba(240, 81, 43, 0.55);
}

.contact-feedback ul {
    margin: 0;
    padding-left: 18px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contact-field {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.contact-field--wide {
    grid-column: 1 / -1;
}

.contact-field label {
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    min-width: 0;
    padding: 16px 17px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;
    outline: none;
    font: inherit;
    line-height: 1.45;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.contact-field textarea {
    min-height: 176px;
    resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #858893;
}

.contact-field input:focus,
.contact-field textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #d2f53c;
    box-shadow: 0 0 0 3px rgba(210, 245, 60, 0.14);
}

.contact-field .input-validation-error {
    border-color: #ff7659;
}

.contact-field > span {
    min-height: 18px;
    color: #ff9b86;
    font-size: 11px;
    line-height: 1.4;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 16px;
}

.contact-form__footer p {
    max-width: 330px;
    margin: 0;
    color: #8f929d;
    font-size: 11px;
    line-height: 1.55;
}

.contact-form__footer button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 22px;
    color: #202330;
    background: #d2f53c;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-form__footer button:hover {
    background: #ffffff;
}

.contact-map {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(480px, 1.3fr);
    gap: clamp(40px, 7vw, 110px);
    align-items: center;
    padding: clamp(76px, 9vw, 128px) clamp(28px, 7vw, 108px);
    color: #202330;
    background: #d2f53c;
}

.contact-map .contact-eyebrow {
    color: #202330;
}

.contact-map__frame {
    overflow: hidden;
    min-height: 450px;
    background: #d6d4cc;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(31, 35, 48, 0.18);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
    filter: grayscale(1) contrast(1.05);
}

@media (max-width: 900px) {
    .contact-hero__mark {
        right: 5%;
        top: 18%;
        opacity: 0.55;
    }

    .contact-content,
    .contact-map {
        grid-template-columns: 1fr;
    }

    .contact-details {
        display: grid;
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        column-gap: 48px;
    }

    .contact-details__list {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin-top: 0;
    }

    .contact-details__note {
        grid-column: 1;
    }

    .contact-map__frame,
    .contact-map iframe {
        min-height: 380px;
    }
}

@media (max-width: 650px) {
    .contact-hero::after {
        width: 78%;
        height: 14%;
    }

    .contact-hero__mark {
        display: none;
    }

    .contact-content {
        gap: 60px;
        padding: 72px 20px 84px;
    }

    .contact-details {
        display: block;
        padding: 0 4px;
    }

    .contact-details h2,
    .contact-form-panel h2,
    .contact-map h2 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .contact-details__list {
        margin-top: 38px;
    }

    .contact-form-panel {
        padding: 34px 20px 26px;
        border-radius: 26px;
    }

    .contact-form-panel__intro {
        margin-bottom: 28px;
        font-size: 13px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-field--wide {
        grid-column: auto;
    }

    .contact-form__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        margin-top: 10px;
    }

    .contact-form__footer button {
        width: 100%;
    }

    .contact-map {
        gap: 38px;
        padding: 68px 20px;
    }

    .contact-map__frame,
    .contact-map iframe {
        min-height: 320px;
        border-radius: 22px;
    }
}

.content-page {
    overflow: clip;
    color: #202330;
    background: #f3f1eb;
}

.content-page__hero {
    background: url("/images/event-antalya.png") center / cover no-repeat;
}

.blog-index-hero {
    background: url("/images/event-cappadocia.png") center / cover no-repeat;
}

.content-page__back {
    position: absolute;
    top: 32px;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #b7bac4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.content-page__back::before {
    content: '←';
}

.content-page__back:hover {
    color: #d2f53c;
}

.content-page__layout {
    display: grid;
    grid-template-columns: minmax(230px, 0.34fr) minmax(0, 0.66fr);
    gap: clamp(56px, 8vw, 124px);
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: clamp(76px, 9vw, 136px) clamp(28px, 5vw, 68px);
}

.content-page__navigation {
    align-self: start;
    position: sticky;
    top: 34px;
}

.content-page__navigation > p {
    margin: 0 0 20px;
    color: #85878e;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.content-page__navigation ul {
    margin: 0;
    padding: 0;
    border-top: 1px solid #d4d1c9;
    list-style: none;
}

.content-page__navigation a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 2px;
    color: #777982;
    border-bottom: 1px solid #d4d1c9;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.content-page__navigation a:hover,
.content-page__navigation a.is-current {
    color: #202330;
}

.content-page__navigation a.is-current {
    font-weight: 850;
}

.content-page__navigation a.is-current span:last-child {
    color: #f0512b;
}

.content-page__body {
    min-width: 0;
    color: #3b3e48;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.82;
}

.content-page__body > :first-child {
    margin-top: 0;
}

.content-page__body > :last-child {
    margin-bottom: 0;
}

.content-page__body h1,
.content-page__body h2,
.content-page__body h3,
.content-page__body h4 {
    color: #202330;
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-wrap: balance;
}

.content-page__body h1 {
    margin: 0 0 34px;
    font-size: clamp(34px, 4vw, 58px);
}

.content-page__body h2 {
    margin: 58px 0 20px;
    font-size: clamp(28px, 3vw, 42px);
}

.content-page__body h3 {
    margin: 42px 0 16px;
    font-size: clamp(22px, 2vw, 30px);
}

.content-page__body h4 {
    margin: 34px 0 12px;
    font-size: 19px;
}

.content-page__body p,
.content-page__body ul,
.content-page__body ol,
.content-page__body table,
.content-page__body blockquote {
    margin: 0 0 24px;
}

.content-page__body ul,
.content-page__body ol {
    padding-left: 1.35em;
}

.content-page__body li + li {
    margin-top: 8px;
}

.content-page__body a {
    color: #b93719;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.content-page__body strong {
    color: #202330;
}

.content-page__body table {
    display: block;
    overflow-x: auto;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.content-page__body th,
.content-page__body td {
    min-width: 150px;
    padding: 14px 16px;
    border: 1px solid #d4d1c9;
    text-align: left;
    vertical-align: top;
}

.content-page__body th {
    color: #202330;
    background: #e7e4dc;
}

.content-page__body blockquote {
    padding: 24px 28px;
    color: #202330;
    background: #d2f53c;
    border-radius: 18px;
}

.content-page__body img,
.content-page__body iframe {
    max-width: 100%;
}

.site-footer {
    padding: clamp(64px, 8vw, 112px) clamp(28px, 6vw, 84px) 30px;
    color: #ffffff;
    background: #171a25;
}

.site-footer__top,
.site-footer__links,
.site-footer__etbis {
    width: min(100%, 1320px);
    margin: 0 auto 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    font-size: 13px;
    line-height: 1.5;
}

.site-footer__etbis a {
    color: #d2f53c;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__etbis a:hover {
    color: #ffffff;
}

.site-footer__bottom {
    width: min(100%, 1320px);
    margin-inline: auto;
}

.site-footer__top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__brand,
.site-footer__brand img {
    display: block;
}

.site-footer__brand img {
    width: 130px;
    height: auto;
}

.site-footer__top > p {
    max-width: 480px;
    margin: 0;
    color: #a8abb5;
    font-size: clamp(16px, 1.6vw, 21px);
    line-height: 1.55;
    text-align: right;
}

.site-footer__links {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr);
    gap: clamp(40px, 8vw, 120px);
    padding: 48px 0 64px;
}

.site-footer__links nav {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 13px;
}

.site-footer__links p {
    margin: 0 0 8px;
    color: #d2f53c;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer__links a {
    width: fit-content;
    color: #d8d9de;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
    text-decoration: none;
}

.site-footer__links a:hover {
    color: #ffffff;
}

.site-footer__info-links {
    column-count: 2;
    column-gap: clamp(20px, 3vw, 48px);
}

.site-footer__info-links a {
    display: block;
    max-width: 100%;
    margin-bottom: 13px;
    break-inside: avoid;
    overflow-wrap: anywhere;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 26px;
    color: #767985;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 820px) {
    .content-page__layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .content-page__navigation {
        position: static;
    }

    .content-page__navigation ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-page__navigation li:nth-child(even) a {
        padding-left: 20px;
        border-left: 1px solid #d4d1c9;
    }
}

@media (max-width: 600px) {
    .content-page__back {
        top: 20px;
    }

    .content-page__layout {
        gap: 50px;
        padding: 64px 20px 82px;
    }

    .content-page__navigation ul {
        grid-template-columns: 1fr;
    }

    .content-page__navigation li:nth-child(even) a {
        padding-left: 2px;
        border-left: 0;
    }

    .content-page__navigation a {
        min-height: 54px;
    }

    .content-page__body {
        font-size: 15px;
        line-height: 1.75;
    }

    .content-page__body h2 {
        margin-top: 46px;
    }

    .content-page__body blockquote {
        padding: 20px;
        border-radius: 14px;
    }

    .site-footer {
        padding: 62px 20px 24px;
    }

    .site-footer__top {
        align-items: start;
        flex-direction: column;
        padding-bottom: 38px;
    }

    .site-footer__top > p {
        max-width: 310px;
        font-size: 15px;
        text-align: left;
    }

    .site-footer__links {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 40px 0 50px;
    }

    .site-footer__bottom {
        align-items: start;
        flex-direction: column;
        gap: 9px;
    }
}

.event-detail__category-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
}
.event-detail__category-price del {
    font-size: 13px;
    opacity: .7;
}
.event-detail__member-price-label {
    font-size: 11px;
    font-weight: 600;
}
