:root {
    --brand-primary: #b91c1c;
    --brand-secondary: #0f172a;
    --dark-bg: #0b1220;
    --dark-surface: #0f172a;
    --dark-surface-soft: #131f33;
    --dark-border: #23324d;
    --dark-hover: #172136;
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body[data-theme="dark"] {
    --bg: var(--dark-bg);
    --surface: var(--dark-surface);
    --surface-soft: var(--dark-surface-soft);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: var(--dark-border);
    --shadow: 0 8px 24px rgba(2, 6, 23, 0.45);
}

* {
    box-sizing: border-box;
}

body.site-body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Source Sans Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.55;
}

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

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

.site-container {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
}

.top-strip {
    background: var(--brand-secondary);
    color: #fff;
    font-size: 0.86rem;
}

.top-strip-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 40px;
    padding: 0.35rem 0;
}

.top-strip-meta {
    justify-self: start;
}

.top-strip-social,
.top-strip-account {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.top-strip-social {
    justify-self: center;
    justify-content: center;
}

.top-strip-account {
    justify-self: end;
}

.top-strip-social img,
.footer-social img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.top-strip-social svg,
.footer-social svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.05;
}

.top-strip-social a,
.top-strip-account a,
.top-strip-account button {
    opacity: 0.9;
}

.top-strip-social a:hover,
.top-strip-account a:hover,
.top-strip-account button:hover {
    opacity: 1;
}

.top-strip-account .welcome {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 0.25rem;
}

.top-strip-account .top-account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 1.32rem;
    width: auto;
}

.top-strip-account .top-account-form {
    margin: 0;
    padding: 0;
    display: inline-flex;
}

.top-strip-account .top-account-form button {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
    line-height: inherit;
    cursor: pointer;
}

.top-strip-account .top-account-icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.1;
}

.top-strip-account .top-account-label {
    line-height: 1;
}

.top-strip-account .top-account-icon + .top-account-icon {
    margin-left: 0.4rem;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 60;
}

.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
}

.site-logo-text {
    display: inline-block;
    max-width: min(58vw, 560px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Merriweather", "Times New Roman", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-secondary);
}

.site-logo img {
    max-height: 52px;
    width: auto;
}

.site-logo .logo-dark {
    display: none;
}

body[data-theme="dark"] .site-logo .logo-light {
    display: none;
}

body[data-theme="dark"] .site-logo .logo-dark {
    display: block;
}

body[data-theme="dark"] .site-logo-text {
    color: #f8fafc;
}

.masthead-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
}

.btn-icon:hover {
    background: var(--surface-soft);
}

.btn-icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
}

.btn-icon-only svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.1;
}

.theme-toggle {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    height: 2rem;
    padding: 0 0.35rem 0 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.theme-toggle:hover {
    background: var(--surface-soft);
}

.theme-toggle-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    position: relative;
}

.theme-icon {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.05;
}

.theme-icon-sun {
    display: inline-block;
}

.theme-icon-moon {
    display: none;
}

body[data-theme="dark"] .theme-icon-sun {
    display: none;
}

body[data-theme="dark"] .theme-icon-moon {
    display: inline-block;
}

.theme-toggle-switch {
    width: 1.85rem;
    height: 1rem;
    border-radius: 999px;
    background: #cbd5e1;
    border: 1px solid #94a3b8;
    display: inline-flex;
    align-items: center;
    padding: 1px;
}

.theme-toggle-knob {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
    transform: translateX(0);
    transition: transform 0.2s ease;
}

body[data-theme="dark"] .theme-toggle-switch {
    background: var(--dark-border);
    border-color: var(--dark-surface-soft);
}

body[data-theme="dark"] .theme-toggle-knob {
    transform: translateX(0.82rem);
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.mobile-only {
    display: none;
}

.search-panel {
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.search-form {
    display: flex;
    gap: 0.6rem;
    padding: 0.8rem 0;
}

.search-form input {
    flex: 1;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    border-radius: 0.6rem;
    padding: 0.65rem 0.85rem;
}

.search-form button {
    border: 0;
    border-radius: 0.6rem;
    background: var(--brand-primary);
    color: #fff;
    padding: 0.65rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.top-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 0;
}

.top-menu a {
    padding: 0.45rem 0.75rem;
    border-radius: 0.45rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-secondary);
}

.top-menu a:hover {
    background: rgba(185, 28, 28, 0.08);
    color: var(--brand-primary);
}

body[data-theme="dark"] .top-menu a {
    color: #cbd5e1;
}

body[data-theme="dark"] .top-menu a:hover {
    color: #fff;
}

.categories-bar {
    background: var(--surface);
}

.header-divider {
    border-top: 1px solid var(--border);
}

.categories-track {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.6rem 0;
}

.category-pill {
    white-space: nowrap;
    border: 1px solid var(--border);
    color: var(--brand-primary);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.category-pill:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.site-flash {
    margin: 1rem 0 0;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    background: var(--surface);
}

.site-flash.success {
    border-color: #bbf7d0;
    background: #ecfdf5;
    color: #065f46;
}

.site-flash.error {
    border-color: #fecaca;
    background: #fff1f2;
    color: #9f1239;
}

.page-layout {
    width: min(1280px, calc(100% - 2rem));
    margin: 1.25rem auto 2rem;
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(300px, 1fr);
    gap: 1.25rem;
}

.page-main {
    min-width: 0;
}

.page-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.surface-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.95rem;
    box-shadow: var(--shadow);
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider-track {
    display: grid;
}

.hero-slide {
    display: none;
}

.hero-slide.is-active {
    display: block;
}

.hero-slide a {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.hero-slide .image-wrap {
    border-radius: 0.75rem;
    overflow: hidden;
    min-height: 220px;
}

.hero-slide .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide .meta {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.meta .badge,
.post-category {
    display: inline-flex;
    width: fit-content;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    background: rgba(185, 28, 28, 0.1);
    color: var(--brand-primary);
}

.hero-title,
.news-card h3,
.section-header h2,
.article-header h1,
.page-title,
.simple-card h3 {
    font-family: "Merriweather", "Times New Roman", Georgia, serif;
    line-height: 1.25;
}

.hero-title {
    margin: 0;
    font-size: 1.7rem;
}

.hero-summary {
    margin: 0;
    color: var(--muted);
}

.hero-controls {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
    padding: 0.8rem;
}

.hero-controls button {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    font-weight: 700;
    cursor: pointer;
}

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

.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-card .thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

.news-card .content {
    padding: 0.85rem 1rem 1rem;
}

.news-card h3 {
    font-size: 1.08rem;
    margin: 0;
}

.news-card p {
    color: var(--muted);
    margin: 0.55rem 0 0;
    font-size: 0.92rem;
}

.news-card .meta-line {
    margin-top: 0.7rem;
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.77rem;
    color: var(--muted);
}

.section-block {
    margin-top: 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin: 0 0 0.7rem;
}

.section-header h2 {
    margin: 0;
    font-size: 1.32rem;
}

.section-header a {
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.simple-list {
    display: grid;
    gap: 0.85rem;
}

.simple-card {
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    background: var(--surface);
    overflow: hidden;
}

.simple-card a {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: stretch;
}

.simple-card .thumb {
    min-height: 100%;
}

.simple-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.simple-card .body {
    padding: 0.75rem 0.8rem 0.75rem 0;
}

.simple-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.simple-card p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.simple-card small {
    display: block;
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.76rem;
}

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

.editorial-grid-listing {
    margin-top: 0.3rem;
}

.editorial-card {
    min-width: 0;
}

.editorial-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
    text-align: center;
    color: inherit;
}

.editorial-card-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.editorial-card-avatar-wrap {
    width: 142px;
    height: 142px;
    border-radius: 999px;
    background: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.editorial-card-avatar {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
}

.editorial-card-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #cbd5e1;
    color: #334155;
    font-size: 2rem;
    font-weight: 700;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.editorial-card-author-name {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.editorial-card-content h3 {
    margin: 0;
    font-size: 1.14rem;
    line-height: 1.22;
}

.editorial-card-content p {
    margin: 0.65rem 0 0;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.58;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
}

.fine-banner {
    margin: 1rem 0;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--surface);
    text-align: center;
}

.fine-banner img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin: 0 auto;
}

.article {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.95rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.article-cover {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.article-inner {
    padding: 1.1rem 1.2rem 1.4rem;
}

.editorial-author-inline {
    margin-bottom: 1rem;
}

.editorial-author-inline-avatar {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--surface-soft);
}

.article-header {
    margin-bottom: 1rem;
}

.article-header h1 {
    margin: 0.55rem 0 0;
    font-size: 2rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.article-content {
    font-size: 1.03rem;
    line-height: 1.7;
}

.article-content p,
.article-content div,
.article-content li {
    max-width: 72ch;
}

.article-content.article-content-full p,
.article-content.article-content-full div,
.article-content.article-content-full li {
    max-width: none;
}

.site-body[data-theme="dark"] .article-content,
.site-body[data-theme="dark"] .article-content :is(p, div, span, strong, em, b, i, u, s, ul, ol, li, h1, h2, h3, h4, h5, h6, blockquote) {
    background-color: transparent !important;
    color: #e2e8f0 !important;
}

.site-body[data-theme="dark"] .article-content a {
    color: #93c5fd !important;
}

.article-header .post-category {
    background: transparent;
    border: 1px solid var(--brand-primary);
    border-radius: 999px;
    color: var(--brand-primary);
    font-size: 0.63rem;
    padding: 0.2rem 0.52rem;
}

.agenda-date-badge {
    background: transparent;
    border: 1px solid var(--brand-primary);
    border-radius: 999px;
    color: var(--brand-primary);
    font-size: 0.63rem;
    padding: 0.2rem 0.52rem;
}

.categoria-page .news-card .post-category {
    background: transparent;
    border: 1px solid var(--brand-primary);
    border-radius: 999px;
    color: var(--brand-primary);
    font-size: 0.63rem;
    padding: 0.2rem 0.52rem;
    margin-bottom: 0.45rem;
}

.noticias-page .news-card .post-category {
    background: transparent;
    border: 1px solid var(--brand-primary);
    border-radius: 999px;
    color: var(--brand-primary);
    font-size: 0.63rem;
    padding: 0.2rem 0.52rem;
    margin-bottom: 0.65rem;
}

.pesquisa-page .news-card .post-category {
    background: transparent;
    border: 1px solid var(--brand-primary);
    border-radius: 999px;
    color: var(--brand-primary);
    font-size: 0.63rem;
    padding: 0.2rem 0.52rem;
    margin-bottom: 0.45rem;
}

.reportagens-page .news-card .post-category {
    background: transparent;
    border: 1px solid var(--brand-primary);
    border-radius: 999px;
    color: var(--brand-primary);
    font-size: 0.63rem;
    padding: 0.2rem 0.52rem;
    margin-bottom: 0.65rem;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.1rem;
}

.hashtags span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.share-row {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.share-row a {
    border: 1px solid var(--border);
    border-radius: 0;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--text);
}

.share-row a svg {
    width: 1rem;
    height: 1rem;
}

.share-row a:hover {
    border-color: var(--brand-primary);
    color: var(--text);
}


.gallery-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.6rem;
    border: 1px solid var(--border);
}

.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(2, 6, 23, 0.85);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox-dialog {
    position: relative;
    width: min(1100px, 96vw);
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-figure {
    margin: 0;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.gallery-lightbox-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(92vh - 3.5rem);
    object-fit: contain;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #020617;
}

.gallery-lightbox-caption {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.86rem;
    line-height: 1.35;
    text-align: center;
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: #f8fafc;
    width: 2.3rem;
    height: 2.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.gallery-lightbox-close {
    top: -0.1rem;
    right: -0.1rem;
}

.gallery-lightbox-prev {
    left: -0.1rem;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-next {
    right: -0.1rem;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    border-color: #f8fafc;
}

.comments-box {
    margin-top: 1.25rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.comment-item {
    border: 1px solid var(--border);
    border-radius: 0.7rem;
    padding: 0.75rem 0.85rem;
    margin-top: 0.55rem;
    background: var(--surface-soft);
}

.comment-item strong {
    display: block;
    font-size: 0.88rem;
}

.comment-item small {
    color: var(--muted);
    font-size: 0.75rem;
}

.comment-item p {
    margin: 0.45rem 0 0;
    font-size: 0.93rem;
}

.form-stack {
    display: grid;
    gap: 0.75rem;
}

.form-stack label {
    display: grid;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.form-stack input,
.form-stack textarea,
.form-stack select {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 0.65rem;
    padding: 0.65rem 0.8rem;
    font: inherit;
}

.form-stack textarea {
    min-height: 120px;
    resize: vertical;
}

.comments-box .form-stack textarea,
.comments-box .form-stack button,
.comments-box .btn-primary {
    border-radius: 0;
}

.form-stack button,
.btn-primary,
.btn-secondary,
.btn-danger {
    border-radius: 999px;
    border: 0;
    padding: 0.58rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

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

.btn-secondary {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
}

.btn-danger {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #9f1239;
}

.auth-page .form-stack input,
.auth-page .form-stack textarea,
.auth-page .form-stack select,
.auth-page .form-stack button,
.auth-page .btn-primary,
.auth-page .btn-secondary,
.auth-page .btn-danger {
    border-radius: 0;
}

.page-sidebar .sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 0.9rem;
}

.sidebar-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    font-family: "Merriweather", "Times New Roman", Georgia, serif;
}

.sidebar-banner {
    padding: 0;
    overflow: hidden;
}

.sidebar-banner img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.sidebar-list li a {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
}

.sidebar-list li img {
    width: 58px;
    height: 44px;
    object-fit: cover;
    border-radius: 0.4rem;
    border: 1px solid var(--border);
}

.sidebar-list li span,
.sidebar-list li strong {
    font-size: 0.84rem;
}

.sidebar-list.compact li a {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.sidebar-list.compact li small {
    color: var(--muted);
    font-size: 0.74rem;
}

.sidebar-agenda-list .agenda-local {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.22rem;
}

.sidebar-agenda-list .agenda-local-icon {
    width: 0.82rem;
    height: 0.82rem;
    flex: 0 0 auto;
}

.sidebar-more {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.84rem;
}

.sidebar-videos-card {
    display: grid;
    gap: 0.72rem;
}

.sidebar-video-feature a {
    display: block;
}

.sidebar-video-feature-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    overflow: hidden;
}

.sidebar-video-feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-video-feature-title {
    display: block;
    margin-top: 0.52rem;
    font-size: 0.84rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-video-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.sidebar-video-list li a {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.62rem;
    align-items: center;
}

.sidebar-video-list-thumb {
    width: 84px;
    height: 56px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    overflow: hidden;
}

.sidebar-video-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-video-list li span {
    font-size: 0.84rem;
    line-height: 1.3;
    font-weight: 400;
    text-transform: uppercase;
}

.sidebar-video-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--muted);
    font-size: 0.68rem;
}

.sidebar-video-fallback svg {
    width: 0.98rem;
    height: 0.98rem;
}

.sidebar-video-fallback-small {
    font-size: 0;
    gap: 0;
}

.site-footer {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-main-navigation {
    border-bottom: 1px solid var(--border);
}

.footer-main-navigation .top-menu {
    justify-content: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem 0;
}

.footer-block h3 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
}

.footer-block p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.footer-menu {
    display: grid;
    gap: 0.35rem;
}

.footer-menu a {
    color: var(--muted);
    font-size: 0.88rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
}

.footer-social a:hover {
    background: var(--surface);
}

.footer-contact {
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.newsletter-form {
    margin-top: 0.55rem;
    display: flex;
    gap: 0.45rem;
}

.newsletter-form input {
    flex: 1;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    border-radius: 0;
    padding: 0.55rem 0.7rem;
}

.newsletter-form button {
    border: 0;
    border-radius: 0;
    background: var(--brand-primary);
    color: #fff;
    padding: 0.55rem 0.8rem;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 0.9rem 0 1.2rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1300;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.cookie-consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.75rem 0.9rem;
}

.cookie-consent p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.cookie-consent a {
    color: var(--brand-primary);
    font-weight: 700;
}

.cookie-consent button {
    border: 0;
    background: var(--brand-primary);
    color: #fff;
    padding: 0.52rem 0.82rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-consent.is-hidden {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.page-title {
    margin: 0;
    font-size: 1.9rem;
}

.page-subtitle {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.page-hero {
    margin-bottom: 1rem;
}

.site-pagination {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.site-pagination a,
.site-pagination span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.34rem 0.7rem;
    font-size: 0.8rem;
}

.site-pagination span.is-active {
    background: var(--brand-secondary);
    color: #fff;
    border-color: var(--brand-secondary);
}

.site-pagination span.is-disabled,
.site-pagination .dots {
    opacity: 0.5;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.icon-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.icon-heading .title-icon {
    width: 0.95em;
    height: 0.95em;
    flex: 0 0 auto;
    stroke-width: 2.05;
}

.page-layout-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 880px;
}

.auth-card {
    max-width: 640px;
    margin: 0 auto;
}

.report-card .thumb {
    aspect-ratio: 432 / 290;
}

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

.video-card {
    overflow: hidden;
}

.video-frame-link {
    display: block;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--border);
    background: #020617;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-frame-large {
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    overflow: hidden;
}

.video-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 0.9rem;
    padding: 1rem;
    text-align: center;
    flex-direction: column;
    gap: 0.65rem;
}

.video-fallback a {
    color: #fff;
    font-weight: 700;
}

.video-title {
    margin: 0;
    font-size: 1.05rem;
    font-family: "Merriweather", "Times New Roman", Georgia, serif;
    line-height: 1.35;
}

.video-title a:hover {
    color: var(--brand-primary);
}

.video-excerpt {
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.video-source {
    display: inline-flex;
    margin-top: 0.65rem;
    font-size: 0.82rem;
    color: var(--brand-primary);
    font-weight: 700;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--surface-soft);
}

.faq-item h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.3;
    font-family: "Merriweather", "Times New Roman", Georgia, serif;
}

.faq-answer {
    margin-top: 0.55rem;
    color: var(--text);
    font-size: 0.93rem;
    line-height: 1.55;
}

.list-link-grid {
    display: grid;
    gap: 0.75rem;
}

.list-link-card {
    padding: 0.85rem 1rem;
}

.list-link-card a {
    display: block;
}

.list-link-card-editorial a {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.78rem;
    align-items: start;
}

.list-link-editorial-avatar-wrap {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.list-link-editorial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
}

.list-link-editorial-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    background: #cbd5e1;
    color: #334155;
}

.list-link-editorial-content {
    min-width: 0;
}

.list-link-card h3 {
    margin: 0;
    font-size: 1.02rem;
    font-family: "Merriweather", "Times New Roman", Georgia, serif;
    line-height: 1.35;
}

.list-link-card p {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.list-link-card small {
    display: block;
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.list-link-card-video a {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 0.72rem;
    align-items: center;
}

.list-link-video-thumb {
    width: 132px;
    height: 74px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    overflow: hidden;
}

.list-link-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-link-card-video h3 {
    margin: 0;
}

@media (max-width: 1080px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 860px) {
    .mobile-only {
        display: inline-flex;
    }

    .top-strip-inner {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 0.5rem 0;
    }

    .top-strip-social {
        justify-self: center;
    }

    .top-strip-account {
        justify-self: start;
    }

    .top-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 0.55rem 0;
    }

    .top-menu a {
        border: 1px solid var(--border);
        background: var(--surface-soft);
    }

    .footer-main-navigation {
        border: 0;
    }

    .footer-grid-wrap--with-nav {
        border-top: 1px solid var(--border);
    }

    .footer-main-navigation .top-menu {
        gap: 0;
        padding: 0;
    }

    .footer-main-navigation .top-menu a {
        border: 0;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        background: transparent;
    }

    .footer-main-navigation .top-menu a:last-child {
        border-bottom: 0;
    }

    .hero-slide a,
    .simple-card a,
    .list-link-card-video a {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.35rem;
    }

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

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

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

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

    .cookie-consent-inner {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 560px) {
    .site-container {
        width: calc(100% - 1rem);
    }

    .masthead {
        min-height: 66px;
    }

    .site-logo img {
        max-height: 42px;
    }

    .site-logo-text {
        font-size: 1.24rem;
        max-width: min(62vw, 300px);
    }

    .btn-icon {
        padding: 0.42rem 0.6rem;
        font-size: 0.75rem;
    }

    .article-header h1,
    .page-title {
        font-size: 1.45rem;
    }

    .article-inner {
        padding: 0.9rem;
    }

    .gallery-lightbox {
        padding: 0.55rem;
    }

    .gallery-lightbox-dialog {
        width: 100%;
    }

    .gallery-lightbox-image {
        max-height: calc(100vh - 5rem);
    }

    .gallery-lightbox-close,
    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        width: 2rem;
        height: 2rem;
        font-size: 1.05rem;
    }

    .gallery-lightbox-prev {
        left: 0.2rem;
    }

    .gallery-lightbox-next {
        right: 0.2rem;
    }
}

.top-strip-meta {
    display: inline-flex;
    align-items: center;
    color: inherit;
}

.home-page {
    background: #fff;
    --bg: #fff;
    --surface: #fff;
    --surface-soft: #fff;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --shadow: none;
}

.home-page .site-container {
    width: min(1360px, calc(100% - 2rem));
}

.home-page .top-strip {
    background: #f8fafc;
    color: #64748b;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-page .top-strip-inner {
    min-height: 30px;
    padding: 0.25rem 0;
    gap: 0.7rem;
}

.home-page .top-strip-social,
.home-page .top-strip-account {
    gap: 0.45rem;
}

.home-page .top-strip-social a,
.home-page .top-strip-account a,
.home-page .top-strip-account button {
    color: #475569;
}

.home-page .top-strip-social img {
    width: 14px;
    height: 14px;
}

.home-page .top-strip-account .welcome {
    color: #64748b;
}

.home-page .site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 0;
}

.home-page .masthead {
    min-height: 82px;
    justify-content: center;
    position: relative;
}

.home-page .site-logo img {
    max-height: 56px;
}

.home-page .site-logo-text {
    font-size: 1.92rem;
    max-width: min(66vw, 640px);
}

.home-page .masthead-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    gap: 0.3rem;
}

.home-page .btn-icon {
    border-radius: 0;
    border-color: #d1d5db;
    background: #fff;
    color: #334155;
    padding: 0.4rem 0.62rem;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-page .btn-icon:hover {
    border-color: #9ca3af;
    background: #fff;
}

.home-page .btn-icon-only {
    width: 2rem;
    height: 2rem;
}

.home-page .theme-toggle {
    border-radius: 0;
    border-color: #d1d5db;
    background: #fff;
    height: 2rem;
    padding: 0 0.4rem 0 0.48rem;
}

.home-page .theme-toggle-switch {
    border-radius: 0;
}

.home-page .theme-toggle-knob {
    border-radius: 0;
}

body.home-page[data-theme="dark"] .theme-toggle {
    border-color: var(--dark-border);
    background: var(--dark-surface-soft);
    color: #e2e8f0;
}

.home-page .search-form input,
.home-page .search-form button {
    border-radius: 0;
}

.home-page .top-menu {
    justify-content: center;
    gap: 0;
    padding: 0;
}

.home-page .top-menu a {
    border-right: 1px solid #edf2f7;
    border-radius: 0;
    padding: 0.72rem 0.95rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111827;
}

.home-page .top-menu a:last-child {
    border-right: 0;
}

.home-page .top-menu a:hover {
    background: #f8fafc;
    color: var(--brand-primary);
}

.home-page .categories-bar {
    border-bottom: 1px solid #e5e7eb;
}

.home-page .categories-track {
    justify-content: center;
    gap: 0;
    padding: 0.42rem 0;
}

.home-page .category-pill {
    border: 0;
    border-right: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 0 0.65rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--brand-primary);
}

.home-page .category-pill:last-child {
    border-right: 0;
}

.home-page .category-pill:hover {
    color: var(--brand-primary);
}

.home-page .page-layout {
    margin-top: 0.95rem;
    grid-template-columns: minmax(0, 2.25fr) minmax(320px, 0.95fr);
    gap: 1.45rem;
}

.home-page .page-layout.page-layout-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 880px;
}

.home-page .surface-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.home-page .news-card,
.home-page .simple-card,
.home-page .article,
.home-page .comment-item,
.home-page .faq-item,
.home-page .list-link-card,
.home-page .page-sidebar .sidebar-card,
.home-page .fine-banner,
.home-page .video-card,
.home-page .video-frame-large,
.home-page .gallery-grid img,
.home-page .site-flash,
.home-page .auth-card {
    border-radius: 0 !important;
}

.home-page .section-block {
    margin-top: 1.75rem;
}

.home-page .page-main > .section-block:first-of-type {
    margin-top: 0;
}

.home-page .section-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.home-page .section-header h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #0f172a;
}

.home-page .section-header a {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-page .home-stream {
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--brand-primary);
    background: #fff;
    padding: 1rem !important;
}

.home-page .home-hero {
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 1rem;
    position: relative;
}

.home-page .hero-slide a {
    padding: 0;
    gap: 1.2rem;
    align-items: stretch;
    min-height: 430px;
}

.home-page .hero-slide .image-wrap {
    border-radius: 0;
    min-height: 430px;
    height: 430px;
}

.home-page .hero-slide .meta {
    padding: 0.05rem 0;
    gap: 0.6rem;
    min-height: 430px;
    height: 430px;
    overflow: hidden;
}

.home-page .meta .badge {
    background: transparent;
    border: 1px solid var(--brand-primary);
    border-radius: 999px;
    color: var(--brand-primary);
    font-size: 0.63rem;
    padding: 0.2rem 0.52rem;
}

.home-page .hero-title,
.home-page .home-latest .news-card h3,
.home-page .simple-card h3 {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.home-page .hero-title {
    font-size: 2.35rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.home-page .hero-summary {
    font-size: 0.96rem;
    line-height: 1.62;
    color: #4b5563;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}

.home-page .hero-slide .meta small {
    margin-top: auto;
}

.home-page .hero-controls {
    padding: 0.75rem 0 0;
    position: static;
    justify-content: flex-end;
}

.home-page .hero-controls button {
    border-radius: 0;
    width: 34px;
    height: 34px;
    background: #fff;
}

.home-page .home-latest .news-grid {
    margin-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.1rem;
}

.home-page .home-latest .news-card {
    border: 0;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    background: transparent;
    padding-top: 0.95rem;
}

.home-page .home-latest .news-card .thumb {
    border-radius: 0;
}

.home-page .home-latest .news-card .content {
    padding: 0.65rem 0 0;
}

.home-page .home-latest .news-card .post-category {
    background: transparent;
    border: 1px solid var(--brand-primary);
    border-radius: 999px;
    color: var(--brand-primary);
    font-size: 0.63rem;
    padding: 0.2rem 0.52rem;
    display: inline-flex;
    width: fit-content;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
}

.home-page .home-latest .news-card h3 {
    font-size: 1.22rem;
    line-height: 1.2;
    margin: 0;
}

.home-page .home-latest .news-card p {
    margin-top: 0.48rem;
    font-size: 0.94rem;
    line-height: 1.55;
    color: #4b5563;
}

.home-page .home-latest .news-card .meta-line {
    margin-top: 0.58rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-page .home-latest .news-card--lead {
    grid-column: span 2;
    border-top: 0;
    padding-top: 0;
}

@media (min-width: 861px) {
    .home-page .home-latest .news-grid > .news-card:nth-child(2) {
        border-top: 0;
        padding-top: 0;
    }
}

.home-page .home-latest .news-card--lead .thumb {
    aspect-ratio: 16 / 8.7;
}

.home-page .home-latest .news-card--lead h3 {
    font-size: 1.86rem;
    line-height: 1.1;
}

.home-page .home-latest .news-card--lead p {
    font-size: 1rem;
    max-width: 92%;
}

.home-page .fine-banner {
    border-radius: 0;
    border: 1px solid #e5e7eb;
    margin: 1.15rem 0 0.25rem;
    background: #fff;
}

.home-page .fine-banner img {
    max-height: 42px;
}

.home-page .simple-list {
    gap: 0;
}

.home-page .simple-card {
    border: 0;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    background: transparent;
}

.home-page .simple-card a {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 1rem;
}

.home-page .simple-card .body {
    padding: 0.82rem 0;
}

.home-page .simple-card h3 {
    font-size: 1.2rem;
    line-height: 1.18;
}

.home-page .simple-card p {
    margin-top: 0.44rem;
    font-size: 0.94rem;
    color: #4b5563;
}

.home-page .simple-card small {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.66rem;
}

.home-page .page-sidebar {
    gap: 1.1rem;
}

.home-page .page-sidebar .sidebar-card {
    border: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
    padding: 0.9rem;
}

.home-page .sidebar-card h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.72rem;
}

.home-page .sidebar-list li a {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 0.7rem;
}

.home-page .sidebar-list li img {
    width: 90px;
    height: 62px;
    border-radius: 0;
}

.home-page .sidebar-list li span,
.home-page .sidebar-list li strong {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 0.92rem;
    line-height: 1.3;
}

.home-page .sidebar-list.compact li span,
.home-page .sidebar-list.compact li strong {
    font-size: 0.86rem;
}

.home-page .sidebar-list.compact li a {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.home-page .sidebar-list.compact li small {
    margin-top: 0.25rem;
}

.home-page .sidebar-more {
    margin-top: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.66rem;
}

.home-page .sidebar-video-feature-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 700;
}

.home-page .sidebar-video-list li span {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 400;
}

body.home-page[data-theme="dark"] .top-strip {
    background: var(--dark-surface);
    border-bottom-color: var(--dark-border);
    color: #cbd5e1;
}

body.home-page[data-theme="dark"] .top-strip-social a,
body.home-page[data-theme="dark"] .top-strip-account a,
body.home-page[data-theme="dark"] .top-strip-account button {
    color: #cbd5e1;
}

body.home-page[data-theme="dark"] .site-header {
    background: var(--dark-surface);
}

body.home-page[data-theme="dark"] .top-menu a {
    color: #e2e8f0;
    border-right-color: var(--dark-border);
}

body.home-page[data-theme="dark"] .top-menu a:hover {
    background: var(--dark-hover);
}

body.home-page[data-theme="dark"] .categories-bar {
    border-bottom-color: var(--dark-border);
}

body.home-page[data-theme="dark"] .category-pill {
    color: var(--brand-primary);
    border-right-color: var(--dark-border);
}

body.home-page[data-theme="dark"] .section-header,
body.home-page[data-theme="dark"] .home-latest .news-card,
body.home-page[data-theme="dark"] .simple-card,
body.home-page[data-theme="dark"] .page-sidebar .sidebar-card,
body.home-page[data-theme="dark"] .home-hero,
body.home-page[data-theme="dark"] .home-stream,
body.home-page[data-theme="dark"] .fine-banner {
    border-color: var(--dark-border);
}

body.home-page[data-theme="dark"] {
    background: var(--dark-bg);
    --bg: var(--dark-bg);
    --surface: var(--dark-surface);
    --surface-soft: var(--dark-surface-soft);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: var(--dark-border);
}

body.home-page[data-theme="dark"] .page-sidebar .sidebar-card,
body.home-page[data-theme="dark"] .home-hero,
body.home-page[data-theme="dark"] .home-stream,
body.home-page[data-theme="dark"] .fine-banner,
body.home-page[data-theme="dark"] .article,
body.home-page[data-theme="dark"] .list-link-card,
body.home-page[data-theme="dark"] .video-card,
body.home-page[data-theme="dark"] .video-frame-large,
body.home-page[data-theme="dark"] .comment-item,
body.home-page[data-theme="dark"] .faq-item,
body.home-page[data-theme="dark"] .auth-card,
body.home-page[data-theme="dark"] .site-flash {
    background: var(--dark-surface-soft);
    color: #e2e8f0;
}

body.home-page[data-theme="dark"] .section-header h2,
body.home-page[data-theme="dark"] .page-title,
body.home-page[data-theme="dark"] .article-header h1,
body.home-page[data-theme="dark"] .sidebar-card h3,
body.home-page[data-theme="dark"] .list-link-card h3,
body.home-page[data-theme="dark"] .video-title,
body.home-page[data-theme="dark"] .news-card h3,
body.home-page[data-theme="dark"] .simple-card h3 {
    color: #e2e8f0;
}

body.home-page[data-theme="dark"] .hero-summary,
body.home-page[data-theme="dark"] .home-latest .news-card p,
body.home-page[data-theme="dark"] .simple-card p {
    color: #cbd5e1;
}

body[data-theme="dark"] .editorial-card-avatar-wrap {
    background: var(--dark-border);
}

body[data-theme="dark"] .editorial-card-avatar-placeholder {
    background: var(--dark-surface-soft);
    color: #e2e8f0;
}

body[data-theme="dark"] .list-link-editorial-avatar-wrap {
    background: var(--dark-border);
}

body[data-theme="dark"] .list-link-editorial-avatar-placeholder {
    background: var(--dark-surface-soft);
    color: #e2e8f0;
}

body[data-theme="dark"] .editorial-card-content p {
    color: #cbd5e1;
}

body.home-page[data-theme="dark"] .btn-icon,
body.home-page[data-theme="dark"] .hero-controls button {
    border-color: var(--dark-border);
    background: var(--dark-surface-soft);
    color: #e2e8f0;
}

@media (max-width: 1280px) {
    .editorial-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .home-page .page-layout {
        grid-template-columns: 1fr;
    }

    .home-page .page-layout.page-layout-single {
        max-width: 880px;
    }

    .home-page .home-latest .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .hero-slide .image-wrap {
        min-height: 340px;
        height: 340px;
    }

    .home-page .hero-slide a {
        min-height: 340px;
    }

    .home-page .hero-slide .meta {
        min-height: 340px;
        height: 340px;
    }

    .home-page .masthead {
        justify-content: flex-start;
        padding-right: 8.6rem;
    }

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

@media (max-width: 860px) {
    .home-page .top-strip-inner {
        align-items: flex-start;
        gap: 0.35rem;
    }

    .home-page .top-strip-meta {
        width: 100%;
        font-size: 0.66rem;
    }

    .home-page .masthead {
        min-height: 68px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .home-page .site-logo img {
        max-height: 42px;
    }

    .home-page .site-logo-text {
        font-size: 1.28rem;
        max-width: min(62vw, 320px);
    }

    .home-page .masthead-actions {
        position: static;
        transform: none;
        margin-left: auto;
    }

    .home-page .top-menu {
        justify-content: flex-start;
        padding: 0;
    }

    .home-page .top-menu a {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #eef2f7;
        padding: 0.72rem 0.3rem;
    }

    body.home-page[data-theme="dark"] .top-menu a {
        border-bottom-color: var(--dark-border);
    }

    .home-page .categories-track {
        justify-content: flex-start;
    }

    .home-page .hero-slide a {
        grid-template-columns: 1fr;
    }

    .home-page .hero-slide .image-wrap {
        min-height: 240px;
        height: 240px;
    }

    .home-page .hero-slide a {
        min-height: auto;
    }

    .home-page .hero-slide .meta {
        min-height: 0;
        height: auto;
        overflow: visible;
    }

    .home-page .hero-slide .meta small {
        margin-top: 0;
    }

    .home-page .hero-title {
        font-size: 1.68rem;
    }

    .home-page .home-latest .news-grid {
        grid-template-columns: 1fr;
    }

    .home-page .home-latest .news-card--lead {
        grid-column: auto;
    }

    .home-page .simple-card a {
        grid-template-columns: 1fr;
    }

    .home-page .sidebar-list li a {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .home-page .sidebar-list li img {
        width: 72px;
        height: 50px;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .editorial-card a {
        align-items: center;
    }
}

@media (max-width: 560px) {
    .home-page .top-strip {
        font-size: 0.63rem;
    }

    .home-page .hero-title {
        font-size: 1.52rem;
    }

    .home-page .hero-summary {
        font-size: 0.9rem;
    }

    .home-page .home-latest .news-card--lead h3 {
        font-size: 1.48rem;
    }

    .home-page .home-latest .news-card h3 {
        font-size: 1.1rem;
    }
}
