/**
 * SovrNovosti 0.4.0 — Contemporary Newsroom
 * Author: Illia Abel
 */

/* =========================================================
   GENERAL DIRECTION
   ========================================================= */

:root {
    --sn-contemporary-blue: #084c84;
    --sn-contemporary-ink: #111827;
    --sn-contemporary-soft: #f6f7f9;
}

.sn-site-header {
    border-top: 3px solid var(--sn-contemporary-blue);
}

.sn-utility-bar {
    background: #f7f8fa;
}

.sn-utility-row {
    min-height: 30px;
    font-size: 0.68rem;
}

.sn-masthead-row {
    min-height: 92px;
}

/* =========================================================
   MODERN MASTHEAD
   ========================================================= */

.sn-brand-name {
    font-family: var(--sn-font-sans);
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.055em;
}

.sn-brand-subtitle {
    margin-top: 0.45rem;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
}

.sn-search-toggle,
.sn-menu-toggle {
    width: 38px;
    height: 38px;
    border-color: #cfd4da;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.sn-nav-shell {
    background: #101722;
}

.sn-nav-list {
    min-height: 48px;
}

.sn-nav-list a {
    padding-inline: 1.2rem;
    font-size: 0.79rem;
    font-weight: 750;
    letter-spacing: 0.025em;
}

.sn-latest-strip-row {
    min-height: 42px;
    font-size: 0.8rem;
}

.sn-latest-label {
    padding-right: 0.2rem;
    font-size: 0.7rem;
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */

.sn-section-rule {
    min-height: 36px;
    border-top-width: 2px;
}

.sn-section-rule > span {
    font-size: 0.72rem;
    letter-spacing: 0.11em;
}

/* =========================================================
   HERO — CONTEMPORARY DIGITAL NEWSROOM
   ========================================================= */

.sn-top-news {
    padding-block: 2rem 2.7rem;
}

.sn-top-grid {
    grid-template-columns:
        minmax(0, 1.68fr)
        minmax(340px, 0.88fr);
    gap: 2.15rem;
}

.sn-lead-image {
    margin-bottom: 1.05rem;
    aspect-ratio: 16 / 8.65;
}

.sn-lead-title {
    max-width: 840px;
    margin-bottom: 0.7rem;
    font-family: var(--sn-font-sans);
    font-size: clamp(2.05rem, 3.45vw, 3.3rem);
    font-weight: 820;
    line-height: 1.035;
    letter-spacing: -0.047em;
}

.sn-lead-excerpt {
    max-width: 760px;
    margin-bottom: 0.75rem;
    font-family: var(--sn-font-sans);
    font-size: 0.96rem;
    line-height: 1.52;
}

.sn-top-side {
    padding-left: 1.45rem;
}

.sn-side-story {
    padding-bottom: 1.3rem;
    display: grid;
    grid-template-columns:
        minmax(110px, 0.82fr)
        minmax(0, 1.18fr);
    align-items: start;
    gap: 1rem;
}

.sn-side-story + .sn-side-story {
    padding-top: 1.3rem;
}

.sn-side-image {
    margin: 0;
    aspect-ratio: 4 / 3;
}

.sn-side-story h2 {
    margin-bottom: 0.45rem;
    font-family: var(--sn-font-sans);
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
    font-weight: 760;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.sn-top-briefs {
    margin-top: 1.65rem;
}

.sn-brief-story {
    padding-block: 1.05rem;
}

.sn-brief-story h2 {
    font-family: var(--sn-font-sans);
    font-size: 1.02rem;
    font-weight: 720;
    line-height: 1.28;
}

/* =========================================================
   LIVE NEWS STREAM
   ========================================================= */

.sn-news-stream {
    padding-block: 2.6rem;
}

.sn-stream-row {
    min-height: 54px;
    padding-block: 0.66rem;
    grid-template-columns:
        56px
        165px
        1fr;
}

.sn-stream-row h2 {
    font-size: 0.97rem;
    line-height: 1.3;
}

/* =========================================================
   KEY SECTIONS
   ========================================================= */

.sn-sections-block {
    padding-block: 3rem 3.4rem;
}

.sn-section-columns {
    grid-template-columns: repeat(4, 1fr);
}

.sn-section-column {
    padding-inline: 1.15rem;
}

.sn-section-column > header {
    margin-bottom: 0.85rem;
}

.sn-section-column > header h2 {
    font-size: 0.78rem;
}

.sn-section-image {
    margin-bottom: 0.72rem;
    aspect-ratio: 16 / 9.5;
}

.sn-section-lead h3 {
    font-family: var(--sn-font-sans);
    font-size: 1.12rem;
    font-weight: 760;
    line-height: 1.2;
}

.sn-section-brief {
    padding-block: 0.72rem;
}

.sn-section-brief h3 {
    font-family: var(--sn-font-sans);
    font-size: 0.91rem;
    font-weight: 670;
    line-height: 1.28;
}

/* =========================================================
   PUBLICATIONS / LONG READS
   ========================================================= */

.sn-publications-block {
    padding-block: 3.1rem 3.5rem;
}

.sn-publications-layout {
    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(320px, 0.75fr);
    gap: 2.2rem;
}

.sn-publication-image {
    aspect-ratio: 16 / 8.5;
}

.sn-publication-lead h2 {
    font-family: var(--sn-font-sans);
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.sn-publication-lead > p {
    font-family: var(--sn-font-sans);
    font-size: 0.96rem;
    line-height: 1.55;
}

.sn-publication-list h3 {
    font-family: var(--sn-font-sans);
    font-size: 1.12rem;
    font-weight: 720;
    line-height: 1.24;
}

/* =========================================================
   ALL CATEGORIES
   ========================================================= */

.sn-all-categories {
    padding-block: 2.5rem 3rem;
}

.sn-category-index a {
    padding-block: 0.75rem;
    font-size: 0.76rem;
}

/* =========================================================
   ARCHIVES
   ========================================================= */

.sn-archive-page-header h1 {
    font-family: var(--sn-font-sans);
    font-size: clamp(2.35rem, 4.6vw, 4.2rem);
    font-weight: 820;
    line-height: 1.03;
}

.sn-archive-row-content h2 {
    font-family: var(--sn-font-sans);
    font-size: clamp(1.35rem, 2.15vw, 1.95rem);
    font-weight: 770;
    line-height: 1.12;
}

.sn-archive-row-excerpt {
    font-family: var(--sn-font-sans);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* =========================================================
   SINGLE ARTICLES
   Headline modern, body editorial
   ========================================================= */

.sn-article-title {
    font-family: var(--sn-font-sans);
    font-size: clamp(2.35rem, 5vw, 4.65rem);
    font-weight: 820;
    line-height: 1.025;
    letter-spacing: -0.05em;
}

.sn-article-content {
    font-size: clamp(1.06rem, 1.4vw, 1.16rem);
}

/* =========================================================
   FOOTER
   ========================================================= */

.sn-site-footer {
    padding-top: 3.2rem;
}

.sn-footer-editorial {
    padding-bottom: 2.8rem;
    display: grid;
    grid-template-columns:
        minmax(260px, 1.4fr)
        minmax(130px, 0.55fr)
        minmax(280px, 1fr);
    gap: 3rem;
}

.sn-footer-identity {
    max-width: 520px;
}

.sn-footer-logo {
    display: block;
    font-family: var(--sn-font-sans);
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.sn-footer-identity p {
    max-width: 450px;
    margin: 1rem 0 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    line-height: 1.55;
}

.sn-footer-motto {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sn-footer-column h2 {
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sn-footer-column ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sn-footer-column li + li {
    margin-top: 0.48rem;
}

.sn-footer-column a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    line-height: 1.3;
}

.sn-footer-column a:hover {
    color: #ffffff;
}

.sn-footer-topics ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1rem;
}

.sn-footer-topics li + li {
    margin-top: 0;
}

.sn-footer-bottom {
    min-height: 58px;
}

/* =========================================================
   SUBTLE MEDIA BEHAVIOUR
   ========================================================= */

.sn-lead-image img,
.sn-side-image img,
.sn-section-image img,
.sn-publication-image img,
.sn-archive-row-image img {
    transition:
        transform 220ms ease,
        filter 220ms ease;
}

.sn-lead-image:hover img,
.sn-side-image:hover img,
.sn-section-image:hover img,
.sn-publication-image:hover img,
.sn-archive-row-image:hover img {
    transform: scale(1.012);
}
