/*
Theme Name: Geveild Theme
Theme URI: https://geveild.com
Author: Geveild.com
Description: Lightweight auction aggregator theme for geveild.com.
Version: 1.3.41
Text Domain: geveild-theme
*/

:root {
  --primary: #0a192f;
  --accent: #d4af37;
  --background: #fdfbf7;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --danger: #b91c1c;
  --warning: #b45309;
}

/* Phase 2 growth engine surfaces */
.growth-head {
  padding-bottom: 22px;
}

.growth-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin-top: 18px;
}

.growth-copy {
  font-size: 1rem;
  line-height: 1.75;
}

.growth-copy h2 {
  margin: 26px 0 10px;
}

.growth-copy ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.growth-sidebar {
  position: sticky;
  top: 96px;
}

.growth-sidebar strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0;
  line-height: 1;
}

.growth-grid {
  margin-bottom: 54px;
}

.ad-slot {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 24px auto;
  max-width: 960px;
  min-height: 90px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .growth-layout {
    grid-template-columns: 1fr;
  }

  .growth-sidebar {
    position: static;
  }
}

body.dark-mode {
  --background: #07111f;
  --text: #e5edf7;
  --muted: #a8b3c4;
  --border: #1f3554;
  --card: #0d1f39;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  left: 16px;
  position: fixed;
  top: 16px;
  transform: translateY(-140%);
  z-index: 50;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(16px);
}

.container {
  margin: 0 auto;
  max-width: 1216px;
  padding: 0 24px;
}

.nav {
  align-items: center;
  display: flex;
  height: 68px;
  justify-content: space-between;
}

.logo {
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1.05fr;
  padding: 72px 24px 56px;
}

.hero-copy {
  align-self: center;
}

h1,
h2,
h3 {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
  margin: 0;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.95;
  max-width: 660px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
  max-width: 620px;
}

.search-box {
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 8px;
  max-width: 620px;
  padding: 8px;
}

.search-box input,
.newsletter input,
.filter-select {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
}

.search-box input {
  border: 0;
}

.btn {
  align-items: center;
  background: var(--primary);
  border: 0;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.25);
  color: var(--primary);
}

.stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  max-width: 620px;
}

.stat,
.card,
.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.stat {
  padding: 18px;
}

.stat strong {
  color: var(--primary);
  display: block;
  font-size: 22px;
}

.stat span {
  color: var(--muted);
}

.featured {
  overflow: hidden;
}

.image-frame {
  aspect-ratio: 4 / 3;
  background: #eef2f7;
  overflow: hidden;
  position: relative;
}

.image-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.badge {
  background: var(--primary);
  border-radius: 10px;
  color: white;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.badge.gold {
  background: var(--accent);
  color: var(--primary);
}

.overlay-badges {
  display: flex;
  gap: 8px;
  left: 16px;
  position: absolute;
  top: 16px;
}

.featured-body,
.card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}

.bid-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.bid-box {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 16px;
}

.bid-box span {
  color: var(--muted);
  display: block;
  font-size: 13px;
}

.bid-box strong {
  color: var(--primary);
  font-size: 22px;
}

.filter-bar {
  background: rgba(250, 250, 249, 0.94);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  position: sticky;
  top: 68px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  z-index: 10;
}

.filter-bar.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-120%);
}

.filters {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 18px 24px;
}

.filters label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  min-width: 170px;
}

.grid-wrap {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 320px;
  padding-bottom: 48px;
  padding-top: 40px;
}

.auction-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auction-card {
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.auction-card .card-main-link {
  display: block;
}

.auction-card:hover {
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.auction-card h3 {
  display: -webkit-box;
  font-size: 20px;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  gap: 10px;
  text-transform: uppercase;
}

.card-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-facts > span {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  display: grid;
  font-size: 12px;
  gap: 3px;
  padding: 12px;
}

.card-facts strong {
  color: var(--primary);
  font-size: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: #eef2ff;
  border-radius: 999px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.meta-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.status {
  background: #dcfce7;
  border-radius: 10px;
  color: #166534;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 9px;
}

.status.soon {
  background: #fef3c7;
  color: #92400e;
}

.countdown {
  background: #f1f5f9;
  border-radius: 10px;
  color: var(--primary);
  display: inline-flex;
  font-weight: 900;
  padding: 8px 11px;
}

.countdown.urgent {
  animation: pulse 1.5s infinite;
  background: #fee2e2;
  color: #991b1b;
}

.newsletter {
  display: grid;
  gap: 14px;
  padding: 20px;
  position: sticky;
  top: 146px;
}

.newsletter label {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

.empty-feature {
  align-content: center;
  min-height: 360px;
}

.trust {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  padding: 34px 24px;
  text-align: center;
}

.footer {
  background: var(--primary);
  color: white;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
}

.footer a,
.footer p {
  color: #cbd5e1;
}

.footer .newsletter {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(226, 232, 240, 0.18);
  box-shadow: none;
  position: static;
}

.detail {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) 420px;
  padding-bottom: 56px;
  padding-top: 28px;
}

.breadcrumbs {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 24px;
}

.detail-side {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 22px;
  position: sticky;
  top: 96px;
}

.gallery-thumbs {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}

.description {
  line-height: 1.8;
  padding: 26px;
}

.related {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 18px;
}

.related .auction-card {
  min-width: 310px;
}

@keyframes pulse {
  50% {
    opacity: 0.72;
  }
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode .logo,
.dark-mode .bid-box strong,
.dark-mode .countdown {
  color: #f8fafc;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nav-actions .icon-btn {
  min-width: 42px;
  padding: 0;
  width: 42px;
}

.icon-btn {
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.grid-wrap > .ad-slot {
  grid-column: 1 / -1;
}

.auction-grid {
  transition: opacity 0.2s ease;
}

.auction-grid.is-loading {
  opacity: 0.45;
}

.countdown.warning {
  background: #ffedd5;
  color: var(--warning);
}

.countdown.closed {
  background: #e5e7eb;
  color: #6b7280;
}

.countdown.large {
  display: flex;
  font-size: 22px;
  justify-content: center;
  padding: 14px;
}

.bookmark {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 10px;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  height: auto;
  justify-content: center;
  position: static;
  width: auto;
}

.bookmark.active {
  color: var(--danger);
}

.newsletter small {
  color: var(--muted);
}

.sidebar-stack {
  align-self: start;
  display: grid;
  gap: 20px;
  position: sticky;
  top: 146px;
}

.sidebar-stack .newsletter {
  position: static;
}

.ad-slot {
  align-items: center;
  background: repeating-linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.12) 10px, rgba(15, 23, 42, 0.04) 10px, rgba(15, 23, 42, 0.04) 20px);
  border: 1px dashed rgba(212, 175, 55, 0.75);
  border-radius: 12px;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 96px;
  padding: 18px;
  text-transform: uppercase;
}

.gallery-button {
  border: 0;
  cursor: pointer;
  padding: 0;
}

.related-section {
  padding-bottom: 58px;
}

.bid-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.share-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-block {
  max-width: 850px;
  padding-bottom: 56px;
}

.seo-block details {
  padding: 22px;
}

.search-modal {
  align-items: flex-start;
  background: rgba(10, 25, 47, 0.78);
  display: none;
  inset: 0;
  padding: 88px 18px;
  position: fixed;
  z-index: 40;
}

.search-modal.is-open {
  display: flex;
}

.search-modal-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 760px;
  padding: 26px;
  position: relative;
  width: 100%;
}

.search-modal-inner .icon-btn {
  position: absolute;
  right: 16px;
  top: 16px;
}

.search-modal input {
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  min-height: 54px;
  padding: 0 16px;
}

.search-results {
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.search-results a {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.copyright {
  color: #94a3b8;
  padding-top: 32px;
}

.feature-section,
.pricing-grid,
.metric-grid,
.app-grid {
  display: grid;
  gap: 20px;
}

.feature-section {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 44px;
  padding-top: 34px;
}

.feature-card {
  padding: 22px;
}

.feature-card > span {
  align-items: center;
  background: rgba(212, 175, 55, 0.16);
  border-radius: 12px;
  color: var(--primary);
  display: inline-flex;
  font-size: 24px;
  height: 46px;
  justify-content: center;
  margin-bottom: 16px;
  width: 46px;
}

.section-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.carousel-section,
.social-proof,
.pricing-preview,
.cta-section {
  padding-bottom: 56px;
  padding-top: 28px;
}

.cta-section {
  max-width: 850px;
  text-align: center;
}

.cta-section .btn {
  margin-top: 12px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.price-card.popular {
  border-color: var(--accent);
  box-shadow: 0 20px 44px rgba(212, 175, 55, 0.16);
}

.price-card > strong {
  color: var(--primary);
  font-size: 32px;
}

.margin-badge {
  background: #dcfce7;
  border-radius: 10px;
  color: #166534;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 9px;
}

.ai-card {
  border-color: rgba(212, 175, 55, 0.55);
}

.app-shell {
  display: grid;
  gap: 24px;
  grid-template-columns: 240px minmax(0, 1fr);
  padding-bottom: 64px;
  padding-top: 42px;
}

.app-shell.no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.app-nav {
  align-self: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  gap: 4px;
  padding: 10px;
  position: sticky;
  top: 92px;
}

.app-nav a {
  border-radius: 10px;
  color: var(--muted);
  font-weight: 800;
  padding: 12px;
}

.app-nav a.active,
.app-nav a:hover {
  background: rgba(212, 175, 55, 0.16);
  color: var(--primary);
}

.app-main,
.settings-form {
  display: grid;
  gap: 20px;
}

.app-main,
.app-main > *,
.app-grid,
.app-panel,
.metric-grid {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.app-hero {
  align-items: center;
  background: linear-gradient(135deg, var(--primary), #14345f);
  border-radius: 16px;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 28px;
}

.app-hero h1,
.app-hero p {
  color: white;
}

.app-hero .btn-soft {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.26);
  color: white;
}

.app-hero .btn-soft:hover {
  background: rgba(255, 255, 255, 0.24);
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric,
.app-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.metric span {
  color: var(--muted);
}

.metric strong {
  color: var(--primary);
  display: block;
  font-size: 28px;
}

.app-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-row,
.toolbar {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.toolbar input,
.toolbar select,
.settings-form input,
.settings-form select,
.settings-form textarea,
.auth-card input,
.app-panel input,
.app-panel textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  min-height: 44px;
  padding: 0 12px;
}

.settings-form textarea,
.app-panel textarea {
  min-height: 140px;
  padding: 12px;
  resize: vertical;
}

.settings-form {
  padding: 24px;
}

.settings-form label {
  display: grid;
  gap: 8px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two,
.directory-grid,
.alert-flow-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.directory-card {
  color: var(--text);
  display: grid;
  gap: 10px;
  min-height: 190px;
  text-decoration: none;
}

.directory-card h2 {
  margin-bottom: 0;
}

.directory-card strong {
  color: var(--primary);
  margin-top: auto;
}

.news-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 56px;
}

.news-card {
  display: grid;
  gap: 12px;
}

.news-card h2 {
  margin-bottom: 0;
}

.news-card a {
  color: var(--primary);
}

.news-article {
  display: grid;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 920px;
}

.answer-summary {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  color: #14532d;
  padding: 16px;
}

.form-help,
.form-status {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.form-status {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  color: #166534;
  padding: 10px 12px;
}

.form-status.is-error,
.form-status.error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.form-status.success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #166534;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.check-row {
  align-items: center;
  display: flex;
  gap: 8px;
}

.is-submitting {
  opacity: 0.76;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.danger {
  background: var(--danger);
}

.bar-chart {
  align-items: end;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  height: 180px;
  padding: 18px;
}

.bar-chart.small {
  height: 96px;
}

.bar-chart span {
  background: linear-gradient(180deg, var(--accent), #8b6f16);
  border-radius: 8px 8px 0 0;
  flex: 1;
}

.toggle-pill {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: flex;
  gap: 6px;
  padding: 6px;
}

.toggle-pill span {
  border-radius: 999px;
  padding: 8px 12px;
}

.toggle-pill span:first-child {
  background: white;
  color: var(--primary);
}

.auth-card {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 460px;
  padding: 28px;
  width: 100%;
}

.about-page,
.search-page {
  display: grid;
  gap: 28px;
  padding-bottom: 64px;
  padding-top: 42px;
}

.archive-head {
  padding-bottom: 24px;
  padding-top: 56px;
}

.archive-head h1,
.search-page h1 {
  margin-top: 16px;
}

.search-wide {
  max-width: none;
}

.empty-state {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 28px;
}

.calendar-hero {
  background: radial-gradient(circle at 18% 20%, rgba(212, 175, 55, 0.28), transparent 28%), linear-gradient(135deg, #0a192f, #123965 62%, #0a192f);
  color: white;
  padding: 72px 0 52px;
}

.calendar-hero-inner {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.calendar-hero h1 {
  color: white;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  margin-top: 18px;
  max-width: 780px;
}

.calendar-hero p {
  color: #dbe7f5;
  font-size: 20px;
  line-height: 1.7;
  max-width: 680px;
}

.calendar-hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 26px;
}

.calendar-hero-card strong {
  color: white;
  display: block;
  font-size: 54px;
}

.calendar-toolbar {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: -24px;
  padding: 18px;
  position: relative;
  z-index: 4;
}

.calendar-toolbar label {
  color: var(--muted);
  display: grid;
  flex: 1;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  min-width: 160px;
}

.calendar-toolbar select {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  min-height: 44px;
  padding: 0 12px;
}

.calendar-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 300px minmax(0, 1fr);
  padding-bottom: 70px;
  padding-top: 34px;
}

.calendar-summary {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 20px;
  position: sticky;
  top: 92px;
}

.calendar-summary .newsletter {
  position: static;
}

.calendar-mini-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, 1fr);
}

.calendar-mini-grid a {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--primary);
  display: grid;
  min-height: 54px;
  padding: 8px;
  text-align: center;
}

.calendar-mini-grid a.today {
  background: var(--accent);
}

.calendar-mini-grid small {
  color: var(--muted);
}

.calendar-days {
  display: grid;
  gap: 24px;
}

.calendar-day {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.calendar-day-head {
  align-items: center;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(10, 25, 47, 0.04));
  display: flex;
  justify-content: space-between;
  padding: 20px 22px;
}

.calendar-day-head span {
  color: var(--muted);
  font-weight: 800;
}

.calendar-events {
  display: grid;
}

.calendar-event {
  border-top: 1px solid var(--border);
}

.calendar-event a {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 128px minmax(0, 1fr);
  padding: 18px 22px;
  transition: background 0.2s ease;
}

.calendar-event a:hover {
  background: #f8fafc;
}

.calendar-event img {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  height: 96px;
  object-fit: cover;
  width: 128px;
}

.calendar-event h3 {
  font-size: 22px;
  margin: 10px 0 6px;
}

.calendar-event p {
  color: var(--muted);
  margin: 0 0 10px;
}

@media (max-width: 1024px) {
  .calendar-hero-inner,
  .calendar-layout {
    grid-template-columns: 1fr;
  }

  .calendar-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .calendar-event a {
    grid-template-columns: 1fr;
  }

  .calendar-event img {
    height: auto;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero,
  .grid-wrap,
  .detail {
    grid-template-columns: 1fr;
  }

  .auction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter {
    position: static;
  }

  .sidebar-stack {
    position: static;
  }

  .feature-section,
  .pricing-grid,
  .metric-grid,
  .app-grid.two,
  .app-grid.three,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    position: static;
    scrollbar-width: thin;
  }

  .app-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 48px 16px 36px;
  }

  .stats,
  .auction-grid,
  .trust-grid,
  .footer-grid,
  .bid-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Geveild full feature pass */
:root {
  --primary: #10243e;
  --accent: #32c48d;
  --accent-2: #f59e0b;
  --background: #f7f8fb;
  --text: #172033;
  --muted: #667085;
  --border: #d9e1ea;
  --card: #ffffff;
  --danger: #dc2626;
  --warning: #d97706;
  --info: #2563eb;
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(50, 196, 141, 0.18), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(245, 158, 11, 0.16), transparent 26%),
    var(--background);
}

.site-header {
  background: rgba(247, 248, 251, 0.92);
}

.hero-gradient {
  background: linear-gradient(135deg, rgba(16, 36, 62, 0.98), rgba(21, 85, 91, 0.94) 55%, rgba(50, 196, 141, 0.86));
  color: white;
  overflow: hidden;
  position: relative;
}

.hero-gradient .hero {
  min-height: 620px;
}

.hero-gradient h1,
.hero-gradient .lead,
.hero-gradient .hero-copy,
.hero-gradient .stat strong,
.hero-gradient .stat span {
  color: white;
}

.hero-gradient .stat {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.hero-actions,
.quick-actions,
.filter-actions,
.pagination-row,
.tag-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 22px;
}

.btn-soft {
  background: rgba(16, 36, 62, 0.08);
  color: var(--primary);
}

.hero-gradient .btn-soft {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.hero-media {
  aspect-ratio: 16 / 10;
}

.danger-badge {
  animation: pulse 1.4s infinite;
  background: var(--danger);
  color: white;
}

.feature-card > span {
  font-size: 0;
}

.feature-card:nth-child(1) > span::after { content: "AI"; }
.feature-card:nth-child(2) > span::after { content: "%"; }
.feature-card:nth-child(3) > span::after { content: "RT"; }
.feature-card:nth-child(4) > span::after { content: "SV"; }
.feature-card:nth-child(5) > span::after { content: "SS"; }
.feature-card:nth-child(6) > span::after { content: "AD"; }

.feature-card > span::after {
  font-size: 15px;
  font-weight: 900;
}

.top-deals {
  scroll-snap-type: x mandatory;
}

.top-deals .auction-card {
  scroll-snap-align: start;
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.filter-actions {
  align-self: end;
}

.pagination-row {
  justify-content: center;
  margin-top: 24px;
}

.empty-state[hidden],
.notification-panel[hidden],
[hidden] {
  display: none !important;
}

.list-view {
  grid-template-columns: 1fr;
}

.list-view .auction-card a {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.card-actions {
  display: flex;
  gap: 8px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
}

.card-actions .bookmark,
.card-actions .like-action {
  position: static;
  width: auto;
}

.bookmark,
.like-action {
  font-size: 12px;
  font-weight: 900;
  min-width: 44px;
  padding: 0 10px;
}

.bookmark.active,
.like-action.active {
  background: #fee2e2;
  color: var(--danger);
}

.platform-logo {
  text-transform: uppercase;
}

.detail-hero {
  padding: 24px 0 0;
}

.detail-hero .container {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.detail-hero img {
  aspect-ratio: 16 / 7;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.detail-hero::after {
  content: "";
}

.detail-hero-overlay {
  background: linear-gradient(90deg, rgba(16, 36, 62, 0.86), transparent);
  bottom: 0;
  color: white;
  display: grid;
  gap: 14px;
  left: 24px;
  max-width: 760px;
  padding: 32px;
  position: absolute;
  right: 24px;
}

.detail-hero-overlay h1,
.detail-hero-meta {
  color: white;
}

.detail-main {
  display: grid;
  gap: 20px;
}

.tag-row span {
  background: rgba(50, 196, 141, 0.12);
  border: 1px solid rgba(50, 196, 141, 0.28);
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 11px;
}

.line-chart {
  align-items: end;
  background: #eef4f8;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  height: 180px;
  padding: 18px;
}

.line-chart span {
  background: linear-gradient(180deg, var(--info), var(--accent));
  border-radius: 999px 999px 4px 4px;
  flex: 1;
}

.pie-chart {
  aspect-ratio: 1;
  background: conic-gradient(var(--accent) 0 34%, var(--accent-2) 34% 58%, var(--info) 58% 76%, #94a3b8 76% 100%);
  border-radius: 50%;
  max-width: 190px;
}

.comments form,
.comparison-table {
  display: grid;
  gap: 10px;
}

.comments form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.comments input,
.settings-form input[type="file"] {
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  min-height: 44px;
  padding: 0 12px;
}

.connection-state {
  color: var(--accent);
  font-weight: 800;
}

.profile-card {
  align-items: center;
  display: flex;
  gap: 18px;
  padding: 20px;
}

.avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  color: white;
  display: flex;
  font-size: 24px;
  font-weight: 900;
  height: 72px;
  justify-content: center;
  width: 72px;
}

.comparison-table {
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

.comparison-table div {
  border-bottom: 1px solid var(--border);
  padding: 10px;
}

.toggle-pill button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 8px 12px;
}

.toggle-pill button.active,
.toggle-pill button:first-child {
  background: white;
  color: var(--primary);
}

.plan-warning {
  background: #fffbeb;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  color: #92400e;
  padding: 12px;
}

.notification-btn {
  position: relative;
}

.icon-btn {
  font-size: 13px;
  min-width: 58px;
  padding: 0 12px;
  width: auto;
}

.notification-panel {
  position: fixed;
  right: 24px;
  top: 78px;
  width: min(360px, calc(100vw - 32px));
  z-index: 30;
}

.mobile-menu {
  display: none;
}

.toast {
  background: var(--primary);
  border-radius: 12px;
  bottom: 24px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  color: white;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 13px 18px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.flash {
  animation: flash 1s ease;
}

@keyframes flash {
  0% { color: var(--accent); }
  100% { color: inherit; }
}

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

@media (max-width: 1120px) {
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 68px;
    height: auto;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .nav-links {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 0;
    grid-column: 1 / -1;
    inset: 68px 0 auto 0;
    padding: 12px 24px;
    position: fixed;
    z-index: 25;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-login {
    display: none;
  }

  .hero-gradient .hero {
    min-height: auto;
  }

  .hero h1,
  .calendar-hero h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 17px;
  }

  .filters,
  .comments form,
  .list-view .auction-card a,
  .comparison-table {
    grid-template-columns: 1fr;
  }

  .detail-hero img {
    aspect-ratio: 4 / 3;
  }

  .detail-hero-overlay {
    background: rgba(16, 36, 62, 0.82);
    left: 16px;
    padding: 18px;
    right: 16px;
  }

  .app-row,
  .toolbar,
  .app-hero,
  .profile-card {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026 polish pass: role-aware UI, Veili, credits, system dark mode */
body {
  letter-spacing: 0;
}

.logo,
h1,
h2,
h3 {
  letter-spacing: 0;
}

.notification-btn {
  border-radius: 999px;
  gap: 0;
  min-width: 50px;
  overflow: visible;
  position: relative;
  width: 50px;
}

.notification-glyph {
  background:
    radial-gradient(circle at 50% 27%, var(--accent) 0 3px, transparent 4px),
    linear-gradient(var(--primary), var(--primary)) 50% 64% / 18px 3px no-repeat,
    radial-gradient(circle at 50% 70%, transparent 0 10px, var(--primary) 11px 12px, transparent 13px);
  display: block;
  height: 24px;
  width: 24px;
}

.hamburger-glyph,
.search-glyph {
  display: block;
  height: 22px;
  position: relative;
  width: 22px;
}

.hamburger-glyph::before {
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 7px 0 var(--primary), 0 14px 0 var(--primary);
  content: "";
  height: 2px;
  left: 2px;
  position: absolute;
  top: 3px;
  width: 18px;
}

.search-glyph::before {
  border: 2px solid var(--primary);
  border-radius: 999px;
  content: "";
  height: 12px;
  left: 2px;
  position: absolute;
  top: 2px;
  width: 12px;
}

.search-glyph::after {
  background: var(--primary);
  border-radius: 999px;
  content: "";
  height: 2px;
  left: 14px;
  position: absolute;
  top: 15px;
  transform: rotate(45deg);
  width: 8px;
}

.notification-count {
  align-items: center;
  background: #ef4444;
  border: 2px solid var(--card);
  border-radius: 999px;
  color: white;
  display: flex;
  font-size: 11px;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  line-height: 1;
  min-width: 20px;
  position: absolute;
  right: -5px;
  top: -7px;
}

.notification-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.notification-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.notification-head h2 {
  font-family: Inter, sans-serif;
  font-size: 16px;
}

.notification-head span {
  background: #dcfce7;
  border-radius: 999px;
  color: #166534;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.notification-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  gap: 3px;
  padding: 12px;
}

.notification-item.unread {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(52, 211, 153, 0.12));
  border-color: rgba(212, 175, 55, 0.42);
}

.notification-item span,
.notification-item small {
  color: var(--muted);
}

.image-credit,
.detail-image-credit,
.calendar-image figcaption {
  background: rgba(10, 25, 47, 0.72);
  border-radius: 999px;
  color: white;
  font-size: 11px;
  font-weight: 800;
  left: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  padding: 5px 8px;
  position: absolute;
  right: auto;
  text-overflow: ellipsis;
  bottom: 10px;
  top: auto;
  white-space: nowrap;
  z-index: 4;
}

.detail-image-credit {
  bottom: 18px;
  left: 38px;
  top: auto;
}

.gallery-button .image-credit {
  bottom: 8px;
  font-size: 10px;
  top: auto;
}

.calendar-image {
  aspect-ratio: 1;
  margin: 0;
  min-width: 92px;
  overflow: hidden;
  position: relative;
}

.calendar-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.calendar-image figcaption {
  bottom: 6px;
  left: 6px;
  max-width: calc(100% - 12px);
  padding: 4px 7px;
  top: auto;
}

.feature-card > .feature-picto {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(52, 211, 153, 0.15));
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 16px;
  display: inline-grid;
  height: 54px;
  margin-bottom: 16px;
  place-items: center;
  position: relative;
  width: 54px;
}

.feature-card > .feature-picto::after,
.feature-card:nth-child(n) > .feature-picto::after {
  content: "";
  display: block;
  position: absolute;
}

.feature-card > .feature-picto::before {
  content: "";
  display: block;
}

.feature-calendar::before {
  border: 2px solid var(--primary);
  border-radius: 7px;
  height: 26px;
  width: 26px;
}

.feature-calendar::after {
  background: var(--accent);
  box-shadow: 9px 0 0 var(--accent), 18px 0 0 var(--accent), 0 9px 0 var(--accent), 9px 9px 0 var(--accent);
  height: 4px;
  left: 17px;
  top: 23px;
  width: 4px;
}

.feature-margin::before {
  border: 3px solid var(--primary);
  border-radius: 50%;
  border-right-color: var(--accent);
  height: 28px;
  width: 28px;
}

.feature-margin::after {
  background: var(--accent);
  border-radius: 999px;
  height: 18px;
  right: 16px;
  top: 18px;
  transform: rotate(35deg);
  width: 4px;
}

.feature-ai::before {
  border: 2px solid var(--primary);
  border-radius: 12px;
  height: 28px;
  width: 28px;
}

.feature-ai::after {
  background: radial-gradient(circle, var(--accent) 0 3px, transparent 4px), radial-gradient(circle, var(--accent) 0 3px, transparent 4px);
  background-position: 0 0, 14px 0;
  background-repeat: no-repeat;
  height: 10px;
  left: 18px;
  top: 22px;
  width: 26px;
}

.feature-countdown::before {
  border: 3px solid var(--primary);
  border-radius: 50%;
  height: 30px;
  width: 30px;
}

.feature-countdown::after {
  background: var(--accent);
  border-radius: 999px;
  height: 17px;
  left: 28px;
  top: 17px;
  transform-origin: bottom;
  transform: rotate(-35deg);
  width: 4px;
}

.feature-saved::before {
  border: 2px solid var(--primary);
  border-radius: 7px;
  height: 30px;
  width: 24px;
}

.feature-saved::after {
  border-bottom: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  height: 13px;
  left: 25px;
  top: 17px;
  transform: rotate(45deg);
  width: 8px;
}

.feature-tracking::before {
  border: 2px solid var(--primary);
  border-radius: 999px;
  height: 28px;
  width: 28px;
}

.feature-tracking::after {
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 12px 0 0 var(--accent), 24px 0 0 var(--accent);
  height: 5px;
  left: 13px;
  top: 25px;
  width: 5px;
}

.veili-preview {
  align-items: center;
  background: linear-gradient(135deg, #10201b, #234438);
  border-radius: 18px;
  color: white;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 28px;
}

.veili-preview h2,
.veili-preview p {
  color: white;
}

.veili-preview p {
  margin-bottom: 0;
  max-width: 760px;
}

.dashboard-hero,
.veili-hero,
.admin-hero {
  background: radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.22), transparent 26%), linear-gradient(135deg, #10201b, #234438);
}

.chart-bars.labelled,
.trend-chart {
  align-items: end;
  background: #f6f8f5;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  gap: 12px;
  height: 210px;
  padding: 18px;
}

.chart-bars.labelled > div {
  align-items: center;
  display: grid;
  flex: 1;
  gap: 8px;
  height: 100%;
}

.chart-bars.labelled span,
.trend-chart span {
  align-self: end;
  background: linear-gradient(180deg, #34d399, var(--accent));
  border-radius: 999px 999px 5px 5px;
  min-height: 8px;
  width: 100%;
}

.chart-bars.labelled small {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.trend-chart span {
  flex: 1;
}

.category-breakdown {
  display: grid;
  gap: 12px;
}

.category-breakdown div {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr auto;
}

.category-breakdown em {
  background: linear-gradient(90deg, #34d399, var(--accent));
  border-radius: 999px;
  display: block;
  grid-column: 1 / -1;
  height: 9px;
}

.timeline-list {
  display: grid;
  gap: 10px;
}

.timeline-list p {
  border-left: 3px solid var(--accent);
  margin: 0;
  padding: 4px 0 4px 12px;
}

.timeline-list span {
  color: var(--muted);
  display: block;
}

.compact-row {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.veili-orb {
  align-items: center;
  background: radial-gradient(circle at 35% 25%, white, var(--accent));
  border-radius: 50%;
  color: #10201b;
  display: flex;
  flex: 0 0 auto;
  font-size: 46px;
  font-weight: 900;
  height: 96px;
  justify-content: center;
  width: 96px;
}

.veili-shell {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  padding: 22px;
}

.veili-chat,
.veili-results,
.veili-messages {
  display: grid;
  gap: 14px;
}

.veili-messages {
  max-height: 320px;
  overflow: auto;
}

.veili-message {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.veili-message.assistant {
  background: rgba(52, 211, 153, 0.12);
}

.veili-message.user {
  background: rgba(212, 175, 55, 0.14);
}

.veili-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.veili-chips button {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  padding: 9px 12px;
}

.veili-form {
  display: grid;
  gap: 10px;
}

.veili-form textarea {
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
  min-height: 118px;
  padding: 14px;
  resize: vertical;
}

.veili-brief {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.veili-criteria {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.veili-criteria span {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 800;
  padding: 7px 10px;
}

.veili-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-layout {
  padding: 24px 0 64px;
}

.auth-card {
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.auth-card form,
.auth-card p.login-remember {
  display: grid;
  gap: 12px;
}

.auth-card label {
  color: var(--muted);
  display: grid;
  font-weight: 800;
  gap: 8px;
}

.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="email"] {
  width: 100%;
}

.auth-links {
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.log-stream {
  background: #101513;
  border-radius: 12px;
  color: #bbf7d0;
  display: grid;
  font-family: Consolas, monospace;
  gap: 4px;
  padding: 16px;
}

body.dark-mode {
  --primary: #e8f3ec;
  --background: #0e1110;
  --text: #e7ece8;
  --muted: #aab7ae;
  --border: #2a332e;
  --card: #151a17;
  --accent: #d2b15a;
  --danger: #f87171;
  --warning: #fbbf24;
}

body.dark-mode .site-header {
  background: rgba(14, 17, 16, 0.9);
  border-bottom-color: #2a332e;
}

body.dark-mode .site-header,
body.dark-mode .nav-links,
body.dark-mode .search-modal-inner,
body.dark-mode .app-nav,
body.dark-mode .panel,
body.dark-mode .card,
body.dark-mode .metric,
body.dark-mode .app-panel,
body.dark-mode .search-box,
body.dark-mode .filter-bar {
  background: rgba(21, 26, 23, 0.96);
}

body.dark-mode .bid-box,
body.dark-mode .margin-factor,
body.dark-mode .calc-grid div,
body.dark-mode .chart-bars.labelled,
body.dark-mode .trend-chart,
body.dark-mode .veili-brief,
body.dark-mode .veili-chips button,
body.dark-mode .suggestion-chips a,
body.dark-mode .search-suggestion {
  background: #101513;
}

body.dark-mode .search-modal {
  background: rgba(0, 0, 0, 0.72);
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background: #101513;
  color: var(--text);
}

body.dark-mode .footer {
  background: #090c0b;
}

@media (max-width: 900px) {
  .veili-shell,
  .veili-grid {
    grid-template-columns: 1fr;
  }

  .veili-preview {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .filter-bar {
    opacity: 1 !important;
    position: static;
    transform: none !important;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .calendar-toolbar {
    margin-top: 0;
    position: static;
  }

  .detail-side,
  .sidebar-stack,
  .calendar-summary,
  .app-nav {
    position: static;
  }

  .notification-btn {
    min-width: 42px;
    width: 42px;
  }

  .notification-glyph {
    transform: scale(0.88);
  }

  .veili-orb {
    height: 72px;
    width: 72px;
  }
}

.cost-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cost-grid div,
.auth-benefits span {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.cost-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.cost-grid strong {
  color: var(--primary);
  font-size: 20px;
}

.disclaimer,
.disclaimer-section {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.disclaimer-section {
  padding-bottom: 42px;
}

.card-ctas {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
  padding: 0 24px 24px;
}

.card-ctas .btn {
  min-height: 38px;
  padding: 0 12px;
}

.auth-benefits {
  display: grid;
  gap: 8px;
}

.seo-guide {
  margin-bottom: 28px;
  padding: 24px;
}

@media (max-width: 760px) {
  .cost-grid,
  .card-ctas {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container.nav {
    gap: 6px;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .logo {
    flex: 1 1 126px;
    font-size: 18px;
    min-width: 122px;
  }

  .nav-actions {
    flex: 0 1 auto;
    gap: 4px !important;
    justify-content: flex-end;
    margin-left: auto;
    max-width: calc(100vw - 154px);
    min-width: 0;
  }

  .nav-actions .icon-btn {
    flex: 0 0 auto;
    font-size: 11px;
    height: 40px;
    min-width: 0 !important;
    padding: 0 5px !important;
    width: 42px;
  }

  .notification-btn {
    width: 38px;
  }

  .search-box {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box .btn,
  .search-box button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  #wpadminbar {
    overflow: hidden;
  }

  #wpadminbar #wp-admin-bar-my-account .display-name {
    display: none;
  }
}

/* Completion pass: polished navigation, search, detail and footer */
.site-header {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.nav-links {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-1px);
}

.search-modal {
  overflow-y: auto;
}

.search-modal.is-collapsed .search-modal-inner {
  max-width: 520px;
}

.search-modal.is-collapsed .search-results,
.search-modal.is-collapsed [data-search-submit],
.search-modal.is-collapsed .search-modal-head p {
  display: none;
}

.search-modal-head,
.search-modal-actions,
.max-bid-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.search-modal-head p {
  color: var(--muted);
  margin: 6px 72px 0 0;
}

.search-modal-actions {
  flex: 0 0 auto;
}

.search-modal-inner .search-modal-actions .icon-btn {
  position: static;
}

.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suggestion-chips a,
.search-suggestion {
  background: #f8fafc;
  color: var(--primary);
  text-decoration: none;
}

.search-suggestion {
  align-items: center;
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr auto;
}

.search-suggestion strong {
  font-family: Inter, sans-serif;
}

.search-suggestion span {
  color: var(--muted);
  font-size: 13px;
}

.search-suggestion em {
  background: #dcfce7;
  border-radius: 999px;
  color: #166534;
  font-style: normal;
  font-weight: 900;
  padding: 6px 8px;
}

.margin-explainer {
  border-color: rgba(212, 175, 55, 0.5);
}

.section-head.compact {
  align-items: flex-start;
}

.margin-score-large {
  background: linear-gradient(135deg, var(--accent), #34d399);
  border-radius: 16px;
  color: var(--primary);
  display: inline-flex;
  font-size: 28px;
  padding: 16px 18px;
  white-space: nowrap;
}

.margin-factor-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.margin-factor {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.margin-factor span {
  color: var(--primary);
  font-weight: 900;
}

.margin-factor p {
  color: var(--muted);
  margin-bottom: 0;
}

.max-bid-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-color: rgba(15, 23, 42, 0.12);
}

.max-bid-head span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.max-bid-head strong {
  color: var(--primary);
  font-size: 26px;
}

.max-bid-card label {
  color: var(--muted);
  display: grid;
  font-weight: 800;
  gap: 8px;
}

.max-bid-card input[type="number"] {
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  min-height: 48px;
  padding: 0 14px;
}

.max-bid-card input[type="range"] {
  accent-color: var(--accent);
  width: 100%;
}

.calc-meter {
  background: #e2e8f0;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.calc-meter span {
  background: linear-gradient(90deg, #34d399, var(--accent), #ef4444);
  display: block;
  height: 100%;
  transition: width 0.2s ease;
}

.calc-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calc-grid div {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 14px;
}

.calc-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.ai-editorial p {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.footer {
  background: #0f2742;
  padding: 54px 0 24px;
}

.footer-top {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  padding-bottom: 34px;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-brand p {
  max-width: 720px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-badges span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #e2e8f0;
  font-weight: 800;
  padding: 8px 11px;
}

.footer-grid {
  border-top: 1px solid rgba(226, 232, 240, 0.15);
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-top: 34px;
}

.footer h3 {
  color: white;
  font-family: Inter, sans-serif;
  font-size: 15px;
  margin-bottom: 12px;
}

.footer p {
  margin: 0 0 8px;
}

.footer a {
  color: #cbd5e1;
  overflow-wrap: anywhere;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.15);
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
}

@media (max-width: 1024px) {
  .footer-top,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-links {
    border-radius: 0 0 18px 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  }

  .margin-factor-grid,
  .footer-top,
  .footer-grid,
  .calc-grid,
  .form-grid.two,
  .directory-grid,
  .news-grid,
  .alert-flow-grid {
    grid-template-columns: 1fr;
  }

  .search-modal {
    padding-top: 78px;
  }

  .search-modal-head {
    align-items: stretch;
    flex-direction: column;
  }

  .search-modal-head p {
    margin-right: 0;
  }
}

/* Product excellence pass 1.3.34 */
:root {
  --primary: #12233d;
  --accent: #19b982;
  --accent-2: #f5b841;
  --background: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #172033;
  --muted: #667085;
  --border: #dce4ee;
  --card: #ffffff;
  --danger: #dc2626;
  --warning: #d97706;
  --info: #2563eb;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 20px 60px rgba(16, 24, 40, 0.12);
  --container: 1280px;
  --container-wide: 1360px;
  --speed: 180ms;
}

body {
  background: linear-gradient(180deg, #fbfcff 0, var(--background) 48%, #eef6f2 100%);
  letter-spacing: 0;
}

.container {
  max-width: var(--container);
  padding-left: 28px;
  padding-right: 28px;
}

.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 228, 238, 0.9);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  min-height: 72px;
}

.container.nav {
  gap: 18px;
  height: 72px;
  max-width: var(--container-wide);
}

.logo {
  flex: 0 0 auto;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 23px;
  letter-spacing: 0;
  margin-right: 8px;
  white-space: nowrap;
}

.nav-links {
  background: rgba(248, 250, 252, 0.82);
  border: 1px solid rgba(220, 228, 238, 0.92);
  border-radius: 999px;
  flex: 1 1 auto;
  gap: 2px;
  justify-content: center;
  min-width: 0;
  padding: 4px;
}

.nav-links a {
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  line-height: 1;
  padding: 11px 13px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: white;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
  color: var(--primary);
  outline: 0;
}

.nav-actions {
  flex: 0 0 auto;
  gap: 8px;
  margin-left: 0;
}

.mobile-menu {
  display: none;
}

.icon-btn {
  background: white;
  border-color: rgba(220, 228, 238, 0.95);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: rgba(25, 185, 130, 0.45);
  outline: 3px solid rgba(25, 185, 130, 0.18);
}

.nav-cta,
.nav-login {
  min-height: 42px;
  padding-left: 16px;
  padding-right: 16px;
  white-space: nowrap;
}

.hero-gradient {
  background:
    linear-gradient(135deg, rgba(18, 35, 61, 0.98), rgba(17, 88, 96, 0.94) 52%, rgba(25, 185, 130, 0.9)),
    #12233d;
}

.hero-gradient .hero {
  gap: 56px;
  max-width: var(--container);
  min-height: 640px;
  padding-bottom: 64px;
  padding-top: 78px;
}

.hero h1 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.lead {
  font-size: 18px;
  line-height: 1.75;
}

.search-box {
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  gap: 10px;
  padding: 10px;
}

.search-box input {
  min-height: 52px;
}

.quick-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-chip-row a {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
}

.search-chips a {
  background: white;
  border-color: var(--border);
  color: var(--primary);
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat,
.card,
.panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat {
  min-height: 104px;
}

.featured {
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.feature-section,
.homepage-selection,
.market-directory,
.carousel-section,
.social-proof,
.pricing-preview,
.cta-section {
  padding-bottom: 64px;
  padding-top: 48px;
}

.feature-card {
  border-radius: var(--radius-lg);
  min-height: 188px;
}

.veili-preview {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.directory-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.directory-card {
  display: grid;
  gap: 9px;
  padding: 22px;
  transition: border-color var(--speed) ease, transform var(--speed) ease, box-shadow var(--speed) ease;
}

.directory-card:hover {
  border-color: rgba(25, 185, 130, 0.42);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.directory-card span,
.directory-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.directory-card strong {
  color: var(--primary);
  font-size: 20px;
}

.auction-grid {
  gap: 22px;
}

.premium-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auction-card {
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.auction-card .card-main-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.auction-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.image-frame {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #e8eef7, #dce8e1);
}

.image-frame img {
  transition: transform 400ms ease;
}

.auction-card:hover .image-frame img {
  transform: scale(1.025);
}

.overlay-badges {
  gap: 6px;
  left: 12px;
  right: 12px;
  top: 12px;
}

.badge {
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0;
  padding: 6px 9px;
}

.badge:not(.gold) {
  background: rgba(18, 35, 61, 0.88);
}

.image-credit,
.detail-image-credit,
.calendar-image figcaption {
  background: rgba(18, 35, 61, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  bottom: 10px;
  color: #f8fafc;
  font-size: 10px;
  left: 10px;
  line-height: 1;
  max-width: calc(100% - 20px);
  padding: 6px 8px;
  top: auto;
}

.card-body {
  gap: 14px;
  padding: 18px 18px 16px;
}

.card-kicker {
  gap: 8px;
  justify-content: flex-start;
  letter-spacing: 0;
}

.card-kicker span {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #475467;
  max-width: 50%;
  overflow: hidden;
  padding: 5px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-card h3 {
  color: var(--primary);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
  min-height: 48px;
}

.card-facts {
  gap: 8px;
}

.card-facts > span {
  background: var(--surface-soft);
  border: 1px solid rgba(220, 228, 238, 0.85);
  border-radius: 14px;
  min-width: 0;
  padding: 11px;
}

.card-facts strong {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip {
  background: #edf7f2;
  color: #245b46;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-ctas {
  align-items: center;
  border-top: 1px solid rgba(220, 228, 238, 0.72);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  margin-top: auto;
  padding: 14px 18px 18px;
}

.card-ctas .bookmark {
  grid-column: 1 / -1;
}

.btn,
.icon-btn,
.filter-select,
input,
select,
textarea {
  transition: background var(--speed) ease, border-color var(--speed) ease, box-shadow var(--speed) ease, color var(--speed) ease, transform var(--speed) ease;
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(25, 185, 130, 0.22);
  outline-offset: 2px;
}

.filter-bar {
  background: rgba(245, 247, 251, 0.86);
  border: 0;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.05);
  padding: 14px 0;
  top: 72px;
}

.filter-shell-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.filter-shell-head div {
  display: grid;
  gap: 2px;
}

.filter-shell-head strong {
  color: var(--primary);
  font-size: 18px;
}

.filter-shell-head span {
  color: var(--muted);
  font-size: 14px;
}

.filter-toggle {
  display: none;
}

.filters {
  background: white;
  border: 1px solid rgba(220, 228, 238, 0.9);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(145px, 1fr));
  padding: 18px;
}

.filters label {
  color: #475467;
  min-width: 0;
}

.filter-actions {
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.grid-wrap {
  grid-template-columns: minmax(0, 1fr) 300px;
  padding-top: 32px;
}

.search-page {
  gap: 22px;
  max-width: var(--container-wide);
  padding-bottom: 70px;
  padding-top: 54px;
}

.search-page-hero {
  display: grid;
  gap: 12px;
  max-width: 840px;
}

.search-page h1 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0;
}

.result-intro {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 18px;
}

.result-intro span {
  color: var(--muted);
  font-size: 14px;
  max-width: 720px;
}

.calendar-hero {
  background: linear-gradient(135deg, #12233d, #174e63 58%, #19b982);
}

.calendar-toolbar {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.calendar-event a {
  grid-template-columns: 112px minmax(0, 1fr);
}

.calendar-event h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 19px;
  font-weight: 850;
}

.detail-hero {
  padding-top: 34px;
}

.detail-hero .container {
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.detail-hero img {
  aspect-ratio: 16 / 8;
}

.detail-hero-overlay {
  border-radius: 0 24px 0 0;
  left: 28px;
  padding: 28px;
}

.detail-hero-overlay h1 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: 0;
}

.detail {
  align-items: start;
}

.detail-side {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.auth-layout {
  align-items: center;
  background:
    radial-gradient(circle at 14% 10%, rgba(25, 185, 130, 0.18), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(245, 184, 65, 0.17), transparent 28%),
    linear-gradient(180deg, #f8fbff, #eef6f2);
  border-radius: 30px;
  display: grid;
  min-height: 620px;
  padding: 48px 18px;
}

.auth-card {
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  max-width: 520px;
  padding: 34px;
}

.auth-card h1 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
}

.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="email"],
.auth-card input[type="search"],
.password-control input {
  min-height: 50px;
}

.password-control {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.password-toggle {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--primary);
  cursor: pointer;
  font-weight: 850;
  min-height: 50px;
  padding: 0 14px;
}

.auth-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-benefits span {
  font-size: 13px;
}

.footer {
  background: #10233f;
}

@media (max-width: 1180px) {
  .nav-links a {
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav-cta {
    display: none;
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .premium-grid,
  .auction-grid,
  .feature-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    position: static;
  }
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    min-height: 66px;
  }

  .container.nav {
    height: 66px;
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .logo {
    flex: 1 1 auto;
    font-size: 20px;
    min-width: 0;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    gap: 4px;
    inset: 74px 14px auto 14px;
    padding: 14px;
    position: fixed;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    border-radius: 14px;
    font-size: 16px;
    padding: 15px 14px;
  }

  .nav-login,
  .nav-cta {
    display: none;
  }

  .nav-actions {
    max-width: none;
  }

  .hero-gradient .hero {
    gap: 28px;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .stats,
  .premium-grid,
  .auction-grid,
  .feature-section,
  .directory-grid,
  .auth-benefits {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    background: rgba(245, 247, 251, 0.96);
    position: sticky;
    top: 66px;
  }

  .filter-shell-head {
    margin-bottom: 0;
  }

  .filter-shell-head span {
    display: none;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .filters {
    display: none;
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .filter-bar.is-open .filters {
    display: grid;
  }

  .filter-actions {
    flex-direction: column;
  }

  .filter-actions .btn {
    width: 100%;
  }

  .result-intro,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-ctas {
    grid-template-columns: 1fr;
  }

  .calendar-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .calendar-event a {
    grid-template-columns: 1fr;
  }

  .detail-hero-overlay {
    background: linear-gradient(0deg, rgba(18, 35, 61, 0.88), rgba(18, 35, 61, 0.38));
    border-radius: 0;
    bottom: 0;
    left: 0;
    max-width: none;
    padding: 20px;
    right: 0;
  }

  .detail-hero img {
    aspect-ratio: 4 / 3;
  }

  .auth-layout {
    border-radius: 0;
    margin-left: -16px;
    margin-right: -16px;
    min-height: auto;
    padding: 32px 16px;
  }

  .auth-card {
    padding: 24px;
  }

  .password-control {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .archive-head h1,
  .calendar-hero h1,
  .growth-head h1,
  .section-head h2,
  .auth-card h1 {
    font-size: clamp(31px, 9vw, 42px);
    line-height: 1;
    overflow-wrap: anywhere;
    text-wrap: balance;
    word-break: break-word;
  }

  .archive-head,
  .calendar-hero,
  .growth-head {
    overflow: hidden;
  }

  .hero-search input,
  .search-card input,
  .filter-select[type="search"] {
    min-width: 0;
    text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auction-card,
  .image-frame img,
  .btn,
  .icon-btn {
    transition: none !important;
  }
}
