/* SkipTheGames - Site Styles */

:root {
  --primary: #c8226b;
  --primary-dark: #a31a55;
  --primary-light: #f7e6ee;
  --text-dark: #1a1a1a;
  --text-body: #2d2d2d;
  --text-muted: #6b6b6b;
  --bg-page: #f0ecea;
  --bg-card: #ffffff;
  --border: #e0dad7;
  --border-soft: #ede8e5;
  --green-online: #2ea15b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.06);
  --radius: 10px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

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

/* ============ HEADER ============ */
.site-header {
  background: #ffffff;
  border-bottom: 2px solid var(--primary);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo:hover { color: var(--primary-dark); }

.logo img { width: 26px; height: 26px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14.5px;
}

.main-nav a:hover { color: var(--primary); }

/* Burger menu button */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ LAYOUT ============ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  padding: 18px 0 6px;
}

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

.breadcrumbs .sep {
  margin: 0 8px;
  color: #c0c0c0;
}

.page-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 6px 0 6px;
  letter-spacing: -0.4px;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 26px;
  align-items: start;
  padding-bottom: 30px;
}

/* ============ LISTINGS GRID (3 per row) ============ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.listing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(40, 25, 35, 0.06), 0 1px 2px rgba(40, 25, 35, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: inherit;
  text-decoration: none;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(40, 25, 35, 0.10), 0 4px 8px rgba(40, 25, 35, 0.06);
  color: inherit;
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f3f3f3;
}

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

.time-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.online-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px 4px 20px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.online-badge::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--green-online);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(46, 161, 91, 0.25);
}

.card-body {
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tag-incall { background: var(--primary-light); color: var(--primary); }
.tag-outcall { background: #e7f1fb; color: #1971c2; }
.tag-cardate { background: #fff3d9; color: #b07a06; }
.tag-area { background: #ececec; color: #555; }

.card-description {
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.btn-view {
  color: var(--primary);
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.18s ease, color 0.15s ease;
}

.btn-view::after {
  content: "\2192"; /* → */
  font-size: 15px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.listing-card:hover .btn-view {
  color: var(--primary-dark);
  gap: 9px;
}

.username {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

/* ============ "VIEW ALL" BUTTON ============ */
.view-all-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 10px;
}

.btn-view-all {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-view-all:hover {
  background: var(--primary);
  color: #fff;
}

/* ============ SIDEBAR ============ */
.sidebar { display: flex; flex-direction: column; gap: 18px; }

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.sidebar-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}

.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sidebar-list a {
  color: var(--text-body);
  font-size: 13.5px;
  display: block;
  padding: 2px 0;
}

.sidebar-list a:hover { color: var(--primary); }

.highlight-list { list-style: none; }

.highlight-list li {
  padding: 5px 0 5px 16px;
  position: relative;
  font-size: 13.5px;
  color: var(--text-body);
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============ INFO SECTION (Houston city guide) ============ */
.city-guide {
  margin: 14px 0 36px;
}

.guide-intro {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.guide-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #e85a8c 100%);
}

.guide-intro h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.guide-intro p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 850px;
}

.guide-intro p + p { margin-top: 12px; }

/* Two-column stat / area layout */
.guide-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.guide-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-card h3::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.area-grid span {
  font-size: 13.5px;
  color: var(--text-body);
  padding: 4px 0;
  position: relative;
  padding-left: 16px;
}

.area-grid span::before {
  content: "\2022";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 700;
}

.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tips-list li {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.5;
  padding-left: 28px;
  position: relative;
}

.tips-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

/* FAQ accordion-style block */
.guide-faq {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 18px;
}

.guide-faq h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.faq-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}

.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item:first-of-type { padding-top: 0; }

.faq-q {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.faq-q::before {
  content: "Q.";
  color: var(--primary);
  font-weight: 800;
  margin-right: 6px;
}

.faq-a {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
}

/* Disclaimer banner with diagonal stripe accent */
.guide-notice {
  background: #1f1416;
  color: #f0e6e9;
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.guide-notice-mark {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.guide-notice h4 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.guide-notice p {
  font-size: 13px;
  color: #d8c8cd;
  line-height: 1.55;
}

.guide-notice a { color: #ffb3cb; }
.guide-notice a:hover { color: #fff; }

@media (max-width: 768px) {
  .guide-cols { grid-template-columns: 1fr; }
  .guide-intro, .guide-faq { padding: 22px; }
  .guide-card { padding: 20px; }
  .guide-notice { flex-direction: column; gap: 10px; padding: 20px; }
}

/* ============ STATIC / LEGAL PAGES ============ */
.legal-page {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin: 14px 0 36px;
  position: relative;
  overflow: hidden;
}

.legal-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #e85a8c 100%);
}

.legal-page h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 26px 0 10px;
  letter-spacing: -0.2px;
}

.legal-page h2:first-of-type { margin-top: 0; }

.legal-page h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 20px 0 8px;
}

.legal-page p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 14px;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 18px 22px;
  padding: 0;
}

.legal-page li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 8px;
}

.legal-page strong { color: var(--text-dark); font-weight: 700; }

.legal-page a { color: var(--primary); font-weight: 500; }
.legal-page a:hover { color: var(--primary-dark); }

.legal-meta {
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  background: #fbf9f8;
}

.contact-card h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 6px;
}

.contact-card a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  word-break: break-all;
}

.contact-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 4px 0 0;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .legal-page { padding: 24px 22px; }
}

/* ============ HOMEPAGE ============ */
.home-hero {
  text-align: center;
  padding: 56px 20px 38px;
}

.home-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero h1 .accent {
  color: var(--primary);
}

.home-hero .lead {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto 26px;
}

.home-hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--primary);
  transition: background 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--primary);
  transition: all 0.15s ease;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.home-section {
  margin: 0 0 44px;
}

.section-head {
  text-align: center;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.section-head p {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* Featured cities grid (24 cards) */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.city-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 1px 2px rgba(40, 25, 35, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.city-card:hover {
  transform: translateY(-2px);
  border-color: #f0d4e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 8px 20px rgba(40, 25, 35, 0.08);
  color: var(--text-dark);
}

.city-card .name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.city-card .state {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.6px;
}

.cities-foot {
  text-align: center;
  margin-top: 22px;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(40, 25, 35, 0.04);
}

.feature-card .ic {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.5;
}

/* How-it-works steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: relative;
  box-shadow: 0 1px 2px rgba(40, 25, 35, 0.04);
}

.step-card .num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 42px;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px;
  padding-right: 36px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
}

/* Stats bar */
.stats-bar {
  background: linear-gradient(135deg, #1f1416 0%, #2a1820 100%);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
  margin-bottom: 44px;
}

.stat .num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  display: block;
  letter-spacing: -0.5px;
}

.stat .label {
  font-size: 12px;
  color: #d8c8cd;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 600;
}

/* Final CTA panel */
.cta-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #e85a8c 100%);
}

.cta-panel h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cta-panel p {
  font-size: 14.5px;
  color: var(--text-body);
  margin-bottom: 20px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .home-hero { padding: 36px 12px 28px; }
  .home-hero h1 { font-size: 30px; }
  .home-hero .lead { font-size: 15px; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 20px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 26px 0 22px;
  margin-top: 14px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 500;
}

.footer-links a:hover { color: var(--primary); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.disclaimer {
  font-size: 11px;
  color: #999;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-box { flex: 1 1 calc(33.333% - 12px); min-width: 220px; }
}

@media (max-width: 768px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .burger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open {
    max-height: 320px;
  }
  .main-nav a {
    padding: 14px 22px;
    border-top: 1px solid var(--border-soft);
    font-size: 15px;
  }
  .site-header { position: relative; }
  .page-title { font-size: 22px; }
  .info-section { padding: 20px; }
}

@media (max-width: 520px) {
  .listings-grid { grid-template-columns: 1fr; }
  .sidebar-box { flex: 1 1 100%; }
  .footer-links { gap: 6px 14px; font-size: 13px; }
  .header-inner { padding: 0 14px; }
  .container { padding: 0 14px; }
}
