/* Top Stop Convenience Stores. Look carried over from the original site (Wayback, March 2025):
   wave masthead, blue nav bar, the red/yellow/blue logo stripe between full-width color blocks. */
:root {
  --red: #ce132c;
  --red-dark: #a50f23;
  --blue: #29628c;
  --blue-dark: #1f4d6f;
  --blue-light: #b9cddc;
  --navy: #29628c;
  --navy-dark: #1f4d6f;
  --yellow: #f2db3d;
  --ink: #23262f;
  --text: #373737;
  --muted: #5d6270;
  --line: #e2e4ea;
  --tint: #f4f6fa;
  --white: #fff;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(20, 24, 40, 0.08), 0 4px 14px rgba(20, 24, 40, 0.1);
  --wrap: 1180px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Montserrat", "Roboto", system-ui, sans-serif;
  /* The logo stripe: red grid, yellow, blue */
  --stripe-r: 22px;
  --stripe-y: 7px;
  --stripe-b: 10px;
  --stripe-h: calc(var(--stripe-r) + var(--stripe-y) + var(--stripe-b));
  --stripe:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 7px) top / 100% var(--stripe-r) no-repeat,
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 7px) top / 100% var(--stripe-r) no-repeat,
    linear-gradient(var(--red) 0 var(--stripe-r), var(--yellow) var(--stripe-r) calc(var(--stripe-r) + var(--stripe-y)), var(--blue) calc(var(--stripe-r) + var(--stripe-y)) var(--stripe-h));
}
@media (max-width: 640px) { :root { --stripe-r: 16px; --stripe-y: 5px; --stripe-b: 7px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p, ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.eyebrow { font: 700 0.8rem/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: 0.6em; }
.lede { font-size: 1.15rem; color: var(--muted); }
.rounded { border-radius: var(--radius); }
.stripe { height: var(--stripe-h); background: var(--stripe); }
.shout { font: italic 900 clamp(1.3rem, 3vw, 2rem)/1.15 var(--font); text-transform: uppercase; text-align: center; letter-spacing: 0.01em; margin: 0 0 0.7em; }

/* Buttons: squared, caps, a little lift, like the original */
.btn { display: inline-block; font: 500 0.95rem/1 var(--font); text-transform: uppercase; letter-spacing: 0.03em; padding: 0.85em 1.5em; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; margin: 0 0.4em 0.5em 0; cursor: pointer; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); transition: background 0.15s, color 0.15s, transform 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { border-color: var(--blue); color: var(--blue); background: #fff; box-shadow: none; }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--yellow); color: var(--ink); }
.btn--small { font-size: 0.85rem; padding: 0.7em 1.1em; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Masthead: waves, centered logo, social squares */
.masthead { position: relative; background: #fff; overflow: hidden; }
.masthead-waves { position: absolute; inset: 0 0 auto; width: 100%; height: 100%; }
.masthead-inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: clamp(64px, 7vw, 92px); padding-top: 4px; padding-bottom: 4px; }
.brand { grid-column: 2; }
.brand img { width: clamp(190px, 26vw, 320px); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.3)); }
.social { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: #fff; }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.social--top { grid-column: 3; justify-self: center; }
.social--top a { background: var(--red); border-radius: 2px; width: 34px; height: 34px; }
.social--top a:hover { background: var(--red-dark); color: #fff; }
.social--foot a { background: var(--blue); border-radius: 50%; }
.social--foot a:hover { background: var(--red); color: #fff; }
@media (max-width: 640px) { .social--top { display: none; } }

/* Nav bar */
.navbar { background: var(--blue); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
.site-nav > ul { display: flex; align-items: center; justify-content: space-between; gap: 2px; list-style: none; margin: 0 auto; padding: 0; max-width: 1060px; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 15px 12px; font: 500 0.95rem/1.2 var(--font); text-transform: uppercase; letter-spacing: 0.02em; color: #fff; text-decoration: none; }
.site-nav a:hover, .site-nav .is-active > a { color: var(--yellow); }
.site-nav ul ul { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--blue); box-shadow: var(--shadow); padding: 4px 0; list-style: none; margin: 0; }
.site-nav ul ul a { padding: 11px 16px; text-transform: none; font-size: 0.95rem; }
.site-nav ul ul ul { position: static; box-shadow: none; padding: 0 0 0 12px; display: block; }
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: block; }
.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 14px 0; font: 500 1rem var(--font); text-transform: uppercase; letter-spacing: 0.04em; color: #fff; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blue); box-shadow: var(--shadow); max-height: calc(100vh - 60px); overflow-y: auto; }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 0 16px 12px; }
  .site-nav ul ul { display: block; position: static; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
}

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tint { background: var(--tint); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; }

/* Home hero: centered italic caps over the light blue sky */
.hero { position: relative; color: #fff; text-align: center; background: linear-gradient(180deg, #4d7ea3 0%, #7a9fbc 55%, #a9c1d4 100%); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; mix-blend-mode: luminosity; }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(72px, 11vw, 150px); }
.hero h1 { color: #fff; font: italic 900 clamp(2.1rem, 6vw, 4rem)/1.05 var(--font); text-transform: uppercase; letter-spacing: 0.005em; margin: 0 auto 0.35em; max-width: 18ch; text-shadow: 2px 3px 0 rgba(20, 40, 60, 0.45), 0 6px 18px rgba(20, 40, 60, 0.35); }
.hero-lede { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 40ch; margin: 0 auto 1.4em; text-shadow: 0 1px 6px rgba(20, 40, 60, 0.6); }

/* Inner page titles: red caps on white, like the original */
.page-hero { background: #fff; padding: clamp(32px, 5vw, 56px) 0 8px; }
.page-hero h1 { color: var(--red); font: 500 clamp(1.8rem, 3.4vw, 2.4rem)/1.15 var(--font); text-transform: uppercase; letter-spacing: 0.01em; margin: 0; }
.page-hero p { margin: 0.4em 0 0; font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.page-hero + .section { padding-top: clamp(24px, 4vw, 40px); }
.page-hero--photo { display: flex; flex-direction: column-reverse; padding-bottom: 0; }
.page-hero--photo img { width: 100%; height: clamp(180px, 26vw, 320px); object-fit: cover; margin-top: clamp(20px, 3vw, 32px); }

/* Full-width color blocks, each topped with the logo stripe */
.block { position: relative; padding: calc(var(--stripe-h) + clamp(40px, 6vw, 72px)) 0 clamp(40px, 6vw, 72px); color: #fff; background: var(--blue); isolation: isolate; }
.block::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--stripe-h); background: var(--stripe); z-index: 1; }
.block-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.block::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 40%, rgba(62, 113, 151, 0.7), rgba(41, 98, 140, 0.92)); }
.block--photo::after { background: linear-gradient(rgba(41, 98, 140, 0.8), rgba(31, 77, 111, 0.88)); }
.block--red { background: var(--red); }
.block--red::after { background: linear-gradient(rgba(206, 19, 44, 0.88), rgba(206, 19, 44, 0.92)); }
.block--yellow { background: var(--yellow); color: var(--ink); }
.block--yellow::after { display: none; }
.block-title { color: inherit; font: 600 clamp(1.5rem, 3vw, 2.1rem)/1.15 var(--display); text-transform: uppercase; margin: 0 0 clamp(20px, 3vw, 32px); }
.block-icon { margin: 0 auto 24px; width: auto; height: clamp(64px, 8vw, 84px); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3)); }
.block-icon--round { border-radius: 16px; }
.block-copy { text-align: center; font-size: 1.15rem; max-width: 46ch; margin: 0 auto 1.2em; }
.block-copy strong { display: block; font-size: 1.3rem; }
.block-actions { text-align: center; }
.block .app-badges { justify-content: center; }
.block a:not(.btn) { color: inherit; }

/* Perx promo panel: photo with copy over the left side */
.promo { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); margin-bottom: clamp(24px, 4vw, 40px); background: #111; }
.promo > img { width: 100%; height: clamp(300px, 36vw, 440px); object-fit: cover; object-position: 70% 50%; opacity: 0.9; }
.promo-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(20px, 4vw, 48px); max-width: 520px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 70%, transparent 100%); }
.promo-copy h3 { color: #fff; font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--font); margin-bottom: 0.4em; }
.promo-copy .tick-list li::before { border-color: var(--yellow); }
@media (max-width: 640px) {
  .promo > img { height: 220px; }
  .promo-copy { position: static; max-width: none; background: #151a22; }
}

.feature-media { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 4vw, 48px); flex-wrap: wrap; margin: 0 auto clamp(20px, 3vw, 32px); }
.feature-media img { max-height: clamp(220px, 32vw, 380px); width: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35)); }
.feature-media--cards img { max-height: clamp(110px, 16vw, 180px); }
.banner-img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: clamp(20px, 3vw, 32px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }
.fuel-split { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 16px; text-align: center; }
.fuel-split .block-copy { margin: 0; }
.fuel-split img { max-width: min(520px, 100%); margin: 0 auto; }


.top-deals-badge { width: clamp(90px, 10vw, 120px); margin: 0 auto 28px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25)); }
.block--yellow .offer-card { border: 0; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15); border-radius: 2px; }
.block--yellow .offer-body h3 a { color: var(--red); text-transform: uppercase; font: 500 1.05rem/1.3 var(--font); }
.block--yellow .empty-state { background: #fff; border: 0; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12); color: var(--text); }
.block--yellow .block-actions { margin-top: 28px; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--form { align-items: start; grid-template-columns: 0.9fr 1.1fr; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.card-stack { display: grid; gap: 16px; justify-items: center; }
.card-stack img { box-shadow: none; max-width: 360px; }
@media (max-width: 860px) { .split, .split--form { grid-template-columns: 1fr; } }

.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 1.6em; margin-bottom: 0.55em; }
.tick-list li::before { content: ""; position: absolute; left: 0.15em; top: 0.5em; width: 0.6em; height: 0.35em; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

.app-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.app-badges img { height: 48px; width: auto; }
.pay-marks { display: flex; gap: 10px; align-items: center; }
.pay-marks img { height: 36px; width: auto; }

.screens { display: flex; justify-content: center; gap: clamp(12px, 2.5vw, 28px); margin-top: clamp(28px, 5vw, 48px); }
.screens img { flex: 0 1 220px; min-width: 0; height: auto; }
.screens--shot img { border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 560px) { .screens { flex-wrap: wrap; } .screens img { flex-basis: calc(50% - 8px); } }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card > img { max-height: 160px; width: auto; object-fit: contain; margin-bottom: 16px; align-self: flex-start; border-radius: 8px; }
.card > .btn:last-child, .card > p:last-child { margin-top: auto; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr)); gap: 24px; }
.feature { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.feature > img { width: 140px; height: 140px; object-fit: contain; }
.feature h2 { font-size: 1.3rem; }
@media (max-width: 520px) { .feature { grid-template-columns: 1fr; } .feature > img { width: 110px; height: 110px; } }

/* Offers */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.offer-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--line); }
.offer-media { display: block; aspect-ratio: 1; background: var(--tint); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 16px 18px 18px; }
.offer-body h3 { font-size: 1.1rem; margin-bottom: 0.35em; }
.offer-body h3 a { color: var(--ink); text-decoration: none; }
.offer-body h3 a:hover { color: var(--red); }
.offer-body p { margin-bottom: 0.4em; }
.offer-valid { font-size: 0.85rem; color: var(--muted); }
.offer-text-card { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 20px; text-align: center; background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; }
.offer-text-card-brand { font: 800 0.85rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 6px 10px; border-radius: 4px; }
.offer-text-card-title { font: 800 clamp(1.3rem, 3vw, 1.8rem)/1.15 var(--display); }
.offer-text-card--large { aspect-ratio: 1; border-radius: var(--radius); }
.offer-text-card--large .offer-text-card-title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.offer-detail { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.offer-detail-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.offer-deal { font: 700 1.4rem/1.35 var(--display); color: var(--ink); }
@media (max-width: 760px) { .offer-detail { grid-template-columns: 1fr; } }
.notice { background: #fff6d6; border-left: 4px solid var(--yellow); padding: 12px 16px; border-radius: 6px; }
.empty-state { background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pager a, .pager span { padding: 8px 14px; border-radius: 6px; border: 1px solid var(--line); text-decoration: none; }
.pager span { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Stores */
.store-tools { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-bottom: 20px; }
.store-tools label { font: 700 1rem var(--display); color: var(--ink); }
.store-tools input { font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 8px; width: 100%; }
.store-count { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 640px) { .store-tools { grid-template-columns: 1fr; } }
.store-map { height: 420px; border-radius: var(--radius); margin-bottom: 28px; background: var(--tint); border: 1px solid var(--line); }
.store-map:empty { display: none; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.store-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.store-card[hidden] { display: none; }
.store-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.store-body { padding: 16px 18px 12px; }
.store-body h3 a { color: var(--ink); text-decoration: none; }
.store-code { display: inline-block; font-size: 0.75rem; background: var(--navy); color: #fff; padding: 3px 7px; border-radius: 4px; vertical-align: middle; }
.store-addr { font-style: normal; }
.store-hours { font-size: 0.92rem; color: var(--muted); }
.store-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); }
.store-detail h2 { font-size: 1.15rem; margin-top: 1.2em; }
.store-detail h2:first-child { margin-top: 0; }
.store-detail-photo { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 760px) { .store-detail { grid-template-columns: 1fr; } }

/* Forms */
.site-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
.form-note { font-size: 0.9rem; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 500; color: var(--ink); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field input, .field textarea, .field select { font: inherit; padding: 11px 12px; border: 2px solid var(--line); border-radius: 8px; background: #fff; width: 100%; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(41, 98, 140, 0.2); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: 0.88rem; margin: 0; }
.radio-row { display: flex; gap: 20px; }
.radio { display: inline-flex; gap: 8px; align-items: center; }
.req { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 18px 0 8px; min-height: 65px; }
.form-status { margin: 10px 0 0; font-weight: 500; }
.form-status.is-ok { color: #1d7a3d; }
.form-status.is-error { color: var(--red); }

.contact-person { background: var(--tint); border-radius: var(--radius); padding: 18px 20px; margin-top: 20px; }
.contact-person h3 { margin-bottom: 0.2em; }
.big-link { font: 800 1.6rem var(--display); }
.big-link a { text-decoration: none; }
.doc-list { list-style: none; padding: 0; }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a { display: block; padding: 14px 4px 14px 34px; position: relative; font-weight: 500; }
.doc-list a::before { content: "PDF"; position: absolute; left: 0; top: 15px; font: 800 0.6rem/1 var(--display); background: var(--red); color: #fff; padding: 4px 4px; border-radius: 3px; }
.news-card { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: center; }
.news-card img { border-radius: var(--radius); }
@media (max-width: 700px) { .news-card { grid-template-columns: 1fr; } }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ol li h2 { margin-top: 0.4em; font-size: 1.15rem; }
.prose img { margin: 0 0 1.5em; }

/* Offer titles: red caps, as on the original deals grid */
.offer-body h3 a { color: var(--red); text-transform: uppercase; font: 500 1.02rem/1.3 var(--font); }
.offer-body h3 a:hover { color: var(--red-dark); text-decoration: underline; }

/* Footer: logo stripe, white, blue Quick Links tab, the wrapped car */
.site-footer { position: relative; background: #fff; color: var(--text); font-size: 0.95rem; padding-top: var(--stripe-h); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--stripe-h); background: var(--stripe); }
.site-footer a { color: var(--blue); text-decoration: none; }
.site-footer a:hover { color: var(--red); text-decoration: underline; }
.site-footer .social a, .site-footer .social a:hover { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 32px; padding-bottom: 16px; }
.footer-h { display: inline-block; background: var(--blue); color: #fff; font: 500 0.9rem/1 var(--font); text-transform: uppercase; letter-spacing: 0.03em; padding: 8px 40px 8px 10px; margin: 0 0 12px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; max-width: 420px; }
.footer-links li { margin-bottom: 6px; break-inside: avoid; }
.footer-car img { width: 100%; max-width: 440px; margin: 0 auto; }
.footer-base { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 28px; }
.footer-brand img { width: 200px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25)); }
.footer-meta { text-align: right; font-size: 0.85rem; color: var(--muted); }
.footer-meta p { margin: 0.35em 0 0; }
.footer-meta .social { justify-content: flex-end; margin-bottom: 8px; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-car { order: -1; }
  .footer-car img { max-width: 320px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .footer-meta .social { justify-content: flex-start; }
}

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

/* Phones: two offers per row */
.offer-media { text-decoration: none; }
@media (max-width: 560px) {
  .offer-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .offer-body { padding: 12px; font-size: 0.92rem; }
  .offer-body h3 { font-size: 1rem; }
  .offer-text-card { padding: 12px; gap: 6px; }
  .offer-text-card-title { font-size: 1.05rem; }
  .offer-text-card-brand { font-size: 0.65rem; }
}

/* Manage Specials */
.admin .site-form { margin-bottom: 32px; }
.admin .field { margin-bottom: 16px; }
.admin .field input, .admin .field textarea { font-size: 1.1rem; padding: 14px; }
.btn--big { font-size: 1.1rem; padding: 1.05em 2em; }
.hint { color: var(--muted); font-size: 0.92rem; margin: 2px 0 0; }
.sp-preview img { width: 180px; height: 180px; object-fit: cover; border-radius: 8px; margin-top: 10px; border: 1px solid var(--line); }
.sp-lists h2 { font-size: 1.2rem; margin-top: 28px; }
.sp-list { list-style: none; padding: 0; margin: 0; }
.sp-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sp-item p { margin: 0; }
.sp-thumb { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; background: var(--red); color: #fff; font-size: 0.7rem; display: flex; align-items: center; justify-content: center; text-align: center; }
.sp-list--ended .sp-item { opacity: 0.7; }
@media (max-width: 520px) { .sp-item { grid-template-columns: 56px 1fr; } .sp-item .btn { grid-column: 1 / -1; } .sp-thumb { width: 56px; height: 56px; } }

/* Perx: copy and badges on the left, smaller photo on the right */
.perx-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.perx-photo { width: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); }
.block-icon--left { margin: 0 0 20px; height: 120px; width: 120px; filter: none; }
.shout--left { text-align: left; margin-top: 1.2em; }
.perx-copy .app-badges { justify-content: flex-start; }
@media (max-width: 760px) { .perx-grid { grid-template-columns: 1fr; } }
/* Coinless: darker overlay so text reads over the wet-window photo */
.block--wash::after { background: linear-gradient(rgba(10, 30, 50, 0.72), rgba(10, 30, 50, 0.82)); }
.perx-copy .tick-list li::before { border-color: var(--yellow); }
