/*
Theme Name: dds_josephschianodilombo.com
Author: Орлов Фёдор
Description: Авторская тема для блога об искусстве, музыке и творчестве. Минималистичный ар-деко в сочетании с современным блочным дизайном.
Version: 1.1
Text Domain: dds_josephschianodilombo
*/

/* ===== Переменные ===== */
:root {
    --bg-sand: #F7F4EB;
    --bg-sand-deep: #EFEADD;
    --ink: #1E282F;
    --ink-soft: #3F4C55;
    --terracotta: #C75C3A;
    --terracotta-dark: #A94A2C;
    --gold: #E1B87C;
    --gold-soft: #F0D8AE;
    --line: #D9CFB6;
    --white: #FFFFFF;
    --max: 1180px;
    --serif: "Georgia", "Playfair Display", "Times New Roman", serif;
    --sans: "Inter", "Helvetica Neue", "Arial", sans-serif;
    --hand: "Caveat", "Dancing Script", "Brush Script MT", cursive;
}

/* ===== Сброс ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--bg-sand);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
figure { margin: 1.5em 0; }

a { color: var(--terracotta); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta-dark); }

.entry-content a,
.widget a {
    border-bottom: 1px dotted transparent;
    transition: border-color .2s, color .2s;
}
.entry-content a:hover,
.widget a:hover {
    border-bottom-color: var(--gold);
    color: var(--terracotta-dark);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    color: var(--ink);
    line-height: 1.25;
    margin: 1.4em 0 .6em;
    letter-spacing: .01em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.12rem; }

blockquote {
    margin: 1.5em 0;
    padding: .4em 0 .4em 1.2em;
    border-left: 4px solid var(--terracotta);
    font-family: var(--hand);
    font-size: 1.35rem;
    color: var(--ink-soft);
    background: none;
}
blockquote p { background: none; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid var(--line);
}
th, td {
    padding: .65em .85em;
    border: 1px solid var(--line);
    text-align: left;
}
th {
    background: var(--bg-sand-deep);
    font-weight: 600;
}

code {
    font-family: "Menlo", "Monaco", monospace;
    background: var(--bg-sand-deep);
    padding: .1em .35em;
    border-radius: 3px;
    font-size: .92em;
}
pre {
    background: var(--bg-sand-deep);
    padding: 1em;
    border-radius: 6px;
    overflow-x: auto;
    border-left: 3px solid var(--gold);
}

/* ===== Контейнеры ===== */
.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 40px 0 60px;
}
.layout.has-sidebar {
    grid-template-columns: 67% 27%;
    gap: 6%;
}
.layout.no-sidebar {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}
.layout.full-wide {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
}

/* ===== Кнопки ===== */
.btn,
.btn-quill {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .65em 1.3em;
    border: 1px solid var(--terracotta);
    border-radius: 8px;
    background: transparent;
    color: var(--terracotta);
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .02em;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.btn:hover,
.btn-quill:hover {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}
.btn-quill::before {
    content: "";
    width: 14px;
    height: 14px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.5 3.5c-3 .2-6 1.5-8.4 3.6-2.4 2.1-4 4.9-4.7 7.9l-2.7 2.7 1.4 1.4 2.7-2.7c3-.7 5.8-2.3 7.9-4.7 2.1-2.4 3.4-5.4 3.6-8.4l.2-.2zM5 19l-2 2 1 1 2-2-1-1z'/></svg>") no-repeat center / contain;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.5 3.5c-3 .2-6 1.5-8.4 3.6-2.4 2.1-4 4.9-4.7 7.9l-2.7 2.7 1.4 1.4 2.7-2.7c3-.7 5.8-2.3 7.9-4.7 2.1-2.4 3.4-5.4 3.6-8.4l.2-.2zM5 19l-2 2 1 1 2-2-1-1z'/></svg>") no-repeat center / contain;
    flex-shrink: 0;
}

/* ===== Шапка ===== */
.site-header {
    background: var(--bg-sand);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--ink);
}
.brand-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .02em;
}
.brand-desc {
    font-size: .85rem;
    color: var(--ink-soft);
    margin-top: 2px;
    max-width: 420px;
}

/* Главное меню */
.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}
.main-nav li { position: relative; }
.main-nav a {
    display: block;
    padding: .55em .9em;
    color: var(--ink);
    font-family: var(--sans);
    font-size: .98rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
    color: var(--terracotta);
    border-bottom-color: var(--gold);
}
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 6px 20px rgba(30,40,47,.08);
    min-width: 220px;
    padding: 6px 0;
    display: none;
    flex-direction: column;
    z-index: 30;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { display: flex; }

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--terracotta);
    color: var(--terracotta);
    border-radius: 6px;
    padding: .45em .9em;
    cursor: pointer;
    font-family: var(--sans);
    font-size: .95rem;
}

/* ===== Хлебные крошки ===== */
.crumbs {
    margin: 18px 0 0;
    font-size: .9rem;
    color: var(--ink-soft);
    font-family: var(--sans);
}
.crumbs a { color: var(--ink-soft); border-bottom: 1px dotted transparent; }
.crumbs a:hover { color: var(--terracotta); border-bottom-color: var(--gold); }
.crumbs .sep { margin: 0 .45em; color: var(--gold); }
.crumbs .current { color: var(--ink); }

/* ===== Главная — секции ===== */
.front-block {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 36px 32px;
    margin: 28px 0;
    position: relative;
}
.front-block::before {
    content: "";
    position: absolute;
    top: 0; left: 28px;
    width: 60px; height: 3px;
    background: var(--terracotta);
}
.front-block h2 {
    margin-top: 0;
    font-size: 1.7rem;
}
.front-block .lead {
    font-size: 1.08rem;
    color: var(--ink-soft);
    max-width: 760px;
}

.front-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 22px;
}
.front-grid .item {
    background: var(--bg-sand);
    padding: 20px;
    border-radius: 8px;
    border-top: 3px solid var(--gold);
}
.front-grid .item h3 {
    margin: 0 0 .4em;
    font-size: 1.1rem;
    color: var(--terracotta);
}
.front-grid .item p {
    margin: 0;
    font-size: .96rem;
    color: var(--ink-soft);
}

.front-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 22px;
    counter-reset: step;
}
.front-steps .step {
    padding: 18px;
    background: var(--bg-sand);
    border-radius: 8px;
    position: relative;
}
.front-steps .step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 6px;
    font-weight: 700;
}
.front-steps .step h4 {
    margin: 0 0 .35em;
    font-size: 1.05rem;
}
.front-steps .step p {
    margin: 0;
    font-size: .92rem;
    color: var(--ink-soft);
}

/* Лента последних записей на главной — «вертикальный свиток» */
.scroll-feed {
    margin: 28px 0;
}
.scroll-feed h2 {
    text-align: center;
    margin-bottom: 6px;
    font-size: 1.7rem;
}
.scroll-feed h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 14px auto 0;
}
.scroll-feed .feed-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid var(--gold);
}
.scroll-feed .feed-item:last-child { border-bottom: none; }
.scroll-feed .feed-thumb {
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    background: var(--bg-sand-deep);
}
.scroll-feed .feed-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1) sepia(.25);
    transition: filter .35s, transform .5s;
}
.scroll-feed .feed-item:hover .feed-thumb img {
    filter: grayscale(0) sepia(0);
    transform: scale(1.03);
}
.scroll-feed .feed-title {
    font-size: 1.35rem;
    margin: 0 0 .4em;
    font-family: var(--serif);
}
.scroll-feed .feed-title a { color: var(--ink); }
.scroll-feed .feed-title a:hover { color: var(--terracotta); }
.scroll-feed .feed-meta {
    font-size: .85rem;
    color: var(--ink-soft);
    margin-bottom: .6em;
    font-family: var(--sans);
}
.scroll-feed .feed-excerpt p { margin: 0 0 .7em; background: none; }

/* ===== Карточки записей (списки) ===== */
.cards-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.card:hover {
    box-shadow: 0 8px 28px rgba(30,40,47,.09);
    transform: translateY(-2px);
}
.card-row {
    flex-direction: row;
}
.card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
    background: var(--bg-sand-deep);
}
.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;
    filter: grayscale(1) sepia(.25);
    transition: filter .35s, transform .5s;
}
.card:hover .card-thumb-wrap img {
    filter: grayscale(0) sepia(0);
    transform: scale(1.04);
}
.card-body {
    flex: 1;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
}
.card-meta {
    font-family: var(--sans);
    font-size: .85rem;
    color: var(--ink-soft);
    margin-bottom: 6px;
}
.card-meta a { color: var(--terracotta); }
.card-title {
    margin: 0 0 .4em;
    font-size: 1.32rem;
    line-height: 1.3;
    font-family: var(--serif);
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--terracotta); }
.card-excerpt {
    color: var(--ink-soft);
    margin-bottom: 14px;
    flex: 1;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-actions { margin-top: auto; }

/* ===== Запись / страница ===== */
.entry-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.entry-title {
    margin: .15em 0;
    font-size: 2.1rem;
    line-height: 1.2;
}
.entry-meta {
    font-family: var(--sans);
    font-size: .9rem;
    color: var(--ink-soft);
    margin-top: 8px;
}
.entry-meta a { color: var(--terracotta); }
.entry-thumb {
    margin: 0 0 28px;
    border-radius: 10px;
    overflow: hidden;
}
.entry-thumb img { display: block; width: 100%; }
.entry-content {
    font-size: 1.05rem;
    line-height: 1.78;
}
.entry-content img { border-radius: 6px; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.6em; margin: 1em 0; }
.entry-content li { margin-bottom: .4em; }

.entry-footer {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-family: var(--sans);
    font-size: .92rem;
    color: var(--ink-soft);
}
.tag-chip {
    display: inline-block;
    padding: .15em .7em;
    margin: 0 4px 4px 0;
    border: 1px solid var(--gold);
    border-radius: 100px;
    font-size: .82rem;
    color: var(--ink-soft);
    background: transparent;
}
.tag-chip:hover { background: var(--gold-soft); color: var(--ink); }

/* ===== Сайдбар «мастерская» ===== */
.sidebar { font-family: var(--sans); }
.sidebar .widget {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 22px;
    position: relative;
}
.sidebar .widget::before {
    content: "";
    position: absolute;
    top: -1px; left: 16px;
    width: 32px; height: 4px;
    background: var(--terracotta);
    border-radius: 0 0 3px 3px;
}
.sidebar .widget-title {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--ink);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar ul li {
    padding: 6px 0;
    border-bottom: 1px dotted var(--line);
    font-size: .95rem;
}
.sidebar ul li:last-child { border-bottom: none; }
.sidebar ul li a { color: var(--ink); }
.sidebar ul li a:hover { color: var(--terracotta); }

/* Форма поиска */
.search-form {
    display: flex;
    gap: 8px;
}
.search-form input[type="search"] {
    flex: 1;
    padding: .55em .8em;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg-sand);
    font-family: var(--serif);
    font-size: .98rem;
    color: var(--ink);
}
.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--terracotta);
}
.search-form button {
    padding: .55em 1em;
    background: var(--terracotta);
    color: var(--white);
    border: 1px solid var(--terracotta);
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--sans);
}
.search-form button:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }

/* ===== Пагинация ===== */
.pagination {
    margin: 36px 0 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: .35em .7em;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    font-family: var(--sans);
    font-size: .95rem;
    transition: all .2s;
}
.pagination a:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}
.pagination .current {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--white);
}
.pagination .dots { border: none; background: transparent; }

/* ===== Подвал ===== */
.site-footer {
    background: var(--ink);
    color: #D9D5C9;
    padding: 50px 0 22px;
    margin-top: 60px;
}
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 32px;
}
.footer-cols .widget-title {
    color: var(--gold);
    font-family: var(--serif);
    margin: 0 0 14px;
    font-size: 1.15rem;
    padding-bottom: 8px;
    border-bottom: 1px solid #3A4750;
}
.footer-cols ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-cols ul li {
    padding: 4px 0;
    font-size: .95rem;
}
.footer-cols ul li a { color: #D9D5C9; }
.footer-cols ul li a:hover { color: var(--gold); }
.footer-cols .widget p { margin: 0 0 .8em; }
.footer-bottom {
    border-top: 1px solid #3A4750;
    padding-top: 18px;
    font-size: .9rem;
    color: #A8A292;
    text-align: center;
    font-family: var(--sans);
}

/* ===== Цитата дня в подвале / общий quote-style уже задан blockquote ===== */

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

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 200;
    background: var(--ink);
    color: var(--white);
    border-radius: 10px;
    padding: 16px 22px;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: var(--sans);
    font-size: .95rem;
    flex-wrap: wrap;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 240px; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-banner button {
    padding: .55em 1.4em;
    background: var(--terracotta);
    color: var(--white);
    border: 1px solid var(--terracotta);
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--sans);
    font-weight: 500;
    transition: background .2s;
}
.cookie-banner button:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }

/* ===== Комментарии ===== */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.comments-title {
    margin: 0 0 24px;
    font-size: 1.5rem;
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}
.comment-list li {
    margin-bottom: 22px;
    padding: 18px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}
.comment-list li ul.children {
    list-style: none;
    margin: 18px 0 0 28px;
    padding: 0;
}
.comment-author {
    font-weight: 600;
    color: var(--ink);
    font-family: var(--sans);
}
.comment-meta {
    font-size: .85rem;
    color: var(--ink-soft);
    margin-bottom: 8px;
    font-family: var(--sans);
}
.comment-body p { margin: .4em 0; }

.comment-reply-link {
    display: inline-block;
    margin-top: 6px;
    font-size: .88rem;
    color: var(--terracotta);
    font-family: var(--sans);
}

#respond { margin-top: 30px; }
#respond .comment-reply-title { font-size: 1.2rem; margin: 0 0 14px; }
#respond label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--sans);
    font-size: .9rem;
    color: var(--ink-soft);
}
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
    width: 100%;
    padding: .6em .85em;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 14px;
}
#respond input:focus,
#respond textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}
#respond textarea { min-height: 120px; resize: vertical; }
#respond .submit {
    background: transparent;
    border: 1px solid var(--terracotta);
    color: var(--terracotta);
    padding: .65em 1.4em;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--sans);
    transition: all .2s;
}
#respond .submit:hover {
    background: var(--terracotta);
    color: var(--white);
}

/* ===== 404 ===== */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}
.error-404 .big {
    font-family: var(--serif);
    font-size: 6rem;
    margin: 0;
    color: var(--terracotta);
    line-height: 1;
    letter-spacing: -.02em;
}
.error-404 h1 { margin: 12px 0; font-size: 1.8rem; }
.error-404 p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 20px; }
.error-404 .search-form { max-width: 460px; margin: 24px auto; }

/* ===== WordPress спец-классы ===== */
.alignleft { float: left; margin: 5px 20px 10px 0; }
.alignright { float: right; margin: 5px 0 10px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption {
    max-width: 100%;
    margin: 1em 0;
}
.wp-caption-text {
    font-size: .9em;
    color: var(--ink-soft);
    text-align: center;
    margin-top: 6px;
    font-style: italic;
}
.screen-reader-text {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sticky { /* стикки запись */ }
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.gallery img { border-radius: 4px; }

/* ===== Адаптив ===== */
@media (max-width: 960px) {
    .layout.has-sidebar {
        grid-template-columns: 1fr;
    }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .front-grid { grid-template-columns: 1fr 1fr; }
    .front-steps { grid-template-columns: 1fr 1fr; }
    .scroll-feed .feed-item {
        grid-template-columns: 160px 1fr;
        gap: 18px;
    }
    .entry-title { font-size: 1.7rem; }
    h1 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    .header-inner { flex-wrap: nowrap; }
    .menu-toggle { display: inline-block; }
    .main-nav {
        flex-basis: 100%;
        order: 3;
        display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; padding-top: 12px; }
    .main-nav a { padding: .7em 0; border-bottom: 1px solid var(--line); }
    .main-nav .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        background: transparent;
    }
    .brand-desc { display: none; }
    .brand-name { font-size: 1.05rem; }
    .brand-logo { width: 44px; height: 44px; }

    .footer-cols { grid-template-columns: 1fr; gap: 26px; }
    .front-grid { grid-template-columns: 1fr; }
    .front-steps { grid-template-columns: 1fr; }
    .front-block { padding: 22px 18px; }
    .front-block h2 { font-size: 1.35rem; }
    .entry-title { font-size: 1.45rem; }

    .scroll-feed .feed-item {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .scroll-feed .feed-thumb { aspect-ratio: 16 / 9; }

    .card-row { flex-direction: column; }
    .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }
    .card-thumb-wrap a { position: static; }
    .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .card-body { padding: 18px 20px; }

    .cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 14px 16px;
    }
    .cookie-banner button { width: 100%; }
}
