/*
Theme Name: Berta Catalog (Child)
Template: blocksy
Description: Child theme of Blocksy. Injects the bespoke nursing-home catalog body into Blocksy's content area (Blocksy controls the shell, sidebar, width, spacing via the Customizer).
Author: Noka Studio
Version: 0.2.0
Text Domain: berta-catalog-child
*/

/* Catalog components only. No width/title/hero styles — Blocksy owns the shell,
   title, featured image, and content width (Customizer-controlled). */
:root{
  --bz-ink:#262420; --bz-muted:#6B6862; --bz-line:#E7E2DA; --bz-surface:#FFFFFF;
  --bz-teal:#0F6E56; --bz-teal-soft:#E1F0EA; --bz-cta:#B23A48; --bz-radius:12px; --bz-radius-sm:8px;
}

.nh-body{line-height:1.7}
.nh-body img{max-width:100%;height:auto;display:block}

.nh-meta{color:var(--bz-muted);font-size:15px;margin-bottom:12px}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px}
.badge{font-size:13px;background:#F1EEE8;color:#54514B;border-radius:var(--bz-radius-sm);padding:4px 10px}
.badge.ru{background:var(--bz-teal-soft);color:var(--bz-teal);font-weight:700}

.facts{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--bz-line);border:1px solid var(--bz-line);border-radius:var(--bz-radius);overflow:hidden;margin:18px 0}
.facts .fact{background:var(--bz-surface);padding:12px 14px}
.facts .fact .k{font-size:12px;color:var(--bz-muted)}
.facts .fact .v{font-size:15px;font-weight:600}

.lead{background:var(--bz-surface);border:1px solid var(--bz-line);border-radius:var(--bz-radius);padding:18px;margin:22px 0}
.lead h2{font-size:18px;font-weight:800;margin:0 0 12px}
.lead .field{margin-bottom:10px}
.lead input,.lead select{width:100%;font:inherit;padding:11px 12px;border:1px solid var(--bz-line);border-radius:var(--bz-radius-sm);background:#fff}
.lead button{width:100%;font:inherit;font-weight:800;background:var(--bz-cta);color:#fff;border:0;border-radius:var(--bz-radius-sm);padding:13px;cursor:pointer}
.lead .note{font-size:12px;color:var(--bz-muted);margin-top:8px;text-align:center}

.section{padding:18px 0;border-top:1px solid var(--bz-line)}
.section h2{font-size:19px;font-weight:800;margin:0 0 8px}
.section .body{font-size:16px}

.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0}
.gallery img{aspect-ratio:4/3;object-fit:cover;border-radius:var(--bz-radius-sm)}
.nh-map{height:280px;border-radius:var(--bz-radius);overflow:hidden;margin:8px 0;border:1px solid var(--bz-line)}
.nh-map iframe{width:100%;height:100%;border:0}

.expert{display:flex;gap:12px;align-items:center;background:var(--bz-teal-soft);border-radius:var(--bz-radius);padding:14px;margin:22px 0}
.expert .av{width:48px;height:48px;border-radius:50%;background:#fff;flex:0 0 auto}
.expert .who{font-weight:800}
.expert .sub{font-size:13px;color:var(--bz-muted)}

@media(min-width:760px){ .gallery{grid-template-columns:repeat(4,1fr)} }

/* Rich taxonomy landing pages */
.nh-intro{font-size:16px;line-height:1.7;margin:0 0 18px}
.nh-faq{margin:24px 0;border-top:1px solid var(--bz-line);padding-top:16px}
.nh-faq h2{font-size:19px;font-weight:800;margin:0 0 10px}
.nh-faq-item{border-bottom:1px solid var(--bz-line);padding:10px 0}
.nh-faq-item summary{font-weight:700;cursor:pointer;list-style:none}
.nh-faq-item summary::-webkit-details-marker{display:none}
.nh-faq-item>div{color:var(--bz-muted);padding-top:6px}
