.events-page {
    --events-accent: #a63a32;
    --events-accent-strong: #7f231d;
    --events-sand: #f8efe3;
    --events-ink: #261815;
    --events-muted: #6c5954;
}

.events-shell {
    display: grid;
    gap: 1rem;
}

.events-hero {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
    align-items: center;
    padding: clamp(0.85rem, 1.6vw, 1.4rem);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 229, 189, 0.9), transparent 32%),
        linear-gradient(135deg, #5f1f1a 0%, #a63a32 58%, #d8864d 100%);
    color: #fff8f2;
    box-shadow: 0 22px 60px rgba(64, 23, 20, 0.2);
}

.events-hero h1 {
    margin: 0;
    font-size: clamp(1.65rem, 2.8vw, 2.4rem);
    line-height: 1.02;
}

.events-hero__eyebrow,
.events-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 248, 242, 0.82);
}

.events-panel__eyebrow {
    color: var(--events-accent);
}

.events-lead {
    max-width: 56rem;
    margin: 0.45rem 0 0;
    font-size: 0.98rem;
    color: rgba(255, 248, 242, 0.88);
}

.events-hero__actions {
    display: grid;
    gap: 0.85rem;
    justify-items: stretch;
}

.events-panel {
    padding: 1.15rem;
    border: 1px solid rgba(166, 58, 50, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 239, 227, 0.7));
    box-shadow: 0 16px 36px rgba(39, 24, 21, 0.08);
}

.events-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.events-panel__header h2,
.events-panel__header h3 {
    margin: 0;
    color: var(--events-ink);
}

.events-inline-note {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(166, 58, 50, 0.1);
    color: var(--events-accent-strong);
    font-weight: 600;
}

.events-search__form {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.events-search__form input[type="search"] {
    min-width: 0;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(38, 24, 21, 0.12);
    border-radius: 16px;
    background: #fff;
}

.events-chip-list,
.events-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.events-chip,
.events-filter-link {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.95rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(38, 24, 21, 0.08);
    color: var(--events-ink);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.events-chip strong,
.events-filter-link strong {
    min-width: 1.8rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(166, 58, 50, 0.08);
    color: var(--events-accent-strong);
    font-size: 0.88rem;
    text-align: center;
}

.events-chip:hover,
.events-filter-link:hover,
.events-chip:focus-visible,
.events-filter-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(166, 58, 50, 0.4);
    box-shadow: 0 12px 24px rgba(39, 24, 21, 0.1);
}

.events-chip.is-active,
.events-filter-link.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(166, 58, 50, 0.14), rgba(216, 134, 77, 0.2));
}

.events-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.events-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 5.75rem;
}

.events-calendar__nav {
    display: inline-flex;
    gap: 0.4rem;
}

.events-calendar__nav a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(166, 58, 50, 0.08);
    color: var(--events-accent-strong);
    text-decoration: none;
    font-size: 1.15rem;
    transition: transform 0.22s ease, opacity 0.22s ease, background-color 0.22s ease;
}

.events-calendar__nav a:hover {
    transform: translateY(-1px);
}

.events-calendar.is-loading .events-calendar__nav a {
    pointer-events: none;
    opacity: 0.45;
}

.events-calendar__viewport {
    position: relative;
    overflow: hidden;
    transition: height 0.28s ease;
}

.events-calendar__content {
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.events-calendar__content.is-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.events-calendar__content.is-enter-from-next,
.events-calendar__content.is-enter-from-prev {
    opacity: 0;
}

.events-calendar__content.is-enter-from-next {
    transform: translateX(14%);
}

.events-calendar__content.is-enter-from-prev {
    transform: translateX(-14%);
}

.events-calendar__content.is-enter-from-next.is-active,
.events-calendar__content.is-enter-from-prev.is-active {
    transform: translateX(0);
    opacity: 1;
}

.events-calendar__content.is-exit-to-next {
    transform: translateX(-14%);
    opacity: 0;
}

.events-calendar__content.is-exit-to-prev {
    transform: translateX(14%);
    opacity: 0;
}

.events-calendar__weekdays,
.events-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
}

.events-calendar__weekdays {
    margin-bottom: 0.45rem;
    color: var(--events-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.events-calendar__day {
    display: grid;
    gap: 0.25rem;
    justify-items: center;
    min-height: 3.2rem;
    padding: 0.45rem 0.2rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(38, 24, 21, 0.06);
    color: var(--events-ink);
    text-decoration: none;
}

.events-calendar__day.is-outside {
    opacity: 0.35;
}

.events-calendar__day.is-today {
    border-color: rgba(166, 58, 50, 0.45);
}

.events-calendar__day.is-selected {
    background: linear-gradient(180deg, rgba(166, 58, 50, 0.18), rgba(216, 134, 77, 0.12));
    border-color: rgba(166, 58, 50, 0.42);
}

.events-calendar__day-number {
    font-weight: 700;
}

.events-calendar__day-count {
    font-size: 0.74rem;
    color: var(--events-muted);
}

.events-results {
    display: grid;
    gap: 1rem;
}

.events-results__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.events-results__summary {
    margin: 0.4rem 0 0;
    color: var(--events-muted);
}

.events-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.events-active-filters span {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(38, 24, 21, 0.05);
    color: var(--events-muted);
    font-size: 0.88rem;
}

.events-card-grid {
    display: grid;
    gap: 1rem;
}

.events-card {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(39, 24, 21, 0.08);
}

.events-card__media {
    position: relative;
    display: block;
    min-height: 100%;
    background: linear-gradient(160deg, #f0d2bc 0%, #c85f47 100%);
}

.events-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-card__media-placeholder,
.events-detail__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 0.25rem;
    color: #fff8f2;
    text-align: center;
}

.events-card__media-placeholder strong,
.events-detail__placeholder strong {
    font-size: 2.6rem;
    line-height: 1;
}

.events-card__body {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem 1.25rem 1.3rem;
}

.events-card__body h3,
.events-card__body h3 a,
.events-detail__content h2 {
    margin: 0;
    color: var(--events-ink);
    text-decoration: none;
}

.events-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.events-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.events-badge--featured {
    background: rgba(166, 58, 50, 0.12);
    color: var(--events-accent-strong);
}

.events-badge--category {
    background: rgba(38, 24, 21, 0.08);
    color: var(--events-ink);
}

.events-card__meta,
.events-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    color: var(--events-muted);
}

.events-card__meta span,
.events-detail__meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(38, 24, 21, 0.05);
}

.events-card__body p,
.events-detail__lead {
    margin: 0;
    color: var(--events-muted);
}

.events-card__footer {
    display: flex;
    justify-content: flex-start;
}

.events-empty {
    text-align: center;
}

.events-empty h3 {
    margin-bottom: 0.5rem;
    color: var(--events-ink);
}

.events-empty__actions,
.events-thank-you__actions,
.events-detail__actions,
.events-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.events-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.events-detail {
    display: grid;
    gap: 1rem;
}

.events-detail__back {
    justify-self: start;
}

.events-detail__header {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 1.25rem;
}

.events-detail__media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(160deg, #f0d2bc 0%, #c85f47 100%);
}

.events-detail__media-open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.events-detail__media-open--static {
    cursor: default;
}

.events-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-detail__zoom-hint {
    position: absolute;
    right: 0.9rem;
    bottom: 0.9rem;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 22, 28, 0.78);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.events-detail__content {
    display: grid;
    align-content: start;
    gap: 0.95rem;
}

.events-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 1rem;
}

.events-detail__aside {
    display: grid;
    gap: 1rem;
}

.events-detail__facts {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.events-detail__facts div {
    display: grid;
    gap: 0.2rem;
}

.events-detail__facts dt {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--events-accent);
}

.events-detail__facts dd {
    margin: 0;
    color: var(--events-ink);
}

.events-richtext {
    color: var(--events-ink);
}

.events-richtext > :last-child {
    margin-bottom: 0;
}

.events-related {
    display: grid;
    gap: 0.75rem;
}

.events-form-layout {
    display: grid;
    gap: 1rem;
}

.events-form {
    display: grid;
    gap: 1rem;
}

.events-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.events-form__field {
    display: grid;
    gap: 0.45rem;
}

.events-form__field label {
    font-weight: 700;
    color: var(--events-ink);
}

.events-form__field small {
    color: var(--events-muted);
}

.events-form__field--wide,
.events-form__field--check {
    grid-column: 1 / -1;
}

.events-form__field--check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(38, 24, 21, 0.04);
}

.events-form__field--check label {
    margin: 0;
}

.events-form__field--check input {
    margin: 0;
}

.events-form__errors {
    color: #b42318;
    font-size: 0.92rem;
}

.events-thank-you {
    max-width: 52rem;
}

@media (max-width: 991.98px) {
    .events-hero,
    .events-layout,
    .events-detail__header,
    .events-detail__grid,
    .events-card {
        grid-template-columns: 1fr;
    }

    .events-sidebar {
        position: static;
    }

    .events-card__media {
        min-height: 220px;
    }
}

@media (max-width: 767.98px) {
    .events-search__form,
    .events-results__head,
    .events-pagination,
    .events-form__grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .events-hero__actions,
    .events-empty__actions,
    .events-thank-you__actions,
    .events-detail__actions,
    .events-form__actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .events-panel,
    .events-card__body {
        padding: 1rem;
    }
}
:root {
    --jelonka-ink: #1b2740;
    --jelonka-ink-soft: #5d6b80;
    --jelonka-line: #d7e0ea;
    --jelonka-paper: #f3f6fa;
    --jelonka-paper-strong: #e6edf7;
    --jelonka-brand: #1461a2;
    --jelonka-brand-strong: #154086;
    --jelonka-accent: #be5600;
    --jelonka-white: #ffffff;
    --jelonka-shadow: 0 20px 60px rgba(21, 64, 134, 0.10);
}

body {
    color: var(--jelonka-ink);
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.10), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #edf2f8 100%);
}

a {
    color: var(--jelonka-brand);
}

a:hover,
a:focus {
    color: var(--jelonka-brand-strong);
}

.navbar-jelonka {
    background: #be5600;
    box-shadow: 0 12px 34px rgba(190, 86, 0, 0.28);
}

.navbar-jelonka .navbar-brand,
.navbar-jelonka .nav-link {
    font-weight: 600;
}

.navbar-jelonka .nav-link span {
    display: inline-block;
    padding-bottom: 0.15rem;
}

.navbar-jelonka .nav-link:hover,
.navbar-jelonka .nav-link:focus,
.navbar-jelonka .nav-link.active {
    color: rgba(255, 255, 255, 0.98);
}

.navbar-jelonka .nav-link.active span,
.navbar-jelonka .nav-link:hover span {
    border-bottom: 0;
}

@media (max-width: 991.98px) {
    .navbar-jelonka {
        padding-top: var(--bs-navbar-padding-y);
        padding-bottom: var(--bs-navbar-padding-y);
    }

    .navbar-jelonka .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.26);
        background: rgba(255, 255, 255, 0.08);
    }

    .navbar-jelonka .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.18);
    }

    .navbar-jelonka__collapse {
        margin-top: 0.9rem;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 1.25rem;
        background: #a74a00;
        box-shadow: 0 26px 54px rgba(27, 39, 64, 0.24);
    }

    .navbar-jelonka__collapse.collapsing {
        transition: height 0.32s ease;
    }

    .navbar-jelonka__collapse-panel {
        padding: 0.4rem 0.4rem 0.2rem;
        border-radius: inherit;
    }

    .navbar-jelonka__collapse .navbar-nav {
        gap: 0.15rem;
        margin-bottom: 0 !important;
    }

    .navbar-jelonka__collapse .nav-item {
        text-align: left !important;
    }

    .navbar-jelonka__collapse .nav-link {
        padding: 0.8rem 0.9rem;
        border-radius: 0.95rem;
        background: rgba(255, 255, 255, 0.08);
    }

    .navbar-jelonka__collapse .nav-link:hover,
    .navbar-jelonka__collapse .nav-link:focus,
    .navbar-jelonka__collapse .nav-link.active {
        background: rgba(255, 255, 255, 0.16);
    }

    .navbar-jelonka__collapse .navbar-nav + .navbar-nav {
        margin-top: 0.55rem;
        padding-top: 0.55rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (min-width: 992px) {
    .navbar-jelonka__collapse {
        margin-top: 0;
    }

    .navbar-jelonka__collapse-panel {
        display: flex;
        align-items: center;
        width: 100%;
        margin-top: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
}

.navbar-jelonka__language {
    display: flex;
    align-items: center;
    margin-right: 0.35rem;
}

.navbar-jelonka__language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.5rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: var(--jelonka-white);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.navbar-jelonka__language-toggle:hover,
.navbar-jelonka__language-toggle:focus {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.36);
    color: var(--jelonka-white);
}

.navbar-jelonka__language-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.34);
    outline-offset: 2px;
}

.navbar-jelonka__language-label {
    white-space: nowrap;
}

.navbar-jelonka__language-caret {
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.82;
}

.navbar-jelonka__language-menu {
    min-width: 14rem;
    margin-top: 0.7rem;
    padding: 0.45rem;
    border: 0;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 46px rgba(27, 39, 64, 0.18);
}

.navbar-jelonka__language-menu form {
    display: grid;
    gap: 0.35rem;
}

.navbar-jelonka__language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 0;
    border-radius: 0.8rem;
    background: transparent;
    color: var(--jelonka-ink);
    text-align: left;
}

.navbar-jelonka__language-option:hover,
.navbar-jelonka__language-option:focus {
    background: var(--jelonka-paper);
    color: var(--jelonka-ink);
}

.navbar-jelonka__language-option.is-active {
    background: rgba(20, 97, 162, 0.10);
}

.navbar-jelonka__language-option-copy {
    line-height: 1.15;
}

.navbar-jelonka__language-option-copy strong {
    font-size: 0.96rem;
    font-weight: 700;
}

.navbar-jelonka__language-check {
    margin-left: auto;
    color: var(--jelonka-brand);
    font-size: 0.95rem;
    font-weight: 800;
}

.navbar-jelonka__flag {
    position: relative;
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(27, 39, 64, 0.12);
}

.navbar-jelonka__flag--pl {
    background: linear-gradient(180deg, #ffffff 0 50%, #d91f32 50% 100%);
}

.navbar-jelonka__flag--en {
    background:
        linear-gradient(90deg, transparent 0 38%, #ffffff 38% 62%, transparent 62% 100%),
        linear-gradient(180deg, transparent 0 38%, #ffffff 38% 62%, transparent 62% 100%),
        linear-gradient(90deg, transparent 0 42%, #cf142b 42% 58%, transparent 58% 100%),
        linear-gradient(180deg, transparent 0 42%, #cf142b 42% 58%, transparent 58% 100%),
        #1a47b8;
}

.page-shell {
    min-height: calc(100vh - 72px);
}

.error-page-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.error-page-layout .error-page {
    flex: 1 0 auto;
}

.error-page {
    display: grid;
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.error-page__section {
    max-width: min(1280px, calc(100vw - 2rem));
    padding-right: clamp(1rem, 2.5vw, 2rem);
    padding-left: clamp(1rem, 2.5vw, 2rem);
}

.error-page__card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.12), transparent 24%),
        radial-gradient(circle at bottom left, rgba(20, 97, 162, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 252, 0.98) 100%);
    box-shadow: var(--jelonka-shadow);
}

.error-page__card--no-media {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.error-page__copy {
    max-width: 36rem;
    justify-self: center;
    text-align: center;
}

.error-page__code {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(190, 86, 0, 0.12);
    color: var(--jelonka-accent);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.error-page__copy h1 {
    margin: 0.9rem 0 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.96;
}

.error-page__copy p {
    margin: 1rem 0 0;
    color: var(--jelonka-ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.error-page__media {
    display: grid;
    place-items: center;
    min-width: 0;
}

.error-page__media img {
    display: block;
    width: min(100%, 32rem);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 42px rgba(21, 64, 134, 0.18));
}

@media (max-width: 900px) {
    .error-page__card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .error-page__copy {
        max-width: none;
    }

    .error-page__code,
    .error-page__actions {
        justify-content: center;
    }

    .error-page__media {
        order: -1;
    }

    .error-page__media img {
        width: min(100%, 24rem);
    }
}

@media (max-width: 575.98px) {
    .error-page__actions {
        display: grid;
    }

    .error-page__actions .btn {
        width: 100%;
    }
}

.home-page {
    padding: 2rem 0 4rem;
}

.home-page > .container {
    max-width: min(1560px, calc(100vw - 2rem));
    padding-right: clamp(1rem, 2.5vw, 2rem);
    padding-left: clamp(1rem, 2.5vw, 2rem);
}

.home-block {
    margin-bottom: 1.5rem;
}

.home-block:last-child {
    margin-bottom: 0;
}

.home-surface {
    background: var(--jelonka-white);
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 28px;
    box-shadow: var(--jelonka-shadow);
}

.subscription-page {
    padding: 0 0 4.8rem;
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.18), transparent 18%),
        radial-gradient(circle at top left, rgba(20, 97, 162, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(246, 249, 253, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
}

.subscription-page__container {
    max-width: min(1360px, calc(100vw - 2rem));
    padding-right: clamp(1rem, 2.5vw, 2rem);
    padding-left: clamp(1rem, 2.5vw, 2rem);
    display: grid;
    gap: 1.5rem;
}

.subscription-hero,
.subscription-summary,
.subscription-pricing {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 32px;
    box-shadow: var(--jelonka-shadow);
}

.subscription-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.88fr);
    gap: 0;
    background:
        radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.2), transparent 0 22%),
        radial-gradient(circle at 18% 100%, rgba(255, 255, 255, 0.08), transparent 0 24%),
        linear-gradient(135deg, rgba(21, 64, 134, 0.98) 0%, rgba(20, 97, 162, 0.96) 52%, rgba(190, 86, 0, 0.90) 100%);
    color: var(--jelonka-white);
}

.subscription-hero::after {
    content: "";
    position: absolute;
    inset: auto -4rem -6rem auto;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.subscription-hero__copy,
.subscription-hero__aside,
.subscription-pricing,
.subscription-summary__card {
    padding: clamp(1.4rem, 3vw, 2.8rem);
}

.subscription-hero__eyebrow,
.subscription-pricing__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    padding: 0.42rem 0.82rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.subscription-hero__eyebrow {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.94);
}

.subscription-pricing__eyebrow {
    background: rgba(20, 97, 162, 0.09);
    color: var(--jelonka-brand-strong);
}

.subscription-hero h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.02;
    max-width: 12ch;
}

.subscription-hero p {
    margin: 1rem 0 0;
    max-width: 50rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.72;
}

.subscription-hero__aside {
    display: grid;
    align-content: center;
    gap: 0.9rem;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(13, 26, 58, 0.18) 100%);
    backdrop-filter: blur(10px);
}

.subscription-hero__stat {
    display: grid;
    gap: 0.25rem;
    padding: 1.05rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.10);
}

.subscription-hero__stat strong {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1;
}

.subscription-hero__stat span,
.subscription-hero__note {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
}

.subscription-hero__stat--accent {
    background: rgba(255, 243, 229, 0.14);
}

.subscription-hero__facts {
    display: grid;
    gap: 0.85rem;
}

.subscription-hero__facts div {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 17, 39, 0.14);
}

.subscription-hero__facts strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.subscription-hero__facts span {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.55;
}

.subscription-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: rgba(23, 33, 38, 0.08);
}

.subscription-summary__card {
    background:
        radial-gradient(circle at top right, rgba(20, 97, 162, 0.10), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 253, 0.98) 100%);
}

.subscription-summary__card--full {
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.15), transparent 22%),
        linear-gradient(180deg, rgba(255, 249, 243, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.subscription-summary__card h2,
.subscription-pricing__header h2 {
    margin: 0;
    color: var(--jelonka-ink);
}

.subscription-summary__card ul {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--jelonka-ink-soft);
    line-height: 1.8;
}

.subscription-summary__card li {
    position: relative;
    padding-left: 1.5rem;
}

.subscription-summary__card li + li {
    margin-top: 0.45rem;
}

.subscription-summary__card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    background: var(--jelonka-accent);
}

.subscription-pricing {
    background:
        radial-gradient(circle at top right, rgba(20, 97, 162, 0.08), transparent 24%),
        radial-gradient(circle at bottom left, rgba(190, 86, 0, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 251, 0.98) 100%);
}

.subscription-pricing__header {
    max-width: 44rem;
}

.subscription-pricing__header p {
    margin: 0.85rem 0 0;
    color: var(--jelonka-ink-soft);
    line-height: 1.7;
}

.subscription-tier-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.55rem;
}

.subscription-tier {
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 30px;
    min-height: 100%;
    border: 1px solid rgba(23, 33, 38, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.subscription-tier--local {
    background:
        radial-gradient(circle at top left, rgba(20, 97, 162, 0.16), transparent 0 25%),
        linear-gradient(180deg, rgba(203, 220, 245, 0.82) 0%, rgba(224, 236, 252, 0.76) 100%);
}

.subscription-tier--full {
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.17), transparent 0 24%),
        linear-gradient(180deg, rgba(244, 213, 191, 0.88) 0%, rgba(248, 228, 214, 0.78) 100%);
}

.subscription-tier__header {
    padding: 1rem 1rem 0.35rem;
}

.subscription-tier__accent {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.subscription-tier h3 {
    margin: 0.85rem 0 0;
    font-size: clamp(2.05rem, 3vw, 2.85rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.subscription-tier__headline {
    margin: 0.7rem 0 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--jelonka-ink);
}

.subscription-tier__description {
    margin: 0.5rem 0 0;
    color: rgba(27, 39, 64, 0.78);
    line-height: 1.65;
}

.subscription-tier__benefits {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0 1rem;
    list-style: none;
}

.subscription-tier__benefits li {
    position: relative;
    padding-left: 1.5rem;
    color: rgba(27, 39, 64, 0.82);
    line-height: 1.55;
}

.subscription-tier__benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--jelonka-brand-strong);
}

.subscription-tier--full .subscription-tier__benefits li::before {
    background: var(--jelonka-accent);
}

.subscription-tier__plans {
    display: grid;
    gap: 0.95rem;
}

.subscription-plan-card {
    display: grid;
    gap: 0.55rem;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 20px 34px rgba(27, 39, 64, 0.08);
    backdrop-filter: blur(8px);
}

.subscription-plan-card.is-featured {
    border-color: rgba(190, 86, 0, 0.22);
    box-shadow: 0 26px 38px rgba(190, 86, 0, 0.12);
    transform: translateY(-0.1rem);
}

.subscription-plan-card__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    justify-content: space-between;
}

.subscription-plan-card__badge,
.subscription-plan-card__flag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.subscription-tier--local .subscription-plan-card__badge {
    background: rgba(20, 97, 162, 0.12);
    color: var(--jelonka-brand-strong);
}

.subscription-tier--full .subscription-plan-card__badge {
    background: rgba(190, 86, 0, 0.12);
    color: #984300;
}

.subscription-plan-card__flag {
    background: rgba(190, 86, 0, 0.12);
    color: #984300;
}

.subscription-plan-card h4 {
    margin: 0.15rem 0 0;
    font-size: 1.75rem;
    line-height: 1.05;
    color: var(--jelonka-ink);
}

.subscription-plan-card__price {
    margin: 0.2rem 0 0;
    font-size: clamp(2.05rem, 3vw, 2.8rem);
    font-weight: 900;
    line-height: 0.98;
    color: var(--jelonka-ink);
}

.subscription-plan-card__monthly,
.subscription-plan-card__extra {
    margin: 0;
    color: var(--jelonka-ink-soft);
    line-height: 1.55;
}

.subscription-plan-card__scope {
    margin: 0.2rem 0 0;
    font-weight: 700;
    line-height: 1.55;
    color: var(--jelonka-ink);
}

.subscription-plan-card__note {
    margin: 0.1rem 0 0;
    padding: 0.8rem 0.9rem;
    border-radius: 18px;
    background: rgba(27, 39, 64, 0.05);
    color: rgba(27, 39, 64, 0.76);
    line-height: 1.55;
}

.subscription-plan-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.2rem;
    margin-top: 0.2rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    color: var(--jelonka-white);
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.subscription-tier--local .subscription-plan-card__button {
    background: linear-gradient(180deg, #1b57b4 0%, #154086 100%);
    box-shadow: 0 16px 28px rgba(21, 64, 134, 0.24);
}

.subscription-tier--full .subscription-plan-card__button {
    background: linear-gradient(180deg, #d06000 0%, #be5600 100%);
    box-shadow: 0 16px 28px rgba(190, 86, 0, 0.22);
}

.subscription-plan-card__button:hover,
.subscription-plan-card__button:focus {
    color: var(--jelonka-white);
    transform: translateY(-1px);
}

.subscription-pricing__footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(20, 97, 162, 0.12);
}

.subscription-pricing__vat,
.subscription-pricing__contact,
.subscription-pricing__login {
    margin: 0;
    color: var(--jelonka-ink-soft);
    line-height: 1.7;
}

.subscription-pricing__vat {
    font-weight: 700;
    color: var(--jelonka-ink);
}

.subscription-pricing__contact a,
.subscription-pricing__login a {
    font-weight: 800;
    color: var(--jelonka-brand-strong);
    text-decoration: none;
}

.subscription-pricing__contact a:hover,
.subscription-pricing__contact a:focus,
.subscription-pricing__login a:hover,
.subscription-pricing__login a:focus {
    color: var(--jelonka-accent);
    text-decoration: underline;
}

.classifieds-widget-section {
    width: 100%;
}

.classifieds-widget-section__inner {
    position: relative;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2.4rem);
    background:
        radial-gradient(circle at top right, rgba(20, 97, 162, 0.10), transparent 26%),
        radial-gradient(circle at bottom left, rgba(190, 86, 0, 0.10), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 250, 0.98) 100%);
}

.classifieds-widget-section__inner::after {
    content: "";
    position: absolute;
    inset: auto -8% -40% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 97, 162, 0.16) 0%, rgba(20, 97, 162, 0) 72%);
    pointer-events: none;
}

.classifieds-widget-section--featured .classifieds-widget-section__inner {
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.16), transparent 24%),
        radial-gradient(circle at bottom left, rgba(20, 97, 162, 0.10), transparent 24%),
        linear-gradient(180deg, rgba(255, 249, 243, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.classifieds-widget-section--pinned .classifieds-widget-section__inner {
    background:
        radial-gradient(circle at top right, rgba(21, 64, 134, 0.16), transparent 24%),
        radial-gradient(circle at bottom left, rgba(190, 86, 0, 0.10), transparent 24%),
        linear-gradient(180deg, rgba(244, 248, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.classifieds-widget-section__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.4rem;
}

.classifieds-widget-section__copy {
    max-width: 46rem;
}

.classifieds-widget-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: rgba(27, 39, 64, 0.08);
    color: var(--jelonka-brand-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.classifieds-widget-section__copy h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2.25rem);
    line-height: 1.05;
}

.classifieds-widget-section__copy p {
    margin: 0.7rem 0 0;
    color: var(--jelonka-ink-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.classifieds-widget-section__cta {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.classifieds-widget,
.classifieds-widget-section__empty {
    position: relative;
    z-index: 1;
}

.classifieds-widget-section__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.news-home-poll-widget {
    width: 100%;
}

.news-home-poll-widget__inner {
    position: relative;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2.2rem);
    background:
        radial-gradient(circle at top right, rgba(20, 97, 162, 0.12), transparent 26%),
        radial-gradient(circle at bottom left, rgba(190, 86, 0, 0.10), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 252, 0.98) 100%);
}

.news-home-poll-widget__inner::after {
    content: "";
    position: absolute;
    inset: auto -7% -36% auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 97, 162, 0.14) 0%, rgba(20, 97, 162, 0) 72%);
    pointer-events: none;
}

.news-home-poll-widget__header,
.news-home-poll-widget__body,
.news-home-poll-widget__empty {
    position: relative;
    z-index: 1;
}

.news-home-poll-widget__mascot {
    grid-area: mascot;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(4.75rem, 8vw, 6.25rem);
    text-decoration: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.news-home-poll-widget__mascot:hover,
.news-home-poll-widget__mascot:focus-visible {
    transform: translateY(-2px) scale(1.02);
    opacity: 0.96;
}

.news-home-poll-widget__mascot:focus-visible {
    outline: 3px solid rgba(20, 97, 162, 0.22);
    outline-offset: 4px;
    border-radius: 18px;
}

.news-home-poll-widget__mascot img {
    display: block;
    width: 100%;
    height: auto;
}

.news-home-poll-widget__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "eyebrow mascot"
        "copy mascot";
    align-items: start;
    gap: 0.9rem 1.5rem;
    margin-bottom: 1.35rem;
}

.news-home-poll-widget__copy {
    grid-area: copy;
    display: grid;
    align-content: start;
    max-width: 46rem;
}

.news-home-poll-widget__eyebrow {
    grid-area: eyebrow;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: rgba(27, 39, 64, 0.08);
    color: var(--jelonka-brand-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-home-poll-widget__copy h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    line-height: 1.05;
}

.news-home-poll-widget__copy p {
    margin: 0.7rem 0 0;
    color: var(--jelonka-ink-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.news-home-poll-widget__cta {
    justify-self: start;
    margin-top: 1rem;
}

.news-home-poll-widget__body .news-poll-card {
    max-width: 76rem;
    margin: 0 auto;
}

.news-home-poll-widget__body {
    container-type: inline-size;
}

.news-home-poll-widget__body .news-poll-options {
    grid-template-columns: 1fr;
}

.news-home-poll-widget__body .news-poll-option,
.news-home-poll-widget__body .news-poll-option button {
    height: 100%;
}

.news-home-poll-widget__body .news-poll-option__content {
    min-height: 100%;
}

.news-home-poll-widget__body .news-poll-option__body {
    align-self: stretch;
    grid-template-rows: minmax(0, 1fr) auto;
}

.news-home-poll-widget__body .news-poll-card__copy h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
}

.news-home-poll-widget__body .news-poll-card__article-link {
    grid-template-columns: 8rem minmax(0, 1fr);
}

.news-home-poll-widget__body .news-poll-card__article-media {
    min-height: 6.2rem;
}

@container (min-width: 38rem) {
    .news-home-poll-widget__body .news-poll-options {
        grid-template-columns: 1fr;
    }
}

@container (min-width: 54rem) {
    .news-home-poll-widget__body .news-poll-options {
        grid-template-columns: 1fr;
    }
}

@container (min-width: 70rem) {
    .news-home-poll-widget__body .news-poll-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.20), transparent 24%),
        linear-gradient(135deg, rgba(21, 64, 134, 0.98) 0%, rgba(20, 97, 162, 0.98) 56%, rgba(190, 86, 0, 0.90) 100%);
    color: var(--jelonka-white);
}

.home-hero__grid,
.home-story,
.home-cta {
    display: grid;
    gap: 2rem;
}

.home-hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr);
    align-items: center;
}

.home-hero__copy,
.home-hero__aside,
.home-story__copy,
.home-story__facts,
.home-cta__copy,
.home-cta__card {
    padding: 2.75rem;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3.6vw, 3.3rem);
    line-height: 1.08;
}

.home-hero p,
.home-hero li,
.home-hero h2,
.home-hero h3 {
    color: inherit;
}

.home-lead {
    max-width: 58ch;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.home-actions .btn-light,
.home-actions .btn-light:visited {
    color: var(--jelonka-brand-strong);
}

.home-actions .btn-outline-light,
.home-actions .btn-outline-light:visited {
    color: var(--jelonka-white);
}

.home-hero__aside {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.home-note {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.10);
}

.home-note strong {
    display: block;
    margin-bottom: 0.25rem;
}

.home-section {
    padding: 2.5rem;
}

.home-section__header {
    max-width: 56ch;
    margin-bottom: 1.75rem;
}

.home-section__eyebrow {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--jelonka-brand);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-section__header h2 {
    margin-bottom: 0.75rem;
}

.home-section__header p,
.home-story__copy p,
.home-story__facts p {
    color: var(--jelonka-ink-soft);
}

.home-card-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-card {
    height: 100%;
    padding: 1.85rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 250, 0.98) 100%);
}

.home-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: rgba(20, 97, 162, 0.10);
    color: var(--jelonka-brand);
    font-size: 1.2rem;
}

.home-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
}

.home-card p {
    margin-bottom: 0;
    color: var(--jelonka-ink-soft);
}

.home-story {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr);
}

.home-story__facts {
    border-left: 1px solid rgba(23, 33, 38, 0.08);
    background: linear-gradient(180deg, rgba(243, 246, 250, 0.95) 0%, rgba(230, 237, 247, 0.88) 100%);
}

.home-stat {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(23, 33, 38, 0.08);
}

.home-stat:last-child {
    border-bottom: 0;
}

.home-stat strong {
    display: block;
    margin-bottom: 0.1rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--jelonka-brand-strong);
}

.home-process {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-process__item {
    padding: 1.7rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 33, 38, 0.08);
}

.home-process__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.8rem;
    border-radius: 999px;
    background: var(--jelonka-brand);
    color: var(--jelonka-white);
    font-weight: 700;
}

section.home-cta.home-surface {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

section.home-cta.home-surface > .row.home-cta {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: stretch;
    gap: 0;
    margin: 0;
    border: 1px solid rgba(20, 97, 162, 0.10);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--jelonka-shadow);
    background: linear-gradient(135deg, rgba(21, 64, 134, 0.98) 0%, rgba(20, 97, 162, 0.96) 100%);
    color: var(--jelonka-white);
}

.home-cta h2,
.home-cta p,
.home-cta li {
    color: inherit;
}

section.home-cta.home-surface > .row.home-cta > [class*="col"] {
    min-width: 0;
}

.home-cta__card {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(10px);
}

.home-cta__list {
    margin: 0;
    padding-left: 1.2rem;
}

.home-muted {
    color: var(--jelonka-ink-soft);
}

@media (min-width: 1400px) {
    .home-card-grid,
    .home-process {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hero-band,
.section-band {
    padding: 5rem 0;
}

.section-band--alt {
    background: rgba(255, 255, 255, 0.66);
    border-top: 1px solid rgba(23, 33, 38, 0.06);
    border-bottom: 1px solid rgba(23, 33, 38, 0.06);
}

.section-band--cta {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.hero-grid,
.split-band {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    align-items: stretch;
}

.split-band {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
}

.hero-copy,
.hero-panel,
.section-copy,
.split-band__main,
.split-band__side,
.cta-shell {
    background: var(--jelonka-white);
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 28px;
    box-shadow: var(--jelonka-shadow);
    padding: 2rem;
}

.hero-copy {
    background:
        linear-gradient(135deg, rgba(21, 64, 134, 0.96) 0%, rgba(20, 97, 162, 0.96) 58%, rgba(190, 86, 0, 0.92) 100%);
    color: var(--jelonka-white);
}

.hero-copy h1,
.hero-copy h2,
.hero-copy h3,
.hero-copy p,
.hero-copy li {
    color: inherit;
}

.hero-copy a {
    color: var(--jelonka-white);
}

.hero-copy .btn-light,
.hero-copy .btn-light:visited {
    color: var(--jelonka-brand-strong);
}

.hero-copy .btn-outline-light,
.hero-copy .btn-outline-light:visited {
    color: var(--jelonka-white);
}

.hero-panel {
    background: linear-gradient(180deg, var(--jelonka-paper) 0%, var(--jelonka-paper-strong) 100%);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-heading__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.10);
    color: var(--jelonka-brand);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 0.75rem;
}

.section-heading p,
.site-footer__copy {
    color: var(--jelonka-ink-soft);
}

.feature-grid > * {
    margin-bottom: 1.25rem;
}

.feature-grid .card,
.split-band .card,
.hero-panel .card {
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(23, 33, 38, 0.06);
}

.btn-primary {
    border-color: var(--jelonka-brand);
    background-color: var(--jelonka-brand);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--jelonka-brand-strong);
    background-color: var(--jelonka-brand-strong);
}

.btn-primary {
    box-shadow: 0 10px 22px rgba(20, 97, 162, 0.18);
}

.btn-outline-primary {
    border-color: rgba(20, 97, 162, 0.35);
    color: var(--jelonka-brand);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    border-color: var(--jelonka-brand);
    background: var(--jelonka-brand);
    color: var(--jelonka-white);
}

.site-footer {
    padding: 2.5rem 0 3rem;
    border-top: 1px solid rgba(23, 33, 38, 0.08);
    background: rgba(255, 255, 255, 0.7);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
}

.site-footer__brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}

.site-footer__nav a {
    color: var(--jelonka-brand-strong);
    font-weight: 600;
    text-decoration: none;
}

.site-footer__button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--jelonka-brand-strong);
    font-weight: 600;
    text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus,
.site-footer__button:hover,
.site-footer__button:focus {
    color: var(--jelonka-accent);
    text-decoration: underline;
}

.site-footer__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    color: var(--jelonka-ink-soft);
}

.site-footer__contact a {
    color: var(--jelonka-brand-strong);
    font-weight: 600;
    text-decoration: none;
}

.site-footer__contact a:hover,
.site-footer__contact a:focus {
    color: var(--jelonka-accent);
    text-decoration: underline;
}

.site-footer__content > *:last-child {
    margin-bottom: 0;
}

body.cookie-consent-open {
    overflow: hidden;
}

.cookie-consent__banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    padding: 1rem;
}

.cookie-consent__banner-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 1.5rem;
    align-items: center;
    padding: 1.2rem 4rem 1.2rem 1.25rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.12), transparent 25%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 250, 0.98) 100%);
    box-shadow: 0 24px 60px rgba(23, 33, 38, 0.18);
}

.cookie-consent__copy h2 {
    margin: 0;
    font-size: 1.35rem;
}

.cookie-consent__copy p {
    margin: 0.55rem 0 0;
    color: var(--jelonka-ink-soft);
    line-height: 1.6;
}

.cookie-consent__copy a {
    font-weight: 700;
}

.cookie-consent__eyebrow {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.10);
    color: var(--jelonka-brand-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.cookie-consent__dismiss {
    position: absolute;
    top: 0.85rem;
    right: 0.95rem;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(27, 39, 64, 0.08);
    color: var(--jelonka-ink);
    font-size: 1.5rem;
    line-height: 1;
}

.cookie-consent__modal {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.cookie-consent__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 20, 35, 0.58);
}

.cookie-consent__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 1.35rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 28px;
    background: var(--jelonka-white);
    box-shadow: 0 30px 80px rgba(11, 20, 35, 0.28);
}

.cookie-consent__dialog-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-consent__dialog-head h2 {
    margin: 0;
}

.cookie-consent__lead {
    margin: 1rem 0 0;
    color: var(--jelonka-ink-soft);
}

.cookie-consent__cards {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.cookie-consent__card {
    padding: 1rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 20px;
    background: rgba(243, 246, 250, 0.72);
}

.cookie-consent__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-consent__card h3 {
    margin: 0;
    font-size: 1rem;
}

.cookie-consent__card p {
    margin: 0.35rem 0 0;
    color: var(--jelonka-ink-soft);
}

.cookie-consent__status {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.10);
    color: var(--jelonka-brand-strong);
    font-weight: 700;
    white-space: nowrap;
}

.cookie-consent__toggle {
    position: relative;
    flex-shrink: 0;
}

.cookie-consent__toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cookie-consent__toggle span {
    position: relative;
    display: block;
    width: 3.3rem;
    height: 1.9rem;
    border-radius: 999px;
    background: rgba(27, 39, 64, 0.18);
    transition: background-color 160ms ease;
}

.cookie-consent__toggle span::after {
    content: "";
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--jelonka-white);
    box-shadow: 0 8px 18px rgba(23, 33, 38, 0.18);
    transition: transform 160ms ease;
}

.cookie-consent__toggle input:checked + span {
    background: var(--jelonka-brand);
}

.cookie-consent__toggle input:checked + span::after {
    transform: translateX(1.4rem);
}

.cookie-consent__dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.cookie-consent__floating-button[hidden] {
    display: none !important;
}

.cookie-consent__floating-button {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1190;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    padding: 0;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 36px rgba(23, 33, 38, 0.14);
    color: var(--jelonka-ink);
}

.cookie-consent__floating-button:hover,
.cookie-consent__floating-button:focus {
    color: var(--jelonka-brand-strong);
    border-color: rgba(20, 97, 162, 0.24);
    box-shadow: 0 22px 40px rgba(20, 97, 162, 0.16);
}

.cookie-consent__floating-button svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.scroll-to-top {
    position: fixed;
    right: 1rem;
    bottom: 4.85rem;
    bottom: max(4.85rem, calc(4.85rem + env(safe-area-inset-bottom)));
    z-index: 1185;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    padding: 0;
    border: 1px solid rgba(20, 97, 162, 0.18);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20, 97, 162, 0.96) 0%, rgba(13, 74, 131, 0.98) 100%);
    box-shadow: 0 18px 36px rgba(12, 65, 113, 0.24);
    color: var(--jelonka-white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem) scale(0.92);
    transition:
        opacity 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.shortfeed-launcher {
    position: fixed;
    right: 1rem;
    right: max(1rem, env(safe-area-inset-right));
    bottom: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1201;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6a16 0%, #d33c00 100%);
    box-shadow: 0 0.75rem 1.8rem rgba(216, 74, 8, 0.28);
    color: #fff;
    text-decoration: none;
    transition:
        opacity 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
}

.shortfeed-launcher:hover,
.shortfeed-launcher:focus-visible {
    color: #fff;
    filter: saturate(1.06);
    box-shadow: 0 1rem 2.2rem rgba(216, 74, 8, 0.34);
    transform: translateY(-2px) scale(1.03);
}

.shortfeed-launcher__mark {
    position: relative;
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
}

.shortfeed-launcher__mark::before {
    content: "";
    position: absolute;
    inset: 0.08rem;
    border: 2px solid currentColor;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.shortfeed-launcher__mark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 0.25rem solid transparent;
    border-bottom: 0.25rem solid transparent;
    border-left: 0.38rem solid currentColor;
    transform: translate(-34%, -50%);
}

body.cookie-consent-banner-visible .shortfeed-launcher {
    bottom: 7.25rem;
    bottom: max(7.25rem, calc(1rem + env(safe-area-inset-bottom)));
}

.scroll-to-top[data-visible="1"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
    box-shadow: 0 22px 44px rgba(12, 65, 113, 0.3);
    color: var(--jelonka-white);
    transform: translateY(-2px) scale(1);
}

.scroll-to-top svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

body.cookie-consent-banner-visible .scroll-to-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem) scale(0.92);
}

@media (max-width: 991.98px) {
    .hero-grid,
    .split-band,
    .site-footer__inner,
    .home-hero__grid,
    .home-story,
    .home-cta,
    .home-card-grid,
    .home-process {
        grid-template-columns: 1fr;
    }

    .hero-band,
    .section-band {
        padding: 3.5rem 0;
    }

    .home-page {
        padding: 1rem 0 3rem;
    }

    .home-page > .container {
        max-width: calc(100vw - 1rem);
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }

    .home-hero__copy,
    .home-hero__aside,
    .home-story__copy,
    .home-story__facts,
    .home-cta__copy,
    .home-cta__card,
    .home-section {
        padding: 1.5rem;
    }

    .home-hero__aside,
    .home-story__facts,
    .home-cta__card {
        border-left: 0;
        border-top: 1px solid rgba(23, 33, 38, 0.08);
    }

    section.home-cta.home-surface > .row.home-cta {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    section.home-cta.home-surface > .row.home-cta .home-cta__copy,
    section.home-cta.home-surface > .row.home-cta .home-cta__card {
        padding: 1.4rem 1.25rem;
    }

    section.home-cta.home-surface > .row.home-cta .home-kicker {
        margin-bottom: 0.85rem;
        font-size: 0.72rem;
        line-height: 1.35;
        white-space: normal;
    }

    section.home-cta.home-surface > .row.home-cta h2 {
        margin-bottom: 0.75rem;
        font-size: 1.55rem;
        line-height: 1.16;
    }

    section.home-cta.home-surface > .row.home-cta .home-lead {
        max-width: none;
        margin-bottom: 1.1rem;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    section.home-cta.home-surface > .row.home-cta .home-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    section.home-cta.home-surface > .row.home-cta .home-actions .btn {
        width: 100%;
    }

    section.home-cta.home-surface > .row.home-cta .home-cta__card {
        border-top-color: rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.10);
    }

    section.home-cta.home-surface > .row.home-cta .home-cta__card h3 {
        margin-bottom: 0.85rem;
        font-size: 1.05rem;
    }

    section.home-cta.home-surface > .row.home-cta .home-cta__list {
        padding-left: 1.1rem;
    }

    section.home-cta.home-surface > .row.home-cta .home-cta__list li + li {
        margin-top: 0.35rem;
    }

    .classifieds-widget-section__header {
        align-items: start;
        flex-direction: column;
    }

    .classifieds-widget-section__cta {
        width: 100%;
    }

    .classifieds-widget-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cookie-consent__banner-inner,
    .cookie-consent__card-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .cookie-consent__banner-inner {
        padding-right: 3.5rem;
    }

    .cookie-consent__actions {
        justify-content: flex-start;
    }
}

.classifieds-page {
    padding: 0 0 4rem;
}

.cms-content-page {
    padding: 2rem 0 4rem;
}

.cms-content-page__inner {
    display: grid;
    gap: 1rem;
    max-width: min(1040px, calc(100vw - 2rem));
}

.classifieds-shell {
    max-width: min(1580px, calc(100vw - 2rem));
    padding-right: clamp(1rem, 2vw, 1.75rem);
    padding-left: clamp(1rem, 2vw, 1.75rem);
}

.classifieds-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 2.5rem 2.75rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.24), transparent 24%),
        linear-gradient(135deg, rgba(21, 64, 134, 0.98) 0%, rgba(20, 97, 162, 0.98) 56%, rgba(190, 86, 0, 0.90) 100%);
    color: var(--jelonka-white);
    box-shadow: var(--jelonka-shadow);
}

.classifieds-kicker {
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.classifieds-hero h1 {
    margin-bottom: 0.9rem;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 0.98;
    color: inherit;
}

.classifieds-lead {
    max-width: 58ch;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.92);
}

.classifieds-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.classifieds-hero__actions .btn-light,
.classifieds-hero__actions .btn-light:visited {
    color: var(--jelonka-brand-strong);
}

.classifieds-hero__actions .btn-outline-light,
.classifieds-hero__actions .btn-outline-light:visited {
    border-color: rgba(24, 34, 47, 0.16);
    color: var(--jelonka-ink);
}

.classifieds-hero__actions .btn-outline-light:hover,
.classifieds-hero__actions .btn-outline-light:focus {
    border-color: var(--jelonka-brand-strong);
    background: rgba(20, 97, 162, 0.08);
    color: var(--jelonka-brand-strong);
}

.classifieds-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.classifieds-layout--wide {
    grid-template-columns: minmax(0, 1fr);
}

.classifieds-layout--sidebar-hidden {
    grid-template-columns: minmax(0, 1fr);
}

.classifieds-sidebar {
    position: static;
    display: grid;
    gap: 1rem;
}

.classifieds-sidebar__section {
    display: grid;
    gap: 1rem;
}

.classifieds-sidebar--desktop {
    position: sticky;
    top: 1rem;
}

@media (min-width: 992px) {
    .classifieds-sidebar--desktop {
        direction: rtl;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
        scrollbar-width: thin;
        scrollbar-color: rgba(21, 64, 134, 0.34) transparent;
    }

    .classifieds-sidebar--desktop > * {
        direction: ltr;
    }

    .classifieds-sidebar--desktop .classifieds-sidebar__section--publishing,
    .classifieds-sidebar--desktop .classifieds-sidebar__section--account {
        display: none;
    }

    .classifieds-sidebar--desktop::-webkit-scrollbar {
        width: 0.78rem;
    }

    .classifieds-sidebar--desktop::-webkit-scrollbar-track {
        background: transparent;
    }

    .classifieds-sidebar--desktop::-webkit-scrollbar-thumb {
        min-height: 3rem;
        border: 3px solid transparent;
        border-radius: 999px;
        background: rgba(21, 64, 134, 0.26);
        background-clip: content-box;
    }

    .classifieds-sidebar--desktop:hover::-webkit-scrollbar-thumb {
        background: rgba(21, 64, 134, 0.38);
        background-clip: content-box;
    }

    .classifieds-layout--sidebar-hidden .classifieds-sidebar--desktop {
        display: none;
    }

    .classifieds-layout--wide .classifieds-grid,
    .classifieds-layout--sidebar-hidden .classifieds-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.classifieds-mobile-categories,
.classifieds-sidebar--mobile-secondary {
    display: none;
}

.classifieds-sidebar--mobile-categories .classifieds-sidebar__section--publishing,
.classifieds-sidebar--mobile-categories .classifieds-sidebar__section--account,
.classifieds-sidebar--mobile-secondary .classifieds-sidebar__section--categories {
    display: none;
}

.classifieds-content,
.classifieds-sidebar {
    min-width: 0;
}

.classifieds-content--wide {
    max-width: 100%;
}

.classifieds-panel {
    padding: 1.5rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(23, 33, 38, 0.06);
}

.classifieds-panel--soft {
    background: linear-gradient(180deg, rgba(243, 246, 250, 0.95) 0%, rgba(230, 237, 247, 0.88) 100%);
}

.classifieds-panel--success {
    background: linear-gradient(180deg, rgba(240, 248, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.classifieds-panel h2,
.classifieds-panel h3,
.classifieds-panel h4 {
    color: var(--jelonka-ink);
}

.classifieds-rich-layout {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 300px);
    gap: 1.15rem;
    align-items: start;
}

.classifieds-rich-layout__rail {
    display: grid;
    gap: 1rem;
    align-content: start;
    position: sticky;
    top: 1rem;
}

.classifieds-rich-layout__main {
    min-width: 0;
}

body.classifieds-mobile-categories-open {
    overflow: hidden;
}

body.classifieds-category-browser-open {
    overflow: hidden;
}

.classifieds-mobile-categories {
    margin-bottom: 1rem;
}

.classifieds-mobile-categories__toggle {
    position: sticky;
    top: 0.75rem;
    z-index: 14;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(23, 33, 38, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 36px rgba(23, 33, 38, 0.08);
    color: var(--jelonka-ink);
    text-align: left;
}

.classifieds-mobile-categories__copy {
    display: grid;
    gap: 0.16rem;
}

.classifieds-mobile-categories__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jelonka-brand-strong);
}

.classifieds-mobile-categories__current {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--jelonka-ink);
}

.classifieds-mobile-categories__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--jelonka-brand) 0%, var(--jelonka-brand-strong) 100%);
    color: var(--jelonka-white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.classifieds-mobile-categories__drawer[hidden] {
    display: none;
}

.classifieds-mobile-categories__drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.classifieds-mobile-categories__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 20, 31, 0.48);
}

.classifieds-mobile-categories__panel {
    position: absolute;
    inset: max(0.75rem, env(safe-area-inset-top)) 0.75rem 0.75rem;
    display: grid;
    gap: 1rem;
    align-content: start;
    overflow-y: auto;
    padding: 1rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(252, 253, 255, 0.98) 0%, rgba(240, 244, 249, 0.98) 100%);
    box-shadow: 0 28px 54px rgba(10, 16, 24, 0.22);
}

.classifieds-mobile-categories__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.classifieds-mobile-categories__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jelonka-brand-strong);
}

.classifieds-mobile-categories__header h2 {
    margin: 0;
}

.classifieds-mobile-categories__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--jelonka-ink);
    font-weight: 700;
    white-space: nowrap;
}

.classifieds-sidebar--mobile-categories {
    display: grid;
    gap: 1rem;
}

.classifieds-sidebar--mobile-categories .classifieds-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.classifieds-category-list,
.classifieds-category-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.classifieds-category-list > li + li {
    margin-top: 0.85rem;
}

.classifieds-category-list ul {
    margin-top: 0.45rem;
    padding-left: 0.75rem;
}

.classifieds-category-list a {
    display: inline-flex;
    padding: 0.2rem 0;
    color: var(--jelonka-ink-soft);
    text-decoration: none;
}

.classifieds-category-list a:hover,
.classifieds-category-list a.is-active {
    color: var(--jelonka-brand-strong);
    font-weight: 700;
}

.classifieds-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.classifieds-filters label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--jelonka-ink);
}

.classifieds-filters input:not([type="checkbox"]):not([type="radio"]),
.classifieds-filters select,
.classifieds-form input:not([type="checkbox"]):not([type="radio"]),
.classifieds-form select,
.classifieds-form textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(23, 33, 38, 0.14);
    border-radius: 16px;
    background: var(--jelonka-white);
    color: var(--jelonka-ink);
}

.classifieds-filters select,
.classifieds-form select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(21, 64, 134, 0.82) 50%),
        linear-gradient(135deg, rgba(21, 64, 134, 0.82) 50%, transparent 50%);
    background-position:
        calc(100% - 1.15rem) calc(50% - 0.12rem),
        calc(100% - 0.82rem) calc(50% - 0.12rem);
    background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
    background-repeat: no-repeat;
    padding-right: 2.8rem;
}

.classifieds-filters input:not([type="checkbox"]):not([type="radio"]):focus,
.classifieds-filters select:focus,
.classifieds-form input:not([type="checkbox"]):not([type="radio"]):focus,
.classifieds-form select:focus,
.classifieds-form textarea:focus,
.form-control:focus,
.form-select:focus,
.btn:focus {
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(20, 97, 162, 0.16);
}

.classifieds-filters__check {
    display: flex;
    align-items: end;
    min-height: 0;
}

.classifieds-filters__check label {
    margin: 0;
}

.classifieds-filter-toggle {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.classifieds-filter-toggle__input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.classifieds-filter-toggle__control {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    height: 3rem;
    padding: 0 0.9rem;
    border: 1px solid rgba(23, 33, 38, 0.14);
    border-radius: 16px;
    background: var(--jelonka-white);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.classifieds-filter-toggle__box {
    position: relative;
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    border: 2px solid rgba(20, 97, 162, 0.36);
    border-radius: 0.38rem;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.classifieds-filter-toggle__box::after {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 0.08rem;
    width: 0.4rem;
    height: 0.75rem;
    border: solid #fff;
    border-width: 0 0.15rem 0.15rem 0;
    opacity: 0;
    transform: rotate(45deg) scale(0.7);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.classifieds-filter-toggle__text {
    display: flex;
    align-items: center;
    min-height: 1.35rem;
    color: var(--jelonka-ink);
    font-weight: 500;
    line-height: 1;
}

.classifieds-filter-toggle:hover .classifieds-filter-toggle__control {
    border-color: rgba(20, 97, 162, 0.3);
}

.classifieds-filter-toggle__input:focus-visible + .classifieds-filter-toggle__control {
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(20, 97, 162, 0.16);
}

.classifieds-filter-toggle__input:checked + .classifieds-filter-toggle__control .classifieds-filter-toggle__box {
    border-color: var(--jelonka-brand);
    background: var(--jelonka-brand);
    box-shadow: 0 0 0 0.24rem rgba(20, 97, 162, 0.14);
}

.classifieds-filter-toggle__input:checked + .classifieds-filter-toggle__control .classifieds-filter-toggle__box::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.classifieds-choice-field {
    margin: 0;
    padding: 0;
    border: 0;
}

.classifieds-choice-field legend {
    margin-bottom: 0.55rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--jelonka-ink);
}

.classifieds-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.classifieds-choice-card {
    position: relative;
    display: flex;
    min-height: 4.6rem;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 250, 0.96) 100%);
    box-shadow: 0 14px 28px rgba(23, 33, 38, 0.04);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.classifieds-choice-card:hover {
    border-color: rgba(20, 97, 162, 0.3);
    box-shadow: 0 18px 36px rgba(20, 97, 162, 0.10);
    transform: translateY(-1px);
}

.classifieds-choice-card input[type="radio"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.classifieds-choice-card__marker {
    position: relative;
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    border: 2px solid rgba(20, 97, 162, 0.42);
    border-radius: 999px;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.classifieds-choice-card__marker::after {
    content: "";
    position: absolute;
    inset: 0.22rem;
    border-radius: 999px;
    background: var(--jelonka-brand);
    transform: scale(0);
    transition: transform 0.18s ease;
}

.classifieds-choice-card__body {
    display: grid;
    gap: 0.2rem;
}

.classifieds-choice-card__title {
    font-weight: 700;
    color: var(--jelonka-ink);
}

.classifieds-choice-card input[type="radio"]:checked + .classifieds-choice-card__marker {
    border-color: var(--jelonka-brand);
    box-shadow: 0 0 0 0.3rem rgba(20, 97, 162, 0.12);
}

.classifieds-choice-card input[type="radio"]:checked + .classifieds-choice-card__marker::after {
    transform: scale(1);
}

.classifieds-choice-card:has(input[type="radio"]:checked) {
    border-color: rgba(20, 97, 162, 0.55);
    background: linear-gradient(180deg, rgba(240, 246, 255, 0.98) 0%, rgba(230, 237, 247, 0.94) 100%);
    box-shadow: 0 20px 38px rgba(20, 97, 162, 0.13);
}

.classifieds-choice-card:has(input[type="radio"]:focus-visible) {
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(20, 97, 162, 0.16);
}

.classifieds-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    cursor: pointer;
}

.classifieds-check--compact {
    display: inline-flex;
    align-items: center;
    width: 100%;
    height: 3rem;
    padding: 0 0.9rem;
    border: 1px solid rgba(23, 33, 38, 0.14);
    border-radius: 16px;
    background: var(--jelonka-white);
    box-sizing: border-box;
}

.classifieds-check input[type="checkbox"] {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.classifieds-check__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 0 0 1.35rem;
    width: 1.35rem;
    min-width: 1.35rem;
    height: 1.35rem;
    min-height: 1.35rem;
    margin-top: 0;
    border: 2px solid rgba(20, 97, 162, 0.36);
    border-radius: 0.38rem;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.classifieds-check--compact .classifieds-check__box {
    margin-top: 0;
}

.classifieds-check__box::after {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 0.08rem;
    width: 0.4rem;
    height: 0.75rem;
    border: solid #fff;
    border-width: 0 0.15rem 0.15rem 0;
    opacity: 0;
    transform: rotate(45deg) scale(0.7);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.classifieds-check__label {
    display: inline-flex;
    align-items: center;
    align-self: center;
    flex: 1 1 auto;
    min-height: 1.35rem;
    color: var(--jelonka-ink);
    font-weight: 500;
    line-height: 1.1;
}

.classifieds-check--compact .classifieds-check__label {
    min-height: 0;
}

.classifieds-check__box,
.classifieds-check__label {
    pointer-events: none;
}

.classifieds-check input[type="checkbox"]:checked + .classifieds-check__box {
    border-color: var(--jelonka-brand);
    background: var(--jelonka-brand);
    box-shadow: 0 0 0 0.24rem rgba(20, 97, 162, 0.14);
}

.classifieds-check input[type="checkbox"]:checked + .classifieds-check__box::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.classifieds-check:has(input[type="checkbox"]:focus-visible) .classifieds-check__box {
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(20, 97, 162, 0.16);
}

.classifieds-check:hover .classifieds-check__box {
    transform: translateY(-1px);
}

.classifieds-filters__actions,
.classifieds-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: end;
}

.classifieds-list-toolbar {
    display: grid;
    grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin: 0 0 1rem;
}

.classifieds-category-panel,
.classifieds-filters-panel {
    min-width: 0;
}

.classifieds-category-panel {
    display: grid;
    gap: 0.95rem;
    padding: 1.15rem;
    background:
        radial-gradient(circle at top left, rgba(20, 97, 162, 0.12), transparent 52%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.94) 100%);
}

.classifieds-category-panel__intro {
    display: grid;
    gap: 0.35rem;
}

.classifieds-category-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 1.55rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.09);
    color: var(--jelonka-brand-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.classifieds-category-panel__title {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.15;
    color: var(--jelonka-ink);
}

.classifieds-category-panel__copy {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.94rem;
    line-height: 1.45;
}

.classifieds-category-panel .classifieds-results-head__category-trigger {
    min-width: 0;
    width: 100%;
    margin-top: 0.05rem;
}

.classifieds-results-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 1.25rem 0 1rem;
}

.classifieds-results-head__summary {
    flex: 1 1 14rem;
    min-width: 0;
    display: grid;
    gap: 0.65rem;
}

.classifieds-results-head__count {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.classifieds-results-head__lead {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    flex: 1 1 24rem;
    min-width: 0;
}

.classifieds-results-head__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.classifieds-results-head__category-trigger {
    position: relative;
    display: grid;
    min-width: min(100%, 15.5rem);
    gap: 0.18rem;
    padding: 0.9rem 4.35rem 0.95rem 1.05rem;
    border: 1px solid rgba(20, 97, 162, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(20, 97, 162, 0.12) 0%, rgba(255, 255, 255, 0.98) 52%, rgba(190, 86, 0, 0.08) 100%);
    box-shadow: 0 16px 34px rgba(20, 97, 162, 0.09);
    color: var(--jelonka-ink);
    text-align: left;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.classifieds-results-head__category-trigger::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.34rem;
    background: linear-gradient(180deg, var(--jelonka-brand-strong) 0%, rgba(190, 86, 0, 0.9) 100%);
}

.classifieds-results-head__category-trigger::after {
    content: "›";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    box-sizing: border-box;
    padding-bottom: 0.12rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20, 97, 162, 0.16) 0%, rgba(20, 97, 162, 0.08) 100%);
    color: var(--jelonka-brand-strong);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    margin: auto 0;
}

.classifieds-results-head__category-trigger:hover {
    border-color: rgba(20, 97, 162, 0.38);
    background:
        linear-gradient(135deg, rgba(20, 97, 162, 0.16) 0%, rgba(255, 255, 255, 0.99) 50%, rgba(190, 86, 0, 0.11) 100%);
    box-shadow: 0 22px 42px rgba(20, 97, 162, 0.14);
    transform: translateY(-2px);
}

.classifieds-results-head__category-trigger:focus-visible {
    outline: 0;
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(20, 97, 162, 0.16);
}

.classifieds-results-head__category-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jelonka-brand-strong);
}

.classifieds-results-head__category-current {
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.28;
    color: var(--jelonka-ink);
}

.classifieds-view-switch {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem;
    border: 1px solid rgba(23, 33, 38, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(23, 33, 38, 0.05);
}

.classifieds-view-switch__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.8rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    color: var(--jelonka-ink-soft);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.classifieds-view-switch__link:hover,
.classifieds-view-switch__link:focus {
    color: var(--jelonka-brand-strong);
}

.classifieds-view-switch__link.is-active {
    background: var(--jelonka-brand);
    color: var(--jelonka-white);
}

.classifieds-category-browser[hidden] {
    display: none !important;
}

.classifieds-category-browser {
    position: fixed;
    inset: 0;
    z-index: 1250;
}

.classifieds-category-browser__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 20, 31, 0.5);
}

.classifieds-category-browser__panel {
    position: absolute;
    inset: max(1rem, env(safe-area-inset-top)) 1rem 1rem;
    display: grid;
    gap: 1.1rem;
    align-content: start;
    max-width: 68rem;
    margin: 0 auto;
    overflow-y: auto;
    padding: 1.1rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(252, 253, 255, 0.99) 0%, rgba(238, 243, 250, 0.98) 100%);
    box-shadow: 0 32px 70px rgba(10, 16, 24, 0.24);
}

.classifieds-category-browser__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.classifieds-category-browser__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jelonka-brand-strong);
}

.classifieds-category-browser__header h2 {
    margin: 0;
}

.classifieds-category-browser__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--jelonka-ink);
    font-weight: 700;
    white-space: nowrap;
}

.classifieds-category-browser__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.classifieds-category-browser__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--jelonka-ink);
    font-weight: 700;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.classifieds-category-browser__action:hover {
    border-color: rgba(20, 97, 162, 0.3);
    box-shadow: 0 18px 36px rgba(20, 97, 162, 0.1);
    transform: translateY(-1px);
}

.classifieds-category-browser__action:focus-visible,
.classifieds-category-browser__close:focus-visible {
    outline: 0;
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(20, 97, 162, 0.16);
}

.classifieds-category-browser__action--primary {
    background: linear-gradient(135deg, var(--jelonka-brand) 0%, var(--jelonka-brand-strong) 100%);
    color: var(--jelonka-white);
    border-color: transparent;
}

.classifieds-category-browser__heading-current {
    display: block;
    margin-top: 0.16rem;
    color: var(--jelonka-brand-strong);
}

.classifieds-category-picker--browser {
    gap: 1.1rem;
}

.classifieds-infinite {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.classifieds-infinite__status,
.classifieds-infinite__end {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.9rem;
    text-align: center;
}

.classifieds-infinite__button[hidden],
.classifieds-infinite__status[hidden],
.classifieds-infinite__end[hidden],
.classifieds-infinite__sentinel[hidden] {
    display: none !important;
}

.classifieds-infinite__sentinel {
    width: 100%;
    height: 1px;
}

.classifieds-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.classifieds-list {
    display: grid;
    gap: 0.9rem;
}

.classifieds-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.classifieds-card {
    display: block;
    position: relative;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 32px rgba(23, 33, 38, 0.05);
}

.classifieds-card__link {
    display: flex;
    width: 100%;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.classifieds-card__link:hover,
.classifieds-card__link:focus-visible {
    color: inherit;
    text-decoration: none;
}

.classifieds-card__link:focus-visible {
    outline: 3px solid rgba(190, 86, 0, 0.35);
    outline-offset: -3px;
}

.classifieds-card.is-featured {
    border-color: rgba(190, 86, 0, 0.70);
    background:
        linear-gradient(180deg, rgba(255, 249, 241, 0.98) 0%, rgba(255, 255, 255, 0.96) 56%),
        rgba(255, 255, 255, 0.95);
    box-shadow: 0 22px 48px rgba(190, 86, 0, 0.16), 0 14px 32px rgba(23, 33, 38, 0.05);
}

.classifieds-card.is-featured::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 0.36rem;
    background: linear-gradient(180deg, #f4b24f 0%, var(--jelonka-accent) 100%);
    pointer-events: none;
}

.classifieds-card.is-pinned {
    box-shadow: 0 24px 50px rgba(21, 64, 134, 0.16);
}

.classifieds-card__media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(180deg, rgba(230, 237, 247, 0.92) 0%, rgba(243, 246, 250, 1) 100%);
    color: var(--jelonka-ink-soft);
    text-decoration: none;
    overflow: hidden;
}

.classifieds-card__media-frame {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
}

.classifieds-card__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.classifieds-card__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.classifieds-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem;
}

.classifieds-card__body h2,
.classifieds-card__body h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--jelonka-ink);
    transition: color 150ms ease;
}

.classifieds-card__body p {
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.classifieds-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.classifieds-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.classifieds-card .classifieds-card__badges .classifieds-badge--featured {
    border: 1px solid rgba(190, 86, 0, 0.26);
    background: #be5600;
    color: var(--jelonka-white);
    box-shadow: 0 8px 18px rgba(190, 86, 0, 0.18);
}

.classifieds-card .classifieds-card__badges .classifieds-badge--featured::before {
    content: "";
    width: 0.52rem;
    height: 0.52rem;
    flex: 0 0 auto;
    background: currentColor;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
}

.classifieds-badge--pinned svg {
    width: 0.82rem;
    height: 0.82rem;
    fill: currentColor;
}

.classifieds-card__list-price {
    display: none;
}

.classifieds-card__meta,
.classifieds-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.8rem;
    margin-top: auto;
    color: var(--jelonka-ink-soft);
    font-size: 0.8rem;
}

.classifieds-detail__price {
    font-weight: 800;
    color: var(--jelonka-ink);
}

.classifieds-grid .classifieds-card__body {
    min-height: 0;
}

.classifieds-grid .classifieds-card__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "city city"
        "price date";
    gap: 0.2rem 0.8rem;
    align-items: end;
    margin-top: auto;
}

.classifieds-grid .classifieds-card__meta-city {
    grid-area: city;
}

.classifieds-grid .classifieds-card__meta-date {
    grid-area: date;
    justify-self: end;
    text-align: right;
}

.classifieds-grid .classifieds-card__meta-price {
    grid-area: price;
    justify-self: start;
    text-align: left;
    align-self: end;
    font-weight: 800;
    font-size: 0.98rem;
    color: var(--jelonka-ink);
}

.classifieds-card--list {
    display: block;
}

.classifieds-card--list .classifieds-card__link {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    align-items: stretch;
}

.classifieds-card--list .classifieds-card__media {
    height: 168px;
    min-height: 168px;
    max-height: 168px;
    aspect-ratio: auto;
    overflow: hidden;
}

.classifieds-card--list .classifieds-card__media-frame {
    inset: 0;
}

.classifieds-card--list .classifieds-card__media img {
    width: 100%;
    height: 100%;
}

.classifieds-card--list .classifieds-card__body {
    min-height: 168px;
    position: relative;
    padding-right: 7.25rem;
}

.classifieds-card--list .classifieds-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.8rem;
    margin-top: auto;
}

.classifieds-card--list .classifieds-card__meta-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-weight: 800;
    font-size: 0.98rem;
    color: var(--jelonka-ink);
    white-space: nowrap;
}

.classifieds-card__link:hover .classifieds-card__body h2,
.classifieds-card__link:hover .classifieds-card__body h4,
.classifieds-card__link:focus-visible .classifieds-card__body h2,
.classifieds-card__link:focus-visible .classifieds-card__body h4 {
    color: var(--jelonka-brand-strong);
}

.classifieds-detail {
    display: grid;
    gap: 1rem;
}

.classifieds-detail__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.85rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 250, 0.94) 100%);
    box-shadow: 0 12px 28px rgba(23, 33, 38, 0.05);
}

.classifieds-detail__back {
    flex: 0 0 auto;
}

.classifieds-detail__category-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    min-width: 0;
}

.classifieds-detail__category-form label {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.classifieds-detail__category-form select {
    width: min(26rem, 42vw);
    min-width: 12rem;
    padding: 0.66rem 2.6rem 0.66rem 0.82rem;
    border: 1px solid rgba(23, 33, 38, 0.14);
    border-radius: 16px;
    appearance: none;
    background-color: var(--jelonka-white);
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(21, 64, 134, 0.82) 50%),
        linear-gradient(135deg, rgba(21, 64, 134, 0.82) 50%, transparent 50%);
    background-position:
        calc(100% - 1.15rem) calc(50% - 0.12rem),
        calc(100% - 0.82rem) calc(50% - 0.12rem);
    background-repeat: no-repeat;
    background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
    color: var(--jelonka-ink);
}

.classifieds-detail__category-form select:focus {
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(20, 97, 162, 0.16);
    outline: 0;
}

.classifieds-detail__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1rem;
    align-items: start;
}

.classifieds-detail__main {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.classifieds-detail__gallery {
    max-width: 820px;
}

.classifieds-detail__contact {
    padding: 1.5rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(243, 246, 250, 0.96) 0%, rgba(230, 237, 247, 0.92) 100%);
}

.classifieds-detail__contact a {
    color: var(--jelonka-brand-strong);
    text-decoration: none;
}

.classifieds-carousel__slide {
    overflow: hidden;
    margin: 0;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(23, 33, 38, 0.05);
    background: rgba(230, 237, 247, 0.82);
}

.classifieds-carousel__slide img {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.classifieds-carousel__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.classifieds-carousel__open:focus-visible {
    outline: 3px solid rgba(20, 97, 162, 0.45);
    outline-offset: 3px;
}

.classifieds-carousel {
    display: grid;
    gap: 0.9rem;
}

.classifieds-carousel__stage {
    position: relative;
    min-width: 0;
}

.classifieds-carousel__slide[hidden] {
    display: none;
}

.classifieds-carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--jelonka-ink);
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(23, 33, 38, 0.16);
    transform: translateY(-50%);
}

.classifieds-carousel__nav--prev {
    left: 1rem;
}

.classifieds-carousel__nav--next {
    right: 1rem;
}

.classifieds-carousel__counter {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(10, 16, 24, 0.7);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
}

.classifieds-carousel__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
    gap: 0.65rem;
}

.classifieds-carousel__thumb {
    padding: 0;
    border: 2px solid rgba(21, 64, 134, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(23, 33, 38, 0.04);
    transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.classifieds-carousel__thumb:hover,
.classifieds-carousel__thumb:focus-visible {
    border-color: rgba(21, 64, 134, 0.24);
    transform: translateY(-1px);
}

.classifieds-carousel__thumb.is-active {
    border-color: rgba(190, 86, 0, 0.72);
    box-shadow: 0 12px 26px rgba(190, 86, 0, 0.12);
}

.classifieds-carousel__thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
}

.classifieds-form {
    display: grid;
    gap: 1rem;
}

.classifieds-create-panel {
    display: grid;
    gap: 1.25rem;
}

.classifieds-create-panel__wallet-teaser {
    margin-top: -0.15rem;
}

.classifieds-flow-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.classifieds-flow-nav__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(244, 246, 248, 0.98) 0%, rgba(237, 240, 244, 0.94) 100%);
    color: rgba(72, 86, 97, 0.82);
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.classifieds-flow-nav__item strong,
.classifieds-flow-nav__item small {
    display: block;
}

.classifieds-flow-nav__item strong {
    color: rgba(40, 51, 58, 0.72);
    font-size: 0.98rem;
}

.classifieds-flow-nav__item small {
    color: rgba(72, 86, 97, 0.72);
    font-size: 0.82rem;
}

.classifieds-flow-nav__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(23, 33, 38, 0.08);
    color: rgba(40, 51, 58, 0.68);
    font-weight: 700;
}

.classifieds-flow-nav__item.is-active {
    border-color: rgba(20, 97, 162, 0.38);
    background: linear-gradient(180deg, rgba(240, 246, 255, 0.98) 0%, rgba(230, 237, 247, 0.94) 100%);
    box-shadow: 0 18px 36px rgba(20, 97, 162, 0.12);
    transform: translateY(-1px);
}

.classifieds-flow-nav__item.is-active strong {
    color: var(--jelonka-ink);
}

.classifieds-flow-nav__item.is-active small {
    color: var(--jelonka-ink-soft);
}

.classifieds-flow-nav__item.is-active .classifieds-flow-nav__index {
    background: rgba(21, 64, 134, 0.09);
    color: var(--jelonka-brand-strong);
}

.classifieds-flow-nav__item.is-complete {
    border-color: rgba(20, 97, 162, 0.22);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.94) 100%);
    color: rgba(57, 74, 87, 0.9);
    box-shadow: 0 10px 22px rgba(23, 33, 38, 0.04);
}

.classifieds-flow-nav__item.is-complete strong {
    color: rgba(31, 41, 47, 0.9);
}

.classifieds-flow-nav__item.is-complete small {
    color: rgba(72, 86, 97, 0.84);
}

.classifieds-flow-nav__item.is-complete .classifieds-flow-nav__index {
    background: rgba(20, 97, 162, 0.12);
    color: var(--jelonka-brand-strong);
}

.classifieds-flow-step {
    display: grid;
    gap: 1.1rem;
    padding-top: 0.35rem;
}

.classifieds-flow-step__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.classifieds-flow-step__header h3,
.classifieds-flow-step__header h4 {
    margin: 0;
}

.classifieds-flow-step__header p:last-child {
    max-width: 32rem;
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.classifieds-flow-step__eyebrow,
.classifieds-flow-summary__eyebrow {
    margin: 0 0 0.18rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jelonka-brand-strong);
}

.classifieds-flow-step__body {
    display: grid;
    gap: 1rem;
}

.classifieds-flow-step__grid {
    display: grid;
    gap: 1rem;
}

.classifieds-flow-step__grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.classifieds-flow-cost {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(246, 136, 51, 0.1), transparent 38%),
        linear-gradient(180deg, rgba(252, 253, 255, 0.98) 0%, rgba(239, 244, 250, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.classifieds-flow-cost__intro,
.classifieds-flow-section__header,
.classifieds-flow-summary__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.classifieds-flow-cost__intro h4,
.classifieds-flow-section__header h4,
.classifieds-flow-summary__header h3 {
    margin: 0;
}

.classifieds-flow-cost__intro p,
.classifieds-flow-section__header p {
    max-width: 28rem;
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.classifieds-flow-cost__grid,
.classifieds-flow-summary__pricing,
.classifieds-flow-review {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.classifieds-flow-summary__pricing-copy {
    margin-bottom: 0.8rem;
}

.classifieds-flow-summary__pricing-copy p {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.92rem;
}

.classifieds-flow-cost__card,
.classifieds-flow-summary__price-card,
.classifieds-flow-review > div {
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
}

.classifieds-flow-cost__card span,
.classifieds-flow-summary__price-card span,
.classifieds-flow-review span {
    color: var(--jelonka-ink-soft);
    font-size: 0.88rem;
}

.classifieds-flow-cost__card strong,
.classifieds-flow-summary__price-card strong,
.classifieds-flow-review strong {
    color: var(--jelonka-ink);
    font-size: 1.35rem;
    line-height: 1.15;
}

.classifieds-flow-cost__card strong img,
.classifieds-flow-summary__price-card strong img {
    width: 1.55rem;
    height: 1.55rem;
    vertical-align: middle;
}

.classifieds-flow-cost__card small,
.classifieds-flow-summary__price-card small {
    color: var(--jelonka-ink-soft);
}

.classifieds-flow-cost__wallet,
.classifieds-flow-summary__wallet {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(21, 64, 134, 0.06);
    border: 1px solid rgba(21, 64, 134, 0.10);
}

.classifieds-flow-cost__wallet-balance,
.classifieds-flow-summary__wallet-balance {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
}

.classifieds-flow-cost__wallet-balance strong,
.classifieds-flow-summary__wallet-balance strong {
    font-size: 1.8rem;
    line-height: 1;
}

.classifieds-flow-cost__wallet-balance img,
.classifieds-flow-summary__wallet-balance img {
    width: 2rem;
    height: 2rem;
}

.classifieds-flow-cost__wallet-status,
.classifieds-flow-summary__wallet-meta {
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.classifieds-flow-breakdown {
    display: grid;
    gap: 0.75rem;
    padding-top: 0.1rem;
}

.classifieds-flow-breakdown__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--jelonka-ink);
}

.classifieds-flow-breakdown__list {
    display: grid;
    gap: 0.6rem;
}

.classifieds-flow-breakdown__row {
    display: grid;
    gap: 0.14rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.classifieds-flow-breakdown__row strong {
    color: var(--jelonka-ink);
    font-size: 0.96rem;
}

.classifieds-flow-breakdown__row span,
.classifieds-flow-breakdown__row small {
    color: var(--jelonka-ink-soft);
}

.classifieds-flow-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.95fr);
    gap: 1rem;
    align-items: start;
}

.classifieds-flow-layout__main {
    display: grid;
    gap: 1rem;
}

.classifieds-flow-layout__aside {
    position: sticky;
    top: 1rem;
}

.classifieds-flow-section {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 251, 0.96) 100%);
}

.classifieds-flow-section--review {
    background:
        radial-gradient(circle at top right, rgba(20, 97, 162, 0.08), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 251, 0.96) 100%);
}

.classifieds-pin-pricing {
    display: grid;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(23, 33, 38, 0.035);
}

.classifieds-pin-pricing__title {
    margin: 0;
    color: var(--jelonka-ink);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.classifieds-pin-pricing__list {
    display: grid;
    gap: 0.65rem;
}

.classifieds-pin-pricing__card {
    position: relative;
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    cursor: pointer;
}

.classifieds-pin-pricing__card input[type="radio"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.classifieds-pin-pricing__card.is-active {
    border-color: rgba(190, 86, 0, 0.42);
    box-shadow: 0 12px 28px rgba(190, 86, 0, 0.12);
    transform: translateY(-1px);
}

.classifieds-pin-pricing__card:has(input[type="radio"]:focus-visible) {
    border-color: rgba(190, 86, 0, 0.42);
    box-shadow: 0 0 0 0.25rem rgba(190, 86, 0, 0.16);
}

.classifieds-pin-pricing__head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.classifieds-pin-pricing__head strong {
    color: var(--jelonka-ink);
    font-size: 0.95rem;
    line-height: 1.3;
}

.classifieds-pin-pricing__head span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--jelonka-brand-strong);
    font-size: 0.92rem;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.classifieds-pin-pricing__head img {
    width: 1rem;
    height: 1rem;
}

.classifieds-pin-pricing__meta,
.classifieds-pin-pricing__copy {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.4;
}

.classifieds-pin-pricing__meta {
    color: var(--jelonka-ink-soft);
    font-weight: 700;
}

.classifieds-pin-pricing__copy {
    color: var(--jelonka-ink-soft);
}

.classifieds-renew-pricing {
    display: grid;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(23, 33, 38, 0.035);
}

.classifieds-renew-pricing__title {
    margin: 0;
    color: var(--jelonka-ink);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.classifieds-renew-pricing__list {
    display: grid;
    gap: 0.65rem;
}

.classifieds-renew-pricing__card {
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
}

.classifieds-renew-pricing__card strong {
    color: var(--jelonka-ink);
    font-size: 0.95rem;
    line-height: 1.3;
}

.classifieds-renew-pricing__card span {
    color: var(--jelonka-brand-strong);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
}

.classifieds-renew-pricing__card small {
    color: var(--jelonka-ink-soft);
    font-size: 0.84rem;
    line-height: 1.4;
}

.classifieds-flow-summary {
    display: grid;
    gap: 1rem;
}

.classifieds-flow-summary--sticky {
    position: sticky;
    top: 1rem;
}

.classifieds-flow-summary--mobile {
    display: none;
}

.classifieds-flow-summary__tier {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(190, 86, 0, 0.12);
    color: #8f3d00;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.classifieds-flow-summary__list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.classifieds-flow-summary__item {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(23, 33, 38, 0.08);
}

.classifieds-flow-summary__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.classifieds-flow-summary__item dt {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-weight: 500;
}

.classifieds-flow-summary__item dd {
    margin: 0;
    color: var(--jelonka-ink);
    font-weight: 700;
    text-align: right;
}

.classifieds-choice-grid--payments {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.classifieds-choice-grid--tiers {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.classifieds-choice-card--tier {
    align-items: flex-start;
    min-height: 9.5rem;
    padding-top: 1.1rem;
}

.classifieds-choice-card--tier .classifieds-choice-card__body {
    gap: 0.35rem;
}

.classifieds-choice-card__price {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: var(--jelonka-brand-strong);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.classifieds-choice-card__price img {
    width: 1.2rem;
    height: 1.2rem;
}

.classifieds-choice-card__submeta {
    color: #8f3d00;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
}

.classifieds-choice-card__meta {
    color: var(--jelonka-ink-soft);
    font-size: 0.88rem;
    line-height: 1.35;
}

.classifieds-article-promo {
    display: grid;
    gap: 0.95rem;
    padding: 1rem;
    border-color: rgba(201, 95, 19, 0.12);
    border-radius: 8px;
    background: #fff7f2;
    box-shadow: 0 20px 44px rgba(124, 63, 11, 0.12);
}

.classifieds-article-promo__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0;
    padding: 0 0.55rem;
}

.classifieds-article-promo__title {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.58rem;
}

.classifieds-article-promo__head h2 {
    margin: 0;
    color: var(--portal-ink, var(--jelonka-ink));
    font-family: var(--portal-sans, Arial, sans-serif);
    font-size: 0.98rem;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.2;
}

.classifieds-article-promo__more {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.42rem;
    color: var(--portal-accent, #c95f13);
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
}

.classifieds-article-promo__more:hover,
.classifieds-article-promo__more:focus-visible {
    color: var(--portal-accent-dark, #9f4609);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.classifieds-article-promo__more-mobile {
    display: none;
}

.classifieds-article-promo__arrow {
    flex: 0 0 auto;
    width: 1.08rem;
    height: 1.08rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.15;
}

.jelonka-section-mascot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(1.45rem, 3vw, 2.15rem);
    animation: jelonka-section-mascot-idle 2.3s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform;
}

.jelonka-section-mascot img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 14px rgba(117, 43, 22, 0.18));
}

.classifieds-article-promo__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.classifieds-article-promo__card {
    display: grid;
    grid-template-columns: 9.25rem minmax(0, 1fr);
    min-height: 8.25rem;
    align-items: center;
    gap: 1.05rem;
    padding: 0.82rem 1.05rem 0.82rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(23, 33, 38, 0.06);
    background: rgba(255, 255, 255, 0.96);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(24, 33, 47, 0.06);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.classifieds-article-promo__card:hover,
.classifieds-article-promo__card:focus-visible {
    border-color: rgba(201, 95, 19, 0.2);
    box-shadow: 0 16px 34px rgba(24, 33, 47, 0.1);
    outline: 0;
    transform: translateY(-1px);
}

.classifieds-article-promo__media {
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1.33;
    border-radius: 8px;
    background: rgba(23, 33, 38, 0.06);
}

.classifieds-article-promo__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.classifieds-article-promo__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--portal-muted, var(--jelonka-ink-soft));
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
}

.classifieds-article-promo__body {
    display: grid;
    min-width: 0;
    gap: 0.34rem;
}

.classifieds-article-promo__name {
    display: -webkit-box;
    overflow: hidden;
    color: var(--portal-ink, var(--jelonka-ink));
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.classifieds-article-promo__category {
    overflow: hidden;
    color: var(--portal-ink, var(--jelonka-ink));
    font-size: 0.95rem;
    font-weight: 520;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.classifieds-article-promo__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

.classifieds-article-promo__location,
.classifieds-article-promo__price {
    min-width: 0;
    font-size: 0.88rem;
    font-weight: 760;
    line-height: 1.2;
}

.classifieds-article-promo__location {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    min-width: 0;
    color: var(--portal-muted, var(--jelonka-ink-soft));
}

.classifieds-article-promo__location svg {
    flex: 0 0 1.04rem;
    width: 1.04rem;
    height: 1.04rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.classifieds-article-promo__location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.classifieds-article-promo__price {
    flex: 0 0 auto;
    color: var(--portal-accent, #c95f13);
    text-align: right;
}

.jelonka-section-mascot.is-spinning {
    animation: jelonka-section-mascot-spin 0.72s ease-in-out both;
}

.jelonka-section-mascot.is-double-hopping {
    animation: jelonka-section-mascot-double-hop 1.25s ease-in-out both;
}

.jelonka-section-mascot.is-sway-popping {
    animation: jelonka-section-mascot-sway-pop 1.35s ease-in-out both;
}

@keyframes jelonka-section-mascot-idle {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    45% {
        transform: translateY(-0.22rem) rotate(4deg);
    }
}

@keyframes jelonka-section-mascot-spin {
    to {
        transform: rotate(720deg);
    }
}

@keyframes jelonka-section-mascot-double-hop {
    0%,
    46%,
    100% {
        transform: translateY(0) scale(1);
    }

    24% {
        transform: translateY(-0.88rem) scale(1.04);
    }

    72% {
        transform: translateY(-0.36rem) scale(1.02);
    }
}

@keyframes jelonka-section-mascot-sway-pop {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    16% {
        transform: rotate(15deg) scale(1.12);
    }

    32% {
        transform: rotate(-15deg) scale(1.14);
    }

    48% {
        transform: rotate(12deg) scale(1.12);
    }

    64% {
        transform: rotate(-12deg) scale(1.1);
    }

    82% {
        transform: rotate(0deg) scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .classifieds-article-promo__card {
        transition: none;
    }
}

.classifieds-choice-card--payment.is-disabled,
.classifieds-choice-card--payment:has(input[type="radio"]:disabled) {
    opacity: 0.58;
    filter: grayscale(0.08);
    box-shadow: none;
    transform: none;
}

.classifieds-choice-card--payment.is-disabled:hover,
.classifieds-choice-card--payment:has(input[type="radio"]:disabled):hover {
    border-color: rgba(23, 33, 38, 0.12);
    box-shadow: 0 14px 28px rgba(23, 33, 38, 0.04);
    transform: none;
}

.classifieds-form__actions--end {
    justify-content: flex-end;
}

.classifieds-payment-actions {
    gap: 0.9rem;
    margin-top: 1rem;
}

.classifieds-payment-actions + .classifieds-payment-actions {
    margin-top: 0.85rem;
}

.classifieds-form__field {
    display: grid;
    gap: 0.35rem;
    scroll-margin-top: 7rem;
}

.classifieds-form__field label {
    font-weight: 600;
}

.classifieds-form__field.has-error input:not([type="checkbox"]):not([type="radio"]),
.classifieds-form__field.has-error select,
.classifieds-form__field.has-error textarea {
    border-color: #b34040;
    box-shadow: 0 0 0 3px rgba(179, 64, 64, 0.12);
}

.classifieds-form__field.has-error .classifieds-choice-card,
.classifieds-form__field.has-error .classifieds-check__box {
    border-color: #b34040;
}

.classifieds-form__field.has-error .classifieds-category-picker__card,
.classifieds-form__field.has-error .classifieds-image-upload__status {
    border-color: #b34040;
    box-shadow: 0 0 0 3px rgba(179, 64, 64, 0.10);
}

.ad-cluster {
    width: 100%;
}

.ad-cluster:not(:has(.ad-slot-shell)) {
    display: none;
}

.ad-cluster--top {
    padding-top: 1.25rem;
}

.ad-cluster--footer {
    padding-bottom: 1.5rem;
}

.ad-cluster__container {
    display: grid;
    gap: 1rem;
    max-width: min(1580px, calc(100vw - 2rem));
    padding-right: clamp(1rem, 2vw, 1.75rem);
    padding-left: clamp(1rem, 2vw, 1.75rem);
}

.ad-cluster__split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1rem;
}

.ad-slot-shell {
    display: grid;
    justify-items: center;
}

.ad-slot-shell--stage-intro {
    position: relative;
    min-height: 100svh;
    padding: clamp(1.4rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
    align-content: center;
    justify-items: center;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 22%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.14), transparent 24%),
        linear-gradient(135deg, rgba(21, 64, 134, 0.98) 0%, rgba(20, 97, 162, 0.98) 58%, rgba(89, 155, 211, 0.96) 100%);
}

.ad-slot-shell__stage-head {
    position: absolute;
    top: clamp(1rem, 3vw, 1.8rem);
    left: clamp(1rem, 3vw, 1.8rem);
    right: clamp(1rem, 3vw, 1.8rem);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    pointer-events: none;
}

.ad-slot-shell__stage-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--jelonka-white);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(6, 18, 32, 0.14);
}

.ad-slot-shell__stage-close {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--jelonka-white);
    font-size: 1.7rem;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(6, 18, 32, 0.18);
}

.ad-slot-shell__stage-close:hover,
.ad-slot-shell__stage-close:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--jelonka-white);
}

.ad-slot-shell--desktop-rail {
    justify-items: stretch;
}

.ad-slot-shell--mobile-only {
    display: none;
}

.ad-slot-shell--infeed-card {
    grid-column: 1 / -1;
    margin: 0.1rem 0 0.35rem;
}

.ad-slot-shell--content-band {
    margin: 1rem 0 1.25rem;
}

.ad-cluster__mobile-stack {
    display: none;
    gap: 0.85rem;
}

.ad-slot {
    display: grid;
    gap: 0.65rem;
    width: min(100%, calc(var(--slot-width) * 1px));
}

.ad-slot-shell--stage-intro .ad-slot {
    width: min(100%, calc(var(--slot-width) * 1px));
}

.ad-slot-shell--stage-intro .ad-slot__frame {
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 80px rgba(10, 18, 34, 0.28);
}

.ad-slot-shell--stage-intro .ad-slot__placeholder {
    border-color: rgba(255, 255, 255, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(243, 246, 250, 0.98) 100%),
        repeating-linear-gradient(
            -45deg,
            rgba(20, 97, 162, 0.06) 0,
            rgba(20, 97, 162, 0.06) 14px,
            rgba(190, 86, 0, 0.04) 14px,
            rgba(190, 86, 0, 0.04) 28px
        );
}

.ad-slot__frame {
    position: relative;
    width: 100%;
    aspect-ratio: var(--slot-width) / var(--slot-height);
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 250, 0.98) 100%);
    box-shadow: 0 18px 40px rgba(23, 33, 38, 0.08);
}

.ad-slot__item,
.ad-slot__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    width: 100%;
    height: 100%;
}

.ad-slot__item {
    align-items: stretch;
    justify-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    text-decoration: none;
}

.ad-slot__item.is-hidden {
    display: none;
}

.ad-slot__media {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(255, 255, 255, 0.98);
}

.ad-slot__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.98);
}

.ad-slot__image.is-hidden {
    display: none;
}

.ad-slot.has-fluid-height .ad-slot__frame {
    aspect-ratio: auto;
}

.ad-slot.has-fluid-height .ad-slot__item {
    position: relative;
    inset: auto;
    display: block;
    height: auto;
}

.ad-slot.has-fluid-height .ad-slot__media {
    height: auto;
}

.ad-slot.has-fluid-height .ad-slot__image {
    height: auto;
}

.ad-slot__video {
    width: 100%;
    height: 100%;
    display: block;
    background: #0b1220;
}

.ad-slot__video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: none;
}

.ad-slot__pixel {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    bottom: 0;
    right: 0;
}

.ad-slot__placeholder {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.55rem;
    padding: 1.4rem;
    border: 4px dashed rgba(20, 97, 162, 0.36);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(243, 246, 250, 0.98) 100%),
        repeating-linear-gradient(
            -45deg,
            rgba(20, 97, 162, 0.05) 0,
            rgba(20, 97, 162, 0.05) 14px,
            rgba(190, 86, 0, 0.04) 14px,
            rgba(190, 86, 0, 0.04) 28px
        );
    color: var(--jelonka-ink);
    text-align: center;
}

.ad-slot__placeholder-name {
    color: var(--jelonka-ink-soft);
    font-size: clamp(0.75rem, 1vw, 0.95rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ad-slot__placeholder-label {
    font-size: clamp(1rem, 2.4vw, 2rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.ad-slot__placeholder--picker {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    align-content: center;
    justify-items: start;
    gap: clamp(0.55rem, 1vw, 0.85rem);
    padding: clamp(0.55rem, 1.2vw, 0.95rem);
    border-style: solid;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ad-slot__placeholder--picker:hover,
.ad-slot__placeholder--picker:focus-within {
    border-color: rgba(11, 87, 208, 0.7);
    box-shadow: inset 0 0 0 2px rgba(11, 87, 208, 0.1);
}

.ad-slot__placeholder--picker.is-selected {
    border-color: rgba(11, 87, 208, 0.95);
    background:
        linear-gradient(180deg, rgba(237, 244, 255, 0.98) 0%, rgba(226, 237, 255, 0.98) 100%),
        repeating-linear-gradient(
            -45deg,
            rgba(11, 87, 208, 0.07) 0,
            rgba(11, 87, 208, 0.07) 14px,
            rgba(20, 97, 162, 0.03) 14px,
            rgba(20, 97, 162, 0.03) 28px
        );
    box-shadow: inset 0 0 0 3px rgba(11, 87, 208, 0.18);
}

.ad-slot__picker-check {
    display: grid;
    place-items: center;
}

.ad-slot__picker-check input {
    margin: 0;
    width: clamp(1rem, 1.4vw, 1.15rem);
    height: clamp(1rem, 1.4vw, 1.15rem);
    cursor: pointer;
}

.ad-slot__picker-copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.ad-slot__picker-kind {
    color: var(--jelonka-ink-soft);
    font-size: clamp(0.72rem, 0.95vw, 0.88rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.ad-slot__picker-size {
    color: var(--jelonka-ink);
    font-size: clamp(0.92rem, 1.6vw, 1.4rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.ad-slot__indicators {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
}

.ad-slot__indicator {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.18);
}

.ad-slot__indicator.is-active {
    background: rgba(190, 86, 0, 0.88);
}

.news-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 1.5rem;
    align-items: start;
}

.news-detail__main,
.news-detail__sidebar,
.classifieds-detail__side {
    min-width: 0;
}

.news-detail__sidebar,
.classifieds-detail__side {
    display: grid;
    gap: 1rem;
}

.news-detail__sidebar {
    position: sticky;
    top: 1rem;
}

.news-results-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.classifieds-detail__side {
    align-content: start;
}

@media (max-width: 991.98px) {
    .subscription-hero {
        grid-template-columns: 1fr;
    }

    .subscription-summary {
        grid-template-columns: 1fr;
    }

    .subscription-tier-grid,
    .subscription-pricing__footer {
        grid-template-columns: 1fr;
    }

    .subscription-hero h1 {
        max-width: none;
    }

    .classifieds-rich-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .classifieds-rich-layout__rail {
        position: static;
    }

    .ad-cluster__split,
    .news-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .ad-slot-shell--stage-intro {
        min-height: min(88svh, 44rem);
        padding-top: 4.6rem;
    }

    .ad-slot-shell--desktop-rail {
        display: none;
    }

    .news-detail__sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .subscription-page {
        padding-top: 0;
    }

    .subscription-hero,
    .subscription-summary,
    .subscription-pricing,
    .subscription-tier,
    .subscription-plan-card {
        border-radius: 24px;
    }

    .subscription-tier {
        padding: 0.9rem;
    }

    .subscription-tier__header,
    .subscription-tier__benefits {
        padding-right: 0.4rem;
        padding-left: 0.4rem;
    }

    .subscription-plan-card h4 {
        font-size: 1.5rem;
    }

    .subscription-plan-card__topline {
        align-items: flex-start;
    }

    .ad-cluster--top {
        padding-top: 0.9rem;
    }

    .ad-cluster__container {
        gap: 0.85rem;
    }

    .ad-cluster__split--desktop,
    .ad-slot-shell--desktop-only {
        display: none !important;
    }

    .ad-cluster__mobile-stack,
    .ad-slot-shell--mobile-only {
        display: grid;
    }

    .ad-slot__placeholder {
        padding: 1rem;
        border-width: 3px;
        border-radius: 18px;
    }

    .ad-slot__frame {
        border-radius: 18px;
    }

    .ad-slot-shell--stage-intro .ad-slot__frame {
        border-radius: 22px;
    }

    .ad-slot-shell__stage-head {
        top: 0.85rem;
        left: 0.85rem;
        right: 0.85rem;
    }

    .ad-slot-shell__stage-badge {
        font-size: 0.74rem;
        padding: 0.5rem 0.78rem;
    }

    .ad-slot-shell__stage-close {
        width: 2.6rem;
        height: 2.6rem;
        font-size: 1.45rem;
    }
}

/* 2026 portal mockup fidelity pass */
:root {
    --portal-paper: #f5f5f2;
    --portal-surface: #ffffff;
    --portal-ink: #17130f;
    --portal-muted: #6f6b63;
    --portal-hairline: #dedbd3;
    --portal-hairline-soft: #ece9e2;
    --portal-accent: #c95f13;
    --portal-accent-dark: #9f4609;
    --portal-green: #225d4a;
    --portal-radius: 4px;
    --portal-container: min(100% - 2rem, 1320px);
}

body {
    background: var(--portal-paper);
    color: var(--portal-ink);
}

.read-also-ticker {
    position: relative;
    z-index: 9;
    max-width: 100%;
    overflow: hidden;
    border-top: 1px solid rgba(23, 19, 15, 0.06);
    border-bottom: 1px solid var(--portal-hairline);
    background:
        linear-gradient(90deg, rgba(201, 95, 19, 0.08), rgba(255, 255, 255, 0) 18%),
        #faf8f3;
    color: var(--portal-ink);
}

.read-also-ticker__inner {
    display: flex;
    width: 100%;
    min-height: 42px;
    margin: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
}

.read-also-ticker__label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 1.05rem;
    background: var(--portal-accent-dark);
    color: #fff8ee;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 12px 0 28px rgba(159, 70, 9, 0.18);
}

.read-also-ticker__label::after {
    position: absolute;
    top: 0;
    right: -17px;
    width: 0;
    height: 0;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-left: 17px solid var(--portal-accent-dark);
    content: "";
}

.read-also-ticker__viewport {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    contain: layout paint;
    overflow: hidden;
}

.read-also-ticker__viewport::before,
.read-also-ticker__viewport::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 3rem;
    pointer-events: none;
    content: "";
}

.read-also-ticker__viewport::before {
    left: 0;
    background: linear-gradient(90deg, #faf8f3, rgba(250, 248, 243, 0));
}

.read-also-ticker__viewport::after {
    right: 0;
    background: linear-gradient(270deg, #faf8f3, rgba(250, 248, 243, 0));
}

.read-also-ticker__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    animation: read-also-ticker-scroll-left var(--read-also-ticker-duration, 110s) linear infinite;
    will-change: transform;
}

.read-also-ticker--right .read-also-ticker__track {
    animation-name: read-also-ticker-scroll-right;
}

.read-also-ticker:hover .read-also-ticker__track,
.read-also-ticker:focus-within .read-also-ticker__track {
    animation-play-state: paused;
}

.read-also-ticker__group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: max-content;
    padding-right: 1.2rem;
    white-space: nowrap;
}

.read-also-ticker__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    padding: 0 1.05rem;
    color: var(--portal-ink);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 42px;
    text-decoration: none;
}

.read-also-ticker__item::after {
    position: absolute;
    top: 50%;
    right: -0.08rem;
    width: 0.22rem;
    height: 0.22rem;
    border-radius: 999px;
    background: rgba(159, 70, 9, 0.36);
    content: "";
    transform: translateY(-50%);
}

.read-also-ticker__item:hover,
.read-also-ticker__item:focus {
    color: var(--portal-accent-dark);
}

.read-also-ticker__category {
    display: inline-flex;
    align-items: center;
    max-width: 12rem;
    overflow: hidden;
    color: var(--portal-accent-dark);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-overflow: ellipsis;
}

.read-also-ticker__title {
    display: inline-block;
    max-width: 34rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes read-also-ticker-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes read-also-ticker-scroll-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .read-also-ticker__viewport {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .read-also-ticker__track {
        animation: none;
    }

    .read-also-ticker__group[aria-hidden="true"] {
        display: none;
    }
}

@media (max-width: 720px) {
    .read-also-ticker__inner {
        width: 100%;
        border-right: 0;
        border-left: 0;
    }

    .read-also-ticker__label {
        width: 1.05rem;
        overflow: hidden;
        padding: 0;
        color: transparent;
        font-size: 0;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .read-also-ticker__label::after {
        right: -14px;
        border-top-width: 21px;
        border-bottom-width: 21px;
        border-left-width: 14px;
    }

    .read-also-ticker__viewport::before,
    .read-also-ticker__viewport::after {
        width: 1.5rem;
    }

    .read-also-ticker__item {
        gap: 0.42rem;
        padding: 0 0.72rem;
        font-size: 0.78rem;
    }

    .read-also-ticker__category {
        max-width: 7rem;
        font-size: 0.56rem;
    }

    .read-also-ticker__title {
        max-width: 18rem;
    }
}

.recommended-events-bar {
    position: relative;
    z-index: 8;
    max-width: 100%;
    overflow: hidden;
    border-bottom: 1px solid rgba(23, 19, 15, 0.08);
    background:
        linear-gradient(90deg, rgba(201, 95, 19, 0.06), rgba(255, 255, 255, 0) 28%),
        #fbf9f5;
    color: var(--portal-ink);
}

.recommended-events-bar__inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 46px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
}

.recommended-events-bar__label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 1.05rem;
    background: var(--portal-accent-dark);
    color: #fff8ee;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 12px 0 28px rgba(159, 70, 9, 0.16);
}

.recommended-events-bar__viewport {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    padding-left: 0.2rem;
}

.recommended-events-bar__track {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
    white-space: nowrap;
}

.recommended-events-bar__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    gap: 0.5rem;
    min-width: 0;
    max-width: 22rem;
    height: 100%;
    padding: 0 1.05rem;
    color: var(--portal-ink);
    font-size: 0.84rem;
    font-weight: 850;
    text-decoration: none;
}

.recommended-events-bar__item::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 1.28rem;
    background: rgba(23, 19, 15, 0.12);
    content: "";
    transform: translateY(-50%);
}

.recommended-events-bar__item:hover,
.recommended-events-bar__item:focus {
    color: var(--portal-accent-dark);
}

.recommended-events-bar__date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 2.62rem;
    height: 1.48rem;
    border: 1px solid rgba(201, 95, 19, 0.34);
    background: rgba(201, 95, 19, 0.08);
    color: var(--portal-accent-dark);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
}

.recommended-events-bar__thumb {
    display: none;
}

.recommended-events-bar__title {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommended-events-bar__city {
    display: inline-block;
    flex: 0 0 auto;
    max-width: 7.4rem;
    overflow: hidden;
    color: var(--portal-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-overflow: ellipsis;
}

.recommended-events-bar__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 0.38rem;
    min-width: 5.65rem;
    padding: 0 1rem;
    border-left: 1px solid rgba(23, 19, 15, 0.1);
    color: var(--portal-accent-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.recommended-events-bar__more:hover,
.recommended-events-bar__more:focus {
    background: rgba(201, 95, 19, 0.08);
    color: var(--portal-accent-dark);
}

@media (max-width: 980px) {
    .recommended-events-bar__viewport {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

    .recommended-events-bar__viewport::-webkit-scrollbar {
        display: none;
    }

    .recommended-events-bar__track {
        width: max-content;
        min-width: max-content;
    }

    .recommended-events-bar__item {
        flex: 0 0 auto;
        max-width: 18.5rem;
    }
}

@media (max-width: 720px) {
    .recommended-events-bar__inner {
        min-height: 44px;
    }

    .recommended-events-bar__label {
        width: 1.05rem;
        overflow: hidden;
        padding: 0;
        color: transparent;
        font-size: 0;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .recommended-events-bar__viewport {
        padding-left: 0.2rem;
    }

    .recommended-events-bar__item {
        gap: 0.42rem;
        max-width: 16rem;
        padding: 0 0.78rem;
        font-size: 0.78rem;
    }

    .recommended-events-bar__city {
        display: none;
    }

    .recommended-events-bar__more {
        min-width: 4.9rem;
        padding: 0 0.74rem;
        font-size: 0.74rem;
    }
}

.top-info-bar {
    position: relative;
    z-index: 8;
    border-bottom: 1px solid rgba(23, 19, 15, 0.08);
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%),
        linear-gradient(90deg, #eef7ff 0%, #f8fbff 44%, #fff7ec 100%);
    color: var(--portal-ink);
}

.top-info-bar__inner {
    display: grid;
    grid-template-columns: minmax(17rem, auto) minmax(18rem, 42rem) minmax(14rem, auto);
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 48px;
    padding: 0.42rem clamp(0.75rem, 2vw, 1.6rem);
}

.top-info-bar__meta,
.top-info-bar__stats {
    display: flex;
    align-items: center;
    min-width: 0;
}

.top-info-bar__meta {
    gap: 0.58rem;
}

.top-info-bar__item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.48rem;
    color: inherit;
    font-size: 0.78rem;
    line-height: 1.15;
    text-decoration: none;
}

.top-info-bar__item--date {
    padding-right: 0.58rem;
    border-right: 1px solid rgba(23, 19, 15, 0.1);
}

.top-info-bar__icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--portal-accent-dark);
    box-shadow: inset 0 0 0 1px rgba(201, 95, 19, 0.16);
}

.top-info-bar__text,
.top-info-bar__weather-copy {
    display: grid;
    min-width: 0;
    gap: 0.08rem;
}

.top-info-bar__text strong,
.top-info-bar__weather-copy strong,
.top-info-bar__stat strong {
    font-weight: 900;
}

.top-info-bar__text span,
.top-info-bar__weather-copy span {
    overflow: hidden;
    color: rgba(23, 19, 15, 0.68);
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-info-bar__weather-icon {
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    object-fit: contain;
    filter: drop-shadow(0 3px 7px rgba(24, 80, 132, 0.18));
}

.top-info-bar__search {
    display: grid;
    grid-template-columns: 1fr auto;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(159, 70, 9, 0.2);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(23, 19, 15, 0.08);
}

.top-info-bar__search-input {
    min-width: 0;
    border: 0;
    padding: 0.48rem 0.9rem;
    background: transparent;
    color: var(--portal-ink);
    font-size: 0.86rem;
    outline: 0;
}

.top-info-bar__search-button {
    border: 0;
    padding: 0.48rem 1rem;
    background: var(--portal-accent-dark);
    color: #fff8ee;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.top-info-bar__search-button:hover,
.top-info-bar__search-button:focus {
    background: #873807;
}

.top-info-bar__stats {
    justify-content: flex-end;
    gap: 0.5rem;
    color: rgba(23, 19, 15, 0.78);
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.top-info-bar__live-dot {
    position: relative;
    display: inline-block;
    width: 0.54rem;
    height: 0.54rem;
    border-radius: 999px;
    background: #22a565;
    box-shadow: 0 0 0 0 rgba(34, 165, 101, 0.4);
    animation: top-info-live-pulse 2.2s ease-out infinite;
}

.top-info-bar__stat + .top-info-bar__stat {
    padding-left: 0.5rem;
    border-left: 1px solid rgba(23, 19, 15, 0.12);
}

@keyframes top-info-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 165, 101, 0.42);
    }

    70% {
        box-shadow: 0 0 0 0.5rem rgba(34, 165, 101, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 165, 101, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-info-bar__live-dot {
        animation: none;
    }
}

@media (max-width: 980px) {
    .top-info-bar__inner {
        grid-template-columns: 1fr auto;
    }

    .top-info-bar__search {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 720px) {
    .top-info-bar__inner {
        gap: 0.5rem;
        min-height: 0;
        padding: 0.46rem 0.72rem;
    }

    .top-info-bar__meta {
        gap: 0.42rem;
    }

    .top-info-bar__item {
        font-size: 0.72rem;
    }

    .top-info-bar__item--date {
        padding-right: 0.42rem;
    }

    .top-info-bar__icon {
        width: 1.45rem;
        height: 1.45rem;
    }

    .top-info-bar__text span {
        display: none;
    }

    .top-info-bar__weather-copy span {
        max-width: 5.5rem;
    }

    .top-info-bar__stats {
        gap: 0.36rem;
        font-size: 0.68rem;
    }

    .top-info-bar__stat + .top-info-bar__stat {
        padding-left: 0.36rem;
    }

    .top-info-bar__search-input,
    .top-info-bar__search-button {
        padding-top: 0.42rem;
        padding-bottom: 0.42rem;
    }
}

.news-category-bar {
    position: relative;
    z-index: 8;
    max-width: 100%;
    overflow: hidden;
    padding: 0.55rem 0 0;
    border-top: 1px solid #e2edf4;
    border-bottom: 1px solid #d9e6ee;
    background:
        linear-gradient(180deg, rgba(248, 252, 255, 0.98) 0%, rgba(239, 247, 252, 0.94) 100%),
        #f2f8fc;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 18px 32px rgba(23, 19, 15, 0.06);
}

.news-category-bar__inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
}

.news-category-bar__panel {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 4.35rem;
    padding: 0.48rem 0.85rem;
    border: 1px solid rgba(33, 91, 130, 0.08);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.news-category-bar.has-prev .news-category-bar__panel {
    padding-left: 3.55rem;
}

.news-category-bar.has-next .news-category-bar__panel {
    padding-right: 3.55rem;
}

.news-category-bar__label {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.46rem;
    width: 6.15rem;
    color: var(--portal-ink);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.news-category-bar__label-icon {
    position: relative;
    display: inline-block;
    width: 0.94rem;
    height: 0.66rem;
    border-top: 2px solid var(--portal-accent-dark);
    border-bottom: 2px solid var(--portal-accent-dark);
}

.news-category-bar__label-icon::after {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 2px solid var(--portal-accent-dark);
    content: "";
    transform: translateY(-50%);
}

.news-category-bar__separator {
    flex: 0 0 auto;
    width: 1px;
    height: 2.35rem;
    margin: 0 0.72rem 0 0.05rem;
    background: rgba(23, 19, 15, 0.12);
}

.news-category-bar__viewport {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    contain: layout paint;
    overflow-x: auto;
    overflow-y: hidden;
    padding-top: 0.16rem;
    scrollbar-color: rgba(201, 95, 19, 0.58) rgba(23, 19, 15, 0.08);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
}

.news-category-bar__viewport::-webkit-scrollbar {
    height: 0.42rem;
}

.news-category-bar__viewport::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(23, 19, 15, 0.08);
}

.news-category-bar__viewport::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(201, 95, 19, 0.58);
}

.news-category-bar__track {
    position: relative;
    display: block;
    gap: 0.32rem 0.38rem;
    width: 100%;
    min-width: 100%;
    padding: 1px 0.5rem 1px 0.15rem;
    white-space: nowrap;
}

.news-category-bar__item {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.38rem;
    min-height: 1.78rem;
    padding: 0.3rem 0.56rem 0.38rem;
    border: 1px solid rgba(23, 19, 15, 0.17);
    border-radius: 999px;
    background: #ffffff;
    color: var(--portal-ink);
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1.18;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(23, 19, 15, 0.03);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.news-category-bar__item-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 0.82rem;
    height: 0.82rem;
    background: currentColor;
    color: var(--portal-ink);
    -webkit-mask: var(--category-bar-icon) center / contain no-repeat;
    mask: var(--category-bar-icon) center / contain no-repeat;
    opacity: 0.82;
}

.news-category-bar__item--flame {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2c1 4-3 5-3 9 0 1.7 1 3 2.5 3 2 0 3-2 2-5 3 2 5 4.7 5 8a7.5 7.5 0 0 1-15 0c0-4 2.2-6.5 4.8-9.1C11 6.2 12.4 4.8 13 2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--phone {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.8 10 6.2 7.9 9c1.4 2.8 3.4 4.8 6.1 6.1l2.8-2.1 3.4 3.4-.6 4.4c-.1.7-.7 1.2-1.4 1.2C9.3 22 2 14.7 2 5.8c0-.7.5-1.3 1.2-1.4l3.4-.6z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--candle {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c2.2 2.2 3.3 4.1 3.3 5.7A3.3 3.3 0 0 1 12 10a3.3 3.3 0 0 1-3.3-3.3C8.7 5.1 9.8 3.2 12 1zm-4 11h8v9H8v-9zm-2 10h12v2H6v-2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--theater {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4c3 1 6 1 9 0v6c0 4-2 7-4.5 8C5 17 3 14 3 10V4zm9 0c3 1 6 1 9 0v6c0 4-2 7-4.5 8a7 7 0 0 1-3.5-3.3c.7-1.4 1-3 1-4.7V4h-2zm-6 6h2V8H6v2zm7 0h2V8h-2v2zM6 13c1 .8 2 .8 3 0H6zm9 0c1 .8 2 .8 3 0h-3z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--shield {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 21 5v6c0 5.5-3.6 9.4-9 11-5.4-1.6-9-5.5-9-11V5l9-3zm0 4-5 1.7V11c0 3.4 2 5.8 5 7 3-1.2 5-3.6 5-7V7.7L12 6z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--chat {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v11H8l-4 4V4zm4 5h8V7H8v2zm0 4h6v-2H8v2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--graduation {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 1 8l11 5 9-4.1V16h2V8L12 3zM5 11.2V16c2 2.5 12 2.5 14 0v-4.8L12 14.4l-7-3.2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--road {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 2h8l5 20h-7l-.4-4h-3.2l-.4 4H3L8 2zm3 3-.3 4h2.6L13 5h-2zm-.7 8-.2 3h3.8l-.2-3h-3.4z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--history {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4a8 8 0 1 1-7.5 5.3H2l4-4 4 4H7.6A5.5 5.5 0 1 0 12 6.5V4zm1 4v5l4 2-1 1.8-5-2.8V8h2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--route {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2a4 4 0 0 1 4 4c0 2.8-4 6-4 6S2 8.8 2 6a4 4 0 0 1 4-4zm0 5.5A1.5 1.5 0 1 0 6 4.5a1.5 1.5 0 0 0 0 3zM18 12a4 4 0 0 1 4 4c0 2.8-4 6-4 6s-4-3.2-4-6a4 4 0 0 1 4-4zm0 5.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM9 17H6a4 4 0 0 1 0-8h2v2H6a2 2 0 0 0 0 4h3a4 4 0 0 1 4 4v1h-2v-1a2 2 0 0 0-2-2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--church {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2v3h3v2h-3v3l7 5v7h-6v-5h-4v5H4v-7l7-5V7H8V5h3V2h2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--fingerprint {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7h-2a5 5 0 0 0-10 0H5a7 7 0 0 1 7-7zm0 4a3 3 0 0 1 3 3c0 5-1.4 8.4-4 11l-1.4-1.4C11.8 16.4 13 13.3 13 9a1 1 0 1 0-2 0c0 3.9-.9 6.4-2.7 8.3L7 15.8c1.3-1.4 2-3.5 2-6.8a3 3 0 0 1 3-3zm-5 5c-.1 2.7-.9 4.6-2.3 6L3.3 15.6C4.4 14.5 5 13 5 11h2zm12 0c0 4.1-1 7.4-3.1 10l-1.6-1.2c1.8-2.3 2.7-5.2 2.7-8.8h2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--wallet {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h16a2 2 0 0 1 2 2v2h-5a4 4 0 0 0 0 8h5v2a2 2 0 0 1-2 2H3V5zm13 6h6v4h-6a2 2 0 0 1 0-4zm0 3h2v-2h-2v2zM5 3h12v2H5V3z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--heart {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-4.8-8-11a5 5 0 0 1 8-4 5 5 0 0 1 8 4c0 6.2-8 11-8 11zm-1-7h2v-3h3V9h-3V6h-2v3H8v2h3v3z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--microphone {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a4 4 0 0 1 4 4v5a4 4 0 0 1-8 0V6a4 4 0 0 1 4-4zm7 8v1a7 7 0 0 1-6 6.9V21h4v2H7v-2h4v-3.1A7 7 0 0 1 5 11v-1h2v1a5 5 0 0 0 10 0v-1h2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--civic {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 3 7v2h18V7l-9-5zM5 11h2v7H5v-7zm4 0h2v7H9v-7zm4 0h2v7h-2v-7zm4 0h2v7h-2v-7zM3 20h18v2H3v-2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--mountains {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m2 21 7-13 4 6 3-5 6 12H2zm7.3-8-3.2 6h6.7l-3.5-6zm7-0.2L14.2 16l1.8 3h2.8l-2.5-6.2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--pin {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5-7 13-7 13S5 14 5 9a7 7 0 0 1 7-7zm0 9.5A2.5 2.5 0 1 0 12 6.5a2.5 2.5 0 0 0 0 5z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--senior {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm-3 8h6l2 5h-3v7h-4v-7H7l2-5zm9 2h2v10h-2V12z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--news {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a3 3 0 0 1-3-3V6h2v12a1 1 0 0 0 1 1h13V5H4V3zm3 4h8v5H7V7zm0 7h10v2H7v-2zm0 3h7v2H7v-2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--spark {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 2.7 6.3L21 11l-6.3 2.7L12 20l-2.7-6.3L3 11l6.3-2.7L12 2zm7 14 1.2 2.8L23 20l-2.8 1.2L19 24l-1.2-2.8L15 20l2.8-1.2L19 16zM5 14l1 2.1L8 17l-2 .9L5 20l-1-2.1L2 17l2-.9L5 14z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--woman {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 1 3 9v3h3v2h-3v3h-2v-3h-2v3H9v-3H6v-2h3v-3a5 5 0 0 1 3-9zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--medical {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 2h6v6h6v6h-6v8H9v-8H3V8h6V2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--book {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h7a4 4 0 0 1 4 4v14a4 4 0 0 0-4-3H4V3zm9 0h7v15h-7a4 4 0 0 0-4 3V7a4 4 0 0 1 4-4z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--globe {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm-2 3.3A8 8 0 0 0 4.3 11H9c.1-2.1.4-4 .9-5.7H10zm4 0c.5 1.7.8 3.6.9 5.7h4.8A8 8 0 0 0 14 5.3zM11 13H4.3A8 8 0 0 0 10 18.7c-.5-1.7-.8-3.6-.9-5.7H11zm8.7 0H15c-.1 2.1-.4 4-.9 5.7a8 8 0 0 0 5.6-5.7z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--building {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V5l8-3 8 3v16h-6v-5h-4v5H4zm4-12h2V7H8v2zm6 0h2V7h-2v2zm-6 4h2v-2H8v2zm6 0h2v-2h-2v2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--event {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v3h6V2h2v3h3v17H4V5h3V2zm-1 8v10h12V10H6zm2 2h3v3H8v-3zm5 0h3v3h-3v-3z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--chart {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V4h2v14h14v2H4zm4-4v-5h3v5H8zm5 0V7h3v9h-3zm5 0v-3h3v3h-3z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--camera {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4h8l1.5 3H21v13H3V7h3.5L8 4zm4 5a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm0 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--weather {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4V1h2v3H7zm8.2 2.2 2.1-2.1 1.4 1.4-2.1 2.1-1.4-1.4zM12 4a6 6 0 0 1 5.8 7.5A5.5 5.5 0 0 1 17 22H7a5 5 0 0 1-.8-9.9A6 6 0 0 1 12 4zm-5 9h10a3.5 3.5 0 0 1 0 7H7a3.5 3.5 0 0 1 0-7z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--ball {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm-2 3.2-3.2 2.4 1.2 3.8h4l1.2-3.8L10 5.2zm4 0 2 1.5 2.7-.2A8 8 0 0 0 14 5.2zM5.3 9.3A8 8 0 0 0 5 14l2.3-1.7-1-3h-1zm13.4 0-1 3L20 14a8 8 0 0 0-.3-4.7h-1zM9 13.4l-2.4 1.8.9 3A8 8 0 0 0 12 20l-3-2.2v-4.4zm6 0v4.4L12 20a8 8 0 0 0 4.5-1.8l.9-3-2.4-1.8H9z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--paw {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm10 0a3 3 0 1 1 0-6 3 3 0 0 1 0 6zM5 16a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm14 0a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm-7-3c3 0 6 3.5 6 6.2 0 2.2-2.2 2.8-6 2.8s-6-.6-6-2.8C6 16.5 9 13 12 13z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--hotel {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V4h8v7h10v10h-2v-3H5v3H3zm2-5h14v-3H5v3zm2-7h2V7H7v2zm0 4h2v-2H7v2z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--leaf {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3c-7.2.2-12.5 2.1-15.6 5.7C2.4 12.1 3 17 7 19c2.7 1.4 6.1.5 8.4-1.8C18.4 14.2 20.2 9.1 21 3zM6 21c2.7-6 6.4-9.8 11-11.5C13 12.2 10 16 8 22L6 21z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--spa {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21c-5 0-8.5-3.5-9-8.5C7.8 12.5 11.5 15 12 21zm0 0c.5-6 4.2-8.5 9-8.5-.5 5-4 8.5-9 8.5zM12 3c2.4 2.3 3.7 4.7 3.7 7S14.4 14.2 12 16c-2.4-1.8-3.7-3.8-3.7-6S9.6 5.3 12 3z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--info {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 10h3v9h-3v-9zm0-5h3v3h-3V5zM12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--postcard {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3V5zm2 2v10h14V7H5zm1 8 3-4 2 2.5 2-3 4 4.5H6zm10-7h2v2h-2V8z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item--tag {
    --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h10l8 8-8 8-10-10V4zm5 5a2 2 0 1 0 0-4 2 2 0 0 0 0 4z' fill='black'/%3E%3C/svg%3E");
}

.news-category-bar__item:hover,
.news-category-bar__item:focus-visible,
.news-category-bar__item.is-active {
    border-color: rgba(201, 95, 19, 0.78);
    background: #fffaf2;
    color: var(--portal-accent-dark);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(159, 70, 9, 0.09);
}

.news-category-bar__item:hover .news-category-bar__item-icon,
.news-category-bar__item:focus-visible .news-category-bar__item-icon,
.news-category-bar__item.is-active .news-category-bar__item-icon {
    color: var(--portal-accent);
}

.news-category-bar__item:focus-visible {
    outline: 2px solid rgba(7, 79, 145, 0.34);
    outline-offset: 2px;
}

.news-category-bar__arrow {
    position: absolute;
    z-index: 6;
    top: 50%;
    display: none;
    place-items: center;
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--portal-ink);
    font-size: 1.62rem;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(23, 19, 15, 0.12);
    transition: color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
    transform: translateY(-50%);
}

.news-category-bar.has-prev .news-category-bar__arrow--prev,
.news-category-bar.has-next .news-category-bar__arrow--next {
    display: inline-grid;
}

.news-category-bar__arrow:hover,
.news-category-bar__arrow:focus-visible {
    color: var(--portal-accent-dark);
    transform: translateY(calc(-50% - 1px));
}

.news-category-bar__arrow:disabled {
    opacity: 0.36;
    cursor: default;
    transform: translateY(-50%);
}

.news-category-bar__arrow--prev {
    left: 0.58rem;
}

.news-category-bar__arrow--next {
    right: 0.58rem;
}

@media (max-width: 720px) {
    .news-category-bar {
        padding: 0.45rem 0 0;
    }

    .news-category-bar__inner {
        width: 100%;
        gap: 0.35rem;
        padding: 0;
    }

    .news-category-bar__panel {
        min-height: 0;
        padding: 0.5rem 0.65rem;
    }

    .news-category-bar.has-prev .news-category-bar__panel {
        padding-left: 2.85rem;
    }

    .news-category-bar.has-next .news-category-bar__panel {
        padding-right: 2.85rem;
    }

    .news-category-bar__label {
        display: none;
    }

    .news-category-bar__separator {
        display: none;
    }

    .news-category-bar__track {
        gap: 0.26rem 0.28rem;
        padding-right: 0.35rem;
    }

    .news-category-bar__item {
        min-height: 1.65rem;
        padding: 0.27rem 0.46rem 0.34rem;
        font-size: 0.68rem;
    }

    .news-category-bar__item-icon {
        width: 0.86rem;
        height: 0.86rem;
    }

    .news-category-bar__arrow {
        width: 2rem;
        height: 2rem;
        font-size: 1.35rem;
    }

    .news-category-bar__arrow--prev {
        left: 0.35rem;
    }

    .news-category-bar__arrow--next {
        right: 0.35rem;
    }

    .news-category-bar__arrow--next .news-category-bar__more-icon,
    .news-category-bar__arrow--next .news-category-bar__more-label,
    .news-category-bar__arrow--next .news-category-bar__more-caret {
        display: none;
    }

    .news-category-bar__arrow--next::before {
        content: "›";
    }

}

.navbar-jelonka {
    min-height: 64px;
    padding: 0;
    border-bottom: 2px solid var(--portal-accent);
    background: var(--portal-surface) !important;
    box-shadow: none;
}

.navbar-jelonka .container {
    width: var(--portal-container);
    max-width: none;
    min-height: 64px;
    padding-right: 0;
    padding-left: 0;
}

.navbar-jelonka .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--portal-ink) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 2vw, 2.05rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.navbar-jelonka .navbar-brand::before {
    display: inline-block;
    width: 1.35rem;
    height: 1.35rem;
    background: url("/static/jelonka/favicon.png") center / contain no-repeat;
    content: "";
}

.navbar-jelonka .nav-link {
    padding: 0.8rem 0.55rem;
    color: #282420 !important;
    border-radius: var(--portal-radius);
    background: transparent;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.navbar-jelonka .nav-link span {
    padding: 0;
    border: 0;
}

.hyde-park-label {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25em;
}

.hyde-park-label small {
    font-size: 0.64em;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
}

.news-hero__copy h1 .hyde-park-label small {
    font-size: 0.46em;
    font-weight: 800;
}

.navbar-jelonka .nav-link:hover,
.navbar-jelonka .nav-link:focus,
.navbar-jelonka .nav-link.active {
    background: #f2eee8;
    color: var(--portal-accent-dark) !important;
}

.navbar-jelonka .navbar-nav.ms-auto .nav-link {
    border: 1px solid var(--portal-hairline);
    background: #ffffff;
}

.navbar-jelonka .navbar-nav.ms-auto .nav-link:hover,
.navbar-jelonka .navbar-nav.ms-auto .nav-link:focus {
    border-color: var(--portal-ink);
    background: #ffffff;
    color: var(--portal-ink) !important;
}

.navbar-jelonka .navbar-toggler {
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: #ffffff;
}

.navbar-jelonka .navbar-toggler-icon {
    filter: none;
}

.ad-pricing-page {
    padding: 1.5rem 0 2.5rem;
}

.ad-pricing-page__inner {
    display: grid;
    gap: 1.1rem;
}

.ad-pricing-page__notice {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(20, 97, 162, 0.16);
    border-radius: 18px;
    background: rgba(20, 97, 162, 0.08);
    color: var(--jelonka-ink);
}

.ad-pricing-page__notice--success {
    border-color: rgba(24, 120, 63, 0.2);
    background: rgba(24, 120, 63, 0.08);
}

.ad-pricing-page__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 1rem;
    align-items: stretch;
}

.ad-pricing-page__hero h1,
.ad-pricing-page__contact h2 {
    margin: 0;
}

.ad-pricing-page__hero > div,
.ad-pricing-page__contact,
.ad-pricing-page__panel {
    padding: 1.2rem;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(20, 97, 162, 0.08), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 252, 0.95) 100%);
    box-shadow: 0 18px 36px rgba(20, 97, 162, 0.08);
}

.ad-pricing-page__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    margin-bottom: 0.55rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.09);
    color: var(--jelonka-brand-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ad-pricing-page__hero p,
.ad-pricing-page__contact p {
    margin: 0.55rem 0 0;
}

.ad-pricing-page__table-wrap {
    overflow-x: auto;
}

.ad-pricing-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.ad-pricing-table th,
.ad-pricing-table td {
    padding: 0.9rem 0.85rem;
    border-bottom: 1px solid rgba(20, 97, 162, 0.12);
    vertical-align: top;
    text-align: left;
}

.ad-pricing-table th {
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jelonka-brand-strong);
}

.ad-pricing-table tbody tr:last-child td {
    border-bottom: 0;
}

.ad-pricing-table__code,
.ad-pricing-table__placeholder {
    display: block;
    margin-top: 0.25rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.88rem;
}

.ad-pricing-table__admin-link {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.84rem;
}

.ad-pricing-table__slot-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.ad-pricing-table__index {
    display: inline-grid;
    place-items: center;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    border: 2px solid #123555;
    background: #ffe27a;
    color: #123555;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 18px rgba(18, 53, 85, 0.14);
    flex: 0 0 auto;
}

.ad-pricing-table__value-stack {
    display: grid;
    gap: 0.45rem;
}

.ad-pricing-inline-editor {
    display: grid;
    gap: 0.45rem;
}

.ad-pricing-inline-editor summary {
    width: fit-content;
    cursor: pointer;
    color: var(--jelonka-brand-strong);
    font-size: 0.82rem;
    font-weight: 700;
}

.ad-pricing-inline-editor__form {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.15rem;
    padding: 0.8rem;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 14px;
    background: rgba(20, 97, 162, 0.04);
}

.ad-pricing-inline-editor__field .form-control,
.ad-pricing-inline-editor__field input,
.ad-pricing-inline-editor__field textarea {
    width: 100%;
}

.ad-pricing-inline-editor__actions {
    display: flex;
    justify-content: flex-end;
}

.ad-pricing-inline-editor__errors {
    color: #9f1d1d;
    font-size: 0.85rem;
}

.ad-pricing-guide {
    display: grid;
    gap: 1rem;
}

.ad-pricing-guide__header h2,
.ad-pricing-guide__group-head h3,
.ad-pricing-guide__section h4 {
    margin: 0;
}

.ad-pricing-guide__header p {
    margin: 0.45rem 0 0;
}

.ad-pricing-guide__groups {
    display: grid;
    gap: 1rem;
}

.ad-pricing-guide--mobile .ad-pricing-guide__groups {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 27rem), 1fr));
    align-items: start;
    justify-items: stretch;
}

.ad-pricing-guide__group {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
}

.ad-pricing-guide--mobile .ad-pricing-guide__group {
    width: 100%;
    max-width: none;
    height: 100%;
    align-content: start;
}

.ad-pricing-guide__group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ad-pricing-guide__group-head span,
.ad-pricing-guide__section h4 {
    color: var(--jelonka-ink-soft);
}

.ad-pricing-guide__sections {
    display: grid;
    gap: 0.9rem;
}

.ad-pricing-guide__section {
    display: grid;
    gap: 0.55rem;
}

.ad-pricing-guide__canvas {
    padding: 1rem;
    border: 1px solid rgba(20, 97, 162, 0.1);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.95) 0%, rgba(255, 255, 255, 0.92) 100%);
    overflow-x: auto;
}

.ad-pricing-guide--mobile .ad-pricing-guide__canvas {
    display: grid;
    justify-items: center;
    width: min(100%, 26.5rem);
    margin: 0 auto;
    overflow-x: hidden;
}

.ad-pricing-guide__browser-bar {
    display: flex;
    gap: 0.35rem;
}

.ad-pricing-guide__browser-bar span {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.18);
}

.ad-pricing-guide__visual {
    display: grid;
    gap: 0.8rem;
    min-width: 920px;
    --guide-accent: #1461a2;
    --guide-accent-soft: rgba(20, 97, 162, 0.12);
    --guide-accent-strong: rgba(20, 97, 162, 0.26);
    --guide-accent-fill: rgba(20, 97, 162, 0.18);
    --guide-shadow: rgba(18, 53, 85, 0.12);
    --guide-pin-bg: #fff2bf;
    --guide-pin-ring: #ffffff;
    --guide-pin-text: #17324d;
    --guide-content-fill: rgba(255, 255, 255, 0.98);
    --guide-content-fill-strong: rgba(244, 247, 251, 0.98);
    --guide-content-stroke: rgba(136, 148, 161, 0.28);
    --guide-content-line: rgba(136, 148, 161, 0.24);
    --guide-content-block: rgba(216, 223, 231, 0.96);
}

.ad-pricing-guide__visual--site-header,
.ad-pricing-guide__visual--site-footer {
    --guide-accent: #1461a2;
    --guide-accent-soft: rgba(20, 97, 162, 0.12);
    --guide-accent-strong: rgba(20, 97, 162, 0.26);
    --guide-accent-fill: rgba(20, 97, 162, 0.18);
    --guide-shadow: rgba(18, 53, 85, 0.12);
    --guide-pin-bg: #ffe27a;
}

.ad-pricing-guide__visual--home {
    --guide-accent: #0c8a6a;
    --guide-accent-soft: rgba(12, 138, 106, 0.12);
    --guide-accent-strong: rgba(12, 138, 106, 0.24);
    --guide-accent-fill: rgba(12, 138, 106, 0.17);
    --guide-shadow: rgba(10, 88, 69, 0.12);
    --guide-pin-bg: #d7ffe6;
}

.ad-pricing-guide__visual--cms {
    --guide-accent: #8b5f18;
    --guide-accent-soft: rgba(139, 95, 24, 0.12);
    --guide-accent-strong: rgba(139, 95, 24, 0.24);
    --guide-accent-fill: rgba(139, 95, 24, 0.18);
    --guide-shadow: rgba(89, 57, 8, 0.12);
    --guide-pin-bg: #ffe8ba;
}

.ad-pricing-guide__visual--news-list,
.ad-pricing-guide__visual--news-detail {
    --guide-accent: #b04a14;
    --guide-accent-soft: rgba(176, 74, 20, 0.12);
    --guide-accent-strong: rgba(176, 74, 20, 0.24);
    --guide-accent-fill: rgba(176, 74, 20, 0.18);
    --guide-shadow: rgba(108, 46, 12, 0.12);
    --guide-pin-bg: #ffd8b0;
}

.ad-pricing-guide__visual--classifieds-list,
.ad-pricing-guide__visual--classifieds-detail {
    --guide-accent: #6e3fd1;
    --guide-accent-soft: rgba(110, 63, 209, 0.12);
    --guide-accent-strong: rgba(110, 63, 209, 0.24);
    --guide-accent-fill: rgba(110, 63, 209, 0.18);
    --guide-shadow: rgba(62, 34, 122, 0.12);
    --guide-pin-bg: #e7dbff;
}

.ad-pricing-guide__mockup {
    position: relative;
    min-height: var(--guide-scene-height, 560px);
    padding: 0.65rem;
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 247, 252, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
    overflow: hidden;
    isolation: isolate;
}

.ad-pricing-guide__mockup::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 97, 162, 0.025) 0%, rgba(20, 97, 162, 0) 22%),
        linear-gradient(90deg, rgba(20, 97, 162, 0.025) 0%, rgba(20, 97, 162, 0) 16%);
    content: "";
    pointer-events: none;
}

.ad-pricing-guide__shape {
    position: absolute;
    z-index: 0;
    overflow: hidden;
    border: 1px solid var(--guide-content-stroke);
    border-radius: 20px;
    background: linear-gradient(180deg, var(--guide-content-fill) 0%, var(--guide-content-fill-strong) 100%);
    box-shadow:
        0 10px 18px rgba(17, 33, 51, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
    opacity: 0;
}

.ad-pricing-guide__shape::before,
.ad-pricing-guide__shape::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.ad-pricing-guide__shape::before {
    inset: 11% 8% auto;
    height: 30%;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--guide-content-block) 0%, rgba(236, 241, 246, 0.88) 100%);
}

.ad-pricing-guide__shape::after {
    left: 8%;
    right: 14%;
    bottom: 12%;
    height: 36%;
    border-radius: 10px;
    background:
        repeating-linear-gradient(
            180deg,
            transparent 0 0.58rem,
            var(--guide-content-line) 0.58rem 0.7rem,
            transparent 0.7rem 1.08rem
        );
}

.ad-pricing-guide__shape--masthead,
.ad-pricing-guide__shape--band,
.ad-pricing-guide__shape--footer {
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(247, 249, 252, 0.98) 0%, rgba(236, 241, 246, 0.98) 100%);
}

.ad-pricing-guide__shape--masthead::before,
.ad-pricing-guide__shape--band::before,
.ad-pricing-guide__shape--footer::before {
    inset: 28% 5% auto;
    height: 36%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(176, 186, 197, 0.92) 0%, rgba(225, 231, 237, 0.8) 100%);
}

.ad-pricing-guide__shape--masthead::after,
.ad-pricing-guide__shape--band::after,
.ad-pricing-guide__shape--footer::after {
    display: none;
}

.ad-pricing-guide__shape--hero::before {
    inset: 10% 6% 28%;
    height: auto;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(212, 221, 230, 0.94) 0%, rgba(242, 245, 249, 0.9) 100%);
}

.ad-pricing-guide__shape--hero::after {
    left: 8%;
    right: 40%;
    bottom: 12%;
    height: 0.85rem;
    border-radius: 999px;
    background: rgba(136, 148, 161, 0.28);
}

.ad-pricing-guide__shape--content::before,
.ad-pricing-guide__shape--content-secondary::before,
.ad-pricing-guide__shape--sidebar::before,
.ad-pricing-guide__shape--sidebar-secondary::before {
    inset: 10% 8% auto;
    height: 18%;
}

.ad-pricing-guide__shape--content::after,
.ad-pricing-guide__shape--content-secondary::after,
.ad-pricing-guide__shape--sidebar::after,
.ad-pricing-guide__shape--sidebar-secondary::after {
    left: 8%;
    right: 12%;
    bottom: 10%;
    height: 56%;
}

.ad-pricing-guide__shape--sidebar::before,
.ad-pricing-guide__shape--sidebar-secondary::before {
    height: 14%;
}

.ad-pricing-guide__shape--sidebar::after,
.ad-pricing-guide__shape--sidebar-secondary::after {
    right: 10%;
    height: 62%;
}

.ad-pricing-guide__visual--site-header .ad-pricing-guide__shape--masthead,
.ad-pricing-guide__visual--site-footer .ad-pricing-guide__shape--masthead,
.ad-pricing-guide__visual--home .ad-pricing-guide__shape--masthead,
.ad-pricing-guide__visual--cms .ad-pricing-guide__shape--masthead,
.ad-pricing-guide__visual--news-list .ad-pricing-guide__shape--masthead,
.ad-pricing-guide__visual--news-detail .ad-pricing-guide__shape--masthead,
.ad-pricing-guide__visual--classifieds-list .ad-pricing-guide__shape--masthead,
.ad-pricing-guide__visual--classifieds-detail .ad-pricing-guide__shape--masthead {
    left: 5%;
    top: 6%;
    width: 90%;
    height: 8%;
    opacity: 1;
}

.ad-pricing-guide__visual--site-header .ad-pricing-guide__shape--content,
.ad-pricing-guide__visual--site-footer .ad-pricing-guide__shape--content {
    left: 5%;
    top: 54%;
    width: 58%;
    height: 24%;
    opacity: 1;
}

.ad-pricing-guide__visual--site-header .ad-pricing-guide__shape--sidebar,
.ad-pricing-guide__visual--site-footer .ad-pricing-guide__shape--sidebar {
    left: 67%;
    top: 54%;
    width: 28%;
    height: 24%;
    opacity: 1;
}

.ad-pricing-guide__visual--site-header .ad-pricing-guide__shape--footer,
.ad-pricing-guide__visual--site-footer .ad-pricing-guide__shape--footer,
.ad-pricing-guide__visual--home .ad-pricing-guide__shape--footer,
.ad-pricing-guide__visual--cms .ad-pricing-guide__shape--footer,
.ad-pricing-guide__visual--news-list .ad-pricing-guide__shape--footer,
.ad-pricing-guide__visual--news-detail .ad-pricing-guide__shape--footer,
.ad-pricing-guide__visual--classifieds-list .ad-pricing-guide__shape--footer,
.ad-pricing-guide__visual--classifieds-detail .ad-pricing-guide__shape--footer {
    left: 5%;
    top: 90%;
    width: 90%;
    height: 5%;
    opacity: 1;
}

.ad-pricing-guide__visual--site-header .ad-pricing-guide__shape--hero {
    left: 5%;
    top: 34%;
    width: 90%;
    height: 14%;
    opacity: 1;
}

.ad-pricing-guide__visual--site-footer .ad-pricing-guide__shape--band {
    left: 5%;
    top: 52%;
    width: 90%;
    height: 26%;
    opacity: 1;
}

.ad-pricing-guide__visual--home .ad-pricing-guide__shape--hero {
    left: 5%;
    top: 12%;
    width: 90%;
    height: 10%;
    opacity: 1;
}

.ad-pricing-guide__visual--home .ad-pricing-guide__shape--content {
    left: 5%;
    top: 33%;
    width: 90%;
    height: 16%;
    opacity: 1;
}

.ad-pricing-guide__visual--home .ad-pricing-guide__shape--band {
    left: 5%;
    top: 58%;
    width: 90%;
    height: 11%;
    opacity: 1;
}

.ad-pricing-guide__visual--cms .ad-pricing-guide__shape--hero {
    left: 5%;
    top: 12%;
    width: 90%;
    height: 10%;
    opacity: 1;
}

.ad-pricing-guide__visual--cms .ad-pricing-guide__shape--content {
    left: 5%;
    top: 30%;
    width: 60%;
    height: 48%;
    opacity: 1;
}

.ad-pricing-guide__visual--cms .ad-pricing-guide__shape--sidebar {
    left: 70%;
    top: 30%;
    width: 25%;
    height: 40%;
    opacity: 1;
}

.ad-pricing-guide__visual--news-list .ad-pricing-guide__shape--hero,
.ad-pricing-guide__visual--classifieds-list .ad-pricing-guide__shape--hero {
    left: 5%;
    top: 16%;
    width: 58%;
    height: 12%;
    opacity: 1;
}

.ad-pricing-guide__visual--news-list .ad-pricing-guide__shape--content,
.ad-pricing-guide__visual--classifieds-list .ad-pricing-guide__shape--content {
    left: 5%;
    top: 34%;
    width: 58%;
    height: 60%;
    opacity: 1;
}

.ad-pricing-guide__visual--news-list .ad-pricing-guide__shape--sidebar,
.ad-pricing-guide__visual--classifieds-list .ad-pricing-guide__shape--sidebar {
    left: 67%;
    top: 16%;
    width: 28%;
    height: 72%;
    opacity: 1;
}

.ad-pricing-guide__visual--news-detail .ad-pricing-guide__shape--content,
.ad-pricing-guide__visual--classifieds-detail .ad-pricing-guide__shape--content {
    left: 5%;
    top: 18%;
    width: 58%;
    height: 62%;
    opacity: 1;
}

.ad-pricing-guide__visual--news-detail .ad-pricing-guide__shape--sidebar,
.ad-pricing-guide__visual--classifieds-detail .ad-pricing-guide__shape--sidebar {
    left: 67%;
    top: 18%;
    width: 28%;
    height: 54%;
    opacity: 1;
}

.ad-pricing-guide__visual--news-detail .ad-pricing-guide__shape--band,
.ad-pricing-guide__visual--classifieds-detail .ad-pricing-guide__shape--band {
    left: 5%;
    top: 84%;
    width: 58%;
    height: 10%;
    opacity: 1;
}

.ad-pricing-guide__visual--mobile-phone .ad-pricing-guide__shape--masthead {
    left: 30%;
    top: 6%;
    width: 40%;
    height: 6%;
    opacity: 1;
}

.ad-pricing-guide__visual--mobile-phone .ad-pricing-guide__shape--content {
    left: 24%;
    top: 18%;
    width: 52%;
    height: 64%;
    opacity: 1;
}

.ad-pricing-guide__visual--mobile-phone .ad-pricing-guide__shape--content::before,
.ad-pricing-guide__visual--mobile-phone .ad-pricing-guide__shape--content::after {
    display: none;
}

.ad-pricing-guide__visual--mobile-phone .ad-pricing-guide__shape--content {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(241, 246, 252, 0.98) 100%);
}

.ad-pricing-guide__visual--mobile-phone .ad-pricing-guide__shape--footer {
    left: 32%;
    top: 88%;
    width: 36%;
    height: 3%;
    opacity: 1;
}

.ad-pricing-guide__visual.ad-pricing-guide__visual--mobile-phone {
    width: 100%;
    min-width: 0;
    margin: 0 auto;
}

body.ad-slot-picker-body--mobile .ad-cluster__split--desktop,
body.ad-slot-picker-body--mobile .ad-slot-shell--desktop-only,
body.ad-slot-picker-body--desktop .ad-cluster__mobile-stack,
body.ad-slot-picker-body--desktop .ad-slot-shell--mobile-only {
    display: none !important;
}

body.ad-slot-picker-body--mobile .ad-cluster__mobile-stack,
body.ad-slot-picker-body--mobile .ad-slot-shell--mobile-only {
    display: grid !important;
}

.ad-pricing-guide__slot {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    border-radius: 18px;
    text-decoration: none;
    overflow: visible;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.ad-pricing-guide__slot::before {
    position: absolute;
    inset: 6px;
    z-index: 1;
    border: 3px solid var(--guide-accent);
    border-radius: 14px;
    background:
        repeating-linear-gradient(
            -45deg,
            color-mix(in srgb, var(--guide-accent) 16%, white 84%) 0 0.9rem,
            rgba(255, 255, 255, 0.96) 0.9rem 1.8rem
        ),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, color-mix(in srgb, var(--guide-accent) 12%, white 88%) 100%);
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.98),
        0 12px 22px var(--guide-shadow);
    content: "";
    pointer-events: none;
}

.ad-pricing-guide__slot::after {
    position: absolute;
    inset: 14px;
    z-index: 1;
    border: 1px dashed var(--guide-accent-fill);
    border-radius: 11px;
    content: "";
    pointer-events: none;
}

.ad-pricing-guide__slot--compact::before {
    inset: 5px;
}

.ad-pricing-guide__slot--compact::after {
    inset: 11px;
}

.ad-pricing-guide__slot--micro::before {
    inset: 4px;
}

.ad-pricing-guide__slot--micro::after {
    inset: 8px;
}

.ad-pricing-guide__pin {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    min-width: 2.65rem;
    min-height: 2.65rem;
    padding: 0.18rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 14px 24px rgba(18, 53, 85, 0.18),
        0 0 0 6px rgba(255, 255, 255, 0.86);
    transform: translate(-50%, -50%);
}

.ad-pricing-guide__slot--compact .ad-pricing-guide__pin {
    min-width: 2.2rem;
    min-height: 2.2rem;
}

.ad-pricing-guide__slot--micro .ad-pricing-guide__pin {
    min-width: 1.75rem;
    min-height: 1.75rem;
    padding: 0.1rem;
    box-shadow:
        0 10px 16px rgba(18, 53, 85, 0.16),
        0 0 0 4px rgba(255, 255, 255, 0.82);
}

.ad-pricing-guide__slot-index {
    display: inline-grid;
    place-items: center;
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 999px;
    border: 2px solid rgba(23, 50, 77, 0.14);
    background: var(--guide-pin-bg);
    color: var(--guide-pin-text);
    font-size: 0.94rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ad-pricing-guide__slot--compact .ad-pricing-guide__slot-index {
    width: 1.72rem;
    height: 1.72rem;
    font-size: 0.76rem;
}

.ad-pricing-guide__slot--micro .ad-pricing-guide__slot-index {
    width: 1.34rem;
    height: 1.34rem;
    font-size: 0.64rem;
}

.ad-pricing-guide__slot:hover,
.ad-pricing-guide__slot:focus-visible {
    transform: translateY(-1px);
    filter: saturate(1.04);
}

.ad-pricing-guide__slot:hover::before,
.ad-pricing-guide__slot:focus-visible::before {
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.98),
        0 16px 28px var(--guide-shadow);
}

.ad-pricing-guide__slot span,
.ad-pricing-guide__slot small,
.ad-pricing-guide__fallback-slot span,
.ad-pricing-guide__fallback-slot small {
    color: var(--jelonka-ink-soft);
    line-height: 1.15;
}

.ad-pricing-guide__slot span,
.ad-pricing-guide__fallback-slot span {
    font-size: 0.72rem;
}

.ad-pricing-guide__slot small,
.ad-pricing-guide__fallback-slot small {
    font-size: 0.68rem;
}

.ad-pricing-guide__slot--micro small {
    display: none;
}

.ad-pricing-guide__fallback-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ad-pricing-guide__fallback-slot {
    display: grid;
    gap: 0.18rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 97, 162, 0.08), rgba(190, 86, 0, 0.08));
    color: var(--jelonka-ink);
    text-decoration: none;
}

.ad-pricing-guide__fallback-slot strong {
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .ad-pricing-page__hero {
        grid-template-columns: 1fr;
    }

    .ad-pricing-guide__canvas {
        padding: 0.85rem;
    }

    .ad-pricing-guide__visual {
        min-width: 760px;
    }

    .ad-pricing-guide__visual.ad-pricing-guide__visual--mobile-phone {
        min-width: 0;
    }

    .ad-pricing-table__slot-head {
        gap: 0.65rem;
    }

    .ad-pricing-table__index {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 0.8rem;
    }
}

.context-return {
    position: relative;
    z-index: 6;
    border-bottom: 1px solid rgba(23, 19, 15, 0.06);
    background:
        linear-gradient(90deg, rgba(159, 70, 9, 0.08), rgba(255, 255, 255, 0) 28%),
        rgba(245, 245, 242, 0.92);
}

.context-return__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: var(--portal-container);
    max-width: none;
    margin: 0 auto;
    padding: 0.32rem 0;
}

.context-return__links {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-width: 0;
}

.context-return__link {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    max-width: min(100%, 38rem);
    padding: 0.38rem 0.64rem;
    border: 1px solid var(--portal-hairline);
    border-left: 3px solid var(--portal-accent-dark);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--portal-ink);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(23, 19, 15, 0.05);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.context-return__link:hover,
.context-return__link:focus {
    border-color: rgba(159, 70, 9, 0.34);
    border-left-color: var(--portal-accent);
    color: var(--portal-accent-dark);
    box-shadow: 0 12px 24px rgba(23, 19, 15, 0.08);
    transform: translateY(-1px);
}

.context-return__link--secondary {
    border-left-color: rgba(159, 70, 9, 0.42);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: none;
}

.context-return__link:focus-visible {
    outline: 3px solid rgba(201, 95, 19, 0.28);
    outline-offset: 3px;
}

.context-return__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: #f7eee5;
    color: var(--portal-accent-dark);
}

.context-return__icon svg {
    width: 0.92rem;
    height: 0.92rem;
    fill: currentColor;
}

.context-return__copy {
    display: grid;
    gap: 0.04rem;
    min-width: 0;
}

.context-return__label {
    overflow: hidden;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.05;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.context-return__helper {
    overflow: hidden;
    color: var(--portal-muted);
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.context-return__link:hover .context-return__helper,
.context-return__link:focus .context-return__helper {
    color: var(--portal-accent-dark);
}

.context-return__title {
    overflow: hidden;
    flex: 0 1 min(34rem, 42vw);
    min-width: 6rem;
    margin-left: auto;
    padding: 0.08em 0;
    color: var(--portal-ink);
    font-family: var(--portal-heading-font);
    font-size: clamp(0.98rem, 1.55vw, 1.32rem);
    font-weight: 900;
    line-height: 1.08;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .context-return__inner {
        width: min(100% - 1rem, 1320px);
        padding: 0.34rem 0;
    }

    .context-return__links {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
        width: 100%;
    }

    .context-return__link {
        width: 100%;
        max-width: none;
        gap: 0.5rem;
        padding: 0.46rem 0.56rem;
        border-radius: 0.72rem;
    }

    .context-return__icon {
        width: 1.6rem;
        height: 1.6rem;
    }

    .context-return__label {
        font-size: 0.72rem;
    }

    .context-return__helper {
        font-size: 0.6rem;
    }

    .context-return__title {
        flex-basis: 100%;
        max-width: 100%;
        order: -1;
        text-align: left;
    }
}

.page-shell.home-page {
    width: var(--portal-container);
    max-width: none;
    margin: 0 auto;
    padding: 1.25rem 0 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
}

.home-page > * {
    min-width: 0;
}

.home-page > .cms-home-hero,
.home-page > .ad-slot-shell,
.home-page > .cms-link-panel,
.home-page > .cms-news-section--lead_grid,
.home-page > .cms-camera-widget--full {
    grid-column: 1 / -1;
}

.home-page > .cms-news-section--compact,
.home-page > .cms-camera-widget--compact,
.home-page > .cms-weather-section,
.home-page > .classifieds-widget-section,
.home-page > .news-home-poll-widget {
    grid-column: span 1;
}

.home-page > .cms-news-section--half,
.home-page > .cms-camera-widget--half,
.home-page > .cms-obituary-section {
    grid-column: span 2;
}

.home-page .container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.home-page .cms-home-section {
    padding: 0;
}

.cms-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(22rem, 0.88fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    box-shadow: 0 18px 45px rgba(32, 28, 23, 0.06);
}

.cms-home-hero__media {
    min-height: 430px;
    border-radius: 0;
    background: #d9d5cc;
    box-shadow: none;
    grid-area: auto;
}

.cms-home-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-home-hero__copy {
    display: flex;
    min-height: 430px;
    padding: clamp(2rem, 4vw, 4rem);
    border: 0;
    border-radius: 0;
    background: var(--portal-surface);
    box-shadow: none;
    color: var(--portal-ink);
    flex-direction: column;
    justify-content: center;
    grid-area: auto;
}

.cms-home-hero__copy h1 {
    max-width: 11ch;
    margin: 0 0 1rem;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.45rem, 4.4vw, 4.05rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.cms-home-hero__copy p {
    max-width: 44ch;
    margin: 0 0 1.15rem;
    color: #57524b;
    font-size: 1.02rem;
    line-height: 1.65;
}

.cms-home-card__meta {
    display: flex;
    margin-bottom: 1.2rem;
    color: var(--portal-accent);
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.6rem;
    letter-spacing: 0;
}

.cms-home-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.cms-home-actions .btn,
.cms-home-section__header .btn,
.classifieds-widget-section__cta,
.news-home-poll-widget__cta {
    border: 1px solid var(--portal-accent);
    border-radius: var(--portal-radius);
    background: var(--portal-accent);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: none;
}

.cms-home-actions .btn:hover,
.cms-home-actions .btn:focus,
.cms-home-section__header .btn:hover,
.cms-home-section__header .btn:focus,
.classifieds-widget-section__cta:hover,
.classifieds-widget-section__cta:focus,
.news-home-poll-widget__cta:hover,
.news-home-poll-widget__cta:focus {
    border-color: var(--portal-accent-dark);
    background: var(--portal-accent-dark);
    color: #ffffff;
}

.home-page > .ad-slot-shell {
    padding: 0;
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: #f0efeb;
    box-shadow: none;
}

.home-page > .ad-slot-shell .ad-slot {
    min-height: 58px;
}

.home-page > .ad-slot-shell .ad-slot__frame,
.home-page > .ad-slot-shell .ad-slot__placeholder {
    border: 0;
    border-radius: var(--portal-radius);
    background: #f0efeb;
    color: #7a756d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cms-news-section--compact .cms-home-section__inner,
.cms-news-section--half .cms-home-section__inner,
.home-page > .cms-camera-widget .cms-camera-widget__inner,
.home-page > .cms-weather-section .cms-weather-section__inner,
.home-page > .classifieds-widget-section .classifieds-widget-section__inner,
.home-page > .news-home-poll-widget .news-home-poll-widget__inner {
    height: 100%;
    padding: 1.2rem;
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    box-shadow: none;
}

.cms-home-section__header,
.cms-camera-widget__header,
.classifieds-widget-section__header,
.news-home-poll-widget__header {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cms-home-section__header h2,
.cms-camera-widget__header h2,
.classifieds-widget-section__header h2,
.news-home-poll-widget__copy h2,
.cms-weather-section__copy h2 {
    margin: 0;
    color: var(--portal-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.93rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cms-home-section__header p,
.cms-camera-widget__header p,
.classifieds-widget-section__copy p,
.news-home-poll-widget__copy p,
.cms-weather-section__copy > p {
    margin: 0.45rem 0 0;
    color: var(--portal-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.cms-camera-widget__inner {
    display: flex;
    min-height: 100%;
    flex-direction: column;
}

.cms-camera-widget__header {
    padding-left: 0.82rem;
    border-left: 3px solid var(--portal-accent);
}

.cms-camera-widget a {
    color: inherit;
    text-decoration: none;
}

.cms-camera-widget__body {
    min-width: 0;
}

.cms-camera-widget__lead,
.cms-camera-widget__item {
    overflow: hidden;
    border: 1px solid var(--portal-hairline-soft);
    border-radius: calc(var(--portal-radius) - 4px);
    background: #fffdf9;
}

.cms-camera-widget__lead a,
.cms-camera-widget__item a {
    position: relative;
    display: block;
    min-height: 100%;
}

.cms-camera-widget__media,
.cms-camera-widget__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e6e9e7;
}

.cms-camera-widget__media img,
.cms-camera-widget__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-camera-widget__status {
    position: absolute;
    top: 0.62rem;
    right: 0.62rem;
    z-index: 1;
    padding: 0.25rem 0.45rem;
    border-radius: 4px;
    background: #cf160f;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
}

.cms-camera-widget__status--stale {
    background: #2f3330;
}

.cms-camera-widget__caption,
.cms-camera-widget__item-body {
    display: block;
    min-width: 0;
}

.cms-camera-widget strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.08;
}

.cms-camera-widget time {
    display: block;
    margin-top: 0.28rem;
    color: var(--portal-muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
}

.cms-camera-widget time::before {
    content: "";
    display: inline-block;
    width: 0.72rem;
    height: 0.72rem;
    margin-right: 0.32rem;
    background: currentColor;
    vertical-align: -0.12rem;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cms-camera-widget__footer {
    display: flex;
    margin-top: auto;
    padding-top: 1rem;
    justify-content: flex-end;
}

.cms-camera-widget__footer-link {
    display: inline-flex;
    min-height: 2.1rem;
    padding: 0.42rem 0;
    color: var(--portal-ink);
    font-size: 0.84rem;
    font-weight: 850;
    gap: 0.75rem;
    align-items: center;
    text-decoration: none;
}

.cms-camera-widget__footer-link span:last-child {
    color: #d71920;
    font-size: 1.35rem;
    line-height: 1;
}

.cms-camera-widget--full .cms-camera-widget__inner {
    padding: 1.2rem;
}

.cms-camera-widget--full .cms-camera-widget__body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.58fr) minmax(0, 0.58fr);
    grid-auto-rows: minmax(9.2rem, auto);
    gap: 0.75rem;
}

.cms-camera-widget--full .cms-camera-widget__inner {
    display: flex;
    flex-direction: column;
}

.cms-camera-widget--full .cms-camera-widget__footer {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--portal-hairline-soft);
}

.cms-camera-widget--full .cms-camera-widget__lead {
    grid-row: span 2;
}

.cms-camera-widget--full .cms-camera-widget__media,
.cms-camera-widget--full .cms-camera-widget__thumb {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.cms-camera-widget--full .cms-camera-widget__caption,
.cms-camera-widget--full .cms-camera-widget__item-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 3.3rem 1rem 0.95rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
    color: #ffffff;
}

.cms-camera-widget--full .cms-camera-widget__caption strong {
    color: #ffffff;
    font-size: clamp(1.85rem, 3.2vw, 2.35rem);
}

.cms-camera-widget--full .cms-camera-widget__item strong {
    color: #ffffff;
    font-size: 1.08rem;
}

.cms-camera-widget--full time {
    color: rgba(255, 255, 255, 0.92);
}

.cms-camera-widget--half .cms-camera-widget__lead,
.cms-camera-widget--compact .cms-camera-widget__lead {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.cms-camera-widget--half .cms-camera-widget__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.cms-camera-widget--half .cms-camera-widget__lead,
.cms-camera-widget--half .cms-camera-widget__item--promoted {
    border: 1px solid var(--portal-hairline-soft);
    border-radius: calc(var(--portal-radius) - 4px);
    background: #fffdf9;
}

.cms-camera-widget--half .cms-camera-widget__media,
.cms-camera-widget--half .cms-camera-widget__item--promoted .cms-camera-widget__thumb {
    width: 100%;
    aspect-ratio: 1.78;
}

.cms-camera-widget--half .cms-camera-widget__caption,
.cms-camera-widget--half .cms-camera-widget__item--promoted .cms-camera-widget__item-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2rem 0.72rem 0.72rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.74));
    color: #ffffff;
}

.cms-camera-widget--half .cms-camera-widget__caption strong,
.cms-camera-widget--half .cms-camera-widget__item--promoted strong {
    color: #ffffff;
    font-size: 1rem;
}

.cms-camera-widget--half .cms-camera-widget__caption time,
.cms-camera-widget--half .cms-camera-widget__item--promoted time {
    color: rgba(255, 255, 255, 0.92);
}

.cms-camera-widget--half .cms-camera-widget__item:not(.cms-camera-widget__item--promoted) a {
    display: grid;
    grid-template-columns: 5.2rem minmax(0, 1fr);
    min-height: 3.65rem;
}

.cms-camera-widget--half .cms-camera-widget__item:not(.cms-camera-widget__item--promoted) .cms-camera-widget__thumb {
    height: 100%;
}

.cms-camera-widget--half .cms-camera-widget__item:not(.cms-camera-widget__item--promoted) .cms-camera-widget__item-body {
    min-width: 0;
    padding: 0.54rem 0.6rem;
}

.cms-camera-widget--half .cms-camera-widget__item:not(.cms-camera-widget__item--promoted) strong {
    overflow: hidden;
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cms-camera-widget--half .cms-camera-widget__item:not(.cms-camera-widget__item--promoted) time {
    font-size: 0.72rem;
}

.cms-camera-widget--half .cms-camera-widget__footer-link {
    min-height: 1.8rem;
    font-size: 0.78rem;
}

.cms-camera-widget--compact .cms-camera-widget__lead {
    margin-bottom: 0.2rem;
}

.cms-camera-widget--compact .cms-camera-widget__lead a,
.cms-camera-widget--compact .cms-camera-widget__item a {
    display: grid;
    grid-template-columns: 5.2rem minmax(0, 1fr);
    gap: 0.6rem;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--portal-hairline-soft);
}

.cms-camera-widget--compact .cms-camera-widget__media,
.cms-camera-widget--compact .cms-camera-widget__thumb {
    width: 5.2rem;
    aspect-ratio: 1.6;
    border-radius: 4px;
}

.cms-camera-widget--compact .cms-camera-widget__caption,
.cms-camera-widget--compact .cms-camera-widget__item-body {
    min-width: 0;
    padding: 0;
}

.cms-camera-widget--compact strong {
    overflow: hidden;
    font-size: 0.98rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cms-camera-widget--compact time {
    font-size: 0.72rem;
}

.cms-camera-widget--compact .cms-camera-widget__status {
    top: 0.28rem;
    right: 0.28rem;
    padding: 0.18rem 0.32rem;
    font-size: 0.56rem;
}

.cms-camera-widget--compact .cms-camera-widget__footer {
    padding-top: 0.55rem;
}

.cms-camera-widget--compact .cms-camera-widget__footer-link {
    min-height: 1.6rem;
    font-size: 0.78rem;
}

.cms-news-section--compact .cms-home-section__header .btn,
.cms-news-section--half .cms-home-section__header .btn,
.home-page > .classifieds-widget-section .classifieds-widget-section__cta,
.home-page > .news-home-poll-widget .news-home-poll-widget__cta {
    display: none;
}

.cms-news-section__footer {
    display: none;
}

.cms-news-section--compact .cms-news-section__footer,
.cms-news-section--compact .cms-news-section__footer,
.cms-news-section--half .cms-news-section__footer {
    display: flex;
    margin-top: 1rem;
    justify-content: center;
}

.cms-news-section__footer-link {
    display: inline-flex;
    min-height: 2.55rem;
    padding: 0.68rem 1.25rem;
    border: 1px solid var(--portal-accent);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--portal-accent), var(--portal-accent-dark));
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    gap: 0.45rem;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(207, 73, 15, 0.18);
}

.cms-news-section__footer-link:hover,
.cms-news-section__footer-link:focus {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.cms-news-section--compact .cms-news-section__footer {
    margin-top: 0.75rem;
}

.cms-news-section--compact .cms-news-section__footer-link {
    min-height: 2.15rem;
    padding: 0.52rem 0.95rem;
    font-size: 0.68rem;
    box-shadow: 0 8px 18px rgba(207, 73, 15, 0.14);
}

.cms-news-section--compact .cms-news-section__grid,
.cms-news-section--compact .cms-news-section__list {
    display: block;
}

.cms-news-section--half .cms-news-section__grid {
    display: block;
}

.cms-news-section--half .cms-news-section__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.cms-news-section--compact .cms-news-card {
    border: 0;
    border-bottom: 1px solid var(--portal-hairline-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cms-news-section--compact .cms-news-card:last-child {
    border-bottom: 0;
}

.cms-news-section--compact .cms-news-card a {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0.62rem 0;
    color: inherit;
}

.cms-news-section--compact .cms-news-card__media {
    display: none;
}

.cms-news-section--compact .cms-news-card__body {
    display: block;
    padding: 0;
}

.cms-news-section--compact .cms-news-card strong {
    display: block;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.25;
}

.cms-news-section--compact .cms-home-card__meta {
    margin: 0.25rem 0 0;
    font-size: 0.72rem;
}

.cms-news-section--compact-feature .cms-news-card {
    overflow: hidden;
    border: 1px solid var(--portal-hairline-soft);
    border-radius: calc(var(--portal-radius) - 4px);
    background: #fffdf9;
}

.cms-news-section--compact-feature .cms-news-card a {
    display: flex;
    padding: 0;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
}

.cms-news-section--compact-feature .cms-news-card__media {
    display: block !important;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 1.55;
    background: #e9e4db;
}

.cms-news-section--compact-feature .cms-news-card__media img,
.cms-news-section--compact-feature .cms-news-card__media .news-card__video,
.cms-news-section--compact-feature .cms-news-card__media .news-card__video > img {
    width: 100%;
    height: 100%;
}

.cms-news-section--compact-feature .cms-news-card__media img,
.cms-news-section--compact-feature .cms-news-card__media .news-card__video > img {
    object-fit: cover;
}

.cms-news-section--compact-feature .cms-news-card__body {
    padding: 0.85rem;
}

.cms-news-section--compact-feature .cms-news-card strong {
    font-size: clamp(1.04rem, 2.2vw, 1.24rem);
    line-height: 1.14;
}

.cms-news-section--compact-feature .cms-home-card__meta {
    margin: 0 0 0.4rem;
}

.cms-news-section--half .cms-news-card {
    overflow: hidden;
    border: 1px solid var(--portal-hairline-soft);
    border-radius: calc(var(--portal-radius) - 4px);
    background: #fffdf9;
    box-shadow: none;
}

.cms-news-section--half .cms-news-card a {
    display: flex;
    min-height: 100%;
    color: inherit;
    flex-direction: column;
    text-decoration: none;
}

.cms-news-section--half .cms-news-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.55;
    border-radius: 0;
    background: #e9e4db;
}

.cms-news-section--half .cms-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-news-section--half .cms-news-card__body {
    display: block;
    padding: 0.75rem;
}

.cms-news-section--half .cms-home-card__meta {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
}

.cms-news-section--half .cms-news-card strong {
    display: block;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.22;
}

.cms-news-section--half .cms-news-card--cta {
    border-color: rgba(207, 73, 15, 0.28);
    background:
        radial-gradient(circle at 88% 12%, rgba(207, 73, 15, 0.15), transparent 34%),
        linear-gradient(135deg, #fff7ee, #fffdf9 58%, #f7eadf);
}

.cms-news-section--half .cms-news-card--cta a {
    min-height: 100%;
    padding: 1.05rem;
    justify-content: center;
    text-decoration: none;
}

.cms-news-card__cta-eyebrow {
    color: var(--portal-accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cms-news-section--half .cms-news-card--cta strong {
    max-width: 11rem;
    margin-top: 0.4rem;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    line-height: 1.05;
}

.cms-news-card__cta-arrow {
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    margin-top: 0.9rem;
    border-radius: 999px;
    background: var(--portal-accent);
    color: #ffffff;
    font-weight: 900;
    align-items: center;
    justify-content: center;
}

.home-page > .cms-weather-section .cms-weather-section__inner {
    display: block;
}

.home-page > .cms-weather-section .cms-weather-section__media {
    display: none;
}

.cms-weather-now {
    display: grid;
    margin: 1.1rem 0;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0 0.8rem;
}

.cms-weather-now strong {
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.05rem;
    font-weight: 400;
    line-height: 1;
    grid-row: span 2;
}

.cms-weather-now span {
    color: var(--portal-muted);
    font-size: 0.85rem;
}

.cms-weather-details {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 0 1rem;
    border-top: 1px solid var(--portal-hairline-soft);
}

.cms-weather-details div {
    display: flex;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--portal-hairline-soft);
    justify-content: space-between;
    gap: 0.75rem;
}

.cms-weather-details dt,
.cms-weather-details dd {
    margin: 0;
    color: var(--portal-muted);
    font-size: 0.78rem;
}

.home-page > .cms-weather-section .btn {
    border: 0;
    background: transparent;
    color: var(--portal-ink);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0;
    text-transform: uppercase;
}

.home-page > .classifieds-widget-section .classifieds-widget-section__layout {
    display: block;
}

.home-page > .classifieds-widget-section .classifieds-widget-section__media {
    display: none;
}

.home-page > .classifieds-widget-section .classifieds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.home-page > .classifieds-widget-section .classifieds-card {
    border: 0;
    border-bottom: 1px solid var(--portal-hairline-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-page > .classifieds-widget-section .classifieds-card:last-child {
    border-bottom: 0;
}

.home-page > .classifieds-widget-section .classifieds-card__link {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.7rem 0;
    color: inherit;
}

.home-page > .classifieds-widget-section .classifieds-card__media {
    display: block;
    aspect-ratio: 1.32;
}

.home-page > .classifieds-widget-section .classifieds-card__media-frame {
    height: 100%;
    border-radius: var(--portal-radius);
    background: #eeeae3;
}

.home-page > .classifieds-widget-section .classifieds-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page > .classifieds-widget-section .classifieds-card__body {
    padding: 0;
}

.home-page > .classifieds-widget-section .classifieds-card__badges,
.home-page > .classifieds-widget-section .classifieds-card__meta-date {
    display: none;
}

.home-page > .classifieds-widget-section .classifieds-card h2 {
    margin: 0 0 0.35rem;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
}

.home-page > .classifieds-widget-section .classifieds-card__meta {
    display: grid;
    gap: 0.15rem;
    color: var(--portal-muted);
    font-size: 0.74rem;
}

.home-page > .classifieds-widget-section .classifieds-card__meta-price {
    color: var(--portal-accent);
    font-size: 0.92rem;
    font-weight: 900;
    order: -1;
}

.home-page > .news-home-poll-widget .news-home-poll-widget__header {
    display: block;
}

.home-page > .news-home-poll-widget .news-home-poll-widget__mascot,
.home-page > .news-home-poll-widget .news-poll-card__article {
    display: none;
}

.home-page > .news-home-poll-widget .news-panel,
.home-page > .news-home-poll-widget .news-poll-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-page > .news-home-poll-widget .news-poll-card h3 {
    margin: 0 0 0.85rem;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.02rem;
    line-height: 1.3;
}

.home-page > .news-home-poll-widget .news-poll-card__copy p {
    color: var(--portal-muted);
    font-size: 0.8rem;
}

.home-page > .news-home-poll-widget .news-poll-options {
    display: grid;
    gap: 0.45rem;
}

.home-page > .news-home-poll-widget .news-poll-option button {
    width: 100%;
    padding: 0.2rem 0;
    border: 0;
    background: transparent;
    color: var(--portal-muted);
    text-align: left;
}

.home-page > .news-home-poll-widget .news-poll-option__content {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    gap: 0.45rem;
}

.home-page > .news-home-poll-widget .news-poll-option__index {
    width: 0.72rem;
    height: 0.72rem;
    margin-top: 0.16rem;
    border: 1px solid #c7c2b7;
    border-radius: 50%;
    color: transparent;
}

.home-page > .news-home-poll-widget .news-poll-option__label {
    font-size: 0.8rem;
    line-height: 1.35;
}

.home-page > .cms-link-panel .cms-link-panel__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    box-shadow: none;
}

.home-page > .cms-link-panel .cms-link-panel__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.home-page > .cms-link-panel .cms-link-tile {
    min-height: 76px;
    padding: 1rem 1.15rem;
    border: 0;
    border-right: 1px solid var(--portal-hairline-soft);
    border-radius: 0;
    background: var(--portal-surface);
    color: var(--portal-ink);
    box-shadow: none;
}

.home-page > .cms-link-panel .cms-link-tile:last-child {
    border-right: 0;
}

.home-page > .cms-link-panel .cms-link-tile strong {
    color: var(--portal-ink);
    font-size: 0.88rem;
    font-weight: 800;
}

.home-page > .cms-link-panel .cms-link-tile span {
    color: var(--portal-muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

.cms-news-section--lead_grid .cms-home-section__inner,
.cms-obituary-section .cms-home-section__inner {
    padding: 1.25rem;
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    box-shadow: none;
}

.cms-news-section--lead_grid .cms-home-section__header {
    margin-bottom: 1.15rem;
}

.cms-news-section--lead_grid .cms-news-section__grid {
    display: grid;
    grid-template-columns: 1.25fr 2fr;
    gap: 1.1rem;
}

.cms-news-section--lead_grid .cms-news-section__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.cms-news-section--lead_grid .cms-news-section__list--continuation {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cms-news-section--lead_grid .cms-news-card {
    overflow: hidden;
    border: 1px solid var(--portal-hairline-soft);
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    box-shadow: none;
}

.cms-news-section--lead_grid .cms-news-card a {
    display: block;
    color: inherit;
}

.cms-news-section--lead_grid .cms-news-card__media {
    display: block;
    aspect-ratio: 1.55;
    background: #e9e4db;
}

.cms-news-section--lead_grid .cms-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-news-section--lead_grid .cms-news-card__body {
    padding: 0.95rem;
    padding-top: 0.65rem;
}

.cms-news-section--lead_grid .cms-news-card strong {
    display: block;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.28;
}

.cms-news-section--lead_grid .cms-news-card--lead strong {
    font-size: 1.25rem;
}

.cms-news-section--lead_grid .cms-news-card__body > span:not(.cms-home-card__meta) {
    display: block;
    margin-top: 0.55rem;
    color: var(--portal-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.cms-obituary-list {
    display: grid;
    gap: 0;
}

.cms-obituary-card {
    border-bottom: 1px solid var(--portal-hairline-soft);
}

.cms-obituary-card:last-child {
    border-bottom: 0;
}

.cms-obituary-card a {
    display: block;
    padding: 0.9rem 0;
    color: inherit;
}

.cms-obituary-card strong {
    display: block;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.25;
}

.cms-obituary-card a > span:not(.cms-home-card__meta):not(.cms-obituary-card__media) {
    display: block;
    margin-top: 0.4rem;
    color: var(--portal-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.site-footer {
    border-top: 0;
    background: #20272b;
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__inner {
    width: var(--portal-container);
    max-width: none;
}

.site-footer__brand {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0;
}

@media (max-width: 1199.98px) {
    .page-shell.home-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page > .cms-news-section--compact,
    .home-page > .cms-news-section--half,
    .home-page > .cms-camera-widget--half,
    .home-page > .cms-camera-widget--compact,
    .home-page > .cms-weather-section,
    .home-page > .classifieds-widget-section,
    .home-page > .news-home-poll-widget,
    .home-page > .cms-obituary-section {
        grid-column: span 1;
    }

    .cms-home-hero__inner {
        grid-template-columns: 1fr;
    }

    .cms-home-hero__media,
    .cms-home-hero__copy {
        min-height: 330px;
    }

    .cms-news-section--lead_grid .cms-news-section__grid {
        grid-template-columns: 1fr;
    }

    .cms-camera-widget--full .cms-camera-widget__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .cms-camera-widget--full .cms-camera-widget__lead {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

@media (max-width: 991.98px) {
    .navbar-jelonka .container {
        width: min(100% - 1rem, 1320px);
    }

    .navbar-jelonka__collapse {
        margin-top: 0.6rem;
        border: 1px solid var(--portal-hairline);
        border-radius: var(--portal-radius);
        background: var(--portal-surface);
        box-shadow: 0 18px 40px rgba(32, 28, 23, 0.12);
    }

    .navbar-jelonka .nav-link {
        padding: 0.8rem 1rem;
        text-align: left;
    }

    .home-page > .cms-link-panel .cms-link-panel__links,
    .cms-news-section--lead_grid .cms-news-section__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    :root {
        --portal-container: min(100% - 1rem, 1320px);
    }

    .page-shell.home-page {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 0.8rem;
    }

    .home-page > .cms-news-section--compact,
    .home-page > .cms-news-section--half,
    .home-page > .cms-camera-widget--full,
    .home-page > .cms-camera-widget--half,
    .home-page > .cms-camera-widget--compact,
    .home-page > .cms-weather-section,
    .home-page > .classifieds-widget-section,
    .home-page > .news-home-poll-widget,
    .home-page > .cms-obituary-section {
        grid-column: 1 / -1;
    }

    .cms-camera-widget--full .cms-camera-widget__body,
    .cms-camera-widget--half .cms-camera-widget__body {
        grid-template-columns: 1fr;
    }

    .cms-home-hero__inner {
        position: relative;
        display: block;
    }

    .cms-home-hero__media {
        min-height: 390px;
    }

    .cms-home-hero__copy {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 0;
        padding: 1rem;
        background: linear-gradient(180deg, rgba(18, 16, 13, 0), rgba(18, 16, 13, 0.88) 32%, rgba(18, 16, 13, 0.94));
        color: #ffffff;
    }

    .cms-home-hero__copy h1 {
        max-width: 11ch;
        color: #ffffff;
        font-size: clamp(1.9rem, 10vw, 3rem);
        line-height: 1.02;
    }

    .cms-home-hero__copy p {
        display: none;
    }

    .cms-home-hero__copy .cms-home-card__meta {
        color: #f4b474;
    }

    .home-page > .cms-link-panel .cms-link-panel__links,
    .cms-news-section--half .cms-news-section__list,
    .cms-news-section--lead_grid .cms-news-section__list {
        grid-template-columns: 1fr;
    }

    .home-page > .cms-link-panel .cms-link-tile {
        border-right: 0;
        border-bottom: 1px solid var(--portal-hairline-soft);
    }

    .home-page > .cms-link-panel .cms-link-tile:last-child {
        border-bottom: 0;
    }
}

.classifieds-form__field.is-focused-error {
    animation: classifiedsErrorFocus 1.8s ease;
}

.classifieds-form__field small {
    color: var(--jelonka-ink-soft);
}

.classifieds-form__field--category > label {
    margin-bottom: 0.35rem;
}

.classifieds-category-picker {
    display: grid;
    gap: 1rem;
}

.classifieds-category-picker__step {
    display: grid;
    gap: 0.65rem;
}

.classifieds-category-picker__heading {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--jelonka-ink);
}

.classifieds-category-picker__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
}

.classifieds-category-picker__grid--children {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (min-width: 1400px) {
    .classifieds-category-picker__grid,
    .classifieds-category-picker__grid--children {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .classifieds-category-picker--browser .classifieds-category-picker__grid,
    .classifieds-category-picker--browser .classifieds-category-picker__grid--children {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.classifieds-category-picker__card {
    position: relative;
    display: grid;
    gap: 0.3rem;
    justify-items: start;
    align-content: center;
    min-height: 5.2rem;
    padding: 1rem 3.75rem 1rem 1.1rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 250, 0.96) 100%);
    box-shadow: 0 14px 28px rgba(23, 33, 38, 0.04);
    color: var(--jelonka-ink);
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.classifieds-category-picker__card:hover {
    border-color: rgba(20, 97, 162, 0.32);
    box-shadow: 0 18px 36px rgba(20, 97, 162, 0.10);
    transform: translateY(-1px);
}

.classifieds-category-picker__card:focus-visible {
    outline: 0;
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(20, 97, 162, 0.16);
}

.classifieds-category-picker__card.is-active {
    border-color: rgba(20, 97, 162, 0.55);
    background: linear-gradient(180deg, rgba(240, 246, 255, 0.98) 0%, rgba(230, 237, 247, 0.94) 100%);
    box-shadow: 0 20px 38px rgba(20, 97, 162, 0.13);
}

.classifieds-category-picker__card--child {
    min-height: 4.7rem;
}

.classifieds-category-picker--submission {
    gap: 0.55rem;
}

.classifieds-category-picker__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    align-items: center;
    color: var(--jelonka-ink-soft);
    font-size: 0.82rem;
    line-height: 1.2;
}

.classifieds-category-picker__field-label {
    margin: 0;
    color: var(--jelonka-ink);
    font-size: 0.9rem;
    font-weight: 850;
}

.classifieds-category-picker__topline-hint {
    font-weight: 650;
}

.classifieds-category-picker__legend {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    align-items: center;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--jelonka-ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.classifieds-category-picker__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.classifieds-category-picker__legend-coin {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.18rem;
    height: 1.18rem;
    flex: 0 0 auto;
}

.classifieds-category-picker__legend-coin img {
    width: 1.18rem;
    height: 1.18rem;
    border-radius: 50%;
    object-fit: cover;
}

.classifieds-category-picker__legend-slash {
    position: absolute;
    width: 1.34rem;
    height: 0.15rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(184, 45, 45, 0.15) 0%, rgba(184, 45, 45, 0.95) 18%, rgba(184, 45, 45, 0.95) 82%, rgba(184, 45, 45, 0.15) 100%);
    transform: rotate(-38deg);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.classifieds-category-picker__layout {
    display: grid;
    grid-template-columns: minmax(12.5rem, 0.74fr) minmax(0, 1.65fr);
    gap: 0.7rem;
    align-items: stretch;
}

.classifieds-category-picker__panel {
    min-width: 0;
    border: 1px solid rgba(23, 33, 38, 0.1);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.classifieds-category-picker__panel--roots {
    background: rgba(246, 248, 251, 0.72);
}

.classifieds-category-picker__panel-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.45rem;
    align-items: center;
    padding: 0.52rem 0.68rem;
    border-bottom: 1px solid rgba(23, 33, 38, 0.09);
}

.classifieds-category-picker__panel-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.38rem;
    height: 1.38rem;
    border-radius: 50%;
    background: rgba(20, 97, 162, 0.1);
    color: var(--jelonka-blue);
    font-size: 0.74rem;
    font-weight: 800;
}

.classifieds-category-picker__panel-head h4 {
    margin: 0;
    color: var(--jelonka-ink);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
}

.classifieds-category-picker__panel-head p {
    margin: 0.15rem 0 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.84rem;
    line-height: 1.35;
}

.classifieds-category-picker__search {
    position: relative;
    padding: 0.48rem 0.52rem 0;
}

.classifieds-category-picker__search-input {
    width: 100%;
    min-height: 2.18rem;
    padding: 0.48rem 2.45rem 0.48rem 0.62rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(transparent, transparent),
        #fff;
    color: var(--jelonka-ink);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.2;
    box-shadow: 0 8px 18px rgba(23, 33, 38, 0.035);
}

.classifieds-category-picker__search-icon {
    position: absolute;
    right: 1.6rem;
    top: calc(0.48rem + 1.09rem);
    display: block;
    width: 1rem;
    height: 1rem;
    color: rgba(23, 33, 38, 0.42);
    fill: none;
    pointer-events: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.15;
    transform: translateY(-50%);
}

.classifieds-category-picker__search-input:focus {
    outline: 0;
    border-color: rgba(20, 97, 162, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(20, 97, 162, 0.12);
}

.classifieds-category-picker__current-root {
    display: block;
    margin-top: 0.06rem;
    color: var(--jelonka-blue);
    font-size: 0.72rem;
    font-weight: 800;
}

.classifieds-category-picker__list {
    display: grid;
    gap: 0.36rem;
    padding: 0.54rem;
}

.classifieds-category-picker__list--roots {
    max-height: 24rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.classifieds-category-picker__empty {
    margin: 0;
    padding: 0.85rem 0.75rem;
    border: 1px dashed rgba(23, 33, 38, 0.16);
    border-radius: 8px;
    color: var(--jelonka-ink-soft);
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}

.classifieds-category-picker__list--children {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    max-height: 24rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.classifieds-category-picker--submission .classifieds-category-picker__card {
    min-height: 3.35rem;
    padding: 0.68rem 0.76rem;
    border-radius: 8px;
    box-shadow: none;
    background: #fff;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}

.classifieds-category-picker--submission .classifieds-category-picker__card--root {
    min-height: 2.46rem;
    padding: 0.42rem 0.52rem;
    gap: 0.42rem;
}

.classifieds-category-picker--submission .classifieds-category-picker__card:hover {
    box-shadow: 0 10px 22px rgba(20, 97, 162, 0.08);
}

.classifieds-category-picker--submission .classifieds-category-picker__card.is-active {
    border-color: rgba(20, 97, 162, 0.62);
    background: rgba(234, 243, 255, 0.9);
    box-shadow: inset 4px 0 0 rgba(20, 97, 162, 0.78);
}

.classifieds-category-picker--submission .classifieds-category-picker__card-copy {
    min-width: 0;
}

.classifieds-category-picker--submission .classifieds-category-picker__card-title {
    display: block;
    overflow-wrap: anywhere;
    font-size: 0.94rem;
}

.classifieds-category-picker--submission .classifieds-category-picker__card--root .classifieds-category-picker__card-title {
    font-size: 0.94rem;
}

.classifieds-category-picker--submission .classifieds-category-picker__card-meta {
    display: block;
    margin-top: 0.08rem;
    font-size: 0.78rem;
}

.classifieds-category-picker--submission .classifieds-category-picker__card--root .classifieds-category-picker__card-meta {
    margin-top: 0;
    font-size: 0.66rem;
}

.classifieds-category-picker__root-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.7rem;
    padding: 0.24rem 0.36rem;
    border: 1px solid rgba(23, 33, 38, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--jelonka-ink-soft);
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    text-transform: lowercase;
    white-space: nowrap;
}

.classifieds-category-picker__root-status--paid {
    border-color: rgba(176, 123, 24, 0.22);
    background: rgba(255, 247, 227, 0.92);
    color: #7a4c09;
}

.classifieds-category-picker__root-status--free {
    border-color: rgba(47, 132, 88, 0.22);
    background: rgba(235, 249, 241, 0.92);
    color: #24704c;
}

.classifieds-category-picker__root-status--mixed {
    border-color: rgba(20, 97, 162, 0.2);
    background: rgba(234, 243, 255, 0.92);
    color: var(--jelonka-blue);
}

.classifieds-category-picker--submission .classifieds-category-picker__badge-text {
    white-space: nowrap;
}

.classifieds-category-picker__choice {
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(20, 97, 162, 0.16);
    border-radius: 8px;
    background: rgba(234, 243, 255, 0.72);
    color: var(--jelonka-ink-soft);
    font-size: 0.9rem;
}

.classifieds-category-picker__choice strong {
    color: var(--jelonka-ink);
}

.classifieds-category-picker__inline-error {
    padding: 0.64rem 0.78rem;
    border: 1px solid rgba(179, 64, 64, 0.2);
    border-radius: 8px;
    background: rgba(179, 64, 64, 0.07);
    color: #9b3030;
    font-size: 0.86rem;
    font-weight: 750;
}

@media (max-width: 991.98px) {
    .classifieds-category-picker__layout {
        grid-template-columns: 1fr;
    }

    .classifieds-category-picker__list--roots,
    .classifieds-category-picker__list--children {
        max-height: none;
    }
}

@media (max-width: 575.98px) {
    .classifieds-category-picker__list--children {
        grid-template-columns: 1fr;
    }

    .classifieds-category-picker--submission .classifieds-category-picker__card {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.classifieds-category-picker__card-title {
    font-weight: 700;
    line-height: 1.25;
}

.classifieds-category-picker__card-meta {
    color: var(--jelonka-ink-soft);
    font-size: 0.88rem;
}

.classifieds-category-picker__card-meta-line {
    display: block;
}

.classifieds-category-picker__card-meta-line + .classifieds-category-picker__card-meta-line {
    margin-top: 0.08rem;
}

.classifieds-category-picker__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.classifieds-category-picker__badge--free {
    background: transparent;
    box-shadow: none;
}

.classifieds-category-picker__badge--free .classifieds-category-picker__badge-media {
    width: 2.22rem;
    height: 2.22rem;
    background: rgba(255, 255, 255, 0.96);
}

.classifieds-category-picker__badge--free .classifieds-category-picker__badge-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(184, 45, 45, 0.96);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72);
    pointer-events: none;
}

.classifieds-category-picker__badge--free img {
    width: 2rem;
    height: 2rem;
}

.classifieds-category-picker__badge--free .classifieds-category-picker__badge-slash {
    z-index: 1;
}

.classifieds-category-picker__badge--paid {
    background: transparent;
    box-shadow: none;
}

.classifieds-category-picker__badge-media {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.classifieds-category-picker__badge img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.classifieds-category-picker__badge-slash {
    position: absolute;
    width: 2.3rem;
    height: 0.24rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(184, 45, 45, 0.15) 0%, rgba(184, 45, 45, 0.95) 18%, rgba(184, 45, 45, 0.95) 82%, rgba(184, 45, 45, 0.15) 100%);
    transform: rotate(-38deg);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.classifieds-category-picker--submission .classifieds-category-picker__badge {
    position: static;
    display: inline-flex;
    width: auto;
    height: auto;
    gap: 0.32rem;
    flex: 0 0 auto;
    color: var(--jelonka-ink-soft);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

.classifieds-category-picker--submission .classifieds-category-picker__badge-media,
.classifieds-category-picker--submission .classifieds-category-picker__badge--free .classifieds-category-picker__badge-media {
    width: 1.55rem;
    height: 1.55rem;
    background: transparent;
}

.classifieds-category-picker--submission .classifieds-category-picker__badge img,
.classifieds-category-picker--submission .classifieds-category-picker__badge--free img {
    width: 1.55rem;
    height: 1.55rem;
}

.classifieds-category-picker--submission .classifieds-category-picker__badge--free .classifieds-category-picker__badge-media::after {
    content: none;
}

.classifieds-category-picker--submission .classifieds-category-picker__badge-slash {
    width: 1.78rem;
    height: 0.19rem;
}

.classifieds-category-picker__native-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.classifieds-form__field--category.has-error .classifieds-category-picker__card {
    border-color: #b34040;
}

.classifieds-image-upload {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.classifieds-image-upload__status {
    width: 100%;
    min-height: 3.35rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(23, 33, 38, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    color: rgba(23, 33, 38, 0.68);
    font-size: 0.98rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.classifieds-image-upload__button {
    min-height: 3.35rem;
    padding-inline: 1.2rem;
    border-radius: 16px;
    font-weight: 700;
}

.classifieds-image-upload__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.classifieds-image-order {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.35rem;
}

.classifieds-image-order__heading {
    display: grid;
    gap: 0.2rem;
}

.classifieds-image-order__heading span {
    font-weight: 700;
    color: var(--jelonka-ink);
}

.classifieds-image-order__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
}

.classifieds-image-order__card {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 250, 0.96) 100%);
    box-shadow: 0 14px 28px rgba(23, 33, 38, 0.04);
    cursor: grab;
}

.classifieds-image-order__card.is-dragging {
    opacity: 0.72;
    cursor: grabbing;
}

.classifieds-image-order__card.is-drop-before::before,
.classifieds-image-order__card.is-drop-after::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(190, 86, 0, 0.95) 0%, rgba(246, 136, 51, 0.98) 100%);
    box-shadow: 0 0 0 3px rgba(246, 136, 51, 0.16);
}

.classifieds-image-order__card.is-drop-before::before {
    top: -2px;
}

.classifieds-image-order__card.is-drop-after::after {
    bottom: -2px;
}

.classifieds-image-order__card img {
    width: 100%;
    height: 78px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
}

.classifieds-image-order__preview {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.classifieds-image-order__preview img {
    display: block;
}

.classifieds-image-order__meta {
    display: grid;
    gap: 0.5rem;
    min-width: 0;
}

.classifieds-image-order__name {
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--jelonka-ink);
    word-break: break-word;
}

.classifieds-image-order__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.classifieds-image-order__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(21, 64, 134, 0.10);
    color: var(--jelonka-brand-strong);
    font-size: 0.76rem;
    font-weight: 700;
}

.classifieds-image-order__badge--primary {
    background: rgba(190, 86, 0, 0.12);
    color: #9a4600;
}

.classifieds-image-order__actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
}

.classifieds-image-order__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(21, 64, 134, 0.18);
    border-radius: 12px;
    background: rgba(21, 64, 134, 0.06);
    color: var(--jelonka-brand-strong);
    font-size: 1rem;
    font-weight: 700;
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.classifieds-image-order__action:hover:not(:disabled),
.classifieds-image-order__action:focus-visible:not(:disabled) {
    background: rgba(21, 64, 134, 0.12);
    border-color: rgba(21, 64, 134, 0.28);
    transform: translateY(-1px);
}

.classifieds-image-order__action:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.classifieds-image-order__action--remove {
    margin-left: auto;
    border-color: rgba(179, 64, 64, 0.18);
    background: rgba(179, 64, 64, 0.06);
    color: #9c3030;
}

.classifieds-image-order__action--remove:hover,
.classifieds-image-order__action--remove:focus-visible {
    background: rgba(179, 64, 64, 0.11);
    border-color: rgba(179, 64, 64, 0.26);
}

.classifieds-image-preview[hidden] {
    display: none;
}

.classifieds-image-preview {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.classifieds-image-preview__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 16, 24, 0.78);
}

.classifieds-image-preview__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(92vw, 1040px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

.classifieds-image-preview__dialog img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 5rem);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    background: #fff;
}

.classifieds-image-preview__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--jelonka-ink);
    font-size: 1.9rem;
    line-height: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

body.has-image-preview {
    overflow: hidden;
}

.classifieds-form__errors {
    color: #b34040;
    font-size: 0.92rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(179, 64, 64, 0.18);
    border-radius: 14px;
    background: rgba(179, 64, 64, 0.06);
}

.classifieds-form__errors ul {
    margin: 0;
    padding-left: 1rem;
}

.news-page {
    padding: 0 0 4rem;
}

.news-shell {
    width: 100%;
    max-width: 1320px;
    display: grid;
    gap: 1.25rem;
}

.news-hero,
.news-panel {
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(23, 33, 38, 0.06);
}

.news-hero {
    padding: 1.7rem;
    background:
        linear-gradient(135deg, rgba(21, 64, 134, 0.98) 0%, rgba(20, 97, 162, 0.96) 64%, rgba(190, 86, 0, 0.90) 100%);
    color: var(--jelonka-white);
}

.news-hero--polls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.news-hero__copy {
    position: relative;
    z-index: 1;
}

.news-hero__media {
    margin: 0;
    align-self: end;
}

.news-hero__media-frame {
    display: grid;
    place-items: center;
}

.news-hero__media-frame img {
    width: clamp(7.5rem, 13vw, 10.5rem);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 26px rgba(15, 28, 46, 0.2));
}

.news-hero h1,
.news-hero p {
    margin: 0;
}

.news-hero h1 {
    margin-top: 0.25rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
}

.news-hero p {
    margin-top: 0.7rem;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.86);
}

.news-panel {
    padding: 1.25rem;
}

.news-panel h2,
.news-panel h3 {
    margin-top: 0;
    color: var(--jelonka-ink);
}

body.news-filter-browser-open {
    overflow: hidden;
}

.news-list-toolbar {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) auto;
    gap: 0.72rem 0.9rem;
    align-items: center;
    padding: 0.78rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.96) 100%);
    box-shadow: 0 14px 30px rgba(23, 33, 38, 0.05);
}

.news-list-toolbar__summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    min-width: 0;
}

.news-list-toolbar__count {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.34rem 0.66rem;
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.07);
    color: var(--jelonka-brand-strong);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.15;
}

.news-list-toolbar__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.55rem;
    min-width: 0;
}

.news-toolbar-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
    padding: 0.22rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 999px;
    background: rgba(243, 246, 250, 0.86);
}

.news-toolbar-filter__label {
    padding-left: 0.55rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.news-list-toolbar .news-filter-trigger {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: min(18rem, 42vw);
    min-width: 10.5rem;
    min-height: 1.95rem;
    padding: 0.36rem 2.1rem 0.36rem 0.66rem;
    border-color: rgba(23, 33, 38, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none;
    text-align: left;
    transform: none;
}

.news-list-toolbar .news-filter-trigger::before {
    display: none;
}

.news-list-toolbar .news-filter-trigger::after {
    content: "";
    top: 50%;
    right: 0.78rem;
    bottom: auto;
    width: 0.46rem;
    height: 0.46rem;
    margin: -0.32rem 0 0;
    padding: 0;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    border-radius: 0;
    background: transparent;
    color: var(--jelonka-brand-strong);
    transform: rotate(45deg);
}

.news-list-toolbar .news-filter-trigger:hover {
    border-color: rgba(20, 97, 162, 0.24);
    background: #fff;
    box-shadow: 0 8px 18px rgba(20, 97, 162, 0.08);
    transform: none;
}

.news-list-toolbar .news-filter-trigger__current {
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 850;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-filter-trigger__current-short,
.news-segmented-control__label-short {
    display: none;
}

.news-list-toolbar > .news-filter-chips--compact {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.news-filter-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.news-filter-panel {
    display: grid;
    gap: 0.95rem;
    padding: 1.15rem;
    background:
        radial-gradient(circle at top left, rgba(20, 97, 162, 0.12), transparent 52%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.94) 100%);
}

.news-filter-panel__intro {
    display: grid;
    gap: 0.35rem;
}

.news-filter-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 1.55rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.09);
    color: var(--jelonka-brand-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.news-filter-panel__title {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.15;
}

.news-filter-panel__copy {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.94rem;
    line-height: 1.45;
}

.news-filter-trigger {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 0.18rem;
    padding: 0.9rem 4.35rem 0.95rem 1.05rem;
    border: 1px solid rgba(20, 97, 162, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(20, 97, 162, 0.12) 0%, rgba(255, 255, 255, 0.98) 52%, rgba(190, 86, 0, 0.08) 100%);
    box-shadow: 0 16px 34px rgba(20, 97, 162, 0.09);
    color: var(--jelonka-ink);
    text-align: left;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.news-filter-trigger::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.34rem;
    background: linear-gradient(180deg, var(--jelonka-brand-strong) 0%, rgba(190, 86, 0, 0.9) 100%);
}

.news-filter-trigger::after {
    content: "›";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    box-sizing: border-box;
    padding-bottom: 0.12rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20, 97, 162, 0.16) 0%, rgba(20, 97, 162, 0.08) 100%);
    color: var(--jelonka-brand-strong);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    margin: auto 0;
}

.news-filter-trigger:hover {
    border-color: rgba(20, 97, 162, 0.38);
    background:
        linear-gradient(135deg, rgba(20, 97, 162, 0.16) 0%, rgba(255, 255, 255, 0.99) 50%, rgba(190, 86, 0, 0.11) 100%);
    box-shadow: 0 22px 42px rgba(20, 97, 162, 0.14);
    transform: translateY(-2px);
}

.news-filter-trigger:focus-visible {
    outline: 0;
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(20, 97, 162, 0.16);
}

.news-filter-trigger__kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jelonka-brand-strong);
}

.news-filter-trigger__current {
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.28;
    color: var(--jelonka-ink);
}

.news-filter-browser[hidden] {
    display: none !important;
}

.news-filter-browser {
    position: fixed;
    inset: 0;
    z-index: 1250;
}

.news-filter-browser__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 20, 31, 0.5);
}

.news-filter-browser__panel {
    position: absolute;
    inset: max(1rem, env(safe-area-inset-top)) 1rem 1rem;
    display: grid;
    gap: 1.1rem;
    align-content: start;
    max-width: 64rem;
    margin: 0 auto;
    overflow-y: auto;
    padding: 1.1rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(252, 253, 255, 0.99) 0%, rgba(238, 243, 250, 0.98) 100%);
    box-shadow: 0 32px 70px rgba(10, 16, 24, 0.24);
}

.news-filter-browser__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.news-filter-browser__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jelonka-brand-strong);
}

.news-filter-browser__header h2 {
    margin: 0;
}

.news-filter-browser__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--jelonka-ink);
    font-weight: 700;
}

.news-filter-browser__close:hover,
.news-filter-browser__close:focus-visible {
    border-color: rgba(20, 97, 162, 0.28);
    color: var(--jelonka-brand-strong);
}

.news-filter-browser__content {
    display: grid;
    gap: 1rem;
}

.news-filter-list--browser {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-hero-localities {
    display: grid;
    gap: 1rem;
}

.news-hero-localities__head {
    display: grid;
    gap: 0.25rem;
}

.news-hero-localities__head h2 {
    margin: 0;
}

.news-hero-localities__head p {
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.news-content,
.news-detail,
.news-detail__main {
    min-width: 0;
}

.news-content {
    display: grid;
    gap: 1rem;
}

.news-filters-panel {
    display: grid;
    gap: 1rem;
}

.news-filters-panel__head {
    display: flex;
    gap: 1rem;
    align-items: start;
    justify-content: space-between;
}

.news-filters-panel__head h2,
.news-results-head h2 {
    margin-bottom: 0.25rem;
}

.news-filters-panel__head p,
.news-results-head p {
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.news-sidebar-panel {
    display: grid;
    gap: 1rem;
}

.news-sidebar-panel__intro {
    display: grid;
    gap: 0.3rem;
}

.news-sidebar-panel__intro h3 {
    margin: 0;
}

.news-sidebar-panel__intro p {
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.news-filters-form {
    display: grid;
    gap: 0.85rem;
}

.news-filters-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.news-filter-field {
    display: grid;
    gap: 0.38rem;
    color: var(--jelonka-ink);
    font-weight: 700;
}

.news-filter-field span,
.news-filter-group__label {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--jelonka-ink-soft);
}

.news-filter-field select {
    border-color: rgba(23, 33, 38, 0.12);
    border-radius: 8px;
    min-height: 3rem;
    box-shadow: none;
}

.news-filter-field select:focus {
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(20, 97, 162, 0.12);
}

.news-filters-form__actions {
    display: flex;
    justify-content: flex-start;
}

.news-filter-groups {
    display: grid;
    gap: 0.8rem;
}

.news-filter-group {
    display: grid;
    gap: 0.45rem;
}

.news-segmented-control,
.news-filter-chips,
.news-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.news-segmented-control__item,
.news-filter-chip,
.news-active-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(23, 33, 38, 0.1);
    border-radius: 8px;
    background: rgba(243, 246, 250, 0.82);
    color: var(--jelonka-ink);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
}

.news-segmented-control__item:hover,
.news-segmented-control__item:focus-visible,
.news-segmented-control__item.is-active,
.news-filter-chip:hover,
.news-filter-chip:focus-visible,
.news-filter-chip.is-active {
    border-color: rgba(20, 97, 162, 0.28);
    background: rgba(20, 97, 162, 0.1);
    color: var(--jelonka-brand-strong);
    text-decoration: none;
}

.news-active-filter {
    background: rgba(190, 86, 0, 0.08);
    border-color: rgba(190, 86, 0, 0.16);
    color: #9b4f0f;
    font-weight: 800;
}

.news-list-toolbar .news-active-filters {
    gap: 0.32rem;
}

.news-list-toolbar .news-active-filter {
    min-height: 1.85rem;
    padding: 0.34rem 0.58rem;
    border-radius: 999px;
    font-size: 0.76rem;
}

.news-results-head {
    display: flex;
    gap: 1rem;
    align-items: start;
    justify-content: space-between;
}

.news-results-head--compact {
    display: block;
    padding: 0.65rem 0.85rem;
    border-left: 4px solid rgba(20, 97, 162, 0.22);
    border-radius: 12px;
    background: rgba(243, 246, 250, 0.72);
    box-shadow: none;
}

.news-results-head--compact p {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.news-results-head__copy {
    min-width: 0;
}

.news-results-head__tools {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    min-width: min(100%, 32rem);
}

.news-inline-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 100%;
    padding: 0.24rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 999px;
    background: rgba(243, 246, 250, 0.84);
}

.news-inline-filter__label {
    padding-left: 0.55rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.news-segmented-control--compact {
    gap: 0.22rem;
}

.news-segmented-control--compact .news-segmented-control__item,
.news-filter-chips--compact .news-filter-chip {
    min-height: 1.85rem;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
}

.news-filter-chips--compact {
    justify-content: flex-end;
    gap: 0.35rem;
}

.news-results-head__tools .news-active-filters {
    justify-content: flex-end;
    gap: 0.35rem;
}

.news-results-head__tools .news-active-filter {
    min-height: 1.85rem;
    padding: 0.36rem 0.62rem;
    border-radius: 999px;
    font-size: 0.78rem;
}

.news-active-filter--clear {
    background: #fff;
    color: var(--jelonka-brand-strong);
    text-decoration: none;
}

.news-active-filter--clear:hover,
.news-active-filter--clear:focus-visible {
    background: rgba(20, 97, 162, 0.1);
    color: var(--jelonka-brand-strong);
    text-decoration: none;
}

.news-results-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
}

.news-results-layout--full {
    grid-template-columns: minmax(0, 1fr);
}

.news-results-main,
.news-results-sidebar {
    min-width: 0;
}

.news-results-main {
    display: grid;
    gap: 1rem;
}

.news-results-sidebar {
    display: grid;
    gap: 1rem;
    align-self: start;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.news-hero-locality-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.news-hero-locality-list__item {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(23, 33, 38, 0.1);
    border-radius: 999px;
    background: rgba(243, 246, 250, 0.9);
    color: var(--jelonka-ink);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.news-hero-locality-list__item:hover,
.news-hero-locality-list__item:focus-visible,
.news-hero-locality-list__item.is-active {
    border-color: rgba(20, 97, 162, 0.24);
    background: rgba(20, 97, 162, 0.1);
    box-shadow: 0 10px 20px rgba(20, 97, 162, 0.08);
    color: var(--jelonka-brand-strong);
    text-decoration: none;
    transform: translateY(-1px);
}

.news-locality-search {
    display: grid;
    gap: 0.55rem;
}

.news-locality-search__label {
    color: var(--jelonka-ink-soft);
    font-size: 0.84rem;
    font-weight: 800;
}

.news-locality-search__input {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 14px;
    background: #fff;
    color: var(--jelonka-ink);
}

.news-locality-search__input:focus {
    border-color: rgba(20, 97, 162, 0.38);
    box-shadow: 0 0 0 0.2rem rgba(20, 97, 162, 0.1);
    outline: 0;
}

.news-locality-search__results {
    display: grid;
    gap: 0.55rem;
    padding: 0.8rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
}

.news-locality-search__result {
    display: grid;
    gap: 0.16rem;
    padding: 0.68rem 0.78rem;
    border-radius: 12px;
    background: rgba(243, 246, 250, 0.84);
    color: var(--jelonka-ink);
    text-decoration: none;
}

.news-locality-search__result:hover,
.news-locality-search__result:focus-visible {
    background: rgba(20, 97, 162, 0.1);
    color: var(--jelonka-brand-strong);
    text-decoration: none;
}

.news-locality-search__result small {
    color: var(--jelonka-ink-soft);
    font-size: 0.76rem;
}

.news-locality-search__empty {
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.news-locality-children {
    display: grid;
    gap: 0.55rem;
}

.news-filter-list {
    display: grid;
    gap: 0.7rem;
}

.news-filter-list__item {
    position: relative;
    display: flex;
    min-height: 3.25rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(23, 33, 38, 0.1);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(243, 246, 250, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
    color: var(--jelonka-ink);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.35;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.news-filter-list__item::after {
    content: "›";
    margin-left: auto;
    padding-left: 0.85rem;
    color: rgba(20, 97, 162, 0.72);
    font-size: 1.1rem;
    font-weight: 800;
}

.news-filter-list__item:hover,
.news-filter-list__item:focus-visible {
    border-color: rgba(20, 97, 162, 0.24);
    box-shadow: 0 12px 24px rgba(20, 97, 162, 0.1);
    color: var(--jelonka-brand-strong);
    text-decoration: none;
    transform: translateY(-1px);
}

.news-filter-list__item.is-active {
    border-color: rgba(20, 97, 162, 0.24);
    background:
        linear-gradient(135deg, rgba(20, 97, 162, 0.12) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 0 12px 24px rgba(20, 97, 162, 0.08);
    color: var(--jelonka-brand-strong);
}

.news-filter-list__item.is-active::after {
    content: "✓";
    font-size: 1rem;
}

@media (max-width: 900px) {
    .news-filter-panels {
        grid-template-columns: 1fr;
    }

    .news-filter-list--browser {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .news-filter-browser__panel {
        inset: max(0.6rem, env(safe-area-inset-top)) 0.6rem 0.6rem;
        padding: 0.95rem;
        border-radius: 24px;
    }

    .news-filter-browser__header {
        align-items: stretch;
        flex-direction: column;
    }
}

.news-card {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 32px rgba(23, 33, 38, 0.05);
}

.news-card__link {
    position: relative;
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.news-card__click-target {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: block;
    border-radius: inherit;
    cursor: pointer;
}

.news-card__click-target:focus-visible {
    outline: 3px solid rgba(20, 97, 162, 0.42);
    outline-offset: -3px;
}

.news-card__link:hover,
.news-card__link:focus-visible {
    color: inherit;
    text-decoration: none;
}

.news-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(230, 237, 247, 0.92) 0%, rgba(243, 246, 250, 1) 100%);
}

.news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__new-marker {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 0.22rem;
    background: #c81f15;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(80, 8, 4, 0.22);
}

.news-card__media--video {
    background: #111820;
}

.news-card__video,
.news-card__video-player {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.news-card__video {
    pointer-events: none;
}

.news-card__video img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.04);
    transition: opacity 220ms ease;
}

.news-card__video-player {
    z-index: 2;
    background: #111820;
}

.thumb-container,
.thumb-container-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-container {
    position: absolute;
    overflow: hidden;
}

.news-card__video-player:empty {
    display: none;
}

.news-card__video-player iframe {
    display: block;
    border: 0;
    pointer-events: none;
}

.news-card__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--jelonka-ink-soft);
    font-weight: 800;
}

.news-card__body {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
}

.news-card__badges,
.news-detail__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.news-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    padding: 0.22rem 0.68rem 0.18rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.news-badge--live {
    background: #c81f15;
    color: #fff;
    box-shadow: 0 10px 20px rgba(200, 31, 21, 0.2);
}

.news-card__body h2 {
    margin: 0;
    color: var(--jelonka-ink);
    font-size: 1.08rem;
    line-height: 1.25;
}

.news-card__lead {
    color: var(--jelonka-ink-soft);
    line-height: 1.45;
}

.news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.82rem;
}

.news-card__meta a {
    color: var(--jelonka-brand-strong);
    text-decoration: none;
    font-weight: 700;
}

.news-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
}

.news-infinite {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.news-infinite__status,
.news-infinite__end {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.9rem;
    text-align: center;
}

.news-infinite__button[hidden],
.news-infinite__status[hidden],
.news-infinite__end[hidden],
.news-infinite__sentinel[hidden] {
    display: none !important;
}

.news-infinite__sentinel {
    width: 100%;
    height: 1px;
}

.news-archive {
    display: grid;
    gap: 0.85rem;
}

.news-archive__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.1rem 0.1rem 0;
}

.news-archive__header h1 {
    margin: 0;
    color: var(--portal-ink, var(--jelonka-ink));
    font-size: clamp(1.72rem, 2.1vw, 2.2rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
}

.news-archive__status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin: 0;
    color: var(--portal-ink, var(--jelonka-ink));
    font-size: 0.82rem;
    font-weight: 650;
    white-space: nowrap;
}

.news-archive__status strong {
    font-weight: 900;
}

.news-archive-filter-toggle {
    display: none;
}

.news-archive-toolbar {
    display: grid;
    grid-template-columns: minmax(17.5rem, 1.9fr) repeat(4, minmax(8.7rem, 0.72fr)) auto auto;
    gap: 0.72rem;
    align-items: center;
    padding: 0.92rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 28px rgba(23, 33, 38, 0.05);
}

.news-archive-toolbar__search,
.news-archive-toolbar__field {
    min-width: 0;
}

.news-archive-toolbar__search {
    position: relative;
    display: block;
}

.news-archive-toolbar__search svg {
    position: absolute;
    top: 50%;
    left: 0.72rem;
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.1;
    color: var(--portal-muted, var(--jelonka-ink-soft));
    transform: translateY(-50%);
    pointer-events: none;
}

.news-archive-toolbar__search input,
.news-archive-toolbar__field select {
    width: 100%;
    min-height: 3.92rem;
    border: 1px solid rgba(23, 33, 38, 0.11);
    border-radius: 8px;
    background: rgba(249, 250, 252, 0.78);
    color: var(--portal-ink, var(--jelonka-ink));
    font: inherit;
    font-size: 0.9rem;
    font-weight: 680;
}

.news-archive-toolbar__search input {
    padding: 0.78rem 0.9rem 0.78rem 2.52rem;
    font-weight: 560;
}

.news-archive-toolbar__search input::placeholder {
    color: var(--portal-muted, var(--jelonka-ink-soft));
    font-weight: 560;
    opacity: 1;
}

.news-archive-toolbar__field {
    position: relative;
    display: block;
}

.news-archive-toolbar__field span {
    position: absolute;
    top: 0.6rem;
    left: 0.78rem;
    z-index: 1;
    color: var(--portal-muted, var(--jelonka-ink-soft));
    font-size: 0.66rem;
    font-weight: 620;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    pointer-events: none;
}

.news-archive-toolbar__field select {
    padding: 1.45rem 2.25rem 0.58rem 0.78rem;
}

.news-archive-toolbar__search input:focus,
.news-archive-toolbar__field select:focus {
    outline: 0;
    border-color: rgba(190, 86, 0, 0.35);
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(190, 86, 0, 0.1);
}

.news-archive-toolbar__submit,
.news-archive-toolbar__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.92rem;
    border-radius: 8px;
    text-decoration: none;
}

.news-archive-toolbar__submit {
    gap: 0.42rem;
    padding: 0.72rem 1.12rem;
    border: 1px solid rgba(211, 78, 0, 0.34);
    background: linear-gradient(135deg, #f24809 0%, var(--portal-accent, #be5600) 100%);
    color: #fff;
    font-size: 0.94rem;
    font-weight: 760;
}

.news-archive-toolbar__reset {
    width: 3.92rem;
    border: 1px solid rgba(23, 33, 38, 0.1);
    background: rgba(249, 250, 252, 0.95);
    color: var(--portal-muted, var(--jelonka-ink-soft));
}

.news-archive-toolbar__submit svg,
.news-archive-toolbar__reset svg {
    width: 1.02rem;
    height: 1.02rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.news-archive-results {
    display: grid;
    gap: 0.5rem;
}

.news-archive-day {
    overflow: hidden;
    border: 1px solid rgba(23, 33, 38, 0.07);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(23, 33, 38, 0.04);
}

.news-archive-day__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.28rem;
    padding: 0.46rem 0.62rem;
    border-bottom: 1px solid rgba(23, 33, 38, 0.07);
    background: rgba(255, 247, 240, 0.78);
}

.news-archive-day__head h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.54rem;
    margin: 0;
    color: var(--portal-ink, var(--jelonka-ink));
    font-size: 0.94rem;
    font-weight: 900;
    line-height: 1.15;
}

.news-archive-day__head h2 svg {
    flex: 0 0 1.08rem;
    width: 1.08rem;
    height: 1.08rem;
    fill: none;
    stroke: var(--portal-accent, #be5600);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.news-archive-day__head > span {
    display: inline-flex;
    align-items: center;
    gap: 0.54rem;
    color: var(--portal-accent, #be5600);
    font-size: 0.78rem;
    font-weight: 880;
    white-space: nowrap;
}

.news-archive-day__head > span svg {
    flex: 0 0 0.92rem;
    width: 0.92rem;
    height: 0.92rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.news-archive-day__count-short {
    display: none;
}

.news-archive-day__items {
    display: grid;
}

.news-archive-row {
    display: grid;
    grid-template-columns: 12rem minmax(0, 1fr) minmax(9.5rem, 13rem) 4.55rem 3.5rem 1.9rem;
    gap: 0.48rem;
    align-items: center;
    min-height: 2.38rem;
    padding: 0.36rem 0.62rem;
}

.news-archive-row + .news-archive-row {
    border-top: 1px solid rgba(23, 33, 38, 0.07);
}

.news-archive-row__title {
    overflow: hidden;
    color: var(--portal-ink, var(--jelonka-ink));
    font-size: 0.88rem;
    font-weight: 840;
    line-height: 1.22;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-archive-row__title:hover,
.news-archive-row__title:focus-visible {
    color: var(--portal-accent, #be5600);
    text-decoration: none;
}

.news-archive-row__meta {
    display: contents;
}

.news-archive-row__place,
.news-archive-row__meta time,
.news-archive-row__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    min-width: 0;
    color: var(--portal-muted, var(--jelonka-ink-soft));
    font-size: 0.76rem;
    font-weight: 720;
    justify-content: flex-end;
    white-space: nowrap;
}

.news-archive-row__place {
    overflow: hidden;
    justify-self: end;
    width: 100%;
}

.news-archive-row__place span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-archive-row__meta svg {
    flex: 0 0 0.86rem;
    width: 0.86rem;
    height: 0.86rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.news-archive-row__category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 1.18rem;
    padding: 0.12rem 0.38rem;
    border: 1px solid rgba(54, 64, 72, 0.22);
    border-radius: 0;
    background: transparent;
    color: #26313a;
    font-size: 0.64rem;
    font-weight: 900;
    line-height: 1.08;
    overflow: visible;
    text-transform: none;
    white-space: normal;
}

.news-archive-row__category--empty {
    color: var(--portal-muted, var(--jelonka-ink-soft));
    background: transparent;
    border-color: rgba(23, 33, 38, 0.12);
}

.news-archive-row__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    width: 100%;
    color: var(--portal-ink, var(--jelonka-ink));
}

.news-archive-row__arrow svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.news-archive-empty {
    text-align: center;
}

.news-archive-empty[hidden] {
    display: none !important;
}

.news-archive-loader {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0 0.5rem;
}

.news-archive-loader__status {
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "spinner title"
        "spinner copy";
    gap: 0.05rem 0.55rem;
    align-items: center;
    min-height: 2.85rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--portal-ink, var(--jelonka-ink));
    box-shadow: 0 10px 22px rgba(23, 33, 38, 0.04);
}

.news-archive-loader__status[hidden],
.news-archive-loader__sentinel[hidden],
.news-archive-loader__end[hidden] {
    display: none !important;
}

.news-archive-loader__spinner {
    grid-area: spinner;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid rgba(190, 86, 0, 0.18);
    border-top-color: var(--portal-accent, #be5600);
    border-radius: 999px;
    animation: news-archive-spinner 0.72s linear infinite;
}

.news-archive-loader__status strong {
    grid-area: title;
    font-size: 0.88rem;
    line-height: 1.1;
}

.news-archive-loader__status small {
    grid-area: copy;
    color: var(--portal-muted, var(--jelonka-ink-soft));
    font-size: 0.75rem;
    font-weight: 680;
}

.news-archive-loader__sentinel {
    width: 100%;
    height: 1px;
}

.news-archive-loader__end {
    margin: 0;
    color: var(--portal-muted, var(--jelonka-ink-soft));
    font-size: 0.86rem;
    font-weight: 760;
}

@keyframes news-archive-spinner {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1180px) {
    .news-archive-toolbar {
        grid-template-columns: minmax(14rem, 1fr) repeat(2, minmax(8rem, 0.5fr)) auto auto;
    }

    .news-archive-toolbar__field:nth-of-type(3),
    .news-archive-toolbar__field:nth-of-type(4) {
        grid-column: auto;
    }

    .news-archive-row {
        grid-template-columns: 10.6rem minmax(0, 1fr) minmax(8rem, 10rem) 4.25rem 3.25rem 1.75rem;
    }
}

@media (max-width: 720px) {
    .news-archive {
        gap: 0.46rem;
    }

    .news-archive__header {
        display: grid;
        gap: 0.42rem;
        align-items: start;
    }

    .news-archive__header h1 {
        font-size: 1.08rem;
        line-height: 1.08;
    }

    .news-archive-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        width: 100%;
        min-height: 2.55rem;
        padding: 0.52rem 0.78rem;
        border: 1px solid rgba(23, 33, 38, 0.1);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.98);
        color: var(--portal-ink, var(--jelonka-ink));
        font: inherit;
        font-size: 0.78rem;
        font-weight: 850;
        box-shadow: 0 8px 18px rgba(23, 33, 38, 0.045);
    }

    .news-archive-filter-toggle svg {
        width: 1rem;
        height: 1rem;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2.1;
    }

    .news-archive-filter-toggle[aria-expanded="true"] svg {
        color: var(--portal-accent, #be5600);
    }

    .news-archive__status {
        width: fit-content;
        font-size: 0.62rem;
    }

    .news-archive-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.44rem;
        padding: 0.42rem;
        border-radius: 8px;
        box-shadow: 0 8px 18px rgba(23, 33, 38, 0.045);
    }

    .news-archive-toolbar:not([data-mobile-expanded]) {
        display: none;
    }

    .news-archive-toolbar__search {
        grid-column: 1 / -1;
    }

    .news-archive-toolbar__submit {
        grid-column: 1 / 2;
        width: 100%;
    }

    .news-archive-toolbar__reset {
        grid-column: 2 / 3;
        width: 100%;
    }

    .news-archive-toolbar__search input,
    .news-archive-toolbar__field select,
    .news-archive-toolbar__submit,
    .news-archive-toolbar__reset {
        min-height: 2.72rem;
        font-size: 0.72rem;
    }

    .news-archive-toolbar__field span {
        top: 0.48rem;
        left: 0.58rem;
        font-size: 0.5rem;
    }

    .news-archive-toolbar__search input {
        padding: 0.48rem 0.68rem 0.48rem 2.12rem;
    }

    .news-archive-toolbar__search svg {
        left: 0.68rem;
        width: 0.92rem;
        height: 0.92rem;
    }

    .news-archive-toolbar__field select {
        padding: 1.16rem 1.8rem 0.38rem 0.58rem;
    }

    .news-archive-toolbar__submit {
        gap: 0.34rem;
        padding: 0.44rem 0.52rem;
        font-size: 0.72rem;
    }

    .news-archive-toolbar__reset {
        width: 100%;
    }

    .news-archive-day__head {
        min-height: 1.72rem;
        padding: 0.32rem 0.48rem;
    }

    .news-archive-day__head h2 {
        font-size: 0.68rem;
    }

    .news-archive-day__head span {
        font-size: 0.62rem;
    }

    .news-archive-row {
        grid-template-columns: minmax(0, 1fr) 2.5rem 1.45rem 1.15rem;
        min-height: 2.16rem;
        gap: 0.24rem;
        padding: 0.32rem 0.48rem;
    }

    .news-archive-row__title {
        display: -webkit-box;
        font-size: 0.68rem;
        line-height: 1.16;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .news-archive-row__meta > .news-archive-row__place {
        display: none;
    }

    .news-archive-row__meta time,
    .news-archive-row__meta > span {
        gap: 0.2rem;
        font-size: 0.56rem;
        justify-content: flex-end;
    }

    .news-archive-row__meta svg {
        width: 0.58rem;
        height: 0.58rem;
        flex-basis: 0.58rem;
    }

    .news-archive-row__category {
        display: none;
    }

    .news-archive-row__arrow svg {
        width: 0.72rem;
        height: 0.72rem;
    }

    .news-archive-day__count-full {
        display: none;
    }

    .news-archive-day__count-short {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-archive-loader__spinner {
        animation: none;
    }
}

.news-empty {
    text-align: center;
}

.news-empty .btn {
    margin-top: 0.9rem;
}

.news-detail {
    display: grid;
    justify-items: center;
}

.news-detail--centered {
    grid-template-columns: minmax(0, 1fr);
}

.news-detail__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(920px, 100%);
    gap: 1rem;
}

.news-detail__main > * {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.news-detail__header {
    display: grid;
    gap: 0.75rem;
}

.news-detail__admin-link {
    display: flex;
    justify-content: flex-end;
}

.news-detail__header h1 {
    margin: 0;
    color: var(--jelonka-ink);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
}

.news-detail__lead {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-size: 1.15rem;
    line-height: 1.55;
}

.read-aloud {
    display: grid;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 242, 248, 0.96) 100%);
    box-shadow: 0 18px 36px rgba(21, 64, 134, 0.07);
}

.read-aloud__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.read-aloud__title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.read-aloud__icon {
    display: grid;
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(20, 97, 162, 0.14), rgba(190, 86, 0, 0.16));
    color: var(--jelonka-brand-strong);
}

.read-aloud__icon svg,
.read-aloud__button-icon svg {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.read-aloud__title h2,
.read-aloud__eyebrow {
    margin: 0;
}

.read-aloud__title h2 {
    font-size: 1.18rem;
    color: var(--jelonka-ink);
}

.read-aloud__eyebrow {
    color: var(--jelonka-accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.read-aloud__status {
    margin: 0;
    max-width: 24rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.94rem;
    line-height: 1.5;
    text-align: right;
}

.read-aloud__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.read-aloud__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.9rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--jelonka-ink);
    font-weight: 700;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.read-aloud__button:hover,
.read-aloud__button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(20, 97, 162, 0.3);
    box-shadow: 0 12px 24px rgba(21, 64, 134, 0.1);
}

.read-aloud__button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.read-aloud__button--play {
    background: linear-gradient(135deg, var(--jelonka-brand) 0%, var(--jelonka-brand-strong) 100%);
    border-color: transparent;
    color: var(--jelonka-white);
}

.read-aloud__button--play:hover,
.read-aloud__button--play:focus-visible {
    border-color: transparent;
    background: linear-gradient(135deg, #1a6cb1 0%, #12366f 100%);
}

.read-aloud.is-paused .read-aloud__button--play {
    background: linear-gradient(135deg, rgba(190, 86, 0, 0.94) 0%, rgba(152, 67, 0, 0.98) 100%);
}

.read-aloud.is-disabled {
    opacity: 0.8;
}

.read-aloud-segment--active {
    scroll-margin-top: 7rem;
    border-radius: 16px;
    background: rgba(20, 97, 162, 0.06);
    box-shadow: 0 0 0 3px rgba(20, 97, 162, 0.12);
}

.news-gallery {
    display: grid;
    gap: 0.85rem;
    justify-items: center;
}

.news-gallery figure {
    margin: 0;
}

.news-gallery__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.news-gallery__open:focus-visible {
    outline: 3px solid rgba(20, 97, 162, 0.45);
    outline-offset: 3px;
}

.news-gallery__featured .news-gallery__open {
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 22px;
}

.news-gallery__featured {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
}

.news-gallery__thumb {
    overflow: hidden;
    border-radius: 22px;
    background: #e0e2df;
    box-shadow: 0 18px 40px rgba(23, 33, 38, 0.05);
}

.news-gallery__featured img,
.news-gallery__thumb img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.news-gallery__featured img {
    width: auto;
    max-width: 100%;
    max-height: min(72vh, 720px);
    height: auto;
    object-fit: contain;
}

.news-gallery__grid {
    display: grid;
    justify-self: stretch;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
}

.news-gallery__thumb img {
    aspect-ratio: 16 / 10;
}

.news-gallery figcaption {
    padding: 0.05rem 0.4rem 0.4rem;
    color: var(--jelonka-ink-soft);
}

.news-gallery__featured figcaption {
    width: 100%;
    padding: 0.35rem 0 0;
    font-size: 0.86rem;
}

.news-gallery__thumb figcaption {
    font-size: 0.55rem;
    line-height: 1.25;
}

.news-image-caption__author {
    font-style: italic;
}

.news-lightbox[hidden] {
    display: none;
}

.news-lightbox {
    --news-lightbox-tray-space: 9.25rem;
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 0.65rem;
}

.news-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(6, 12, 18, 0.88);
    cursor: zoom-out;
}

.news-lightbox__frame {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(100%, calc(100vw - 2rem));
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    gap: 0.35rem;
    padding-bottom: var(--news-lightbox-tray-space);
    box-sizing: border-box;
    justify-items: center;
    place-items: center;
}

.news-lightbox__frame img {
    display: block;
    width: auto;
    max-width: min(100%, calc(100vw - 6.5rem));
    height: auto;
    max-height: calc(100vh - var(--news-lightbox-tray-space) - 2rem);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.news-lightbox__caption {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0.24rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(6, 12, 18, 0.62);
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.35;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
}

.news-lightbox__caption-counter {
    flex: 0 0 auto;
    font-weight: 800;
}

.news-lightbox__caption-text {
    min-width: 0;
}

.news-lightbox__caption-author {
    display: block;
    font-style: italic;
}

.news-lightbox__caption-text::before {
    content: "•";
    padding: 0 0.45rem;
    opacity: 0.68;
}

.news-lightbox__caption[hidden] {
    display: none;
}

.news-lightbox__close {
    position: fixed;
    top: var(--news-lightbox-close-top, max(0.65rem, env(safe-area-inset-top)));
    left: var(--news-lightbox-close-left, auto);
    right: max(0.65rem, env(safe-area-inset-right));
    z-index: 2;
    display: inline-grid;
    width: 4.25rem;
    height: 4.25rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--jelonka-ink);
    font-family: Arial, sans-serif;
    font-size: 2.9rem;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.news-lightbox--event-poster .news-lightbox__frame {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    height: auto;
    padding-bottom: 0;
}

.news-lightbox--event-poster .news-lightbox__frame img {
    max-height: calc(100vh - 4.75rem);
}

.news-lightbox--event-poster .news-lightbox__close {
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: rgba(38, 24, 21, 0.9);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.news-lightbox__nav {
    position: fixed;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 4.25rem;
    height: 4.25rem;
    align-items: center;
    justify-items: center;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--jelonka-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.55rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
    transform: translateY(-50%);
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
    backdrop-filter: blur(10px);
}

.news-lightbox__nav:hover,
.news-lightbox__nav:focus-visible,
.news-lightbox__close:hover,
.news-lightbox__close:focus-visible {
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.news-lightbox__nav:hover,
.news-lightbox__nav:focus-visible {
    transform: translateY(-50%) scale(1.04);
}

.news-lightbox__nav--prev {
    left: 2rem;
    padding-right: 0.18rem;
    padding-bottom: 0.32rem;
}

.news-lightbox__nav--next {
    right: 2rem;
    padding-left: 0.18rem;
    padding-bottom: 0.32rem;
}

.news-lightbox__counter {
    display: none;
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
}

.news-lightbox__tray {
    position: fixed;
    bottom: max(0.42rem, env(safe-area-inset-bottom));
    left: 50%;
    z-index: 2;
    display: grid;
    align-items: end;
    width: min(760px, calc(100vw - 1.3rem));
    gap: 0.42rem;
    padding: 0.28rem 0.4rem 0.36rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(10, 18, 28, 0.86) 0%, rgba(6, 12, 18, 0.74) 100%);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
    color: var(--jelonka-ink);
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
}

.news-lightbox__thumbs {
    display: flex;
    gap: 0.34rem;
    justify-content: flex-start;
    padding: 0.08rem 0.15rem 0.12rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: calc(50% - 2.1rem);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.6) rgba(255, 255, 255, 0.12);
}

.news-lightbox__thumb {
    flex: 0 0 auto;
    width: 3.85rem;
    aspect-ratio: 16 / 10;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    opacity: 0.6;
    transition: border-color 0.16s ease, opacity 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.news-lightbox__thumb:hover,
.news-lightbox__thumb:focus-visible,
.news-lightbox__thumb.is-active {
    border-color: rgba(255, 255, 255, 0.96);
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.26);
}

.news-lightbox__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.news-lightbox__thumbs::-webkit-scrollbar {
    height: 0.45rem;
}

.news-lightbox__thumbs::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.news-lightbox__thumbs::-webkit-scrollbar-thumb {
    border: 2px solid rgba(6, 12, 18, 0);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(203, 216, 231, 0.72) 100%);
    background-clip: padding-box;
}

.news-lightbox__thumbs::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(226, 235, 244, 0.84) 100%);
    background-clip: padding-box;
}

.news-lightbox-open {
    overflow: hidden;
}

.news-article-body {
    color: var(--jelonka-ink);
    font-size: 1.04rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
    word-break: normal;
}

.news-article-body p,
.news-article-body li,
.news-article-body a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.news-article-body .news-quote {
    position: relative;
    width: min(100%, 46rem);
    margin: 2rem auto;
    padding: 1.45rem 1.55rem 1.2rem 1.65rem;
    border-left: 5px solid rgba(190, 86, 0, 0.78);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 241, 233, 0.96) 100%);
    box-shadow: 0 22px 42px rgba(23, 33, 38, 0.08);
}

.news-article-body .news-quote::before {
    content: "\"";
    position: absolute;
    top: -0.35rem;
    left: 0.95rem;
    color: rgba(190, 86, 0, 0.22);
    font-size: clamp(3.8rem, 7vw, 5.2rem);
    line-height: 1;
    font-weight: 800;
    pointer-events: none;
}

.news-article-body .news-quote::after {
    content: "\"";
    position: absolute;
    right: 0.95rem;
    bottom: -0.85rem;
    color: rgba(190, 86, 0, 0.18);
    font-size: clamp(3.6rem, 6vw, 4.9rem);
    line-height: 1;
    font-weight: 800;
    pointer-events: none;
}

.news-article-body .news-quote blockquote {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--jelonka-ink);
    font-size: clamp(1.16rem, 2vw, 1.42rem);
    line-height: 1.68;
    font-weight: 600;
}

.news-article-body .news-quote blockquote > *:first-child {
    margin-top: 0;
}

.news-article-body .news-quote blockquote > *:last-child {
    margin-bottom: 0;
}

.news-article-body .news-quote figcaption {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(23, 33, 38, 0.1);
    color: var(--jelonka-ink-soft);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.news-article-body .news-quote--line {
    width: min(100%, 44rem);
    padding: 0.35rem 0 0.35rem 1.35rem;
    border-left: 4px solid rgba(190, 86, 0, 0.72);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.news-article-body .news-quote--line::before,
.news-article-body .news-quote--line::after {
    display: none;
}

.news-article-body .news-quote--line blockquote {
    font-size: clamp(1.08rem, 1.55vw, 1.22rem);
    line-height: 1.72;
    font-weight: 600;
}

.news-article-body .news-quote--line figcaption {
    margin-top: 0.8rem;
    padding-top: 0.55rem;
    border-top: 0;
    color: rgba(23, 33, 38, 0.72);
    font-size: 0.92rem;
}

.news-article-body .news-highlight-block {
    width: min(100%, 48rem);
    margin: 1.75rem auto;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 20px;
    background: var(
        --news-highlight-block-bg,
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(233, 241, 248, 0.96) 100%)
    );
    box-shadow: 0 18px 36px rgba(21, 64, 134, 0.08);
    color: var(--jelonka-ink);
}

.news-article-body .news-highlight-block > *:first-child {
    margin-top: 0;
}

.news-article-body .news-highlight-block > *:last-child {
    margin-bottom: 0;
}

.news-article-body .news-legacy-fat-quote {
    width: min(100%, 46rem);
    margin: 2rem auto;
    color: var(--jelonka-ink);
    font-size: clamp(1.28rem, 2.7vw, 1.72rem);
    line-height: 1.34;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
}

.news-article-body .news-legacy-fat-quote > * {
    font: inherit;
}

.news-article-body .news-embed {
    width: min(100%, 52rem);
    margin: 1.75rem auto;
    border: 1px solid rgba(23, 33, 38, 0.1);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px rgba(23, 33, 38, 0.08);
}

.news-article-body .news-embed iframe {
    display: block;
    width: 100%;
    border: 0;
}

.news-embed__privacy {
    display: grid;
    gap: 0.65rem;
    place-items: center;
    padding: 2rem;
    min-height: 12rem;
    color: var(--color-ink);
    text-align: center;
    background: linear-gradient(135deg, rgba(248, 245, 238, 0.96), rgba(255, 255, 255, 0.96));
}

.news-embed__privacy strong {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.news-embed__privacy p {
    max-width: 30rem;
    margin: 0;
    color: var(--color-muted);
}

.news-article-body .news-embed--video iframe {
    aspect-ratio: 16 / 9;
    min-height: 18rem;
}

.news-article-body .news-embed--shorts {
    width: min(100%, 24rem);
    background: #050505;
}

.news-article-body .news-embed--shorts iframe {
    aspect-ratio: 9 / 16;
    min-height: 0;
}

.news-article-body .news-embed--facebook {
    width: min(100%, 52rem);
    max-width: 100%;
    margin: 15px auto;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.news-article-body .news-embed--facebook .wrifr1 {
    position: relative;
    margin: 0;
}

.news-article-body .news-embed--facebook .wrifr2 {
    max-height: 100vh;
    overflow: hidden;
}

.news-article-body .news-embed--facebook .difr {
    position: relative;
    width: 100%;
    height: 0;
}

.news-article-body .news-embed--facebook .wrifr3 {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
}

.news-article-body .news-embed--facebook .ifr {
    width: auto;
    height: 100%;
    max-width: 100%;
}

.news-article-body .news-embed--map iframe {
    aspect-ratio: 16 / 10;
    min-height: 22rem;
}

.news-article-body .news-inline-image {
    width: min(100%, 52rem);
    margin: 1.75rem auto;
}

.news-article-body .news-inline-image img {
    display: block;
    width: 100%;
    max-height: 70vh;
    border-radius: 18px;
    object-fit: contain;
    background: rgba(23, 33, 38, 0.05);
}

.news-article-body .news-inline-image figcaption {
    padding: 0.45rem 0.15rem 0;
    color: rgba(23, 33, 38, 0.72);
    font-size: 0.92rem;
    line-height: 1.45;
}

.news-article-body table {
    margin: 1.5rem 0;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 34px rgba(23, 33, 38, 0.07);
}

.news-article-body th,
.news-article-body td {
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(23, 33, 38, 0.1);
    text-align: left;
    vertical-align: top;
    white-space: pre-line;
}

.news-article-body th {
    background: rgba(20, 97, 162, 0.08);
    color: var(--jelonka-brand-strong);
    font-weight: 800;
}

.news-article-body tr:nth-child(even) td {
    background: rgba(243, 246, 250, 0.72);
}

.news-article-body > *:last-child,
.news-section-head > *:last-child,
.news-comment__body > *:last-child {
    margin-bottom: 0;
}

.news-section-head {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.news-section-head p {
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.news-section-head--polls {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.75rem 1rem;
}

.news-section-head__copy {
    min-width: 0;
}

.news-section-head__poll-mascot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(4rem, 7vw, 5.25rem);
    text-decoration: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.news-section-head__poll-mascot:hover,
.news-section-head__poll-mascot:focus-visible {
    transform: translateY(-2px) scale(1.02);
    opacity: 0.96;
}

.news-section-head__poll-mascot:focus-visible {
    outline: 3px solid rgba(20, 97, 162, 0.22);
    outline-offset: 4px;
    border-radius: 18px;
}

.news-section-head__poll-mascot img {
    display: block;
    width: 100%;
    height: auto;
}

/* Article classifieds promo: keep this after generic news-panel/news-section-head rules. */
.news-panel.classifieds-article-promo {
    box-sizing: border-box;
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 1rem;
    padding: 1.1rem 1.25rem 1rem;
    border: 1px solid rgba(201, 95, 19, 0.12);
    border-radius: 8px;
    background: #fff7f2;
    box-shadow: 0 20px 44px rgba(124, 63, 11, 0.12);
}

.news-section-head.classifieds-article-promo__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0;
    padding: 0 0.6rem;
}

.news-panel.classifieds-article-promo .classifieds-article-promo__grid {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.news-panel.classifieds-article-promo .classifieds-article-promo__card {
    box-sizing: border-box;
    min-width: 0;
    grid-template-columns: 8.55rem minmax(0, 1fr);
    min-height: 10.25rem;
    gap: 0.9rem;
    padding: 0.85rem 0.9rem;
}

.news-panel.classifieds-article-promo .classifieds-article-promo__media {
    height: 8.55rem;
    aspect-ratio: auto;
}

.news-panel.classifieds-article-promo .classifieds-article-promo__bottom {
    margin-top: 1.35rem;
}

.news-panel.classifieds-article-promo .classifieds-article-promo__location,
.news-panel.classifieds-article-promo .classifieds-article-promo__price {
    font-size: 0.79rem;
}

.news-panel.classifieds-article-promo .classifieds-article-promo__category {
    font-size: 0.88rem;
}

@media (max-width: 991.98px) {
    .news-panel.classifieds-article-promo {
        gap: 0.72rem;
        padding: 0.88rem;
    }

    .news-section-head.classifieds-article-promo__head {
        padding: 0.05rem 0.35rem;
    }

    .classifieds-article-promo__more {
        font-size: 0.82rem;
    }

    .classifieds-article-promo__more-desktop {
        display: none;
    }

    .classifieds-article-promo__more-mobile {
        display: inline;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__grid {
        grid-template-columns: 1fr;
        gap: 0.62rem;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__card {
        grid-template-columns: 7.25rem minmax(0, 1fr);
        min-height: 7.5rem;
        gap: 0.78rem;
        padding: 0.68rem;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__media {
        height: 6.8rem;
        aspect-ratio: auto;
    }

    .classifieds-article-promo__body {
        gap: 0.24rem;
        align-self: stretch;
        align-content: start;
    }

    .classifieds-article-promo__name {
        font-size: 1rem;
        line-height: 1.18;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__category {
        font-size: 0.88rem;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__bottom {
        display: grid;
        gap: 0.42rem;
        margin-top: 0.65rem;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__location,
    .news-panel.classifieds-article-promo .classifieds-article-promo__price {
        font-size: 0.82rem;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__price {
        justify-self: end;
        text-align: right;
    }
}

.news-comments__head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.42rem;
}

.news-comments__head-copy {
    min-width: 0;
}

.news-comments__head-copy h2 {
    margin: 0;
}

.news-related-shortcuts__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.news-related-shortcuts__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.15rem;
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 246, 250, 0.96)),
        rgba(243, 246, 250, 0.96);
    box-shadow: 0 14px 30px rgba(21, 64, 134, 0.08);
    color: var(--jelonka-brand-strong);
    text-decoration: none;
    font-weight: 800;
    line-height: 1.25;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.news-related-shortcuts__item:hover,
.news-related-shortcuts__item:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(20, 97, 162, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(228, 239, 249, 0.96)),
        rgba(228, 239, 249, 0.96);
    box-shadow: 0 18px 34px rgba(21, 64, 134, 0.12);
    color: var(--jelonka-brand-strong);
    text-decoration: none;
}

.moderation-page {
    padding: 0 0 2.5rem;
}

.moderation-shell {
    display: grid;
    gap: 1.25rem;
}

.moderation-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 320px);
    gap: 1rem 1.5rem;
    align-items: center;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(190, 86, 0, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 240, 249, 0.92));
    box-shadow: 0 20px 48px rgba(21, 64, 134, 0.1);
}

.moderation-hero h1 {
    margin-bottom: 0.45rem;
}

.moderation-hero p {
    max-width: 46rem;
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.moderation-hero__count {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(190, 86, 0, 0.12);
    color: #8f3d00;
    font-size: 0.92rem;
    font-weight: 800;
}

.moderation-hero__actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: -2.4rem;
}

.moderation-hero__copy {
    position: relative;
    z-index: 1;
    max-width: min(100%, 52rem);
}

.moderation-hero__art {
    position: relative;
    align-self: center;
    justify-self: end;
    width: 100%;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 22px 34px rgba(132, 73, 12, 0.22));
}

.moderation-hero__art img {
    display: block;
    width: 100%;
    height: auto;
}

.moderation-hero__actions .btn {
    pointer-events: auto;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.82);
}

.moderation-flash-list {
    display: grid;
    gap: 0.75rem;
}

.moderation-flash {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(20, 97, 162, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(21, 64, 134, 0.06);
    font-weight: 600;
}

.moderation-flash--success {
    border-color: rgba(32, 125, 84, 0.22);
    background: rgba(238, 250, 243, 0.96);
}

.moderation-flash--warning,
.moderation-flash--error {
    border-color: rgba(190, 86, 0, 0.24);
    background: rgba(255, 247, 237, 0.98);
}

.obituary-shell {
    max-width: 1200px;
}

.obituary-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(255, 216, 130, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(32, 42, 68, 0.98) 0%, rgba(51, 74, 112, 0.96) 52%, rgba(145, 93, 31, 0.92) 100%);
}

.obituary-hero__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.obituary-list-panel,
.obituary-form-panel {
    display: grid;
    gap: 1rem;
}

.obituary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.obituary-card .news-card__placeholder {
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 231, 163, 0.62), transparent 24%),
        linear-gradient(180deg, rgba(51, 74, 112, 0.95), rgba(28, 36, 56, 0.98));
}

.obituary-form {
    display: grid;
    gap: 1rem;
}

.obituary-template-picker {
    display: grid;
    gap: 1.35rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.obituary-copy-builder {
    display: grid;
    gap: 1rem;
    padding: 1.15rem 1.15rem 1.2rem;
    border: 1px solid rgba(52, 43, 34, 0.08);
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.8), transparent 32%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 241, 233, 0.95));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        0 16px 34px rgba(39, 31, 24, 0.05);
}

.obituary-copy-builder__header {
    display: grid;
    gap: 0.35rem;
}

.obituary-copy-builder__header h4,
.obituary-copy-builder__header p {
    margin: 0;
}

.obituary-copy-builder__header h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    color: #221d18;
}

.obituary-copy-builder__header p {
    color: rgba(45, 39, 34, 0.74);
    line-height: 1.6;
}

.obituary-copy-builder__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.obituary-copy-builder__grid--signature {
    align-items: start;
}

.obituary-template-copy-sections {
    display: grid;
    gap: 1rem;
}

.obituary-preset-panel {
    min-width: 0;
}

.obituary-preset-preview {
    display: grid;
    gap: 0.45rem;
    min-height: 100%;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(52, 43, 34, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 241, 232, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.obituary-preset-preview__label,
.obituary-preset-preview__body {
    margin: 0;
}

.obituary-preset-preview__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(45, 39, 34, 0.62);
}

.obituary-preset-preview__body {
    color: rgba(33, 29, 25, 0.9);
    line-height: 1.65;
    white-space: pre-line;
}

.obituary-template-picker__header {
    display: grid;
    gap: 1rem;
    align-items: start;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 24rem);
}

.obituary-template-picker__copy {
    display: grid;
    gap: 0.45rem;
}

.obituary-template-picker__copy h4,
.obituary-template-picker__note,
.obituary-template-picker__copy p {
    margin: 0;
}

.obituary-template-picker__copy h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    line-height: 1.1;
    color: #201d1a;
}

.obituary-template-picker__lead {
    margin: 0;
    color: var(--jelonka-ink-soft);
    line-height: 1.55;
}

.obituary-template-picker__note {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(52, 43, 34, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 241, 232, 0.94));
    color: rgba(45, 39, 34, 0.78);
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.obituary-template-picker__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.obituary-template-picker__selection {
    margin: 0;
    color: rgba(45, 39, 34, 0.76);
    line-height: 1.5;
}

.obituary-template-picker__clear {
    padding: 0;
    border: 0;
    background: transparent;
    color: #2d2620;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.obituary-template-carousel {
    --obituary-template-peek: 2rem;
    display: grid;
    gap: 0.9rem;
}

.obituary-template-picker__viewport {
    overflow: hidden;
    padding-inline: 0.25rem;
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        rgba(0, 0, 0, 0.9) 1rem,
        rgba(0, 0, 0, 0.9) calc(100% - 1rem),
        transparent 100%
    );
}

.obituary-template-picker__track {
    display: flex;
    gap: 1.1rem;
    padding-inline: var(--obituary-template-peek);
    padding-top: 0.25rem;
    padding-bottom: 0.8rem;
    transition: transform 240ms ease;
    will-change: transform;
}

.obituary-template-picker__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.obituary-template-picker__controls,
.obituary-template-picker__dots {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.obituary-template-picker__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border: 1px solid rgba(53, 46, 39, 0.14);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(244, 237, 228, 0.96));
    color: #2a241f;
    font-size: 1.65rem;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 12px 24px rgba(39, 31, 24, 0.07);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease,
        opacity 160ms ease;
}

.obituary-template-picker__nav:hover,
.obituary-template-picker__nav:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(41, 35, 31, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 16px 28px rgba(39, 31, 24, 0.1);
}

.obituary-template-picker__nav:disabled {
    opacity: 0.48;
    transform: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 8px 18px rgba(39, 31, 24, 0.04);
    cursor: default;
}

.obituary-template-picker__nav span {
    display: block;
    line-height: 1;
    transform: translateY(-0.08em);
}

.obituary-template-picker__dot {
    width: 0.8rem;
    height: 0.8rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(58, 48, 38, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition:
        transform 160ms ease,
        background 160ms ease,
        opacity 160ms ease;
}

.obituary-template-picker__dot.is-active {
    transform: scale(1.12);
    background: rgba(47, 39, 33, 0.72);
}

.obituary-template-option {
    display: grid;
    gap: 0.95rem;
    flex: 0 0 calc((100% - 1.1rem - (2 * var(--obituary-template-peek))) / 2);
    min-width: 0;
    padding: 0.95rem;
    border: 1px solid rgba(53, 46, 39, 0.12);
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 42%),
        linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(245, 239, 231, 0.98));
    box-shadow:
        0 18px 48px rgba(39, 31, 24, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
    outline: none;
}

.obituary-template-option:hover,
.obituary-template-option:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(41, 35, 31, 0.26);
    box-shadow:
        0 24px 58px rgba(39, 31, 24, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.obituary-template-option.is-selected {
    border-color: rgba(32, 28, 24, 0.62);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 42%),
        linear-gradient(180deg, rgba(255, 252, 247, 1), rgba(242, 236, 228, 0.98));
    box-shadow:
        0 28px 72px rgba(39, 31, 24, 0.14),
        inset 0 0 0 1px rgba(37, 31, 26, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.obituary-template-option__preview {
    padding: 0.12rem;
}

.obituary-template-option__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: end;
}

.obituary-template-option__body {
    display: grid;
    gap: 0.28rem;
}

.obituary-template-option__body h5,
.obituary-template-option__body p {
    margin: 0;
}

.obituary-template-option__body h5 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    line-height: 1.14;
    color: #211d19;
}

.obituary-template-option__body p {
    color: rgba(45, 39, 34, 0.72);
    line-height: 1.55;
}

.obituary-template-option__check {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(70, 60, 50, 0.2);
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.96), rgba(244, 238, 230, 0.92) 58%, rgba(231, 223, 212, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 8px 18px rgba(37, 31, 27, 0.08);
}

.obituary-template-option__check::before {
    content: "";
    position: absolute;
    inset: 0.42rem;
    border-radius: 999px;
    border: 1px solid rgba(82, 72, 60, 0.18);
    background: rgba(255, 255, 255, 0.5);
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.obituary-template-option__check::after {
    content: "";
    position: absolute;
    inset: 0.82rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(110, 97, 83, 0.2), rgba(77, 67, 57, 0.12));
    opacity: 0;
    transform: scale(0.72);
    transition:
        opacity 160ms ease,
        transform 160ms ease,
        background 160ms ease;
}

.obituary-template-option.is-selected .obituary-template-option__check {
    border-color: rgba(48, 40, 33, 0.34);
    background:
        radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 1), rgba(245, 240, 233, 0.96) 52%, rgba(230, 220, 207, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 10px 22px rgba(37, 31, 27, 0.11);
}

.obituary-template-option.is-selected .obituary-template-option__check::before {
    border-color: rgba(46, 38, 32, 0.56);
    background: rgba(255, 255, 255, 0.78);
    transform: scale(1.02);
}

.obituary-template-option.is-selected .obituary-template-option__check::after {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(180deg, rgba(78, 67, 56, 0.92), rgba(46, 38, 32, 0.94));
}

.obituary-notice {
    display: grid;
    gap: 0;
    color: #181411;
}

.obituary-notice__canvas {
    --obituary-notice-background-image: none;
    position: relative;
    min-height: 31rem;
    overflow: hidden;
    border-radius: 0;
    border: 1px solid rgba(38, 33, 29, 0.12);
    background-color: #f5efe5;
    background-image: var(--obituary-notice-background-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow:
        0 18px 46px rgba(31, 25, 20, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.obituary-notice__canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%, rgba(255, 255, 255, 0.04) 82%, rgba(0, 0, 0, 0.04)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 28%);
    pointer-events: none;
}

.obituary-notice__content {
    --obituary-notice-content-top: 2.2rem;
    --obituary-notice-content-right: 2.15rem;
    --obituary-notice-content-bottom: 2.15rem;
    --obituary-notice-content-left: 2.15rem;
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    gap: 0.5rem;
    min-height: 100%;
    padding: var(--obituary-notice-content-top) var(--obituary-notice-content-right) var(--obituary-notice-content-bottom) var(--obituary-notice-content-left);
}

.obituary-notice.obituary-notice--boxed-text .obituary-notice__content {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.obituary-notice.obituary-notice--boxed-text .obituary-notice__canvas > .obituary-notice__content {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: 0;
    text-align: initial;
}

.obituary-notice.obituary-notice--boxed-text [data-obituary-box] {
    --obituary-fit-scale: 1;
    position: absolute;
    display: grid;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    align-content: center;
    justify-items: center;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.obituary-notice.obituary-notice--boxed-text [data-obituary-box="intro"] {
    top: var(--obituary-box-intro-top, auto);
    left: var(--obituary-box-intro-left, auto);
    width: var(--obituary-box-intro-width, auto);
    height: var(--obituary-box-intro-height, auto);
    font-size: calc(0.72rem * var(--obituary-fit-scale));
    line-height: 1.18;
}

.obituary-notice.obituary-notice--boxed-text [data-obituary-box="heading"] {
    top: var(--obituary-box-heading-top, auto);
    left: var(--obituary-box-heading-left, auto);
    width: var(--obituary-box-heading-width, auto);
    height: var(--obituary-box-heading-height, auto);
    font-size: calc(0.78rem * var(--obituary-fit-scale));
    line-height: 1.16;
}

.obituary-notice.obituary-notice--boxed-text [data-obituary-box="symbol"] {
    top: var(--obituary-box-symbol-top, auto);
    left: var(--obituary-box-symbol-left, auto);
    width: var(--obituary-box-symbol-width, auto);
    height: var(--obituary-box-symbol-height, auto);
    font-size: calc(2rem * var(--obituary-fit-scale));
    line-height: 1;
}

.obituary-notice.obituary-notice--boxed-text [data-obituary-box="name"] {
    top: var(--obituary-box-name-top, auto);
    left: var(--obituary-box-name-left, auto);
    width: var(--obituary-box-name-width, auto);
    height: var(--obituary-box-name-height, auto);
    font-size: calc(2rem * var(--obituary-fit-scale));
    line-height: 1.08;
}

.obituary-notice.obituary-notice--boxed-text [data-obituary-box="dates"] {
    top: var(--obituary-box-dates-top, auto);
    left: var(--obituary-box-dates-left, auto);
    width: var(--obituary-box-dates-width, auto);
    height: var(--obituary-box-dates-height, auto);
    font-size: calc(0.82rem * var(--obituary-fit-scale));
    line-height: 1.18;
}

.obituary-notice.obituary-notice--boxed-text [data-obituary-box="message"] {
    top: var(--obituary-box-message-top, auto);
    left: var(--obituary-box-message-left, auto);
    width: var(--obituary-box-message-width, auto);
    height: var(--obituary-box-message-height, auto);
    font-size: calc(0.98rem * var(--obituary-fit-scale));
    line-height: 1.26;
}

.obituary-notice.obituary-notice--boxed-text [data-obituary-box="ceremony"] {
    top: var(--obituary-box-ceremony-top, auto);
    left: var(--obituary-box-ceremony-left, auto);
    width: var(--obituary-box-ceremony-width, auto);
    height: var(--obituary-box-ceremony-height, auto);
    gap: calc(0.24rem * var(--obituary-fit-scale));
    padding: 0;
    border: 0;
}

.obituary-notice.obituary-notice--boxed-text [data-obituary-box="notifier"] {
    top: var(--obituary-box-notifier-top, auto);
    left: var(--obituary-box-notifier-left, auto);
    width: var(--obituary-box-notifier-width, auto);
    height: var(--obituary-box-notifier-height, auto);
    font-size: calc(1rem * var(--obituary-fit-scale));
    line-height: 1.16;
}

.obituary-notice.obituary-notice--boxed-text .obituary-notice__section-label {
    font-size: calc(0.7rem * var(--obituary-fit-scale));
    line-height: 1.15;
}

.obituary-notice.obituary-notice--boxed-text .obituary-notice__section-body {
    font-size: calc(0.94rem * var(--obituary-fit-scale));
    line-height: 1.22;
}

.obituary-notice--compact.obituary-notice--boxed-text [data-obituary-box="symbol"] {
    font-size: calc(1.4rem * var(--obituary-fit-scale));
}

.obituary-notice--compact.obituary-notice--boxed-text [data-obituary-box="name"] {
    font-size: calc(1.26rem * var(--obituary-fit-scale));
}

.obituary-notice--compact.obituary-notice--boxed-text [data-obituary-box="message"] {
    font-size: calc(0.84rem * var(--obituary-fit-scale));
}

.obituary-notice--compact.obituary-notice--boxed-text .obituary-notice__section-body {
    font-size: calc(0.8rem * var(--obituary-fit-scale));
}

.obituary-notice__intro,
.obituary-notice__heading,
.obituary-notice__lead,
.obituary-notice__dates,
.obituary-notice__footer,
.obituary-notice__label,
.obituary-notice__section-label,
.obituary-notice__section-body {
    margin: 0;
}

.obituary-notice__intro {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(32, 28, 24, 0.68);
}

.obituary-notice__heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(27, 23, 19, 0.82);
}

.obituary-notice__symbol {
    margin: 0.05rem 0 0.12rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-style: italic;
    font-weight: 700;
}

.obituary-notice__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.obituary-notice__dates {
    min-height: 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(32, 28, 24, 0.62);
}

.obituary-notice__lead {
    font-size: 0.98rem;
    font-style: italic;
    line-height: 1.62;
    color: rgba(27, 23, 19, 0.92);
}

.obituary-notice__section {
    display: grid;
    gap: 0.38rem;
    margin-top: 0.12rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(32, 28, 24, 0.16);
}

.obituary-notice__section-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(32, 28, 24, 0.68);
}

.obituary-notice__section-body {
    font-size: 0.94rem;
    line-height: 1.58;
    white-space: pre-line;
}

.obituary-notice__footer {
    margin-top: 0.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-style: italic;
    font-weight: 700;
}

.obituary-notice__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(32, 28, 24, 0.68);
}

.obituary-notice--memory_tree .obituary-notice__canvas {
    --obituary-notice-background-image: url("../img/obituaries/generated/classic-framed-bg.png");
    background-position: center top;
}

.obituary-notice--memory_tree .obituary-notice__content {
    width: min(100%, 80%);
    margin: 0 auto;
    text-align: center;
}

.obituary-notice--candle_glow .obituary-notice__canvas {
    --obituary-notice-background-image: url("../img/obituaries/generated/modern-chapel-bg.png");
    background-position: left center;
}

.obituary-notice--candle_glow .obituary-notice__content {
    width: min(100%, 64%);
    margin-left: auto;
    --obituary-notice-content-left: 0.45rem;
}

.obituary-notice--quiet_dawn .obituary-notice__canvas {
    --obituary-notice-background-image: url("../img/obituaries/generated/soft-memorial-bg.png");
    background-position: center top;
}

.obituary-notice--quiet_dawn .obituary-notice__content {
    width: min(100%, 78%);
    margin: 0 auto;
    --obituary-notice-content-top: 2.7rem;
    text-align: center;
}

.obituary-notice--cross_of_peace .obituary-notice__canvas {
    --obituary-notice-background-image: url("../img/obituaries/generated/cross-of-peace-bg.png");
    background-position: center top;
}

.obituary-notice--cross_of_peace .obituary-notice__content {
    width: min(100%, 74%);
    margin: 0 auto;
    --obituary-notice-content-top: 3.25rem;
    text-align: center;
}

.obituary-notice--cross_of_peace .obituary-notice__section {
    margin-top: 0.4rem;
}

.obituary-notice--arch_of_remembrance .obituary-notice__canvas {
    --obituary-notice-background-image: url("../img/obituaries/generated/arch-of-remembrance-bg.png");
    background-position: center top;
}

.obituary-notice--arch_of_remembrance .obituary-notice__content {
    width: min(100%, 67%);
    margin: 0 auto;
    gap: 0.42rem;
    --obituary-notice-content-top: 4.45rem;
    --obituary-notice-content-right: 2.45rem;
    --obituary-notice-content-bottom: 3.55rem;
    --obituary-notice-content-left: 2.45rem;
    text-align: center;
}

.obituary-notice--arch_of_remembrance .obituary-notice__intro {
    letter-spacing: 0.18em;
    color: rgba(50, 42, 34, 0.58);
}

.obituary-notice--arch_of_remembrance .obituary-notice__heading {
    font-size: 0.94rem;
    color: rgba(50, 42, 34, 0.8);
}

.obituary-notice--arch_of_remembrance .obituary-notice__name {
    margin-top: 0.35rem;
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    line-height: 1.08;
}

.obituary-notice--arch_of_remembrance .obituary-notice__dates {
    margin-top: 0.35rem;
}

.obituary-notice--arch_of_remembrance .obituary-notice__lead {
    line-height: 1.56;
}

.obituary-notice--arch_of_remembrance .obituary-notice__section {
    margin-top: 0.42rem;
    padding-top: 0.82rem;
}

.obituary-notice--arch_of_remembrance .obituary-notice__footer {
    margin-top: 0.62rem;
}

.obituary-notice--compact {
    gap: 0;
}

.obituary-notice--compact .obituary-notice__canvas {
    min-height: 21rem;
    border-radius: 0;
}

.obituary-notice--compact .obituary-notice__intro {
    font-size: 0.64rem;
}

.obituary-notice--compact .obituary-notice__heading {
    font-size: 0.68rem;
}

.obituary-notice--compact .obituary-notice__symbol {
    font-size: 1.4rem;
}

.obituary-notice--compact .obituary-notice__name {
    font-size: 1.26rem;
}

.obituary-notice--compact .obituary-notice__dates {
    font-size: 0.7rem;
}

.obituary-notice--compact .obituary-notice__lead {
    font-size: 0.84rem;
    line-height: 1.5;
}

.obituary-notice--compact .obituary-notice__section-label {
    font-size: 0.62rem;
}

.obituary-notice--compact .obituary-notice__section-body {
    font-size: 0.8rem;
}

.obituary-notice--compact .obituary-notice__footer,
.obituary-notice--compact .obituary-notice__label {
    font-size: 0.74rem;
}

.obituary-notice--compact .obituary-notice__content {
    --obituary-notice-content-top: 1.45rem;
    --obituary-notice-content-right: 1.35rem;
    --obituary-notice-content-bottom: 1.4rem;
    --obituary-notice-content-left: 1.35rem;
}

.obituary-notice--featured {
    gap: 0;
    width: min(100%, 34rem);
}

.obituary-notice--featured .obituary-notice__canvas {
    aspect-ratio: 2 / 3;
    min-height: unset;
    border-radius: 0;
}

.obituary-notice--featured .obituary-notice__content {
    --obituary-notice-content-top: 3rem;
    --obituary-notice-content-right: 3rem;
    --obituary-notice-content-bottom: 2.85rem;
    --obituary-notice-content-left: 3rem;
}

.obituary-notice--featured .obituary-notice__name {
    font-size: clamp(2.3rem, 4vw, 3.15rem);
}

.obituary-notice--arch_of_remembrance.obituary-notice--featured .obituary-notice__content {
    width: min(100%, 63%);
    --obituary-notice-content-top: 5.15rem;
    --obituary-notice-content-right: 3.15rem;
    --obituary-notice-content-bottom: 4.2rem;
    --obituary-notice-content-left: 3.15rem;
}

.obituary-notice--featured .obituary-notice__intro {
    font-size: 0.76rem;
}

.obituary-notice--featured .obituary-notice__heading {
    font-size: 0.82rem;
}

.obituary-notice--featured .obituary-notice__lead,
.obituary-notice--featured .obituary-notice__section-body {
    font-size: 1.06rem;
}

.obituary-notice--picker .obituary-notice__canvas {
    aspect-ratio: 2 / 3;
    min-height: unset;
}

.obituary-notice--picker .obituary-notice__content {
    --obituary-notice-content-top: 1.75rem;
    --obituary-notice-content-right: 1.65rem;
    --obituary-notice-content-bottom: 1.65rem;
    --obituary-notice-content-left: 1.65rem;
    align-content: center;
    justify-items: center;
    width: min(100%, 72%);
    margin: 0 auto;
    text-align: center;
}

.obituary-notice--picker .obituary-notice__section {
    width: 100%;
    justify-items: center;
}

.obituary-notice--arch_of_remembrance.obituary-notice--picker .obituary-notice__content {
    width: min(100%, 72%);
    --obituary-notice-content-top: 3.55rem;
    --obituary-notice-content-right: 1.8rem;
    --obituary-notice-content-bottom: 2.75rem;
    --obituary-notice-content-left: 1.8rem;
}

.obituary-card .obituary-notice {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 2 / 3;
    margin: 0;
    gap: 0;
    border-radius: 0;
}

.obituary-card .news-card__media {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 0;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 0;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.92), rgba(242, 236, 227, 0.9));
}

.obituary-card .news-card__media img {
    height: 100%;
    object-fit: cover;
    object-position: center center !important;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.92), rgba(242, 236, 227, 0.9));
}

.obituary-card .news-card__media .obituary-notice__canvas {
    width: 100%;
    height: 100%;
    min-height: unset;
    border-radius: 0;
}

.obituary-card .news-card__body {
    gap: 0.35rem;
    padding: 0.72rem 0.9rem 0.78rem;
}

.obituary-card .news-card__body h2 {
    line-height: 1.18;
}

.obituary-card .news-card__meta {
    gap: 0.25rem;
    font-size: 0.78rem;
    line-height: 1.2;
}

.obituary-card__fallback-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-gallery--memorial {
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.news-gallery--memorial .obituary-notice {
    width: min(100%, 34rem);
    gap: 0;
    margin: 0;
}

.news-gallery--memorial .obituary-notice__canvas {
    border-radius: 0;
}

.news-gallery__thumb--memorial {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.news-gallery__thumb--memorial .obituary-notice,
.news-gallery__thumb--memorial .obituary-notice__canvas {
    border-radius: 0;
}

.obituary-flow-layout {
    align-items: start;
}

.obituary-submit-summary {
    gap: 1rem;
}

.obituary-form__grid {
    display: grid;
    gap: 1rem;
}

.obituary-form__actions {
    display: flex;
    justify-content: flex-start;
}

.obituary-detail {
    display: grid;
    gap: 1rem;
}

.obituary-empty-media {
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 15rem;
    background:
        radial-gradient(circle at top, rgba(255, 248, 237, 0.9), transparent 38%),
        linear-gradient(180deg, rgba(248, 243, 236, 0.98), rgba(240, 234, 226, 0.96));
}

.obituary-empty-media__image {
    display: block;
    width: 100%;
    max-height: min(36rem, 72vh);
    object-fit: cover;
}

.obituary-detail__meta {
    gap: 0.55rem;
}

.obituary-ceremony {
    display: grid;
    gap: 1rem;
}

.obituary-ceremony__facts {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 0;
}

.obituary-ceremony__facts div {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 16px;
    background: rgba(243, 246, 250, 0.62);
}

.obituary-ceremony__facts dt {
    margin-bottom: 0.35rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.obituary-ceremony__facts dd {
    margin: 0;
    font-weight: 700;
}

.obituary-candles {
    display: grid;
    gap: 1rem;
}

.obituary-candles__form {
    display: flex;
    justify-content: flex-end;
}

.obituary-candle-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.obituary-candle-summary__pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.45rem 0.88rem;
    border-radius: 999px;
    border: 1px solid rgba(88, 62, 30, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(243, 234, 219, 0.96));
    color: #65410f;
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(36, 28, 20, 0.06);
}

.obituary-memorial-surface {
    position: relative;
    overflow: hidden;
    padding: 1.35rem 1.25rem 1rem;
    border: 1px solid rgba(22, 25, 29, 0.06);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% -8%, rgba(255, 211, 138, 0.08), transparent 30%),
        linear-gradient(180deg, #4d5259 0%, #2c3036 28%, #1d2025 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -14px 30px rgba(0, 0, 0, 0.28),
        0 22px 54px rgba(18, 21, 27, 0.18);
    isolation: isolate;
}

.obituary-memorial-surface::before,
.obituary-memorial-surface::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.obituary-memorial-surface::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.2)),
        repeating-linear-gradient(
            112deg,
            rgba(255, 255, 255, 0.02) 0 6px,
            rgba(0, 0, 0, 0.02) 6px 12px,
            rgba(255, 255, 255, 0.015) 12px 18px
        );
    mix-blend-mode: soft-light;
    opacity: 0.72;
}

.obituary-memorial-surface::after {
    background:
        radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.32), transparent 44%),
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.08), transparent 24%),
        radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.06), transparent 18%);
}

.obituary-memorial-surface__stone,
.obituary-memorial-surface__flowers {
    position: absolute;
    pointer-events: none;
}

.obituary-memorial-surface__stone {
    inset: 0.7rem;
    border-radius: 23px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%, rgba(0, 0, 0, 0.2) 100%),
        radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.05), transparent 16%),
        radial-gradient(circle at 78% 64%, rgba(255, 255, 255, 0.03), transparent 18%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 16px 32px rgba(255, 255, 255, 0.03),
        inset 0 -18px 38px rgba(0, 0, 0, 0.18);
    opacity: 0.92;
    z-index: -1;
}

.obituary-memorial-surface__flowers {
    top: 0.95rem;
    right: 1rem;
    width: 14rem;
    height: 5.4rem;
    background:
        radial-gradient(circle at 18% 42%, rgba(137, 63, 24, 0.58) 0 9%, transparent 10%),
        radial-gradient(circle at 31% 28%, rgba(186, 148, 47, 0.42) 0 8%, transparent 9%),
        radial-gradient(circle at 45% 55%, rgba(78, 101, 53, 0.5) 0 10%, transparent 11%),
        radial-gradient(circle at 60% 34%, rgba(116, 46, 20, 0.48) 0 8%, transparent 9%),
        radial-gradient(circle at 74% 48%, rgba(148, 120, 34, 0.38) 0 8%, transparent 9%),
        radial-gradient(circle at 86% 28%, rgba(89, 106, 58, 0.46) 0 9%, transparent 10%);
    filter: blur(10px);
    opacity: 0.65;
    transform: rotate(-7deg);
    z-index: 0;
}

.obituary-candle-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.8rem 0.4rem;
    min-height: 18.5rem;
    padding: 1.85rem 0.15rem 0.35rem;
}

.obituary-candle {
    position: relative;
    display: grid;
    gap: 0.5rem;
    align-items: end;
    justify-items: center;
    flex: 0 0 clamp(98px, 10vw, 124px);
    min-height: 235px;
    padding: 0 0.1rem;
    background: none;
    overflow: visible;
    transform-origin: 50% 100%;
}

.obituary-candle::before {
    display: none;
}

.obituary-candle:nth-child(6n + 1) {
    transform: translateY(4px) rotate(-6deg);
}

.obituary-candle:nth-child(6n + 2) {
    transform: translateY(-6px) rotate(3deg);
}

.obituary-candle:nth-child(6n + 3) {
    transform: translateY(7px) rotate(-2deg);
}

.obituary-candle:nth-child(6n + 4) {
    transform: translateY(-10px) rotate(7deg);
}

.obituary-candle:nth-child(6n + 5) {
    transform: translateY(2px) rotate(-4deg);
}

.obituary-candle:nth-child(6n) {
    transform: translateY(-4px) rotate(5deg);
}

.obituary-candle__scene {
    position: relative;
    display: grid;
    place-items: end center;
    width: 100%;
    min-height: 178px;
}

.obituary-candle__halo {
    position: absolute;
    top: 16px;
    left: 50%;
    width: 112px;
    height: 112px;
    margin-left: -56px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 220, 142, 0.44) 0, rgba(255, 189, 77, 0.26) 38%, rgba(255, 189, 77, 0) 74%);
    filter: blur(8px);
    opacity: 0.86;
}

.obituary-candle__shadow {
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 124px;
    height: 28px;
    margin-left: -62px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 12, 14, 0.66) 0, rgba(12, 12, 14, 0.26) 46%, rgba(12, 12, 14, 0) 78%);
    filter: blur(8px);
}

.obituary-candle__glass {
    position: relative;
    width: 94px;
    height: 154px;
    border-radius: 26px 26px 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        inset 0 16px 22px rgba(255, 255, 255, 0.08),
        inset 0 -22px 30px rgba(28, 15, 7, 0.28),
        0 30px 34px rgba(4, 4, 6, 0.26),
        0 8px 18px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(3px) saturate(1.08);
    overflow: hidden;
}

.obituary-candle--classic .obituary-candle__glass {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 16%),
        linear-gradient(180deg, rgba(216, 72, 68, 0.18), rgba(145, 11, 13, 0.74) 72%, rgba(76, 0, 0, 0.92));
}

.obituary-candle--glass .obituary-candle__glass {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 16%),
        linear-gradient(180deg, rgba(97, 183, 255, 0.22), rgba(18, 87, 151, 0.74) 72%, rgba(9, 40, 83, 0.92));
}

.obituary-candle--lantern .obituary-candle__glass {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 16%),
        linear-gradient(180deg, rgba(255, 162, 64, 0.2), rgba(201, 92, 12, 0.76) 72%, rgba(103, 34, 0, 0.92));
}

.obituary-candle--gold .obituary-candle__glass {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 16%),
        linear-gradient(180deg, rgba(255, 216, 104, 0.2), rgba(193, 142, 22, 0.75) 72%, rgba(102, 65, 0, 0.92));
}

.obituary-candle__rim {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 11px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.16));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7),
        0 3px 6px rgba(255, 255, 255, 0.12);
}

.obituary-candle__reflection {
    position: absolute;
    top: 16px;
    bottom: 12px;
    width: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.04));
    filter: blur(0.3px);
}

.obituary-candle__reflection--left {
    left: 10px;
}

.obituary-candle__reflection--right {
    right: 12px;
    width: 6px;
    opacity: 0.72;
}

.obituary-candle__label {
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: 48px;
    height: 58px;
    margin-left: -24px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.52), transparent 24%),
        linear-gradient(180deg, rgba(255, 248, 233, 0.92), rgba(224, 207, 172, 0.88));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        inset 0 -8px 10px rgba(116, 83, 25, 0.12),
        0 2px 5px rgba(0, 0, 0, 0.16);
    opacity: 0.95;
}

.obituary-candle__label::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 18px;
    height: 26px;
    margin-left: -9px;
    background:
        linear-gradient(90deg, transparent 45%, rgba(97, 73, 34, 0.7) 45%, rgba(97, 73, 34, 0.7) 55%, transparent 55%),
        linear-gradient(180deg, transparent 40%, rgba(97, 73, 34, 0.7) 40%, rgba(97, 73, 34, 0.7) 54%, transparent 54%);
    opacity: 0.7;
}

.obituary-candle__wax {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    height: 92px;
    border-radius: 18px 18px 14px 14px;
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.9), rgba(255, 248, 236, 0.92) 36%, transparent 38%),
        linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(246, 228, 198, 0.98) 40%, rgba(219, 191, 148, 0.98));
    box-shadow:
        inset 0 7px 14px rgba(255, 255, 255, 0.62),
        inset 0 -8px 14px rgba(132, 94, 33, 0.18);
}

.obituary-candle__wax::before,
.obituary-candle__wax::after {
    content: "";
    position: absolute;
    top: 8px;
    width: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 247, 227, 0.96), rgba(230, 205, 157, 0.92));
}

.obituary-candle__wax::before {
    left: 8px;
    height: 26px;
}

.obituary-candle__wax::after {
    right: 10px;
    height: 18px;
}

.obituary-candle__wick {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 4px;
    height: 34px;
    margin-left: -2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(53, 48, 43, 0.98), rgba(26, 22, 19, 0.86));
}

.obituary-candle__ember {
    position: absolute;
    top: 13px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 194, 115, 0.95) 0, rgba(179, 59, 13, 0.78) 60%, rgba(55, 28, 20, 0.12) 100%);
    opacity: 0.85;
}

.obituary-candle--lit .obituary-candle__ember {
    box-shadow: 0 0 10px rgba(255, 164, 76, 0.5);
}

.obituary-candle__flame {
    position: absolute;
    top: -18px;
    left: 50%;
    width: 30px;
    height: 48px;
    margin-left: -15px;
    border-radius: 54% 54% 48% 48%;
    background:
        radial-gradient(circle at 50% 68%, rgba(255, 250, 214, 0.98) 0 16%, rgba(255, 198, 92, 0.94) 34%, rgba(233, 105, 18, 0.92) 68%, rgba(233, 105, 18, 0.08) 100%);
    box-shadow:
        0 0 18px rgba(255, 182, 72, 0.48),
        0 0 38px rgba(255, 108, 25, 0.24);
    transform-origin: 50% 90%;
    animation: obituary-candle-flame 1.55s ease-in-out infinite alternate;
}

.obituary-candle__flame::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 7px;
    width: 10px;
    height: 18px;
    margin-left: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 238, 0.98) 0, rgba(255, 237, 175, 0.92) 55%, rgba(255, 237, 175, 0) 100%);
}

.obituary-candle__flame-core {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 14px;
    height: 26px;
    margin-left: -7px;
    border-radius: 50% 50% 46% 46%;
    background: radial-gradient(circle at 50% 70%, rgba(255, 255, 244, 0.98) 0, rgba(255, 242, 198, 0.98) 55%, rgba(255, 242, 198, 0) 100%);
    filter: blur(0.4px);
    opacity: 0.92;
    animation: obituary-candle-core 1.1s ease-in-out infinite alternate;
}

.obituary-candle__flame-glow {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 96px;
    height: 96px;
    margin-left: -48px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 213, 122, 0.34) 0, rgba(255, 178, 79, 0.16) 38%, rgba(255, 178, 79, 0) 72%);
    filter: blur(3px);
    opacity: 0.9;
    animation: obituary-candle-glow 1.6s ease-in-out infinite alternate;
}

.obituary-candle__floor-glow {
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 124px;
    height: 26px;
    margin-left: -62px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 190, 84, 0.28) 0, rgba(255, 190, 84, 0.08) 52%, rgba(255, 190, 84, 0) 100%);
    filter: blur(6px);
}

.obituary-candle__smoke {
    position: absolute;
    top: 58px;
    left: 50%;
    width: 28px;
    height: 58px;
    margin-left: -14px;
    opacity: 0.62;
}

.obituary-candle__smoke::before,
.obituary-candle__smoke::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 186, 190, 0.34) 0, rgba(184, 186, 190, 0.1) 50%, rgba(184, 186, 190, 0) 72%);
    filter: blur(1px);
    animation: obituary-candle-smoke 2.6s ease-in-out infinite;
}

.obituary-candle__smoke::after {
    width: 20px;
    height: 44px;
    left: 8px;
    opacity: 0.75;
    animation-delay: 0.8s;
}

.obituary-candle__meta {
    display: grid;
    gap: 0.2rem;
    text-align: center;
    width: 100%;
    padding: 0.18rem 0;
}

.obituary-candle__meta strong {
    font-size: 0.95rem;
    color: rgba(251, 245, 232, 0.98);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

.obituary-candle__meta span {
    color: rgba(224, 224, 228, 0.8);
    font-size: 0.82rem;
}

.obituary-candle-grid .news-comments__empty {
    width: 100%;
    padding: 1rem 0 0.2rem;
    color: rgba(248, 243, 234, 0.92);
}

.obituary-candle-note {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.9rem;
}

.obituary-moderation-card textarea {
    min-height: 5.5rem;
}

@keyframes obituary-candle-flame {
    0% {
        transform: translateX(-2px) scale(0.95, 1.02) rotate(-5deg);
    }

    50% {
        transform: translateX(1px) scale(1.04, 0.98) rotate(3deg);
    }

    100% {
        transform: translateX(-1px) scale(0.98, 1.04) rotate(-2deg);
    }
}

@keyframes obituary-candle-core {
    0% {
        transform: translateY(1px) scale(0.94);
        opacity: 0.86;
    }

    100% {
        transform: translateY(-1px) scale(1.04);
        opacity: 1;
    }
}

@keyframes obituary-candle-glow {
    0% {
        transform: scale(0.96);
        opacity: 0.72;
    }

    100% {
        transform: scale(1.04);
        opacity: 0.96;
    }
}

@keyframes obituary-candle-smoke {
    0% {
        transform: translateY(0) translateX(0) scale(0.78);
        opacity: 0;
    }

    30% {
        opacity: 0.32;
    }

    100% {
        transform: translateY(-26px) translateX(5px) scale(1.08);
        opacity: 0;
    }
}

.obituary-candles {
    display: grid;
    gap: 1rem;
}

.obituary-candles__head {
    margin-bottom: 0;
}

.obituary-candles__form {
    display: flex;
    justify-content: center;
}

.obituary-candles__button {
    min-width: 12rem;
    padding-inline: 1.5rem;
}

.obituary-candle-counter {
    display: grid;
    place-items: center;
    min-height: 3.25rem;
    text-align: center;
}

.obituary-candle-counter__value {
    display: inline-block;
    font-size: clamp(2rem, 3vw, 2.65rem);
    font-weight: 800;
    line-height: 1;
    color: #7a120d;
}

.obituary-candle-wall {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(122, 18, 13, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfa 0%, #fff6ef 100%);
}

.obituary-candle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
    gap: 0.95rem 0.75rem;
    align-items: end;
    min-height: 0;
    padding: 0;
}

.obituary-candle-tile {
    display: grid;
    place-items: center;
}

.obituary-candle-tile__icon {
    width: 3.2rem;
    height: auto;
    filter: drop-shadow(0 6px 10px rgba(158, 54, 22, 0.15));
}

.obituary-candle-tile--dimmed {
    opacity: 0.58;
}

.obituary-candle-grid .news-comments__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0.4rem 0;
    color: var(--jelonka-ink-soft);
}

.obituary-candles.news-panel {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.znicze_background {
    background-color: #111;
    background-image: url("https://static5.hsg.com.pl/znicze/backgrounds/black_marble1.webp");
    color: #fbe5a0;
    position: relative;
    margin: 25px 0;
    user-select: none;
}

.znicze_wrapper {
    position: relative;
    z-index: 1;
}

.znicze_header {
    position: absolute;
    top: 10px;
    right: 18px;
    z-index: 2;
}

.znicze_header h3 {
    margin: 0;
    border: 0;
    padding: 0;
    color: inherit;
    font-size: 25px;
    font-weight: 700;
    text-transform: none;
}

.znicze_ilosc {
    font-size: 1.2rem;
}

.znicze_content {
    padding: 10px 20px;
    line-height: 50%;
}

.znicze_ikona_wrap {
    position: relative;
    display: inline-block;
    margin-left: 5px;
    height: 40px;
}

.znicze_ikona,
.znicze_overlay {
    position: absolute;
    transition: transform 0.2s ease-in-out;
}

.znicze_ikona {
    -webkit-user-drag: none;
}

.znicze_ikona:hover {
    z-index: 1;
    transform: scale(1.5);
}

.znicze_overlay {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: #f3c522;
    opacity: 0.7;
    display: none;
    transition: opacity 0.2s ease-in-out;
}

.znicze_footer {
    padding: 20px;
    margin-top: 15px;
    display: flex;
    min-height: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.znicze_msg {
    margin: 0;
    font-size: 18px;
    color: #fbe5a0;
}

.znicze_przycisk {
    color: #fbe5a0;
    background-color: #000;
    padding: 10px 38px;
    border: 1px solid #847400;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

.znicze_przycisk:hover {
    background-color: #333;
    color: #faecc3;
}

.moderation-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.moderation-list {
    display: grid;
    gap: 1rem;
}

.moderation-card {
    overflow: hidden;
}

.moderation-card__layout {
    display: grid;
    gap: 1.15rem;
}

.moderation-card__layout--with-media {
    grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
}

.moderation-card__media {
    align-self: start;
}

.moderation-card__media .classifieds-carousel {
    gap: 0.7rem;
}

.moderation-card__media .classifieds-carousel__slide {
    border-radius: 22px;
}

.moderation-card__media .classifieds-carousel__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.moderation-card__body {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.moderation-card__topline,
.moderation-card__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.85rem 1rem;
}

.moderation-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.moderation-card__edit {
    align-self: start;
    font-weight: 700;
    text-decoration: none;
}

.moderation-card__header h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.moderation-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 0.45rem 0 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.95rem;
}

.moderation-card__price {
    align-self: start;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.08);
    color: var(--jelonka-brand-strong);
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.moderation-card__excerpt {
    margin: 0;
    color: var(--jelonka-ink);
    line-height: 1.62;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.moderation-card__excerpt-block {
    display: grid;
    gap: 0.45rem;
    align-items: start;
}

.moderation-description-modal__body {
    padding: 1rem 1.05rem;
    color: var(--jelonka-ink);
    line-height: 1.72;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.moderation-card__header h2,
.modal-title[id^="moderation-description-title-"] {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.moderation-card__contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0;
}

.moderation-card__contact div {
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    background: rgba(243, 246, 250, 0.88);
}

.moderation-card__contact dt {
    margin: 0 0 0.3rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.moderation-card__contact dd {
    margin: 0;
    font-weight: 600;
    word-break: break-word;
}

.moderation-card__decision {
    display: grid;
    gap: 0.85rem;
}

.moderation-empty {
    text-align: center;
}

.moderation-empty p {
    max-width: 38rem;
    margin: 0 auto 1rem;
    color: var(--jelonka-ink-soft);
}

.moderation-pagination {
    justify-content: center;
}

@media (max-width: 1100px) {
    .moderation-card__contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .moderation-hero,
    .moderation-card__layout,
    .moderation-card__contact {
        grid-template-columns: minmax(0, 1fr);
    }

    .moderation-hero__actions {
        margin-top: -1.8rem;
    }

    .moderation-hero__art {
        width: min(260px, 72vw);
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .moderation-card__topline,
    .moderation-card__header {
        flex-direction: column;
        align-items: stretch;
    }

    .moderation-card__price {
        align-self: flex-start;
    }

    .moderation-card__contact {
        grid-template-columns: minmax(0, 1fr);
    }

    .moderation-hero__art {
        width: min(220px, 78vw);
        justify-self: center;
    }

    .moderation-hero__actions {
        margin-top: -1.35rem;
    }
}

.news-polls-section,
.news-polls-stack,
.news-polls-page,
.news-polls-main,
.news-poll-card,
.news-poll-card__head,
.news-poll-card__copy,
.news-polls-ad {
    display: grid;
    gap: 1rem;
}

.news-polls-stack {
    gap: 1rem;
}

.news-polls-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 308px;
    gap: 1rem;
    align-items: start;
}

.news-polls-main,
.news-polls-sidebar {
    min-width: 0;
}

.news-poll-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.news-poll-grid .news-poll-card {
    height: 100%;
    grid-template-rows: auto 1fr auto;
}

.news-polls-sidebar {
    position: sticky;
    top: 1rem;
    align-self: start;
    padding: 0.8rem;
}

.news-polls-ad {
    min-height: 100%;
}

.news-polls-ad__eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.1);
    color: var(--jelonka-brand-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-polls-ad h3 {
    margin: 0;
}

.news-polls-ad p {
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.news-polls-ad__mock {
    display: grid;
    min-height: 32rem;
    border: 1px dashed rgba(20, 97, 162, 0.26);
    border-radius: 22px;
    background: rgba(248, 251, 255, 0.56);
}

.news-poll-card {
    align-content: start;
    padding: 1.35rem;
    border-radius: 26px;
    box-shadow: 0 20px 42px rgba(23, 33, 38, 0.07);
}

.news-poll-card.has-results {
    border-color: rgba(20, 97, 162, 0.14);
}

.news-poll-card__article {
    margin-top: 0.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(23, 33, 38, 0.08);
}

.news-poll-grid .news-poll-card__article {
    margin-top: auto;
}

.news-poll-card__article-link {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    gap: 0.95rem;
    align-items: stretch;
    color: var(--jelonka-ink);
    text-decoration: none;
}

.news-poll-card__article-link--no-media {
    grid-template-columns: minmax(0, 1fr);
}

.news-poll-card__article-link:hover,
.news-poll-card__article-link:focus-visible {
    color: var(--jelonka-brand-strong);
}

.news-poll-card__article-media {
    display: grid;
    place-items: center;
    min-height: 5.75rem;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(246, 249, 252, 0.96) 0%, rgba(236, 243, 249, 0.96) 100%);
}

.news-poll-card__article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-poll-card__article-body {
    display: grid;
    align-content: center;
    gap: 0.38rem;
    min-width: 0;
}

.news-poll-card__article-kicker {
    color: var(--jelonka-accent);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-poll-card__article-body strong {
    font-size: 1rem;
    line-height: 1.35;
}

.news-poll-card__copy {
    gap: 0.45rem;
}

.news-poll-card__copy h3 {
    margin: 0;
    color: var(--jelonka-ink);
    font-size: 1.35rem;
    line-height: 1.2;
}

.news-poll-card__copy p,
.news-poll-card__hint {
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.news-poll-card__hint {
    font-size: 0.95rem;
}

.news-poll-card__hint--success {
    color: var(--jelonka-brand-strong);
    font-weight: 700;
}

.news-poll-options {
    display: grid;
    gap: 0.75rem;
}

.news-poll-option {
    min-width: 0;
}

.news-poll-option button {
    display: grid;
    width: 100%;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(23, 33, 38, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 249, 252, 0.94) 100%);
    color: var(--jelonka-ink);
    text-align: left;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.news-poll-option button:hover,
.news-poll-option button:focus-visible {
    border-color: rgba(20, 97, 162, 0.32);
    background: linear-gradient(180deg, rgba(252, 254, 255, 1) 0%, rgba(238, 246, 253, 0.98) 100%);
    box-shadow: 0 14px 28px rgba(20, 97, 162, 0.1);
    transform: translateY(-1px);
}

.news-poll-option button:focus-visible {
    outline: 3px solid rgba(20, 97, 162, 0.22);
    outline-offset: 2px;
}

.news-poll-card.is-loading .news-poll-option button,
.news-poll-option button:disabled {
    cursor: wait;
    opacity: 0.78;
    transform: none;
}

.news-poll-option.is-selected button {
    border-color: rgba(20, 97, 162, 0.34);
    background: linear-gradient(180deg, rgba(238, 246, 253, 0.98) 0%, rgba(231, 242, 251, 0.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(20, 97, 162, 0.08);
}

.news-poll-option__topline,
.news-poll-option__result {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
}

.news-poll-option__content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.news-poll-card:not(.has-results) .news-poll-option__content {
    align-items: center;
}

.news-poll-option__index {
    display: inline-grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.1);
    color: var(--jelonka-brand-strong);
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
}

.news-poll-option__body {
    display: grid;
    gap: 0.65rem;
    min-width: 0;
}

.news-poll-option__label {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
}

.news-poll-option__percent {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.news-poll-option__percent {
    min-width: 3.2rem;
    background: rgba(23, 33, 38, 0.08);
    color: var(--jelonka-ink);
}

.news-poll-option.is-selected .news-poll-option__index {
    background: linear-gradient(135deg, rgba(20, 97, 162, 0.92) 0%, rgba(190, 86, 0, 0.88) 100%);
    color: #fff;
}

.news-poll-option__bar {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    height: 0.7rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.1);
}

.news-poll-option__bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(20, 97, 162, 0.92) 0%, rgba(190, 86, 0, 0.9) 100%);
    transition: width 0.22s ease;
}

.news-comment-form {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.news-comment-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.8rem;
    align-items: center;
    margin-bottom: 1rem;
}

.news-comment-sort__label {
    color: var(--jelonka-ink-soft);
    font-size: 0.84rem;
    font-weight: 800;
}

.news-comment-sort__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.news-comment-sort__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(23, 33, 38, 0.1);
    border-radius: 8px;
    background: rgba(243, 246, 250, 0.82);
    color: var(--jelonka-ink);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.news-comment-sort__option:hover,
.news-comment-sort__option:focus-visible,
.news-comment-sort__option.is-active {
    border-color: rgba(20, 97, 162, 0.28);
    background: rgba(20, 97, 162, 0.1);
    color: var(--jelonka-brand-strong);
    text-decoration: none;
}

.news-comment-form textarea {
    width: 100%;
    min-height: 8rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(23, 33, 38, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--jelonka-ink);
}

.news-comment-form textarea:focus {
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(20, 97, 162, 0.14);
    outline: 0;
}

.news-login-note,
.news-form-errors,
.news-comments__empty {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(20, 97, 162, 0.08);
    color: var(--jelonka-ink);
}

.news-form-errors {
    background: rgba(179, 64, 64, 0.08);
    color: #9c3030;
}

.news-comments__results {
    transition: opacity 160ms ease;
}

.news-comments__results.is-loading {
    opacity: 0.62;
    pointer-events: none;
}

.news-comment-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.news-comment {
    padding: 1rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 16px;
    background: rgba(243, 246, 250, 0.62);
}

.news-comment-children {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.85rem;
    margin-left: 1.35rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(20, 97, 162, 0.16);
}

.news-comment--depth-2,
.news-comment--depth-3 {
    background: rgba(255, 255, 255, 0.74);
}

.news-comment--depth-3 > .news-comment-children {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
}

.news-comment__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.news-comment__meta span {
    color: var(--jelonka-ink-soft);
    font-size: 0.84rem;
}

.news-comment__reply-context {
    display: inline-flex;
    margin: 0 0 0.55rem;
    padding: 0.24rem 0.48rem;
    border-radius: 8px;
    background: rgba(20, 97, 162, 0.08);
    color: var(--jelonka-brand-strong);
    font-size: 0.82rem;
    font-weight: 800;
}

.news-comment__content--deleted {
    color: var(--jelonka-ink-soft);
}

.news-comment__deleted {
    margin: 0;
    padding: 0.8rem 0.9rem;
    border: 1px dashed rgba(23, 33, 38, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
    font-style: italic;
    font-weight: 800;
}

.news-comment__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    margin-top: 0.8rem;
}

.news-comment-votes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.news-comment-vote button {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    padding: 0.34rem 0.55rem;
    border: 1px solid rgba(23, 33, 38, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--jelonka-ink);
    font-weight: 800;
    line-height: 1;
}

.news-comment-vote button:hover,
.news-comment-vote button:focus-visible,
.news-comment-vote.is-active button {
    border-color: rgba(20, 97, 162, 0.46);
    background: rgba(20, 97, 162, 0.10);
}

.news-comment-vote button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.news-comment-vote__icon {
    font-size: 1.08rem;
    line-height: 1;
}

.news-comment-vote__count {
    min-width: 1ch;
    font-variant-numeric: tabular-nums;
}

.news-comment-delete button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.34rem 0.6rem;
    border: 1px solid rgba(156, 48, 48, 0.22);
    border-radius: 8px;
    background: rgba(179, 64, 64, 0.08);
    color: #9c3030;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
}

.news-comment-delete button:hover,
.news-comment-delete button:focus-visible {
    border-color: rgba(156, 48, 48, 0.44);
    background: rgba(179, 64, 64, 0.14);
}

.news-comment-delete button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.news-comment-report {
    margin: 0;
}

.news-comment-report__trigger {
    display: inline-flex;
    padding: 0.34rem 0.6rem;
    border: 1px solid rgba(190, 86, 0, 0.24);
    border-radius: 8px;
    background: rgba(190, 86, 0, 0.08);
    color: var(--jelonka-brand-strong);
    cursor: pointer;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
}

.news-comment-report__trigger:hover,
.news-comment-report__trigger:focus-visible {
    border-color: rgba(190, 86, 0, 0.42);
    background: rgba(190, 86, 0, 0.14);
}

.news-comment-report-modal[hidden] {
    display: none;
}

.news-comment-report-modal {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.news-comment-report-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 31, 0.56);
}

.news-comment-report-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 34rem);
    max-height: min(100%, 42rem);
    padding: 1.05rem;
    border: 1px solid rgba(190, 86, 0, 0.16);
    border-radius: 18px;
    background: #fffdfa;
    box-shadow: 0 30px 80px rgba(15, 23, 31, 0.2);
    overflow: auto;
}

.news-comment-report-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.news-comment-report-modal__head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--jelonka-ink);
}

.news-comment-report-modal__head p {
    margin: 0.25rem 0 0;
    color: var(--jelonka-ink-soft);
    line-height: 1.45;
}

.news-comment-report-modal__close {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 31, 0.08);
    color: var(--jelonka-ink);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.news-comment-report-modal__close:hover,
.news-comment-report-modal__close:focus-visible {
    background: rgba(15, 23, 31, 0.14);
}

.news-comment-report__status {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.6rem;
    border-radius: 8px;
    background: rgba(20, 97, 162, 0.08);
    color: var(--jelonka-brand-strong);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
}

.news-comment-reply {
    margin-top: 0.75rem;
}

.news-comment-reply summary {
    display: inline-flex;
    padding: 0.34rem 0.6rem;
    border: 1px solid rgba(20, 97, 162, 0.24);
    border-radius: 8px;
    background: rgba(20, 97, 162, 0.08);
    color: var(--jelonka-brand-strong);
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    list-style: none;
}

.news-comment-reply summary::-webkit-details-marker {
    display: none;
}

.news-comment-reply summary:hover,
.news-comment-reply summary:focus-visible {
    border-color: rgba(20, 97, 162, 0.42);
    background: rgba(20, 97, 162, 0.14);
}

.news-comment-reply-form {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.news-comment-reply-form textarea {
    width: 100%;
    min-height: 5.5rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(23, 33, 38, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--jelonka-ink);
}

.news-comment-reply-form textarea:focus {
    border-color: rgba(20, 97, 162, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(20, 97, 162, 0.12);
    outline: 0;
}

.news-comment-reply-form__actions {
    display: flex;
    justify-content: flex-start;
}

.news-comment-report-form {
    display: grid;
    gap: 0.65rem;
}

.news-comment-report-form__grid {
    display: grid;
    gap: 0.65rem;
}

.news-comment-report-form select,
.news-comment-report-form textarea {
    width: 100%;
    padding: 0.72rem 0.85rem;
    border: 1px solid rgba(23, 33, 38, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--jelonka-ink);
}

.news-comment-report-form select:focus,
.news-comment-report-form textarea:focus {
    border-color: rgba(190, 86, 0, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(190, 86, 0, 0.1);
    outline: 0;
}

.news-comment-report-form textarea {
    min-height: 5.5rem;
}

.news-comment-report-form__actions {
    display: flex;
    justify-content: flex-start;
}

body.is-comment-modal-open {
    overflow: hidden;
}

.comment-report-queue__item + .comment-report-queue__item {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(15, 32, 58, 0.08);
}

.comment-report-queue__item p,
.comment-report-queue__item blockquote {
    margin: 0;
}

.comment-report-queue__item p {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
}

@keyframes classifiedsErrorFocus {
    0% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (max-width: 680px) {
    .classifieds-image-upload {
        grid-template-columns: 1fr;
    }

    .classifieds-image-upload__button {
        width: 100%;
    }

    .classifieds-image-order__card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 0.7rem;
    }

    .classifieds-image-order__card img {
        height: 62px;
    }

    .classifieds-carousel__nav {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.7rem;
    }

    .classifieds-carousel__nav--prev {
        left: 0.65rem;
    }

    .classifieds-carousel__nav--next {
        right: 0.65rem;
    }

    .classifieds-carousel__counter {
        right: 0.65rem;
        bottom: 0.65rem;
    }

    .classifieds-carousel__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.classifieds-richtext > *:last-child {
    margin-bottom: 0;
}

.classifieds-pagination {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: 1.25rem;
}

.pricing-grid,
.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.pricing-page {
    display: grid;
    gap: 1.75rem;
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #fffdf7 0%, #fff 100%);
    border: 1px solid rgba(24, 39, 75, 0.1);
    box-shadow: 0 20px 55px rgba(19, 31, 60, 0.08);
}

.pricing-card.is-recommended {
    border-color: rgba(190, 86, 0, 0.40);
    box-shadow: 0 24px 70px rgba(190, 86, 0, 0.16);
}

.pricing-card__badge {
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--jelonka-brand-strong);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-card__price {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    line-height: 1;
    color: var(--jelonka-ink);
}

.pricing-card__meta {
    margin: 0;
    color: var(--jelonka-ink-soft);
}

.jelonek-chip,
.jelonek-balance {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.jelonek-chip img,
.jelonek-balance img {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
}

.jelonek-chip strong,
.jelonek-balance strong {
    font-weight: 700;
}

.jelonek-balance {
    margin-bottom: 0.5rem;
    font-size: 1.12rem;
}

.jelonek-balance strong {
    font-size: 1.7rem;
    line-height: 1;
}

.pricing-card__list,
.account-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--jelonka-ink-soft);
}

.pricing-card__list li + li,
.account-list li + li {
    margin-top: 0.45rem;
}

.subscription-checkout-form {
    gap: 1.25rem;
}

.subscription-checkout-form__card,
.subscription-checkout-form__section {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 253, 0.98) 100%);
}

.subscription-checkout-form__card h3,
.subscription-checkout-form__section h3 {
    margin: 0;
    font-size: 1.05rem;
}

.subscription-checkout-form__grid {
    display: grid;
    gap: 1rem;
}

.subscription-checkout-form__grid--dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subscription-checkout-form .classifieds-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subscription-checkout-form [data-buyer-section][hidden] {
    display: none !important;
}

.admin-ads-toggle {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1250;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(23, 33, 38, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 32px rgba(21, 31, 60, 0.18);
    backdrop-filter: blur(10px);
}

.admin-ads-toggle__state {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--jelonka-ink);
}

.admin-ads-toggle__button {
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    background: linear-gradient(180deg, #1b57b4 0%, #154086 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.admin-ads-toggle__button:hover,
.admin-ads-toggle__button:focus {
    background: linear-gradient(180deg, #d06000 0%, #be5600 100%);
}

.account-page {
    padding: 0 0 4rem;
}

.account-shell {
    display: grid;
    gap: 0.95rem;
}

.account-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.8rem;
    padding: 0.9rem 1.1rem;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, rgba(21, 64, 134, 0.98) 0%, rgba(20, 97, 162, 0.96) 62%, rgba(190, 86, 0, 0.88) 100%);
    color: #fff;
}

.account-hero h1 {
    margin: 0.28rem 0 0;
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    line-height: 1.02;
}

.account-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.account-nav a {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.account-nav a:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.badge,
.classifieds-card__badges .badge {
    background: rgba(20, 97, 162, 0.10);
    color: var(--jelonka-brand-strong);
}

.alert-info {
    border-color: rgba(20, 97, 162, 0.20);
    background: rgba(20, 97, 162, 0.08);
    color: var(--jelonka-brand-strong);
}

.alert-success {
    border-color: rgba(20, 97, 162, 0.18);
    background: rgba(230, 237, 247, 0.95);
    color: var(--jelonka-brand-strong);
}

.alert-warning {
    border-color: rgba(190, 86, 0, 0.22);
    background: rgba(190, 86, 0, 0.08);
    color: #8f3d00;
}

.account-content {
    display: grid;
    gap: 1.25rem;
}

.account-listings {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-listings__item {
    display: grid;
    gap: 0.7rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(23, 33, 38, 0.09);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 251, 0.96) 100%);
    box-shadow: 0 14px 28px rgba(23, 33, 38, 0.04);
}

.account-listings__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem 1rem;
}

.account-listings__title-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
    min-width: 0;
}

.account-listings__title-link,
.account-listings__title-text {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}

.account-listings__title-link {
    color: var(--jelonka-ink);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.account-listings__title-link:hover {
    color: var(--jelonka-brand-strong);
    transform: translateY(-1px);
}

.account-listings__title-text {
    color: var(--jelonka-ink);
}

.account-listings__status {
    flex: 0 0 auto;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.account-listings__status--published {
    background: rgba(190, 86, 0, 0.14);
    color: #8f3d00;
}

.account-listings__status--rejected {
    background: rgba(179, 64, 64, 0.12);
    color: #9f2f2f;
}

.account-listings__category {
    color: var(--jelonka-ink-soft);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
}

.account-listings__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.2rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.92rem;
    line-height: 1.45;
}

.account-listings__meta strong {
    color: var(--jelonka-ink);
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .classifieds-list-toolbar {
        grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
    }

    .classifieds-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .classifieds-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .classifieds-layout--wide .classifieds-grid,
    .classifieds-layout--sidebar-hidden .classifieds-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-page {
        gap: 1.5rem;
    }
}

@media (min-width: 992px) {
    .classifieds-results-head {
        flex-wrap: nowrap;
    }

    .classifieds-results-head__tools {
        flex-wrap: nowrap;
    }

    .classifieds-results-head__create {
        flex: 0 0 auto;
    }

    .news-results-head {
        flex-wrap: nowrap;
    }
}

@media (max-width: 991.98px) {
    .account-listings__head {
        flex-direction: column;
    }

    .account-listings__category {
        text-align: left;
    }

    .classifieds-shell {
        max-width: calc(100vw - 1rem);
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }

    .classifieds-page {
        padding: 0 0 3rem;
    }

    .classifieds-hero,
    .classifieds-layout,
    .classifieds-detail__header {
        grid-template-columns: 1fr;
    }

    .classifieds-sidebar {
        position: static;
    }

    .classifieds-hero__actions {
        justify-content: flex-start;
    }

    .classifieds-results-head,
    .classifieds-results-head__lead,
    .classifieds-results-head__tools {
        align-items: stretch;
    }

    .classifieds-results-head__category-trigger {
        min-width: 0;
    }

    .classifieds-flow-layout,
    .classifieds-flow-step__grid--compact,
    .classifieds-flow-nav,
    .classifieds-flow-cost__grid,
    .classifieds-flow-summary__pricing,
    .classifieds-flow-review {
        grid-template-columns: 1fr;
    }

    .classifieds-flow-step__header,
    .classifieds-flow-cost__intro,
    .classifieds-flow-section__header,
    .classifieds-flow-summary__header,
    .classifieds-flow-cost__wallet,
    .classifieds-flow-summary__wallet,
    .classifieds-flow-summary__item {
        flex-direction: column;
        align-items: flex-start;
    }

    .classifieds-flow-layout__aside {
        position: static;
    }

    .classifieds-category-browser__panel {
        inset: max(0.75rem, env(safe-area-inset-top)) 0.75rem 0.75rem;
        padding: 1rem;
        border-radius: 26px;
    }

    .classifieds-card--list {
        grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    }

    .classifieds-card--list .classifieds-card__link {
        grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    }

    .classifieds-card--list .classifieds-card__media {
        height: 152px;
        min-height: 152px;
        max-height: 152px;
    }

    .classifieds-card--list .classifieds-card__media-frame {
        inset: 0;
    }

    .classifieds-list-toolbar {
        grid-template-columns: 1fr;
    }

    .classifieds-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-filters-panel__head,
    .news-results-head {
        flex-direction: column;
    }

    .news-list-toolbar {
        grid-template-columns: 1fr;
    }

    .news-list-toolbar__controls {
        justify-content: flex-start;
    }

    .news-results-head__tools {
        justify-items: stretch;
        width: 100%;
    }

    .news-inline-filter {
        justify-content: space-between;
        width: 100%;
    }

    .news-results-head__tools .news-active-filters,
    .news-filter-chips--compact {
        justify-content: flex-start;
    }

    .news-results-layout {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-polls-layout {
        grid-template-columns: 1fr;
    }

    .news-polls-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .subscription-checkout-form__grid--dual,
    .subscription-checkout-form .classifieds-choice-grid {
        grid-template-columns: 1fr;
    }

    .admin-ads-toggle {
        right: 0.75rem;
        bottom: 0.75rem;
        left: 0.75rem;
        justify-content: space-between;
    }

    .classifieds-hero--mobile-hidden {
        display: none;
    }

    .classifieds-hero__actions--mobile-hidden {
        display: none;
    }

    .classifieds-sidebar--desktop {
        display: none;
    }

    .classifieds-mobile-categories {
        display: block;
    }

    .classifieds-sidebar--mobile-secondary {
        display: grid;
        gap: 1rem;
        margin-top: 1.25rem;
    }

    .classifieds-detail__toolbar,
    .classifieds-detail__category-form {
        align-items: stretch;
        flex-direction: column;
    }

    .classifieds-detail__toolbar .btn,
    .classifieds-detail__category-form select {
        width: 100%;
    }

    .classifieds-results-head__create {
        display: none;
    }

    .classifieds-list-toolbar {
        margin: 0.75rem 0 1rem;
    }

    .classifieds-results-head__tools {
        justify-content: flex-start;
        width: 100%;
    }

    .news-segmented-control,
    .news-filter-chips,
    .news-active-filters {
        width: 100%;
    }

    .news-inline-filter .news-segmented-control {
        width: auto;
    }

    .news-segmented-control__item,
    .news-filter-chip {
        flex: 1 1 calc(50% - 0.55rem);
    }

    .news-segmented-control--compact .news-segmented-control__item,
    .news-filter-chips--compact .news-filter-chip {
        flex: 0 1 auto;
    }

    .news-filter-list__item {
        min-height: 3rem;
        padding: 0.8rem 0.9rem;
    }

    .news-hero-locality-list__item {
        flex: 1 1 calc(50% - 0.7rem);
        min-width: 0;
    }

    .classifieds-widget-section__inner {
        padding: 1rem;
    }

    .news-home-poll-widget__inner {
        padding: 1rem;
    }

    .classifieds-widget-section__copy h2 {
        font-size: 1.4rem;
    }

    .news-home-poll-widget__copy h2 {
        font-size: 1.4rem;
    }

    .classifieds-widget-section__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cookie-consent__banner {
        padding: 0.75rem;
    }

    .cookie-consent__banner-inner,
    .cookie-consent__dialog {
        padding: 1rem;
        border-radius: 22px;
    }

    .cookie-consent__dialog-actions .btn,
    .cookie-consent__actions .btn {
        width: 100%;
    }

    .cookie-consent__floating-button {
        left: 0.75rem;
        bottom: 0.75rem;
        width: 3rem;
        height: 3rem;
    }

    .scroll-to-top {
        right: 0.75rem;
        bottom: 4.45rem;
        bottom: max(4.45rem, calc(4.45rem + env(safe-area-inset-bottom)));
        width: 3.1rem;
        height: 3.1rem;
    }

    .shortfeed-launcher {
        right: 0.75rem;
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: 0.75rem;
        bottom: max(0.75rem, env(safe-area-inset-bottom));
    }

    body.cookie-consent-banner-visible .shortfeed-launcher {
        bottom: 12.25rem;
        bottom: max(12.25rem, calc(1rem + env(safe-area-inset-bottom)));
    }

    .classifieds-grid,
    .classifieds-layout--wide .classifieds-grid,
    .classifieds-layout--sidebar-hidden .classifieds-grid,
    .news-grid,
    .news-poll-grid,
    .classifieds-grid--compact,
    .classifieds-filters,
    .pricing-grid,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .classifieds-hero,
    .classifieds-panel,
    .classifieds-detail__contact,
    .news-hero,
    .news-panel {
        padding: 1.25rem;
    }

    .classifieds-article-promo {
        gap: 0.72rem;
        padding: 0.88rem;
        border-radius: 8px;
        box-shadow: 0 18px 36px rgba(24, 33, 47, 0.12);
    }

    .classifieds-article-promo__head {
        padding: 0.05rem 0.35rem;
    }

    .classifieds-article-promo__head h2 {
        font-size: 0.92rem;
    }

    .classifieds-article-promo__mascot {
        width: 1.55rem;
    }

    .classifieds-article-promo__more {
        font-size: 0.82rem;
    }

    .classifieds-article-promo__more-desktop {
        display: none;
    }

    .classifieds-article-promo__more-mobile {
        display: inline;
    }

    .classifieds-article-promo__grid {
        grid-template-columns: 1fr;
        gap: 0.62rem;
    }

    .classifieds-article-promo__card {
        grid-template-columns: 7.25rem minmax(0, 1fr);
        min-height: 7.5rem;
        gap: 0.78rem;
        padding: 0.68rem;
    }

    .classifieds-article-promo__media {
        height: 6.8rem;
        aspect-ratio: auto;
    }

    .classifieds-article-promo__body {
        gap: 0.24rem;
        align-self: stretch;
        align-content: start;
    }

    .classifieds-article-promo__name {
        font-size: 1rem;
        line-height: 1.18;
    }

    .classifieds-article-promo__category {
        font-size: 0.88rem;
    }

    .classifieds-article-promo__bottom {
        display: grid;
        gap: 0.42rem;
        margin-top: 0.65rem;
    }

    .classifieds-article-promo__location,
    .classifieds-article-promo__price {
        font-size: 0.82rem;
    }

    .classifieds-article-promo__price {
        justify-self: end;
        text-align: right;
    }

    .news-panel.classifieds-article-promo {
        gap: 0.72rem;
        width: 100%;
        max-width: 100%;
        padding: 0.88rem;
    }

    .news-section-head.classifieds-article-promo__head {
        padding: 0.05rem 0.35rem;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__grid {
        grid-template-columns: 1fr;
        gap: 0.62rem;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__card {
        grid-template-columns: 7.25rem minmax(0, 1fr);
        min-height: 7.5rem;
        gap: 0.78rem;
        padding: 0.68rem;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__media {
        height: 6.8rem;
    }

    .news-panel.classifieds-article-promo .classifieds-article-promo__bottom {
        margin-top: 0.65rem;
    }

    .classifieds-mobile-categories__panel {
        inset: max(0.5rem, env(safe-area-inset-top)) 0.5rem 0.5rem;
        padding: 0.95rem;
        border-radius: 24px;
    }

    .classifieds-flow-summary--mobile {
        display: block;
    }

    .classifieds-flow-layout__aside {
        display: none;
    }

    .classifieds-flow-nav__item,
    .classifieds-flow-summary__item dd,
    .classifieds-flow-summary__item dt {
        text-align: left;
    }

    .classifieds-category-browser__panel {
        inset: max(0.5rem, env(safe-area-inset-top)) 0.5rem 0.5rem;
        padding: 0.95rem;
        border-radius: 24px;
    }

    .classifieds-results-head,
    .classifieds-pagination,
    .news-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .classifieds-results-head__lead,
    .classifieds-results-head__summary,
    .classifieds-results-head__tools {
        flex: 0 0 auto;
    }

    .classifieds-category-panel {
        padding: 1rem;
    }

    .classifieds-results-head__lead,
    .classifieds-view-switch,
    .classifieds-results-head__category-trigger {
        width: 100%;
    }

    .news-hero--polls {
        grid-template-columns: 1fr;
    }

    .news-list-toolbar {
        position: relative;
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        gap: 0.42rem;
        padding: 0.56rem 0.6rem 0.62rem;
        border-radius: 14px;
    }

    .news-list-toolbar__summary,
    .news-list-toolbar__controls {
        width: 100%;
    }

    .news-list-toolbar__summary {
        min-height: 1.65rem;
        align-items: flex-start;
        gap: 0.38rem;
    }

    .news-list-toolbar__count {
        max-width: calc(100% - 9.5rem);
        min-height: 1.55rem;
        padding: 0.26rem 0.5rem;
        font-size: 0.72rem;
    }

    .news-list-toolbar .news-active-filters--toolbar {
        flex-wrap: nowrap;
        width: 100%;
        overflow: hidden;
        scrollbar-width: none;
    }

    .news-list-toolbar .news-active-filters--toolbar .news-active-filter {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 1.55rem;
        padding: 0.28rem 0.48rem;
        font-size: 0.72rem;
        overflow: hidden;
        justify-content: flex-start;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .news-list-toolbar .news-active-filters--toolbar .news-active-filter--clear {
        flex: 0 0 auto;
        justify-content: center;
    }

    .news-list-toolbar__controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.42rem;
    }

    .news-toolbar-filter,
    .news-inline-filter {
        justify-content: space-between;
    }

    .news-toolbar-filter {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.2rem;
        width: auto;
        min-width: 0;
        padding: 0.34rem;
        border-radius: 12px;
    }

    .news-toolbar-filter__label {
        padding-left: 0;
        font-size: 0.62rem;
        text-align: center;
    }

    .news-list-toolbar .news-filter-trigger {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 1.75rem;
        padding: 0.3rem 1.4rem 0.3rem 0.5rem;
    }

    .news-list-toolbar .news-filter-trigger::after {
        right: 0.56rem;
        width: 0.38rem;
        height: 0.38rem;
        margin-top: -0.28rem;
    }

    .news-list-toolbar .news-filter-trigger__current {
        font-size: 0.76rem;
        text-align: center;
    }

    .news-list-toolbar .news-filter-trigger__current-full,
    .news-segmented-control__label-full {
        display: none;
    }

    .news-list-toolbar .news-filter-trigger__current-short,
    .news-segmented-control__label-short {
        display: block;
    }

    .news-inline-filter {
        position: absolute;
        top: 0.52rem;
        right: 0.58rem;
        width: auto;
        max-width: 8.75rem;
        gap: 0.16rem;
        padding: 0.13rem;
        border-radius: 999px;
    }

    .news-inline-filter__label {
        display: none;
    }

    .news-inline-filter .news-segmented-control {
        gap: 0.14rem;
        width: auto;
    }

    .news-inline-filter .news-segmented-control__item,
    .news-segmented-control--compact .news-segmented-control__item {
        min-height: 1.38rem;
        padding: 0.22rem 0.36rem;
        font-size: 0.64rem;
    }

    .news-list-toolbar > .news-filter-chips--compact {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.12rem;
        scrollbar-width: thin;
    }

    .news-list-toolbar > .news-filter-chips--compact .news-filter-chip {
        flex: 0 0 auto;
        min-height: 1.55rem;
        padding: 0.28rem 0.48rem;
        font-size: 0.72rem;
    }

    .news-polls-sidebar {
        position: static;
    }

    .classifieds-results-head__category-trigger {
        gap: 0;
        padding: 0.8rem 3.95rem 0.8rem 0.95rem;
    }

    .classifieds-results-head__category-trigger::after {
        right: 0.82rem;
        width: 2.05rem;
        height: 2.05rem;
        font-size: 1.2rem;
    }

    .classifieds-results-head__category-kicker {
        display: none;
    }

    .classifieds-results-head__category-current {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .classifieds-category-browser__header,
    .classifieds-category-browser__actions {
        grid-template-columns: 1fr;
    }

    .classifieds-category-browser__header {
        display: grid;
    }

    .classifieds-category-browser__close,
    .classifieds-category-browser__action {
        width: 100%;
    }

    .classifieds-view-switch__link {
        flex: 1 1 0;
    }

    .classifieds-list {
        gap: 0.6rem;
    }

    .classifieds-card--list {
        display: block;
        border-color: rgba(23, 33, 38, 0.08);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: none;
    }

    .classifieds-card--list.is-featured {
        border-color: rgba(190, 86, 0, 0.34);
        background: linear-gradient(180deg, rgba(255, 249, 241, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        box-shadow: inset 4px 0 0 rgba(190, 86, 0, 0.82);
    }

    .classifieds-card--list .classifieds-card__link {
        display: block;
    }

    .classifieds-card--list .classifieds-card__media {
        display: none;
    }

    .classifieds-card--list .classifieds-card__media-frame {
        inset: 0;
    }

    .classifieds-card--list .classifieds-card__body {
        min-height: 0;
        padding: 0.8rem 0.9rem 0.9rem;
        text-align: left;
        gap: 0.4rem;
        position: relative;
    }

    .classifieds-card--list .classifieds-card__badges {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.3rem;
        min-width: 0;
    }

    .classifieds-card--list .classifieds-card__badges .badge {
        padding: 0.28rem 0.48rem;
        font-size: 0.68rem;
        font-weight: 700;
    }

    .classifieds-card--list .classifieds-badge--featured {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .classifieds-card--list .classifieds-badge--pinned {
        width: 1.5rem;
        height: 1.5rem;
        padding: 0;
        justify-content: center;
        border-radius: 999px;
        flex: 0 0 1.5rem;
    }

    .classifieds-card--list .classifieds-badge--pinned .classifieds-badge__label {
        display: none;
    }

    .classifieds-card--list .classifieds-badge--category {
        max-width: calc(100% - 5.8rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .classifieds-card--list .classifieds-card__list-price {
        display: inline-flex;
        flex: 0 0 auto;
        margin-left: auto;
        text-align: right;
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--jelonka-ink);
        white-space: nowrap;
    }

    .classifieds-card--list .classifieds-card__body h2 {
        font-size: 0.95rem;
        line-height: 1.28;
        width: 100%;
    }

    .classifieds-card--list .classifieds-card__meta {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.35rem;
        margin-top: 0.05rem;
        font-size: 0.78rem;
        min-width: 0;
    }

    .classifieds-card--list .classifieds-card__meta-city {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .classifieds-card--list .classifieds-card__meta-date {
        flex: 0 0 auto;
        text-align: left;
        white-space: nowrap;
    }

    .classifieds-card--list .classifieds-card__meta-date::before {
        content: "\2022";
        margin-right: 0.35rem;
        color: rgba(23, 33, 38, 0.46);
    }

    .classifieds-card--list .classifieds-card__meta-price {
        display: none;
        position: static;
        width: auto;
        margin: 0;
        text-align: right;
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--jelonka-ink);
        white-space: nowrap;
    }

    .obituary-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .obituary-hero__actions,
    .obituary-candles__form {
        justify-content: flex-start;
    }

    .obituary-template-picker__header {
        grid-template-columns: 1fr;
    }

    .obituary-copy-builder__grid {
        grid-template-columns: 1fr;
    }

    .obituary-template-picker__status {
        align-items: flex-start;
        flex-direction: column;
    }

    .obituary-notice--featured .obituary-notice__canvas {
        min-height: unset;
    }

    .obituary-notice--featured .obituary-notice__content {
        --obituary-notice-content-top: 2.4rem;
        --obituary-notice-content-right: 2.1rem;
        --obituary-notice-content-bottom: 2.2rem;
        --obituary-notice-content-left: 2.1rem;
    }

    .obituary-notice--candle_glow .obituary-notice__content {
        width: min(100%, 65%);
        --obituary-notice-content-left: 0.25rem;
    }

    .obituary-memorial-surface {
        padding: 1rem 0.85rem 0.85rem;
        border-radius: 24px;
    }

    .obituary-memorial-surface__flowers {
        top: 0.85rem;
        right: 0.6rem;
        width: 8.5rem;
        height: 3.8rem;
        opacity: 0.5;
    }

    .obituary-candle-grid {
        justify-content: center;
        gap: 0.7rem 0.15rem;
        min-height: 0;
        padding-top: 1.45rem;
    }

    .obituary-candle {
        flex-basis: 92px;
        min-height: 214px;
    }

    .obituary-candle:nth-child(6n + 1) {
        transform: translateY(3px) rotate(-4deg);
    }

    .obituary-candle:nth-child(6n + 2) {
        transform: translateY(-4px) rotate(2deg);
    }

    .obituary-candle:nth-child(6n + 3) {
        transform: translateY(4px) rotate(-2deg);
    }

    .obituary-candle:nth-child(6n + 4) {
        transform: translateY(-7px) rotate(4deg);
    }

    .obituary-candle:nth-child(6n + 5) {
        transform: translateY(2px) rotate(-3deg);
    }

    .obituary-candle:nth-child(6n) {
        transform: translateY(-2px) rotate(3deg);
    }

    .obituary-candle__glass {
        width: 84px;
        height: 144px;
    }

    .news-reaction__icon {
        width: 10.5rem;
    }

    .news-poll-card {
        padding: 1.1rem;
    }

    .news-poll-option button {
        padding: 0.9rem;
    }

    .news-poll-option__topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-poll-card__article-link {
        grid-template-columns: 1fr;
    }

    .news-poll-card__article-media {
        min-height: 9.5rem;
    }

    .news-home-poll-widget__header {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "eyebrow mascot"
            "copy copy";
        gap: 0.9rem 0.9rem;
    }

.news-home-poll-widget__cta {
        width: 100%;
        max-width: none;
        text-align: center;
    }

    .news-home-poll-widget__mascot {
        width: 4.4rem;
    }

    .news-home-poll-widget__body .news-poll-card__article-link {
        grid-template-columns: 1fr;
    }

    .news-home-poll-widget__body .news-poll-card__article-media {
        min-height: 9.5rem;
    }

    .news-hero__media-frame {
        justify-content: end;
    }

    .news-hero__media-frame img {
        width: 7rem;
    }

    .news-polls-ad__mock {
        min-height: 18rem;
    }

    .news-comment-children {
        margin-left: 0.55rem;
        padding-left: 0.7rem;
    }

    .news-comment {
        padding: 0.85rem;
    }

    .news-lightbox__nav {
        width: 3rem;
        height: 3rem;
        font-size: 2.55rem;
    }

    .news-lightbox__close {
        width: 3rem;
        height: 3rem;
        font-size: 2.55rem;
    }

    .news-lightbox__nav--prev {
        left: 0.75rem;
    }

    .news-lightbox__nav--next {
        right: 0.75rem;
    }

    .news-lightbox__frame img {
        max-width: 100%;
        max-height: calc(100vh - var(--news-lightbox-tray-space) - 1.25rem);
    }

    .news-lightbox--event-poster .news-lightbox__frame img {
        max-height: calc(100vh - 4rem);
    }

    .news-lightbox--event-poster .news-lightbox__close {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1rem;
    }

    .news-lightbox__tray {
        width: 100%;
        padding: 0.28rem 0.35rem 0.36rem;
    }

    .news-lightbox__counter {
        font-size: 0.86rem;
    }

    .news-lightbox__thumb {
        width: 3.45rem;
    }

    .news-lightbox__thumbs {
        scroll-padding-inline: calc(50% - 1.725rem);
    }

    .obituary-candles__form {
        justify-content: center;
    }

    .obituary-template-picker__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .obituary-template-carousel {
        --obituary-template-peek: 1.05rem;
    }

    .obituary-template-picker__viewport {
        padding-inline: 0;
        mask-image: linear-gradient(
            90deg,
            transparent 0,
            rgba(0, 0, 0, 0.94) 0.55rem,
            rgba(0, 0, 0, 0.94) calc(100% - 0.55rem),
            transparent 100%
        );
    }

    .obituary-template-picker__controls {
        justify-content: space-between;
    }

    .obituary-template-picker__dots {
        justify-content: center;
    }

    .obituary-template-option {
        flex-basis: calc(100% - (2 * var(--obituary-template-peek)));
        padding: 0.8rem;
        border-radius: 24px;
    }

    .obituary-template-option__meta {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .obituary-template-option__body h5 {
        font-size: 1.12rem;
    }

    .obituary-template-option__body p {
        font-size: 0.92rem;
    }

    .obituary-notice__canvas {
        min-height: 22rem;
        border-radius: 0;
    }

    .obituary-notice--picker .obituary-notice__canvas {
        min-height: unset;
    }

    .obituary-notice__content,
    .obituary-notice--featured .obituary-notice__content {
        --obituary-notice-content-top: 1.5rem;
        --obituary-notice-content-right: 1.35rem;
        --obituary-notice-content-bottom: 1.45rem;
        --obituary-notice-content-left: 1.35rem;
    }

    .obituary-notice__name,
    .obituary-notice--featured .obituary-notice__name {
        font-size: 1.55rem;
    }

    .obituary-notice__lead,
    .obituary-notice__section-body,
    .obituary-notice--featured .obituary-notice__lead,
    .obituary-notice--featured .obituary-notice__section-body {
        font-size: 0.9rem;
    }

    .obituary-notice--memory_tree .obituary-notice__content,
    .obituary-notice--quiet_dawn .obituary-notice__content {
        width: min(100%, 88%);
    }

    .obituary-notice--candle_glow .obituary-notice__content {
        width: min(100%, 64%);
        --obituary-notice-content-left: 1rem;
    }

    .obituary-notice--arch_of_remembrance .obituary-notice__content {
        width: min(100%, 78%);
        --obituary-notice-content-top: 3.2rem;
        --obituary-notice-content-right: 1.7rem;
        --obituary-notice-content-bottom: 2.95rem;
        --obituary-notice-content-left: 1.7rem;
    }

    .obituary-notice--featured .obituary-notice__canvas {
        min-height: unset;
    }

    .obituary-candles__button {
        width: 100%;
    }

    .obituary-candle-wall {
        padding: 0.9rem;
    }

    .obituary-candle-grid {
        grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
        gap: 0.8rem 0.55rem;
    }

    .obituary-candle-tile__icon {
        width: 2.85rem;
    }

    .znicze_header {
        top: 8px;
        right: 14px;
    }

    .znicze_header h3 {
        font-size: 22px;
    }

    .znicze_content {
        padding: 10px 14px;
    }

    .znicze_footer {
        padding: 18px 14px;
    }

    .znicze_przycisk {
        width: 100%;
    }
}

.rykowisko-review-card {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(15, 32, 58, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff8ef 0%, #ffffff 100%);
    box-shadow: 0 16px 36px rgba(15, 32, 58, 0.08);
}

.rykowisko-review-card__top {
    display: grid;
    grid-template-columns: minmax(170px, 220px) 1fr;
    gap: 1.5rem;
    align-items: center;
}

.rykowisko-review-card__media img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
}

.rykowisko-review-card__body h3 {
    margin-bottom: 0.65rem;
}

.rykowisko-review-card__quote {
    margin: 0.85rem 0 0;
    padding: 0.9rem 1rem;
    border-left: 4px solid #ca6b2d;
    border-radius: 0 14px 14px 0;
    background: rgba(202, 107, 45, 0.08);
    color: #4a2e17;
    font-weight: 600;
}

.rykowisko-review-card__note {
    margin-top: 0.9rem;
    color: #5f6470;
}

.rykowisko-review-card__appeal {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(15, 32, 58, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
}

.rykowisko-review-card__appeal-header {
    display: grid;
    gap: 0.2rem;
}

.rykowisko-review-card__appeal-header h4,
.rykowisko-review-card__appeal-header p {
    margin: 0;
}

.rykowisko-review-card__appeal-form {
    display: grid;
    gap: 0.8rem;
}

.rykowisko-review-card__appeal-form .btn {
    width: fit-content;
}

.rykowisko-review-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

.rykowisko-pending-status {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.08);
    color: #12345a;
    font-weight: 700;
}

.rykowisko-pending-status.is-error {
    background: rgba(179, 64, 64, 0.08);
    color: #8d2929;
}

.rykowisko-pending-status__dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(20, 97, 162, 0.35);
    animation: rykowiskoPendingPulse 1.5s ease-in-out infinite;
}

.rykowisko-pending-status.is-error .rykowisko-pending-status__dot {
    animation: none;
}

.rykowisko-pending-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.rykowisko-pending-actions.is-hidden {
    display: none;
}

.rykowisko-existing-images {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.rykowisko-existing-images__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.85rem;
}

.rykowisko-existing-images__grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #f3f5f8;
}

.rykowisko-existing-images__grid img {
    display: block;
    width: 100%;
    height: 8rem;
    object-fit: cover;
}

.rykowisko-appeal-box__status {
    margin: 0;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(16, 47, 89, 0.08);
    color: #102f59;
    font-weight: 600;
}

.rykowisko-admin-feedback {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: #f6f7fb;
}

.rykowisko-admin-feedback strong {
    color: #102f59;
}

.rykowisko-admin-feedback p,
.rykowisko-admin-feedback blockquote {
    margin: 0;
}

.rykowisko-admin-feedback blockquote {
    padding-left: 0.9rem;
    border-left: 3px solid rgba(16, 47, 89, 0.2);
    color: #4b5563;
}

@media (max-width: 767.98px) {
    .rykowisko-review-card {
        text-align: center;
    }

    .rykowisko-review-card__top {
        grid-template-columns: 1fr;
    }

    .rykowisko-review-card__media img {
        margin: 0 auto;
        max-width: 170px;
    }

    .rykowisko-review-card__actions {
        justify-content: center;
    }

    .rykowisko-review-card__appeal-form .btn {
        width: 100%;
    }

    .rykowisko-pending-status {
        justify-content: center;
    }

    .rykowisko-pending-actions {
        justify-content: center;
    }
}

@keyframes rykowiskoPendingPulse {
    0% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(20, 97, 162, 0.28);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 0.55rem rgba(20, 97, 162, 0);
    }

    100% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(20, 97, 162, 0);
    }
}

/* 2026 editorial redesign: local magazine system for CMS-driven homepage and shared portal chrome. */
:root {
    --jelonka-ink: #18222f;
    --jelonka-ink-soft: #617080;
    --jelonka-line: #dce4e8;
    --jelonka-paper: #f5f7f5;
    --jelonka-paper-strong: #e9efec;
    --jelonka-brand: #2f6f73;
    --jelonka-brand-strong: #174c53;
    --jelonka-accent: #b96231;
    --jelonka-accent-soft: #f3d7c2;
    --jelonka-green: #506d4f;
    --jelonka-white: #ffffff;
    --jelonka-radius: 8px;
    --jelonka-radius-sm: 6px;
    --jelonka-shadow: 0 18px 44px rgba(24, 34, 47, 0.08);
    --jelonka-shadow-soft: 0 10px 24px rgba(24, 34, 47, 0.06);
    --jelonka-container: min(1480px, calc(100vw - 2rem));
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--jelonka-ink);
    background:
        linear-gradient(180deg, rgba(245, 247, 245, 0.96) 0%, rgba(255, 255, 255, 1) 34%),
        var(--jelonka-paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: var(--jelonka-brand-strong);
}

a:hover,
a:focus {
    color: var(--jelonka-accent);
}

.container,
.home-page > .container,
.events-shell,
.news-shell,
.classifieds-shell,
.obituary-shell,
.weather-shell,
.moderation-shell,
.account-shell,
.subscription-page__container {
    max-width: var(--jelonka-container);
}

.events-shell,
.news-shell,
.classifieds-shell,
.obituary-shell,
.weather-shell,
.moderation-shell,
.account-shell,
.subscription-page__container {
    padding-top: clamp(0.1rem, 0.4vw, 0.35rem);
    padding-right: clamp(1rem, 2vw, 1.75rem);
    padding-left: clamp(1rem, 2vw, 1.75rem);
}

.page-shell {
    min-height: calc(100vh - 76px);
    overflow-x: clip;
}

.navbar-jelonka {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(24, 34, 47, 0.08);
    box-shadow: 0 12px 30px rgba(24, 34, 47, 0.06);
    backdrop-filter: blur(14px);
}

.navbar-jelonka .navbar-brand {
    color: var(--jelonka-ink);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0;
}

.navbar-jelonka .nav-link {
    color: rgba(24, 34, 47, 0.76);
    border-radius: var(--jelonka-radius-sm);
    font-size: 0.92rem;
    font-weight: 750;
}

.navbar-jelonka .nav-link:hover,
.navbar-jelonka .nav-link:focus,
.navbar-jelonka .nav-link.active {
    color: var(--jelonka-brand-strong);
    background: rgba(47, 111, 115, 0.08);
}

.navbar-jelonka .navbar-toggler {
    border-color: rgba(24, 34, 47, 0.16);
}

.navbar-jelonka .navbar-toggler-icon {
    filter: none;
}

.navbar-jelonka__language-toggle {
    min-height: 2.35rem;
    border-color: rgba(24, 34, 47, 0.12);
    background: rgba(47, 111, 115, 0.08);
    color: var(--jelonka-ink);
}

.navbar-jelonka__language-toggle:hover,
.navbar-jelonka__language-toggle:focus {
    border-color: rgba(47, 111, 115, 0.22);
    background: rgba(47, 111, 115, 0.12);
    color: var(--jelonka-ink);
}

.btn {
    border-radius: var(--jelonka-radius-sm);
    font-weight: 800;
    letter-spacing: 0;
}

.btn-dark,
.btn-dark:visited {
    border-color: var(--jelonka-ink);
    background: var(--jelonka-ink);
    color: var(--jelonka-white);
}

.btn-dark:hover,
.btn-dark:focus {
    border-color: var(--jelonka-brand-strong);
    background: var(--jelonka-brand-strong);
    color: var(--jelonka-white);
}

.btn-outline-dark {
    border-color: rgba(24, 34, 47, 0.18);
    color: var(--jelonka-ink);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    border-color: var(--jelonka-ink);
    background: var(--jelonka-ink);
    color: var(--jelonka-white);
}

.home-page {
    padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(3rem, 5vw, 5rem);
}

.cms-home-section {
    margin: 0;
    padding: clamp(1rem, 2.2vw, 1.75rem) 0;
}

.cms-home-section:first-child {
    padding-top: clamp(1.3rem, 2.5vw, 2.4rem);
}

.cms-home-section__inner,
.home-surface,
.classifieds-widget-section__inner,
.news-home-poll-widget__inner,
.news-panel,
.classifieds-panel,
.classifieds-hero,
.news-hero,
.subscription-hero,
.subscription-summary,
.subscription-pricing,
.cms-content-page__inner {
    border: 1px solid rgba(24, 34, 47, 0.08);
    border-radius: var(--jelonka-radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--jelonka-shadow-soft);
}

.subscription-hero {
    color: var(--jelonka-ink);
}

.subscription-hero__eyebrow {
    background: rgba(20, 97, 162, 0.09);
    color: var(--jelonka-brand-strong);
}

.subscription-hero p,
.subscription-hero__stat span,
.subscription-hero__note,
.subscription-hero__facts span {
    color: var(--jelonka-ink-soft);
}

.subscription-hero__aside {
    border-left: 1px solid rgba(24, 34, 47, 0.08);
    background: linear-gradient(180deg, rgba(243, 246, 250, 0.9) 0%, rgba(233, 240, 248, 0.76) 100%);
    backdrop-filter: none;
}

.subscription-hero__stat {
    border-color: rgba(24, 34, 47, 0.08);
    background: rgba(255, 255, 255, 0.74);
}

.subscription-hero__stat--accent {
    background: rgba(255, 243, 229, 0.78);
}

.subscription-hero__facts div {
    border-color: rgba(24, 34, 47, 0.08);
    background: rgba(255, 255, 255, 0.68);
}

.cms-home-section__inner {
    padding: clamp(1rem, 2.4vw, 2rem);
}

.cms-home-section__header,
.classifieds-widget-section__header,
.news-home-poll-widget__header {
    display: flex;
    gap: 1rem 1.5rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.cms-home-section__header h2,
.classifieds-widget-section__copy h2,
.news-home-poll-widget__copy h2 {
    margin: 0;
    max-width: 13ch;
    color: var(--jelonka-ink);
    font-size: clamp(1.7rem, 2.4vw, 2.65rem);
    font-weight: 900;
    line-height: 1.02;
}

.cms-home-section__header p,
.classifieds-widget-section__copy p,
.news-home-poll-widget__copy p {
    max-width: 58ch;
    margin: 0.7rem 0 0;
    color: var(--jelonka-ink-soft);
    font-size: 1rem;
    line-height: 1.62;
}

.cms-home-empty {
    padding: 1rem;
    border: 1px dashed rgba(47, 111, 115, 0.28);
    border-radius: var(--jelonka-radius);
    background: rgba(47, 111, 115, 0.06);
    color: var(--jelonka-ink-soft);
    font-weight: 700;
}

.cms-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.4rem;
}

.cms-home-hero {
    padding-top: clamp(1.2rem, 2.8vw, 2.5rem);
}

.cms-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
    grid-template-areas:
        "copy media"
        "story media";
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
}

.cms-home-hero__copy {
    grid-area: copy;
    align-self: center;
    padding: clamp(1.2rem, 3vw, 3rem);
    border: 1px solid rgba(24, 34, 47, 0.08);
    border-radius: var(--jelonka-radius);
    background: var(--jelonka-white);
    box-shadow: var(--jelonka-shadow-soft);
}

.cms-home-hero__copy h1 {
    margin: 0;
    color: var(--jelonka-ink);
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 950;
    line-height: 0.86;
}

.cms-home-hero__copy p {
    max-width: 50ch;
    margin: 1.15rem 0 0;
    color: var(--jelonka-ink-soft);
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    line-height: 1.62;
}

.cms-home-hero__media {
    position: relative;
    grid-area: media;
    min-height: clamp(24rem, 48vw, 44rem);
    overflow: hidden;
    border-radius: var(--jelonka-radius);
    background: var(--jelonka-paper-strong);
    box-shadow: var(--jelonka-shadow);
}

.cms-home-hero__media--video,
.cms-news-card__media--video {
    background: #111820;
}

.cms-home-hero__media img,
.cms-weather-section__media img,
.classifieds-widget-section__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-home-hero__story {
    grid-area: story;
}

.cms-home-hero__story a {
    display: grid;
    gap: 0.55rem;
    height: 100%;
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid rgba(24, 34, 47, 0.08);
    border-radius: var(--jelonka-radius);
    background: #e6eee9;
    color: inherit;
    text-decoration: none;
}

.cms-home-hero__story strong {
    max-width: 22ch;
    color: var(--jelonka-ink);
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1.08;
}

.cms-home-hero__story span:last-child {
    color: var(--jelonka-ink-soft);
    line-height: 1.5;
}

.cms-home-card__meta,
.news-card__meta,
.classifieds-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.35;
}

.cms-home-card__meta span:not(:last-child)::after,
.news-card__meta span:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0.22rem;
    height: 0.22rem;
    margin-left: 0.7rem;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
    opacity: 0.48;
}

.cms-news-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1rem;
}

.cms-news-section__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.cms-news-card,
.news-card,
.classifieds-card,
.obituary-card {
    overflow: hidden;
    border: 1px solid rgba(24, 34, 47, 0.08);
    border-radius: var(--jelonka-radius);
    background: var(--jelonka-white);
    box-shadow: none;
}

.cms-news-card {
    position: relative;
}

.cms-news-card__admin-score {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 5;
    display: inline-flex;
    min-height: 1.55rem;
    padding: 0.28rem 0.48rem;
    border: 1px solid rgba(24, 34, 47, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    align-items: center;
    box-shadow: 0 8px 22px rgba(24, 34, 47, 0.16);
    pointer-events: none;
}

.cms-news-card a,
.news-card__link,
.classifieds-card__link,
.cms-obituary-card a,
.cms-link-tile {
    color: inherit;
    text-decoration: none;
}

.cms-news-card a {
    display: grid;
    height: 100%;
}

.cms-news-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e6eee9;
}

.cms-news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.cms-news-card:hover .cms-news-card__media img,
.news-card:hover .news-card__media img,
.classifieds-card:hover .classifieds-card__media img {
    transform: scale(1.025);
}

.cms-news-card:hover .cms-news-card__media--video .news-card__video img {
    transform: none;
}

.cms-news-card__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--jelonka-brand-strong);
    font-weight: 900;
}

.cms-news-card__body {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
}

.cms-news-card strong {
    color: var(--jelonka-ink);
    font-size: 1.05rem;
    line-height: 1.18;
}

.cms-news-card__body > span:last-child {
    color: var(--jelonka-ink-soft);
    line-height: 1.5;
}

.cms-news-card--lead strong {
    font-size: clamp(1.55rem, 2.6vw, 2.7rem);
    line-height: 1;
}

.cms-weather-section__inner {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.cms-link-panel__inner {
    display: block;
    padding: 0;
    overflow: hidden;
}

.cms-weather-section__media,
.classifieds-widget-section__media {
    min-height: 20rem;
    background: #dfe8e4;
}

.cms-weather-section__copy {
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: clamp(1.2rem, 3vw, 2.5rem);
}

.cms-weather-section__copy h2 {
    margin: 0;
    color: var(--jelonka-ink);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.cms-weather-section__copy p {
    max-width: 56ch;
    margin: 0;
    color: var(--jelonka-ink-soft);
    line-height: 1.62;
}

.cms-weather-now {
    display: grid;
    gap: 0.2rem;
    max-width: 28rem;
    padding: 1rem;
    border: 1px solid rgba(47, 111, 115, 0.12);
    border-radius: var(--jelonka-radius);
    background: #edf3ef;
}

.cms-weather-now strong {
    color: var(--jelonka-brand-strong);
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.95;
}

.cms-weather-now span {
    color: var(--jelonka-ink-soft);
    font-weight: 700;
}

.cms-weather-now span:first-of-type {
    color: var(--jelonka-ink);
    font-size: 1.05rem;
}

.cms-weather-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 36rem;
    margin: 0;
}

.cms-weather-details div {
    padding: 0.9rem;
    border: 1px solid rgba(24, 34, 47, 0.08);
    border-radius: var(--jelonka-radius);
    background: var(--jelonka-white);
}

.cms-weather-details dt {
    color: var(--jelonka-ink-soft);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cms-weather-details dd {
    margin: 0.15rem 0 0;
    color: var(--jelonka-ink);
    font-weight: 850;
}

.classifieds-widget-section__inner,
.news-home-poll-widget__inner {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
}

.classifieds-widget-section__layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.36fr) minmax(0, 0.64fr);
    gap: 1rem;
}

.classifieds-widget-section__media {
    overflow: hidden;
    border-radius: var(--jelonka-radius);
}

.classifieds-widget-section__grid,
.classifieds-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.classifieds-card__media,
.news-card__media {
    background: #e6eee9;
}

.classifieds-card__body,
.news-card__body {
    padding: 0.95rem;
}

.classifieds-card__body h2,
.classifieds-card__body h4,
.news-card__body h2 {
    color: var(--jelonka-ink);
    font-weight: 850;
    line-height: 1.18;
}

.classifieds-card__badges .badge,
.badge {
    border-radius: var(--jelonka-radius-sm);
}

.news-home-poll-widget__header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "copy mascot";
}

.news-home-poll-widget__copy {
    grid-area: copy;
}

.news-home-poll-widget__mascot {
    grid-area: mascot;
    width: clamp(4.2rem, 7vw, 6.5rem);
}

.news-home-poll-widget__eyebrow,
.classifieds-widget-section__eyebrow,
.home-kicker,
.home-section__eyebrow {
    display: none;
}

.news-home-poll-widget__body .news-poll-card,
.news-poll-card,
.news-poll-option,
.news-poll-option button,
.news-poll-option__content {
    border-radius: var(--jelonka-radius);
}

.cms-obituary-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 0.85rem;
}

.cms-obituary-card {
    min-width: 0;
    border-bottom: 0;
}

.cms-obituary-card a {
    display: grid;
    gap: 0.7rem;
    height: 100%;
    padding: 1rem;
    border: 1px solid rgba(24, 34, 47, 0.08);
    border-radius: var(--jelonka-radius);
    background: #fbfbf8;
}

.cms-obituary-card:has(.cms-obituary-card__media) a {
    gap: 0;
    padding: 0;
}

.cms-obituary-card strong {
    color: var(--jelonka-ink);
    font-size: 1.2rem;
    line-height: 1.14;
}

.cms-obituary-card a > span:last-child:not(.cms-obituary-card__text) {
    color: var(--jelonka-ink-soft);
    line-height: 1.5;
}

.cms-obituary-card__text {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0.85rem;
    min-height: 13.5rem;
    color: var(--jelonka-ink);
}

.cms-obituary-card__top,
.cms-obituary-card__ceremony {
    display: grid;
    gap: 0.35rem;
}

.cms-obituary-card__person {
    display: block;
    margin: 0;
}

.cms-obituary-card__date {
    color: var(--jelonka-accent);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.25;
}

.cms-obituary-card__lead {
    align-self: center;
    color: var(--jelonka-ink-soft);
    font-size: 0.92rem;
    line-height: 1.48;
}

.cms-obituary-card__ceremony {
    padding-top: 0.8rem;
    border-top: 1px solid rgba(24, 34, 47, 0.08);
    color: var(--jelonka-ink-soft);
    font-size: 0.82rem;
    line-height: 1.4;
}

.cms-obituary-card__ceremony strong {
    color: var(--jelonka-accent);
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.cms-obituary-card__media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    border-radius: calc(var(--jelonka-radius) - 2px);
    background: #f0ece4;
}

.cms-obituary-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f0ece4;
}

.cms-obituary-card__media .obituary-notice {
    width: auto;
    height: 100%;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 2 / 3;
    gap: 0;
}

.cms-obituary-card__media .obituary-notice__canvas {
    width: 100%;
    height: 100%;
    min-height: unset;
    border-radius: calc(var(--jelonka-radius) - 2px);
}

.cms-obituary-card--memorial a {
    gap: 0;
    padding: 0;
    grid-template-rows: minmax(0, 1fr);
}

.cms-obituary-card--memorial .cms-obituary-card__media {
    align-items: stretch;
    justify-items: stretch;
    height: 100%;
    min-height: 0;
    padding: 0;
    aspect-ratio: 2 / 3;
    border-radius: 0;
    background: transparent;
}

.cms-obituary-card--memorial .cms-obituary-card__media .obituary-notice {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: 2 / 3;
    margin: 0;
    border-radius: 0;
}

.cms-obituary-card--memorial .cms-obituary-card__media .obituary-notice__canvas {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 2 / 3;
    border-radius: 0;
}

.cms-obituary-card--memorial .obituary-notice--boxed-text [data-obituary-box] {
    --obituary-fit-scale: 0.78;
}

.cms-link-panel__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.cms-link-tile {
    display: grid;
    gap: 0.4rem;
    min-height: 9rem;
    padding: 1rem;
    border: 1px solid rgba(24, 34, 47, 0.08);
    border-radius: var(--jelonka-radius);
    background: var(--jelonka-white);
    box-shadow: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.cms-link-tile:hover,
.cms-link-tile:focus {
    border-color: rgba(47, 111, 115, 0.34);
    transform: translateY(-2px);
}

.cms-link-tile strong {
    color: var(--jelonka-ink);
    font-size: 1.1rem;
    line-height: 1.14;
}

.cms-link-tile span {
    color: var(--jelonka-ink-soft);
    line-height: 1.48;
}

.news-page,
.classifieds-page,
.obituary-page,
.subscription-page {
    background: var(--jelonka-paper);
}

.news-shell,
.classifieds-shell,
.obituary-shell {
    padding-top: clamp(0.1rem, 0.4vw, 0.35rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.news-hero,
.classifieds-hero,
.obituary-hero {
    overflow: hidden;
    padding: clamp(0.78rem, 1.35vw, 1.2rem);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 243, 239, 0.96) 100%);
    color: var(--jelonka-ink);
}

.news-hero__copy h1,
.classifieds-hero h1,
.obituary-hero h1 {
    margin: 0 0 0.28rem;
    max-width: 13ch;
    color: var(--jelonka-ink);
    font-size: clamp(1.7rem, 3vw, 3.15rem);
    font-weight: 950;
    line-height: 1.02;
}

.news-hero__copy p,
.classifieds-lead,
.obituary-hero p {
    max-width: 62ch;
    color: var(--jelonka-ink-soft);
    font-size: clamp(0.94rem, 0.98vw, 1rem);
    line-height: 1.5;
}

.news-hero__kicker,
.classifieds-hero__kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.55rem;
    padding: 0.38rem 0.68rem;
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--jelonka-brand-strong);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(21, 64, 134, 0.06);
}

.news-hero__meta-strip,
.classifieds-hero__meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.news-hero__meta-strip span,
.classifieds-hero__meta-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.52rem 0.9rem;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.9) 100%);
    color: var(--jelonka-ink);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 12px 26px rgba(21, 64, 134, 0.05);
}

.news-grid,
.classifieds-grid {
    gap: 0.9rem;
}

.news-card__media,
.classifieds-card__media {
    overflow: hidden;
}

.news-card__body h2 {
    font-size: 1.08rem;
}

.news-card__lead {
    color: var(--jelonka-ink-soft);
}

.news-results-layout,
.classifieds-layout {
    gap: 1rem;
}

.news-results-sidebar,
.classifieds-sidebar,
.classifieds-content,
.comments-section,
.classifieds-filter-panel,
.classifieds-results-head,
.classifieds-form-card,
.obituary-form-card {
    border-radius: var(--jelonka-radius);
}

.ad-cluster {
    background: transparent;
}

.ad-cluster__container {
    gap: 0.75rem;
}

.ad-slot-shell {
    border-radius: var(--jelonka-radius);
}

.ad-slot-shell--content-band,
.ad-slot-shell--split,
.ad-slot-shell--footer,
.ad-slot-shell--hero,
.ad-slot-shell--desktop-rail {
    border: 1px solid rgba(24, 34, 47, 0.08);
    border-radius: var(--jelonka-radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.ad-slot__frame,
.ad-slot__placeholder,
.ad-slot__item {
    border-radius: var(--jelonka-radius-sm);
}

.site-footer {
    background: #17222d;
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__brand {
    color: var(--jelonka-white);
    font-size: 1.6rem;
    font-weight: 950;
}

.site-footer__copy,
.site-footer__contact {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__eyebrow {
    margin-bottom: 0.7rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
}

.site-footer__inner {
    align-items: start;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.site-footer__lead {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.site-footer__contact {
    display: grid;
    gap: 0.65rem;
    max-width: 24rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.site-footer__contact-label {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer__contact-list {
    display: grid;
    gap: 0.65rem;
}

.site-footer__contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.site-footer__contact-link-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.site-footer__contact-link-eyebrow {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__contact-link strong {
    color: var(--jelonka-white);
    font-size: 0.98rem;
    line-height: 1.3;
    word-break: break-word;
}

.site-footer__contact-link-copy strong:last-child {
    font-weight: 700;
}

.site-footer__contact-link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--jelonka-white);
    font-size: 1rem;
    font-weight: 800;
}

.site-footer__content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem clamp(1rem, 2vw, 2rem);
    align-items: start;
}

.site-footer__nav-group {
    display: grid;
    gap: 0.4rem;
    align-content: start;
}

.site-footer__nav-group h2 {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.site-footer__nav-group a,
.site-footer__contact a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 2rem;
    padding: 0.2rem 0;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    text-underline-offset: 0.24em;
    transition: color 0.18s ease, transform 0.18s ease, text-decoration-color 0.18s ease;
}

.site-footer__nav-group a:hover,
.site-footer__nav-group a:focus,
.site-footer__contact a:hover,
.site-footer__contact a:focus {
    color: var(--jelonka-white);
    transform: translateX(2px);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.7);
}

.site-footer__contact-link:hover,
.site-footer__contact-link:focus {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
    text-decoration: none;
    transform: translateY(-1px);
}

.site-footer__nav-group a:focus-visible,
.site-footer__contact a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.38);
    outline-offset: 4px;
    border-radius: 6px;
}

.site-footer__contact .site-footer__contact-link {
    width: 100%;
    min-height: 0;
    padding: 0.8rem 0.9rem;
    color: inherit;
}

.site-footer__contact .site-footer__contact-link:hover,
.site-footer__contact .site-footer__contact-link:focus {
    color: inherit;
    transform: translateY(-1px);
    text-decoration: none;
}

.site-footer__contact .site-footer__contact-link:focus-visible {
    border-radius: 14px;
}

.site-footer__placeholder {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .site-footer__content {
        grid-template-columns: 1fr;
    }

    .site-footer__nav-group {
        gap: 0.25rem;
    }

    .site-footer__nav-group a,
    .site-footer__contact a {
        min-height: 1.85rem;
    }
}

@media (min-width: 1200px) {
    .cms-news-section--compact .cms-news-section__grid {
        grid-template-columns: 1fr;
    }

    .cms-news-section--compact .cms-news-section__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .cms-home-hero__inner,
    .cms-news-section__grid,
    .classifieds-widget-section__layout {
        grid-template-columns: 1fr;
    }

    .cms-home-hero__inner {
        grid-template-areas:
            "copy"
            "media"
            "story";
    }

    .cms-home-hero__media {
        min-height: clamp(18rem, 48vw, 32rem);
    }

    .classifieds-widget-section__media {
        min-height: 15rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-jelonka__collapse {
        border: 1px solid rgba(24, 34, 47, 0.08);
        border-radius: var(--jelonka-radius);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--jelonka-shadow);
    }

    .navbar-jelonka__collapse .nav-link {
        background: rgba(47, 111, 115, 0.06);
    }

    .cms-weather-section__inner,
    .cms-home-section__header,
    .classifieds-widget-section__header,
    .news-home-poll-widget__header {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .cms-weather-section__media {
        min-height: 16rem;
    }

    .cms-link-panel__links,
    .cms-obituary-list,
    .classifieds-widget-section__grid,
    .classifieds-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-home-poll-widget__header {
        grid-template-areas:
            "mascot"
            "copy";
    }
}

@media (max-width: 767.98px) {
    :root {
        --jelonka-container: min(100vw - 1rem, 1480px);
    }

    .home-page {
        padding-top: 0.35rem;
    }

    .cms-home-section {
        padding: 0.55rem 0;
    }

    .cms-home-section__inner,
    .cms-home-hero__copy,
    .news-hero,
    .classifieds-hero,
    .obituary-hero {
        padding: 1rem;
    }

    .cms-home-hero__copy h1 {
        font-size: clamp(2.8rem, 17vw, 4.6rem);
    }

    .cms-home-hero__media {
        min-height: 17rem;
    }

    .cms-news-section__list,
    .cms-weather-details,
    .cms-link-panel__links,
    .cms-obituary-list,
    .classifieds-widget-section__grid,
    .classifieds-grid {
        grid-template-columns: 1fr;
    }

    .cms-weather-section__copy {
        padding: 1rem;
    }

    .cms-link-tile {
        min-height: 0;
    }

    .cms-home-actions,
    .classifieds-widget-section__cta,
    .news-home-poll-widget__cta {
        display: grid;
        width: 100%;
    }

    .cms-home-actions .btn,
    .classifieds-widget-section__cta,
    .news-home-poll-widget__cta {
        width: 100%;
    }
}

/* Final override: homepage must follow the approved local magazine mockup. */
:root {
    --portal-paper: #f5f5f2;
    --portal-surface: #ffffff;
    --portal-ink: #17130f;
    --portal-muted: #6f6b63;
    --portal-hairline: #dedbd3;
    --portal-hairline-soft: #ece9e2;
    --portal-accent: #c95f13;
    --portal-accent-dark: #9f4609;
    --portal-radius: 4px;
    --portal-container: min(100% - 2rem, 1320px);
}

body {
    background: var(--portal-paper);
    color: var(--portal-ink);
}

.navbar-jelonka {
    min-height: 64px;
    padding: 0;
    border-bottom: 2px solid var(--portal-accent);
    background: var(--portal-surface) !important;
    box-shadow: none;
}

.navbar-jelonka .container {
    width: var(--portal-container);
    max-width: none;
    min-height: 64px;
    padding-right: 0;
    padding-left: 0;
}

.navbar-jelonka .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--portal-ink) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 2vw, 2.05rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.navbar-jelonka .navbar-brand::before {
    display: inline-block;
    width: 1.35rem;
    height: 1.35rem;
    background: url("/static/jelonka/favicon.png") center / contain no-repeat;
    content: "";
}

.navbar-jelonka .nav-link {
    padding: 0.8rem 0.55rem;
    border-radius: var(--portal-radius);
    background: transparent;
    color: #282420 !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.navbar-jelonka .nav-link span {
    padding: 0;
    border: 0;
}

.navbar-jelonka .nav-link:hover,
.navbar-jelonka .nav-link:focus,
.navbar-jelonka .nav-link.active {
    background: #f2eee8;
    color: var(--portal-accent-dark) !important;
}

.navbar-jelonka .navbar-nav.ms-auto .nav-link {
    border: 1px solid var(--portal-hairline);
    background: #ffffff;
}

.page-shell.home-page {
    display: grid;
    width: var(--portal-container);
    max-width: none;
    margin: 0 auto;
    padding: 1.25rem 0 2.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
}

.home-page > * {
    min-width: 0;
}

.home-page .container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.home-page > .cms-home-hero,
.home-page > .ad-slot-shell,
.home-page > .cms-link-panel,
.home-page > .cms-news-section--lead_grid {
    grid-column: 1 / -1;
}

.home-page > .cms-news-section--compact,
.home-page > .cms-weather-section,
.home-page > .classifieds-widget-section,
.home-page > .news-home-poll-widget {
    grid-column: span 1;
}

.home-page > .cms-news-section--half,
.home-page > .cms-obituary-section {
    grid-column: span 2;
}

.home-page .cms-home-section,
.home-page .cms-home-hero {
    padding: 0;
}

.cms-home-hero__inner {
    display: grid !important;
    overflow: hidden;
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    box-shadow: 0 18px 45px rgba(32, 28, 23, 0.06);
    grid-template-areas: none !important;
    grid-template-columns: minmax(0, 1.42fr) minmax(22rem, 0.88fr) !important;
    gap: 0 !important;
}

.cms-home-hero__media {
    min-height: 430px !important;
    overflow: hidden;
    border-radius: 0 !important;
    background: #d9d5cc;
    box-shadow: none !important;
    grid-area: auto !important;
}

.cms-home-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-home-hero__copy {
    display: flex;
    min-height: 430px;
    padding: clamp(2rem, 4vw, 4rem) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--portal-surface) !important;
    box-shadow: none !important;
    color: var(--portal-ink);
    flex-direction: column;
    justify-content: center;
    grid-area: auto !important;
}

.cms-home-hero__copy h1 {
    max-width: 11ch;
    margin: 0 0 1rem;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.45rem, 4.4vw, 4.05rem) !important;
    font-weight: 800;
    line-height: 0.98 !important;
    letter-spacing: 0;
}

.cms-home-hero__copy p {
    max-width: 44ch;
    margin: 0 0 1.15rem;
    color: #57524b;
    font-size: 1.02rem !important;
    line-height: 1.65;
}

.cms-home-card__meta {
    display: flex;
    margin-bottom: 1.2rem;
    color: var(--portal-accent);
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.6rem;
    letter-spacing: 0;
}

.cms-home-actions {
    display: flex;
    margin-top: 0;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.cms-home-actions .btn,
.cms-home-section__header .btn,
.classifieds-widget-section__cta,
.news-home-poll-widget__cta {
    border: 1px solid var(--portal-accent);
    border-radius: var(--portal-radius);
    background: var(--portal-accent);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: none;
}

.home-page > .ad-slot-shell {
    margin: 0;
    padding: 0;
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: #f0efeb;
    box-shadow: none;
}

.home-page > .ad-slot-shell .ad-slot {
    width: 100%;
}

.home-page > .ad-slot-shell .ad-slot__frame {
    height: 70px !important;
    aspect-ratio: auto !important;
    border-radius: var(--portal-radius);
    background: #f0efeb;
    box-shadow: none;
}

.home-page > .ad-slot-shell .ad-slot__placeholder {
    border: 0;
    border-radius: var(--portal-radius);
    background: #f0efeb;
    color: #7a756d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cms-news-section--compact .cms-home-section__inner,
.cms-news-section--half .cms-home-section__inner,
.home-page > .cms-weather-section .cms-weather-section__inner,
.home-page > .classifieds-widget-section .classifieds-widget-section__inner,
.home-page > .news-home-poll-widget .news-home-poll-widget__inner {
    height: 100%;
    padding: 1.2rem !important;
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    box-shadow: none;
}

.cms-home-section__header,
.classifieds-widget-section__header,
.news-home-poll-widget__header {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cms-home-section__header h2,
.classifieds-widget-section__header h2,
.news-home-poll-widget__copy h2,
.cms-weather-section__copy h2 {
    max-width: none;
    margin: 0;
    color: var(--portal-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.93rem !important;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cms-home-section__header p,
.classifieds-widget-section__copy p,
.news-home-poll-widget__copy p,
.cms-weather-section__copy > p {
    margin: 0.45rem 0 0;
    color: var(--portal-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.cms-news-section--compact .cms-home-section__header .btn,
.cms-news-section--half .cms-home-section__header .btn,
.home-page > .classifieds-widget-section .classifieds-widget-section__cta,
.home-page > .news-home-poll-widget .news-home-poll-widget__cta {
    display: none;
}

.cms-news-section__footer {
    display: none;
}

.cms-news-section--half .cms-news-section__footer {
    display: flex;
    margin-top: 1rem;
    justify-content: center;
}

.cms-news-section__footer-link {
    display: inline-flex;
    min-height: 2.55rem;
    padding: 0.68rem 1.25rem;
    border: 1px solid var(--portal-accent);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--portal-accent), var(--portal-accent-dark));
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    gap: 0.45rem;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(207, 73, 15, 0.18);
}

.cms-news-section__footer-link:hover,
.cms-news-section__footer-link:focus {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.cms-news-section--compact .cms-news-section__footer {
    margin-top: 0.75rem;
}

.cms-news-section--compact .cms-news-section__footer-link {
    min-height: 2.15rem;
    padding: 0.52rem 0.95rem;
    font-size: 0.68rem;
    box-shadow: 0 8px 18px rgba(207, 73, 15, 0.14);
}

.cms-news-section--compact .cms-news-section__grid,
.cms-news-section--compact .cms-news-section__list {
    display: block;
}

.cms-news-section--half .cms-news-section__grid {
    display: block;
}

.cms-news-section--half .cms-news-section__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.cms-news-section--compact .cms-news-card {
    border: 0;
    border-bottom: 1px solid var(--portal-hairline-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cms-news-section--compact .cms-news-card:last-child {
    border-bottom: 0;
}

.cms-news-section--compact .cms-news-card a {
    display: grid;
    height: auto;
    padding: 0.62rem 0;
    color: inherit;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 4.75rem;
    gap: 0.8rem;
}

.cms-news-section--compact .cms-news-card__media {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 4.75rem;
    min-width: 4.75rem;
    aspect-ratio: 1;
    border-radius: 12px;
    justify-self: end;
    background: #e9e4db;
}

.cms-news-section--compact .cms-news-card__media img,
.cms-news-section--compact .cms-news-card__media .news-card__video,
.cms-news-section--compact .cms-news-card__media .news-card__video > img {
    width: 100%;
    height: 100%;
}

.cms-news-section--compact .cms-news-card__media img,
.cms-news-section--compact .cms-news-card__media .news-card__video > img {
    object-fit: cover;
}

.cms-news-section--compact .cms-news-card__body {
    display: block;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding: 0;
}

.cms-news-section--compact .cms-news-card strong {
    display: block;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.25;
}

.cms-news-section--compact-feature .cms-news-card {
    overflow: hidden;
    border: 1px solid var(--portal-hairline-soft);
    border-radius: calc(var(--portal-radius) - 4px);
    background: #fffdf9;
}

.cms-news-section--compact-feature .cms-news-card a {
    display: flex;
    padding: 0;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
}

.cms-news-section--compact-feature .cms-news-card__media {
    display: block !important;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 1.55;
    background: #e9e4db;
}

.cms-news-section--compact-feature .cms-news-card__media img,
.cms-news-section--compact-feature .cms-news-card__media .news-card__video,
.cms-news-section--compact-feature .cms-news-card__media .news-card__video > img {
    width: 100%;
    height: 100%;
}

.cms-news-section--compact-feature .cms-news-card__media img,
.cms-news-section--compact-feature .cms-news-card__media .news-card__video > img {
    object-fit: cover;
}

.cms-news-section--compact-feature .cms-news-card__body {
    padding: 0.85rem;
}

.cms-news-section--compact-feature .cms-news-card strong {
    font-size: clamp(1.04rem, 2.2vw, 1.24rem);
    line-height: 1.14;
}

.cms-news-section--compact-feature .cms-home-card__meta {
    margin: 0 0 0.4rem;
}

.cms-news-section--half .cms-news-card {
    overflow: hidden;
    border: 1px solid var(--portal-hairline-soft);
    border-radius: calc(var(--portal-radius) - 4px);
    background: #fffdf9;
    box-shadow: none;
}

.cms-news-section--half .cms-news-card a {
    display: flex;
    height: 100%;
    color: inherit;
    flex-direction: column;
    text-decoration: none;
}

.cms-news-section--half .cms-news-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.55;
    border-radius: 0;
    background: #e9e4db;
}

.cms-news-section--half .cms-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-news-section--half .cms-news-card__body {
    display: block;
    padding: 0.75rem;
}

.cms-news-section--half .cms-home-card__meta {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
}

.cms-news-section--half .cms-news-card strong {
    display: block;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.22;
}

.cms-news-section--half .cms-news-card--cta {
    border-color: rgba(207, 73, 15, 0.28);
    background:
        radial-gradient(circle at 88% 12%, rgba(207, 73, 15, 0.15), transparent 34%),
        linear-gradient(135deg, #fff7ee, #fffdf9 58%, #f7eadf);
}

.cms-news-section--half .cms-news-card--cta a {
    min-height: 100%;
    padding: 1.05rem;
    justify-content: center;
    text-decoration: none;
}

.cms-news-card__cta-eyebrow {
    color: var(--portal-accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cms-news-section--half .cms-news-card--cta strong {
    max-width: 11rem;
    margin-top: 0.4rem;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    line-height: 1.05;
}

.cms-news-card__cta-arrow {
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    margin-top: 0.9rem;
    border-radius: 999px;
    background: var(--portal-accent);
    color: #ffffff;
    font-weight: 900;
    align-items: center;
    justify-content: center;
}

.home-page > .cms-weather-section .cms-weather-section__inner,
.home-page > .classifieds-widget-section .classifieds-widget-section__layout,
.home-page > .news-home-poll-widget .news-home-poll-widget__header {
    display: block;
}

.home-page > .cms-weather-section .cms-weather-section__media,
.home-page > .classifieds-widget-section .classifieds-widget-section__media,
.home-page > .news-home-poll-widget .news-home-poll-widget__mascot,
.home-page > .news-home-poll-widget .news-poll-card__article {
    display: none;
}

.cms-weather-section__copy {
    display: block;
    padding: 0;
}

.cms-weather-now {
    display: grid;
    max-width: none;
    margin: 1.1rem 0;
    padding: 0;
    border: 0;
    background: transparent;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0 0.8rem;
}

.cms-weather-now strong {
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.05rem;
    font-weight: 400;
    line-height: 1;
    grid-row: span 2;
}

.cms-weather-details {
    display: grid;
    max-width: none;
    margin: 0 0 1rem;
    border-top: 1px solid var(--portal-hairline-soft);
    grid-template-columns: 1fr;
    gap: 0;
}

.cms-weather-details div {
    display: flex;
    padding: 0.55rem 0;
    border: 0;
    border-bottom: 1px solid var(--portal-hairline-soft);
    border-radius: 0;
    background: transparent;
    justify-content: space-between;
}

.home-page > .cms-weather-section .btn {
    border: 0;
    background: transparent;
    color: var(--portal-ink);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0;
    text-transform: uppercase;
}

.home-page > .classifieds-widget-section .classifieds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.home-page > .classifieds-widget-section .classifieds-card {
    border: 0;
    border-bottom: 1px solid var(--portal-hairline-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-page > .classifieds-widget-section .classifieds-card__link {
    display: grid;
    height: auto;
    padding: 0.7rem 0;
    color: inherit;
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 0.75rem;
}

.home-page > .classifieds-widget-section .classifieds-card--without-media .classifieds-card__link {
    grid-template-columns: 1fr;
}

.home-page > .classifieds-widget-section .classifieds-card__media {
    display: block;
    aspect-ratio: 1.32;
}

.home-page > .classifieds-widget-section .classifieds-card__body {
    padding: 0;
}

.home-page > .classifieds-widget-section .classifieds-card__badges,
.home-page > .classifieds-widget-section .classifieds-card__meta-date {
    display: none;
}

.home-page > .classifieds-widget-section .classifieds-card h2 {
    margin: 0 0 0.35rem;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.88rem;
    line-height: 1.25;
}

.home-page > .classifieds-widget-section .classifieds-card__meta {
    display: grid;
    gap: 0.15rem;
    color: var(--portal-muted);
    font-size: 0.74rem;
}

.home-page > .classifieds-widget-section .classifieds-card__meta-price {
    color: var(--portal-accent);
    font-size: 0.92rem;
    font-weight: 900;
    order: -1;
}

.home-page > .news-home-poll-widget .news-panel,
.home-page > .news-home-poll-widget .news-poll-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-page > .news-home-poll-widget .news-poll-card h3 {
    margin: 0 0 0.85rem;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.02rem;
    line-height: 1.3;
}

.home-page > .cms-link-panel .cms-link-panel__inner {
    display: grid;
    padding: 0;
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    box-shadow: none;
    grid-template-columns: 1fr;
}

.home-page > .cms-link-panel .cms-link-panel__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.home-page > .cms-link-panel .cms-link-tile {
    min-height: 76px;
    padding: 1rem 1.15rem;
    border: 0;
    border-right: 1px solid var(--portal-hairline-soft);
    border-radius: 0;
    background: var(--portal-surface);
    color: var(--portal-ink);
    box-shadow: none;
}

.cms-news-section--lead_grid .cms-home-section__inner,
.cms-obituary-section .cms-home-section__inner {
    padding: 1.25rem !important;
    border: 1px solid var(--portal-hairline);
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    box-shadow: none;
}

.cms-news-section--lead_grid .cms-news-section__grid {
    display: grid;
    grid-template-columns: 1.25fr 2fr;
    gap: 1.1rem;
}

.cms-news-section--lead_grid .cms-news-section__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.cms-news-section--lead_grid .cms-news-section__list--continuation {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cms-news-section--lead_grid .cms-news-card {
    overflow: hidden;
    border: 1px solid var(--portal-hairline-soft);
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    box-shadow: none;
}

.cms-news-section--lead_grid .cms-news-card a {
    display: block;
    height: auto;
    color: inherit;
}

.cms-news-section--lead_grid .cms-news-card__media {
    display: block;
    aspect-ratio: 1.55;
    background: #e9e4db;
}

.cms-news-section--lead_grid .cms-news-card__media img,
.home-page > .classifieds-widget-section .classifieds-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page > .classifieds-widget-section .classifieds-card.is-featured::before {
    display: none;
}

.home-page > .classifieds-widget-section:not(.classifieds-widget-section--single) .classifieds-card__link {
    grid-template-columns: 1fr;
}

.home-page > .classifieds-widget-section:not(.classifieds-widget-section--single) .classifieds-card__media {
    display: none;
}

.home-page > .classifieds-widget-section--single .classifieds-grid {
    grid-template-columns: 1fr;
}

.home-page > .classifieds-widget-section--single .classifieds-card {
    overflow: hidden;
    border: 1px solid var(--portal-hairline-soft);
    border-radius: calc(var(--portal-radius) - 2px);
    background: #fffdf8;
}

.home-page > .classifieds-widget-section--single .classifieds-card__link {
    display: flex;
    padding: 0;
    flex-direction: column;
    gap: 0;
}

.home-page > .classifieds-widget-section--single .classifieds-card__media {
    display: block;
    aspect-ratio: 16 / 10;
}

.home-page > .classifieds-widget-section--single .classifieds-card__media-frame {
    height: 100%;
    border-radius: 0;
}

.home-page > .classifieds-widget-section--single .classifieds-card__body {
    padding: 0.8rem 0.9rem 0.9rem;
}

.home-page > .classifieds-widget-section--single .classifieds-card h2 {
    font-size: 1rem;
    line-height: 1.2;
}

.home-page > .news-home-poll-widget .news-home-poll-widget__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.8rem;
    gap: 0.75rem;
    align-items: start;
}

.home-page > .news-home-poll-widget .news-home-poll-widget__mascot {
    display: inline-flex;
    width: 3.8rem;
    height: 3.8rem;
    padding: 0.22rem;
    border: 1px solid var(--portal-hairline-soft);
    border-radius: 50%;
    background: #fff7ec;
    box-shadow: inset 0 0 0 3px rgba(207, 73, 15, 0.08);
    align-items: center;
    justify-content: center;
}

.home-page > .news-home-poll-widget .news-home-poll-widget__mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-page > .news-home-poll-widget .news-poll-options {
    display: grid;
    gap: 0.48rem;
}

.home-page > .news-home-poll-widget .news-poll-option button {
    width: 100%;
    padding: 0.42rem 0.48rem;
    border: 1px solid var(--portal-hairline-soft);
    border-radius: calc(var(--portal-radius) - 2px);
    background: #fffdf9;
    color: var(--portal-ink);
    text-align: left;
}

.home-page > .news-home-poll-widget .news-poll-option button:hover,
.home-page > .news-home-poll-widget .news-poll-option button:focus-visible {
    border-color: rgba(207, 73, 15, 0.34);
    background: #fff8ef;
}

.home-page > .news-home-poll-widget .news-poll-option.is-selected button {
    border-color: var(--portal-accent);
    background: linear-gradient(135deg, rgba(255, 244, 228, 0.98), rgba(255, 229, 192, 0.94));
    box-shadow: inset 0 0 0 2px rgba(201, 95, 19, 0.22);
}

.home-page > .news-home-poll-widget .news-poll-option__content {
    display: grid;
    grid-template-columns: 1.55rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
}

.home-page > .news-home-poll-widget .news-poll-option__index {
    display: inline-flex;
    width: 1.55rem;
    height: 1.55rem;
    margin: 0;
    border: 1px solid rgba(207, 73, 15, 0.28);
    border-radius: 50%;
    background: #fff0df;
    color: var(--portal-accent);
    font-size: 0.76rem;
    font-weight: 900;
    align-items: center;
    justify-content: center;
}

.home-page > .news-home-poll-widget .news-poll-option.is-selected .news-poll-option__index {
    border-color: var(--portal-accent);
    background: var(--portal-accent);
    color: #fff;
}

.home-page > .news-home-poll-widget .news-poll-option__label {
    color: var(--portal-ink);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.28;
}

.home-page > .news-home-poll-widget .news-poll-option.is-selected .news-poll-option__label {
    color: var(--portal-accent-dark);
    font-weight: 900;
}

.cms-news-section--compact .cms-home-section__inner,
.cms-news-section--half .cms-home-section__inner,
.cms-obituary-section .cms-home-section__inner,
.home-page > .cms-weather-section .cms-weather-section__inner {
    display: flex;
    flex-direction: column;
}

.cms-news-section--compact .cms-news-section__grid,
.cms-news-section--half .cms-news-section__grid {
    flex: 1 1 auto;
}

.cms-obituary-section .cms-obituary-list {
    flex: 0 0 auto;
}

.home-page > .cms-weather-section .cms-weather-section__copy {
    display: flex;
    min-height: 100%;
    flex: 1 1 auto;
    flex-direction: column;
}

.home-page .cms-news-section__footer,
.home-page .cms-obituary-section__footer {
    display: flex;
    margin-top: auto;
    padding-top: 1rem;
    justify-content: flex-start;
}

.home-page .cms-news-section__footer-link,
.home-page .cms-obituary-section__footer-link,
.home-page > .cms-weather-section .btn {
    display: inline-flex;
    width: fit-content;
    min-height: 2.25rem;
    padding: 0.52rem 0.82rem;
    border: 1px solid rgba(201, 95, 19, 0.28);
    border-radius: var(--portal-radius);
    background: #fffdf9;
    color: var(--portal-accent-dark);
    font-size: 0.7rem;
    font-weight: 900;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1.15;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: none;
}

.home-page > .cms-weather-section .btn {
    margin-top: auto;
}

.home-page .cms-news-section__footer-link:hover,
.home-page .cms-news-section__footer-link:focus,
.home-page .cms-obituary-section__footer-link:hover,
.home-page .cms-obituary-section__footer-link:focus,
.home-page > .cms-weather-section .btn:hover,
.home-page > .cms-weather-section .btn:focus {
    border-color: rgba(201, 95, 19, 0.42);
    background: #fff7ef;
    color: var(--portal-accent-dark);
    text-decoration: none;
    transform: none;
}

.home-page > .cms-news-section--lead_grid .cms-home-section__header {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.home-page > .cms-news-section--lead_grid .cms-home-section__inner {
    padding-top: 0 !important;
}

.home-page > .cms-news-section--lead_grid .cms-home-section__header > div {
    min-width: 0;
}

.home-page > .cms-news-section--lead_grid .cms-home-section__header h2 {
    font-size: 0.78rem !important;
    line-height: 1;
}

.home-page > .cms-news-section--lead_grid .cms-home-section__header p {
    display: none;
}

.home-page > .cms-news-section--lead_grid .cms-home-section__header .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 1.85rem;
    padding: 0.42rem 0.72rem;
    border-radius: 4px;
    font-size: 0.64rem;
    line-height: 1;
    white-space: nowrap;
}

.home-page > .cms-news-section--lead_grid .cms-news-section__footer {
    display: none;
}

.news-grid .news-card__meta,
.cms-news-section .cms-home-card__meta {
    flex-wrap: wrap;
    gap: 0.18rem 0.22rem;
    margin: 0 0 0.22rem;
    font-size: 0.58rem;
    line-height: 1.16;
}

.news-grid .news-card__body,
.cms-news-section--compact-feature .cms-news-card__body,
.cms-news-section--half .cms-news-card__body {
    padding-top: 0.65rem;
}

.news-grid .news-card__meta span,
.cms-news-section .cms-home-card__meta span {
    min-width: 0;
}

.news-grid .news-card__meta span:not(:last-child)::after,
.cms-news-section .cms-home-card__meta span:not(:last-child)::after {
    width: 0.14rem;
    height: 0.14rem;
    margin-left: 0.22rem;
}

.cms-news-section--lead_grid .cms-news-card__body {
    padding: 0.95rem;
    padding-top: 0.65rem;
}

.cms-news-section--lead_grid .cms-news-card strong {
    display: block;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.28;
}

.cms-news-section--lead_grid .cms-news-card--lead strong {
    font-size: 1.25rem;
}

.site-footer {
    border-top: 0;
    background: #20272b;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1199.98px) {
    .page-shell.home-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page > .cms-news-section--compact,
    .home-page > .cms-news-section--half,
    .home-page > .cms-weather-section,
    .home-page > .classifieds-widget-section,
    .home-page > .news-home-poll-widget,
    .home-page > .cms-obituary-section {
        grid-column: span 1;
    }

    .cms-home-hero__inner {
        grid-template-columns: 1fr !important;
    }

    .cms-home-hero__media,
    .cms-home-hero__copy {
        min-height: 330px !important;
    }

    .cms-news-section--lead_grid .cms-news-section__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .news-list-toolbar .news-active-filters--toolbar {
        flex-wrap: wrap;
        overflow: visible;
    }

    .news-list-toolbar .news-active-filters--toolbar .news-active-filter,
    .news-list-toolbar .news-active-filters--toolbar .news-active-filter--clear {
        flex: 1 1 100%;
        justify-content: center;
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .navbar-jelonka .container {
        width: min(100% - 1rem, 1320px);
    }

    .home-page > .cms-link-panel .cms-link-panel__links,
    .cms-news-section--lead_grid .cms-news-section__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    :root {
        --portal-container: min(100% - 1rem, 1320px);
    }

    .page-shell.home-page {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 0.8rem;
    }

    .home-page > .cms-news-section--compact,
    .home-page > .cms-news-section--half,
    .home-page > .cms-weather-section,
    .home-page > .classifieds-widget-section,
    .home-page > .news-home-poll-widget,
    .home-page > .cms-obituary-section {
        grid-column: 1 / -1;
    }

    .cms-home-hero__inner {
        position: relative;
        display: block !important;
    }

    .cms-home-hero__media {
        min-height: 390px !important;
    }

    .cms-home-hero__copy {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 0 !important;
        padding: 1rem !important;
        background: linear-gradient(180deg, rgba(18, 16, 13, 0), rgba(18, 16, 13, 0.88) 32%, rgba(18, 16, 13, 0.94)) !important;
        color: #ffffff;
    }

    .cms-home-hero__copy h1 {
        max-width: 11ch;
        color: #ffffff;
        font-size: clamp(1.9rem, 10vw, 3rem) !important;
        line-height: 1.02 !important;
    }

    .cms-home-hero__copy p {
        display: none;
    }

    .cms-home-hero__copy .cms-home-card__meta {
        color: #f4b474;
    }

    .home-page > .cms-link-panel .cms-link-panel__links,
    .cms-news-section--half .cms-news-section__list,
    .cms-news-section--lead_grid .cms-news-section__list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .cms-home-hero__inner {
        grid-template-columns: minmax(0, 1.25fr) minmax(24rem, 0.95fr) !important;
    }

    .cms-home-hero__copy {
        padding: clamp(2rem, 3.2vw, 3.25rem) !important;
    }

    .cms-home-hero__copy h1 {
        max-width: 16ch;
        font-size: clamp(2.15rem, 3.05vw, 3.1rem) !important;
        line-height: 1.04 !important;
    }
}

.home-page .ad-slot__placeholder-name {
    font-size: 0;
}

.home-page .ad-slot__placeholder-name::after {
    content: "Reklama";
    font-size: 0.78rem;
}

.home-page .ad-slot__placeholder-label {
    font-size: 0;
}

.home-page .ad-slot[data-slot-code="home-top-leaderboard"] .ad-slot__placeholder-label::after,
.home-page .ad-slot[data-slot-code="home-bottom-leaderboard"] .ad-slot__placeholder-label::after {
    content: "970 x 90";
    font-size: 1rem;
}

.home-page .ad-slot[data-slot-code="home-mid-banner"] .ad-slot__placeholder-label::after {
    content: "970 x 120";
    font-size: 1rem;
}

/* Navbar: gazetowy lokalny magazyn */
.navbar-jelonka {
    min-height: 64px;
    padding: 0;
    border-bottom: 2px solid var(--portal-accent);
    background: #ffffff !important;
    box-shadow: none;
}

.navbar-jelonka .container {
    width: var(--portal-container);
    max-width: none;
    min-height: 64px;
    padding-right: 0;
    padding-left: 0;
}

.navbar-jelonka .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.52rem;
    min-height: 64px;
    padding: 0;
    color: var(--portal-ink) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.68rem, 2vw, 2.05rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
}

.navbar-jelonka .navbar-brand::before {
    display: none !important;
    content: none !important;
}

.navbar-jelonka__brand-panel {
    display: flex;
    align-items: center;
    gap: 0.82rem;
    min-width: 0;
}

.navbar-jelonka__clock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 6.2rem;
    min-width: 6.2rem;
    min-height: 2.42rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ff4a00;
}

.navbar-jelonka__clock-face {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.navbar-jelonka__clock-face [data-navbar-clock-segment],
.navbar-jelonka__clock-face [data-navbar-clock-dots] {
    fill: transparent;
}

.navbar-jelonka__clock-face [data-navbar-clock-segment].is-on,
.navbar-jelonka__clock-face [data-navbar-clock-dots].is-on {
    fill: #ff4a00;
}

.navbar-jelonka__brand-mark {
    display: block;
    width: 2.72rem;
    height: 2.72rem;
    flex: 0 0 2.72rem;
    object-fit: contain;
}

.navbar-jelonka__brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    min-width: 0;
}

.navbar-jelonka__brand-text {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.04em;
}

.navbar-jelonka__brand-suffix {
    font-size: 1em;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.navbar-jelonka__brand-tagline {
    display: block;
    font-family: Manrope, sans-serif;
    font-size: 0.34em;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(38, 24, 21, 0.68);
}

.navbar-jelonka__collapse-panel {
    display: flex;
    align-items: center;
    width: 100%;
}

.navbar-jelonka .navbar-nav {
    align-items: center;
}

.navbar-jelonka .navbar-nav:not(.ms-auto) {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: clamp(0.9rem, 1.6vw, 1.5rem);
}

.navbar-jelonka .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.62rem 0.54rem;
    border-radius: var(--portal-radius);
    background: transparent;
    color: #282420 !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.navbar-jelonka .nav-link span {
    padding: 0;
    border: 0;
}

.navbar-jelonka .nav-link:hover,
.navbar-jelonka .nav-link:focus,
.navbar-jelonka .nav-link.active {
    background: #f2eee8;
    color: var(--portal-accent-dark) !important;
}

.navbar-jelonka .navbar-nav.ms-auto {
    flex: 0 0 auto;
    margin-left: auto !important;
    padding-left: clamp(0.85rem, 1.8vw, 1.35rem);
}

.navbar-jelonka__account {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    justify-content: center;
    gap: 0;
    min-height: 2.6rem;
    padding: 0.3rem 0.42rem 0.3rem 0.68rem !important;
    border: 1px solid #d8d1c5;
    background: #fffaf3 !important;
    box-shadow: inset 0 -1px 0 rgba(18, 16, 13, 0.04);
    color: var(--portal-ink) !important;
    white-space: nowrap;
}

.navbar-jelonka__account:hover,
.navbar-jelonka__account:focus,
.navbar-jelonka__account.active {
    border-color: rgba(201, 95, 19, 0.34);
    background: #f7efe5 !important;
    color: var(--portal-accent-dark) !important;
}

.navbar-jelonka__account-main {
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.56rem;
    min-width: max-content;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap;
}

.navbar-jelonka__account-label {
    display: block;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.92rem;
    vertical-align: middle;
    text-transform: uppercase;
}

.navbar-jelonka__account-wallet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 0.24rem;
    width: max-content;
    min-width: max-content;
    min-height: 1.92rem;
    padding: 0.12rem 0.36rem 0.12rem 0.48rem;
    border: 1px solid #e2d6c8;
    border-radius: var(--portal-radius);
    background: #f4eadc;
    color: var(--portal-accent-dark);
    white-space: nowrap;
}

.navbar-jelonka__account-count {
    display: inline-block;
    flex: 0 0 auto;
    min-width: 0.9rem;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    font-weight: 850;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.navbar-jelonka__account-wallet img {
    display: block;
    width: 1.28rem;
    height: 1.28rem;
    flex: 0 0 1.28rem;
    max-width: none;
    object-fit: contain;
}

.navbar-jelonka .navbar-toggler {
    width: 2.6rem;
    height: 2.35rem;
    padding: 0.35rem;
    border: 1px solid #d8d1c5;
    border-radius: var(--portal-radius);
    background: #fffaf3;
}

.navbar-jelonka .navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(201, 95, 19, 0.16);
}

.navbar-jelonka .navbar-toggler-icon {
    filter: none;
}

@media (max-width: 991.98px) {
    .navbar-jelonka {
        min-height: 62px;
    }

    .navbar-jelonka .container {
        width: min(100% - 1rem, 1320px);
        min-height: 62px;
    }

    .navbar-jelonka .navbar-brand {
        min-height: 62px;
        font-size: 1.78rem;
    }

    .navbar-jelonka__brand-panel {
        gap: 0.6rem;
    }

    .navbar-jelonka__clock {
        width: 5.2rem;
        min-width: 5.2rem;
        min-height: 2.08rem;
    }

    .navbar-jelonka__brand-mark {
        width: 2.35rem;
        height: 2.35rem;
        flex-basis: 2.35rem;
    }

    .navbar-jelonka__collapse {
        width: 100%;
        margin-top: 0;
        border: 0;
        border-top: 1px solid var(--portal-hairline);
        border-radius: 0;
        background: #ffffff;
        box-shadow: none;
    }

    .navbar-jelonka__collapse-panel {
        display: grid;
        gap: 0.25rem;
        padding: 0.55rem 0 0.7rem;
    }

    .navbar-jelonka .navbar-nav {
        align-items: stretch;
        width: 100%;
        gap: 0.18rem;
        margin-bottom: 0 !important;
    }

    .navbar-jelonka .navbar-nav:not(.ms-auto) {
        padding-left: 0;
    }

    .navbar-jelonka .navbar-nav.ms-auto {
        margin-left: 0 !important;
        padding-left: 0;
    }

    .navbar-jelonka .nav-item {
        text-align: left !important;
    }

    .navbar-jelonka .nav-link {
        width: 100%;
        min-height: 2.65rem;
        justify-content: flex-start;
        padding: 0.75rem 0.8rem;
    }

    .navbar-jelonka__account {
        justify-content: space-between;
        margin-top: 0.2rem;
        padding: 0.68rem 0.78rem !important;
    }

    .navbar-jelonka__account-main {
        width: 100%;
        justify-content: space-between;
    }

}

@media (max-width: 767.98px) {
    .navbar-jelonka__brand-panel {
        gap: 0.5rem;
    }

    .navbar-jelonka .navbar-brand {
        font-size: 1.58rem;
    }

    .navbar-jelonka__clock {
        width: 4.55rem;
        min-width: 4.55rem;
        min-height: 1.84rem;
    }

    .navbar-jelonka__brand-tagline {
        display: none;
    }
}

/* Hard lock: Jelonki amount and coin must stay side by side in the navbar. */
.navbar-jelonka .navbar-jelonka__account-wallet,
.navbar-jelonka .navbar-jelonka__wallet {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
}

.navbar-jelonka .navbar-jelonka__account-count {
    display: inline-block !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

.navbar-jelonka .navbar-jelonka__account-wallet img,
.navbar-jelonka .navbar-jelonka__wallet img {
    display: inline-block !important;
    width: 1.28rem !important;
    height: 1.28rem !important;
    flex: 0 0 1.28rem !important;
    max-width: none !important;
    margin-left: 0 !important;
    vertical-align: middle !important;
}

@media (max-width: 767.98px) {
    .read-aloud__head {
        flex-direction: column;
        align-items: stretch;
    }

    .read-aloud__status {
        max-width: none;
        text-align: left;
    }

    .read-aloud__controls {
        display: grid;
        grid-template-columns: 1fr;
    }

    .read-aloud__button {
        width: 100%;
    }
}

.news-related-materials {
    display: grid;
    gap: 0.85rem;
}

.news-section-head--compact {
    margin-bottom: 0;
}

.news-related-materials__list {
    display: grid;
    gap: 0.65rem;
}

.news-related-materials__item {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(201, 95, 19, 0.18);
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 235, 0.84));
    color: var(--portal-ink);
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.news-related-materials__item:hover,
.news-related-materials__item:focus {
    border-color: rgba(201, 95, 19, 0.45);
    box-shadow: 0 14px 28px rgba(23, 19, 15, 0.08);
    color: var(--portal-ink);
    transform: translateY(-1px);
}

.news-related-materials__meta {
    color: rgba(23, 19, 15, 0.58);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-related-materials__item strong {
    font-size: 1.02rem;
    line-height: 1.22;
}

.search-page {
    background:
        radial-gradient(circle at top left, rgba(201, 95, 19, 0.12), transparent 24rem),
        #f7f4ee;
}

.search-page__hero {
    padding: clamp(2rem, 4vw, 3.5rem) 0 1.5rem;
}

.search-page__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--portal-accent-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.search-page__hero h1 {
    margin: 0 0 1rem;
    color: var(--portal-ink);
    font-family: "Newsreader", serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.search-page__form {
    display: grid;
    grid-template-columns: 1fr auto;
    max-width: 54rem;
    overflow: hidden;
    border: 1px solid rgba(159, 70, 9, 0.2);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 16px 36px rgba(23, 19, 15, 0.08);
}

.search-page__form input {
    min-width: 0;
    border: 0;
    padding: 0.9rem 1rem;
    background: transparent;
    color: var(--portal-ink);
    font-size: 1rem;
    outline: 0;
}

.search-page__form button {
    border: 0;
    padding: 0.9rem 1.25rem;
    background: var(--portal-accent-dark);
    color: #fff8ee;
    font-weight: 900;
}

.search-page__results {
    padding: 0 0 clamp(2.5rem, 6vw, 5rem);
}

.search-page__empty {
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(23, 19, 15, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
    color: rgba(23, 19, 15, 0.72);
    font-weight: 800;
}

.search-group {
    margin-top: 1rem;
}

.search-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.58rem;
}

.search-group__head h2 {
    margin: 0;
    color: var(--portal-ink);
    font-size: 1.06rem;
    font-weight: 900;
}

.search-group__head span {
    display: inline-flex;
    min-width: 1.65rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(201, 95, 19, 0.1);
    color: var(--portal-accent-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.search-group__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.75rem;
}

.search-result-card {
    display: grid;
    gap: 0.35rem;
    min-height: 10rem;
    padding: 0.95rem;
    border: 1px solid rgba(23, 19, 15, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--portal-ink);
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(23, 19, 15, 0.05);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.search-result-card:hover,
.search-result-card:focus {
    border-color: rgba(201, 95, 19, 0.28);
    box-shadow: 0 18px 34px rgba(23, 19, 15, 0.08);
    color: var(--portal-ink);
    transform: translateY(-2px);
}

.search-result-card__type {
    width: fit-content;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(201, 95, 19, 0.11);
    color: var(--portal-accent-dark);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.search-result-card strong {
    font-size: 1.02rem;
    line-height: 1.2;
}

.search-result-card__excerpt {
    color: rgba(23, 19, 15, 0.68);
    font-size: 0.88rem;
    line-height: 1.45;
}

.search-result-card__date {
    align-self: end;
    color: rgba(23, 19, 15, 0.55);
    font-size: 0.76rem;
    font-weight: 800;
}

@media (max-width: 640px) {
    .search-page__form {
        grid-template-columns: 1fr;
    }

    .search-page__form button {
        border-top: 1px solid rgba(23, 19, 15, 0.08);
    }
}

.people-directory,
.person-profile {
    background:
        radial-gradient(circle at top left, rgba(201, 95, 19, 0.14), transparent 26rem),
        linear-gradient(180deg, #fffaf2 0%, #f4efe7 100%);
}

.people-directory__hero,
.person-profile__hero {
    padding: clamp(2rem, 4vw, 3.8rem) 0 1.4rem;
}

.people-directory__eyebrow,
.person-profile__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--portal-accent-dark);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.people-directory__hero-grid,
.person-profile__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem);
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: end;
}

.people-directory h1,
.person-profile h1 {
    margin: 0;
    color: var(--portal-ink);
    font-family: "Newsreader", serif;
    font-size: clamp(2.25rem, 5vw, 4.2rem);
    font-weight: 750;
    letter-spacing: -0.055em;
}

.people-directory__hero p,
.person-profile__lead {
    max-width: 46rem;
    margin: 0.65rem 0 0;
    color: rgba(23, 19, 15, 0.72);
    font-size: 1.02rem;
    line-height: 1.58;
}

.people-directory__search {
    display: grid;
    grid-template-columns: 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(159, 70, 9, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(77, 38, 13, 0.12);
}

.people-directory__search input {
    min-width: 0;
    border: 0;
    padding: 0.86rem 1.1rem;
    background: transparent;
    outline: 0;
}

.people-directory__search button {
    border: 0;
    padding: 0.86rem 1.25rem;
    background: var(--portal-accent-dark);
    color: #fff8ee;
    font-weight: 950;
}

.people-directory__content,
.person-profile__body {
    padding: 0 0 clamp(2.6rem, 6vw, 5rem);
}

.people-directory__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.people-directory__filter {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
    padding: 0.35rem 0.72rem;
    border: 1px solid rgba(23, 19, 15, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: rgba(23, 19, 15, 0.72);
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
}

.people-directory__filter:hover,
.people-directory__filter:focus,
.people-directory__filter.is-active {
    border-color: rgba(201, 95, 19, 0.5);
    background: #fff6eb;
    color: var(--portal-accent-dark);
}

.people-directory__summary {
    margin-bottom: 0.8rem;
    color: rgba(23, 19, 15, 0.58);
    font-size: 0.84rem;
    font-weight: 900;
}

.people-directory__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 0.85rem;
}

.person-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    min-height: 11rem;
    padding: 1rem;
    border: 1px solid rgba(23, 19, 15, 0.08);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    color: var(--portal-ink);
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(23, 19, 15, 0.06);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.person-card:hover,
.person-card:focus {
    border-color: rgba(201, 95, 19, 0.34);
    box-shadow: 0 22px 46px rgba(23, 19, 15, 0.09);
    color: var(--portal-ink);
    transform: translateY(-2px);
}

.person-card--featured {
    background:
        linear-gradient(135deg, rgba(255, 246, 235, 0.95), rgba(255, 255, 255, 0.9)),
        #fff;
}

.person-card__avatar,
.person-profile__photo {
    display: inline-grid;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(201, 95, 19, 0.18);
    background: linear-gradient(135deg, #f8d7b6, #fff6eb);
    color: var(--portal-accent-dark);
    font-family: "Newsreader", serif;
    font-weight: 800;
}

.person-card__avatar {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 1.15rem;
    font-size: 2rem;
}

.person-card__avatar img,
.person-profile__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-card__content {
    display: grid;
    gap: 0.24rem;
    min-width: 0;
}

.person-card__group {
    width: fit-content;
    padding: 0.14rem 0.48rem;
    border-radius: 999px;
    background: rgba(201, 95, 19, 0.1);
    color: var(--portal-accent-dark);
    font-size: 0.66rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.person-card strong {
    font-size: 1.22rem;
    line-height: 1.12;
}

.person-card__role {
    color: rgba(23, 19, 15, 0.68);
    font-size: 0.88rem;
    font-weight: 850;
}

.person-card__description {
    color: rgba(23, 19, 15, 0.64);
    font-size: 0.86rem;
    line-height: 1.4;
}

.person-card__meta {
    align-self: end;
    margin-top: 0.35rem;
    color: var(--portal-accent-dark);
    font-size: 0.78rem;
    font-weight: 950;
}

.people-directory__empty,
.person-profile__empty {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(23, 19, 15, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
    color: rgba(23, 19, 15, 0.68);
    font-weight: 850;
}

.people-directory__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.4rem;
    font-weight: 900;
}

.people-directory__pagination a {
    color: var(--portal-accent-dark);
}

.person-profile__hero-grid {
    grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
    align-items: center;
}

.person-profile__photo {
    width: min(16rem, 48vw);
    aspect-ratio: 1;
    border-radius: 2rem;
    font-size: clamp(4rem, 12vw, 7rem);
    box-shadow: 0 24px 52px rgba(77, 38, 13, 0.16);
}

.person-profile__back {
    display: inline-flex;
    margin-bottom: 0.7rem;
    color: var(--portal-accent-dark);
    font-size: 0.82rem;
    font-weight: 950;
    text-decoration: none;
    text-transform: uppercase;
}

.person-profile__role {
    margin: 0.45rem 0 0;
    color: rgba(23, 19, 15, 0.72);
    font-size: 1.08rem;
    font-weight: 900;
}

.person-profile__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.person-profile__links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    background: var(--portal-accent-dark);
    color: #fff8ee;
    font-size: 0.82rem;
    font-weight: 950;
    text-decoration: none;
}

.person-profile__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
    gap: clamp(1rem, 4vw, 2rem);
    align-items: start;
}

.person-profile__bio,
.person-profile__articles,
.news-public-people {
    border: 1px solid rgba(23, 19, 15, 0.08);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 34px rgba(23, 19, 15, 0.06);
}

.person-profile__bio,
.person-profile__articles {
    padding: 1.15rem;
}

.person-profile__bio h2,
.person-profile__section-head h2 {
    margin: 0 0 0.8rem;
    color: var(--portal-ink);
    font-size: 1.18rem;
    font-weight: 950;
}

.person-profile__bio p {
    color: rgba(23, 19, 15, 0.72);
    line-height: 1.65;
}

.person-profile__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.person-profile__section-head span {
    display: inline-grid;
    min-width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(201, 95, 19, 0.1);
    color: var(--portal-accent-dark);
    font-size: 0.78rem;
    font-weight: 950;
}

.person-profile__article-list {
    display: grid;
    gap: 0.58rem;
}

.person-profile__article {
    display: grid;
    gap: 0.18rem;
    padding: 0.72rem;
    border: 1px solid rgba(23, 19, 15, 0.08);
    border-radius: 0.85rem;
    background: #fffaf2;
    color: var(--portal-ink);
    text-decoration: none;
}

.person-profile__article span {
    color: rgba(23, 19, 15, 0.52);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.person-profile__article strong {
    line-height: 1.2;
}

.public-person-link {
    color: var(--portal-accent-dark);
    font-weight: 850;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.18em;
}

.news-public-people {
    padding: 1rem;
}

.news-public-people__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.news-public-people__item {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    max-width: min(100%, 22rem);
    padding: 0.48rem 0.7rem 0.48rem 0.48rem;
    border: 1px solid rgba(201, 95, 19, 0.16);
    border-radius: 999px;
    background: #fff8ee;
    color: var(--portal-ink);
    text-decoration: none;
}

.news-public-people__avatar {
    display: inline-grid;
    overflow: hidden;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(201, 95, 19, 0.16);
    color: var(--portal-accent-dark);
    font-weight: 950;
}

.news-public-people__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-public-people__item strong,
.news-public-people__item small {
    display: block;
}

.news-public-people__item strong {
    line-height: 1.1;
}

.news-public-people__item small {
    overflow: hidden;
    color: rgba(23, 19, 15, 0.58);
    font-size: 0.73rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .people-directory__hero-grid,
    .person-profile__hero-grid,
    .person-profile__layout {
        grid-template-columns: 1fr;
    }

    .person-profile__photo {
        width: min(13rem, 58vw);
    }
}

@media (max-width: 640px) {
    .people-directory__search {
        grid-template-columns: 1fr;
        border-radius: 1rem;
    }

    .people-directory__search button {
        border-top: 1px solid rgba(23, 19, 15, 0.08);
    }
}

/* Public people directory: aligned to the approved catalog mockup. */
.people-directory {
    --people-accent: #c94d05;
    --people-accent-dark: #b64000;
    --people-ink: #1d1a17;
    --people-muted: #524d47;
    --people-line: #d8d3ca;
    --people-paper: #fffaf2;
    --people-surface: rgba(255, 255, 255, 0.74);
    background:
        radial-gradient(circle at 50% 0, rgba(201, 77, 5, 0.07), transparent 23rem),
        linear-gradient(180deg, #fffdf8 0%, #fbf6ed 100%);
}

.people-directory .container {
    max-width: min(1540px, calc(100vw - 3.5rem));
}

.people-directory__hero {
    padding: 1.95rem 0 1.45rem;
}

.people-directory__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 22.1rem);
    gap: clamp(2rem, 6vw, 7.25rem);
    align-items: start;
}

.people-directory__intro {
    min-width: 0;
}

.people-directory__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--people-accent);
    font-size: 0.98rem;
    font-weight: 850;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.people-directory h1 {
    margin: 0;
    color: var(--people-ink);
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(3.35rem, 5.2vw, 4.55rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.people-directory__hero p {
    max-width: 44rem;
    margin: 0.8rem 0 0;
    color: var(--people-muted);
    font-size: 1rem;
    line-height: 1.45;
}

.people-directory__search {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) 8.55rem;
    align-items: stretch;
    width: min(100%, 48.2rem);
    min-height: 3.34rem;
    overflow: hidden;
    border: 1px solid #bfb9af;
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
}

.people-directory__search-icon {
    position: relative;
    display: block;
}

.people-directory__search-icon::before,
.people-directory__search-icon::after {
    position: absolute;
    content: "";
}

.people-directory__search-icon::before {
    top: 1.05rem;
    left: 1.02rem;
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid #2b2926;
    border-radius: 50%;
}

.people-directory__search-icon::after {
    top: 1.92rem;
    left: 1.82rem;
    width: 0.56rem;
    height: 2px;
    background: #2b2926;
    transform: rotate(45deg);
    transform-origin: left center;
}

.people-directory__search input {
    min-width: 0;
    border: 0;
    padding: 0 1rem 0 0;
    background: transparent;
    color: var(--people-ink);
    font-size: 0.98rem;
    outline: 0;
}

.people-directory__search input::placeholder {
    color: #69635d;
    opacity: 1;
}

.people-directory__search button {
    border: 0;
    padding: 0 1.1rem;
    background: linear-gradient(180deg, #d65a0a 0%, #c74400 100%);
    color: #fff;
    font-weight: 850;
    letter-spacing: 0.01em;
    box-shadow: inset 0 -1px 0 rgba(73, 25, 0, 0.22);
}

.people-directory__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.2rem 0 0;
}

.people-directory__filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.52rem;
    padding: 0.48rem 1.08rem;
    border: 1px solid var(--people-line);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--people-ink);
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(23, 19, 15, 0.02);
}

.people-directory__filter:hover,
.people-directory__filter:focus {
    border-color: rgba(201, 77, 5, 0.48);
    color: var(--people-accent);
}

.people-directory__filter.is-active {
    border-color: var(--people-accent);
    background: linear-gradient(180deg, #db5c0b 0%, #c94400 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(201, 77, 5, 0.18);
}

.people-directory__stats {
    display: grid;
    grid-template-columns: 4.55rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    min-height: 7rem;
    margin-top: 0.45rem;
    padding: 1.35rem 1.25rem;
    border: 1px solid var(--people-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 46px rgba(77, 38, 13, 0.05);
}

.people-directory__stats-icon {
    position: relative;
    display: block;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background: #ffe2ca;
    object-fit: cover;
}

.people-directory__stats-icon::before,
.people-directory__stats-icon::after {
    position: absolute;
    content: "";
    background: var(--people-accent);
}

.people-directory__stats-icon::before {
    top: 1.05rem;
    left: 1.62rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    box-shadow:
        -1.1rem 0.35rem 0 -0.13rem var(--people-accent),
        1.1rem 0.35rem 0 -0.13rem var(--people-accent);
}

.people-directory__stats-icon::after {
    right: 0.72rem;
    bottom: 0.82rem;
    left: 0.72rem;
    height: 1.48rem;
    border-radius: 1.1rem 1.1rem 0.25rem 0.25rem;
    box-shadow:
        -0.78rem 0.12rem 0 -0.22rem var(--people-accent),
        0.78rem 0.12rem 0 -0.22rem var(--people-accent);
}

.people-directory__stats-copy span {
    display: block;
    color: var(--people-ink);
    font-size: 1.12rem;
    line-height: 1.1;
}

.people-directory__stats-copy strong {
    display: block;
    margin-top: 0.12rem;
    color: var(--people-accent);
    font-size: 2.05rem;
    font-weight: 850;
    line-height: 1;
}

.people-directory__stats-copy strong span {
    display: inline;
    color: var(--people-accent);
    font-size: 1.45rem;
    font-weight: 750;
}

.people-directory__content {
    padding: 0 0 clamp(2.8rem, 5vw, 4.5rem);
}

.people-directory__summary {
    display: none;
}

.people-directory__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem 1.1rem;
}

.person-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0;
    min-height: 15rem;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--people-line);
    border-radius: 7px;
    background: var(--people-surface);
    color: var(--people-ink);
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(23, 19, 15, 0.035);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.person-card:hover,
.person-card:focus {
    border-color: rgba(201, 77, 5, 0.34);
    box-shadow: 0 18px 34px rgba(23, 19, 15, 0.07);
    color: var(--people-ink);
    transform: translateY(-1px);
}

.person-card--featured {
    background: rgba(255, 250, 242, 0.84);
}

.person-card__main {
    display: grid;
    grid-column: 1;
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 1.15rem;
    padding: 0.62rem 1.05rem 0.55rem 0.62rem;
}

.person-card__avatar {
    position: relative;
    display: inline-grid;
    overflow: hidden;
    width: 11rem;
    height: 11.25rem;
    place-items: center;
    border: 1px solid rgba(23, 19, 15, 0.08);
    border-radius: 3px;
    background: linear-gradient(135deg, #f1d7bd, #fff4e8);
    color: var(--people-accent);
    font-family: "Newsreader", Georgia, serif;
    font-size: 3rem;
    font-weight: 800;
}

.person-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-card--deceased .person-card__avatar > img {
    filter: grayscale(1);
}

.person-card__mourning-ribbon {
    position: absolute;
    top: -0.65rem;
    right: -1.85rem;
    z-index: 2;
    width: 4.6rem;
    height: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, #111 0%, #050505 100%);
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.24);
    pointer-events: none;
    transform: rotate(45deg);
    transform-origin: center;
}

.person-card__content {
    display: block;
    min-width: 0;
    padding-top: 0.18rem;
}

.person-card strong {
    display: block;
    color: #15120f;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(1.35rem, 1.65vw, 1.58rem);
    font-weight: 760;
    letter-spacing: -0.025em;
    line-height: 1.02;
}

.person-card__role {
    display: block;
    margin-top: 0.18rem;
    color: var(--people-accent);
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.24;
}

.person-card__location {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    margin-top: 0.62rem;
    color: #393530;
    font-size: 0.89rem;
    line-height: 1.2;
}

.person-card__location::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border: 2px solid #24211e;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.person-card__death-date {
    display: block;
    margin-top: 0.18rem;
    color: #211e1b;
    font-size: 0.76rem;
    font-weight: 800;
}

.person-card__description {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0.75rem;
    color: #292520;
    font-size: 0.89rem;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.person-card__footer {
    display: flex;
    grid-column: 1;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.45rem;
    padding: 0.45rem 1.05rem;
    border-top: 1px solid var(--people-line);
    background: rgba(255, 253, 248, 0.72);
}

.person-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: #312c27;
    font-size: 0.88rem;
    font-weight: 600;
}

.person-card__meta::before {
    display: inline-grid;
    width: 0.88rem;
    height: 0.88rem;
    place-items: center;
    border: 1.6px solid #26231f;
    border-radius: 1px;
    color: #26231f;
    content: "≡";
    font-size: 0.55rem;
    font-weight: 900;
    line-height: 1;
}

.person-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--people-accent);
    font-size: 0.88rem;
    font-weight: 750;
    white-space: nowrap;
}

.person-card__cta::after {
    content: "→";
    font-size: 1.05rem;
    line-height: 1;
}

.people-directory__empty {
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--people-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--people-muted);
    font-weight: 750;
}

.people-directory__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.35rem;
    color: var(--people-ink);
    font-weight: 750;
}

.people-directory__pagination a {
    color: var(--people-accent);
}

@media (max-width: 1180px) {
    .people-directory__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .person-card__main {
        grid-template-columns: 10rem minmax(0, 1fr);
    }

    .person-card__avatar {
        width: 10rem;
        height: 10.2rem;
    }
}

@media (max-width: 900px) {
    .people-directory .container {
        max-width: min(100% - 2rem, 44rem);
    }

    .people-directory__hero-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .people-directory__stats {
        width: min(100%, 22rem);
        margin-top: 0;
    }

    .people-directory__search {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .people-directory .container {
        max-width: min(100% - 1rem, 38rem);
    }

    .people-directory__hero {
        padding-top: 1.35rem;
    }

    .people-directory h1 {
        font-size: clamp(2.7rem, 13vw, 3.7rem);
    }

    .people-directory__search {
        grid-template-columns: 3rem minmax(0, 1fr);
        border-radius: 3px;
    }

    .people-directory__search button {
        grid-column: 1 / -1;
        min-height: 2.9rem;
        border-top: 1px solid rgba(23, 19, 15, 0.08);
    }

    .people-directory__grid {
        grid-template-columns: 1fr;
    }

    .person-card__main {
        grid-template-columns: 8.7rem minmax(0, 1fr);
        gap: 0.85rem;
    }

    .person-card__avatar {
        width: 8.7rem;
        height: 9.2rem;
    }
}

@media (max-width: 480px) {
    .people-directory__filters {
        gap: 0.45rem;
    }

    .people-directory__filter {
        min-height: 2.25rem;
        padding: 0.42rem 0.78rem;
        font-size: 0.86rem;
    }

    .people-directory__stats {
        grid-template-columns: 3.6rem minmax(0, 1fr);
        padding: 1rem;
    }

    .people-directory__stats-icon {
        width: 3.35rem;
        height: 3.35rem;
    }

    .people-directory__stats-copy strong {
        font-size: 1.75rem;
    }

    .person-card__footer {
        flex-wrap: wrap;
    }
}

@media (max-width: 430px) {
    .person-card__main {
        grid-template-columns: 7.7rem minmax(0, 1fr);
        gap: 0.72rem;
        padding: 0.5rem 0.62rem 0.48rem 0.5rem;
    }

    .person-card__avatar {
        width: 7.7rem;
        height: 8rem;
    }

    .person-card strong {
        font-size: 1.18rem;
    }

    .person-card__role {
        font-size: 0.82rem;
    }

    .person-card__location,
    .person-card__description {
        font-size: 0.78rem;
    }

    .person-card__description {
        -webkit-line-clamp: 3;
    }

    .person-card__footer {
        padding: 0.42rem 0.62rem;
    }
}

/* Public person profile: detail view matched to the approved editorial mockup. */
.person-profile {
    --person-accent: #c94d05;
    --person-accent-dark: #b64000;
    --person-ink: #1d1a17;
    --person-muted: #524d47;
    --person-line: #d8d3ca;
    --person-paper: #fffaf2;
    --person-surface: rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at 50% 0, rgba(201, 77, 5, 0.07), transparent 23rem),
        linear-gradient(180deg, #fffdf8 0%, #fbf6ed 100%);
    color: var(--person-ink);
}

.person-profile .container {
    max-width: min(1390px, calc(100vw - 3.5rem));
}

.person-profile__hero {
    padding: 0.95rem 0 0.95rem;
}

.person-profile__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.2rem;
    margin-bottom: 0.75rem;
    padding: 0.38rem 1.08rem;
    border: 1px solid var(--person-accent);
    border-radius: 5px;
    background: rgba(255, 253, 248, 0.82);
    color: var(--person-accent);
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
}

.person-profile__back::before {
    content: "←";
    font-size: 1.05rem;
    line-height: 1;
}

.person-profile__back:hover,
.person-profile__back:focus {
    background: #fff3e7;
    color: var(--person-accent-dark);
}

.person-profile__hero-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 25.1rem) minmax(0, 1fr) minmax(19rem, 21.4rem);
    gap: clamp(1.8rem, 4vw, 3.9rem);
    align-items: center;
}

.person-profile__photo {
    position: relative;
    display: grid;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1.18 / 1;
    place-items: center;
    border: 1px solid rgba(23, 19, 15, 0.1);
    border-radius: 4px;
    background: linear-gradient(135deg, #f1d7bd, #fff4e8);
    color: var(--person-accent);
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 800;
    box-shadow: 0 18px 38px rgba(23, 19, 15, 0.055);
}

.person-profile__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-profile__photo-open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.person-profile__photo-open:focus-visible {
    outline: 3px solid rgba(201, 77, 5, 0.44);
    outline-offset: -6px;
}

.person-profile__photo--deceased > img,
.person-profile__photo--deceased .person-profile__photo-open > img {
    filter: grayscale(1);
}

.person-profile__mourning-ribbon {
    position: absolute;
    top: -1rem;
    right: -3.2rem;
    z-index: 2;
    width: clamp(8.5rem, 19vw, 12.5rem);
    height: clamp(1.55rem, 3.2vw, 2.15rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, #121212 0%, #030303 100%);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
    pointer-events: none;
    transform: rotate(45deg);
    transform-origin: center;
}

.person-profile__intro {
    position: relative;
    min-width: 0;
}

.person-profile__intro--with-admin {
    padding-top: 2.55rem;
}

.person-profile__eyebrow {
    margin: 0 0 0.48rem;
    color: var(--person-accent);
    font-size: 0.92rem;
    font-weight: 850;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.person-profile h1 {
    margin: 0;
    color: var(--person-ink);
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(3.1rem, 5.2vw, 4.55rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.person-profile__role {
    margin: 0.4rem 0 0;
    color: var(--person-accent);
    font-size: 1.38rem;
    font-weight: 500;
    line-height: 1.15;
}

.person-profile__location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.78rem 0 0;
    color: #25211e;
    font-size: 1.02rem;
    font-weight: 650;
}

.person-profile__location::before {
    content: "";
    width: 0.68rem;
    height: 0.68rem;
    border: 2px solid #211e1b;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.person-profile__lead {
    max-width: 37.5rem;
    margin: 0.86rem 0 0;
    color: #4d4740;
    font-size: 0.96rem;
    line-height: 1.52;
}

.person-profile__chips,
.person-profile__quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.person-profile__chips {
    margin-top: 1rem;
}

.person-profile__chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.05rem;
    padding: 0.35rem 0.78rem;
    border: 1px solid var(--person-line);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--person-ink);
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1;
}

.person-profile__chip--active {
    border-color: var(--person-accent);
    background: linear-gradient(180deg, #db5c0b 0%, #c94400 100%);
    color: #fff;
}

.person-profile__chip--muted {
    border-color: #2a2521;
    background: #2a2521;
    color: #fffaf2;
}

.person-profile__admin-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    max-width: 100%;
    padding: 0.42rem 0.92rem;
    border: 1px solid #15120f;
    border-radius: 5px;
    background: #15120f;
    color: #fffaf2;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(23, 19, 15, 0.18);
}

.person-profile__admin-edit--corner {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.person-profile__admin-edit:hover,
.person-profile__admin-edit:focus {
    border-color: var(--person-accent);
    background: var(--person-accent);
    color: #fff;
}

.person-profile__quick-links {
    margin-top: 0.85rem;
}

.person-profile__quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2rem;
    padding: 0.34rem 0.75rem;
    border: 1px solid var(--person-line);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.74);
    color: #211e1b;
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
}

.person-profile__stats {
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--person-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 18px 46px rgba(77, 38, 13, 0.05);
}

.person-profile__stats-head {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--person-line);
}

.person-profile__stats-icon {
    position: relative;
    display: block;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    background: #ffe2ca;
    object-fit: cover;
}

.person-profile__stats-copy {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
}

.person-profile__stats-icon::before,
.person-profile__stats-icon::after {
    position: absolute;
    content: "";
    background: var(--person-accent);
}

.person-profile__stats-icon::before {
    top: 1.02rem;
    left: 1.59rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    box-shadow:
        -1.1rem 0.35rem 0 -0.13rem var(--person-accent),
        1.1rem 0.35rem 0 -0.13rem var(--person-accent);
}

.person-profile__stats-icon::after {
    right: 0.72rem;
    bottom: 0.82rem;
    left: 0.72rem;
    height: 1.48rem;
    border-radius: 1.1rem 1.1rem 0.25rem 0.25rem;
    box-shadow:
        -0.78rem 0.12rem 0 -0.22rem var(--person-accent),
        0.78rem 0.12rem 0 -0.22rem var(--person-accent);
}

.person-profile__stats-number {
    display: inline-block;
    color: var(--person-accent);
    font-size: 2.35rem;
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1;
}

.person-profile__stats-label {
    display: inline-block;
    color: var(--person-accent);
    font-size: 1.22rem;
    font-weight: 650;
    line-height: 1;
}

.person-profile__facts {
    margin: 0;
}

.person-profile__facts div {
    padding: 1rem 0 0.95rem;
    border-bottom: 1px solid var(--person-line);
}

.person-profile__facts div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.person-profile__facts dt {
    margin: 0 0 0.32rem;
    color: var(--person-ink);
    font-size: 0.92rem;
    font-weight: 850;
}

.person-profile__facts dd {
    margin: 0;
    color: #4c463f;
    font-size: 0.94rem;
    line-height: 1.35;
}

.person-profile__body {
    padding: 0 0 clamp(2.7rem, 5vw, 4.5rem);
}

.person-profile__info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 30rem);
    gap: 1.08rem;
    align-items: stretch;
}

.person-profile__bio,
.person-profile__links-card {
    padding: 1.05rem 1.18rem;
    border: 1px solid var(--person-line);
    border-radius: 7px;
    background: var(--person-surface);
    box-shadow: 0 10px 24px rgba(23, 19, 15, 0.035);
}

.person-profile__bio h2,
.person-profile__links-card h2,
.person-profile__section-head h2,
.person-profile__related h2 {
    margin: 0 0 0.72rem;
    color: var(--person-ink);
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.58rem;
    font-weight: 760;
    letter-spacing: -0.012em;
    line-height: 1.05;
    word-spacing: 0.05em;
}

.person-profile__bio p {
    margin: 0 0 0.78rem;
    color: #35302b;
    font-size: 0.92rem;
    line-height: 1.58;
}

.person-profile__bio p:last-child {
    margin-bottom: 0;
}

.person-profile__link-list {
    display: grid;
    gap: 0.45rem;
}

.person-profile__link-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 2.65rem;
    padding: 0.62rem 0.75rem;
    border: 1px solid var(--person-line);
    border-radius: 6px;
    background: rgba(255, 253, 248, 0.74);
    color: var(--person-ink);
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}

.person-profile__link-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 1.28rem;
    height: 1.28rem;
    place-items: center;
    border-radius: 50%;
    background: var(--person-accent);
    color: #fff;
    font-family: Manrope, sans-serif;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1;
}

.person-profile__link-icon::before {
    content: "↗";
}

.person-profile__link-icon--facebook {
    background: #166ee8;
}

.person-profile__link-icon--facebook::before {
    content: "f";
    font-size: 0.78rem;
}

.person-profile__link-icon--website {
    border: 1.6px solid #211e1b;
    background: transparent;
    color: #211e1b;
}

.person-profile__link-icon--website::before {
    content: "www";
    font-size: 0.43rem;
    letter-spacing: -0.08em;
}

.person-profile__link-icon--instagram::before {
    content: "◎";
    font-size: 0.92rem;
}

.person-profile__link-icon--x::before {
    content: "X";
}

.person-profile__link-icon--linkedin {
    background: #0a66c2;
}

.person-profile__link-icon--linkedin::before {
    content: "in";
    font-size: 0.62rem;
}

.person-profile__link-icon--youtube {
    background: #e62117;
}

.person-profile__link-icon--youtube::before {
    content: "▶";
    font-size: 0.58rem;
}

.person-profile__link-icon--email::before {
    content: "@";
}

.person-profile__link-icon--phone::before {
    content: "☎";
    font-size: 0.68rem;
}

.person-profile__link-label {
    min-width: 0;
}

.person-profile__link-arrow {
    margin-left: auto;
    color: var(--person-accent);
    font-size: 1.18rem;
    line-height: 1;
}

.person-profile__articles {
    margin-top: 0.7rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.person-profile__gallery {
    margin-top: 0.7rem;
}

.person-profile__gallery h2 {
    margin: 0 0 0.46rem;
    color: var(--person-ink);
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.58rem;
    font-weight: 760;
    letter-spacing: -0.012em;
    line-height: 1.05;
}

.person-profile__gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.88rem;
}

.person-profile__gallery-item {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--person-line);
    border-radius: 7px;
    background: var(--person-surface);
    box-shadow: 0 10px 22px rgba(23, 19, 15, 0.035);
}

.person-profile__gallery-open {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.person-profile__gallery-open:focus-visible {
    outline: 3px solid rgba(201, 77, 5, 0.44);
    outline-offset: -4px;
}

.person-profile__gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.person-profile__gallery-more {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(21, 18, 15, 0.58);
    color: #fffaf2;
    font-size: clamp(1rem, 2.1vw, 1.42rem);
    font-weight: 850;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.36);
}

.person-profile__gallery-hidden {
    display: none;
}

.person-profile__gallery-item figcaption {
    padding: 0.58rem 0.68rem;
    color: #4c463f;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.35;
}

.person-profile__section-head {
    display: block;
    margin: 0 0 0.4rem;
}

.person-profile__article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.88rem;
}

.person-profile__article-card {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    min-height: 9.15rem;
    padding: 0.86rem 0.9rem 0.82rem;
    border: 1px solid var(--person-line);
    border-radius: 7px;
    background: var(--person-surface);
    color: var(--person-ink);
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(23, 19, 15, 0.035);
}

.person-profile__article-card:hover,
.person-profile__article-card:focus {
    border-color: rgba(201, 77, 5, 0.42);
    color: var(--person-ink);
}

.person-profile__article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    align-items: center;
    margin-bottom: 0.46rem;
    color: #6a6259;
    font-size: 0.73rem;
    font-weight: 650;
    line-height: 1.25;
}

.person-profile__article-meta span {
    color: var(--person-accent);
}

.person-profile__article-card strong {
    color: #15120f;
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.19rem;
    font-weight: 760;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.person-profile__article-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0.44rem;
    color: #4c463f;
    font-size: 0.84rem;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.person-profile__article-cta {
    justify-self: end;
    margin-top: 0.65rem;
    color: var(--person-accent);
    font-size: 0.78rem;
    font-weight: 800;
}

.person-profile__article-cta::after {
    content: " →";
    font-size: 1.02rem;
}

.person-profile__empty {
    padding: 1rem 1.15rem;
    border: 1px solid var(--person-line);
    border-radius: 7px;
    background: var(--person-surface);
    color: var(--person-muted);
    font-weight: 700;
}

.person-profile__related {
    margin-top: 0.72rem;
}

.person-profile__related h2 {
    margin-bottom: 0.46rem;
}

.person-profile__related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.08rem;
}

.person-profile__related-card {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 5.1rem;
    padding: 0.62rem 0.88rem 0.62rem 0.62rem;
    border: 1px solid var(--person-line);
    border-radius: 7px;
    background: var(--person-surface);
    color: var(--person-ink);
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(23, 19, 15, 0.035);
}

.person-profile__related-avatar {
    display: grid;
    overflow: hidden;
    width: 5rem;
    height: 4.55rem;
    place-items: center;
    border-radius: 3px;
    background: linear-gradient(135deg, #f1d7bd, #fff4e8);
    color: var(--person-accent);
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.9rem;
    font-weight: 800;
}

.person-profile__related-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-profile__related-copy {
    min-width: 0;
}

.person-profile__related-copy strong,
.person-profile__related-copy small,
.person-profile__related-copy em {
    display: block;
}

.person-profile__related-copy strong {
    overflow: hidden;
    color: #15120f;
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 760;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.person-profile__related-copy small {
    overflow: hidden;
    margin-top: 0.2rem;
    color: #4c463f;
    font-size: 0.78rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.person-profile__related-copy em {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.28rem;
    color: #4d4740;
    font-size: 0.76rem;
    font-style: normal;
}

.person-profile__related-copy em::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border: 1.5px solid #211e1b;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.person-profile__related-arrow {
    color: #15120f;
    font-size: 2rem;
    line-height: 1;
}

@media (max-width: 1180px) {
    .person-profile__hero-grid {
        grid-template-columns: minmax(16rem, 23rem) minmax(0, 1fr);
    }

    .person-profile__stats {
        grid-column: 1 / -1;
    }

    .person-profile__article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .person-profile__gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .person-profile .container {
        max-width: min(100% - 2rem, 46rem);
    }

    .person-profile__hero-grid,
    .person-profile__info-grid,
    .person-profile__related-grid {
        grid-template-columns: 1fr;
    }

    .person-profile__photo {
        width: min(100%, 26rem);
    }
}

@media (max-width: 640px) {
    .person-profile .container {
        max-width: min(100% - 1rem, 38rem);
    }

    .person-profile h1 {
        font-size: clamp(2.75rem, 14vw, 3.8rem);
    }

    .person-profile__role {
        font-size: 1.12rem;
    }

    .person-profile__stats-head {
        grid-template-columns: 3.8rem minmax(0, 1fr);
    }

    .person-profile__stats-icon {
        width: 3.45rem;
        height: 3.45rem;
    }

    .person-profile__stats-number {
        font-size: 1.95rem;
    }

    .person-profile__stats-label {
        font-size: 1rem;
    }

    .person-profile__article-grid {
        grid-template-columns: 1fr;
    }

    .person-profile__gallery-grid {
        grid-template-columns: 1fr;
    }

    .person-profile__related-card {
        grid-template-columns: 4.2rem minmax(0, 1fr) auto;
    }

    .person-profile__related-avatar {
        width: 4.2rem;
        height: 4rem;
    }
}

/* Cameras */

.camera-page {
    --camera-ink: #111716;
    --camera-muted: #5d6866;
    --camera-line: #d8dfdd;
    --camera-surface: #f7f9f8;
    --camera-accent: #b71924;
    --camera-accent-dark: #7d1017;
    background: #fff;
    color: var(--camera-ink);
}

.camera-page .container {
    max-width: min(100% - 2rem, 78rem);
}

.camera-hero {
    padding: clamp(2rem, 5vw, 4.25rem) 0 2.4rem;
    background:
        linear-gradient(180deg, #eef3f1 0%, #fff 76%),
        #eef3f1;
}

.camera-hero__copy {
    max-width: 50rem;
    margin-bottom: 1.45rem;
}

.camera-page__kicker {
    margin: 0 0 0.45rem;
    color: var(--camera-accent);
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
}

.camera-hero h1 {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 760;
    line-height: 0.92;
}

.camera-hero__copy > p:last-child {
    max-width: 41rem;
    margin: 0.8rem 0 0;
    color: var(--camera-muted);
    font-size: 1.02rem;
    font-weight: 620;
    line-height: 1.55;
}

.camera-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
    gap: 1rem;
    align-items: stretch;
}

.camera-feature,
.camera-panel,
.camera-card,
.camera-empty {
    border: 1px solid var(--camera-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(24, 33, 31, 0.08);
}

.camera-feature {
    overflow: hidden;
}

.camera-feature__image,
.camera-card__image {
    position: relative;
    overflow: hidden;
    background: #dde5e2;
}

.camera-feature__image {
    aspect-ratio: 16 / 8.4;
}

.camera-feature__image img,
.camera-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-status {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.28rem 0.52rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #17362d;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.camera-status--stale {
    color: var(--camera-accent-dark);
}

.camera-feature__body {
    display: flex;
    gap: 1rem;
    align-items: end;
    justify-content: space-between;
    padding: 1rem 1.1rem 1.1rem;
}

.camera-feature__body p,
.camera-card__body p {
    margin: 0 0 0.2rem;
    color: var(--camera-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.camera-feature__body h2,
.camera-card__body h3,
.camera-empty h2,
.camera-empty h3,
.camera-section-head h2 {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-weight: 760;
    line-height: 1;
}

.camera-feature__body h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.camera-feature__body time {
    flex: 0 0 auto;
    color: var(--camera-muted);
    font-size: 0.88rem;
    font-weight: 750;
}

.camera-panel {
    display: grid;
    align-content: stretch;
    padding: 1rem;
}

.camera-panel div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 7.25rem;
    border-bottom: 1px solid var(--camera-line);
}

.camera-panel div:last-child {
    border-bottom: 0;
}

.camera-panel span {
    display: block;
    color: var(--camera-accent);
    font-family: "Newsreader", Georgia, serif;
    font-size: 3.15rem;
    font-weight: 780;
    line-height: 0.95;
}

.camera-panel p,
.camera-panel small {
    margin: 0.25rem 0 0;
    color: var(--camera-muted);
    font-size: 0.82rem;
    font-weight: 820;
}

.camera-panel time {
    margin-top: 0.35rem;
    color: var(--camera-ink);
    font-size: 1.02rem;
    font-weight: 850;
}

.camera-grid-section {
    padding: 2.2rem 0 3.4rem;
}

.camera-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.camera-section-head h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.camera-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.camera-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    min-height: 100%;
}

.camera-card__image {
    aspect-ratio: 4 / 2.65;
}

.camera-card__image--empty {
    display: grid;
    place-items: center;
    color: var(--camera-muted);
    font-weight: 800;
}

.camera-card__body {
    padding: 0.85rem 0.9rem 0.55rem;
}

.camera-card__body h3 {
    font-size: 1.62rem;
}

.camera-card__body time {
    display: block;
    margin-top: 0.35rem;
    color: var(--camera-muted);
    font-size: 0.8rem;
    font-weight: 780;
}

.camera-card__frames {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.32rem;
    margin-top: auto;
    padding: 0.25rem 0.9rem 0.9rem;
}

.camera-card__frames img {
    width: 100%;
    aspect-ratio: 1 / 0.72;
    border-radius: 4px;
    object-fit: cover;
}

.camera-empty {
    padding: clamp(1.4rem, 4vw, 2.4rem);
}

.camera-empty h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.camera-empty h3 {
    font-size: 1.7rem;
}

.camera-empty p {
    max-width: 36rem;
    margin: 0.65rem 0 0;
    color: var(--camera-muted);
    font-weight: 680;
}

.camera-empty--inline {
    box-shadow: none;
}

@media (max-width: 980px) {
    .camera-hero__layout,
    .camera-grid {
        grid-template-columns: 1fr;
    }

    .camera-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .camera-panel div {
        min-height: 6.4rem;
        border-right: 1px solid var(--camera-line);
        border-bottom: 0;
    }

    .camera-panel div:last-child {
        border-right: 0;
    }
}

@media (max-width: 640px) {
    .camera-page .container {
        max-width: min(100% - 1rem, 38rem);
    }

    .camera-hero {
        padding-top: 1.5rem;
    }

    .camera-hero__layout {
        gap: 0.75rem;
    }

    .camera-feature__image {
        aspect-ratio: 4 / 3;
    }

    .camera-feature__body,
    .camera-section-head {
        display: block;
    }

    .camera-feature__body time {
        display: block;
        margin-top: 0.5rem;
    }

    .camera-panel {
        grid-template-columns: 1fr;
    }

    .camera-panel div {
        min-height: auto;
        padding: 0.8rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--camera-line);
    }
}

.camera-page {
    --camera-ink: var(--portal-ink, #151515);
    --camera-muted: var(--portal-muted, #6f6a61);
    --camera-line: var(--portal-hairline-soft, #ded8ce);
    --camera-accent: #cf160f;
    background: var(--portal-bg, #f5f3ee);
}

.camera-page-frame {
    padding: clamp(1rem, 3vw, 2rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.camera-showcase,
.camera-grid-section {
    border: 1px solid var(--camera-line);
    border-radius: 4px;
    background: #fffdf9;
}

.camera-showcase {
    padding: 1.2rem;
}

.camera-showcase__header {
    display: flex;
    margin-bottom: 1rem;
    padding-left: 0.82rem;
    border-left: 3px solid var(--portal-accent, #d71920);
    align-items: flex-end;
    justify-content: space-between;
}

.camera-showcase__header > div {
    display: flex;
    gap: 1.35rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.camera-showcase__header h1 {
    margin: 0;
    color: var(--camera-ink);
    font-family: var(--portal-sans, Arial, sans-serif);
    font-size: 1.06rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.camera-showcase__header p {
    margin: 0;
    color: var(--camera-muted);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.35;
}

.camera-page .camera-showcase__header time {
    margin: 0 0 0.05rem;
    color: var(--camera-muted);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

.camera-showcase__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.58fr) minmax(0, 0.58fr);
    grid-auto-rows: minmax(9.2rem, auto);
    gap: 0.75rem;
}

.camera-showcase__lead,
.camera-showcase__item,
.camera-page .camera-card {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #e6e9e7;
    box-shadow: none;
}

.camera-showcase__lead {
    grid-row: span 2;
}

.camera-showcase__media,
.camera-showcase__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.camera-showcase__media {
    position: relative;
    overflow: hidden;
}

.camera-lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.camera-lightbox-trigger:focus-visible {
    outline: 3px solid rgba(207, 22, 15, 0.72);
    outline-offset: -3px;
}

.camera-showcase__media img,
.camera-page .camera-card__image img {
    object-fit: cover;
}

.camera-showcase__caption,
.camera-page .camera-card__body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 3.25rem 1rem 0.95rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
    color: #ffffff;
    pointer-events: none;
}

.camera-showcase__caption h2,
.camera-page .camera-card__body h3 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.08;
}

.camera-showcase__lead .camera-showcase__caption h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.35rem);
}

.camera-showcase__item .camera-showcase__caption h2,
.camera-page .camera-card__body h3 {
    font-size: 1.08rem;
}

.camera-page time {
    display: block;
    margin-top: 0.28rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
}

.camera-page time::before {
    content: "";
    display: inline-block;
    width: 0.72rem;
    height: 0.72rem;
    margin-right: 0.32rem;
    background: currentColor;
    vertical-align: -0.12rem;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.camera-page .camera-status {
    top: 0.62rem;
    right: 0.62rem;
    padding: 0.25rem 0.45rem;
    border: 0;
    border-radius: 4px;
    background: var(--camera-accent);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    box-shadow: none;
}

.camera-page .camera-status--stale {
    background: #2f3330;
    color: #ffffff;
}

.camera-showcase__footer {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--camera-line);
    align-items: center;
    justify-content: space-between;
}

.camera-showcase__footer p,
.camera-showcase__footer time {
    margin: 0;
    color: var(--camera-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.camera-showcase__footer time::before {
    vertical-align: -0.12rem;
}

.camera-grid-section {
    margin-top: 1rem;
    padding: 1.2rem;
}

.camera-section-head {
    display: block;
    margin-bottom: 1rem;
    padding-left: 0.82rem;
    border-left: 3px solid var(--portal-accent, #d71920);
}

.camera-section-head h2 {
    margin: 0;
    font-family: var(--portal-sans, Arial, sans-serif);
    font-size: 1.06rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.camera-page .camera-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.camera-page .camera-card__image {
    aspect-ratio: 1.65;
    background: #e6e9e7;
}

.camera-page .camera-card__body {
    padding: 2.55rem 0.86rem 0.82rem;
}

.camera-page .camera-card__body time {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.74rem;
}

@media (max-width: 1199.98px) {
    .camera-showcase__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .camera-showcase__lead {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .camera-showcase__lead .camera-showcase__media {
        aspect-ratio: 1.85;
    }

    .camera-showcase__item .camera-showcase__media {
        aspect-ratio: 1.72;
    }
}

@media (max-width: 767.98px) {
    .camera-showcase,
    .camera-grid-section {
        padding: 0.85rem;
    }

    .camera-showcase__grid,
    .camera-page .camera-grid {
        grid-template-columns: 1fr;
    }

    .camera-showcase__header {
        display: block;
    }

    .camera-page .camera-showcase__header time {
        margin-top: 0.45rem;
        text-align: left;
        white-space: normal;
    }

    .camera-showcase__media,
    .camera-showcase__lead .camera-showcase__media,
    .camera-showcase__item .camera-showcase__media {
        aspect-ratio: 4 / 3;
    }

    .camera-showcase__footer {
        display: block;
    }

    .camera-showcase__footer time {
        margin-top: 0.35rem;
    }
}
.news-article-body .news-inline-gallery {
    position: relative;
    width: min(100%, 56rem);
    margin: 2rem auto;
    padding: clamp(0.55rem, 1.4vw, 0.9rem);
    border: 1px solid rgba(23, 33, 38, 0.1);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 233, 0.94));
    box-shadow: 0 22px 48px rgba(23, 33, 38, 0.1);
}

.news-article-body .news-inline-gallery__viewport {
    overflow: hidden;
    border-radius: 18px;
    background: rgba(23, 33, 38, 0.05);
}

.news-article-body .news-inline-gallery__track {
    position: relative;
}

.news-article-body .news-inline-gallery[data-news-inline-gallery-animation="slide-left"] .news-inline-gallery__track {
    display: flex;
    will-change: transform;
    transition: transform var(--news-inline-gallery-transition-duration, 520ms) cubic-bezier(0.22, 0.72, 0.2, 1);
}

.news-article-body .news-inline-gallery__slide {
    margin: 0;
    animation: news-inline-gallery-fade var(--news-inline-gallery-transition-duration, 520ms) ease;
}

.news-article-body .news-inline-gallery[data-news-inline-gallery-animation="slide-left"] .news-inline-gallery__slide {
    flex: 0 0 100%;
    animation: none;
}

.news-article-body .news-inline-gallery__slide[hidden] {
    display: none;
}

.news-article-body .news-inline-gallery__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.news-article-body .news-inline-gallery__open:focus-visible {
    outline: 3px solid rgba(20, 97, 162, 0.45);
    outline-offset: 3px;
}

.news-article-body .news-inline-gallery__open img {
    display: block;
    width: 100%;
    max-height: min(72vh, 720px);
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #12181f;
}

.news-article-body .news-inline-gallery figcaption {
    padding: 0.65rem 0.2rem 0.15rem;
    color: rgba(23, 33, 38, 0.74);
    font-size: 0.94rem;
    line-height: 1.45;
}

.news-article-body .news-inline-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 3.05rem;
    height: 3.05rem;
    place-items: center;
    padding: 0 0 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--jelonka-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-50%);
    box-shadow: 0 12px 28px rgba(23, 33, 38, 0.18);
    backdrop-filter: blur(8px);
}

.news-article-body .news-inline-gallery__nav:hover,
.news-article-body .news-inline-gallery__nav:focus-visible {
    background: #fff;
    outline: none;
}

.news-article-body .news-inline-gallery__nav--prev {
    left: clamp(0.9rem, 2vw, 1.35rem);
}

.news-article-body .news-inline-gallery__nav--next {
    right: clamp(0.9rem, 2vw, 1.35rem);
}

.news-article-body .news-inline-gallery__dots {
    display: flex;
    justify-content: center;
    gap: 0.42rem;
    padding-top: 0.75rem;
}

.news-article-body .news-inline-gallery__dot {
    width: 0.72rem;
    height: 0.72rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(23, 33, 38, 0.24);
}

.news-article-body .news-inline-gallery__dot.is-active {
    width: 1.8rem;
    background: var(--jelonka-accent);
}

@keyframes news-inline-gallery-fade {
    from {
        opacity: 0;
        transform: translateY(0.35rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-article-body .news-inline-gallery[data-news-inline-gallery-animation="slide-left"] .news-inline-gallery__track {
        transition: none;
    }

    .news-article-body .news-inline-gallery__slide {
        animation: none;
    }
}

@media (max-width: 680px) {
    .news-article-body .news-inline-gallery {
        margin-inline: -0.25rem;
        border-radius: 16px;
    }

    .news-article-body .news-inline-gallery__open img {
        aspect-ratio: 4 / 3;
    }

    .news-article-body .news-inline-gallery__nav {
        width: 2.55rem;
        height: 2.55rem;
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .site-header-shell {
        width: 100%;
        margin: 0 auto;
        overflow: visible;
        border: 1px solid #e6e2dc;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: 0 12px 30px rgba(23, 19, 15, 0.06);
    }

    .site-header-shell .top-info-bar,
    .site-header-shell .navbar-jelonka,
    .site-header-shell .news-category-bar,
    .site-header-shell .recommended-events-bar,
    .site-header-shell .read-also-ticker {
        width: 100%;
        max-width: none;
        margin: 0;
        background: transparent;
        box-shadow: none;
    }

    .site-header-shell .top-info-bar {
        z-index: 4;
        border: 0;
        border-bottom: 1px solid #eeeae4;
        background: #fff;
    }

    .site-header-shell .top-info-bar__inner {
        grid-template-columns: minmax(330px, 0.95fr) minmax(390px, 610px) minmax(255px, 0.9fr);
        gap: 1.2rem;
        min-height: 54px;
        padding: 0 2.5rem;
    }

    .site-header-shell .top-info-bar__meta {
        gap: 1.15rem;
    }

    .site-header-shell .top-info-bar__item {
        gap: 0.64rem;
        font-size: 0.84rem;
        color: #171513;
    }

    .site-header-shell .top-info-bar__item--date {
        padding-right: 1.05rem;
        border-right-color: #ebe6df;
    }

    .site-header-shell .top-info-bar__icon {
        width: 1.45rem;
        height: 1.45rem;
        border-radius: 0;
        background: transparent;
        color: #c85c17;
        box-shadow: none;
    }

    .site-header-shell .top-info-bar__icon svg,
    .site-header-shell .top-info-bar__search-icon svg {
        display: block;
        width: 1.15rem;
        height: 1.15rem;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
    }

    .site-header-shell .top-info-bar__calendar-icon {
        display: block;
        width: 1.18rem;
        height: 1.18rem;
        object-fit: contain;
    }

    .site-header-shell .top-info-bar__search-icon svg {
        fill: currentColor;
        stroke: none;
    }

    .site-header-shell .top-info-bar__weather-icon {
        width: 1.82rem;
        height: 1.82rem;
        filter: drop-shadow(0 3px 7px rgba(201, 95, 19, 0.16));
    }

    .site-header-shell .top-info-bar__text,
    .site-header-shell .top-info-bar__weather-copy {
        gap: 0.16rem;
    }

    .site-header-shell .top-info-bar__text strong,
    .site-header-shell .top-info-bar__weather-copy strong {
        font-size: 0.86rem;
        font-weight: 900;
    }

    .site-header-shell .top-info-bar__text span,
    .site-header-shell .top-info-bar__weather-copy span {
        color: #6f6760;
        font-size: 0.72rem;
        font-weight: 700;
    }

    .site-header-shell .top-info-bar__search {
        display: grid;
        grid-template-columns: 1fr 3rem auto;
        align-items: center;
        height: 36px;
        overflow: hidden;
        border: 1px solid #ece8e2;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(23, 19, 15, 0.06);
    }

    .site-header-shell .top-info-bar__search-input {
        height: 100%;
        padding: 0 1rem;
        color: #221f1c;
        font-size: 0.9rem;
        font-weight: 700;
    }

    .site-header-shell .top-info-bar__search-input::placeholder {
        color: #8c8780;
        opacity: 1;
    }

    .site-header-shell .top-info-bar__search-icon {
        display: inline-grid;
        width: 100%;
        height: 100%;
        place-items: center;
        color: #2e2a26;
    }

    .site-header-shell .top-info-bar__search-button {
        align-self: stretch;
        min-width: 6.2rem;
        padding: 0 1.35rem;
        border-radius: 0 10px 10px 0;
        background: #c84f12;
        color: #fff;
        font-size: 0.78rem;
        font-weight: 900;
        letter-spacing: 0;
    }

    .site-header-shell .top-info-bar__search-button:hover,
    .site-header-shell .top-info-bar__search-button:focus {
        background: #a83f0b;
    }

    .site-header-shell .top-info-bar__stats {
        gap: 0.72rem;
        color: #2f2b27;
        font-size: 0.82rem;
        font-weight: 900;
    }

    .site-header-shell .top-info-bar__stat + .top-info-bar__stat {
        padding-left: 1rem;
        border-left-color: #ebe6df;
    }

    .site-header-shell .top-info-bar__live-dot {
        width: 0.48rem;
        height: 0.48rem;
        background: #2fa36f;
    }

    .site-header-shell .navbar-jelonka {
        position: relative !important;
        top: auto !important;
        z-index: 3;
        min-height: 88px;
        border-bottom: 2px solid #bd4e16;
        background: #fff !important;
    }

    .site-header-shell .navbar-jelonka .container {
        position: relative;
        width: 100%;
        min-height: 88px;
        padding: 0 1.9rem;
    }

    .site-header-shell .navbar-jelonka__brand-panel {
        flex: 0 0 auto;
        gap: 2.2rem;
        min-width: 500px;
    }

    .site-header-shell .navbar-jelonka .navbar-brand {
        min-height: 88px;
        gap: 0.82rem;
        font-size: 2rem;
        line-height: 0.9;
    }

    .site-header-shell .navbar-jelonka__brand-mark {
        width: 2.95rem;
        height: 2.95rem;
        flex-basis: 2.95rem;
    }

    .site-header-shell .navbar-jelonka__brand-copy {
        gap: 0.22rem;
    }

    .site-header-shell .navbar-jelonka__brand-tagline {
        color: #5c5650;
        font-size: 0.34em;
        font-weight: 900;
        letter-spacing: 0.02em;
    }

    .site-header-shell .navbar-jelonka__clock {
        width: 4.6rem;
        min-width: 4.6rem;
        min-height: 2rem;
        color: #d0601b;
    }

    .site-header-shell .navbar-jelonka__clock-face [data-navbar-clock-segment].is-on,
    .site-header-shell .navbar-jelonka__clock-face [data-navbar-clock-dots].is-on {
        fill: #d0601b;
    }

    .site-header-shell .navbar-jelonka__collapse {
        min-width: 0;
    }

    .site-header-shell .navbar-jelonka__collapse-panel {
        justify-content: flex-end;
        gap: 0;
    }

    .site-header-shell .navbar-jelonka .navbar-nav:not(.ms-auto) {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: var(--navbar-menu-left, 50%);
        flex: 0 1 auto;
        gap: 0.34rem;
        padding-left: 0;
        transform: translateY(-50%);
    }

    .site-header-shell .navbar-jelonka .nav-link {
        min-height: 2.8rem;
        padding: 0.6rem 0.46rem;
        border-radius: 0;
        color: #1d1a17 !important;
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .site-header-shell .navbar-jelonka .nav-link:hover,
    .site-header-shell .navbar-jelonka .nav-link:focus,
    .site-header-shell .navbar-jelonka .nav-link.active {
        background: transparent;
        color: #bd4e16 !important;
    }

    .site-header-shell .navbar-jelonka .navbar-nav.ms-auto {
        position: relative;
        z-index: 3;
        flex: 0 0 auto;
        padding-left: 0;
    }

    .site-header-shell .navbar-jelonka__account {
        min-height: 2.7rem;
        padding: 0.48rem 1.05rem !important;
        border: 1px solid #e7e2dc;
        border-radius: 6px;
        background: #fff !important;
        box-shadow: 0 6px 18px rgba(23, 19, 15, 0.04);
    }

    .site-header-shell .navbar-jelonka__account-main {
        gap: 0.62rem;
    }

    .site-header-shell .navbar-jelonka__account-main::before {
        display: inline-block;
        width: 1.05rem;
        height: 1.05rem;
        flex: 0 0 auto;
        background: currentColor;
        content: "";
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .site-header-shell .navbar-jelonka__account-label {
        color: #211d19;
        font-size: 0.72rem;
        font-weight: 900;
        line-height: 1;
    }

    .site-header-shell .news-category-bar {
        z-index: 30;
        overflow: visible;
        padding: 0;
        border: 0;
        border-bottom: 1px solid #d9e6ee;
        background:
            linear-gradient(180deg, rgba(248, 252, 255, 0.98) 0%, rgba(239, 247, 252, 0.94) 100%),
            #f2f8fc;
    }

    .site-header-shell .news-category-bar__inner {
        min-height: 52px;
        padding: 0 1.9rem;
    }

    .site-header-shell .news-category-bar__panel {
        min-height: 52px;
        padding: 0 9.7rem 0 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .site-header-shell .news-category-bar.has-prev .news-category-bar__panel,
    .site-header-shell .news-category-bar.has-next .news-category-bar__panel {
        padding-left: 0;
        padding-right: 9.7rem;
    }

    .site-header-shell .news-category-bar__label,
    .site-header-shell .news-category-bar__separator,
    .site-header-shell .news-category-bar__arrow--prev {
        display: none !important;
    }

    .site-header-shell .news-category-bar__viewport {
        height: 52px;
        overflow: hidden;
        padding: 0;
        scrollbar-width: none;
    }

    .site-header-shell .news-category-bar__viewport::-webkit-scrollbar {
        display: none;
    }

    .site-header-shell .news-category-bar__track {
        display: flex;
        align-items: center;
        gap: 0;
        height: 52px;
        min-width: max-content;
        padding: 0;
        white-space: nowrap;
    }

    .site-header-shell .news-category-bar__item {
        position: relative;
        gap: 0.52rem;
        min-height: 52px;
        padding: 0 1rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #1d1a17;
        font-size: 0.8rem;
        font-weight: 850;
        transform: none;
    }

    .site-header-shell .news-category-bar__item::after {
        position: absolute;
        top: 50%;
        right: 0;
        width: 1px;
        height: 2.05rem;
        background: #eee9e2;
        content: "";
        transform: translateY(-50%);
    }

    .site-header-shell .news-category-bar__item-icon {
        width: 1rem;
        height: 1rem;
        color: #171513;
        opacity: 1;
    }

    .site-header-shell .news-category-bar__item-label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-header-shell .news-category-bar__item.is-in-more {
        display: none;
    }

    .site-header-shell .news-category-bar__item--flame {
        --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M10.3 4.2 2.7 17.5A2 2 0 0 0 4.4 20h15.2a2 2 0 0 0 1.7-2.5L13.7 4.2a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
    }

    .site-header-shell .news-category-bar__item--phone {
        --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.4 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E");
    }

    .site-header-shell .news-category-bar__item--candle {
        --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M9 21h6M10 12h4v9h-4zM12 2s3 3 3 5a3 3 0 1 1-6 0c0-2 3-5 3-5Z'/%3E%3C/svg%3E");
    }

    .site-header-shell .news-category-bar__item--theater {
        --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 5.2c2.3.9 4.8.9 7.1 0v4.5c0 3.5-1.8 6.2-3.6 7.2-1.8-1-3.5-3.7-3.5-7.2V5.2Z'/%3E%3Cpath d='M13.4 5.2c2.3.9 4.8.9 7.1 0v4.5c0 3.5-1.8 6.2-3.6 7.2-1.3-.7-2.5-2.3-3.1-4.4'/%3E%3Cpath d='M6.2 9h.01M8.8 9h.01M5.8 12.8c.8.5 1.6.5 2.4 0M16.2 9h.01M18.8 9h.01M15.8 12.8c.8.5 1.6.5 2.4 0'/%3E%3C/svg%3E");
    }

    .site-header-shell .news-category-bar__item--shield {
        --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.9' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7.5-3.8 7.5-9.6V5.2L12 2.5 4.5 5.2v6.2C4.5 17.2 12 21 12 21Z'/%3E%3Cpath d='m9.2 11.8 1.8 1.8 4-4'/%3E%3C/svg%3E");
    }

    .site-header-shell .news-category-bar__item--chat {
        --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v8Z'/%3E%3C/svg%3E");
    }

    .site-header-shell .news-category-bar__item--graduation {
        --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15Z'/%3E%3C/svg%3E");
    }

    .site-header-shell .news-category-bar__item--road {
        --category-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M4 21 9 3h6l5 18M10.5 12h3M9.5 16h5M12 7v1'/%3E%3C/svg%3E");
    }

    .site-header-shell .news-category-bar__item:hover,
    .site-header-shell .news-category-bar__item:focus-visible,
    .site-header-shell .news-category-bar__item.is-active {
        border: 0;
        background: transparent;
        box-shadow: none;
        color: #bd4e16;
        transform: none;
    }

    .site-header-shell .news-category-bar .news-category-bar__arrow--next,
    .site-header-shell .news-category-bar.has-next .news-category-bar__arrow--next {
        right: 2rem;
        display: inline-flex;
    }

    .site-header-shell .news-category-bar__arrow--next {
        top: 50%;
        width: auto;
        height: 2.6rem;
        gap: 0.54rem;
        padding: 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #2d2924;
        font-size: 0.78rem;
        font-weight: 850;
        transform: translateY(-50%);
    }

    .site-header-shell .news-category-bar__arrow--next:disabled {
        opacity: 1;
        cursor: pointer;
    }

    .site-header-shell .news-category-bar__more-icon {
        display: inline-block;
        width: 1.05rem;
        height: 1.05rem;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h4v4H4V4Zm6 0h4v4h-4V4Zm6 0h4v4h-4V4ZM4 10h4v4H4v-4Zm6 0h4v4h-4v-4Zm6 0h4v4h-4v-4ZM4 16h4v4H4v-4Zm6 0h4v4h-4v-4Zm6 0h4v4h-4v-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h4v4H4V4Zm6 0h4v4h-4V4Zm6 0h4v4h-4V4ZM4 10h4v4H4v-4Zm6 0h4v4h-4v-4Zm6 0h4v4h-4v-4ZM4 16h4v4H4v-4Zm6 0h4v4h-4v-4Zm6 0h4v4h-4v-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .site-header-shell .news-category-bar__more-caret {
        display: inline-block;
        width: 1rem;
        height: 1rem;
        flex: 0 0 1rem;
        background: currentColor;
        font-size: 0;
        line-height: 0;
        transform-origin: 50% 50%;
        transition: transform 0.15s ease;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 0.82rem 0.82rem no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 0.82rem 0.82rem no-repeat;
    }

    .site-header-shell .news-category-bar__arrow--next[aria-expanded="true"] .news-category-bar__more-caret {
        transform: rotate(180deg);
    }

    .site-header-shell .news-category-bar__more-menu {
        position: absolute;
        z-index: 80;
        top: calc(100% - 0.65rem);
        right: 1.55rem;
        width: min(28rem, calc(100vw - 3rem));
        max-height: min(23rem, calc(100vh - 12rem));
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0.72rem;
        border: 1px solid #e6e2dc;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(23, 19, 15, 0.14);
        scrollbar-width: thin;
    }

    .site-header-shell .news-category-bar__more-menu[hidden] {
        display: none;
    }

    .site-header-shell .news-category-bar__more-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.2rem 0.45rem;
    }

    .site-header-shell .news-category-bar__more-item {
        display: inline-flex;
        align-items: center;
        gap: 0.58rem;
        min-height: 2.35rem;
        padding: 0.45rem 0.55rem;
        border-radius: 4px;
        color: #1d1a17;
        font-size: 0.78rem;
        font-weight: 850;
        text-decoration: none;
    }

    .site-header-shell .news-category-bar__more-item:hover,
    .site-header-shell .news-category-bar__more-item:focus-visible,
    .site-header-shell .news-category-bar__more-item.is-active {
        background: #f8f4ef;
        color: #bd4e16;
    }

    .site-header-shell .news-category-bar__more-item::after {
        display: none;
    }

    .site-header-shell .recommended-events-bar {
        z-index: 1;
        border: 0;
        border-bottom: 1px solid #ece8e2;
        background: #fff;
    }

    .site-header-shell .recommended-events-bar__inner {
        align-items: center;
        min-height: 52px;
        padding: 0 2.5rem;
        background: #fff;
    }

    .site-header-shell .recommended-events-bar__label {
        position: relative;
        min-width: 6.2rem;
        padding: 0;
        background: transparent;
        box-shadow: none;
        color: #171513;
        font-size: 0.78rem;
        letter-spacing: 0;
    }

    .site-header-shell .recommended-events-bar__label::after {
        position: absolute;
        top: 50%;
        right: 0.75rem;
        width: 1px;
        height: 2.25rem;
        background: #eee9e2;
        content: "";
        transform: translateY(-50%);
    }

    .site-header-shell .recommended-events-bar__viewport {
        height: 52px;
        padding-left: 0;
    }

    .site-header-shell .recommended-events-bar__track {
        height: 52px;
    }

    .site-header-shell .recommended-events-bar__item {
        gap: 0.38rem;
        flex: 0 1 auto;
        width: max-content;
        min-width: 0;
        max-width: min(23rem, 45vw);
        height: 52px;
        padding: 0 0.86rem;
        font-size: 0.8rem;
        font-weight: 900;
    }

    .site-header-shell .recommended-events-bar__item:nth-child(n+5) {
        display: none;
    }

    .site-header-shell .recommended-events-bar__title {
        flex: 0 1 auto;
        min-width: 0;
        max-width: min(12rem, 100%);
    }

    .site-header-shell .recommended-events-bar__date {
        min-width: 2.75rem;
        height: 1.72rem;
        border: 1px solid #f0d6c7;
        background: #fff9f5;
        color: #c85c17;
        font-size: 0.72rem;
        font-weight: 900;
    }

    .site-header-shell .recommended-events-bar__city {
        flex: 0 0 auto;
        color: #837a70;
        font-size: 0.7rem;
        font-weight: 800;
    }

    .site-header-shell .recommended-events-bar__more {
        min-width: 5.2rem;
        padding: 0 0 0 1rem;
        border-left: 0;
        color: #c85c17;
        font-size: 0.78rem;
        font-weight: 900;
    }

    .site-header-shell .recommended-events-bar__more:hover,
    .site-header-shell .recommended-events-bar__more:focus {
        background: transparent;
        color: #9f4609;
    }

    .site-header-shell .read-also-ticker {
        z-index: 1;
        border: 0;
        background: #fbf8f4;
    }

    .site-header-shell .read-also-ticker__inner {
        align-items: center;
        min-height: 48px;
        padding: 0 2.5rem;
        background:
            linear-gradient(90deg, rgba(201, 95, 19, 0.035), rgba(255, 255, 255, 0) 34%),
            #fbf8f4;
    }

    .site-header-shell .read-also-ticker__label {
        height: 2rem;
        margin-right: 1rem;
        padding: 0 0.78rem;
        border: 1px solid #d48a5c;
        border-radius: 4px;
        background: #fff;
        box-shadow: none;
        color: #c85c17;
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0;
    }

    .site-header-shell .read-also-ticker__label::after,
    .site-header-shell .read-also-ticker__viewport::before,
    .site-header-shell .read-also-ticker__viewport::after {
        display: none;
    }

    .site-header-shell .read-also-ticker__group {
        padding-right: 0;
    }

    .site-header-shell .read-also-ticker__item {
        gap: 0.62rem;
        min-width: auto;
        padding: 0 0.8rem;
        color: #161412;
        font-size: 0.78rem;
        font-weight: 800;
        line-height: 48px;
    }

    .site-header-shell .read-also-ticker__item::after {
        right: -0.18rem;
        width: 0.22rem;
        height: 0.22rem;
        background: #c85c17;
    }

    .site-header-shell .read-also-ticker__category {
        order: 2;
        max-width: 10rem;
        min-height: 1.35rem;
        padding: 0.12rem 0.42rem;
        border: 1px solid #e6e2dc;
        border-radius: 3px;
        background: #f8f7f5;
        color: #67615a;
        font-size: 0.66rem;
        letter-spacing: 0;
        line-height: 1.05;
        text-transform: none;
    }

    .site-header-shell .read-also-ticker__title {
        order: 1;
        max-width: none;
    }
}

@media (min-width: 992px) and (max-width: 1320px) {
    .site-header-shell .top-info-bar__inner {
        grid-template-columns: minmax(290px, 1fr) minmax(340px, 500px) minmax(230px, auto);
        padding: 0 1.35rem;
    }

    .site-header-shell .navbar-jelonka .container,
    .site-header-shell .news-category-bar__inner {
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }

    .site-header-shell .navbar-jelonka__brand-panel {
        gap: 1.1rem;
        min-width: 410px;
    }

    .site-header-shell .navbar-jelonka .navbar-brand {
        font-size: 1.78rem;
    }

    .site-header-shell .navbar-jelonka__brand-mark {
        width: 2.75rem;
        height: 2.75rem;
        flex-basis: 2.75rem;
    }

    .site-header-shell .navbar-jelonka .nav-link {
        padding-right: 0.32rem;
        padding-left: 0.32rem;
        font-size: 0.66rem;
    }

    .site-header-shell .navbar-jelonka__account {
        padding-right: 0.8rem !important;
        padding-left: 0.8rem !important;
    }

    .site-header-shell .news-category-bar__item {
        padding-right: 1rem;
        padding-left: 1rem;
        font-size: 0.76rem;
    }
}

.navbar-jelonka__mobile-account,
.navbar-jelonka__mobile-menu,
.navbar-jelonka__drawer,
.navbar-jelonka__mobile-weather {
    display: none;
}

@media (max-width: 1120px) {
    body.navbar-jelonka-drawer-open {
        overflow: hidden;
    }

    body.navbar-jelonka-drawer-open .site-header-shell,
    body.navbar-jelonka-drawer-open .site-header-shell .navbar-jelonka {
        z-index: 2147483647 !important;
    }

    .site-header-shell {
        display: flex;
        flex-direction: column;
        overflow: visible;
        border-bottom: 1px solid #ece8e2;
        background: #fff;
        box-shadow: 0 10px 24px rgba(23, 19, 15, 0.06);
    }

    .site-header-shell .top-info-bar {
        display: none;
    }

    .site-header-shell .navbar-jelonka {
        position: relative !important;
        top: auto !important;
        order: 1;
        min-height: 0;
        border-bottom: 0;
        background: #fff !important;
    }

    .site-header-shell .navbar-jelonka .container {
        display: grid;
        grid-template-columns: 2.25rem minmax(0, 1fr) 3.45rem 2.15rem;
        align-items: center;
        column-gap: 0.34rem;
        width: 100%;
        min-height: 82px;
        padding: 0 0.9rem;
    }

    .site-header-shell .navbar-jelonka__brand-panel {
        display: contents;
    }

    .site-header-shell .navbar-jelonka .navbar-toggler {
        display: inline-grid;
        grid-column: 1;
        grid-row: 1;
        width: 2.15rem;
        height: 2.15rem;
        place-items: center;
        justify-self: start;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #171513;
    }

    .site-header-shell .navbar-jelonka .navbar-toggler-icon {
        width: 1.42rem;
        height: 1.42rem;
        background-image: none;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-width='1.9' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-width='1.9' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .site-header-shell .navbar-jelonka .navbar-brand {
        grid-column: 2;
        grid-row: 1;
        min-height: 82px;
        gap: 0.44rem;
        padding: 0;
        justify-self: start;
        font-size: clamp(1.48rem, 6.9vw, 1.82rem);
        line-height: 1;
    }

    .site-header-shell .navbar-jelonka__brand-mark {
        width: 2.18rem;
        height: 2.18rem;
        flex-basis: 2.18rem;
    }

    .site-header-shell .navbar-jelonka__brand-tagline {
        display: none;
    }

    .site-header-shell .navbar-jelonka__clock {
        grid-column: 3;
        grid-row: 1;
        display: grid;
        justify-items: center;
        align-content: center;
        gap: 0.1rem;
        width: 3.45rem;
        min-width: 3.45rem;
        min-height: 2.8rem;
        color: #c85c17;
    }

    .site-header-shell .navbar-jelonka__clock-face {
        width: 3.16rem;
    }

    .site-header-shell .navbar-jelonka__clock-face [data-navbar-clock-segment].is-on,
    .site-header-shell .navbar-jelonka__clock-face [data-navbar-clock-dots].is-on {
        fill: #c85c17;
    }

    .site-header-shell .navbar-jelonka__mobile-weather {
        display: inline-flex;
        align-items: center;
        gap: 0.12rem;
        color: #1d1a17;
        font-family: Manrope, sans-serif;
        font-size: 0.66rem;
        font-weight: 900;
        line-height: 1;
    }

    .site-header-shell .navbar-jelonka__mobile-weather img,
    .site-header-shell .navbar-jelonka__mobile-weather-fallback {
        display: inline-block;
        width: 0.86rem;
        height: 0.86rem;
        object-fit: contain;
    }

    .site-header-shell .navbar-jelonka__mobile-account {
        display: inline-grid;
        grid-column: 4;
        grid-row: 1;
        width: 2.1rem;
        height: 2.1rem;
        place-items: center;
        justify-self: end;
        color: #171513;
        text-decoration: none;
    }

    .site-header-shell .navbar-jelonka__mobile-account span {
        display: block;
        width: 1.45rem;
        height: 1.45rem;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.9' viewBox='0 0 24 24'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.9' viewBox='0 0 24 24'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .site-header-shell .navbar-jelonka__collapse {
        display: none !important;
        grid-column: 1 / -1;
        width: 100%;
        border-top: 1px solid #ece8e2;
    }

    .site-header-shell .navbar-jelonka__collapse-panel {
        padding: 0.45rem 0 0.65rem;
    }

    .site-header-shell .navbar-jelonka__collapse .nav-link {
        min-height: 2.3rem;
        padding: 0.58rem 0.45rem;
        font-size: 0.78rem;
    }

    .site-header-shell .navbar-jelonka__collapse .navbar-nav.ms-auto {
        display: none;
    }

    .site-header-shell .navbar-jelonka__mobile-menu {
        display: none !important;
    }

    .site-header-shell .news-category-bar {
        display: none !important;
    }

    .site-header-shell .navbar-jelonka__drawer {
        position: fixed;
        z-index: 2147483647;
        inset: 0;
        display: block;
    }

    .site-header-shell .navbar-jelonka__drawer[hidden] {
        display: none;
    }

    .site-header-shell .navbar-jelonka__drawer-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.96);
    }

    .site-header-shell .navbar-jelonka__drawer-panel {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        max-height: none;
        overflow: hidden;
        background: #fff;
        color: #171513;
    }

    .site-header-shell .navbar-jelonka__drawer-header {
        display: grid;
        grid-template-columns: 2.25rem minmax(0, 1fr) 3.45rem 2.15rem;
        align-items: center;
        column-gap: 0.34rem;
        min-height: 82px;
        padding: 0 0.9rem;
        border-bottom: 0;
    }

    .site-header-shell .navbar-jelonka__drawer-close,
    .site-header-shell .navbar-jelonka__drawer-account {
        display: inline-grid;
        width: 2.1rem;
        height: 2.1rem;
        place-items: center;
        padding: 0;
        border: 0;
        background: transparent;
        color: #171513;
        text-decoration: none;
    }

    .site-header-shell .navbar-jelonka__drawer-close span,
    .site-header-shell .navbar-jelonka__drawer-account span {
        display: block;
        width: 1.45rem;
        height: 1.45rem;
        background: currentColor;
    }

    .site-header-shell .navbar-jelonka__drawer-close span {
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .site-header-shell .navbar-jelonka__drawer-account span {
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.9' viewBox='0 0 24 24'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.9' viewBox='0 0 24 24'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .site-header-shell .navbar-jelonka__drawer-brand {
        margin: 0;
    }

    .site-header-shell .navbar-jelonka__drawer-clock {
        margin: 0;
    }

    .site-header-shell .navbar-jelonka__drawer-weather {
        display: inline-flex;
        align-items: center;
        gap: 0.12rem;
        color: #1d1a17;
        font-family: Manrope, sans-serif;
        font-size: 0.66rem;
        font-weight: 900;
        letter-spacing: 0;
        line-height: 1;
    }

    .site-header-shell .navbar-jelonka__drawer-weather img,
    .site-header-shell .navbar-jelonka__drawer-weather-fallback {
        display: inline-block;
        width: 0.8rem;
        height: 0.8rem;
        object-fit: contain;
    }

    .site-header-shell .navbar-jelonka__drawer-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
        height: 47px;
        padding: 0 1.62rem;
        border-bottom: 1px solid #ece8e2;
        background: #fff;
    }

    .site-header-shell .navbar-jelonka__drawer-tab {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        height: 47px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #171513;
        font-size: 0.84rem;
        font-weight: 900;
        line-height: 1;
    }

    .site-header-shell .navbar-jelonka__drawer-tab.is-active::after {
        position: absolute;
        right: auto;
        bottom: -1px;
        left: 0;
        width: 4.42rem;
        height: 2px;
        background: #c85c17;
        content: "";
    }

    .site-header-shell .navbar-jelonka__drawer-content {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0.72rem 1.62rem calc(5rem + env(safe-area-inset-bottom, 0px));
        -webkit-overflow-scrolling: touch;
    }

    .site-header-shell .navbar-jelonka__drawer-pane[hidden] {
        display: none;
    }

    .site-header-shell .navbar-jelonka__drawer-list {
        display: grid;
        gap: 0.02rem;
        padding-bottom: 1.5rem;
    }

    .site-header-shell .navbar-jelonka__drawer-link {
        --drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.9' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v16H4zM8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E");
        display: grid;
        grid-template-columns: 1.35rem minmax(0, 1fr) 1rem;
        align-items: center;
        column-gap: 0.72rem;
        min-height: 2.5rem;
        color: #171513;
        font-size: 0.9rem;
        font-weight: 850;
        line-height: 1.18;
        text-decoration: none;
    }

    .site-header-shell .navbar-jelonka__drawer-link.is-active {
        color: #c85c17;
    }

    .site-header-shell .navbar-jelonka__drawer-icon {
        display: block;
        width: 1.12rem;
        height: 1.12rem;
        background: currentColor;
        color: currentColor;
        -webkit-mask: var(--drawer-icon) center / contain no-repeat;
        mask: var(--drawer-icon) center / contain no-repeat;
    }

    .site-header-shell .navbar-jelonka__drawer-category .navbar-jelonka__drawer-icon {
        -webkit-mask: var(--category-bar-icon) center / contain no-repeat;
        mask: var(--category-bar-icon) center / contain no-repeat;
    }

    .site-header-shell .navbar-jelonka__drawer-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-header-shell .navbar-jelonka__drawer-chevron {
        display: none;
        justify-self: end;
        width: 0.62rem;
        height: 0.62rem;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
    }

    .site-header-shell .navbar-jelonka__drawer-link.is-active .navbar-jelonka__drawer-chevron {
        display: block;
    }

    .site-header-shell .navbar-jelonka__drawer-link--news_list,
    .site-header-shell .navbar-jelonka__drawer-link--archive {
        --drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v16H5zM9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E");
    }

    .site-header-shell .navbar-jelonka__drawer-link--classifieds_list {
        --drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16v12H4zM8 7V5h8v2M8 12h8M8 16h5'/%3E%3C/svg%3E");
    }

    .site-header-shell .navbar-jelonka__drawer-link--news_polls,
    .site-header-shell .navbar-jelonka__drawer-link--rykowisko_list {
        --drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 4 6v5c0 5 3.2 8.2 8 10 4.8-1.8 8-5 8-10V6zM9 10h6M10 14h4'/%3E%3C/svg%3E");
    }

    .site-header-shell .navbar-jelonka__drawer-link--obituaries_list {
        --drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v6M9 6h6M8 10h8v11H8zM6 21h12'/%3E%3C/svg%3E");
    }

    .site-header-shell .navbar-jelonka__drawer-link--weather_home {
        --drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M17 18H8a4 4 0 1 1 .6-8A5 5 0 0 1 18 12a3 3 0 0 1-1 6z'/%3E%3Cpath d='M7 4V2M3.8 6.2 2.4 4.8M20.2 6.2l1.4-1.4'/%3E%3C/svg%3E");
    }

    .site-header-shell .navbar-jelonka__drawer-link--events_list {
        --drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M7 3v4M17 3v4M4 7h16v13H4zM8 11h3v3H8z'/%3E%3C/svg%3E");
    }

    .site-header-shell .navbar-jelonka__drawer-link--classifieds_pricing {
        --drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16v12H4zM8 7V5h8v2M7 12h10M8 16h3'/%3E%3C/svg%3E");
    }

    .site-header-shell .navbar-jelonka__drawer-link--subscription {
        --drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M5 5h14v14H5zM8 9h8M8 13h8M8 17h5'/%3E%3C/svg%3E");
    }

    .site-header-shell .navbar-jelonka__drawer-link--emergency_phones {
        --drawer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M7 4h4l1.5 4-2.4 1.4a11 11 0 0 0 4.5 4.5l1.4-2.4 4 1.5v4a2 2 0 0 1-2 2A15 15 0 0 1 5 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
    }

    .site-header-shell .navbar-jelonka__drawer-search {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 3rem;
        align-items: center;
        height: 3.52rem;
        margin-top: 0.35rem;
        border: 1px solid #e4dfd8;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 8px 18px rgba(23, 19, 15, 0.045);
    }

    .site-header-shell .navbar-jelonka__drawer-search input {
        min-width: 0;
        height: 100%;
        padding: 0 0.98rem;
        border: 0;
        background: transparent;
        color: #171513;
        font-size: 0.96rem;
        font-weight: 650;
        outline: 0;
    }

    .site-header-shell .navbar-jelonka__drawer-search button {
        display: grid;
        width: 3rem;
        height: 100%;
        place-items: center;
        padding: 0;
        border: 0;
        background: transparent;
        color: #171513;
    }

    .site-header-shell .navbar-jelonka__drawer-search button span {
        width: 1.18rem;
        height: 1.18rem;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.9' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.9' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .site-header-shell .navbar-jelonka__mobile-menu {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
        gap: 0;
        width: 100%;
        overflow: visible;
        padding: 0;
        border-top: 1px solid #f1eee9;
        border-bottom: 1px solid #ece8e2;
        background: #fff;
    }

    .site-header-shell .navbar-jelonka__mobile-menu-viewport {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        width: 100%;
        overflow: hidden;
        padding-left: 0.72rem;
    }

    .site-header-shell .navbar-jelonka__mobile-menu-track {
        display: flex;
        align-items: stretch;
        width: max-content;
        min-width: max-content;
    }

    .site-header-shell .navbar-jelonka__mobile-menu-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        min-height: 46px;
        padding: 0 0.42rem;
        border: 0;
        background: transparent;
        color: #171513;
        font-size: 0.76rem;
        font-weight: 850;
        text-decoration: none;
        white-space: nowrap;
    }

    .site-header-shell .navbar-jelonka__mobile-menu-link.is-in-more {
        display: none;
    }

    .site-header-shell .navbar-jelonka__mobile-menu-link.active {
        color: #c85c17;
    }

    .site-header-shell .navbar-jelonka__mobile-menu-link.active::after {
        position: absolute;
        right: 0.55rem;
        bottom: 0;
        left: 0.55rem;
        height: 3px;
        background: #c85c17;
        content: "";
    }

    .site-header-shell .navbar-jelonka__mobile-menu-more {
        grid-column: 2;
        grid-row: 1;
        flex: 0 0 4.2rem;
        width: 4.2rem;
        justify-content: center;
        padding-right: 0;
        padding-left: 0;
        border-left: 1px solid #ece8e2;
    }

    .site-header-shell .navbar-jelonka__mobile-menu-more[hidden] {
        display: none;
    }

    .site-header-shell .navbar-jelonka__mobile-menu-more-icon {
        display: block;
        width: 1.35rem;
        height: 1.35rem;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpath d='M5 7h14M5 12h14M5 17h14'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpath d='M5 7h14M5 12h14M5 17h14'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .site-header-shell .navbar-jelonka__mobile-menu-more-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .site-header-shell .navbar-jelonka__mobile-more-menu {
        grid-column: 1 / -1;
        position: absolute;
        z-index: 70;
        top: calc(100% - 0.2rem);
        right: 0.55rem;
        left: 0.55rem;
        max-height: min(22rem, calc(100vh - 11rem));
        overflow-y: auto;
        padding: 0.52rem;
        border: 1px solid #e6e2dc;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 18px 38px rgba(23, 19, 15, 0.16);
    }

    .site-header-shell .navbar-jelonka__mobile-more-menu[hidden] {
        display: none;
    }

    .site-header-shell .navbar-jelonka__mobile-more-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.1rem 0.28rem;
    }

    .site-header-shell .navbar-jelonka__mobile-more-item {
        display: inline-flex;
        align-items: center;
        min-height: 2.35rem;
        padding: 0.48rem 0.52rem;
        border-radius: 5px;
        color: #171513;
        font-size: 0.76rem;
        font-weight: 850;
        text-decoration: none;
    }

    .site-header-shell .navbar-jelonka__mobile-more-item.active {
        color: #c85c17;
    }

    .site-header-shell .news-category-bar {
        z-index: 40;
        overflow: visible;
        padding: 0;
        border: 0;
        border-bottom: 1px solid #d9e6ee;
        background:
            linear-gradient(180deg, rgba(248, 252, 255, 0.98) 0%, rgba(239, 247, 252, 0.94) 100%),
            #f2f8fc;
    }

    .site-header-shell .news-category-bar__inner {
        width: 100%;
        min-height: 64px;
        padding: 0;
    }

    .site-header-shell .news-category-bar__panel {
        flex: 1 1 auto;
        min-height: 64px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .site-header-shell .news-category-bar__label,
    .site-header-shell .news-category-bar__separator,
    .site-header-shell .news-category-bar__arrow--prev {
        display: none !important;
    }

    .site-header-shell .news-category-bar__arrow--next {
        position: static;
        display: grid !important;
        flex: 0 0 4.2rem;
        width: 4.2rem;
        height: 64px;
        place-items: center;
        padding: 0;
        border: 0;
        border-left: 1px solid #d6e4ed;
        border-radius: 0;
        background: rgba(247, 252, 255, 0.86);
        box-shadow: none;
        color: #171513;
        font-size: 0.66rem;
        font-weight: 850;
        line-height: 1.1;
        transform: none;
    }

    .site-header-shell .news-category-bar__arrow--next:disabled {
        opacity: 0.45;
        cursor: default;
    }

    .site-header-shell .news-category-bar__arrow--next .news-category-bar__more-icon {
        display: block;
    }

    .site-header-shell .news-category-bar__arrow--next .news-category-bar__more-label,
    .site-header-shell .news-category-bar__arrow--next .news-category-bar__more-caret {
        display: none;
    }

    .site-header-shell .news-category-bar__arrow--next::before {
        content: none;
    }

    .site-header-shell .news-category-bar__more-icon {
        width: 1.35rem;
        height: 1.35rem;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpath d='M5 7h14M5 12h14M5 17h14'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpath d='M5 7h14M5 12h14M5 17h14'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .site-header-shell .news-category-bar__more-caret {
        width: 0.82rem;
        height: 0.82rem;
        flex-basis: 0.82rem;
        margin-top: -0.12rem;
    }

    .site-header-shell .news-category-bar__viewport {
        min-height: 64px;
        overflow: hidden;
        padding: 0 0.2rem 0 0.35rem;
        scrollbar-width: none;
    }

    .site-header-shell .news-category-bar__viewport::-webkit-scrollbar {
        display: none;
    }

    .site-header-shell .news-category-bar__track {
        display: flex;
        align-items: stretch;
        gap: 0;
        width: 100%;
        min-width: 100%;
        height: auto;
        padding: 0;
        white-space: nowrap;
    }

    .site-header-shell .news-category-bar__item {
        display: grid;
        justify-items: center;
        align-content: center;
        gap: 0.34rem;
        flex: 0 0 20%;
        width: 20%;
        min-width: 0;
        min-height: 64px;
        padding: 0 0.18rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #171513;
        font-size: 0.58rem;
        font-weight: 800;
        line-height: 1.1;
        text-align: center;
        transform: none;
        white-space: normal;
    }

    .site-header-shell .news-category-bar__item.is-in-more {
        display: none;
    }

    .site-header-shell .news-category-bar__item-label {
        display: -webkit-box;
        max-width: 100%;
        overflow: hidden;
        text-overflow: clip;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .site-header-shell .news-category-bar__item-icon {
        width: 1.18rem;
        height: 1.18rem;
        color: #171513;
        opacity: 1;
    }

    .site-header-shell .news-category-bar__more-menu {
        position: absolute;
        z-index: 80;
        top: calc(100% - 0.3rem);
        right: 0.55rem;
        left: 0.55rem;
        width: auto;
        max-height: min(24rem, calc(100vh - 12rem));
        overflow-y: auto;
        padding: 0.62rem;
        border: 1px solid #e6e2dc;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 18px 38px rgba(23, 19, 15, 0.16);
    }

    .site-header-shell .news-category-bar__more-menu[hidden] {
        display: none;
    }

    .site-header-shell .news-category-bar__more-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.18rem 0.32rem;
    }

    .site-header-shell .news-category-bar__more-item {
        display: inline-flex;
        align-items: center;
        flex: 1 1 auto;
        gap: 0.5rem;
        width: auto;
        min-width: 0;
        min-height: 2.35rem;
        padding: 0.42rem 0.45rem;
        border-radius: 5px;
        color: #171513;
        font-size: 0.72rem;
        font-weight: 850;
        line-height: 1.12;
        text-decoration: none;
        text-align: left;
        white-space: normal;
    }

    .site-header-shell .news-category-bar__more-item .news-category-bar__item-icon {
        flex: 0 0 1.2rem;
        width: 1.2rem;
        height: 1.2rem;
    }

    .site-header-shell .news-category-bar__more-item .news-category-bar__item-label {
        display: block;
        max-width: 100%;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        -webkit-line-clamp: unset;
    }

    .site-header-shell .recommended-events-bar,
    .site-header-shell .read-also-ticker {
        overflow: hidden;
        border-bottom: 1px solid #ece8e2;
        background: #fff;
    }

    .site-header-shell .recommended-events-bar {
        order: 3;
    }

    .site-header-shell .read-also-ticker {
        order: 2;
    }

    .site-header-shell .recommended-events-bar__inner,
    .site-header-shell .read-also-ticker__inner {
        min-height: 72px;
        padding: 0.58rem 0.75rem;
        background: #fff;
    }

    .site-header-shell .recommended-events-bar__label,
    .site-header-shell .read-also-ticker__label {
        display: none;
    }

    .site-header-shell .recommended-events-bar__viewport,
    .site-header-shell .read-also-ticker__viewport {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

    .site-header-shell .recommended-events-bar__viewport::-webkit-scrollbar,
    .site-header-shell .read-also-ticker__viewport::-webkit-scrollbar {
        display: none;
    }

    .site-header-shell .recommended-events-bar__track,
    .site-header-shell .read-also-ticker__track {
        display: flex;
        width: max-content;
        min-width: max-content;
    }

    .site-header-shell .recommended-events-bar__track {
        gap: 0.48rem;
        animation: none;
        transform: none !important;
    }

    .site-header-shell .read-also-ticker__track {
        gap: 0;
        animation: read-also-ticker-scroll-left var(--read-also-ticker-duration, 110s) linear infinite;
        transform: none;
    }

    .site-header-shell .recommended-events-bar__item {
        display: inline-flex;
        align-items: center;
        gap: 0.48rem;
        width: calc((100vw - 2.15rem) / 2);
        min-width: calc((100vw - 2.15rem) / 2);
        max-width: 12rem;
        min-height: 3.72rem;
        padding: 0.42rem 0.48rem;
        border: 1px solid #ece8e2;
        border-radius: 8px;
        background: #f8f8f8;
        color: #171513;
        box-shadow: 0 8px 18px rgba(23, 19, 15, 0.05);
        font-size: 0.84rem;
        font-weight: 900;
        line-height: 1.2;
        text-decoration: none;
    }

    .site-header-shell .recommended-events-bar__inner {
        min-height: 42px;
        padding: 0 0.38rem;
        background: #fff;
    }

    .site-header-shell .recommended-events-bar__label {
        display: inline-flex;
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        overflow: visible;
        margin-right: 0.22rem;
        padding: 0;
        background: transparent;
        box-shadow: none;
        color: #171513;
        font-size: 0.66rem;
        font-weight: 950;
        letter-spacing: 0;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .site-header-shell .recommended-events-bar__label::after {
        content: none;
    }

    .site-header-shell .recommended-events-bar__track {
        gap: 0;
    }

    .site-header-shell .recommended-events-bar__item {
        gap: 0.28rem;
        width: auto;
        min-width: 0;
        max-width: none;
        min-height: 42px;
        padding: 0 0.34rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-size: 0.68rem;
        font-weight: 900;
        line-height: 1;
        white-space: nowrap;
    }

    .site-header-shell .recommended-events-bar__thumb {
        display: none;
        flex: 0 0 3.15rem;
        width: 3.15rem;
        height: 2.75rem;
        overflow: hidden;
        border: 1px solid #f0d6c7;
        border-radius: 6px;
        background:
            linear-gradient(135deg, rgba(201, 95, 19, 0.1), rgba(23, 19, 15, 0.04)),
            #fff;
    }

    .site-header-shell .recommended-events-bar__thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .site-header-shell .recommended-events-bar__title {
        display: inline-block;
        flex: 0 1 auto;
        min-width: 0;
        max-width: 5.45rem;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .site-header-shell .recommended-events-bar__date {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 2rem;
        min-height: 1.38rem;
        padding: 0 0.16rem;
        border: 1px solid #f0d6c7;
        border-radius: 3px;
        background: #fffaf7;
        color: #c85c17;
        font-size: 0.62rem;
        font-weight: 950;
    }

    .site-header-shell .recommended-events-bar__city {
        display: inline-block;
        max-width: 4.2rem;
        overflow: hidden;
        color: #8a837b;
        font-size: 0.58rem;
        font-weight: 760;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-header-shell .recommended-events-bar__more,
    .site-header-shell .read-also-ticker__category {
        display: none;
    }

    .site-header-shell .recommended-events-bar__more {
        display: inline-flex;
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        gap: 0;
        margin-left: 0;
        margin-right: -0.38rem;
        padding-right: 0.42rem;
        padding-left: 0.42rem;
        color: #c85c17;
        font-size: 0.62rem;
        font-weight: 950;
        text-decoration: none;
        white-space: nowrap;
    }

    .site-header-shell .recommended-events-bar__more span {
        display: none;
    }

    .site-header-shell .read-also-ticker {
        background: #fbf8f4;
    }

    .site-header-shell .read-also-ticker__inner {
        min-height: 42px;
        padding: 0;
        background: #fbf8f4;
    }

    .site-header-shell .read-also-ticker__viewport {
        overflow: hidden;
    }

    .site-header-shell .read-also-ticker__viewport::before,
    .site-header-shell .read-also-ticker__viewport::after {
        display: block;
        width: 1.4rem;
    }

    .site-header-shell .read-also-ticker__viewport::before {
        background: linear-gradient(90deg, #fbf8f4, rgba(251, 248, 244, 0));
    }

    .site-header-shell .read-also-ticker__viewport::after {
        background: linear-gradient(270deg, #fbf8f4, rgba(251, 248, 244, 0));
    }

    .site-header-shell .read-also-ticker__group {
        gap: 0;
        padding-right: 0;
    }

    .site-header-shell .read-also-ticker__item {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        min-height: 42px;
        padding: 0 0.9rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #171513;
        font-size: 0.78rem;
        font-weight: 850;
        line-height: 42px;
        text-decoration: none;
    }

    .site-header-shell .read-also-ticker__item::after {
        display: block;
        right: -0.05rem;
        width: 0.22rem;
        height: 0.22rem;
        background: #c85c17;
    }

    .site-header-shell .read-also-ticker__title {
        display: inline-block;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-header-shell .navbar-jelonka__mobile-menu,
    .site-header-shell .news-category-bar {
        display: none !important;
    }
}

/* Link panel: compact editorial lists for full, half and quarter CMS slots. */
.home-page > .cms-link-panel--full {
    grid-column: 1 / -1;
}

.home-page > .cms-link-panel--half {
    grid-column: span 2;
}

.home-page > .cms-link-panel--quarter {
    grid-column: span 1;
}

.cms-link-panel .cms-link-panel__inner,
.home-page > .cms-link-panel .cms-link-panel__inner {
    display: block;
    overflow: hidden;
    padding: 1rem 1.05rem 0.88rem;
    border: 1px solid rgba(26, 37, 45, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(24, 33, 47, 0.07);
}

.cms-link-panel__header {
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    min-width: 0;
    padding-bottom: 0.42rem;
    border-bottom: 2px solid rgba(26, 37, 45, 0.34);
}

.cms-link-panel__header h2 {
    margin: 0;
    min-width: 0;
    color: var(--portal-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.93rem !important;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cms-link-panel__note {
    min-width: 0;
    padding-bottom: 0.06rem;
    color: #b45a13;
    font-size: 0.78rem;
    font-weight: 760;
    line-height: 1.1;
    white-space: nowrap;
}

.jelonka-link-panel__mascot {
    flex: 0 0 auto;
    width: 1.75rem;
    animation-name: jelonka-link-panel-mascot-idle;
}

.cms-link-panel__links,
.home-page > .cms-link-panel .cms-link-panel__links {
    display: grid;
    gap: 0.18rem 1.15rem;
    margin-top: 0.72rem;
    grid-template-columns: 1fr;
}

.cms-link-panel__sections {
    display: grid;
    gap: 1rem 1.25rem;
    margin-top: 0.88rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.cms-link-panel--quarter .cms-link-panel__sections {
    grid-template-columns: 1fr;
}

.cms-link-panel__section {
    min-width: 0;
}

.cms-link-panel__section-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    padding-bottom: 0.32rem;
    border-bottom: 1px solid rgba(26, 37, 45, 0.18);
}

.cms-link-panel__section-icon {
    flex: 0 0 auto;
    width: 1.55rem;
    height: 1.55rem;
    object-fit: contain;
}

.cms-link-panel__section-header h3 {
    margin: 0;
    min-width: 0;
    color: var(--portal-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.93rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cms-link-panel__section-header span {
    color: #b45a13;
    font-size: 0.76rem;
    font-weight: 760;
    line-height: 1.1;
    white-space: nowrap;
}

.cms-link-panel--full .cms-link-panel__links,
.home-page > .cms-link-panel--full .cms-link-panel__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cms-link-panel--half .cms-link-panel__links,
.home-page > .cms-link-panel--half .cms-link-panel__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-link-panel--quarter .cms-link-panel__links,
.home-page > .cms-link-panel--quarter .cms-link-panel__links {
    grid-template-columns: 1fr;
}

.cms-link-panel__section .cms-link-panel__links,
.home-page > .cms-link-panel .cms-link-panel__section .cms-link-panel__links {
    grid-template-columns: 1fr;
}

.cms-link-panel__link,
.home-page > .cms-link-panel .cms-link-panel__link {
    position: relative;
    display: block;
    min-height: 1.32rem;
    padding-left: 0.58rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #075f9f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.93rem;
    font-weight: 760;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: none;
}

.cms-link-panel__link::before {
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.cms-link-panel__link span {
    display: inline;
}

.cms-link-panel__link:hover,
.cms-link-panel__link:focus-visible {
    color: #004d83;
    text-decoration: underline;
    outline: 0;
}

.cms-link-panel__footer {
    margin-top: 0.7rem;
    padding-top: 0.58rem;
    border-top: 1px dotted rgba(26, 37, 45, 0.32);
}

.cms-link-panel__more {
    color: #b10000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.93rem;
    font-weight: 850;
    line-height: 1.25;
    text-decoration: none;
}

.cms-link-panel__more:hover,
.cms-link-panel__more:focus-visible {
    color: #8f0000;
    text-decoration: underline;
    outline: 0;
}

@keyframes jelonka-link-panel-mascot-idle {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    45% {
        transform: rotate(4deg) scale(1.03);
    }
}

@media (max-width: 991.98px) {
    .cms-link-panel--full .cms-link-panel__links,
    .home-page > .cms-link-panel--full .cms-link-panel__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .home-page > .cms-link-panel--full,
    .home-page > .cms-link-panel--half,
    .home-page > .cms-link-panel--quarter {
        grid-column: 1 / -1;
    }

    .cms-link-panel--full .cms-link-panel__links,
    .cms-link-panel--half .cms-link-panel__links,
    .home-page > .cms-link-panel--full .cms-link-panel__links,
    .home-page > .cms-link-panel--half .cms-link-panel__links {
        grid-template-columns: 1fr;
    }

    .cms-link-panel__header h2 {
        font-size: 0.93rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jelonka-link-panel__mascot {
        animation: none;
    }
}

/* Home ad slots: keep CMS embed styles visually distinct. */
.home-page > .ad-slot-shell {
    --home-ad-shell-footprint: "rozmiar tagu";
}

.home-page > .ad-slot-shell--content-band {
    --home-ad-shell-footprint: "970 x 250 px";
    grid-column: 1 / -1;
}

.home-page > .ad-slot-shell--split {
    --home-ad-shell-footprint: "336 x 280 px";
    grid-column: span 1;
    align-self: start;
}

.home-page > .ad-slot-shell--desktop-rail {
    --home-ad-shell-footprint: "300 x 600 px";
    grid-column: span 1;
    align-self: start;
}

.home-page > .ad-slot-shell:not(.ad-slot-shell--content-band):not(.ad-slot-shell--split):not(.ad-slot-shell--desktop-rail) {
    grid-column: 1 / -1;
}

.home-page > .ad-slot-shell .ad-slot {
    width: min(100%, calc(var(--slot-width) * 1px));
    min-height: 0;
}

.home-page > .ad-slot-shell .ad-slot__frame {
    height: auto !important;
    aspect-ratio: var(--slot-width) / var(--slot-height) !important;
    border-radius: var(--portal-radius);
    background: #f0efeb;
    box-shadow: none;
}

.home-page > .ad-slot-shell--content-band .ad-slot {
    width: min(100%, calc(var(--slot-width) * 1px));
}

.home-page > .ad-slot-shell--split .ad-slot,
.home-page > .ad-slot-shell--desktop-rail .ad-slot {
    width: min(100%, calc(var(--slot-width) * 1px));
}

.home-page > .ad-slot-shell .ad-slot__placeholder {
    border: 1px dashed rgba(26, 37, 45, 0.24);
}

.home-page > .ad-slot-shell .ad-slot__placeholder-label::after {
    content: var(--home-ad-shell-footprint);
    font-size: 1rem;
}

.home-page > .ad-slot-shell.ad-slot-shell--content-band .ad-slot .ad-slot__placeholder-label::after,
.home-page > .ad-slot-shell.ad-slot-shell--split .ad-slot .ad-slot__placeholder-label::after,
.home-page > .ad-slot-shell.ad-slot-shell--desktop-rail .ad-slot .ad-slot__placeholder-label::after {
    content: var(--home-ad-shell-footprint);
}

@media (max-width: 767.98px) {
    .home-page > .ad-slot-shell--content-band,
    .home-page > .ad-slot-shell--split,
    .home-page > .ad-slot-shell--desktop-rail {
        grid-column: 1 / -1;
    }
}
