/*
Theme Name: dds_scientcontopped.com
Theme URI: https://scientcontopped.com/
Author: Иван Румянцев
Author URI: https://scientcontopped.com/
Description: Тема для информационного сайта с разборами и объяснениями по разным темам. Лавандовая технологичная палитра, адаптивная вёрстка, лента материалов с собственным шаблоном.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: sctop
*/

:root {
    --bg-main: #F8F6FC;
    --bg-alt: #F0ECF9;
    --bg-top: #2A1B4D;
    --bg-bottom: #1A0F30;
    --ink: #1E1428;
    --ink-soft: #8A7A9E;
    --accent: #9F7BFF;
    --accent-2: #C9AFFF;
    --white: #FFFFFF;
    --shadow-card: 0 4px 18px rgba(201, 175, 255, 0.2);
    --shadow-card-hi: 0 10px 30px rgba(201, 175, 255, 0.45);
    --font-head: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-text: "Spectral", "Literata", "Georgia", "Times New Roman", serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    background-image: radial-gradient(rgba(159, 123, 255, 0.10) 1px, transparent 1px);
    background-size: 28px 28px;
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.75;
    overflow-x: hidden;
}

.shell {
    width: min(92%, 1180px);
    margin-inline: auto;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    position: relative;
}

.entry-text a,
.card-excerpt a,
.page-lead a {
    display: inline;
}

.entry-text a::after,
.card-excerpt a::after,
.brand-name::after,
.card-title a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-image: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px);
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 0.2s ease;
}

.entry-text a:hover::after,
.card-excerpt a:hover::after,
.brand-name:hover::after,
.card-title a:hover::after {
    transform: scaleY(1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.25;
    margin: 0 0 0.6em;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 3.5rem;
}

.entry-text h2,
.entry-text h3 {
    position: relative;
    padding-left: 20px;
    margin-top: 1.8em;
}

.entry-text h2::before,
.entry-text h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--accent);
}

.entry-text h2 {
    font-size: 1.9rem;
}

.entry-text h3 {
    font-size: 1.45rem;
}

p {
    margin: 0 0 1.1em;
}

.entry-text ul,
.entry-text ol {
    margin: 0 0 1.3em;
    padding-left: 1.4em;
}

.entry-text li {
    margin-bottom: 0.5em;
}

.entry-text blockquote {
    margin: 1.6em 0;
    padding: 0.6em 1.4em;
    border-left: 3px solid var(--accent);
    font-style: italic;
    font-size: 1.15rem;
    color: #3A2B52;
}

.entry-text img {
    display: block;
    border-radius: 10px;
}

.entry-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid var(--accent-2);
    font-size: 0.95rem;
}

.entry-text th,
.entry-text td {
    border: 1px solid var(--accent-2);
    padding: 0.7em 0.9em;
    text-align: left;
}

.entry-text th {
    background: var(--bg-alt);
    font-family: var(--font-head);
}

/* --- Кнопки --- */

.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.85em 1.6em;
    border-radius: 6px;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-fill {
    background: var(--accent);
    color: var(--white);
}

.btn-fill:hover,
.btn-fill:focus {
    background: #8A62F0;
    box-shadow: 0 0 18px rgba(159, 123, 255, 0.65);
    color: var(--white);
}

.btn-line {
    background: transparent;
    color: var(--accent);
}

.btn-line:hover,
.btn-line:focus {
    box-shadow: 0 0 18px rgba(159, 123, 255, 0.45);
    background: rgba(159, 123, 255, 0.1);
}

/* --- Декор страницы --- */

.neon-line {
    height: 4px;
    width: 100%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(159, 123, 255, 0.8);
}

.page-glow {
    position: fixed;
    right: -120px;
    bottom: -140px;
    width: 460px;
    height: 420px;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(201, 175, 255, 0.55), rgba(201, 175, 255, 0));
    filter: blur(30px);
    border-radius: 58% 42% 37% 63% / 44% 56% 44% 56%;
}

/* --- Шапка --- */

.top-zone {
    background: var(--bg-top);
    color: #EDE7FA;
    padding: 1.4rem 0;
}

.top-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    flex: 1 1 260px;
}

.brand-mark {
    display: block;
    flex: 0 0 auto;
}

.brand-logo {
    display: block;
    width: 52px;
    height: auto;
    border-radius: 8px;
}

.brand-text {
    min-width: 0;
}

.brand-name {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.08rem;
    color: #FFFFFF;
    line-height: 1.3;
}

.brand-note {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #B4A5D4;
    max-width: 46ch;
}

.top-nav {
    flex: 0 1 auto;
}

.top-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-menu a {
    font-family: var(--font-head);
    font-size: 0.97rem;
    color: #EDE7FA;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.top-menu a:hover,
.top-menu .current-menu-item > a {
    color: var(--accent-2);
    border-bottom-color: var(--accent);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 2px solid var(--accent);
    border-radius: 6px;
    color: #EDE7FA;
    font-family: var(--font-head);
    padding: 0.5em 0.9em;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--accent-2);
}

.nav-toggle-text {
    margin-left: 4px;
    font-size: 0.9rem;
}

/* --- Основная сетка --- */

.page-main {
    padding: 2.6rem 0 3.6rem;
}

.layout-single {
    display: block;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 6%;
    align-items: start;
}

.content-area {
    min-width: 0;
}

.sidebar {
    min-width: 0;
    background: var(--white);
    border: 1px solid rgba(159, 123, 255, 0.25);
    border-radius: 12px;
    padding: 1.5rem 1.4rem;
}

/* --- Хлебные крошки --- */

.crumbs {
    font-size: 0.86rem;
    color: var(--ink-soft);
    margin-bottom: 1.6rem;
    font-family: var(--font-head);
}

.crumbs a {
    color: var(--ink-soft);
}

.crumbs a:hover {
    color: var(--accent);
}

.crumbs .sep {
    color: var(--accent-2);
    margin: 0 0.2em;
}

/* --- Заголовки страниц и секций --- */

.page-head {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.6rem;
    margin-bottom: 0.4em;
}

.page-lead {
    color: #4A3B63;
    font-size: 1.05rem;
    margin: 0;
}

.fs-title {
    position: relative;
    font-size: 2rem;
    padding-left: 22px;
    margin-bottom: 1.6rem;
    display: block;
}

.fs-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--accent);
}

.fs-title::after {
    content: "";
    display: block;
    width: 66%;
    height: 2px;
    background: var(--accent-2);
    margin-top: 0.5rem;
}

.fs-title-light {
    color: var(--white);
}

.fs-title-light::after {
    background: var(--accent);
}

/* --- Секции главной --- */

.home-flow {
    display: block;
}

.fs {
    padding: 3rem 0;
}

.fs-hero {
    background: linear-gradient(135deg, #2A1B4D 0%, #1A0F30 100%);
    border-radius: 14px;
    padding: 4rem 2.6rem;
    text-align: center;
    color: #EFEAFB;
}

.fs-hero-inner {
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    text-shadow: 0 0 34px rgba(159, 123, 255, 0.45);
    margin-bottom: 0.5em;
}

.hero-title .hl {
    color: var(--accent);
}

.hero-sub {
    color: #D8CFF0;
    font-size: 1.12rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

.fs-check {
    background: var(--bg-alt);
    border-radius: 14px;
    padding: 3rem 2.4rem;
    margin-top: 3rem;
}

.check-plate {
    border: 2px dashed var(--accent-2);
    border-radius: 12px;
    background: var(--white);
    padding: 1.8rem 1.8rem;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-item {
    position: relative;
    padding-left: 2.2rem;
    margin-bottom: 1rem;
    min-width: 0;
}

.check-item:last-child {
    margin-bottom: 0;
}

.check-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 14px;
    height: 8px;
    border-left: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    transform: rotate(-45deg);
}

.fs-latest {
    padding-top: 3.4rem;
}

.fs-stats {
    background: linear-gradient(135deg, #2A1B4D 0%, #9F7BFF 100%);
    border-radius: 14px;
    padding: 3rem 2.4rem;
    color: var(--white);
}

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

.stat-cell {
    min-width: 0;
}

.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.1;
    color: #F2ECFF;
}

.stat-note {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.86);
}

.fs-duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.6rem;
    align-items: center;
    padding-top: 3.4rem;
}

.duo-text {
    min-width: 0;
}

.duo-art {
    min-width: 0;
}

.duo-svg {
    display: block;
    width: 100%;
    height: auto;
}

.empty-note {
    color: var(--ink-soft);
}

/* --- Карточки записей --- */

.card-stack {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hi);
    background: #FDFCFF;
}

.card-thumb-wrap {
    flex: 0 0 260px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

.card-body {
    flex: 1;
    min-width: 0;
    padding: 1.5rem 1.6rem;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.card-title a {
    color: var(--ink);
}

.card-title a:hover {
    color: var(--accent);
}

.card-meta {
    font-family: var(--font-head);
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin-bottom: 0.8rem;
}

.card-meta .meta-cat {
    color: var(--accent);
}

.meta-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--accent-2);
    vertical-align: middle;
    margin: 0 0.3em;
}

.card-excerpt {
    color: #3F3352;
    font-size: 0.98rem;
}

.card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}

.card-more {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 0.4rem;
    border-bottom: 1px dashed transparent;
}

.card-more:hover {
    border-bottom-color: var(--accent);
}

@media (min-width: 601px) {
    .card {
        flex-direction: row;
    }
    .card-thumb-wrap {
        border-radius: 12px 0 0 12px;
    }
    .card-body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Запись --- */

.single-cover {
    margin: 0 0 1.8rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.single-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.single-meta {
    font-family: var(--font-head);
    font-size: 0.86rem;
    color: var(--ink-soft);
}

.entry-text {
    font-size: 1.04rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0 0;
}

.tag-chip {
    font-family: var(--font-head);
    font-size: 0.84rem;
    padding: 0.35em 0.8em;
    border: 1px solid var(--accent-2);
    border-radius: 6px;
    color: var(--accent);
}

.tag-chip:hover {
    background: rgba(159, 123, 255, 0.12);
}

.post-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(159, 123, 255, 0.25);
    font-family: var(--font-head);
    font-size: 0.92rem;
}

.jump-link {
    max-width: 46%;
    min-width: 0;
}

/* --- Пагинация --- */

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.4rem;
}

.pager .page-numbers {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.94rem;
    padding: 0.55em 0.95em;
    border: 2px solid var(--accent-2);
    border-radius: 6px;
    color: var(--accent);
    background: var(--white);
    transition: box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.pager .page-numbers:hover {
    box-shadow: 0 0 14px rgba(159, 123, 255, 0.45);
    background: rgba(159, 123, 255, 0.1);
}

.pager .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.pager .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: var(--ink-soft);
}

/* --- Формы --- */

.find-form {
    margin: 0 0 1.4rem;
}

.find-label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.86rem;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}

.find-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.find-input {
    flex: 1 1 160px;
    min-width: 0;
    padding: 0.7em 0.9em;
    border: 2px solid var(--accent-2);
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 0.96rem;
}

.find-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(159, 123, 255, 0.4);
}

.lost-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2.6rem;
}

.lost-tools .find-form {
    flex: 1 1 280px;
    min-width: 0;
    margin-bottom: 0;
}

/* --- Комментарии --- */

.talk {
    margin-top: 3rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    padding: 2rem 1.9rem;
}

.talk-title {
    font-size: 1.5rem;
}

.talk-list {
    list-style: none;
    margin: 0 0 1.6rem;
    padding: 0;
}

.talk-list .children {
    list-style: none;
    margin: 1rem 0 0 1.4rem;
    padding: 0;
}

.talk-item {
    margin-bottom: 1.4rem;
}

.talk-body {
    border-left: 3px solid var(--accent-2);
    padding-left: 1.1rem;
}

.talk-head {
    font-family: var(--font-head);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.talk-author {
    font-weight: 700;
}

.talk-date {
    color: var(--ink-soft);
    margin-left: 0.5em;
}

.talk-text p {
    margin: 0 0 0.7em;
}

.talk-tools {
    font-family: var(--font-head);
    font-size: 0.88rem;
}

.talk-hold {
    color: var(--ink-soft);
    font-style: italic;
}

.comment-respond {
    margin-top: 1.4rem;
}

.comment-reply-title {
    font-size: 1.25rem;
}

.talk-field {
    display: block;
    margin-bottom: 1rem;
}

.talk-field label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
}

.talk-field input,
.talk-field textarea {
    width: 100%;
    padding: 0.7em 0.9em;
    border: 2px solid var(--accent-2);
    border-radius: 6px;
    background: var(--bg-main);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 0.96rem;
}

.talk-field input:focus,
.talk-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(159, 123, 255, 0.35);
}

.comment-form-cookies-consent {
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.comment-form-cookies-consent input {
    margin-right: 0.4em;
}

/* --- Сайдбар --- */

.side-block {
    margin-bottom: 1.8rem;
}

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

.side-block-title {
    position: relative;
    font-size: 1.12rem;
    color: var(--ink);
    padding-left: 18px;
    margin-bottom: 0.8rem;
}

.side-block-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--accent);
}

.side-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-block li {
    margin-bottom: 0.7rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(159, 123, 255, 0.18);
    font-size: 0.95rem;
    line-height: 1.5;
}

.side-block li:last-child {
    border-bottom: none;
}

.side-block a {
    color: #2E2140;
}

.side-block a:hover {
    color: var(--accent);
}

.side-block .post-date {
    display: block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.side-block p {
    color: #3F3352;
    font-size: 0.95rem;
}

/* --- Подвал --- */

.bottom-zone {
    background: var(--bg-bottom);
    color: #D6CDEC;
    padding: 3rem 0 1.8rem;
}

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

.bottom-col {
    min-width: 0;
}

.foot-block {
    margin-bottom: 1.6rem;
}

.foot-block-title {
    position: relative;
    font-size: 1.05rem;
    color: #FFFFFF;
    padding-left: 18px;
    margin-bottom: 0.8rem;
}

.foot-block-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--accent);
}

.bottom-zone p,
.bottom-zone li,
.bottom-zone .textwidget {
    color: #D6CDEC;
    font-size: 0.94rem;
    line-height: 1.65;
}

.bottom-zone a {
    color: var(--accent-2);
}

.bottom-zone a:hover {
    color: var(--white);
}

.bottom-zone ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bottom-zone li {
    margin-bottom: 0.55rem;
}

.bottom-zone .post-date {
    display: block;
    color: #9C8DBE;
    font-size: 0.82rem;
    font-family: var(--font-head);
}

.bottom-rights {
    margin: 2.2rem 0 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(159, 123, 255, 0.28);
    font-family: var(--font-head);
    font-size: 0.86rem;
    color: #A695C8;
}

/* --- Cookie --- */

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

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--bg-top);
    color: #EAE3F8;
    padding: 1.1rem 1.6rem;
    box-shadow: 0 -6px 24px rgba(26, 15, 48, 0.35);
}

.cookie-text {
    margin: 0;
    font-size: 0.92rem;
    max-width: 70ch;
    min-width: 0;
}

/* --- Адаптив --- */

@media (max-width: 960px) {
    h1 {
        font-size: 2.6rem;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .page-title {
        font-size: 2.1rem;
    }
    .layout-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.4rem;
    }
    .layout-single {
        width: 100%;
    }
    .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fs-duo {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.8rem;
    }
    .bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }
    h1 {
        font-size: 2.1rem;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .page-title {
        font-size: 1.8rem;
    }
    .fs-title {
        font-size: 1.6rem;
    }
    .nav-toggle {
        display: flex;
    }
    .top-nav {
        flex: 1 1 100%;
        display: none;
    }
    .top-nav.is-open {
        display: block;
    }
    .top-menu {
        flex-direction: column;
        gap: 0.8rem;
        padding-top: 0.8rem;
    }
    .fs {
        padding: 2rem 0;
    }
    .fs-hero {
        padding: 2.4rem 1.4rem;
    }
    .fs-check {
        padding: 2rem 1.4rem;
        margin-top: 2rem;
    }
    .check-plate {
        padding: 1.3rem 1.2rem;
    }
    .fs-stats {
        padding: 2rem 1.4rem;
    }
    .stats-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.2rem;
    }
    .stat-num {
        font-size: 2.3rem;
    }
    .sidebar {
        padding: 1.2rem 1.1rem;
    }
    .talk {
        padding: 1.4rem 1.2rem;
    }
    .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
        border-radius: 12px 12px 0 0;
    }
    .card-thumb-wrap a {
        position: static;
    }
    .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .card-body {
        padding: 1.2rem 1.2rem;
    }
    .bottom-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .cookie-banner {
        padding: 1rem 1.1rem;
    }
    .jump-link {
        max-width: 100%;
    }
    .page-glow {
        display: none;
    }
}
