/* =========================================================
   The Sooner Shopper — site styles (Style 1: Clean Classic)
   Change colors or fonts here and every page updates.
   ========================================================= */

:root {
  --ink: #16243A;        /* navy: text, footer */
  --red: #B5121B;        /* Sooner red: buttons, accents */
  --red-dark: #8A0E15;   /* button hover */
  --yellow: #FFD23F;     /* deadline highlight */
  --panel: #EEF2F6;      /* light section background */
  --muted: #46536A;      /* secondary text */
  --white: #FFFFFF;
  --line: #8A97AD;

  --font-head: 'Lexend', Verdana, sans-serif;
  --font-body: 'Lexend', Verdana, sans-serif;

  --radius: 10px;
  --radius-lg: 14px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}

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

a { color: var(--red); }
a:hover { color: var(--red-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

p { margin: 0; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--red); color: var(--white); font-size: 15px; }
.topbar-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 6px 24px; padding-top: 8px; padding-bottom: 8px;
}
.topbar-links { display: flex; flex-wrap: wrap; gap: 20px; }
.topbar a { color: var(--white); }
.topbar a:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 3px solid var(--ink); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-top: 20px; padding-bottom: 20px;
}
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 34px;
  line-height: 1; letter-spacing: -0.02em;
}
.brand-accent { color: var(--red); }
.brand-tag { font-size: 14px; color: var(--muted); }

.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 999px; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 15px;
}
.site-nav a:hover { background: var(--panel); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--white); }

.menu-button {
  display: none;
  min-height: 44px; padding: 0 18px;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  font: 700 16px var(--font-body); cursor: pointer;
}

/* ---------- Monthly deadline bar ---------- */
.deadline-bar { background: var(--panel); border-bottom: 1px solid #D5DCE6; }
.deadline-inner {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  padding-top: 12px; padding-bottom: 12px; font-weight: 700;
}
.deadline-release { background: var(--yellow); color: var(--ink); padding: 6px 14px; border-radius: 8px; }
.deadline-cutoff { background: var(--white); color: var(--ink); padding: 6px 14px; border-radius: 8px; border: 2px solid var(--ink); }

/* ---------- Layout helpers ---------- */
.section { padding: 64px 0; }
.section-panel { background: var(--panel); }
.section-roomy { padding: 80px 0; }
.stack { display: flex; flex-direction: column; gap: 32px; }
.stack-sm { display: flex; flex-direction: column; gap: 16px; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px; align-items: center;
}
.split-top { align-items: start; }

/* ---------- Type ---------- */
.hero { padding: 72px 0 56px; }
.hero-title {
  margin: 0; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(44px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.03em;
  max-width: 14ch;
}
.page-title {
  margin: 0; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em;
}
.section-title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 32px; line-height: 1.1; }
.big-callout {
  margin: 0; font-family: var(--font-head); font-weight: 800; color: var(--red);
  font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.02em;
}
.lead { font-size: 20px; color: var(--muted); max-width: 60ch; }
.lead-dark { color: var(--ink); }
.body-lg { font-size: 19px; line-height: 1.7; }

/* ---------- Buttons ---------- */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius); border: 2px solid var(--red);
  background: var(--red); color: var(--white);
  font: 700 17px var(--font-body); text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.button-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.button-outline:hover { background: var(--panel); color: var(--ink); border-color: var(--ink); }
.button-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.button-outline-light:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }

/* ---------- Home tiles ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 200px; padding: 28px;
  border: 2px solid var(--ink); border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink); text-decoration: none;
}
.tile:hover { color: var(--ink); background: #F8FAFC; }
.tile-text { display: flex; flex-direction: column; gap: 10px; }
.tile-title { font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1.1; }
.tile-desc { font-size: 16px; line-height: 1.5; color: var(--muted); }
.tile-featured { background: var(--red); border-color: var(--red); color: var(--white); }
.tile-featured:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.tile-featured .tile-desc { color: #FFE3E5; }

/* ---------- Cards ---------- */
.card { border: 2px solid var(--ink); border-radius: var(--radius-lg); background: var(--white); padding: 32px; }
.card-panel { background: var(--panel); border-color: var(--panel); }
.card-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.card-dark-title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1.05; }
.card-title { font-family: var(--font-head); font-weight: 800; font-size: 24px; line-height: 1.15; }
.card-title-lg { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 36px; line-height: 1.1; }

.embed-placeholder {
  min-height: 360px; display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center; color: var(--muted);
  border: 2px dashed var(--line); border-radius: var(--radius); background: var(--white);
}

/* ---------- Issues ---------- */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.issue-card { display: flex; flex-direction: column; gap: 20px; padding: 24px; }
.issue-cover {
  aspect-ratio: 3 / 4; border-radius: 8px; background: var(--panel);
  display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.1;
}

/* ---------- Payment, forms, contact ---------- */
.pay-card { max-width: 560px; }

.form-card { display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; font-size: 16px; }
.field input,
.field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 2px solid var(--ink); border-radius: var(--radius);
  font: 18px var(--font-body); color: var(--ink); background: var(--white);
}
.field textarea { resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info > div { display: flex; flex-direction: column; gap: 4px; }
.info-label { font-weight: 700; }

/* ---------- Jobs ---------- */
.job-card { max-width: 760px; padding: 36px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--panel); font-weight: 700; font-size: 15px; }
.chip-yellow { background: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; padding-top: 48px; padding-bottom: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.footer-name { font-family: var(--font-head); font-weight: 800; font-size: 24px; }
.footer-muted { color: #C9D3E3; font-size: 15px; }
.footer-label { font-weight: 700; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid #34445F; padding-top: 16px; padding-bottom: 32px;
  font-size: 14px; color: #C9D3E3;
}

/* ---------- Phones and small tablets ---------- */
@media (max-width: 900px) {
  .menu-button { display: inline-flex; align-items: center; }
  .site-nav { display: none; width: 100%; flex-direction: column; gap: 2px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-radius: var(--radius); }
  .brand-name { font-size: 28px; }
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .card { padding: 24px; }
}
/* Centered logo with tagline underneath */
.header-inner { justify-content: center; }
.brand {
  flex-basis: 100%;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.brand-logo { height: 160px; width: auto; max-width: 100%; }
.brand-tag { font-size: 18px; }
.site-nav { flex-basis: 100%; justify-content: center; }

@media (max-width: 900px) {
  .brand-logo { height: 90px; }
  .menu-button { margin: 0 auto; }
}
.center { text-align: center; }
.deadline-inner { justify-content: center; }

/* Keep the top bar, logo and menu in place while scrolling (larger screens only) */
@media (min-width: 901px) {
  .sticky-top {
    position: sticky;
    top: 0;
    z-index: 50;
  }
}
/* Issue links styled like the menu buttons */
.issue-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.issue-link {
  display: inline-flex; align-items: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  background: var(--panel); color: var(--ink);
  text-decoration: none; font-weight: 700; font-size: 17px;
}
.issue-link:hover { background: var(--ink); color: var(--white); }
/* Red "Place your ad" button in the deadline bar */
.deadline-cta {
  background: var(--red); color: var(--white);
  border: 2px solid var(--red); border-radius: 8px;
  padding: 6px 14px; font-weight: 700; text-decoration: none;
}
.deadline-cta:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }