:root {
    --city-red: #d2222a;
    --city-red-hover: #b91d24;
    --city-ink: #111214;
    --city-muted: #686b70;
    --city-line: #dfe1e5;
    --city-soft: #f4f5f6;
    --city-white: #fff;
    --city-radius: 12px;
    --city-shell: 1376px;
}

.navbar--city {
    height: 74px;
    margin-bottom: 0 !important;
    border-bottom: 1px solid var(--city-line);
    background: var(--city-white);
}

.navbar--city .container {
    width: min(var(--city-shell), calc(100% - 64px));
    height: 74px;
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar--city .logo {
    float: none;
    width: auto;
    margin: 0 58px 0 0;
    color: var(--city-ink);
    text-decoration: none;
}

.navbar--city .onl-wordmark,
.city-footer__logo {
    color: var(--city-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1;
}

.navbar--city .onl-wordmark span,
.city-footer__logo span { color: var(--city-red); }
.navbar--city .onl-topnav { display: flex; align-items: center; gap: 42px; }
.navbar--city .onl-topnav a,
.navbar--city .navbar-account a { color: var(--city-ink); font-size: 16px; text-decoration: none; }
.navbar--city .onl-topnav a:hover,
.navbar--city .navbar-account a:hover { color: var(--city-red); }
.navbar--city .navbar-account { order: 3; margin-left: auto; line-height: 74px !important; }
.navbar--city .onl-header-action {
    order: 4;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 24px;
    padding: 0 24px;
    border-radius: 7px;
    background: var(--city-red);
    color: #fff;
    font-family: 'Circe-Bold', Arial, sans-serif;
    font-size: 16px;
    text-decoration: none;
}
.navbar--city .onl-header-action:hover { background: var(--city-red-hover); color: #fff; }

.city-catalog {
    overflow: hidden;
    background: var(--city-white);
    color: var(--city-ink);
    font-family: 'Circe', Arial, sans-serif;
}
.city-catalog *, .city-catalog *::before, .city-catalog *::after { box-sizing: border-box; }
.city-shell { width: min(var(--city-shell), calc(100% - 64px)); margin: 0 auto; }

.city-hero { padding: 26px 0 24px; background: #fff; }
.city-hero__grid {
    min-height: 488px;
    display: grid;
    grid-template-columns: minmax(390px, .74fr) minmax(0, 1.26fr);
    gap: 42px;
}
.city-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 24px 0 34px; }
.city-hero h1,
.city-section-heading h2,
.city-organizer h2 {
    margin: 0;
    color: var(--city-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.055em;
}
.city-hero h1 { font-size: clamp(60px, 6.1vw, 92px); line-height: .92; }
.city-hero__copy > p { max-width: 520px; margin: 26px 0 0; color: #52555a; font-size: 21px; line-height: 1.38; }
.city-switcher { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 26px; }
.city-switcher a {
    padding: 5px 0 7px;
    border-bottom: 2px solid transparent;
    color: var(--city-muted);
    font-size: 17px;
    text-decoration: none;
}
.city-switcher a:hover, .city-switcher a.is-active { border-color: var(--city-red); color: var(--city-red); }
.city-hero__actions { display: flex; align-items: center; gap: 34px; margin-top: 32px; }
.city-button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 30px;
    border-radius: 8px;
    font-family: 'Circe-Bold', Arial, sans-serif;
    font-size: 18px;
    text-decoration: none;
}
.city-button--primary { background: var(--city-red); color: #fff; }
.city-button--primary:hover { background: var(--city-red-hover); color: #fff; }
.city-button svg, .city-text-link svg, .city-event-card__more svg {
    width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.city-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    color: var(--city-ink);
    font-size: 18px;
    text-decoration: none;
}
.city-text-link:hover { border-color: currentColor; color: var(--city-red); }
.city-hero__visual { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; }
.city-hero__image { position: relative; min-width: 0; display: block; overflow: hidden; border-radius: var(--city-radius); background: var(--city-soft); }
.city-hero__image img { width: 100%; height: 100%; min-height: 488px; display: block; object-fit: cover; transition: transform 420ms ease; }
.city-hero__image:hover img { transform: scale(1.018); }
.city-hero__caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 17px 18px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,.94);
    color: var(--city-ink);
    backdrop-filter: blur(8px);
}
.city-hero__caption time { color: var(--city-red); font-size: 13px; }
.city-hero__caption strong { font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 400; line-height: 1.08; }
.city-hero__dates { min-width: 0; display: grid; grid-template-rows: repeat(6, 1fr); border: 1px solid var(--city-line); border-radius: var(--city-radius); overflow: hidden; }
.city-hero__dates a {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-content: center;
    padding: 8px 11px;
    border-bottom: 1px solid var(--city-line);
    color: var(--city-ink);
    text-decoration: none;
}
.city-hero__dates a:last-child { border-bottom: 0; }
.city-hero__dates small { grid-column: 1 / -1; color: var(--city-muted); font-size: 12px; text-transform: uppercase; }
.city-hero__dates strong { font-size: 25px; line-height: 1; }
.city-hero__dates span { align-self: end; color: var(--city-muted); font-size: 12px; }
.city-hero__dates a:hover, .city-hero__dates a.is-active { box-shadow: inset 3px 0 var(--city-red); color: var(--city-red); }

.city-events, .city-archive { padding: 48px 0 60px; border-top: 1px solid var(--city-line); background: #fff; }
.city-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 22px; background: #fff; color: var(--city-ink); }
.city-section-heading h2 { font-size: clamp(44px, 4.4vw, 64px); line-height: 1; }
.city-section-heading p { margin: 9px 0 0; color: var(--city-muted); font-size: 16px; }
.city-feed-note { max-width: 380px; text-align: right; }
.city-calendar {
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: 7px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--city-line);
}
.city-calendar a {
    min-width: 0;
    min-height: 66px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-content: center;
    padding: 8px 9px;
    border: 1px solid var(--city-line);
    border-radius: 8px;
    color: var(--city-ink);
    text-decoration: none;
}
.city-calendar small { grid-column: 1 / -1; overflow: hidden; color: var(--city-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.city-calendar strong { font-size: 19px; line-height: 1.1; }
.city-calendar span { align-self: end; color: var(--city-muted); font-size: 11px; }
.city-calendar a:hover { border-color: var(--city-red); color: var(--city-red); }
.city-calendar a.is-active { border-color: var(--city-red); background: var(--city-red); color: #fff; }
.city-calendar a.is-active small, .city-calendar a.is-active span { color: #fff; }

.city-controls { display: grid; grid-template-columns: minmax(290px, 380px) minmax(0, 1fr); gap: 16px; padding: 20px 0 24px; border-bottom: 1px solid var(--city-line); }
.city-search { min-width: 0; height: 50px; display: flex; align-items: center; gap: 12px; padding: 0 17px; border: 1px solid #cdd0d5; border-radius: 10px; background: #fff; }
.city-search:focus-within { border-color: var(--city-ink); }
.city-search svg, .city-empty svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; }
.city-search input { width: 100%; height: 46px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--city-ink) !important; font: 17px 'Circe', Arial, sans-serif; }
.city-search input::placeholder { color: #86898e !important; opacity: 1; }
.city-filters { min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.city-filters button {
    max-width: 100%;
    min-height: 42px;
    padding: 0 17px;
    overflow: hidden;
    border: 1px solid #cdd0d5;
    border-radius: 22px;
    background: #fff;
    color: var(--city-ink);
    font: 15px 'Circe', Arial, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.city-filters button:hover, .city-filters button:focus-visible { border-color: var(--city-red); color: var(--city-red); }
.city-filters button.is-active { border-color: var(--city-red); background: var(--city-red); color: #fff; }

.city-event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 22px; }
.city-event-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--city-line); border-radius: var(--city-radius); background: #fff; }
.city-event-card--featured { grid-column: span 2; display: grid; grid-template-columns: minmax(300px, 1.15fr) minmax(280px, .85fr); }
.city-event-card[hidden] { display: none !important; }
.city-event-card__image { height: 232px; display: block; overflow: hidden; background: var(--city-soft); }
.city-event-card--featured .city-event-card__image { height: 100%; min-height: 366px; }
.city-event-card__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 420ms ease; }
.city-event-card:hover .city-event-card__image img { transform: scale(1.025); }
.city-event-card__body { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; padding: 18px 19px 19px; }
.city-event-card--featured .city-event-card__body { padding: 26px; }
.city-event-card__labels { min-height: 19px; display: flex; justify-content: space-between; gap: 12px; color: var(--city-red); font-size: 13px; }
.city-event-card__labels small { color: var(--city-muted); font-size: 12px; }
.city-event-card h3 { margin: 5px 0 0; font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 400; line-height: 1.08; letter-spacing: -.025em; overflow-wrap: anywhere; }
.city-event-card--featured h3 { font-size: 38px; }
.city-event-card h3 a { color: var(--city-ink); text-decoration: none; }
.city-event-card h3 a:hover { color: var(--city-red); }
.city-event-card__details { margin-top: 18px; }
.city-event-card__details p { min-width: 0; display: flex; align-items: flex-start; gap: 9px; margin: 0 0 8px; color: var(--city-muted); font-size: 14px; line-height: 1.3; }
.city-event-card__details svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.city-event-card__details span { min-width: 0; overflow-wrap: anywhere; }
.city-event-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 17px; }
.city-event-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--city-red); font-family: 'Circe-Bold', Arial, sans-serif; font-size: 15px; text-decoration: none; }
.city-event-card__badges { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
.city-event-card__badges small { padding: 4px 7px; border: 1px solid var(--city-line); border-radius: 6px; color: var(--city-muted); font-size: 12px; }
.city-event-grid--single { grid-template-columns: 1fr; }
.city-event-grid--single .city-event-card { grid-column: 1; }
.city-empty { min-height: 94px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 22px; padding: 22px 24px; border: 1px dashed #cdd0d5; border-radius: var(--city-radius); color: var(--city-muted); }
.city-empty[hidden] { display: none !important; }
.city-empty div { display: flex; flex-direction: column; gap: 3px; }
.city-empty strong { color: var(--city-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 400; }
.city-empty button, .city-empty a { padding: 0; border: 0; background: transparent; color: var(--city-red); font: 15px 'Circe-Bold', Arial, sans-serif; text-decoration: none; }

.city-section-heading--archive { padding-bottom: 22px; border-bottom: 1px solid var(--city-line); }
.city-section-heading--archive .city-text-link { color: var(--city-red); }
.city-archive__list { display: block; }
.city-archive-item { min-width: 0; display: grid; grid-template-columns: 250px 110px minmax(260px, 1fr) minmax(220px, .72fr); gap: 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--city-line); color: var(--city-ink); text-decoration: none; }
.city-archive-item__image { height: 94px; display: block; overflow: hidden; border-radius: 7px; background: var(--city-soft); }
.city-archive-item__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 360ms ease; }
.city-archive-item:hover img { transform: scale(1.025); }
.city-archive-item__date { color: var(--city-muted); font-size: 14px; }
.city-archive-item > strong { min-width: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 400; line-height: 1.1; overflow-wrap: anywhere; }
.city-archive-item__place { min-width: 0; color: var(--city-ink); font-size: 15px; overflow-wrap: anywhere; }
.city-archive-item__place small { display: block; margin-top: 4px; color: var(--city-muted); font-size: 13px; }
.city-archive-empty { min-height: 104px; display: flex; align-items: center; gap: 24px; padding: 24px 34px; border: 1px dashed #cdd0d5; border-radius: var(--city-radius); }
.city-archive-empty svg { width: 40px; height: 40px; flex: 0 0 auto; fill: none; stroke: #8b8e94; stroke-width: 1.6; stroke-linecap: round; }
.city-archive-empty div { display: flex; flex-direction: column; gap: 4px; }
.city-archive-empty strong { font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 400; }
.city-archive-empty span { color: var(--city-muted); font-size: 16px; }

.city-organizer { background: #151617; color: #fff; }
.city-organizer__inner { min-height: 238px; display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.city-organizer h2 { color: #fff; font-size: clamp(44px, 4.8vw, 70px); line-height: 1; }
.city-organizer p { max-width: 820px; margin: 18px 0 0; color: #d4d5d6; font-size: 20px; line-height: 1.35; }
.city-organizer .city-button { min-width: 278px; flex: 0 0 auto; }
.city-footer { padding: 38px 0; background: #fff; }
.city-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.city-footer__logo { font-size: 31px; text-decoration: none; }
.city-footer nav { display: flex; align-items: center; gap: 36px; }
.city-footer nav a { color: var(--city-ink); font-size: 15px; text-decoration: none; }
.city-footer nav a:hover { color: var(--city-red); }

@media (max-width: 1180px) {
    .navbar--city .onl-topnav { gap: 24px; }
    .city-hero__grid { grid-template-columns: minmax(350px, .75fr) minmax(0, 1.25fr); gap: 28px; }
    .city-calendar { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .city-controls { grid-template-columns: 1fr; }
    .city-archive-item { grid-template-columns: 210px 90px minmax(220px, 1fr) minmax(180px, .65fr); gap: 18px; }
}

@media (max-width: 900px) {
    .navbar--city .container, .city-shell { width: min(100% - 36px, var(--city-shell)); }
    .navbar--city .onl-topnav { display: none; }
    .navbar--city .navbar-account { margin-left: auto; }
    .city-hero__grid { grid-template-columns: 1fr; }
    .city-hero__copy { padding-bottom: 6px; }
    .city-hero__visual { min-height: 430px; }
    .city-hero__image img { min-height: 430px; }
    .city-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .city-event-card--featured { grid-column: span 2; }
    .city-archive-item { grid-template-columns: 180px 90px minmax(0, 1fr); }
    .city-archive-item__place { grid-column: 2 / -1; padding-bottom: 4px; }
    .city-organizer__inner { padding: 46px 0; align-items: flex-start; flex-direction: column; gap: 28px; }
}

@media (max-width: 640px) {
    .navbar--city { height: 64px; }
    .navbar--city .container { width: calc(100% - 28px); height: 64px; }
    .navbar--city .logo { margin-right: 0; }
    .navbar--city .onl-wordmark { font-size: 28px; }
    .navbar--city .navbar-account { display: none; }
    .navbar--city .onl-header-action { min-height: 40px; margin-left: auto; padding: 0 13px; font-size: 14px; }
    .city-shell { width: calc(100% - 28px); }
    .city-hero { padding: 20px 0 24px; }
    .city-hero__grid { gap: 24px; }
    .city-hero__copy { padding: 0; }
    .city-hero h1 { font-size: clamp(50px, 16vw, 68px); line-height: .94; }
    .city-hero__copy > p { margin-top: 20px; font-size: 18px; }
    .city-switcher { gap: 17px; margin-top: 18px; }
    .city-switcher a { font-size: 15px; }
    .city-hero__actions { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 24px; }
    .city-button { width: 100%; min-height: 52px; padding: 0 20px; font-size: 17px; }
    .city-hero__visual { min-height: 0; grid-template-columns: 1fr; }
    .city-hero__image { min-height: 360px; }
    .city-hero__image img { min-height: 360px; }
    .city-hero__caption { right: 12px; bottom: 12px; left: 12px; padding: 13px 14px; }
    .city-hero__caption strong { font-size: 21px; }
    .city-hero__dates { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: none; }
    .city-hero__dates a { display: flex; flex-direction: column; align-items: center; padding: 9px 4px; border-right: 1px solid var(--city-line); border-bottom: 0; }
    .city-hero__dates a:last-child { border-right: 0; }
    .city-hero__dates small { font-size: 10px; }
    .city-hero__dates strong { margin-top: 3px; font-size: 20px; }
    .city-hero__dates span { align-self: auto; font-size: 10px; }
    .city-hero__dates a:hover, .city-hero__dates a.is-active { box-shadow: inset 0 3px var(--city-red); }
    .city-events, .city-archive { padding: 34px 0 42px; }
    .city-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .city-section-heading h2 { font-size: 43px; }
    .city-feed-note { max-width: none; text-align: left; }
    .city-calendar { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
    .city-calendar a { min-height: 58px; display: flex; flex-direction: column; align-items: center; padding: 6px 2px; }
    .city-calendar small { max-width: 100%; font-size: 9px; }
    .city-calendar strong { font-size: 17px; }
    .city-calendar span { align-self: auto; font-size: 9px; }
    .city-controls { gap: 12px; padding: 16px 0 20px; }
    .city-search { height: 48px; }
    .city-filters { gap: 7px; }
    .city-filters button { min-height: 38px; padding: 0 13px; font-size: 13px; }
    .city-event-grid { grid-template-columns: 1fr; gap: 14px; padding-top: 16px; }
    .city-event-card--featured { grid-column: 1; display: flex; }
    .city-event-card__image, .city-event-card--featured .city-event-card__image { height: 220px; min-height: 0; }
    .city-event-card__body, .city-event-card--featured .city-event-card__body { padding: 17px; }
    .city-event-card h3, .city-event-card--featured h3 { font-size: 28px; }
    .city-empty { grid-template-columns: auto 1fr; padding: 20px; }
    .city-empty button, .city-empty a { grid-column: 2; justify-self: start; }
    .city-section-heading--archive .city-text-link { margin-top: 4px; }
    .city-archive-item { grid-template-columns: 108px minmax(0, 1fr); gap: 10px 15px; padding: 14px 0; }
    .city-archive-item__image { grid-row: span 3; height: 104px; }
    .city-archive-item__date { align-self: end; font-size: 12px; }
    .city-archive-item > strong { font-size: 21px; }
    .city-archive-item__place { grid-column: 2; padding: 0; font-size: 13px; }
    .city-archive-item__place small { font-size: 12px; }
    .city-archive-empty { padding: 22px 18px; }
    .city-organizer h2 { font-size: 43px; }
    .city-organizer p { font-size: 17px; }
    .city-organizer .city-button { min-width: 0; }
    .city-footer__inner { align-items: flex-start; flex-direction: column; }
    .city-footer nav { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .city-hero__image img, .city-event-card__image img, .city-archive-item__image img { transition: none; }
}
