/* =========================================================
   EdSilvester.com — site stylesheet
   Values measured from the original Squarespace site (Nov 2026).
   Sizes interpolate between phone (390px) and desktop (1440px).
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --white: #fcfcfc;
  --black: #111111;
  --accent: #222222;
  --dark-accent: #262626;
  --light-accent: #575757;
  --input-bg: #fafafa;

  --font: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --w-body: 300;
  --w-meta: 400;
  --w-heading: 500;

  /* page gutters / max width (Squarespace: 4vw desktop, 6vw mobile, 1920px max) */
  --sqs-site-gutter: 4vw;
  --sqs-mobile-site-gutter: 6vw;
  --sqs-site-max-width: 1920px;
  --gutter: var(--sqs-mobile-site-gutter);

  /* type scale – same formulas as the original site (measured at 390–1920px):
     phones (<768px) use fixed sizes; from 768px sizes are 1rem + N·vw; rem is 16px, 17px from 1000px */
  --fs-h1: 48.4px;
  --fs-h2: 35.44px;
  --fs-h3: 28.96px;
  --fs-h4: 22px;
  --fs-p: 1rem;
  --fs-p-large: 20.32px;
  --fs-p-small: .875rem;
  --fs-title: 26.8px;
  --fs-btn: var(--fs-p);

  --header-h: 84px;
}
@media (min-width: 768px) {
  :root {
    --gutter: var(--sqs-site-gutter);
    --fs-h1: calc(1rem + 3.6vw);
    --fs-h2: calc(1rem + 2.16vw);
    --fs-h3: calc(1rem + 1.44vw);
    --fs-h4: calc(1rem + .72vw);
    --fs-p-large: calc(1rem + .48vw);
    --fs-title: calc(1rem + 1.2vw);
    --header-h: clamp(84px, calc(57px + 3.6vw), 110px);
  }
}
html { font-size: 16px; }
@media (min-width: 1000px) { html { font-size: 17px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-weight: var(--w-body); font-size: var(--fs-p);
  line-height: 1.8; color: var(--black); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: var(--w-heading); margin: 2rem 0; letter-spacing: normal; }
h1 { font-size: var(--fs-h1); line-height: 1.232; }
h2 { font-size: var(--fs-h2); line-height: 1.3; }
h3 { font-size: var(--fs-h3); line-height: 1.333; }
h4 { font-size: var(--fs-h4); line-height: 1.4; }
p { margin: 1rem 0; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid currentColor; opacity: .6; margin: 0; width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--white); color: var(--black); padding: .5em 1em; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- 3. Section themes ---------- */
.theme-default, .theme-white, .theme-light { --bg: var(--white); --fg: var(--black); --btn-bg: var(--accent); --btn-fg: var(--white); }
.theme-bright  { --bg: var(--accent);      --fg: var(--white); --btn-bg: var(--white); --btn-fg: var(--accent); }
.theme-dark, .theme-dark-bold { --bg: var(--dark-accent); --fg: var(--white); --btn-bg: var(--white); --btn-fg: var(--accent); }
.theme-black, .theme-black-bold { --bg: var(--black); --fg: var(--white); --btn-bg: var(--white); --btn-fg: var(--accent); }

/* ---------- 4. Page sections ---------- */
.page-section {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  background: var(--bg); color: var(--fg); overflow: hidden;
}
.page-section.valign-top { justify-content: flex-start; }
.page-section.valign-bottom { justify-content: flex-end; }
.section-height--small:not(.gallery-section):not(.blog-section)  { min-height: 33vh; }
.section-height--medium:not(.gallery-section):not(.blog-section) { min-height: 66vh; }
.section-height--large:not(.gallery-section):not(.blog-section)  { min-height: 100vh; }
.section-height--small > .content-wrapper  { padding-top: 3.3vmax; padding-bottom: 3.3vmax; }
.section-height--medium > .content-wrapper { padding-top: 6.6vmax; padding-bottom: 6.6vmax; }
.section-height--large > .content-wrapper  { padding-top: 10vmax; padding-bottom: 10vmax; }
.section-border { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.section-border .section-background-fill { position: absolute; inset: 0; background: var(--bg); }
.section-background { position: absolute; inset: 0; z-index: 0; }
.section-background img { width: 100%; height: 100%; object-fit: cover; }
.section-background .overlay { position: absolute; inset: 0; background: #000; }
.content-wrapper { position: relative; z-index: 1; width: 100%; }
.content { width: 100%; }
.content.narrow { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); }
/* wavy section divider: main.js draws an SVG; below the wave shows the next section's colour */
.page-section.has-section-divider { padding-bottom: var(--divider-h, 6vw); }
.section-divider { position: absolute; left: 0; right: 0; bottom: 0; height: var(--divider-h, 6vw); z-index: 2; pointer-events: none; }
.section-divider svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* ---------- 5. Fluid-engine grid (positions come from each page's <style>) ---------- */
.fluid-engine { width: 100%; }
.fe-block { position: relative; min-width: 0; display: flex; }
.fe-block > .sqs-block { width: 100%; height: 100%; display: flex; flex-direction: column; position: relative; }
.fe-block .sqs-block-content { width: 100%; }

/* text */
.sqs-html-content { overflow-wrap: break-word; }
.sqs-html-content > *:first-child { margin-top: 0; }
.sqs-html-content > *:last-child { margin-bottom: 0; }
.sqs-html-content p, .sqs-html-content h1, .sqs-html-content h2, .sqs-html-content h3, .sqs-html-content h4 { white-space: pre-wrap; }
.sqs-html-content p:empty { min-height: 1em; }
.sqsrte-large { font-size: var(--fs-p-large); line-height: 1.8; }
.sqsrte-small { font-size: var(--fs-p-small); line-height: 1.8; }
.sqs-html-content a, .blog-excerpt a, .post-body a { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.sqs-html-content a:hover { opacity: .75; }
.sqs-html-content ul, .sqs-html-content ol { padding-left: 1.4em; margin: 1rem 0; }
/* auto-scaled text (e.g. the big "Hi!") – sized by main.js to fill its block */
/* only applied when the scaled text is the sole content of its block (main.js adds .scaled) */
.sqsrte-scaled-text-container.scaled { width: 100%; height: 100%; display: flex; align-items: center; }
.scaled .sqsrte-scaled-text { display: inline-block; white-space: nowrap; line-height: 1; }
.scaled .sqsrte-scaled-text > * { margin: 0 !important; line-height: 1 !important; font-size: inherit !important; white-space: nowrap; }
/* scaled text mixed with other content (About page): shown as a small bold heading, as on the original's mobile view */
.sqs-html-content > .sqsrte-scaled-text-container:not(:only-child) .sqsrte-scaled-text > * { font-size: var(--fs-p-large); line-height: 1.5; margin: 1rem 0; }

/* images */
.image-block .sqs-block-content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.img-wrap { flex: 1; position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; container-type: size; }
.img-box { display: block; position: relative; padding: 0; border: 0; background: none; cursor: inherit; overflow: hidden; }
button.img-box { cursor: zoom-in; }
.img-box img { width: 100%; height: 100%; object-fit: cover; }
.fit-cover .img-box { position: absolute; inset: 0; }
.fit-contain .img-box { aspect-ratio: var(--ar); width: min(100cqw, calc(100cqh * (var(--ar)))); height: auto; max-height: 100cqh; }
/* custom white frame (Squarespace custom CSS): drawn round the whole image block */
.framed .sqs-block-content { position: relative; }
.framed .sqs-block-content::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 6px #fff; pointer-events: none; z-index: 2; }
/* "Frame FIT image blocks" (page-level code on About, Contact, Editorial, Portraiture) */
.page-about-me .image-block img, .page-contact .image-block img,
.page-editorial-photos .image-block img, .page-portrait-photos .image-block img {
  padding: 14px; background: #fff; box-shadow: 0 0 0 1px #e0e0e0; box-sizing: border-box;
}
.image-caption { font-size: var(--fs-p-small); margin-top: .6em; }
/* image blocks inside classic (blog) layouts */
.image-classic-block figure { margin: 0 0 1rem; }
.image-classic-block img { width: 100%; height: auto; }
.image-classic-block figcaption { font-size: var(--fs-p-small); margin-top: .6em; opacity: .85; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font); font-weight: var(--w-heading); font-size: var(--fs-btn); line-height: 1.2;
  letter-spacing: .02em; text-decoration: none; padding: 1.2em 2.004em; border: 0; border-radius: 0;
  background: var(--btn-bg, var(--accent)); color: var(--btn-fg, var(--white)); cursor: pointer;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .8; }
.btn--small { font-size: calc(var(--fs-btn) * .85); }
.btn--large { font-size: calc(var(--fs-btn) * 1.2); }
.btn--secondary { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px currentColor; }
.btn-wrap { display: flex; width: 100%; height: 100%; align-items: center; }
.btn-wrap.align-left { justify-content: flex-start; }
.btn-wrap.align-center { justify-content: center; }
.btn-wrap.align-right { justify-content: flex-end; }
.btn-wrap.stretched .btn { width: 100%; height: 100%; padding-top: 0; padding-bottom: 0; min-height: 2.8em; }
.button-block .sqs-block-content { height: 100%; }

/* ---------- 7. Social icons ---------- */
.social-links { display: flex; flex-wrap: wrap; gap: .6em; align-items: center; }
.social-links a { display: inline-flex; color: inherit; transition: opacity .15s; }
.social-links a:hover { opacity: .7; }
.social-links svg { fill: currentColor; width: 1.4em; height: 1.4em; }
.social-links.size-small svg { width: 24px; height: 24px; }
.social-links.size-medium svg { width: 26px; height: 26px; }
.social-links.size-large svg { width: 34px; height: 34px; }
.social-links.size-extra-large svg { width: 44px; height: 44px; }
.social-block .align-center .social-links { justify-content: center; }
.social-block .align-right .social-links { justify-content: flex-end; }

/* ---------- 8. Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--accent); color: var(--white); }
.header-inner {
  display: flex; align-items: center; gap: 2vw; min-height: var(--header-h);
  padding: 0 var(--gutter); max-width: var(--sqs-site-max-width); margin: 0 auto;
}
.site-title { font-size: var(--fs-title); font-weight: var(--w-heading); line-height: 1.4; text-decoration: none; white-space: nowrap; color: var(--white); }
.site-nav { flex: 1; display: flex; justify-content: center; flex-wrap: wrap; column-gap: 1.6em; row-gap: 0; }
.nav-link { font-size: var(--fs-p); font-weight: var(--w-body); line-height: 1.8; text-decoration: none; color: var(--white); padding: .1em 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s; }
.nav-link:hover, .nav-link[aria-current="page"] { background-size: 100% 1px; }
.header-actions { display: flex; align-items: center; gap: 1.6em; }
.header-actions .social-links { gap: 1em; }
.btn--header { --btn-bg: var(--white); --btn-fg: var(--accent); font-size: calc(var(--fs-p) * .898); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.burger span, .burger::before { position: absolute; left: 4px; right: 4px; height: 2px; background: var(--white); transition: transform .25s, top .25s, opacity .2s; }
.burger::before { content: ""; top: 21px; }
.burger span:first-child { top: 13px; }
.burger span:last-child { top: 29px; }
.burger[aria-expanded="true"]::before { opacity: 0; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--accent); color: var(--white);
  padding: 6vw var(--gutter) 10vw; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .4em; }
.mobile-link { font-size: var(--fs-h3); font-weight: var(--w-heading); text-decoration: none; line-height: 1.5; }
.mobile-actions { display: flex; flex-direction: column; gap: 1.5em; margin-top: 2em; }
.mobile-actions .btn { width: 100%; }
body.menu-open { overflow: hidden; }
@media (max-width: 799px) {
  .site-nav, .header-actions { display: none; }
  .burger { display: block; }
}

/* ---------- 9. Galleries ---------- */
.gallery-section > .content-wrapper { padding: 0 !important; }
.gallery-reel { position: relative; height: var(--reel-h, 50vh); width: 100%; }
@media (min-width: 768px) {
  .gallery-section > .content-wrapper { padding: var(--gutter) !important; }
  .gallery-reel { height: calc(var(--reel-h, 50vh) - 2 * var(--gutter)); }
}
.reel-track {
  display: flex; height: 100%; gap: 0; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-item { flex: 0 0 auto; height: 100%; margin: 0; }
.reel-item button { height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; display: block; }
.reel-item img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.reel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px;
  border: 0; background: rgba(252,252,252,.92); color: #111; font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.reel-prev { left: 12px; }
.reel-next { right: 12px; }
.reel-btn:hover { background: #fff; }

/* --gutter on .gallery-masonry is the gallery's own spacing (15px), set inline */
.gallery-masonry { columns: 2; column-gap: var(--gutter); padding: 0; }
@media (min-width: 768px) { .gallery-masonry { columns: var(--cols, 3); } }
.masonry-item { break-inside: avoid; margin: 0 0 var(--gutter); }
/* JS masonry: items placed left-to-right into the shortest column (like Squarespace) */
.gallery-masonry.js-masonry { columns: auto; display: flex; align-items: flex-start; gap: var(--gutter); }
.js-masonry .masonry-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gutter); }
.js-masonry .masonry-item { margin: 0; }
.gallery-section:has(.gallery-masonry) > .content-wrapper { padding: 0 !important; }
.masonry-item img { width: 100%; height: auto; }
.masonry-item button { padding: 0; border: 0; background: none; display: block; width: 100%; cursor: zoom-in; }
[data-animate="fade-up"] .masonry-item { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-animate="fade-up"] .masonry-item.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-animate] .masonry-item { opacity: 1 !important; transform: none !important; transition: none; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(17,17,17,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 28px; width: 56px; height: 56px; cursor: pointer; }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- 10. Forms ---------- */
.site-form { display: flex; flex-direction: column; gap: 1.2rem; width: 100%; }
.site-form fieldset { border: 0; padding: 0; margin: 0; }
.site-form legend, .site-form label { display: block; font-size: var(--fs-p); font-weight: var(--w-body); line-height: 1.8; padding-bottom: 4px; }
.site-form .req { opacity: .7; font-size: .85em; }
.site-form .name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.site-form input, .site-form textarea, .site-form select {
  display: block; width: 100%; margin-top: 4px; padding: 10px; font: inherit; font-weight: var(--w-body);
  color: #000; background: var(--input-bg); border: 1px solid #000; border-radius: 0;
}
.site-form textarea { min-height: 100px; height: 100px; resize: vertical; }
.site-form input[type="date"] { width: auto; min-width: 11em; }
.site-form select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px 10px;
}
.site-form .name-row label { font-size: calc(var(--fs-p) * .88); }
.form-thanks { font-size: var(--fs-p-large); }
.site-form button[type="submit"] { align-self: flex-start; }
.site-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin: 0; }
@media (max-width: 767px) { .site-form { gap: .9rem; } .site-form .name-row { gap: .6rem; } }

/* embeds */
.map-embed { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.map-block .sqs-block-content { height: 100%; }
.cognito-section { padding-top: 2rem; }

/* ---------- 11. Blog ---------- */
.blog-section .content-wrapper { padding: 5.5vw var(--gutter) 6vw; max-width: var(--sqs-site-max-width); margin: 0 auto; }
.blog-card .blog-title { margin-bottom: .9em; }
.blog-card .blog-more-link { margin-top: 1.2em; }
.blog-list { display: flex; flex-direction: column; gap: 2vw; }
.blog-card { display: grid; grid-template-columns: 32% 1fr; gap: 6%; align-items: center; }
.blog-card:nth-child(even) { grid-template-columns: 1fr 32%; }
.blog-card:nth-child(even) .blog-image { order: 2; }
.blog-card.no-image { grid-template-columns: 1fr; }
.blog-image { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-image:hover img { transform: scale(1.02); }
.blog-meta { font-size: var(--fs-p-small); font-weight: var(--w-meta); opacity: .85; }
.blog-title { font-size: var(--fs-h2); line-height: 1.4; margin: .4em 0 .5em; }
.blog-title a { text-decoration: none; }
.blog-excerpt p { margin: 0 0 1rem; }
.blog-more-link { display: inline-block; margin-top: .5em; font-weight: var(--w-meta); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 767px) {
  .blog-card, .blog-card:nth-child(even) { grid-template-columns: 1fr; gap: 1.2rem; }
  .blog-card:nth-child(even) .blog-image { order: 0; }
  .blog-list { gap: 8vw; }
}

.blog-post { max-width: 662px; margin: 0 auto; }
.post-header { margin-bottom: 2.5rem; text-align: center; }
.post-title { font-size: var(--fs-h1); line-height: 1.4; margin: .3em 0 0; }
.post-meta { display: flex; justify-content: center; gap: 1.2em; font-size: var(--fs-p-small); font-weight: var(--w-meta); opacity: .85; }
.post-body .sqs-row { display: flex; flex-wrap: wrap; margin: 0 -1.2vw; }
.post-body .sqs-col { padding: 0 1.2vw; min-width: 0; }
.post-body .span-12 { width: 100%; } .post-body .span-11 { width: 91.666%; } .post-body .span-10 { width: 83.333%; }
.post-body .span-9 { width: 75%; } .post-body .span-8 { width: 66.666%; } .post-body .span-7 { width: 58.333%; }
.post-body .span-6 { width: 50%; } .post-body .span-5 { width: 41.666%; } .post-body .span-4 { width: 33.333%; }
.post-body .span-3 { width: 25%; } .post-body .span-2 { width: 16.666%; } .post-body .span-1 { width: 8.333%; }
.post-body .sqs-block { margin-bottom: 1.5rem; }
.post-body .button-block .btn-wrap { height: auto; }
.post-body h2 { font-size: var(--fs-h3); line-height: 1; }
@media (max-width: 767px) { .post-body .sqs-col { width: 100% !important; } }
.post-taxonomy { display: flex; flex-wrap: wrap; gap: .6em 1.2em; margin-top: 2rem; font-size: var(--fs-p-small); }
.post-taxonomy a { text-decoration: underline; }
.post-pagination { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin: 6rem 0 0; }
.post-pagination a { text-decoration: none; display: flex; align-items: center; gap: .6em; max-width: 46%; }
.post-pagination .pag-next { margin-left: auto; text-align: right; }
.pag-arrow { font-size: var(--fs-h3); line-height: 1; opacity: .8; }
.pag-title { font-size: var(--fs-h3); font-weight: var(--w-heading); line-height: 1.2; }
@media (max-width: 767px) { .pag-title { font-size: var(--fs-h4); } }

/* ---------- 12. Footer & cookie banner ---------- */
.site-footer { position: relative; background: var(--dark-accent); color: var(--white); font-size: var(--fs-p-small); line-height: 1.7; }
.footer-inner {
  max-width: var(--sqs-site-max-width); margin: 0 auto; padding: clamp(48px, 6vw, 96px) var(--gutter) clamp(36px, 4vw, 64px);
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 3rem 4vw;
}
.footer-title { display: inline-block; font-size: var(--fs-h4); font-weight: var(--w-heading); line-height: 1.3; text-decoration: none; margin-bottom: .8rem; }
.footer-brand p { margin: 0 0 .8rem; max-width: 34em; opacity: .85; }
.footer-brand .footer-tagline { opacity: 1; }
.footer-brand .social-links { margin-top: 1.4rem; gap: 1.1rem; }
.footer-heading { font-size: var(--fs-p); font-weight: var(--w-heading); margin: .35rem 0 1rem; letter-spacing: .02em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col li { opacity: .85; }
.footer-col a, .footer-bottom a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s; }
.footer-col a:hover, .footer-bottom a:hover, .footer-col a:focus-visible, .footer-bottom a:focus-visible { background-size: 100% 1px; }
.footer-bottom {
  max-width: var(--sqs-site-max-width); margin: 0 auto; padding: 1.4rem var(--gutter) 1.8rem;
  border-top: 1px solid rgba(252,252,252,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem;
  font-size: calc(var(--fs-p-small) * .92); opacity: .75;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
@media (max-width: 1023px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 599px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.2rem 6vw; }
  .footer-inner > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
.cookie-banner {
  position: fixed; left: 1.4vw; bottom: 2vw; z-index: 150; max-width: 360px; background: #fff; color: #111;
  padding: 18px 20px; font-size: 13.5px; line-height: 1.7; box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 12px; }
.cookie-ok { background: #111; color: #fff; border: 0; padding: 8px 16px; font-size: 13px; cursor: pointer; }
