:root {
    --brand: #2388d5;
    --brand-dark: #1a6fad;
    --brand-light: #e8f4fd;
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --text: #1a1a1a;
    --text-muted: #767676;
    --accent: #2388d5;
    --border: #e8e8e8;
    --card-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --font-serif: 'Roboto', system-ui, sans-serif;
    --font-sans: 'Roboto', system-ui, sans-serif;
    --site-width: 90%;
    --header-height: 60px;
    --news-top-height: clamp(400px, 38vw, 560px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    font-size: 17px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: min(var(--site-width), 100%);
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(12px, 2vw, 20px);
}

.container--article {
    width: var(--site-width);
}

/* ===== HEADER ===== */
.site-header {
    background: var(--brand);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 200;
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    gap: 16px;
    min-height: var(--header-height);
    padding: 10px 0;
    width: 87.6%;
    height: 90px;
}

.site-logo {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

.site-logo__badge {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    padding: 5px 12px 5px 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.site-logo__img {
    display: block;
    height: 42px;
    width: auto;
    max-width: min(260px, 32vw);
    object-fit: contain;
}

.header-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.header-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.header-pill:hover,
.header-pill.is-active {
    background: rgba(255, 255, 255, 0.15);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 2px;
}

.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    opacity: 0.92;
    transition: opacity 0.15s ease;
}

.header-publish {
    display: inline-flex;
    align-items: center;
    padding: 11px 18px;
    border-radius: 999px;
    border: none;
    background: #e53935;
    color: #fff;
    font-size: .8125rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 10px rgba(229, 57, 53, 0.45);
}

.header-publish:hover {
    background: #c62828;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.5);
}

.header-publish__short {
    display: none;
}

.header-account {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    opacity: 0.92;
}

.header-account:hover { opacity: 1; }


.header-icon--btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle { display: none; }

/* Горизонтальна смуга рубрик (мобільна / планшет) */
.header-rubrics-bar {
    display: none;
    background: var(--brand-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0;
}

.header-rubrics-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0 12px;
}

.header-rubrics-scroll::-webkit-scrollbar { display: none; }

.header-rubric-chip {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.header-rubric-chip.is-active,
.header-rubric-chip:active {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* Animated hamburger */
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer[hidden] { display: none; }

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    justify-content: flex-end;
}

.mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    cursor: pointer;
    animation: fadeIn 0.25s ease;
}

.mobile-drawer__panel {
    position: relative;
    width: min(320px, 88vw);
    height: 100%;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0);
    animation: slideIn 0.28s ease;
}

.mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--brand);
    color: #fff;
}

.mobile-drawer__head strong {
    font-size: 1rem;
}

.mobile-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -8px -8px -8px 0;
    border: none;
    background: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
}

.mobile-drawer__close:active {
    background: rgba(255, 255, 255, 0.15);
}

.mobile-drawer__nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.mobile-drawer__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    min-height: 48px;
}

.mobile-drawer__link:active {
    background: var(--bg-alt);
}

.mobile-drawer__icon {
    font-size: 1.25rem;
    width: 28px;
    text-align: center;
}

.mobile-drawer__sep {
    border: none;
    border-top: 1px solid var(--border);
    margin: 8px 20px;
}

.mobile-drawer__social {
    display: flex;
    gap: 16px;
    padding: 16px 20px 24px;
    border-top: 1px solid var(--border);
}

.mobile-drawer__social a {
    font-size: .875rem;
    font-weight: 600;
    color: var(--brand);
}

body.menu-open {
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.mobile-nav {
    display: none;
}

.search-panel {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.search-panel[hidden] { display: none; }

.search-panel__inner {
    padding: 14px 0;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font: inherit;
}

.search-form button {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 10px 20px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.search-form button:hover { background: var(--brand-dark); }

/* ===== NEWS HOMEPAGE ===== */
.news-block {
    padding: 28px 0 36px;
}

.news-block--featured {
    padding-top: 24px;
}

.news-block--alt,
.news-block--rubrics,
.news-block--category {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.news-block__cat-icon {
    margin-right: 6px;
}

.news-block__title {
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text);
}

.news-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.news-block__head .news-block__title {
    margin-bottom: 0;
}

.news-block__more {
    color: var(--brand);
    font-size: .9375rem;
    font-weight: 600;
    white-space: nowrap;
}

.news-block__more:hover { text-decoration: underline; }

/* Hero + 4 mini (2×2) — одна висота, без прогалин */
.news-top {
    display: grid;
    grid-template-columns: 1.58fr 1fr;
    gap: 14px;
    height: var(--news-top-height);
    margin-bottom: 32px;
}

.news-top__hero,
.news-top__quad {
    min-height: 0;
    height: 100%;
}

.news-top__quad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

.news-top__hero .news-hero {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    background: #111;
}

.news-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 42%, transparent 70%);
    color: #fff;
}

.news-hero__title {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.28;
    margin-bottom: 10px;
}

.news-hero__time {
    font-size: .875rem;
    opacity: 0.85;
}

.news-mini {
    position: relative;
    display: block;
    height: 100%;
    min-height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #111;
}

.news-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-mini__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
    color: #fff;
}

.news-mini__title {
    font-size: clamp(0.8125rem, 1.1vw, 1rem);
    font-weight: 700;
    line-height: 1.32;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-mini__time {
    font-size: .75rem;
    opacity: 0.82;
}

.news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-grid-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.38;
    margin-bottom: 8px;
    transition: color 0.15s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid-card__time {
    font-size: .8125rem;
    color: var(--text-muted);
}

.news-tag {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-grid-card {
    display: block;
}

.news-grid-card:hover .news-grid-card__title {
    color: var(--brand);
}

.news-grid-card__image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 10px;
    background: #eee;
}

.news-grid-card__image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-grid-card__avatar {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.news-grid-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-tag {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 1px 8px;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.news-grid-card__title {
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    transition: color 0.15s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid-card__time {
    font-size: .6875rem;
    color: var(--text-muted);
}

.rubric-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rubric-chip {
    display: inline-flex;
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.rubric-chip:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* Legacy section / grid aliases for inner pages */
.section { padding: 32px 0 40px; }
.section--alt { background: var(--bg-alt); }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-link {
    color: var(--brand);
    font-weight: 600;
    font-size: .875rem;
}

.section-link:hover { text-decoration: underline; }

.articles-grid,
.articles-grid--4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.badge {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

/* Article page */
.article-page { padding-bottom: 24px; }

.breadcrumb {
    padding: 16px 0 0;
    font-size: .875rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb a:hover { color: var(--brand); }

.article-header { padding: 16px 0 24px; }

.article-header h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 900;
    line-height: 1.2;
    margin: 12px 0;
}

.article-excerpt {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-muted);
    line-height: 1.6;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 16px;
    font-size: .875rem;
    color: var(--text-muted);
}

.author { font-weight: 600; color: var(--text); }
.author a { color: var(--brand); }
.author a:hover { text-decoration: underline; }

.updated-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: .8rem;
    font-weight: 600;
}

.reading-time { font-weight: 500; }

/* Author page */
.author-page { padding: 40px 0; background: var(--bg-alt); }

.author-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.author-photo img {
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    width: 100%;
}

.author-info h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.author-role {
    color: var(--brand);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
}

.author-bio p {
    margin-bottom: 1em;
    line-height: 1.7;
    color: var(--text-muted);
}

.author-lead {
    font-size: 1.0625rem;
    color: var(--text) !important;
}

.author-subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 1.5em 0 0.75em;
    color: var(--text);
}

.author-activities {
    margin: 0 0 1.25em 1.25em;
    padding: 0;
    line-height: 1.8;
    color: var(--text-muted);
}

.author-activities li { margin-bottom: 0.35em; }

.author-stats {
    margin-top: 20px;
    font-weight: 600;
    color: var(--text);
}

@media (max-width: 768px) {
    .author-profile { grid-template-columns: 1fr; }
    .author-photo { max-width: 200px; }
}

.article-hero-image {
    width: 100%;
    margin: 0 0 28px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #111;
    box-shadow: var(--card-shadow);
}

.article-hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: contain;
    object-position: center;
}

.article-hero-image figcaption {
    font-size: .75rem;
    color: var(--text-muted);
    padding: 10px 16px;
    text-align: center;
    background: var(--bg-alt);
}

.article-content {
    width: 100%;
    max-width: none;
    font-size: clamp(1.0625rem, 1.8vw, 1.125rem);
    line-height: 1.75;
}

.article-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.25em 0;
}

.article-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 1.75em 0 0.75em;
}

.article-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 1.5em 0 0.5em;
}

.article-content p { margin-bottom: 1.1em; }

.article-content ul,
.article-content ol {
    margin: 0 0 1.1em 1.25em;
}

.article-content blockquote {
    border-left: 4px solid var(--brand);
    padding: 12px 20px;
    margin: 1.5em 0;
    background: var(--bg-alt);
    font-style: italic;
}

.article-content a {
    color: var(--brand);
    text-decoration: underline;
}

.opinion-block {
    background: var(--bg-alt);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin: 2em 0;
}

.opinion-block h3 {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 10px;
    color: var(--brand);
}

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

.source-block {
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid var(--border);
    font-size: .875rem;
    color: var(--text-muted);
}

.source-block strong { color: var(--text); }

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.article-tags a,
.article-tags span {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.article-tags a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.related-articles { padding: 32px 0 48px; background: var(--bg-alt); }

.category-header {
    padding: 28px 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.category-header h1 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-header p {
    color: var(--text-muted);
    margin-top: 6px;
    font-size: .9375rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pagination__link,
.pagination__current,
.pagination__nav,
.pagination__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 600;
}

.pagination__link,
.pagination__nav {
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
}

.pagination__link:hover,
.pagination__nav:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.pagination__current {
    background: var(--brand);
    color: #fff;
    border: 1px solid var(--brand);
}

.pagination__nav--disabled {
    border: 1px solid var(--border);
    color: var(--text-muted);
    opacity: 0.45;
    cursor: default;
}

.pagination__info {
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    min-width: auto;
    padding: 0 4px;
}

/* Homepage layout + sidebar */
.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 80%) minmax(0, 20%);
    gap: clamp(20px, 2.5vw, 32px);
    align-items: start;
    padding-top: 24px;
    padding-bottom: 48px;
}

.home-page__section-title {
    margin-bottom: 20px;
}

.author-cta-banner {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 28px;
    box-shadow: 0 8px 28px rgba(15, 26, 46, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.author-cta-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(15, 26, 46, 0.24);
}

.author-cta-banner__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    border-radius: inherit;
}

.home-layout__main {
    min-width: 0;
}

.home-layout__main .news-block {
    padding-left: 0;
    padding-right: 0;
}

.home-layout__main .news-block--featured {
    padding-top: 0;
    padding-bottom: 28px;
}

.home-layout__main .news-block--category,
.home-layout__main .news-block--alt {
    margin-left: calc(-1 * clamp(12px, 2vw, 20px));
    margin-right: calc(-1 * clamp(12px, 2vw, 20px));
    padding-left: clamp(12px, 2vw, 20px);
    padding-right: clamp(12px, 2vw, 20px);
}

.home-sidebar {
    position: sticky;
    top: 99px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-block {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 16px;
}

.sidebar-block__title {
    font-size: .8125rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: var(--text);
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-side {
    display: grid;
    grid-template-columns: 1fr 72px;
    gap: 10px;
    align-items: start;
}

.news-side:hover .news-side__title {
    color: var(--brand);
}

.news-side__body {
    min-width: 0;
}

.news-side__title {
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.news-side__time {
    font-size: .75rem;
    color: var(--text-muted);
}

.news-side__image {
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eee;
}

.news-side__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: #111;
    color: #fff;
    padding: 16px 0;
    transform: translateY(110%);
    transition: transform 0.25s ease;
}

html.show-cookie-banner .cookie-banner {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner__title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #fff;
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    max-width: 52rem;
    color: rgba(255, 255, 255, 0.78);
}

.cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    border: none;
    border-radius: var(--radius);
    padding: 10px 20px;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.cookie-banner__btn--accept {
    background: var(--brand);
    color: #fff;
}

.cookie-banner__btn--accept:hover {
    background: var(--brand-dark);
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #fff;
    padding: 40px 0 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-brand strong {
    font-size: 1.125rem;
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: .875rem;
    opacity: .75;
    line-height: 1.6;
}

.footer-links h3 {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
    opacity: .6;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 8px; }

.footer-links a {
    font-size: .875rem;
    opacity: .85;
    transition: opacity .2s;
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    text-align: center;
    font-size: .8rem;
    opacity: .6;
}

.footer-bottom a {
    margin-left: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.error-page, .empty-state {
    text-align: center;
    padding: 80px 20px;
}

.error-page h1 { font-size: 4rem; margin-bottom: 16px; font-weight: 900; }

/* Static pages */
.static-page-header {
    padding: 36px 0 20px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.static-page-header h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.static-page { padding: 40px 0 56px; }

.static-content { max-width: 720px; }

.static-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 28px 0 10px;
}

.static-content p,
.static-content li {
    line-height: 1.7;
    color: var(--text-muted);
}

.static-lead {
    font-size: 1.0625rem;
    color: var(--text);
    margin-bottom: 1em;
}

.static-content ul { margin: 0 0 1em 1.25em; }

.contact-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 28px;
}

.contact-card h2 { margin-top: 0; }

.contact-links { list-style: none; margin-left: 0 !important; padding: 0; }
.contact-links li { margin-bottom: 8px; }

.contact-note {
    margin-top: 28px;
    font-size: .9375rem;
    font-style: italic;
}

.container--narrow {
    max-width: 820px;
}

.container--publish {
    max-width: 1040px;
}

.static-page--publish {
    padding: 36px 0 64px;
}

.static-page--publish .publish-editor {
    min-height: 420px;
}

.static-page--publish .publish-editor .ql-editor {
    min-height: 360px;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.static-page__head {
    margin-bottom: 28px;
}

.static-page__head h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 900;
    margin: 12px 0 10px;
}

.static-page__lead {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.static-page__lead a {
    color: var(--brand);
    text-decoration: underline;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="password"],
.form-field input[type="number"],
.form-field input[type="file"],
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.form-field input:focus {
    outline: 2px solid var(--brand-light);
    border-color: var(--brand);
}

.form-hint {
    margin-top: 6px;
    font-size: .8125rem;
    color: var(--text-muted);
}

.form-hint.is-valid { color: #0a7a4b; }
.form-hint.is-invalid { color: #c0392b; font-weight: 600; }

.publish-banner-preview {
    margin-bottom: 24px;
}

.publish-banner-preview__mock {
    position: relative;
    aspect-ratio: 1200 / 630;
    max-height: 220px;
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    color: #fff;
    background:
        linear-gradient(145deg, #f4845f 0%, #c94d32 38%, #0f1a2e 100%);
    box-shadow: 0 12px 32px rgba(15, 26, 46, 0.18);
}

.publish-banner-preview__mock::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 18%, rgba(255,255,255,.35), transparent 42%),
        linear-gradient(115deg, transparent 58%, rgba(255,255,255,.12) 58%, rgba(255,255,255,.12) 68%, transparent 68%);
    pointer-events: none;
}

.publish-banner-preview__mock::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #ffb08a;
}

.publish-banner-preview__badge,
.publish-banner-preview__title,
.publish-banner-preview__site {
    position: relative;
    z-index: 1;
}

.publish-banner-preview__badge {
    align-self: flex-start;
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
}

.publish-banner-preview__title {
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    font-weight: 900;
    line-height: 1.2;
    max-width: 92%;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.publish-banner-preview__site {
    font-size: .75rem;
    opacity: .82;
}

.publish-banner-preview .form-hint {
    margin-top: 10px;
}

.form-fieldset {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 16px 6px;
    margin-bottom: 20px;
}

.form-fieldset legend {
    padding: 0 8px;
    font-size: .875rem;
    font-weight: 700;
}

.form-fieldset--agreements {
    background: var(--bg-alt);
}

.form-hint--agreements {
    margin-bottom: 14px;
}

.agreement-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.agreement-list__item {
    margin: 0;
}

.agreement-list__label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: .875rem;
    line-height: 1.55;
}

.agreement-list__checkbox {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--brand);
}

.agreement-list__text a {
    color: var(--brand);
    text-decoration: underline;
}

.auth-mode {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.auth-mode__option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9375rem;
    cursor: pointer;
}

.form-note {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: .9375rem;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--radius);
    font-size: .9375rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background: var(--brand);
    color: #fff;
}

.btn--primary:hover { background: var(--brand-dark); }

.btn--ghost {
    border-color: var(--border);
    color: var(--text);
    background: #fff;
}

.btn--ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.form-alert {
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: .9375rem;
}

.form-alert--error {
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #8a1f17;
}

.form-alert--success {
    background: #e8f8ef;
    border: 1px solid #b7e4c7;
    color: #0a5c36;
}

.form-footer-note {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: .9375rem;
}

.publish-editor {
    min-height: 280px;
    background: #fff;
}

.publish-editor .ql-editor {
    min-height: 240px;
    font-size: 1rem;
    line-height: 1.65;
}

.publish-editor .ql-toolbar.ql-snow {
    border-radius: var(--radius) var(--radius) 0 0;
}

.publish-editor .ql-container.ql-snow {
    border-radius: 0 0 var(--radius) var(--radius);
}

.cabinet-head {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

.cabinet-head__photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
    background: var(--bg-alt);
}

.cabinet-head__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cabinet-head h1 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.cabinet-head__email,
.cabinet-head__role {
    color: var(--text-muted);
    font-size: .9375rem;
}

.cabinet-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.cabinet-stat {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.cabinet-stat strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 4px;
}

.cabinet-stat span {
    font-size: .8125rem;
    color: var(--text-muted);
}

.cabinet-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cabinet-table-wrap {
    overflow-x: auto;
}

.cabinet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}

.cabinet-table th,
.cabinet-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.cabinet-table th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.cabinet-table a:hover {
    color: var(--brand);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--status-color, #2388d5);
    background: color-mix(in srgb, var(--status-color, #2388d5) 12%, white);
}

/* Admin panel */
.admin-body {
    background: #eef1f5;
    min-height: 100vh;
}

.admin-topbar {
    background: #0f172a;
    color: #fff;
    padding: 14px 0;
}

.admin-topbar__inner {
    width: min(1200px, 94%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: .875rem;
}

.admin-nav a {
    color: rgba(255, 255, 255, .85);
}

.admin-nav a:hover,
.admin-nav a.is-active {
    color: #fff;
}

.admin-main {
    width: min(1200px, 94%);
    margin: 0 auto;
    padding: 28px 0 48px;
}

.admin-page__head {
    margin-bottom: 20px;
}

.admin-page__head h1 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.admin-page__head p,
.admin-meta {
    color: var(--text-muted);
    font-size: .9375rem;
}

.admin-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.admin-page--narrow {
    max-width: 900px;
}

.admin-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-filters input,
.admin-filters select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    font: inherit;
}

.admin-table-wrap,
.admin-table {
    width: 100%;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.admin-table {
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
    font-size: .9375rem;
}

.admin-table th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    background: var(--bg-alt);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.admin-card h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.admin-form,
.admin-action-grid,
.admin-danger-zone {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.admin-textarea {
    font-family: Consolas, monospace;
    font-size: .875rem;
}

.admin-action-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-danger-zone h2 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.admin-inline-form {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 8px 8px 0;
}

.admin-inline-form input[type="text"] {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 10px;
    font: inherit;
}

.admin-actions-cell {
    white-space: nowrap;
}

.admin-subsection {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.admin-subsection h2 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.admin-ip-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn--danger {
    background: #c0392b;
    color: #fff;
}

.btn--danger:hover {
    background: #962d22;
}

.btn--sm {
    min-height: 34px;
    padding: 0 12px;
    font-size: .8125rem;
}

@media (max-width: 900px) {
    .admin-filters {
        grid-template-columns: 1fr;
    }
}



/* Responsive */
@media (max-width: 1200px) {
    .header-pills {
        gap: 4px;
    }

    .header-pill {
        padding: 6px 11px;
        font-size: .625rem;
    }
}

@media (max-width: 1100px) {
    .news-grid-4,
    .articles-grid,
    .articles-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .home-layout__main .news-block--category,
    .home-layout__main .news-block--alt {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 900px) {
    :root {
        --site-width: 94%;
        --news-top-height: auto;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        gap: 17px;
        padding: 0;
    }

    .header-pills { display: none; }

    .header-rubrics-bar { display: none; }

    .header-rubrics-scroll.container {
        width: 100%;
        max-width: none;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .nav-toggle { display: inline-flex; }

    .header-social { display: none; }

    .header-publish {
        display: inline-flex;
        padding: 0 16px;
        font-size: 1.0625rem;
        font-weight: 800;
        letter-spacing: 0.01em;
        min-height: 37px;
        box-shadow: 0 3px 12px rgba(229, 57, 53, 0.5);
    }

    .header-publish__long {
        display: none;
    }

    .header-publish__short {
        display: inline;
    }

    .header-account {
        display: none;
    }

    .header-search-btn {
        display: none;
    }

    .header-icon {
        width: 44px;
        height: 44px;
    }

    .news-top {
        grid-template-columns: 1fr;
        height: auto;
        gap: 12px;
        margin-bottom: 24px;
    }

    .news-top__hero .news-hero {
        min-height: 0;
        aspect-ratio: 16 / 10;
        max-height: 52vh;
    }

    .news-top__quad {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 10px;
        min-height: 0;
        height: auto;
    }

    .news-mini {
        min-height: 140px;
        aspect-ratio: auto;
    }

    .news-mini__title {
        font-size: .8125rem;
        -webkit-line-clamp: 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root { --site-width: 100%; }

    body { font-size: 16px; }

    .container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .site-logo__badge {
        padding: 4px 10px 4px 6px;
    }

    .site-logo__img {
        height: 36px;
        max-width: min(240px, 58vw);
    }

    .header-tools {
        gap: 10px;
    }

    .news-block {
        padding: 20px 0 28px;
    }

    .news-block__title {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .home-sidebar {
        grid-template-columns: 1fr;
    }

    .cabinet-stats {
        grid-template-columns: 1fr;
    }

    .cabinet-table th:nth-child(2),
    .cabinet-table td:nth-child(2) {
        display: none;
    }

    .news-hero__overlay {
        padding: 18px 16px;
    }

    .news-hero__title {
        font-size: 1.25rem;
    }

    /* Список новин — горизонтальні рядки */
    .news-list.news-grid-4,
    .news-list.articles-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .news-list .news-grid-card {
        display: grid;
        grid-template-columns: 112px 1fr;
        grid-template-rows: auto auto auto;
        gap: 4px 14px;
        align-items: start;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

    .news-list .news-grid-card:last-child {
        border-bottom: none;
    }

    .news-list .news-grid-card__image {
        grid-row: 1 / 4;
        grid-column: 1;
        aspect-ratio: 1;
        margin: 0;
        border-radius: var(--radius);
    }

    .news-list .news-grid-card__avatar {
        display: none;
    }

    .news-list .news-tag {
        grid-column: 2;
        margin-bottom: 0;
    }

    .news-list .news-grid-card__title {
        grid-column: 2;
        font-size: .9375rem;
        margin-bottom: 0;
        -webkit-line-clamp: 3;
    }

    .news-list .news-grid-card__time {
        grid-column: 2;
    }

    .news-grid-4:not(.news-list),
    .articles-grid:not(.news-list),
    .articles-grid--4:not(.news-list) {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Стаття */
    .article-page .container--article {
        width: 100%;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-excerpt {
        font-size: 1rem;
    }

    .article-meta {
        gap: 8px 14px;
        font-size: .8125rem;
    }

    .article-hero-image {
        margin-bottom: 20px;
        border-radius: 0;
        margin-left: calc(-1 * max(16px, env(safe-area-inset-left)));
        margin-right: calc(-1 * max(16px, env(safe-area-inset-right)));
        width: calc(100% + 2 * max(16px, env(safe-area-inset-left)));
    }

    .article-hero-image img {
        border-radius: 0;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .article-content {
        font-size: 1.0625rem;
    }

    .breadcrumb {
        font-size: .8125rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cookie-banner {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__btn {
        width: 100%;
        min-height: 48px;
    }
}

@media (max-width: 380px) {
    .news-top__quad {
        grid-template-columns: 1fr;
    }

    .news-mini {
        min-height: 160px;
        aspect-ratio: 16 / 10;
    }

    .news-list .news-grid-card {
        grid-template-columns: 96px 1fr;
    }
}

@media (max-width: 480px) {
    .search-form {
        flex-direction: column;
    }

    .search-form button { width: 100%; }
}
