/*
Theme Name: dds_thegardenofcosmicspeculation.com
Author: Eleanor Vane
Description: Editorial theme for a visual journal about country houses, gardens and landscape design.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: gcspec
License: GNU General Public License v2 or later
*/

:root {
    --gc-bg: #F4F6F1;
    --gc-alt: #E7EDE2;
    --gc-head: #1C2B21;
    --gc-foot: #16211A;
    --gc-side: #EDF2E8;
    --gc-ink: #1F2A22;
    --gc-copper: #C46A3A;
    --gc-moss: #8FA98C;
    --gc-muted: #6E7A6B;
    --gc-line: #C9D4C2;
    --gc-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --gc-sans: "Inter", "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* hidden-managed elements first (A11) */
.gc-cookie[hidden] { display: none !important; }

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--gc-ink);
    font-family: var(--gc-sans);
    font-size: 1.0625rem;
    line-height: 1.75;
    background-color: var(--gc-bg);
    background-image: repeating-linear-gradient(45deg, rgba(224, 232, 218, .4) 0 1px, transparent 1px 24px);
    overflow-wrap: break-word;
    hyphens: auto;
}

/* tree silhouette on every page */
body::after {
    content: "";
    position: fixed;
    right: 0;
    bottom: 0;
    width: 260px;
    height: 340px;
    pointer-events: none;
    z-index: 5;
    opacity: .15;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 340' fill='none' stroke='%238FA98C' stroke-width='1'%3E%3Cpath d='M130 338V190M130 250l-30-30M130 230l34-38M130 205l-22-26'/%3E%3Cpath d='M130 20c-30 0-52 20-56 44-26 4-44 26-40 52-20 12-28 36-18 58 8 20 30 32 52 30 8 18 28 30 50 28 14 10 34 10 48 0 22 2 42-10 50-28 22 2 44-10 52-30 10-22 2-46-18-58 4-26-14-48-40-52-4-24-26-44-56-44z'/%3E%3Cpath d='M90 110c12-10 28-12 40-4M150 90c14-4 30 0 38 12M70 170c10 8 26 10 38 4M160 160c14 6 30 4 40-6M120 60c4 10 14 16 26 16'/%3E%3Cpath d='M20 338h220'/%3E%3C/svg%3E") no-repeat right bottom / contain;
}

img { max-width: 100%; height: auto; }
a { color: var(--gc-ink); }

p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--gc-serif);
    font-weight: 600;
    line-height: 1.2;
    margin: 1.6em 0 .6em;
    color: var(--gc-ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

h2::before, h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: .55em;
    background: var(--gc-copper);
    vertical-align: .12em;
}

/* text links */
.gc-prose a, .gc-widget .textwidget a, .gc-comment-text a, .gc-page-intro a {
    text-decoration: underline;
    text-decoration-color: var(--gc-moss);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: text-decoration-color .2s, text-decoration-thickness .2s, padding-left .2s;
}
.gc-prose a:hover, .gc-widget .textwidget a:hover, .gc-comment-text a:hover, .gc-page-intro a:hover {
    text-decoration-color: var(--gc-copper);
    text-decoration-thickness: 2px;
    padding-left: 2px;
}

blockquote {
    margin: 2em 0;
    padding: .6em 0 .6em 1.8em;
    border-left: 4px solid var(--gc-moss);
    font-family: var(--gc-serif);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.6;
}
blockquote p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; border: 1px solid var(--gc-line); margin: 1.5em 0; }
th, td { border: 1px solid var(--gc-line); padding: .6em .8em; text-align: left; }
th { background: var(--gc-alt); font-weight: 600; }

pre { overflow-x: auto; background: var(--gc-alt); padding: 1em 1.2em; }
:focus-visible { outline: 2px solid var(--gc-copper); outline-offset: 3px; }

.screen-reader-text, .gc-skip {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.gc-skip:focus {
    width: auto; height: auto; clip: auto; z-index: 100; top: 10px; left: 10px;
    background: var(--gc-copper); color: var(--gc-head); padding: .6em 1em;
}

/* container: single source of width */
.gc-shell { width: min(92%, 1180px); margin-inline: auto; }

/* buttons */
.gc-btn {
    display: inline-block;
    padding: .8em 1.6em;
    border-radius: 2px;
    font-family: var(--gc-sans);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    line-height: 1.3;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s;
}
.gc-btn--fill { background: var(--gc-copper); color: var(--gc-head); border: 1.5px solid var(--gc-copper); }
.gc-btn--line { background: transparent; color: var(--gc-ink); border: 1.5px solid var(--gc-ink); }
.gc-btn:hover { transform: translate(2px, 2px); box-shadow: -4px -4px 0 0 var(--gc-copper); }
.gc-btn--fill:hover { border-color: var(--gc-ink); }

/* ---------- header ---------- */
.gc-masthead {
    position: relative;
    z-index: 10;
    background: var(--gc-head);
    border-top: 4px solid var(--gc-copper);
    color: var(--gc-bg);
}
.gc-masthead-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem 2rem;
    padding: 1.3rem 0;
}
.gc-brand { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; flex: 1 1 520px; text-decoration: none; color: inherit; }
.gc-brand-mark { flex: 0 0 auto; width: 58px; height: 58px; display: block; }
.gc-brand-mark img, .gc-brand-mark svg { width: 58px; height: 58px; display: block; object-fit: contain; }
.gc-brand-text { min-width: 0; max-width: 62ch; }
.gc-brand-name {
    display: block;
    font-family: var(--gc-serif);
    font-size: 1.02rem;
    line-height: 1.4;
    color: #F4F6F1;
}
.gc-brand-desc {
    display: block;
    margin-top: .35rem;
    font-size: .8rem;
    line-height: 1.5;
    color: var(--gc-moss);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gc-nav { flex: 0 1 auto; min-width: 0; }
.gc-nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.8rem; margin: 0; padding: 0; }
.gc-nav-list a {
    color: #F4F6F1;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .3em 0;
    border-bottom: 1px solid transparent;
    transition: border-color .2s, color .2s;
}
.gc-nav-list a:hover, .gc-nav-list .current-menu-item > a { color: #fff; border-bottom-color: var(--gc-copper); }
.gc-nav-list .sub-menu { display: none; }
.gc-nav-toggle {
    display: none;
    background: transparent;
    color: #F4F6F1;
    border: 1.5px solid #F4F6F1;
    border-radius: 2px;
    padding: .5em .9em;
    font: 600 .8rem/1 var(--gc-sans);
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}

/* ---------- layout ---------- */
.gc-main { position: relative; padding: 2rem 0 4rem; }
.gc-crumbs { font-size: .85rem; color: var(--gc-muted); margin: 0 0 2rem; }
.gc-crumbs a { color: var(--gc-muted); text-decoration: underline; text-decoration-color: var(--gc-moss); text-underline-offset: 3px; }
.gc-crumbs a:hover { color: var(--gc-copper); }
.gc-crumbs-sep { margin: 0 .4em; color: var(--gc-copper); }

.gc-layout-single { display: block; width: 85%; margin-left: auto; margin-right: auto; }
.gc-layout-side { display: grid; grid-template-columns: minmax(0, 67fr) minmax(0, 27fr); column-gap: 6%; align-items: start; }
.gc-content { min-width: 0; }

.gc-page-head { border-top: 1px solid var(--gc-line); padding-top: 1.4rem; margin-bottom: 2.4rem; }
.gc-page-head h1 { margin: 0; }
.gc-page-kicker {
    display: block;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gc-muted);
    margin-bottom: .8rem;
}
.gc-page-intro { color: var(--gc-muted); margin-top: 1rem; max-width: 60ch; }

/* sidebar */
.gc-sidebar {
    min-width: 0;
    background: var(--gc-side);
    border: 1px solid var(--gc-line);
    border-radius: 2px;
    padding: 1.6rem 1.5rem;
    color: var(--gc-ink);
}
.gc-sidebar .gc-widget + .gc-widget { margin-top: 2rem; }
.gc-sidebar .gc-widget-title { font-size: 1.2rem; margin: 0 0 1rem; color: var(--gc-ink); }
.gc-sidebar ul { list-style: none; margin: 0; padding: 0; }
.gc-sidebar li { padding: .6rem 0; border-bottom: 1px solid var(--gc-line); line-height: 1.45; }
.gc-sidebar li:last-child { border-bottom: 0; }
.gc-sidebar a { color: var(--gc-ink); text-decoration: none; transition: color .2s, padding-left .2s; }
.gc-sidebar a:hover { color: var(--gc-copper); padding-left: 3px; }
.gc-sidebar .post-date { color: var(--gc-muted); font-size: .8rem; display: block; }

/* ---------- section titles ---------- */
.gc-sec-head { border-top: 1px solid var(--gc-line); padding-top: 1.2rem; margin-bottom: 2.4rem; }
.gc-sec-rubric {
    display: block;
    font-family: var(--gc-serif);
    font-size: .85rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gc-muted);
    margin-bottom: .5rem;
}
.gc-sec-title { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 500; }

/* ---------- cards ---------- */
.gc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.gc-layout-side .gc-grid, .gc-content .gc-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--gc-line);
    border-radius: 2px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.gc-card:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 0 var(--gc-copper); border-color: var(--gc-copper); }
.gc-card-thumb { position: relative; overflow: hidden; background: var(--gc-alt); }
.gc-card-thumb a { display: block; }
.gc-card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 40%; }
.gc-card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 1.1rem 1.3rem 1.4rem; }
.gc-card-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .8rem; color: var(--gc-muted); margin-bottom: .6rem; }
.gc-card-title { font-size: 1.3rem; line-height: 1.3; margin: 0 0 .6rem; }
.gc-card-title::before { width: 6px; height: 6px; }
.gc-card-title a { text-decoration: none; color: var(--gc-ink); }
.gc-card-title a:hover { color: var(--gc-copper); }
.gc-card-excerpt { font-size: .95rem; line-height: 1.65; color: #3B463D; flex: 1; }
.gc-card-excerpt p { margin: 0 0 .5em; background: none; }
.gc-card-more {
    align-self: flex-start;
    margin-top: .8rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gc-ink);
    text-decoration: underline;
    text-decoration-color: var(--gc-moss);
    text-underline-offset: 4px;
    transition: text-decoration-color .2s, padding-left .2s;
}
.gc-card-more:hover { text-decoration-color: var(--gc-copper); text-decoration-thickness: 2px; padding-left: 3px; }

.gc-tag {
    color: #5F7A5C;
    text-decoration: underline;
    text-decoration-color: var(--gc-copper);
    text-underline-offset: 3px;
    font-weight: 600;
    letter-spacing: .04em;
}
.gc-tag:hover { color: var(--gc-copper); text-decoration-color: transparent; }

.gc-empty { padding: 2rem 2rem; border: 1px dashed var(--gc-line); background: var(--gc-side); }

/* ---------- pagination ---------- */
.gc-pager { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; }
.gc-pager .page-numbers {
    display: inline-block;
    min-width: 2.6rem;
    padding: .5em .8em;
    text-align: center;
    border: 1.5px solid var(--gc-ink);
    border-radius: 2px;
    color: var(--gc-ink);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    background: transparent;
    transition: transform .18s, box-shadow .18s;
}
.gc-pager a.page-numbers:hover { transform: translate(2px, 2px); box-shadow: -3px -3px 0 0 var(--gc-copper); }
.gc-pager .page-numbers.current { background: var(--gc-copper); border-color: var(--gc-copper); color: var(--gc-head); }
.gc-pager .page-numbers.dots { border-color: transparent; min-width: 0; }

/* ---------- single / page ---------- */
.gc-entry-head { margin-bottom: 2rem; }
.gc-entry-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .85rem; color: var(--gc-muted); margin-top: 1rem; }
.gc-entry-figure { margin: 0 0 2.4rem; }
.gc-entry-figure img { display: block; width: 100%; height: auto; border-radius: 2px; }
.gc-prose { max-width: 72ch; }
.gc-prose > *:first-child { margin-top: 0; }
.gc-prose img { display: block; border-radius: 2px; }
.gc-prose figcaption { font-size: .85rem; color: var(--gc-muted); margin-top: .5em; }
.gc-prose ul, .gc-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.gc-entry-tags { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--gc-line); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; }

/* comments */
.gc-comments { margin-top: 4rem; border-top: 1px solid var(--gc-line); padding-top: 2rem; max-width: 72ch; }
.gc-comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.gc-comment-list .children { list-style: none; padding-left: 2rem; }
.gc-comment-body { padding: 1.2rem 0; border-bottom: 1px solid var(--gc-line); }
.gc-comment-head { display: flex; gap: .8rem; align-items: center; margin-bottom: .6rem; }
.gc-comment-head img { border-radius: 2px; display: block; }
.gc-comment-author { display: block; font-weight: 600; }
.gc-comment-date { font-size: .8rem; color: var(--gc-muted); }
.gc-comment-wait { font-size: .85rem; color: var(--gc-copper); }
.comment-reply-link { font-size: .85rem; font-weight: 600; color: var(--gc-ink); text-decoration-color: var(--gc-moss); }
.comment-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%; padding: .7em .9em; border: 1px solid var(--gc-line); border-radius: 2px; background: #fff; font: inherit;
}
.comment-form .form-submit input {
    background: var(--gc-copper); color: var(--gc-head); border: 1.5px solid var(--gc-copper);
    border-radius: 2px; padding: .8em 1.6em; font: 600 .95rem var(--gc-sans); cursor: pointer; transition: transform .18s, box-shadow .18s;
}
.comment-form .form-submit input:hover { transform: translate(2px, 2px); box-shadow: -4px -4px 0 0 var(--gc-copper); border-color: var(--gc-ink); }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* search form */
.gc-search { display: flex; gap: .5rem; max-width: 520px; }
.gc-search input[type="search"] {
    flex: 1; min-width: 0; padding: .75em .9em; border: 1.5px solid var(--gc-ink); border-radius: 2px; background: #fff; font: inherit;
}

/* 404 */
.gc-404-code { font-family: var(--gc-serif); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--gc-copper); margin: 0 0 1rem; }
.gc-404-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }

/* ---------- front page ---------- */
.gc-front { display: block; width: 85%; margin-left: auto; margin-right: auto; }
.gc-fs { padding: 4.5rem 3rem; }
.gc-fs--alt {
    background-color: var(--gc-alt);
    background-image: repeating-linear-gradient(45deg, #D3DDCC 0 1px, transparent 1px 16px);
}
.gc-cut { width: 70%; height: 1px; margin: 0 auto; background: var(--gc-line); border: 0; }
.gc-dots {
    width: 220px; height: 4px; margin: 0 auto;
    background-image: radial-gradient(circle, var(--gc-copper) 1.3px, transparent 1.6px);
    background-size: 12px 4px;
    background-repeat: repeat-x;
}
.gc-dots-wrap { padding: 1.6rem 0; }

/* hero */
.gc-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    padding: 4rem 3.5rem 3.5rem 4.5rem;
    color: #fff;
    overflow: hidden;
    border-radius: 2px;
}
.gc-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gc-hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(28, 43, 33, .15) 0%, rgba(28, 43, 33, .35) 45%, rgba(22, 33, 26, .85) 100%);
}
.gc-hero-copy { position: relative; z-index: 1; max-width: 760px; min-width: 0; }
.gc-hero-line { position: absolute; top: 0; left: 2.4rem; width: 3px; height: 72%; background: var(--gc-copper); z-index: 1; }
.gc-hero h1 { color: #fff; margin: 0 0 1.2rem; font-weight: 500; }
.gc-hero-sub { font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: #E7EDE2; margin: 0 0 2rem; line-height: 1.7; }
.gc-hero .gc-btn--line { color: #fff; border-color: #fff; }

/* quote */
.gc-quote {
    position: relative;
    background: var(--gc-head);
    color: var(--gc-bg);
    border-left: 8px solid var(--gc-copper);
    padding: 4rem 4.5rem 3.4rem;
    border-radius: 2px;
}
.gc-quote::after { content: ""; position: absolute; right: 1.6rem; bottom: 1.6rem; width: 10px; height: 10px; background: var(--gc-copper); }
.gc-quote blockquote {
    border: 0; padding: 0; margin: 0 0 1.6rem;
    font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.45; color: var(--gc-bg); max-width: 32em;
}
.gc-quote cite { font-style: normal; font-size: .9rem; letter-spacing: .08em; color: var(--gc-moss); }

/* timeline */
.gc-tl { position: relative; list-style: none; margin: 0; padding: 0; }
.gc-tl::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--gc-moss); }
.gc-tl-item { position: relative; width: 50%; padding: 0 3rem 3rem 0; min-width: 0; }
.gc-tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 3rem 3rem; }
.gc-tl-item::before { content: ""; position: absolute; top: .55rem; right: -3px; width: 6px; height: 6px; background: var(--gc-copper); }
.gc-tl-item:nth-child(even)::before { right: auto; left: -3px; }
.gc-tl-item:nth-child(odd) { text-align: right; }
.gc-tl-when { display: block; color: var(--gc-copper); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.gc-tl-item h3 { margin: .4rem 0 .5rem; font-size: 1.55rem; }
.gc-tl-item:nth-child(odd) h3::before { display: none; }
.gc-tl-item:nth-child(odd) h3::after {
    content: ""; display: inline-block; width: 8px; height: 8px; margin-left: .55em; background: var(--gc-copper); vertical-align: .12em;
}
.gc-tl-item p { margin: 0; color: #3B463D; }

/* rubricator */
.gc-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.gc-topic {
    display: flex; flex-direction: column; gap: .9rem; min-width: 0;
    background: var(--gc-side);
    border: 1px solid var(--gc-line);
    border-radius: 2px;
    padding: 1.8rem 1.6rem;
    text-decoration: none;
    color: var(--gc-ink);
    transition: border-color .2s, transform .2s;
}
.gc-topic:hover { border-color: var(--gc-copper); transform: translateX(4px); }
.gc-topic svg { width: 44px; height: 44px; display: block; stroke: var(--gc-moss); fill: none; stroke-width: 1.5; }
.gc-topic-name { font-family: var(--gc-serif); font-size: 1.35rem; line-height: 1.25; }
.gc-topic-note { font-size: .9rem; color: var(--gc-muted); line-height: 1.55; }

.gc-latest-foot { margin-top: 2.6rem; }

/* ---------- footer ---------- */
.gc-footer { position: relative; z-index: 6; background: var(--gc-foot); color: #D8E0D3; padding: 4rem 0 0; }
.gc-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.gc-footer .gc-widget { min-width: 0; }
.gc-footer .gc-widget-title { color: #F4F6F1; font-size: 1.25rem; margin: 0 0 1rem; }
.gc-footer .gc-widget-title::before { display: none; }
.gc-footer .gc-widget, .gc-footer .gc-widget p, .gc-footer .textwidget { color: #C3CFBE; font-size: .95rem; line-height: 1.7; }
.gc-footer ul { list-style: none; margin: 0; padding: 0; }
.gc-footer li { padding: .3rem 0; }
.gc-footer a { color: #E7EDE2; text-decoration: underline; text-decoration-color: rgba(143, 169, 140, .6); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.gc-footer a:hover { color: var(--gc-copper); text-decoration-color: var(--gc-copper); }
.gc-footer .post-date { color: var(--gc-moss); }
.gc-copy { margin-top: 3rem; padding: 1.4rem 0 1.8rem; border-top: 1px solid rgba(201, 212, 194, .18); font-size: .85rem; color: #9FB09B; }

/* ---------- cookie ---------- */
.gc-cookie {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.6rem;
    max-width: 880px;
    margin: 0 auto;
    padding: 1.2rem 1.6rem;
    background: var(--gc-head);
    color: #E7EDE2;
    border-top: 3px solid var(--gc-copper);
    border-radius: 2px;
    font-size: .9rem;
    line-height: 1.55;
}
.gc-cookie p { margin: 0; flex: 1 1 360px; min-width: 0; }
.gc-cookie a { color: #F4F6F1; text-decoration-color: var(--gc-moss); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
    .gc-layout-side { display: block; }
    .gc-sidebar { margin-top: 3rem; }
    .gc-layout-single, .gc-front { width: 100%; }
    .gc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gc-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gc-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gc-nav-toggle { display: inline-block; }
    .gc-nav { flex-basis: 100%; }
    .gc-nav-list { display: none; flex-direction: column; gap: 0; padding-top: .6rem; }
    .gc-nav.is-open .gc-nav-list { display: flex; }
    .gc-nav-list li { border-top: 1px solid rgba(201, 212, 194, .18); }
    .gc-nav-list a { display: block; padding: .8em 0; }
    .gc-masthead-inner { align-items: flex-start; }
    .gc-brand { flex-basis: calc(100% - 120px); }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    body::after { width: 150px; height: 200px; }
    .gc-grid, .gc-layout-side .gc-grid, .gc-content .gc-grid--two { grid-template-columns: minmax(0, 1fr); }
    .gc-topics { grid-template-columns: minmax(0, 1fr); }
    .gc-footer-cols { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .gc-fs { padding: 3rem 1.4rem; }
    .gc-hero { min-height: 460px; padding: 3rem 1.4rem 2.4rem 2.4rem; }
    .gc-hero-line { left: 1.1rem; }
    .gc-hero-sub { letter-spacing: .12em; font-size: .82rem; }
    .gc-quote { padding: 2.6rem 1.6rem 2.6rem 1.6rem; border-left-width: 6px; }
    .gc-tl::before { left: 4px; }
    .gc-tl-item, .gc-tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 2.4rem 2rem; text-align: left; }
    .gc-tl-item::before, .gc-tl-item:nth-child(even)::before { left: 1px; right: auto; }
    .gc-tl-item:nth-child(odd) h3::before { display: inline-block; }
    .gc-tl-item:nth-child(odd) h3::after { display: none; }
    .gc-sidebar { padding: 1.4rem 1.2rem; }
    .gc-empty { padding: 1.4rem 1.2rem; }
    .gc-cookie { padding: 1rem 1.2rem; }
    .gc-brand-mark, .gc-brand-mark img, .gc-brand-mark svg { width: 44px; height: 44px; }
    .gc-brand { flex-basis: 100%; }
}
