* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-2: #f8fbff;
  --text: #102033;
  --muted: #5a6b7d;
  --border: #d7e2ee;
  --accent: #0f766e;
  --accent-2: #1d4ed8;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.06), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
  color: var(--text);
  line-height: 1.7;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(215, 226, 238, 0.9);
}

.site-footer {
  background: #0f172a;
  color: #dbe7f5;
  margin-top: 56px;
}

.site-footer a {
  color: #93c5fd;
}

.header-inner,
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.18rem;
}

.brand-tag,
.footer-title {
  margin: 4px 0 0;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-title {
  font-weight: 700;
  color: #ffffff;
}

.site-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a,
a {
  color: var(--accent-2);
  text-decoration: none;
}

.site-nav a:hover,
a:hover {
  text-decoration: underline;
}

.main-content {
  padding: 36px 0 56px;
}

.hero,
.page-copy,
.category-page,
.article-page {
  margin-bottom: 32px;
}

.hero,
.page-copy,
.category-page,
.article-page,
.article-card,
.category-card {
  border-radius: 24px;
}

.hero,
.page-copy,
.category-page,
.article-page {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.hero-visual,
.category-card-media img,
.article-card-image,
.article-hero-media img {
  margin: 0;
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel-2);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-intro,
.article-dek,
.meta,
.article-meta {
  color: var(--muted);
}

.category-grid,
.article-list {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-bottom: 32px;
}

.article-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.article-card,
.category-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 20px;
}

.category-card-media {
  overflow: hidden;
  padding: 0;
}

.category-card-media div {
  padding: 18px 20px 20px;
}

.article-card-image {
  margin-bottom: 14px;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.article-hero-media {
  margin: 0;
}

.article-body h2,
.article-body h3 {
  margin-top: 32px;
  color: #0f172a;
}

.article-body p,
.article-body li {
  max-width: 72ch;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.section-heading {
  margin-bottom: 16px;
}

@media (max-width: 860px) {
  .hero-home,
  .article-hero {
    grid-template-columns: 1fr;
  }
}

.button-row { display:flex; gap:12px; flex-wrap:wrap; margin-top:20px; }
.button-primary, .button-secondary { display:inline-flex; align-items:center; justify-content:center; border-radius:999px; padding:12px 18px; font-weight:700; text-decoration:none; }
.button-primary { background: var(--accent-2); color:#ffffff; }
.button-secondary { background: var(--panel); border:1px solid var(--border); color: var(--text); }
.ad-slot { display:none; margin:24px 0; min-height:0; }
.ad-slot.is-active { display:block; }
.ad-slot a { color: inherit; }
.ad-slot .empire-ad, .ad-slot .yt-channel-ad { display:flex; flex-direction:column; gap:12px; max-width:100%; height:100%; padding:16px; border:1px solid var(--border); border-radius:18px; background:#ffffff; box-shadow: var(--shadow); text-decoration:none; overflow:hidden; }
.ad-slot img, .ad-slot .empire-ad-img { display:block; width:100%; max-width:100%; height:180px; object-fit:cover; border-radius:12px; }
.ad-slot .yt-channel-ad-icon { width:56px; height:56px; }
.ad-slot .yt-channel-ad-icon svg { width:100%; height:100%; }
.category-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,0.95fr); gap:28px; align-items:center; margin-bottom:24px; }
.category-hero-copy { max-width:62ch; }
.hero-visual img { aspect-ratio:16 / 10; }
@media (max-width: 860px) { .category-hero { grid-template-columns:1fr; } }

/* hero without a picture: let the text use the full width */
.article-hero:not(:has(.article-hero-media)) { grid-template-columns: 1fr; }

/* related articles block under each article */
.related-articles { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.related-articles h2 { margin: 0 0 14px; font-size: 1.25rem; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.related-list li { display: grid; gap: 4px; }
.related-list a { font-weight: 700; }
.related-list span { color: var(--muted, inherit); font-size: 0.95rem; opacity: 0.85; }

/* tables: scroll sideways on small screens, readable borders */
.table-scroll { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.table-scroll table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.table-scroll th, .table-scroll td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; vertical-align: top; }
.table-scroll th { background: var(--panel-2); font-weight: 700; }
.table-scroll tbody tr:nth-child(even) td { background: var(--panel-2); }
@media (max-width: 520px) {
  .table-scroll table { font-size: 0.82rem; }
  .table-scroll th, .table-scroll td { padding: 5px 4px; }
}

/* links inside running text are underlined so they do not rely on color alone */
.article-body a, .page-copy a, .category-intro a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* footer topics row */
.footer-links p { margin: 0 0 8px; }
.footer-topics { font-size: 0.92rem; }

/* ===== BathroomRefresh components: callouts, diagrams, checklists, planner quiz, print ===== */

/* "Before you buy" and similar callouts inside articles and guides */
.callout { margin: 24px 0; padding: 16px 20px; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 12px; background: var(--panel-2); }
.callout h3 { margin: 0 0 8px; font-size: 1.05rem; }
.callout ul, .callout ol { margin: 0; padding-left: 20px; }
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin-bottom: 0; }

/* original diagrams (inline SVG) */
.diagram { margin: 28px 0; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.diagram svg { display: block; width: 100%; height: auto; max-width: 720px; margin: 0 auto; }
.diagram figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--muted); text-align: center; }
.diagram .d-text { font-family: Arial, sans-serif; fill: #102033; font-size: 14px; }
.diagram .d-small { font-family: Arial, sans-serif; fill: #5a6b7d; font-size: 12px; }
.diagram .d-bold { font-family: Arial, sans-serif; fill: #102033; font-size: 14px; font-weight: 700; }

/* tools: shared buttons and progress */
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0 24px; }
.tool-actions button, .quiz-nav button, .quiz-result button { font: inherit; font-weight: 700; border-radius: 999px; padding: 10px 18px; border: 1px solid var(--border); background: var(--panel); color: var(--text); cursor: pointer; }
.tool-actions button:hover, .quiz-nav button:hover, .quiz-result button:hover { border-color: var(--accent-2); }
.tool-actions button.is-primary, .quiz-nav button.is-primary { background: var(--accent-2); border-color: var(--accent-2); color: #ffffff; }
.tool-progress { font-weight: 700; color: var(--accent); }

/* tickable checklists */
.checklist fieldset { border: 1px solid var(--border); border-radius: 14px; padding: 12px 18px 8px; margin: 0 0 18px; background: var(--panel); }
.checklist legend { font-weight: 800; padding: 0 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--border); cursor: pointer; }
.check:first-of-type { border-top: 0; }
.check input { flex: none; margin-top: 4px; width: 20px; height: 20px; accent-color: var(--accent); }
.check small { display: block; color: var(--muted); font-size: 0.88rem; }
.check input:checked + span { color: var(--muted); text-decoration: line-through; }
.tool-note { margin-top: 18px; font-size: 0.95rem; color: var(--muted); }

/* planner quiz */
.quiz { margin: 24px 0; padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow); }
.quiz-step h2 { margin-top: 0; font-size: 1.3rem; }
.quiz-count { font-size: 0.9rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.quiz-options { display: grid; gap: 10px; margin: 16px 0; }
.quiz-option { display: block; text-align: left; font: inherit; width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); color: var(--text); cursor: pointer; }
.quiz-option small { display: block; color: var(--muted); font-size: 0.9rem; }
.quiz-option:hover, .quiz-option:focus-visible { border-color: var(--accent-2); }
.quiz-option[aria-pressed="true"] { border-color: var(--accent-2); background: #eaf1ff; box-shadow: inset 0 0 0 1px var(--accent-2); }
.quiz-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.quiz-result h2 { margin-top: 0; }
.fix-list { list-style: none; counter-reset: fix; margin: 16px 0; padding: 0; display: grid; gap: 14px; }
.fix-list li { counter-increment: fix; position: relative; padding: 14px 16px 14px 56px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel-2); }
.fix-list li::before { content: counter(fix); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #ffffff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.fix-list h3 { margin: 0 0 4px; font-size: 1.05rem; }
.fix-list p { margin: 0 0 6px; }
.fix-meta { font-size: 0.88rem; color: var(--muted); }
.fix-links a { margin-right: 14px; }
.js .quiz-fallback { display: none; }
.quiz-fallback h2 { margin-top: 28px; }

/* print: checklists and plans print as plain pages */
@media print {
  .site-header, .site-footer, .ad-slot, .tool-actions, .quiz-nav, .related-articles, .no-print { display: none !important; }
  body { background: #ffffff !important; }
  .page-copy, .quiz { box-shadow: none !important; border: 0 !important; padding: 0 !important; }
  .checklist fieldset, .fix-list li { break-inside: avoid; }
  .check input { appearance: auto; }
  a { color: #000000; text-decoration: none; }
}

/* ===== home and hub tiles ===== */
.home-section { margin: 40px 0; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { display: block; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.tile:hover, .tile:focus-visible { border-color: var(--accent-2); text-decoration: none; }
.tile h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--accent-2); }
.tile p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.tile strong { color: var(--accent); }
.home-section .article-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.home-section .article-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.home-section .article-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* home hero: the picture sits inside a figure, so size the image itself */
.hero-home > * { min-width: 0; }
.hero-visual { border: 0; background: none; border-radius: 0; }
.hero-visual img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--border); object-fit: cover; }

/* contact form */
.contact-form { display: grid; gap: 14px; max-width: 560px; margin-top: 20px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; }
.contact-form input, .contact-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); color: var(--text); width: 100%; box-sizing: border-box; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.contact-form button:disabled { opacity: .6; cursor: default; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-status { margin: 0; min-height: 1.4em; }
.contact-status.is-ok { color: #0f766e; }
.contact-status.is-error { color: #b91c1c; }
.contact-note { color: var(--muted, #5a6b7d); font-size: .9rem; }

/* contact form */
.contact-form { display: grid; gap: 14px; max-width: 560px; margin-top: 20px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; }
.contact-form input, .contact-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); color: var(--text); width: 100%; box-sizing: border-box; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.contact-form button:disabled { opacity: .6; cursor: default; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-status { margin: 0; min-height: 1.4em; }
.contact-status.is-ok { color: #0f766e; }
.contact-status.is-error { color: #b91c1c; }
.contact-note { font-size: .9rem; }

/* ===== visual refresh: image-led home, cards, article banner ===== */
:root {
  --bg: #f6f4ef;
  --panel-2: #faf8f3;
  --border: #e3ded3;
  --accent: #0f766e;
  --accent-2: #0b5e57;
  --ink-deep: #0c1f1d;
  --shadow: 0 14px 40px rgba(20, 30, 28, 0.09);
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #faf8f3 0%, #f4f1ea 100%);
  overflow-x: clip;
}
.button-primary { background: var(--accent-2); }
.button-primary:hover { background: #0a4d47; text-decoration: none; }
.site-header { background: rgba(250, 248, 243, 0.92); border-bottom-color: var(--border); }
.brand { letter-spacing: -0.01em; }
.section-heading h2 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; }
.section-heading p { margin: 0; color: var(--muted); }

/* home hero, full bleed */
body.home .main-content { padding-top: 0; }
.hero-bleed {
  position: relative; width: 100vw; margin: 0 0 40px calc(50% - 50vw);
  min-height: clamp(460px, 62vh, 620px); display: flex; align-items: flex-end; overflow: hidden; background: #1c2b29; color: #fff;
}
.hero-bleed-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-bleed-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 17, 0.15) 0%, rgba(8, 18, 17, 0.35) 40%, rgba(8, 18, 17, 0.82) 100%); }
.hero-bleed-inner { position: relative; padding: 64px 0 48px; }
.hero-kicker { margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 700; color: #bfe9e2; }
.hero-bleed h1 { margin: 0; max-width: 16ch; font-size: clamp(2.3rem, 6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.025em; color: #fff; }
.hero-lede { margin: 16px 0 0; max-width: 52ch; font-size: clamp(1.02rem, 2vw, 1.2rem); color: #eef6f4; }
.hero-bleed .button-row { margin-top: 24px; }
.button-light { background: #fff; color: var(--ink-deep); }
.button-light:hover { background: #e9f6f3; }
.button-ghost { display: inline-flex; align-items: center; border-radius: 999px; padding: 12px 18px; font-weight: 700; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.7); text-decoration: none; }
.button-ghost:hover { background: rgba(255, 255, 255, 0.14); text-decoration: none; }

/* problem photo tiles */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 18px; }
.problem-tile { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: #cfd8d5; box-shadow: var(--shadow); color: #fff; text-decoration: none; isolation: isolate; }
.problem-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; z-index: -2; }
.problem-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(5, 15, 14, 0.82) 100%); }
.problem-tile:hover img, .problem-tile:focus-visible img { transform: scale(1.06); }
.problem-tile:hover { text-decoration: none; }
.problem-tile-label { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; }
.problem-tile-label strong { font-size: 1.08rem; line-height: 1.2; }
.problem-tile-label small { color: #cfe9e5; font-size: 0.85rem; }

/* photo cards (home, category, related) */
.photo-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-top: 18px; }
.photo-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; color: var(--text); text-decoration: none; box-shadow: 0 6px 22px rgba(20, 30, 28, 0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.photo-card:hover, .photo-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.photo-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe6e3; }
.photo-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-card:hover .photo-card-media img { transform: scale(1.05); }
.photo-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.photo-card-tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.photo-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--ink-deep); }
.photo-card-text { color: var(--muted); font-size: 0.93rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.category-cards { margin-bottom: 40px; }
.related-articles .photo-card-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* tool cards with icons */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 18px; }
.tool-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; color: var(--text); text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.tool-card:hover, .tool-card:focus-visible { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.tool-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #e3f3ef; display: grid; place-items: center; }
.tool-icon svg { width: 24px; height: 24px; fill: var(--accent-2); }
.tool-card-body { display: grid; gap: 4px; }
.tool-card-title { font-weight: 700; line-height: 1.3; color: var(--ink-deep); }
.tool-card-text { color: var(--muted); font-size: 0.9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* article banner and photos */
.article-page { padding-top: 0; overflow: hidden; }
.article-banner { position: relative; margin: 0 -28px 22px; min-height: clamp(260px, 42vw, 440px); display: flex; align-items: flex-end; background: #1c2b29; color: #fff; overflow: hidden; }
.article-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-banner-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 17, 0.05) 20%, rgba(8, 18, 17, 0.8) 100%); }
.article-banner-copy { position: relative; padding: 28px; width: 100%; }
.article-banner h1 { margin: 6px 0 10px; font-size: clamp(1.7rem, 4.4vw, 2.8rem); line-height: 1.12; letter-spacing: -0.02em; color: #fff; max-width: 24ch; }
.article-banner .eyebrow, .article-banner .eyebrow a { color: #bfe9e2; }
.article-banner .article-meta, .article-banner .article-meta a { color: #e4efec; }
.article-banner-plain { min-height: 0; background: none; color: inherit; margin: 0 0 8px; padding-top: 28px; }
.article-banner-plain h1 { color: var(--ink-deep); }
.article-banner-plain .eyebrow, .article-banner-plain .eyebrow a { color: var(--accent-2); }
.article-banner-plain .article-meta, .article-banner-plain .article-meta a { color: var(--muted); }
.article-banner-plain .article-banner-copy { padding: 0; }
.article-dek { font-size: 1.12rem; color: var(--muted); max-width: 62ch; margin: 0 0 20px; }
.article-body .photo { margin: 28px 0; }
.article-body .photo img { display: block; width: 100%; height: auto; border-radius: 18px; background: #dfe6e3; }
.article-body .photo figcaption { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }
@media (min-width: 900px) { .article-body .photo { margin-left: -24px; margin-right: -24px; } }
@media (max-width: 600px) { .hero-bleed-inner { padding: 48px 0 36px; } }

/* phone refinements */
.article-banner-shade { background: linear-gradient(180deg, rgba(8, 18, 17, 0.1) 0%, rgba(8, 18, 17, 0.55) 45%, rgba(8, 18, 17, 0.88) 100%); }
@media (max-width: 560px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .problem-tile { aspect-ratio: 1 / 1.05; border-radius: 16px; }
  .problem-tile:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .problem-tile-label strong { font-size: 0.98rem; }
  .photo-card-grid { grid-template-columns: 1fr; }
}
