/* jobs.fortscottks — local brick / fort downtown feel (unofficial) */
:root {
  --brick: #8B3A2F;
  --brick-dark: #5C241C;
  --brick-light: #A85A4A;
  --cream: #F7F1E8;
  --parchment: #EDE4D4;
  --ink: #1F1A17;
  --ink-soft: #4A4038;
  --gold: #C4A35A;
  --gold-dark: #8F7435;
  --sage: #5B6B4F;
  --white: #FFFcf7;
  --border: #D4C4A8;
  --shadow: 0 8px 24px rgba(31, 26, 23, 0.12);
  --radius: 10px;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brick); color: white; padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Top info banner — brick street (same maroon family as before) */
.site-banner, .sample-banner {
  background-color: #5C241C;
  background-image: url("brick-street-tile.png");
  background-size: 1304px 472px;
  background-repeat: repeat;
  color: #F7F1E8;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(31, 26, 23, 0.85), 0 0 8px rgba(31, 26, 23, 0.45);
}
.site-banner span, .sample-banner span { opacity: 0.9; font-weight: 400; }

/* Hot DTF sponsor banner */
.sponsor-ad {
  background: var(--cream, #F7F1E8);
  padding: 0.75rem 1.25rem 0.25rem;
}
.sponsor-ad-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.sponsor-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a6a5c;
  margin: 0 0 0.35rem;
}
.sponsor-ad-link {
  display: block;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(31, 26, 23, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sponsor-ad-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(31, 26, 23, 0.18);
}
.sponsor-ad-link img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .sponsor-ad {
    padding: 0.45rem 0.85rem 0.15rem;
  }
  .sponsor-label {
    font-size: 0.62rem;
    margin: 0 0 0.2rem;
  }
  .sponsor-ad-link {
    border-radius: 8px;
  }
  .sponsor-ad-link img {
    border-radius: 8px;
    max-height: 110px;
    width: 100%;
    object-fit: contain;
    object-position: center;
  }
}



/* Header — visible Fort Scott brick street */
.site-header {
  background-color: #5C241C;
  background-image: url("brick-street-tile.png");
  background-size: 1304px 472px;
  background-repeat: repeat;
  color: var(--cream);
  border-bottom: 4px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 42px; height: 42px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.18);
  letter-spacing: -0.02em;
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.brand-text small {
  opacity: 0.85;
  font-size: 0.75rem;
}
.nav {
  display: flex;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
  color: white;
}
.nav .btn-nav {
  background: var(--gold);
  color: var(--ink);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  border-bottom: none !important;
}
.nav .btn-nav:hover { background: #d4b56a; color: var(--ink); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--cream);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.5rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .nav .btn-nav { text-align: center; margin-top: 0.35rem; }
}

/* Hero — same brick street; text panel for readability only */
.hero {
  background-color: #6e2e24;
  background-image: url("brick-street-tile.png");
  background-size: 1304px 472px;
  background-repeat: repeat;
  color: var(--cream);
  padding: 2.75rem 1.25rem 2.5rem;
  border-bottom: 4px solid var(--gold);
}
.hero-inner { max-width: 1100px; margin: 0 auto; }
.hero-copy {
  display: inline-block;
  max-width: 42rem;
  padding: 1rem 1.15rem 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(31, 26, 23, 0.55), rgba(31, 26, 23, 0.42));
  box-shadow: 0 4px 18px rgba(31, 26, 23, 0.25);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFcf7;
  text-shadow: 0 1px 2px rgba(31, 26, 23, 0.9), 0 2px 10px rgba(31, 26, 23, 0.45);
}
.hero p.lede {
  font-size: 1.1rem;
  max-width: 40rem;
  opacity: 0.98;
  margin: 0;
  color: #F7F1E8;
  text-shadow: 0 1px 2px rgba(31, 26, 23, 0.85);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.hero-stat {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(196,163,90,0.45);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(31, 26, 23, 0.75);
}
.hero-stat strong { display: block; font-size: 1.15rem; color: var(--gold); }

/* Nav text stays readable on brick street */
.site-header .brand-text strong,
.site-header .brand-text small,
.site-header .nav a:not(.btn-nav) {
  text-shadow: 0 1px 2px rgba(31, 26, 23, 0.85);
}
.site-header .nav.open {
  background: rgba(31, 26, 23, 0.55);
  border-radius: 8px;
  padding: 0.35rem 0.5rem 0.65rem;
}

@media (max-width: 720px) {
  .site-banner, .sample-banner,
  .site-header,
  .hero {
    background-size: 884px 320px;
  }
  .hero-copy {
    display: block;
    max-width: none;
  }
}

/* Layout */
main { flex: 1; }
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.35rem;
  color: var(--brick-dark);
}
.section-sub {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

/* Search / filters */
.filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
  margin: -2.5rem auto 1.75rem;
  max-width: 1100px;
  position: relative;
  z-index: 2;
}
.filters-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}
@media (max-width: 900px) {
  .filters { margin-top: 1rem; }
  .filters-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .filters-grid { grid-template-columns: 1fr; }
}
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold-dark);
  background: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  border: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--brick);
  color: white;
}
.btn-primary:hover { background: var(--brick-dark); color: white; }
.btn-secondary {
  background: var(--parchment);
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { background: var(--border); color: var(--ink); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: #d4b56a; color: var(--ink); }
.btn-block { width: 100%; }

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--parchment);
  border: 1px solid var(--border);
  color: var(--ink-soft);
}
.chip.featured { background: #F3E4B8; border-color: var(--gold); color: var(--gold-dark); font-weight: 700; }
.chip.sample { background: #5C241C; color: #F7F1E8; border-color: #5C241C; }
.chip.category { background: #E8EDE4; border-color: #B8C4AE; color: var(--sage); }

/* Job cards */
.job-list {
  display: grid;
  gap: 0.9rem;
}
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--brick);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 2px 8px rgba(31,26,23,0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.job-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.job-card.featured-card { border-left-color: var(--gold); background: linear-gradient(90deg, #FFF9EC, var(--white) 40%); }
.job-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
  color: var(--brick-dark);
}
.job-card .company { color: var(--ink-soft); font-weight: 600; margin-bottom: 0.5rem; }
.job-card .summary { margin: 0.5rem 0 0.75rem; color: var(--ink); font-size: 0.95rem; }
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.job-meta span::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--ink-soft);
}

/* Job detail */
.job-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 2rem;
  box-shadow: var(--shadow);
}
.job-detail header { margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 2px solid var(--parchment); }
.job-detail h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.35rem 0;
  color: var(--brick-dark);
}
.prose { white-space: pre-wrap; }
.prose ul { padding-left: 1.2rem; }
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 720px) {
  .detail-grid { grid-template-columns: 1fr; }
}
.side-panel {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  height: fit-content;
}
.side-panel h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}
.side-panel dl { margin: 0; }
.side-panel dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); margin-top: 0.65rem; }
.side-panel dd { margin: 0.15rem 0 0; font-weight: 600; }

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 720px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-grid .full { grid-column: 1 / -1; }
.form-note {
  background: #FFF6E0;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}
.form-success {
  display: none;
  background: #E8EDE4;
  border: 1px solid var(--sage);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}
.form-success.show { display: block; }

/* Trades directory */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.trade-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  border-top: 4px solid var(--brick);
}
.trade-card h3 { margin: 0 0 0.35rem; font-family: var(--font-display); color: var(--brick-dark); }
.trade-card .trade-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

/* About */
.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}
.about-card h2 {
  font-family: var(--font-display);
  color: var(--brick-dark);
  margin-top: 1.5rem;
}
.about-card h2:first-child { margin-top: 0; }
.callout {
  background: linear-gradient(135deg, #F3E4B8, var(--parchment));
  border-left: 4px solid var(--gold-dark);
  padding: 1rem 1.15rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #D4C4A8;
  padding: 2rem 1.25rem;
  margin-top: auto;
  border-top: 4px solid var(--gold);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.site-footer a { color: var(--gold); }
.site-footer h4 {
  font-family: var(--font-display);
  color: var(--cream);
  margin: 0 0 0.5rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-fine {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #3a322c;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.text-soft { color: var(--ink-soft); }

/* —— View toggle (List / Swipe) —— */
.results-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.view-toggle {
  display: inline-flex;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(31,26,23,0.06);
}
.view-btn {
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.view-btn[aria-pressed="true"] {
  background: var(--brick);
  color: #FFFcf7;
}
.view-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .results-meta { flex-direction: column; align-items: stretch; }
  .results-meta-right { align-items: stretch; }
  .view-toggle { align-self: stretch; }
  .view-btn { flex: 1; }
  .results-focus-note { display: none; }
}

/* —— Swipe / doom-scroll feed —— */
body.swipe-mode .site-footer { display: none; }
body.swipe-mode #job-list { display: none !important; }
body.swipe-mode #swipe-root { display: block; }

.swipe-root {
  display: none;
  position: relative;
  background: #5C241C;
  background-image: url("brick-street-tile.png");
  background-size: 884px 320px;
  background-repeat: repeat;
}
.swipe-feed {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  .swipe-feed { scroll-behavior: auto; }
}
.swipe-feed:not(.prefers-reduced) {
  scroll-behavior: smooth;
}

.swipe-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 1.5rem;
  position: relative;
}
.swipe-card:focus {
  outline: none;
}
.swipe-card:focus-visible .swipe-card-inner {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.swipe-card-inner {
  width: min(520px, 100%);
  max-height: calc(100dvh - 2rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--cream);
  color: var(--ink);
  border-radius: 16px;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 12px 40px rgba(31, 26, 23, 0.45);
  border: 1px solid rgba(247, 241, 232, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.swipe-card.cat-education .swipe-card-inner { background: #F7F1E8; border-top: 5px solid #5B6B4F; }
.swipe-card.cat-healthcare .swipe-card-inner { background: #F4EDEA; border-top: 5px solid #8B3A2F; }
.swipe-card.cat-manufacturing .swipe-card-inner { background: #F0EBE3; border-top: 5px solid #8F7435; }
.swipe-card.cat-retail .swipe-card-inner,
.swipe-card.cat-retail-hospitality .swipe-card-inner { background: #F7F3EA; border-top: 5px solid #C4A35A; }
.swipe-card.cat-it .swipe-card-inner,
.swipe-card.cat-it-technology .swipe-card-inner { background: #EEF1EF; border-top: 5px solid #4A4038; }
.swipe-card.cat-office .swipe-card-inner,
.swipe-card.cat-office-admin .swipe-card-inner { background: #F5F0E8; border-top: 5px solid #A85A4A; }
.swipe-card.cat-skilled .swipe-card-inner,
.swipe-card.cat-skilled-trades .swipe-card-inner { background: #F2EDE6; border-top: 5px solid #5C241C; }
.swipe-card.cat-leadership .swipe-card-inner,
.swipe-card.cat-leadership-management .swipe-card-inner { background: #F6F0E4; border-top: 5px solid #8F7435; }
.swipe-card.cat-transportation .swipe-card-inner { background: #F0EEEA; border-top: 5px solid #4A4038; }
.swipe-card.cat-end .swipe-card-inner {
  background: linear-gradient(180deg, #F7F1E8, #EDE4D4);
  border-top: 5px solid var(--gold);
  text-align: center;
  align-items: center;
}

.swipe-card-counter {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #F7F1E8;
  background: rgba(31, 26, 23, 0.55);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  z-index: 2;
}
.swipe-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.25rem 0 0;
  animation: swipe-hint-bob 1.6s ease-in-out infinite;
}
@keyframes swipe-hint-bob {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(-4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .swipe-hint { animation: none; }
}

.swipe-card-inner h2.swipe-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.2;
  margin: 0.15rem 0 0;
  color: var(--brick-dark);
}
.swipe-employer {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
}
.swipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}
.swipe-meta span::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.swipe-pay {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brick-dark);
  margin: 0;
}
.swipe-summary {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0.25rem 0 0.5rem;
  color: var(--ink);
  flex: 1;
}
.swipe-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
}
.swipe-actions .btn {
  width: 100%;
  padding: 0.9rem 1.15rem;
  font-size: 1.05rem;
}
.swipe-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.swipe-toast.show { opacity: 1; }

.swipe-chrome {
  display: none;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 769px) {
  .swipe-chrome { display: flex; }
}
.swipe-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(31, 26, 23, 0.65);
  color: #F7F1E8;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}
.swipe-nav-btn:hover { background: rgba(31, 26, 23, 0.85); }
.swipe-nav-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.swipe-empty {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  scroll-snap-align: start;
}
.swipe-empty .swipe-card-inner { text-align: center; }

/* —— Swipe fullscreen layout (fix) —— */
body.swipe-mode .site-banner,
body.swipe-mode .site-header,
body.swipe-mode .hero,
body.swipe-mode .filters-section,
body.swipe-mode main.page-main,
body.swipe-mode .site-footer {
  display: none !important;
}
body.swipe-mode #swipe-root {
  display: block !important;
  position: fixed;
  inset: 0;
  z-index: 40;
  height: 100vh;
  height: 100dvh;
  background: #5C241C;
  background-image: url("brick-street-tile.png");
  background-size: 884px 320px;
  background-repeat: repeat;
}
body.swipe-mode .swipe-feed {
  height: 100%;
}
body.swipe-mode .swipe-exit-bar {
  display: flex;
}
.swipe-exit-bar {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(180deg, rgba(31,26,23,0.72), rgba(31,26,23,0));
  pointer-events: none;
}
.swipe-exit-bar > * { pointer-events: auto; }
.swipe-exit-bar .view-toggle {
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.swipe-exit-bar .swipe-exit-count {
  color: #F7F1E8;
  font-weight: 700;
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}


/* Compact sponsor banner on phones/tablets */
@media (max-width: 900px) {
  .sponsor-ad-inner { max-width: 340px; }
  .sponsor-ad-link img { max-height: 84px; }
}
@media (max-width: 400px) {
  .sponsor-ad-inner { max-width: 290px; }
  .sponsor-ad-link img { max-height: 72px; }
}

/* Safari fix: keep sponsor banner inside the screen */
html, body { max-width: 100%; overflow-x: hidden; }
.sponsor-ad, .sponsor-ad-inner, .sponsor-ad-link, .sponsor-ad-link picture { display: block; width: 100%; max-width: 100%; box-sizing: border-box; }
.sponsor-ad-link img { width: 100% !important; max-width: 100% !important; height: auto !important; }
@media (max-width: 900px) { .sponsor-ad-inner { max-width: 340px; margin: 0 auto; } }
@media (max-width: 400px) { .sponsor-ad-inner { max-width: 290px; } }

/* Bigger phone banner (Kevin 10/28) */
@media (max-width: 900px) {
  .sponsor-ad-inner { max-width: 100% !important; }
  .sponsor-ad-link img { max-height: none !important; }
}

/* Edge-to-edge phone banner (Kevin 10/28) */
@media (max-width: 900px) {
  .sponsor-ad { padding-left: 0 !important; padding-right: 0 !important; }
  .sponsor-label { margin-left: 0.75rem !important; }
  .sponsor-ad-link, .sponsor-ad-link img { border-radius: 0 !important; }
}
