:root {
    --studio-red: #ed1717;
    --studio-red-dark: #c70f0f;
    --studio-ink: #17191f;
    --studio-ink-soft: #2a2d35;
    --studio-text: #252a33;
    --studio-muted: #69717d;
    --studio-line: #e7e9ee;
    --studio-bg: #f5f6f8;
    --studio-card: #ffffff;
    --studio-radius: 16px;
    --studio-radius-sm: 10px;
    --studio-shadow: 0 10px 30px rgba(20, 24, 32, 0.08);
    --studio-container: 1240px;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--studio-text);
    background: var(--studio-bg);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

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

a:hover,
a:focus {
    color: var(--studio-red);
}

p {
    margin-top: 0;
}

.container {
    width: min(var(--studio-container), calc(100% - 32px));
    margin-inline: auto;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    z-index: 99999;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    background: #fff;
    color: #111;
    border-radius: 8px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--studio-ink);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
}

.site-header__inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
}

.site-logo-fallback,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-logo-fallback img,
.custom-logo-link img,
.footer-logo img {
    width: 210px;
    max-height: 76px;
    object-fit: contain;
}

.site-tagline {
    display: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.primary-navigation {
    justify-self: end;
}

.primary-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.primary-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
    background: var(--studio-red);
    color: #fff;
}

.header-search {
    width: 210px;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 10px 44px 10px 16px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    outline: none;
}

.search-field::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.search-submit {
    position: absolute;
    right: 6px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: transparent;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 999px;
}

.site-main {
    min-height: 60vh;
}

.ad-slot {
    width: min(var(--studio-container), calc(100% - 32px));
    margin: 18px auto;
    text-align: center;
    overflow: hidden;
}

.ad-slot:empty {
    display: none;
}

.ad-slot--below_header,
.ad-slot--home_middle,
.ad-slot--before_article,
.ad-slot--after_article {
    min-height: 90px;
}

.article-content .ad-slot--after_featured_image {
    width: min(820px, 100%);
    min-height: 250px;
    margin: 18px auto 28px;
}

.article-content .ad-slot--after_article {
    width: min(820px, 100%);
    min-height: 260px;
    margin: 30px auto;
}

.ad-slot--sidebar_top,
.ad-slot--sidebar_middle {
    min-height: 250px;
    margin: 0 0 24px;
    width: 100%;
}

.ad-slot--mobile_sticky {
    display: none;
}

.home-hero {
    padding: 28px 0 12px;
}

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 24px;
    align-items: stretch;
}

.home-hero__side {
    display: grid;
    gap: 16px;
}

.home-widget-top,
.home-widget-middle {
    margin-bottom: 24px;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
    padding: 28px 0;
}

.content-area,
.article-content,
.site-sidebar .widget,
.related-posts,
.comments-area,
.not-found-page {
    background: var(--studio-card);
    border: 1px solid var(--studio-line);
    border-radius: var(--studio-radius);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.content-area,
.article-content,
.not-found-page {
    padding: 28px;
}

.article-content {
    overflow: hidden;
}

.archive-header,
.section-header {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--studio-line);
}

.archive-header h1,
.section-header h1,
.section-header h2 {
    margin: 0;
    color: var(--studio-ink);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.archive-description {
    margin: 8px 0 0;
    color: var(--studio-muted);
}

.post-grid {
    display: grid;
    gap: 22px;
}

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

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

.post-card,
.featured-card {
    background: #fff;
    border: 1px solid var(--studio-line);
    border-radius: var(--studio-radius-sm);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover,
.featured-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--studio-shadow);
}

.post-card__thumb,
.featured-card__thumb,
.sidebar-post__thumb {
    display: block;
    background: #e8eaef;
    overflow: hidden;
}

.post-card__image,
.featured-card__image,
.sidebar-post__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card__image,
.featured-card:hover .featured-card__image,
.sidebar-post:hover .sidebar-post__image {
    transform: scale(1.03);
}

.post-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    background: linear-gradient(135deg, #16191f, #2b2f38);
    color: #fff;
    font-weight: 900;
    font-size: 32px;
}

.post-card__body,
.featured-card__body {
    padding: 16px;
}

.featured-card__body {
    padding: 22px;
}

.post-card__meta,
.featured-card__meta,
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--studio-muted);
    font-size: 13px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(237, 23, 23, 0.10);
    color: var(--studio-red);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.category-badge:hover {
    background: var(--studio-red);
    color: #fff;
}

.post-card__title,
.featured-card__title,
.sidebar-post h3 {
    margin: 10px 0 0;
    color: var(--studio-ink);
    line-height: 1.18;
}

.post-card__title {
    font-size: 20px;
}

.featured-card__title {
    font-size: clamp(26px, 3vw, 42px);
}

.post-card__excerpt,
.featured-card p {
    margin: 10px 0 0;
    color: var(--studio-muted);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--studio-muted);
    font-size: 13px;
}

.article-header {
    max-width: 900px;
    margin-bottom: 20px;
}

.article-title {
    margin: 0 0 12px;
    color: var(--studio-ink);
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.article-subtitle {
    margin: 0 0 18px;
    color: #555e6c;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.35;
}

.article-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--studio-ink);
}

.article-author__avatar {
    border-radius: 50%;
}

.article-dot {
    color: #a4aab4;
}

.article-featured-image {
    margin: 24px -28px 28px;
    background: #f0f1f3;
}

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

.article-featured-image figcaption {
    padding: 10px 28px 14px;
    color: var(--studio-muted);
    font-size: 13px;
}

.article-body {
    max-width: 820px;
    margin-inline: auto;
    font-size: 19px;
    line-height: 1.78;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body figure {
    margin-bottom: 1.25em;
}

.article-body a {
    color: var(--studio-red-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--studio-ink);
    line-height: 1.25;
    margin-top: 1.6em;
}

.article-body blockquote {
    margin-left: 0;
    padding: 18px 22px;
    border-left: 5px solid var(--studio-red);
    background: #fafafa;
    border-radius: 0 12px 12px 0;
    font-weight: 650;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 28px 0;
}

.article-tags a {
    display: inline-flex;
    padding: 8px 13px;
    border: 1px solid var(--studio-line);
    border-radius: 999px;
    color: var(--studio-ink);
    font-weight: 700;
    font-size: 14px;
}

.related-posts,
.comments-area {
    margin-top: 28px;
    padding: 24px;
}

.site-sidebar {
    position: sticky;
    top: 112px;
}

.site-sidebar .widget {
    margin-bottom: 24px;
    padding: 22px;
}

.widget-title,
.site-sidebar .widget h2 {
    margin: 0 0 18px;
    color: var(--studio-ink);
    font-size: 24px;
    line-height: 1.15;
}

.widget ul {
    margin: 0;
    padding-left: 18px;
}

.sidebar-post-list {
    display: grid;
    gap: 16px;
}

.sidebar-post {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.sidebar-post__thumb {
    border-radius: 10px;
}

.sidebar-post h3 {
    font-size: 16px;
    margin-top: 8px;
}

.navigation.pagination {
    margin-top: 28px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-numbers {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--studio-line);
    font-weight: 800;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--studio-red);
    border-color: var(--studio-red);
    color: #fff;
}

.site-footer {
    margin-top: 36px;
    padding: 44px 0 18px;
    background: var(--studio-ink);
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
}

.site-footer p {
    margin: 0 0 8px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
    color: #fff;
}

.footer-menu,
.social-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 7px;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.back-to-top {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--studio-red);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.comment-list {
    margin: 0;
    padding-left: 22px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid var(--studio-line);
    border-radius: 10px;
    padding: 12px;
}

.form-submit .submit {
    border: 0;
    border-radius: 999px;
    background: var(--studio-red);
    color: #fff;
    padding: 12px 20px;
    font-weight: 800;
    cursor: pointer;
}

.not-found-page {
    margin-top: 32px;
    margin-bottom: 32px;
    max-width: 760px;
}

@media (max-width: 1100px) {
    .site-header__inner {
        grid-template-columns: auto auto 1fr;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
        order: 2;
    }

    .primary-navigation {
        position: fixed;
        inset: 88px 0 auto 0;
        display: none;
        background: var(--studio-ink);
        border-top: 1px solid rgba(255, 255, 255, 0.10);
        padding: 16px;
        box-shadow: 0 16px 26px rgba(0, 0, 0, 0.25);
    }

    body.menu-open .primary-navigation {
        display: block;
    }

    .primary-navigation ul {
        display: grid;
        gap: 6px;
        max-width: var(--studio-container);
        margin-inline: auto;
    }

    .primary-navigation a {
        width: 100%;
        border-radius: 12px;
    }

    .header-search {
        justify-self: end;
        width: 180px;
        order: 3;
    }

    .layout-with-sidebar,
    .home-hero__grid {
        grid-template-columns: 1fr;
    }

    .site-sidebar {
        position: static;
    }

    .home-hero__side,
    .post-grid--2,
    .post-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, var(--studio-container));
    }

    .site-header__inner {
        min-height: 74px;
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .site-logo-fallback img,
    .custom-logo-link img {
        width: 172px;
        max-height: 62px;
    }

    .primary-navigation {
        inset: 74px 0 auto 0;
    }

    .header-search {
        grid-column: 1 / -1;
        width: 100%;
        order: 4;
        display: none;
        padding-bottom: 12px;
    }

    body.menu-open .header-search {
        display: block;
    }

    .home-hero,
    .layout-with-sidebar {
        padding: 18px 0;
    }

    .content-area,
    .article-content,
    .not-found-page {
        padding: 18px;
        border-radius: 12px;
    }

    .post-grid--2,
    .post-grid--3,
    .home-hero__side {
        grid-template-columns: 1fr;
    }

    .featured-card__body,
    .post-card__body {
        padding: 16px;
    }

    .article-title {
        font-size: clamp(30px, 9vw, 42px);
    }

    .article-subtitle {
        font-size: 18px;
    }

    .article-body {
        font-size: 18px;
    }

    .article-featured-image {
        margin: 18px -18px 22px;
    }

    .article-featured-image figcaption {
        padding-inline: 18px;
    }

    .article-meta {
        align-items: flex-start;
    }

    .article-dot {
        display: none;
    }

    .sidebar-post {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .ad-slot--mobile_sticky {
        display: block;
        position: fixed;
        z-index: 999;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        margin: 0;
        min-height: 50px;
        background: #fff;
        box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.12);
    }
}

@media (max-width: 420px) {
    .sidebar-post {
        grid-template-columns: 1fr;
    }
}

/* v0.2 - homepage hierarchy and dropdown menu */
.primary-navigation li {
    position: relative;
}

.primary-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1002;
    display: none;
    min-width: 240px;
    max-height: min(70vh, 620px);
    overflow: auto;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
    display: grid;
    gap: 2px;
}

.primary-navigation .sub-menu::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 22px;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #fff;
    border-left: 9px solid transparent;
}

.primary-navigation .sub-menu a {
    justify-content: flex-start;
    min-height: 38px;
    width: 100%;
    padding: 9px 11px;
    color: var(--studio-ink);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 750;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.primary-navigation .sub-menu a:hover,
.primary-navigation .sub-menu .current-cat > a,
.primary-navigation .sub-menu .current-menu-item > a {
    background: rgba(237, 23, 23, 0.10);
    color: var(--studio-red);
}

.home-section {
    margin-bottom: 28px;
}

.home-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--studio-line);
}

.home-section__header h1,
.home-section__header h2 {
    margin: 0;
    color: var(--studio-ink);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.home-section__header--strong {
    border-bottom: 3px solid var(--studio-red);
}

.home-section__header--compact {
    align-items: center;
    margin-bottom: 14px;
}

.home-section__header--compact h2 {
    font-size: 25px;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 5px;
    color: var(--studio-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 13px;
    border: 1px solid var(--studio-line);
    border-radius: 999px;
    color: var(--studio-ink);
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.section-link:hover {
    border-color: var(--studio-red);
    background: var(--studio-red);
    color: #fff;
}

.content-area--home {
    display: grid;
    gap: 28px;
}

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

.home-topic-card {
    min-width: 0;
}

.topic-list {
    display: grid;
    gap: 14px;
}

.topic-list__item {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--studio-line);
}

.topic-list__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.topic-list__thumb {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: #e8eaef;
}

.topic-list__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.topic-list__body h3 {
    margin: 8px 0 0;
    color: var(--studio-ink);
    font-size: 17px;
    line-height: 1.22;
}

@media (max-width: 1100px) {
    .primary-navigation .sub-menu {
        position: static;
        display: grid;
        max-height: none;
        margin: 4px 0 8px 14px;
        padding: 4px 0 4px 10px;
        background: transparent;
        border: 0;
        border-left: 2px solid rgba(255, 255, 255, 0.12);
        border-radius: 0;
        box-shadow: none;
    }

    .primary-navigation .sub-menu::before {
        display: none;
    }

    .primary-navigation .sub-menu a {
        color: rgba(255, 255, 255, 0.88);
        white-space: normal;
    }

    .primary-navigation .sub-menu a:hover,
    .primary-navigation .sub-menu .current-cat > a,
    .primary-navigation .sub-menu .current-menu-item > a {
        background: var(--studio-red);
        color: #fff;
    }

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

@media (max-width: 760px) {
    .home-section__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .content-area--home {
        gap: 22px;
    }

    .topic-list__item {
        grid-template-columns: 116px minmax(0, 1fr);
        gap: 11px;
    }

    .topic-list__body h3 {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .topic-list__item {
        grid-template-columns: 1fr;
    }
}

/* v0.2.7 - stable dropdown navigation */
.primary-navigation .menu-item-has-children > a,
.primary-navigation .page_item_has_children > a {
    gap: 6px;
}

.primary-navigation .menu-item-has-children > a::after,
.primary-navigation .page_item_has_children > a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.85;
}

.primary-navigation li:hover > a,
.primary-navigation li:focus-within > a {
    color: #fff;
}

.primary-navigation .sub-menu {
    margin-top: 0;
}

.primary-navigation .sub-menu a::after {
    display: none;
}

@media (min-width: 1101px) {
    .primary-navigation li.menu-item-has-children::after,
    .primary-navigation li.page_item_has_children::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 10px;
    }
}

@media (max-width: 1100px) {
    .primary-navigation li {
        position: static;
    }

    .primary-navigation .sub-menu {
        position: static;
        display: grid;
        min-width: 0;
        max-height: none;
        overflow: visible;
        padding: 0 0 0 14px;
        margin: 0 0 4px;
        background: transparent;
        border: 0;
        border-left: 2px solid rgba(255, 255, 255, 0.12);
        border-radius: 0;
        box-shadow: none;
    }

    .primary-navigation .sub-menu::before {
        display: none;
    }

    .primary-navigation .sub-menu a {
        color: rgba(255, 255, 255, 0.88);
        white-space: normal;
    }

    .primary-navigation .sub-menu a:hover,
    .primary-navigation .sub-menu .current-cat > a,
    .primary-navigation .sub-menu .current-menu-item > a {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }
}

/* v0.2.8 - static pages */
.page-layout .page-content {
    min-height: 420px;
}

.page-header {
    margin-bottom: 18px;
}

.page-title {
    font-size: clamp(32px, 4vw, 48px);
}

.page-body {
    max-width: 860px;
}

.page-body > *:first-child {
    margin-top: 0;
}

.page-links {
    margin-top: 24px;
    font-weight: 800;
}

.studio-amp-ad {
    clear: both;
    margin: 24px 0;
    text-align: center;
}

.studio-amp-ad amp-ad {
    margin-left: auto;
    margin-right: auto;
}

/* ===== Studio footer desktop v0.2.15 ===== */
.site-footer.studio-footer {
    margin-top: 42px;
    padding: 52px 0 0;
    background: #1d1f23;
    color: #fff;
}

.studio-footer__grid {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr 0.9fr 1.15fr;
    gap: 54px;
    align-items: start;
}

.studio-footer__column,
.studio-footer .widget {
    min-width: 0;
}

.studio-footer .widget {
    margin: 0 0 22px;
}

.studio-footer h2,
.studio-footer .widget-title {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 17px;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
}

.studio-footer h2::after,
.studio-footer .widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 2px;
    background: #fff;
    opacity: 0.95;
}

.studio-footer p,
.studio-footer li,
.studio-footer .textwidget {
    color: #fff;
    font-size: 15px;
    line-height: 1.7;
}

.studio-footer p {
    margin: 0 0 18px;
}

.studio-footer a {
    color: #fff;
    text-decoration: none;
}

.studio-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.studio-footer__simple-list,
.studio-footer .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.studio-footer__simple-list li,
.studio-footer .widget li {
    position: relative;
    margin: 0 0 13px;
    padding-left: 16px;
}

.studio-footer__simple-list li::before,
.studio-footer .widget li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    font-weight: 900;
}

.studio-footer__column--support {
    text-align: center;
}

.studio-footer__column--support h2::after,
.studio-footer__column--support .widget-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.studio-footer__column--support img {
    display: block;
    width: auto;
    max-width: min(100%, 260px);
    height: auto;
    margin: 10px auto 28px;
}

.studio-footer__support-fallback {
    display: grid;
    gap: 22px;
    justify-items: center;
}

.studio-footer__support-fallback strong {
    display: block;
    color: #fff;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 0.95;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.studio-footer__support-fallback span {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
}

.studio-footer__popular-list {
    display: grid;
    gap: 0;
}

.studio-footer__popular-item {
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
}

.studio-footer__popular-link {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.studio-footer__popular-image {
    width: 88px;
    height: 58px;
    object-fit: cover;
    background: #111317;
}

.studio-footer__popular-image--placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.studio-footer__popular-body {
    min-width: 0;
}

.studio-footer__popular-category {
    display: block;
    margin: 0 0 5px;
    color: #fff;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;
}

.studio-footer__popular-title {
    display: block;
    color: #fff;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
}

.site-footer.studio-footer .site-footer__bottom {
    margin-top: 34px;
    padding: 22px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-menu--bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.footer-menu--bottom li {
    padding-left: 0;
    margin: 0;
}

.footer-menu--bottom li::before {
    display: none;
}

@media (max-width: 1100px) {
    .studio-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px;
    }
}

@media (max-width: 760px) {
    .site-footer.studio-footer {
        padding-top: 34px;
    }

    .studio-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .studio-footer__column--support {
        text-align: left;
    }

    .studio-footer__column--support h2::after,
    .studio-footer__column--support .widget-title::after {
        left: 0;
        transform: none;
    }

    .studio-footer__column--support img {
        margin-left: 0;
        margin-right: 0;
        max-width: 220px;
    }

    .studio-footer__popular-link {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .studio-footer__popular-image {
        width: 96px;
        height: 64px;
    }

    .footer-menu--bottom {
        display: grid;
        gap: 10px;
    }
}
/* ===== End Studio footer desktop v0.2.15 ===== */

/* ===== Studio news channels buttons v0.2.16 ===== */
.studio-news-channels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 34px auto 28px;
    max-width: 820px;
}

.studio-news-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 92px;
    padding: 18px 22px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    background: #fff;
    color: #111827;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.studio-news-channel:hover {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.studio-news-channel__icon {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    color: #fff;
    font-size: 26px;
    font-weight: 950;
    line-height: 1;
}

.studio-news-channel--whatsapp .studio-news-channel__icon {
    background: #25d366;
}

.studio-news-channel--telegram .studio-news-channel__icon {
    background: #229ed9;
}

.studio-news-channel--whatsapp {
    border-color: rgba(37, 211, 102, 0.26);
}

.studio-news-channel--telegram {
    border-color: rgba(34, 158, 217, 0.26);
}

.studio-news-channel__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.studio-news-channel__text span {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
}

.studio-news-channel__text strong {
    color: #111827;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.04em;
}

@media (max-width: 700px) {
    .studio-news-channels {
        grid-template-columns: 1fr;
        margin: 28px 0 24px;
    }

    .studio-news-channel {
        min-height: 82px;
        padding: 16px 18px;
        border-radius: 14px;
    }

    .studio-news-channel__icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 23px;
    }

    .studio-news-channel__text strong {
        font-size: 30px;
    }
}
/* ===== End Studio news channels buttons v0.2.16 ===== */

