/*
Theme Name: GCR Blog
Theme URI: https://getcheaprentals.com
Author: Get Cheap Rentals
Description: The Get Cheap Rentals article design, ported from the React site so /blog looks identical to the rest of getcheaprentals.com.
Version: 1.0.3
License: GPL-2.0-or-later
Text Domain: gcr-blog
*/

/* ─────────────────────────────────────────────────────────────────────────────
   Values here are lifted verbatim from the React components (BlogPost.tsx's
   PROSE constant and blog-ui.tsx) rather than re-derived. Tailwind is not in
   play, so every size is written out — which is why the numbers look oddly
   specific: 16.5px body, 1.65 line-height and the rest are the measured
   Wikipedia-style settings that were arrived at over several rounds.
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  --brand:  #0056D4;
  --yellow: #FFD000;
  --navy:   #0A1722;
  --green:  #1BA84A;
  --ink:    #202122;
  --border: rgba(0, 0, 0, 0.08);
  --footer-bg: #070E17;

  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
  /* The article body deliberately uses the reader's system font — this is the
     single biggest reason Wikipedia's long articles read easily, and it costs
     nothing to load. */
  --font-reading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

/* The UA stylesheet's [hidden] { display: none } is a plain element rule, so any
   class carrying a display value outranks it — .gcr-sticky-form is display:flex,
   which left the email form visible next to the pitch it was meant to replace.
   Anything toggled by the hidden attribute needs this to actually hide. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

.gcr-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .gcr-wrap { padding: 0 24px; } }

/* ── Reading progress ─────────────────────────────────────────────────────── */
#gcr-progress {
  position: fixed; inset-inline: 0; top: 0; height: 4px; z-index: 60;
  background: var(--brand); transform-origin: left; transform: scaleX(0);
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.gcr-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--border);
}
.gcr-header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 16px;
  height: 72px; display: flex; align-items: center;
}
@media (min-width: 640px) { .gcr-header-inner { padding: 0 24px; } }
.gcr-logo img { display: block; height: 44px; width: auto; }
@media (min-width: 640px) { .gcr-logo img { height: 48px; } }

.gcr-nav { margin-left: auto; display: none; align-items: center; gap: 8px; }
@media (min-width: 1024px) { .gcr-nav { display: flex; } }
.gcr-nav a {
  border-radius: 9999px; padding: 8px 16px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  color: var(--brand); transition: background-color .15s, color .15s;
}
.gcr-nav a:hover { background: rgba(0, 86, 212, .1); }
.gcr-nav a.is-active { background: var(--brand); color: #fff; }

.gcr-burger {
  margin-left: auto; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  color: var(--navy);
}
@media (min-width: 1024px) { .gcr-burger { display: none; } }

.gcr-mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: #fff;
  display: none; flex-direction: column;
}
.gcr-mobile-menu.is-open { display: flex; }
.gcr-mobile-menu-top {
  height: 72px; padding: 0 16px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--border);
}
.gcr-mobile-links { display: flex; flex-direction: column; gap: 12px; padding: 32px 24px; }
.gcr-mobile-links a {
  border-radius: 12px; padding: 12px 16px; font-size: 20px; font-weight: 700;
  color: var(--brand); text-decoration: none;
}
.gcr-mobile-links a.is-active { background: var(--brand); color: #fff; }

/* ── Article shell ────────────────────────────────────────────────────────── */
.gcr-article { padding: 40px 0; }
@media (min-width: 640px) { .gcr-article { padding: 56px 0; } }
.gcr-article-inner { max-width: 1024px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .gcr-article-inner { padding: 0 24px; } }

.gcr-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none;
}
.gcr-back:hover { color: var(--navy); }

.gcr-eyebrow {
  margin: 24px 0 0; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: var(--brand);
}

.gcr-title {
  margin: 12px 0 0; font-family: var(--font-serif); font-weight: 600;
  font-size: 34px; line-height: 1.18; color: var(--navy);
}
@media (min-width: 640px) { .gcr-title { font-size: 46px; line-height: 1.1; } }

.gcr-meta {
  margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 12px; font-size: 14px; color: rgba(10, 23, 34, .55);
}
.gcr-meta .gcr-author { font-weight: 600; color: rgba(10, 23, 34, .75); }

.gcr-cover {
  margin-top: 32px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05);
  outline: 1px solid rgba(0,0,0,.05); outline-offset: -1px;
}

.gcr-layout { margin-top: 48px; }
@media (min-width: 1024px) {
  .gcr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 48px; }
}
.gcr-main { min-width: 0; }

/* ── Article body ─────────────────────────────────────────────────────────── */
.gcr-prose { font-family: var(--font-reading); color: var(--ink); }

.gcr-prose h2, .gcr-prose h3, .gcr-prose h4 {
  scroll-margin-top: 96px; font-weight: 600; color: #000;
}
.gcr-prose h2 {
  margin: 48px 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  font-size: 24px; line-height: 1.3;
}
@media (min-width: 640px) { .gcr-prose h2 { font-size: 28px; } }
.gcr-prose h3 { margin: 36px 0 12px; font-size: 19px; line-height: 1.375; }
@media (min-width: 640px) { .gcr-prose h3 { font-size: 21px; } }
.gcr-prose h4 { margin: 32px 0 8px; font-size: 17px; }

.gcr-prose p { margin: 1.1em 0; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.gcr-prose ul, .gcr-prose ol { margin: 20px 0; padding-left: 24px; }
.gcr-prose li {
  margin: 6px 0; padding-left: 6px;
  font-size: 16.5px; line-height: 1.65; color: var(--ink);
}
.gcr-prose li::marker { color: var(--brand); }
.gcr-prose a { color: var(--brand); text-decoration: none; text-underline-offset: 2px; }
.gcr-prose a:hover { text-decoration: underline; }
.gcr-prose strong { font-weight: 600; color: var(--navy); }
.gcr-prose img { border-radius: 16px; }
.gcr-prose figure { margin: 36px 0; }
.gcr-prose figcaption {
  margin-top: 12px; text-align: center; font-size: 14px; color: rgba(10, 23, 34, .55);
}
.gcr-prose blockquote {
  margin: 44px 0; padding: 28px 0; border-block: 1px solid rgba(0,0,0,.1);
  font-family: var(--font-serif); font-size: 22px; line-height: 1.375; color: var(--navy);
}
@media (min-width: 640px) { .gcr-prose blockquote { font-size: 27px; } }
.gcr-prose blockquote p { font: inherit; color: inherit; }
.gcr-prose table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15.5px; }
.gcr-prose th, .gcr-prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.gcr-prose th { background: #F8FAFC; font-weight: 600; }
/* Wide tables scroll inside themselves rather than pushing the page sideways. */
.gcr-prose .wp-block-table { overflow-x: auto; }

/* ── Table of contents ────────────────────────────────────────────────────── */
/* The rail is desktop-only; the CTA it holds is repeated inline for mobile.
   Exactly one of the pair is ever visible. */
.gcr-rail { display: none; }
@media (min-width: 1024px) {
  .gcr-rail { display: block; margin-top: 0; }
  .gcr-rail-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 28px; }
}
.gcr-mobile-cta { display: block; }
@media (min-width: 1024px) { .gcr-mobile-cta { display: none; } }
.gcr-toc-label {
  margin: 0; font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: rgba(10, 23, 34, .4);
}
.gcr-toc ul {
  margin: 12px 0 0; padding: 0; list-style: none; border-left: 1px solid rgba(0,0,0,.1);
}
.gcr-toc a {
  display: block; margin-left: -1px; padding: 6px 0 6px 16px;
  border-left: 2px solid transparent; font-size: 14px;
  color: rgba(10, 23, 34, .55); text-decoration: none; transition: color .15s;
}
.gcr-toc a:hover { color: var(--navy); }
.gcr-toc a.is-active { border-left-color: var(--brand); font-weight: 600; color: var(--brand); }

/* ── CTA card (rail + inline mobile) ──────────────────────────────────────── */
.gcr-cta { border-radius: 16px; background: var(--brand); padding: 20px; color: #fff; }
.gcr-cta-headline { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.375; }
.gcr-cta-body { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.8); }
/* {braced} words: bold yellow in the headline, yellow underline in the body —
   two competing yellow blocks in one small card would flatten the hierarchy. */
.gcr-mark { font-weight: 700; color: var(--yellow); }
.gcr-underline {
  font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--yellow); text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.gcr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 16px; border: 0; border-radius: 9999px; cursor: pointer;
  background: var(--yellow); color: var(--navy);
  padding: 10px 16px; font-size: 14px; font-weight: 700; font-family: inherit;
  text-decoration: none; transition: transform .15s;
}
.gcr-btn:hover { transform: scale(1.02); }
.gcr-btn:disabled { opacity: .7; cursor: default; transform: none; }
.gcr-btn-block { width: 100%; padding: 12px 16px; }

.gcr-field {
  margin-top: 12px; width: 100%; border-radius: 12px; padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.25); background: #fff;
  font-size: 15px; font-family: inherit; color: var(--navy); outline: none;
}
.gcr-field::placeholder { color: rgba(10, 23, 34, .45); }
.gcr-field:focus { border-color: #fff; }
.gcr-error { margin: 8px 0 0; font-size: 14px; color: var(--yellow); }

/* ── Mobile sticky CTA bar ────────────────────────────────────────────────── */
/* A thin bar under the header, never an overlay: Google penalises mobile
   interstitials that cover content, and this is the site being indexed. */
/* top: 72px matches the header height exactly. At 57px the bar sat behind the
   header and clipped the top of the button. */
.gcr-sticky-cta { position: sticky; top: 72px; z-index: 40; background: var(--brand); }
.gcr-sticky-cta[hidden] { display: none; }
@media (min-width: 1024px) { .gcr-sticky-cta { display: none !important; } }
.gcr-sticky-inner { max-width: 1024px; margin: 0 auto; padding: 10px 16px; }
.gcr-sticky-headline {
  margin: 0 0 8px; text-align: center; font-size: 16px; font-weight: 600;
  line-height: 1.375; color: #fff;
}
.gcr-sticky-form { display: flex; align-items: center; gap: 8px; }
.gcr-sticky-form .gcr-field { margin-top: 0; flex: 1; min-width: 0; border-radius: 9999px; font-size: 14px; }
.gcr-sticky-form .gcr-field::placeholder { font-weight: 500; color: rgba(10,23,34,.6); }
.gcr-sticky-form .gcr-btn { flex-shrink: 0; }
/* .gcr-btn carries a 16px top margin for the rail card, which stacked on top of
   the headline's own 8px and made the bar noticeably taller than the design. */
.gcr-sticky-cta .gcr-btn { margin-top: 0; }
.gcr-sticky-done { margin: 0; padding: 4px 0; text-align: center; font-size: 14px; font-weight: 600; color: #fff; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.gcr-section { margin-top: 56px; }
.gcr-section h2 {
  margin: 0; font-family: var(--font-serif); font-weight: 600;
  font-size: 24px; color: var(--navy);
}
@media (min-width: 640px) { .gcr-section h2 { font-size: 28px; } }
.gcr-faq {
  margin-top: 24px; border: 1px solid var(--border); border-radius: 16px;
  background: #fff; overflow: hidden;
}
.gcr-faq details { padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,.08); }
.gcr-faq details:last-child { border-bottom: 0; }
@media (min-width: 640px) { .gcr-faq details { padding: 16px 24px; } }
.gcr-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 600; line-height: 1.375; color: var(--navy);
}
@media (min-width: 640px) { .gcr-faq summary { font-size: 17px; } }
.gcr-faq summary::-webkit-details-marker { display: none; }
.gcr-faq summary svg { flex-shrink: 0; color: var(--brand); transition: transform .3s; }
.gcr-faq details[open] summary svg { transform: rotate(45deg); }
.gcr-faq p { margin: 12px 0 0; max-width: 42rem; font-size: 15px; line-height: 1.625; color: rgba(10,23,34,.7); }

/* ── Related posts ────────────────────────────────────────────────────────── */
.gcr-related { margin-top: 24px; display: grid; gap: 20px; }
@media (min-width: 640px) { .gcr-related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gcr-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border); border-radius: 16px; background: #fff;
  text-decoration: none; transition: box-shadow .2s;
}
.gcr-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.gcr-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gcr-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.gcr-card-eyebrow {
  margin: 0; font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--brand);
}
.gcr-card h3 { margin: 8px 0 0; font-size: 15.5px; font-weight: 600; line-height: 1.375; color: var(--navy); }
.gcr-card:hover h3 { color: var(--brand); }
.gcr-card-time { margin-top: 12px; font-size: 12px; color: rgba(10,23,34,.55); }

/* ── Closing CTA block ────────────────────────────────────────────────────── */
.gcr-closing {
  margin-top: 56px; border-radius: 24px; background: var(--navy);
  padding: 32px; text-align: center;
}
@media (min-width: 640px) { .gcr-closing { padding: 40px; } }
.gcr-closing h2 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 24px; color: #fff; }
@media (min-width: 640px) { .gcr-closing h2 { font-size: 30px; } }
.gcr-closing p { margin: 12px auto 0; max-width: 28rem; color: rgba(255,255,255,.7); }
.gcr-closing .gcr-btn {
  margin-top: 28px; padding: 16px 32px; font-size: 16px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.25);
}

/* ── Blog index ───────────────────────────────────────────────────────────── */
/* Mirrors src/pages/Blog.tsx: a white centred masthead, then the posts on a
   tinted panel — newest one wide, the rest three-up. */

.gcr-blog-hero { background: #fff; padding: 56px 0 40px; }
@media (min-width: 640px) { .gcr-blog-hero { padding: 80px 0 48px; } }
.gcr-blog-hero-inner { max-width: 48rem; margin: 0 auto; padding: 0 16px; text-align: center; }
@media (min-width: 640px) { .gcr-blog-hero-inner { padding: 0 24px; } }

.gcr-blog-eyebrow {
  margin: 0; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em; color: var(--brand);
}
.gcr-blog-hero h1 {
  margin: 12px 0 0; font-family: var(--font-serif); font-weight: 600;
  font-size: 36px; line-height: 1.1; color: var(--navy);
}
@media (min-width: 640px) { .gcr-blog-hero h1 { font-size: 48px; } }
.gcr-blog-lead {
  max-width: 36rem; margin: 20px auto 0;
  font-size: 18px; line-height: 1.625; color: rgba(10, 23, 34, .65);
}

.gcr-blog-body { background: #F8FAFC; padding: 48px 0; }
@media (min-width: 640px) { .gcr-blog-body { padding: 64px 0; } }
.gcr-blog-body-inner { max-width: 1024px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .gcr-blog-body-inner { padding: 0 24px; } }

/* ── Featured ─────────────────────────────────────────────────────────────── */
.gcr-featured {
  display: grid; overflow: hidden; border-radius: 24px; background: #fff;
  text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.05);
  outline: 1px solid rgba(0,0,0,.06); outline-offset: -1px;
  transition: box-shadow .3s;
}
@media (min-width: 768px) { .gcr-featured { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.gcr-featured:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }

.gcr-featured-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
@media (min-width: 768px) { .gcr-featured-media { aspect-ratio: auto; min-height: 340px; } }
.gcr-featured-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease-out;
}
.gcr-featured:hover .gcr-featured-media img { transform: scale(1.04); }

.gcr-badge {
  position: absolute; left: 16px; top: 16px;
  border-radius: 9999px; background: rgba(255,255,255,.95);
  padding: 4px 12px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .025em; color: var(--brand);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

/* p-5 on a phone, where generous padding costs the headline the width it needs. */
.gcr-featured-body {
  display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 20px;
}
@media (min-width: 640px) { .gcr-featured-body { padding: 40px; } }
.gcr-featured-body h2 {
  margin: 0; font-family: var(--font-serif); font-weight: 600;
  font-size: 26px; line-height: 1.2; color: var(--navy); transition: color .15s;
}
@media (min-width: 640px) { .gcr-featured-body h2 { font-size: 32px; line-height: 1.375; } }
.gcr-featured:hover .gcr-featured-body h2 { color: var(--brand); }
.gcr-featured-excerpt {
  margin: 0; font-size: 15.5px; line-height: 1.625; color: rgba(10,23,34,.65);
}
@media (min-width: 640px) { .gcr-featured-excerpt { font-size: 16px; } }
.gcr-featured-body .gcr-meta { margin-top: 0; color: rgba(10,23,34,.5); }
.gcr-readmore {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--brand);
}
.gcr-readmore svg { transition: transform .3s; }
.gcr-featured:hover .gcr-readmore svg { transform: translateX(4px); }

/* ── Grid ─────────────────────────────────────────────────────────────────── */
.gcr-blog-grid { margin-top: 32px; display: grid; gap: 24px; }
@media (min-width: 640px) { .gcr-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gcr-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.gcr-post-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; background: #fff; text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  outline: 1px solid rgba(0,0,0,.06); outline-offset: -1px;
  transition: box-shadow .3s;
}
.gcr-post-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.gcr-post-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.gcr-post-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease-out;
}
.gcr-post-card:hover .gcr-post-media img { transform: scale(1.04); }

/* Type steps DOWN at sm: these are full-width cards on a phone, where the
   desktop sizes read as cramped against all that width. */
.gcr-post-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 20px; }
.gcr-post-body h3 {
  margin: 0; font-size: 19px; font-weight: 600; line-height: 1.375;
  color: var(--navy); transition: color .15s;
}
@media (min-width: 640px) { .gcr-post-body h3 { font-size: 16px; } }
.gcr-post-card:hover .gcr-post-body h3 { color: var(--brand); }
.gcr-post-excerpt { margin: 0; font-size: 15px; line-height: 1.625; color: rgba(10,23,34,.6); }
@media (min-width: 640px) { .gcr-post-excerpt { font-size: 14px; } }
.gcr-post-meta {
  margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(10,23,34,.45);
}
@media (min-width: 640px) { .gcr-post-meta { font-size: 12px; } }

.gcr-more { margin-top: 40px; text-align: center; font-size: 14px; color: rgba(10,23,34,.45); }
.gcr-pagination { margin-top: 40px; text-align: center; }
.gcr-pagination a, .gcr-pagination .current {
  display: inline-block; padding: 8px 14px; margin: 0 2px;
  border-radius: 9999px; font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--brand);
}
.gcr-pagination .current { background: var(--brand); color: #fff; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.gcr-footer {
  border-top: 1px solid rgba(255,255,255,.1);
  background: var(--footer-bg); color: rgba(255,255,255,.6);
}
.gcr-footer-inner { max-width: 1280px; margin: 0 auto; padding: 48px 16px; }
@media (min-width: 640px) { .gcr-footer-inner { padding: 56px 24px; } }
.gcr-footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
@media (min-width: 1024px) { .gcr-footer-grid { grid-template-columns: 1.7fr 1fr 1fr; gap: 48px; } }
.gcr-footer-brand { grid-column: span 2; }
@media (min-width: 1024px) { .gcr-footer-brand { grid-column: span 1; } }
.gcr-footer-logo {
  display: inline-flex; align-items: center; border-radius: 12px;
  background: #fff; padding: 10px 14px;
}
.gcr-footer-logo img { height: 32px; width: auto; display: block; }
.gcr-footer h3 {
  margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: rgba(255,255,255,.4);
}
.gcr-footer ul { margin: 16px 0 0; padding: 0; list-style: none; }
.gcr-footer li { margin-bottom: 10px; }
.gcr-footer li a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); text-decoration: none;
}
.gcr-footer li a:hover { color: #fff; }
.gcr-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.gcr-footer-bottom div {
  max-width: 1280px; margin: 0 auto; padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,.4);
}
@media (min-width: 640px) {
  .gcr-footer-bottom div { flex-direction: row; justify-content: space-between; padding: 20px 24px; }
}
.gcr-footer-bottom a { color: inherit; text-decoration: none; }
.gcr-footer-bottom a:hover { color: #fff; }
.gcr-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }

/* ── Popup ────────────────────────────────────────────────────────────────── */
/* Never in the server-rendered HTML — crawlers must parse a page with no modal.
   See assets/blog.js for the trigger rules and the SEO reasoning. */
.gcr-popup-scrim {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(10, 23, 34, .55);
  opacity: 0; transition: opacity .25s ease;
}
.gcr-popup-scrim.is-open { opacity: 1; }
/* Split from the scrim: animating opacity and backdrop-filter on the same
   element is what made this janky the first time round. */
.gcr-popup-blur {
  position: fixed; inset: 0; z-index: 99;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.gcr-popup {
  position: relative; width: 100%; max-width: 460px;
  border-radius: 24px; background: var(--brand); color: #fff;
  padding: 28px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.4);
  transform: translateY(8px) scale(.98); transition: transform .25s ease;
}
.gcr-popup-scrim.is-open .gcr-popup { transform: none; }
.gcr-popup h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.gcr-popup p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); }
.gcr-popup .gcr-field { color: var(--navy); }
.gcr-popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border: 0; border-radius: 9999px; cursor: pointer;
  background: rgba(255,255,255,.15); color: #fff; font-size: 18px; line-height: 1;
}
.gcr-popup-close:hover { background: rgba(255,255,255,.28); }

/* ── Utility ──────────────────────────────────────────────────────────────── */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
