/*
Theme Name: dds_sportsandfoods229.com
Author: Исаков Антон
Description: Информационная тема для сайта о хостинге и регистрации доменов. Тёмное оформление, ориентированное на длительное чтение технических руководств.
Version: 1.1
Text Domain: dds_sportsandfoods229
*/

/* Подключаемые шрифты ----------------------------------------- */
@import url("/assets/29e096d89dd727222ae2.css");

/* Базовые сбросы ---------------------------------------------- */
* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #0F1117;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 3px 3px, 3px 3px;
    background-position: 0 0, 1.5px 1.5px;
    color: #E6EDF3;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Кастомный скроллбар ----------------------------------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0F1117; }
::-webkit-scrollbar-thumb { background: #FF6B4A; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #FF8C69; }
html { scrollbar-color: #FF6B4A #0F1117; scrollbar-width: thin; }

/* Типографика ------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF;
    font-weight: 600;
    line-height: 1.25;
    margin: 1.4em 0 0.6em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
    margin: 0 0 1em;
    line-height: 1.7;
}

a {
    color: #FF6B4A;
    text-decoration: none;
    transition: color 0.18s ease;
}

a:hover { color: #FF8C69; text-decoration: underline; }

code, pre, .code-line {
    font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace;
    background-color: #1E1E2E;
    color: #E6EDF3;
    border-radius: 5px;
    font-size: 0.92em;
}

code { padding: 2px 6px; }

pre {
    padding: 14px 18px;
    overflow-x: auto;
    border-left: 3px solid #FF6B4A;
}

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

/* Таблицы ----------------------------------------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    border: 1px solid #2A2F3D;
}

th, td {
    border: 1px solid #2A2F3D;
    padding: 10px 12px;
    text-align: left;
}

th { background-color: #1A1D2A; color: #FFFFFF; font-weight: 600; }
tr:nth-child(even) td { background-color: rgba(26, 29, 42, 0.4); }

/* Контейнер сайта --------------------------------------------- */
.site-shell {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-main { flex: 1 0 auto; padding: 30px 0 60px; }

/* Шапка ------------------------------------------------------- */
.site-head {
    background-color: #14171F;
    border-bottom: 1px solid #2A2F3D;
    position: relative;
    overflow: hidden;
}

.site-head::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 107, 74, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 191, 0.04) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px;
    pointer-events: none;
}

.site-head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 22px 0;
    position: relative;
    z-index: 1;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

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

.brand-text { display: flex; flex-direction: column; }
.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.18rem;
    color: #FFFFFF;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.82rem;
    color: #9BA3B0;
    margin-top: 4px;
    max-width: 360px;
    line-height: 1.4;
}

/* Главное меню ------------------------------------------------ */
.head-nav { position: relative; }

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #2A2F3D;
    color: #E6EDF3;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    background: #E6EDF3;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.head-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
}

.head-menu li a {
    display: inline-block;
    padding: 8px 14px;
    color: #E6EDF3;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.18s ease, color 0.18s ease;
}

.head-menu li.current-menu-item a,
.head-menu li a:hover {
    background-color: rgba(255, 107, 74, 0.12);
    color: #FF8C69;
    text-decoration: none;
}

/* Подвал ------------------------------------------------------ */
.site-foot {
    background-color: #0B0D13;
    border-top: 1px solid #2A2F3D;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.site-foot::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 212, 191, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 74, 0.04) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px;
    pointer-events: none;
}

.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    padding: 50px 0 30px;
    position: relative;
    z-index: 1;
}

.foot-col h3, .foot-col .widget-title {
    color: #FFFFFF;
    font-size: 1.05rem;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2A2F3D;
}

.foot-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.foot-col ul li {
    padding: 5px 0;
}

.foot-col ul li a {
    color: #B7BEC8;
    transition: color 0.18s ease;
}

.foot-col ul li a:hover { color: #FF8C69; }

.foot-bottom {
    border-top: 1px solid #2A2F3D;
    padding: 22px 0;
    text-align: center;
    color: #8B92A0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Хлебные крошки --------------------------------------------- */
.breadcrumbs {
    font-size: 0.88rem;
    color: #8B92A0;
    margin-bottom: 22px;
    padding: 8px 0;
}

.breadcrumbs a { color: #2DD4BF; }
.breadcrumbs a:hover { color: #5DEAD9; }
.breadcrumbs .crumb-sep { color: #4B5363; margin: 0 8px; }

/* Сетка контента + сайдбар ----------------------------------- */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: 67% 27%;
    gap: 6%;
    align-items: start;
}

.layout-no-sidebar { width: 85%; margin: 0 auto; }

.layout-front { width: 85%; margin: 0 auto; }

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

/* Карточки записей -------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 24px 0;
}

.card {
    display: flex;
    flex-direction: column;
    background-color: #1A1D2A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.card-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #0F1117;
}

.card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-thumb img { transform: scale(1.04); }

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 20px 20px;
}

.card-title {
    margin: 0 0 8px;
    font-size: 1.18rem;
    line-height: 1.3;
}

.card-title a {
    color: #FFFFFF;
    text-decoration: none;
}

.card-title a:hover { color: #FF8C69; }

.card-meta {
    font-size: 0.82rem;
    color: #8B92A0;
    margin-bottom: 10px;
}

.card-meta .meta-date { color: #2DD4BF; }
.card-meta .meta-cat { margin-left: 10px; }

.card-excerpt {
    color: #B7BEC8;
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 14px;
}

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

.card-cta {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FF6B4A, #FF8C69);
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    align-self: flex-start;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.card-cta:hover {
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(255, 107, 74, 0.35);
    transform: translateY(-1px);
}

/* Горизонтальные карточки (используются на главной) ----------- */
.h-card {
    display: flex;
    flex-direction: row;
    background-color: #1A1D2A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
}

.h-card .card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
}

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

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

.h-card .card-body {
    flex: 1;
    padding: 20px 24px;
}

/* Сайдбар ----------------------------------------------------- */
.sidebar {
    background-color: #1A1D2A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 22px;
    position: sticky;
    top: 24px;
}

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

.sidebar .widget:last-child { margin-bottom: 0; }

.sidebar .widget-title,
.sidebar h2 {
    color: #FFFFFF;
    font-size: 1.05rem;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2A2F3D;
}

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

.sidebar ul li {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.sidebar ul li:last-child { border-bottom: 0; }

.sidebar ul li a {
    color: #B7BEC8;
    font-size: 0.95rem;
    transition: color 0.18s ease;
}

.sidebar ul li a:hover { color: #FF8C69; }

/* Карта знаний (виджет в сайдбаре) ---------------------------- */
.km-widget {
    background-color: #1A1D2A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 24px;
}

.km-widget h3 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #2A2F3D;
}

.km-nodes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.km-node {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background-color: rgba(255, 107, 74, 0.06);
    border-left: 3px solid #FF6B4A;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #E6EDF3;
    transition: background 0.18s ease;
}

.km-node:hover { background-color: rgba(255, 107, 74, 0.14); }

.km-node-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B4A, #FF8C69);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    flex-shrink: 0;
}

.km-node.km-node-active {
    background-color: rgba(45, 212, 191, 0.1);
    border-left-color: #2DD4BF;
}

/* Основные блоки главной -------------------------------------- */
.front-block {
    background-color: #1A1D2A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 32px 30px;
    margin-bottom: 32px;
}

.front-block h2 {
    margin-top: 0;
}

.front-block-lead {
    color: #B7BEC8;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

/* Шкала скорости (CSS-индикатор) ------------------------------ */
.speed-gauge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: rgba(45, 212, 191, 0.08);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #2DD4BF;
    font-weight: 500;
}

.speed-gauge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2DD4BF;
    opacity: 0.25;
}

.speed-gauge-dot.is-on { opacity: 1; }

/* Двухколоночная компоновка внутри блоков --------------------- */
.two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.feature-card {
    background-color: rgba(15, 17, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 18px 20px;
}

.feature-card h3 { margin-top: 0; font-size: 1.1rem; }
.feature-card p:last-child { margin-bottom: 0; }

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.18), rgba(45, 212, 191, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-icon svg { width: 22px; height: 22px; }

/* Шаги в блоках ---------------------------------------------- */
.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.step-card {
    padding: 14px;
    background-color: rgba(15, 17, 23, 0.5);
    border-radius: 8px;
    border-top: 3px solid #FF6B4A;
}

.step-num {
    color: #2DD4BF;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.step-card h4 { margin: 0 0 6px; font-size: 0.98rem; }
.step-card p { margin: 0; font-size: 0.88rem; color: #9BA3B0; }

/* Кнопки ------------------------------------------------------ */
.btn-primary {
    display: inline-block;
    padding: 11px 22px;
    background: linear-gradient(135deg, #FF6B4A, #FF8C69);
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 500;
    border: 0;
    cursor: pointer;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-primary:hover {
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(255, 107, 74, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 9px 20px;
    background-color: transparent;
    color: #2DD4BF;
    border: 1px solid #2DD4BF;
    border-radius: 20px;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
}

.btn-secondary:hover {
    background-color: rgba(45, 212, 191, 0.85);
    color: #0F1117;
    text-decoration: none;
}

/* Запись (single) -------------------------------------------- */
.single-article {
    background-color: #1A1D2A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 32px 36px;
}

.single-article h1 { margin-top: 0; }

.single-meta {
    color: #8B92A0;
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.single-meta .meta-date { color: #2DD4BF; margin-right: 12px; }
.single-meta .meta-cat a { color: #FF8C69; }

.single-thumb {
    margin: 0 -36px 24px;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

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

.single-content { font-size: 1.02rem; }
.single-content blockquote {
    border-left: 3px solid #FF6B4A;
    margin: 1.4em 0;
    padding: 6px 18px;
    color: #B7BEC8;
    background-color: rgba(15, 17, 23, 0.4);
    border-radius: 0 6px 6px 0;
}

.single-content ul, .single-content ol { padding-left: 22px; }
.single-content li { margin: 4px 0; }

.single-share {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #2A2F3D;
    color: #8B92A0;
    font-size: 0.9rem;
}

/* Пагинация --------------------------------------------------- */
.dds-pagination {
    margin: 36px 0 8px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.dds-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background-color: #1A1D2A;
    border: 1px solid #2A2F3D;
    border-radius: 8px;
    color: #E6EDF3;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
}

.dds-pagination .page-numbers:hover {
    background-color: rgba(255, 107, 74, 0.15);
    color: #FF8C69;
}

.dds-pagination .page-numbers.current {
    background: linear-gradient(135deg, #FF6B4A, #FF8C69);
    color: #FFFFFF;
    border-color: transparent;
}

.dds-pagination .page-numbers.dots {
    background: transparent;
    border: 0;
}

/* Форма поиска ----------------------------------------------- */
.search-form {
    display: flex;
    gap: 8px;
    align-items: stretch;
    max-width: 460px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    background-color: #14171F;
    border: 1px solid #2A2F3D;
    border-radius: 8px;
    color: #E6EDF3;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.search-form input[type="search"]:focus { border-color: #FF6B4A; }

.search-form button {
    padding: 10px 18px;
    background: linear-gradient(135deg, #FF6B4A, #FF8C69);
    color: #FFFFFF;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

/* 404 --------------------------------------------------------- */
.error-404-wrap {
    text-align: center;
    padding: 50px 20px;
    background-color: #1A1D2A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.error-404-wrap .big-404 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 5rem;
    font-weight: 700;
    color: #FF6B4A;
    line-height: 1;
    margin: 0 0 14px;
}

.error-404-wrap .search-form {
    margin: 24px auto;
}

/* Комментарии ------------------------------------------------- */
.comments-area {
    margin-top: 36px;
    background-color: #1A1D2A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 28px 30px;
}

.comments-area h2 { margin-top: 0; font-size: 1.4rem; }

.comments-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.comments-list li {
    padding: 16px 0;
    border-bottom: 1px solid #2A2F3D;
}

.comments-list li:last-child { border-bottom: 0; }

.comment-meta {
    font-size: 0.85rem;
    color: #8B92A0;
    margin-bottom: 6px;
}

.comment-meta .comment-author {
    color: #2DD4BF;
    font-weight: 600;
    margin-right: 10px;
}

.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 4px; color: #B7BEC8; font-size: 0.92rem; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    background-color: #14171F;
    border: 1px solid #2A2F3D;
    border-radius: 8px;
    color: #E6EDF3;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus { border-color: #FF6B4A; }

.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .form-submit input { cursor: pointer; }

/* Cookie-баннер ----------------------------------------------- */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background-color: #14171F;
    border: 1px solid #FF6B4A;
    border-radius: 10px;
    padding: 16px 20px;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.cookie-banner-text {
    flex: 1;
    min-width: 240px;
    color: #B7BEC8;
    font-size: 0.92rem;
}

.cookie-banner-btn {
    padding: 9px 20px;
    background: linear-gradient(135deg, #FF6B4A, #FF8C69);
    color: #FFFFFF;
    border: 0;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: box-shadow 0.18s ease;
}

.cookie-banner-btn:hover { box-shadow: 0 8px 18px rgba(255, 107, 74, 0.4); }

/* Адаптивность ------------------------------------------------ */
@media (max-width: 960px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sidebar { position: static; }
    .layout-no-sidebar, .layout-front { width: 100%; }
    .foot-cols { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 22px; }
    .two-col { grid-template-columns: 1fr; }
    .steps-row { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: 1fr; }
    .single-thumb { margin-left: -24px; margin-right: -24px; }
}

@media (max-width: 600px) {
    body { font-size: 15px; }
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }

    .menu-toggle { display: inline-block; }

    .head-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 52px;
        right: 0;
        background-color: #14171F;
        border: 1px solid #2A2F3D;
        border-radius: 10px;
        padding: 8px;
        min-width: 220px;
        z-index: 200;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.5);
    }

    .head-menu.is-open { display: flex; }
    .head-menu li { width: 100%; }
    .head-menu li a { display: block; }

    .single-article { padding: 22px 18px; }
    .single-thumb { margin: 0 -18px 20px; aspect-ratio: 16 / 9; }

    .front-block { padding: 22px 18px; }
    .steps-row { grid-template-columns: 1fr; }

    .h-card { flex-direction: column; }
    .h-card .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }
    .h-card .card-thumb-wrap a { position: static; }
    .h-card .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .cookie-banner { flex-direction: column; align-items: stretch; }
    .cookie-banner-btn { width: 100%; }
}
