/* Мелион — строительство домов в Крыму
   Минималистичный, мобильный, быстрый. Без фреймворков. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --brand: #2e7d57;          /* зелёный — стройка, природа Крыма */
  --brand-dark: #1f5c3f;
  --brand-light: #e8f5ee;
  --accent: #d97706;         /* охра — солнце Крыма */
  --text: #1a1d29;
  --text-soft: #525870;
  --text-muted: #8a8f9c;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-warm: #fdf9f3;
  --border: #e5e7ec;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --max-w: 1200px;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; margin: 0 0 12px; }
h1 { font-size: 38px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
p { margin: 0 0 12px; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  text-align: center;
}
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-secondary { background: white; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand-light); text-decoration: none; }
.btn-block { display: block; width: 100%; }

/* ===== Header ===== */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--brand); color: white;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.logo-text { font-size: 18px; line-height: 1; }
.logo-text small { display: block; font-size: 11px; font-weight: 500; color: var(--text-soft); margin-top: 3px; }
.nav { display: flex; gap: 22px; font-size: 15px; align-items: center; }
.nav a { color: var(--text); font-weight: 500; }
.nav a:hover { color: var(--brand); text-decoration: none; }

/* ===== Geo dropdown ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 5px;
  color: var(--text); font-weight: 500; font-size: 15px;
  cursor: pointer; user-select: none; white-space: nowrap;
}
.nav-dropdown-trigger svg { transition: transform .2s; flex-shrink: 0; }
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-trigger:hover { color: var(--brand); }
.nav-dropdown-panel {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: white; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  border: 1px solid var(--border);
  padding: 10px; min-width: 210px;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 500;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.city-main {
  display: block; padding: 8px 10px;
  font-weight: 600; font-size: 14px;
  color: var(--text); border-radius: 7px;
  text-decoration: none;
}
.city-main:hover { background: var(--bg-soft); color: var(--brand); }
.city-subs {
  margin: 2px 0 6px 12px;
  padding-left: 10px;
  border-left: 2px solid var(--brand-light);
}
.city-subs a {
  display: block; padding: 4px 8px;
  font-size: 13px; color: var(--text-soft);
  border-radius: 5px; text-decoration: none;
}
.city-subs a:hover { background: var(--bg-soft); color: var(--brand); }
.header-phone { font-weight: 700; font-size: 17px; color: var(--text); white-space: nowrap; }
.header-phone:hover { color: var(--brand); text-decoration: none; }

/* ===== Trust bar ===== */
.trust-bar {
  background: var(--brand-dark);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 7px 20px;
  letter-spacing: .01em;
}
.trust-bar span { margin: 0 14px; white-space: nowrap; }
.trust-bar span::before { content: '✓ '; opacity: .7; }
@media(max-width:640px) { .trust-bar { font-size: 12px; } .trust-bar span { margin: 0 8px; } }
@media(max-width:480px) { .trust-bar { display:flex; flex-wrap:wrap; justify-content:center; gap:2px 0; padding:6px 12px; font-size:11px; } .trust-bar span { margin:0 6px; } }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #f7f8fa 0%, #e8f5ee 100%);
  padding: 56px 0 64px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: 44px; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero-sub {
  font-size: 18px; color: var(--text-soft);
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.trust-item { font-size: 14px; color: var(--text-soft); }
.trust-item strong { display: block; font-size: 26px; color: var(--brand); font-weight: 700; }
.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 9/7;
  object-fit: cover;
}

/* ===== Sections ===== */
section { padding: 64px 0; }
.section-title { font-size: 32px; text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; font-size: 17px; color: var(--text-soft); max-width: 680px; margin: 0 auto 40px; }
.section-cta { text-align: center; margin-top: 36px; }

/* ===== Categories ===== */
.categories-section { background: var(--bg-soft); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: white;
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  display: block;
  color: var(--text);
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; border-color: var(--brand); }
.cat-icon { font-size: 32px; margin-bottom: 12px; }
.cat-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--text); }
.cat-card p { font-size: 14px; color: var(--text-soft); margin-bottom: 12px; }
.cat-count { font-size: 13px; color: var(--brand); font-weight: 600; }

/* ===== Projects grid (featured + catalog) ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  display: flex; flex-direction: column;
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.project-img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.project-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.project-tag {
  display: inline-block;
  font-size: 11px;
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.project-tag.hit { background: #fef3c7; color: #92400e; }
.project-card h3 { font-size: 17px; margin-bottom: 6px; }
.project-card h3 a { color: var(--text); }
.project-card h3 a:hover { color: var(--brand); text-decoration: none; }
.project-meta { font-size: 13px; color: var(--text-soft); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 2px 0; }
.project-meta span { white-space: nowrap; }
.project-meta span + span::before { content: '·'; margin: 0 6px; color: var(--text-muted); }
.project-price {
  margin-top: auto;
  font-size: 19px; font-weight: 700; color: var(--brand);
  padding-top: 10px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.project-price small { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ===== Calculator ===== */
.calculator-section { background: var(--bg-warm); }
.calc-box {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}
.calc-controls { display: flex; flex-direction: column; gap: 18px; }
.calc-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.calc-field label strong { color: var(--brand); font-size: 15px; }
.calc-field select, .calc-field input[type="number"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  background: white;
  color: var(--text);
}
.calc-field input[type="range"] {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  margin-top: 8px;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--brand);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(46,125,87,0.4);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--brand);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.calc-result {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 28px;
  border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: center;
}
.calc-result-label { font-size: 13px; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.calc-result-value { font-size: 32px; font-weight: 700; line-height: 1.1; margin-bottom: 4px; }
.calc-result-per-m { font-size: 16px; opacity: 0.9; margin-bottom: 16px; }
.calc-result-note { font-size: 13px; opacity: 0.85; line-height: 1.5; margin-bottom: 16px; }
.calc-cta { background: white; color: var(--brand-dark); }
.calc-cta:hover { background: #f0fdf4; }

/* ===== Why us ===== */
.why-us { background: var(--bg-soft); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-item {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.why-item h3 { font-size: 18px; color: var(--brand); margin-bottom: 10px; }
.why-item p { font-size: 15px; color: var(--text-soft); margin: 0; }

/* ===== Crimea features (новая секция из анализа) ===== */
.crimea-section { background: var(--bg-warm); }
.crimea-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.crimea-item { text-align: center; padding: 24px 16px; }
.crimea-icon { font-size: 40px; margin-bottom: 12px; }
.crimea-item h3 { font-size: 17px; margin-bottom: 8px; }
.crimea-item p { font-size: 14px; color: var(--text-soft); margin: 0; }

/* ===== Lead form ===== */
.lead-section { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%); color: white; }
.lead-section h2 { color: white; }
.lead-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  max-width: 960px; margin: 0 auto;
  align-items: center;
}
.lead-text p { opacity: 0.9; font-size: 16px; }
.lead-bullets { list-style: none; padding: 0; margin: 20px 0 0; }
.lead-bullets li { padding: 6px 0 6px 26px; position: relative; }
.lead-bullets li::before {
  content: '✓'; position: absolute; left: 0;
  width: 18px; height: 18px;
  background: white; color: var(--brand-dark);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  top: 8px;
}
.lead-form {
  background: white;
  color: var(--text);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 14px;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: white;
}
.lead-form textarea { resize: vertical; min-height: 80px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46,125,87,0.15);
}
.lead-consent { font-size: 13px; color: var(--text-soft); display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.lead-consent input { width: auto; }
.form-status { font-size: 14px; min-height: 20px; }
.form-status.success { color: var(--brand-dark); font-weight: 600; }
.form-status.error { color: #b91c1c; }

/* ===== Footer ===== */
.site-footer {
  background: #1a1d29;
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
  margin-top: 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 32px;
  padding-bottom: 40px;
}
.footer-col h4 { color: white; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.75); padding: 5px 0; font-size: 14px; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-col p { font-size: 14px; margin-bottom: 8px; }
.logo-footer .logo-text { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.65); }

/* ===== Catalog page ===== */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 32px;
}
.catalog-filters {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: fit-content;
  position: sticky; top: 80px;
}
.filter-group { margin-bottom: 20px; }
.filter-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-soft); margin-bottom: 10px; }
.filter-checkbox { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; cursor: pointer; }
.filter-checkbox input { width: auto; }
.catalog-results { flex: 1; }
.catalog-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.catalog-count { font-size: 14px; color: var(--text-soft); }

/* ===== Project detail ===== */
.project-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.project-gallery img { border-radius: var(--radius); margin-bottom: 12px; }
.project-info h1 { margin-bottom: 16px; }
.project-specs { background: var(--bg-soft); padding: 20px; border-radius: var(--radius); margin: 20px 0; }
.spec-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--text-soft); }
.spec-row span:last-child { font-weight: 600; }

/* ===== Card actions: favourites + compare ===== */
.project-card-wrap { position: relative; }
.card-actions {
  position: absolute; top: 8px; right: 8px;
  display: flex; gap: 5px; z-index: 2;
}
.btn-fav, .btn-cmp {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 7px; cursor: pointer;
  padding: 5px 8px; font-size: 15px; line-height: 1;
  transition: all .15s; color: #555;
}
.btn-fav:hover { background: #ffe4e4; border-color: #e44; color: #e44; }
.btn-fav.active { background: #e44; color: white; border-color: #e44; }
.btn-cmp:hover { background: var(--brand-light); border-color: var(--brand); color: var(--brand); }
.btn-cmp.active { background: var(--brand); color: white; border-color: var(--brand); }

/* ===== Compare bar (floating) ===== */
#compareBar {
  position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
  background: #1a202c; color: white;
  border-radius: 12px; padding: 12px 20px;
  display: flex; align-items: center; gap: 14px;
  z-index: 9998; box-shadow: 0 8px 32px rgba(0,0,0,.3);
  transition: bottom .3s ease; white-space: nowrap; font-size: 14px;
}
#compareBar.visible { bottom: 96px; }
#compareBar .btn { background: white; color: var(--brand-dark); padding: 8px 16px; font-size: 14px; font-weight: 600; }
#compareBar .clear-cmp { background: none; color: rgba(255,255,255,.55); border: none; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 4px; }
#compareBar .clear-cmp:hover { color: white; }

/* ===== Compare table ===== */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.compare-row { display: grid; border-bottom: 1px solid var(--border); }
.compare-row:last-child { border-bottom: none; }
.compare-label { padding: 14px 16px; font-size: 13px; color: var(--text-soft); font-weight: 600; background: var(--bg-soft); border-right: 1px solid var(--border); display: flex; align-items: center; }
.compare-col { padding: 14px 16px; font-size: 15px; vertical-align: middle; }
.compare-title { font-weight: 600; color: var(--brand); text-decoration: none; font-size: 15px; display: block; margin-bottom: 4px; }
.compare-title:hover { text-decoration: underline; }

/* ===== Burger button ===== */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 6px; margin-left: auto;
}
.burger-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.header-inner.nav-open .burger-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-inner.nav-open .burger-btn span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header-inner.nav-open .burger-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 1024px) {
  .site-header { position: relative; z-index: 9995; }
  .burger-btn { position: relative; z-index: 9996; }
  .header-inner.nav-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: #fff; z-index: 9990;
    padding: 80px 0 32px; overflow-y: auto;
    align-items: stretch;
  }
  .header-inner.nav-open .nav > a {
    padding: 14px 24px; border-bottom: 1px solid var(--border);
    font-size: 17px; display: block;
  }
  .header-inner.nav-open .nav > a:hover { color: var(--brand); background: var(--bg-soft); }
  .header-inner.nav-open .nav-dropdown { position: static; border-bottom: 1px solid var(--border); }
  .header-inner.nav-open .nav-dropdown-trigger {
    padding: 14px 24px; font-size: 17px; width: 100%;
    display: flex; justify-content: space-between;
  }
  .header-inner.nav-open .nav-dropdown-panel {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border-radius: 0;
    padding: 4px 24px 12px; min-width: 0; border-top: none;
    display: none;
  }
  .header-inner.nav-open .nav-dropdown.open .nav-dropdown-panel { display: block; }
  .header-inner.nav-open .city-main { font-size: 16px; padding: 10px 8px; }
  .header-inner.nav-open .city-subs { margin-left: 8px; }
  .header-inner.nav-open .city-subs a { font-size: 15px; padding: 8px 8px; }
  body.nav-open { overflow: hidden; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger-btn { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .calc-box { grid-template-columns: 1fr; }
  .categories-grid, .projects-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .crimea-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-box { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .catalog-filters, .catalog-results { min-width: 0; }
  .catalog-filters { position: static; }
  .project-detail { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .hero { padding: 32px 0; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .hero-trust { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-item strong { font-size: 22px; }
  section { padding: 40px 0; }
  .section-title { font-size: 24px; }
  .categories-grid, .projects-grid, .why-grid { grid-template-columns: minmax(0, 1fr); }
  .projects-grid > * { min-width: 0; }
  .crimea-grid { grid-template-columns: 1fr 1fr; }
  .calc-box { padding: 20px; }
  .calc-result-value { font-size: 26px; }
  .lead-form { padding: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .header-inner { gap: 12px; padding: 12px 16px; }
  .header-phone { font-size: 15px; }
  .logo-text { font-size: 16px; }
  div[style*="grid-template-columns"] { grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; }
}
