/*
Theme Name: dds_furripy.com
Author: Алина Селезнёва
Description: Информационная тема для сайта о товарах для домашних животных. Оформление Lavender tech: холодный светло-серый фон, лавандовые акценты, минимализм и воздух.
Version: 1.1
Text Domain: furripet
*/

:root {
    --bg: #F4F2F7;
    --bg-alt: #FFFFFF;
    --footer-bg: #2A2438;
    --text: #1E1A26;
    --accent: #9B7BFF;
    --accent-2: #6B4C9A;
    --muted: #8A8299;
    --line: #E3DEEC;
    --shadow: 0 10px 30px rgba(42, 36, 56, .07);
    --shadow-hi: 0 16px 42px rgba(42, 36, 56, .13);
    --radius: 12px;
    --font-head: "Futura", "Century Gothic", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
    --font-body: "Segoe UI", "Helvetica Neue", Roboto, system-ui, -apple-system, sans-serif;
}

/* ------------------------------------------------------------------ base */

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--text);
    letter-spacing: .01em;
    line-height: 1.2;
    margin: 0 0 .6em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

a {
    color: var(--accent-2);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .2s ease, text-decoration-color .2s ease;
}

a:hover {
    color: var(--accent-2);
    text-decoration-style: dashed;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent-2);
    color: #fff;
    padding: .6rem 1rem;
    z-index: 99;
}
.skip-link:focus { left: 1rem; }

/* --------------------------------------------------------------- buttons */

.btn {
    display: inline-block;
    padding: .78rem 1.6rem;
    border-radius: 6px;
    font-family: var(--font-head);
    font-size: .98rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: filter .2s ease, transform .2s ease, background-color .2s ease, color .2s ease;
}

.btn-fill {
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    color: #fff;
}
.btn-fill:hover {
    filter: brightness(1.13);
    transform: translateY(2px);
    color: #fff;
    text-decoration: none;
}

.btn-line {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent-2);
}
.btn-line:hover {
    filter: brightness(1.1);
    transform: translateY(2px);
    background: rgba(155, 123, 255, .1);
    text-decoration: none;
}

/* -------------------------------------------------------- section titles */

.sec-title {
    text-align: center;
    margin-bottom: 2.4rem;
}
.sec-title h2 { margin-bottom: .8rem; }

.title-rule {
    position: relative;
    height: 2px;
    width: 190px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    border-radius: 2px;
}
.title-rule::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    background: var(--accent-2);
    transform: translate(-50%, -50%) rotate(45deg);
}

.sec-title.left { text-align: left; }
.sec-title.left .title-rule { margin-left: 0; }

/* ---------------------------------------------------------------- header */

.site-head {
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 1.15rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}
.brand:hover { text-decoration: none; }

.brand-logo,
.brand-mark {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: block;
}

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

.brand-name {
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
    display: block;
    color: var(--text);
}

.brand-desc {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.4;
    margin-top: .2rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .5rem .8rem;
    font-family: var(--font-head);
    color: var(--text);
    cursor: pointer;
}

.main-nav ul {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-nav a {
    font-family: var(--font-head);
    font-size: .97rem;
    color: var(--text);
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
    color: var(--accent-2);
    border-bottom-color: var(--accent);
}

/* ---------------------------------------------------------------- layout */

.site-main { padding: 2.4rem 0 4rem; }

.crumbs {
    font-size: .86rem;
    color: var(--muted);
    margin-bottom: 1.8rem;
}
.crumbs a { color: var(--accent-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-style: dashed; }
.crumbs-sep { margin: 0 .35rem; color: var(--accent); }

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

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

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

/* --------------------------------------------------------------- entries */

.entry {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 2.4rem 2.2rem;
    box-shadow: var(--shadow);
}

.entry-title { margin-bottom: .5rem; }
.entry .entry-title { font-size: 2.3rem; }

.entry-meta {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    align-items: center;
}

.entry-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.6rem;
}

.entry-body h2,
.entry-body h3 { margin-top: 1.8rem; }

.entry-body ul,
.entry-body ol { padding-left: 1.3rem; }

.entry-body li { margin-bottom: .5rem; }

.entry-body blockquote {
    position: relative;
    margin: 2rem 0;
    padding: 1.8rem 2rem 1.6rem 3.2rem;
    background: linear-gradient(135deg, var(--bg), #EFE9FB);
    border-radius: var(--radius);
    font-size: 1.1rem;
}
.entry-body blockquote::before {
    content: "“";
    position: absolute;
    left: .6rem;
    top: -.6rem;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--accent);
}
.entry-body blockquote p:last-child { margin-bottom: 0; }

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

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6rem 0;
    border: 1px solid var(--line);
    font-size: .95rem;
}
th, td {
    border: 1px solid var(--line);
    padding: .7rem .9rem;
    text-align: left;
}
th { background: #EFEAF7; font-family: var(--font-head); }

.archive-note { margin-bottom: 1.6rem; }

.tags-line {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    font-size: .88rem;
    color: var(--muted);
}
.tags-line a { margin-right: .5rem; }

/* ----------------------------------------------------------------- cards */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 1.6rem;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-2);
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 2;
}
.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid transparent;
    background: linear-gradient(160deg, rgba(155, 123, 255, 0), rgba(155, 123, 255, .55)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hi);
}
.card:hover::before,
.card:hover::after { opacity: 1; }

.card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.card-thumb-empty {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #EFE9FB, #DED2F7);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.3rem 1.4rem 1.5rem;
    min-width: 0;
}

.card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .7rem;
}

.chip {
    display: inline-block;
    font-family: var(--font-head);
    font-size: .74rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    border-radius: 999px;
    padding: .22rem .7rem;
    text-decoration: none;
}
.chip:hover { color: #fff; background: var(--accent-2); text-decoration: none; }

.card-title {
    font-size: 1.18rem;
    margin-bottom: .5rem;
}
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--accent-2); }

.card-excerpt {
    color: #4C4558;
    font-size: .95rem;
    margin-bottom: 1rem;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt p:last-child { margin-bottom: 0; }

.card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
}

.card-date { font-size: .82rem; color: var(--muted); }

.card-more {
    font-family: var(--font-head);
    font-size: .9rem;
    color: var(--accent-2);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
}
.card-more:hover { text-decoration: none; border-bottom-style: dashed; }

/* ------------------------------------------------------------- front page */

.front-wrap {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.fs {
    position: relative;
    margin-bottom: 3.6rem;
    padding: 3rem 2.4rem;
    border-radius: 16px;
    overflow: hidden;
}
.fs-plain {
    padding: 1rem 0 0;
    background: none;
    border-radius: 0;
    overflow: visible;
}
.fs-white { background: var(--bg-alt); box-shadow: var(--shadow); }
.fs-base { background: var(--bg); }

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.blob-a {
    width: 320px; height: 320px;
    background: var(--accent);
    opacity: .07;
    top: -110px; right: -90px;
}
.blob-b {
    width: 280px; height: 280px;
    background: var(--accent-2);
    opacity: .06;
    bottom: -120px; left: -80px;
}
.fs > *:not(.blob) { position: relative; z-index: 1; }

/* hero */

.hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3.6rem;
    min-height: 460px;
    display: flex;
    align-items: center;
    padding: 3rem 2.4rem;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}
.hero-glass {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 14px;
    padding: 2.4rem 2.2rem;
    box-shadow: 0 18px 44px rgba(42, 36, 56, .16);
}
.hero-glass h1 {
    font-size: 3.5rem;
    margin-bottom: .5rem;
}
.hero-sub {
    font-size: 1.06rem;
    color: #453D55;
    margin-bottom: 1.6rem;
}

/* чек-лист */

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.2rem;
}
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}
.check-mark {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-top: .15rem;
}
.check-text {
    min-width: 0;
    font-size: 1.16rem;
    line-height: 1.5;
}
.check-text b {
    font-family: var(--font-head);
    display: block;
    margin-bottom: .15rem;
}
.check-text span { color: #4C4558; font-size: .97rem; display: block; }

/* глоссарий */

.glossary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 2.6rem;
    margin: 0;
}
.gloss-term {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--accent-2);
    font-size: 1.08rem;
    margin: 0 0 .2rem;
}
.gloss-def {
    margin: 0;
    color: #4C4558;
    font-size: .97rem;
}
.gloss-item { min-width: 0; }

/* акцентная цитата */

.fs-quote {
    background: linear-gradient(135deg, var(--bg), #E9E0FB);
    padding: 3.2rem 3rem 2.8rem;
}
.quote-body {
    position: relative;
    padding-left: 3.4rem;
    max-width: 820px;
}
.quote-body::before {
    content: "“";
    position: absolute;
    left: -.4rem;
    top: -1.6rem;
    font-family: Georgia, serif;
    font-size: 6.5rem;
    line-height: 1;
    color: var(--accent);
}
.quote-text {
    font-size: 1.5rem;
    line-height: 1.5;
    font-family: var(--font-head);
    margin-bottom: 1rem;
}
.quote-note { color: #4C4558; margin: 0; }

.front-latest { margin-bottom: 3.6rem; }
.front-latest .cta-row { margin-top: 2rem; text-align: center; }

/* --------------------------------------------------------------- sidebar */

.sidebar { min-width: 0; }

.widget {
    position: relative;
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem 1.6rem;
    margin-bottom: 1.6rem;
    box-shadow: var(--shadow);
    color: var(--text);
}
.widget::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid transparent;
    background: linear-gradient(160deg, rgba(155, 123, 255, 0), rgba(155, 123, 255, .5)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.widget:hover::after { opacity: 1; }

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--accent-2), var(--accent)) 1;
    color: var(--text);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget li {
    padding: .5rem 0 .5rem 1.1rem;
    position: relative;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
    color: var(--text);
}
.widget li:last-child { border-bottom: none; }
.widget li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 6px;
    height: 6px;
    background: var(--accent);
    transform: rotate(45deg);
}
.widget a { color: var(--text); text-decoration: none; }
.widget a:hover { color: var(--accent-2); text-decoration: underline; text-decoration-style: dashed; }
.widget .post-date { display: block; font-size: .8rem; color: var(--muted); }
.widget p { font-size: .95rem; color: #4C4558; margin-bottom: .8rem; }
.widget p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ search form */

.search-form {
    display: flex;
    gap: .6rem;
    min-width: 0;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search-form .search-field {
    flex: 1;
    min-width: 0;
    display: block;
}

.search-form input[type="search"] {
    width: 100%;
    min-width: 0;
    padding: .7rem .9rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    font-family: var(--font-body);
    font-size: .95rem;
}
.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--accent);
}
.search-form button {
    padding: .7rem 1.1rem;
    border: none;
    border-radius: 6px;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    color: #fff;
    font-family: var(--font-head);
    cursor: pointer;
    transition: filter .2s ease, transform .2s ease;
}
.search-form button:hover { filter: brightness(1.13); transform: translateY(2px); }

/* -------------------------------------------------------------- pagination */

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-top: 2.6rem;
}
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 .8rem;
    border-radius: 6px;
    background: var(--bg-alt);
    color: var(--text);
    font-family: var(--font-head);
    font-size: .95rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: filter .2s ease, transform .2s ease, background-color .2s ease, color .2s ease;
}
.pager a.page-numbers:hover {
    filter: brightness(1.05);
    transform: translateY(2px);
    color: var(--accent-2);
}
.pager .page-numbers.current {
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    color: #fff;
}
.pager .page-numbers.dots {
    background: none;
    box-shadow: none;
    color: var(--muted);
}

/* --------------------------------------------------------------- comments */

.comments-area {
    margin-top: 2.4rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow);
}
.comments-title { font-size: 1.4rem; }
.comment-list { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.6rem; }
.comment-inner {
    background: var(--bg);
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1rem;
}
.comment-head {
    display: flex;
    gap: .8rem;
    align-items: baseline;
    margin-bottom: .5rem;
}
.comment-author { font-family: var(--font-head); font-weight: 700; }
.comment-date { font-size: .82rem; color: var(--muted); }
.comment-text p:last-child { margin-bottom: 0; }
.comment-tools { font-size: .88rem; }
.comment-wait { color: var(--accent-2); font-size: .88rem; }

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 85%;
    max-width: 620px;
    padding: .7rem .9rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: .95rem;
    background: #fff;
    color: var(--text);
}
.comment-respond textarea { width: 100%; max-width: none; }
.comment-respond .submit {
    padding: .78rem 1.6rem;
    border: none;
    border-radius: 6px;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    color: #fff;
    font-family: var(--font-head);
    cursor: pointer;
    transition: filter .2s ease, transform .2s ease;
}
.comment-respond .submit:hover { filter: brightness(1.13); transform: translateY(2px); }

/* -------------------------------------------------------------------- 404 */

.nf-box {
    text-align: center;
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 3.4rem 2.4rem;
    box-shadow: var(--shadow);
}
.nf-code {
    font-family: var(--font-head);
    font-size: 5.4rem;
    line-height: 1;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .6rem;
}
.nf-box .search-form { max-width: 460px; margin: 1.6rem auto; }

/* ----------------------------------------------------------------- footer */

.site-foot {
    background: var(--footer-bg);
    color: #E5E0EE;
    padding: 3rem 0 1.6rem;
}
.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 2.4rem;
}
.site-foot .widget {
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
    color: #E5E0EE;
    margin-bottom: 0;
}
.site-foot .widget-title { color: #FFFFFF; }
.site-foot .widget li { color: #E5E0EE; border-bottom-color: rgba(255, 255, 255, .1); }
.site-foot .widget p { color: #C9C2D8; }
.site-foot .widget a { color: #E5E0EE; }
.site-foot .widget a:hover { color: var(--accent); }
.site-foot .widget .post-date { color: #A79DBC; }
.site-foot .widget li::before { background: var(--accent); }

.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 1.4rem;
    font-size: .86rem;
    color: #A79DBC;
    text-align: center;
}

/* --------------------------------------------------------- cookie banner */

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

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    background: rgba(42, 36, 56, .96);
    backdrop-filter: blur(8px);
    color: #EDE9F5;
    padding: 1rem 1.6rem;
    font-size: .92rem;
}
.cookie-banner p { margin: 0; max-width: 760px; }
.cookie-banner a { color: var(--accent); }
.cookie-banner button {
    border: none;
    border-radius: 6px;
    padding: .6rem 1.4rem;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    color: #fff;
    font-family: var(--font-head);
    cursor: pointer;
    transition: filter .2s ease, transform .2s ease;
}
.cookie-banner button:hover { filter: brightness(1.13); transform: translateY(2px); }

/* ------------------------------------------------------------ responsive */

@media (max-width: 960px) {
    h1 { font-size: 2.6rem; }
    .hero-glass h1 { font-size: 2.6rem; }
    h2 { font-size: 1.8rem; }

    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.4rem; }
    .layout-single { width: 100%; }
    .front-wrap { width: 100%; }
    .card-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .nav-toggle { display: inline-block; }
    .main-nav {
        flex-basis: 100%;
        display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: .2rem; padding-top: .8rem; }
    .main-nav li { border-bottom: 1px solid var(--line); }
    .main-nav a { display: block; padding: .7rem 0; border-bottom: none; }
    .head-inner { flex-wrap: wrap; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 2.1rem; }
    .hero-glass h1 { font-size: 2.1rem; }
    h2 { font-size: 1.5rem; }

    .site-main { padding: 1.6rem 0 3rem; }
    .entry { padding: 1.6rem 1.3rem; }
    .entry .entry-title { font-size: 1.7rem; }
    .comments-area { padding: 1.4rem 1.2rem; }

    .fs { padding: 2rem 1.4rem; margin-bottom: 2.6rem; }
    .fs-plain { padding: .6rem 0 0; }
    .fs-quote { padding: 2.2rem 1.4rem; }
    .quote-body { padding-left: 1.8rem; }
    .quote-body::before { font-size: 4.4rem; top: -1.1rem; left: -.6rem; }
    .quote-text { font-size: 1.2rem; }

    .hero { min-height: 380px; padding: 1.8rem 1.2rem; }
    .hero-glass { padding: 1.6rem 1.3rem; }

    .card-grid.cols-3,
    .card-grid.cols-2 { grid-template-columns: minmax(0, 1fr); }
    .glossary { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
    .foot-cols { grid-template-columns: minmax(0, 1fr); }
    .nf-box { padding: 2.2rem 1.3rem; }
    .nf-code { font-size: 4rem; }
    .check-text { font-size: 1.02rem; }
    .comment-respond input[type="text"],
    .comment-respond input[type="email"],
    .comment-respond input[type="url"] { width: 100%; }
}
