/* ===================================================
   YardSalePermit.com — Main Stylesheet
   Stack: Plain HTML5 + CSS + Vanilla JS
   Aesthetic: Friendly civic utility — think hand-lettered
   sign meets clean government form. Warm cream, pine 
   green, price-tag red accents.
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* --- Variables --- */
:root {
  --cream:      #FAF7F0;
  --cream-dark: #F0EBE0;
  --green:      #2D5016;
  --green-mid:  #3D6B20;
  --green-light:#EBF2E4;
  --red:        #C4351A;
  --red-light:  #FDF0ED;
  --gold:       #C8940A;
  --gold-light: #FDF6E3;
  --charcoal:   #1E1E1E;
  --gray:       #5A5A5A;
  --gray-light: #E8E8E8;
  --white:      #FFFFFF;
  --border:     #D4CEBC;
  --shadow:     0 2px 12px rgba(30,30,30,0.08);
  --shadow-lg:  0 8px 32px rgba(30,30,30,0.12);
  --radius:     8px;
  --radius-lg:  16px;
  --font-head:  'DM Serif Display', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--green-mid); }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--charcoal);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
strong { font-weight: 600; }

/* --- Layout --- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }

/* --- Header --- */
.site-header {
  background: var(--green);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-text span { color: #FBBF24; }
.site-nav { display: flex; gap: 0.25rem; align-items: center; }
.site-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #a82d14 !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  background: var(--green);
  background-image: 
    radial-gradient(ellipse at 70% 50%, rgba(61,107,32,0.6) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--white);
  padding: 4rem 1.25rem 3.5rem;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: var(--white);
  max-width: 680px;
  margin: 0 auto 1.25rem;
}
.hero h1 em {
  font-style: italic;
  color: #FBBF24;
}
.hero-sub {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: #a82d14; border-color: #a82d14; color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); color: var(--white); }
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-mid); border-color: var(--green-mid); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }

/* --- Quick Answer Banner --- */
.quick-answer {
  background: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.quick-answer .qa-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.quick-answer p { margin: 0; font-size: 0.95rem; }
.quick-answer strong { color: var(--green); }

/* --- Permit Badge --- */
.permit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-required { background: var(--red-light); color: var(--red); border: 1px solid #f0b0a0; }
.badge-not-required { background: var(--green-light); color: var(--green); border: 1px solid #b8d4a0; }
.badge-varies { background: var(--gold-light); color: #7a5a06; border: 1px solid #e0c060; }
.badge-free { background: var(--green-light); color: var(--green); border: 1px solid #b8d4a0; }

/* --- Info Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.card h3 { color: var(--green); font-size: 1.1rem; margin-bottom: 0.5rem; }
.card .card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.stat-card {
  text-align: center;
  padding: 1.25rem;
}
.stat-card .stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-card .stat-label { font-size: 0.875rem; color: var(--gray); }

/* --- Data Table --- */
.data-table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}
.data-table th {
  background: var(--green);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: #FAFAF8; }
.data-table tr:hover td { background: var(--green-light); transition: background 0.1s; }
.data-table .yes { color: var(--red); font-weight: 600; }
.data-table .no  { color: var(--green); font-weight: 600; }
.data-table .varies { color: var(--gold); font-weight: 600; }

/* --- Section Styles --- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--cream-dark); }
.section-green { background: var(--green); color: var(--white); }
.section-green h2 { color: var(--white); }
.section-green p { opacity: 0.9; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}
.section-sub {
  color: var(--gray);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

/* --- State Grid --- */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.state-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s;
  box-shadow: var(--shadow);
}
.state-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(45,80,22,0.15);
  color: var(--green);
  transform: translateY(-1px);
}
.state-card .state-flag { font-size: 1.1rem; }

/* --- City Search --- */
.search-bar {
  display: flex;
  gap: 0.5rem;
  max-width: 560px;
  margin: 1.5rem 0;
}
.search-bar input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.15s;
}
.search-bar input:focus { border-color: var(--green); }
.search-bar button {
  padding: 0.8rem 1.25rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: background 0.15s;
}
.search-bar button:hover { background: var(--green-mid); }

/* --- FAQ --- */
.faq-list { margin: 1.5rem 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--cream-dark); }
.faq-q .faq-arrow { transition: transform 0.25s; color: var(--green); font-size: 1.2rem; flex-shrink: 0; }
.faq-item.open .faq-q { background: var(--green-light); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--gray);
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* --- Checklist / Steps --- */
.steps-list { list-style: none; padding: 0; counter-reset: step; }
.steps-list li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.steps-list li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* --- Tip Box --- */
.tip-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.tip-box strong { color: var(--green); }
.warning-box {
  background: var(--red-light);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.warning-box strong { color: var(--red); }

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--gray);
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--green); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; }

/* --- Page Header (inner pages) --- */
.page-hero {
  background: var(--green);
  color: var(--white);
  padding: 2.5rem 1.25rem 2rem;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.page-hero .page-sub { opacity: 0.85; font-size: 1rem; margin-top: 0.5rem; }
.page-hero .permit-badge { margin-top: 0.75rem; }

/* --- Sidebar Layout --- */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.sidebar-card h4 { color: var(--green); margin-bottom: 0.75rem; border-bottom: 1px solid var(--gray-light); padding-bottom: 0.5rem; }
.sidebar-card ul { padding-left: 1rem; font-size: 0.875rem; }
.sidebar-card li { margin-bottom: 0.4rem; }
.sidebar-card a { color: var(--green); }

/* --- Tool Styles (Wizard) --- */
.wizard-wrap {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-progress {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.wizard-progress .prog-dot {
  height: 4px;
  flex: 1;
  background: var(--gray-light);
  border-radius: 2px;
  transition: background 0.3s;
}
.wizard-progress .prog-dot.done { background: var(--green); }
.wizard-progress .prog-dot.active { background: var(--gold); }
.wizard-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.wizard-q {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.option-btn {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.15s;
  color: var(--charcoal);
}
.option-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
.option-btn.selected { border-color: var(--green); background: var(--green); color: var(--white); }
.wizard-result {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1rem;
}
.result-verdict {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.result-verdict .verdict-icon { font-size: 2.5rem; }
.result-verdict h3 { margin: 0; font-size: 1.4rem; }

/* --- Checklist Tool (PDF) --- */
.checklist-section { margin-bottom: 1.25rem; }
.checklist-section h4 {
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.checklist-items { border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius) var(--radius); }
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.875rem;
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
.checklist-item label { cursor: pointer; }
.checklist-item.checked label { text-decoration: line-through; color: var(--gray); }

/* --- Fee Calculator --- */
.calc-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.9rem;
}
.calc-row:last-child { border-bottom: none; }
.calc-row .calc-label { color: var(--gray); }
.calc-row .calc-val { font-weight: 600; }
.calc-total { background: var(--green-light); border-radius: var(--radius); padding: 1rem; margin-top: 0.75rem; }
.calc-total .total-label { font-size: 0.875rem; color: var(--gray); }
.calc-total .total-val { font-family: var(--font-head); font-size: 2rem; color: var(--green); }

/* --- Related Cities Grid --- */
.city-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
  margin: 1.25rem 0;
}
.city-link {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s;
}
.city-link:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
.city-link .city-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- AdSense Placeholders --- */
.ad-unit {
  text-align: center;
  margin: 2rem 0;
  min-height: 90px;
  background: var(--cream-dark);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.75rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.25rem 1.5rem;
  font-size: 0.875rem;
}
.footer-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.footer-brand { }
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-logo span { color: #FBBF24; }
.footer-tagline { font-size: 0.8rem; line-height: 1.5; margin-top: 0.25rem; }
.footer-col h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { margin: 0; font-size: 0.75rem; }
.footer-disclaimer {
  max-width: 1080px;
  margin: 1rem auto 0;
  font-size: 0.7rem;
  opacity: 0.5;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .content-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--green);
    padding: 0.75rem;
    gap: 0.25rem;
    z-index: 99;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  }
  .hamburger { display: block; }
  .hero { padding: 2.5rem 1.25rem 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; }
}
@media print {
  .site-header, .site-footer, .ad-unit, .sidebar { display: none; }
  .content-sidebar { grid-template-columns: 1fr; }
}
