/* Hostna Site — WordPress layer.
   site.css is the builder's design system, generated. This file carries only
   what differs because the markup is core blocks: an element that changed
   (span → p, strong → p, figure > img), WordPress' own wrappers, and links a
   customer adds by hand. Keep it small; a rule that could live in
   RenderTrait::css() belongs there. */

/* ── page frame ─────────────────────────────────────────────────────── */
.wp-site-blocks{padding:0}
.wp-block-template-part:has(> .hb-header){position:sticky;top:0;z-index:20}
.hb-section{margin-block:0}
.hb-section p:last-child{margin-bottom:0}

/* the kicker is a paragraph here, and ".hb-hero-copy p" would size it as body copy */
.hb-hero-copy p.hb-kicker{font-size:.74rem;max-width:none}

/* links a customer types into a paragraph must look like links */
:where(.wp-block-post-content) :where(p,li) a{color:var(--hb-primary);text-decoration:underline}

/* ── buttons (core/button carries the look of .hb-btn) ──────────────── */
.wp-block-buttons.hb-actions,.wp-block-buttons.hb-price-cta,.wp-block-buttons.hb-header-cta{display:flex;gap:14px;flex-wrap:wrap}
.wp-block-button__link{display:inline-flex;align-items:center;gap:.5em;background:var(--hb-primary);color:#fff;padding:14px 26px;border-radius:999px;font-weight:600;font-family:var(--hb-fb);border:0;cursor:pointer;text-decoration:none;transition:transform .2s,box-shadow .2s}
.wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 16px 30px -12px var(--hb-primary);color:#fff}
.wp-block-button.is-style-outline > .wp-block-button__link{background:transparent;color:var(--hb-ink);box-shadow:none;border:1px solid var(--hb-line);padding:14px 26px}
.wp-block-button.is-style-outline > .wp-block-button__link:hover{box-shadow:none;background:var(--hb-bg-alt);color:var(--hb-ink)}
.hb-hero-over .wp-block-button.is-style-outline > .wp-block-button__link{color:#fff;border-color:rgba(255,255,255,.4)}
.hb-header-cta{margin-left:8px}
.hb-header-cta .wp-block-button__link{padding:10px 20px;font-size:.92rem}
.hb-cta-band .wp-block-button__link{background:#fff;color:var(--hb-primary)}
.hb-cta-band .wp-block-buttons{margin-top:0}
.hb-price .wp-block-buttons{margin-top:auto;justify-content:center}

/* ── header: site title + navigation block ──────────────────────────── */
.hb-brand{margin:0;color:var(--hb-ink)}
.hb-brand a{color:inherit;text-decoration:none}
.wp-block-navigation.hb-nav{margin-left:auto;font-size:.95rem;font-weight:500}
.wp-block-navigation.hb-nav .wp-block-navigation__container{gap:22px}
.hb-nav .wp-block-navigation-item__content{color:var(--hb-muted)}
.hb-nav .wp-block-navigation-item__content:hover,.hb-nav .current-menu-item > .wp-block-navigation-item__content{color:var(--hb-ink)}
@media(max-width:900px){.wp-block-navigation.hb-nav{display:flex}}

/* ── photographs: the class sits on the figure, not the img ─────────── */
.wp-block-image.hb-hero-fig,.wp-block-image.hb-about-fig{margin:0}
.wp-block-image.hb-hero-fig img,.wp-block-image.hb-about-fig img,.wp-block-image.hb-tile-photo img{width:100%;height:100%;object-fit:cover;border-radius:var(--hb-radius)}
.wp-block-image.hb-tile-photo img{border-radius:0}
.hb-masonry .wp-block-image.hb-tile-photo img{height:auto}
.wp-block-image.hb-hero-bgimg{position:absolute;inset:0;margin:0;border-radius:0}
.wp-block-image.hb-hero-bgimg img{width:100%;height:100%;object-fit:cover;border-radius:0}
.hb-tile-photo figcaption{position:absolute;left:16px;bottom:14px;margin:0;font-size:.9rem;color:#fff;z-index:2;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.hb-tile-cap{position:relative;z-index:2;margin:0;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.5)}

/* the icon is a paragraph here; ".hb-list .hb-feature p" would send it to column 2 */
.hb-list .hb-feature .hb-ico{grid-column:1;grid-row:1 / span 2;margin-bottom:0}
.hb-list .hb-feature h3{grid-column:2}

/* phone header: the menu button carries the navigation, the hero carries the call to action */
.hb-brand{min-width:0}
.hb-header-cta .wp-block-button__link{white-space:nowrap}
@media(max-width:560px){.hb-header-cta{display:none}}

/* ── elements that became paragraphs ────────────────────────────────── */
.hb-stat-num{display:block;margin:0;font-family:var(--hb-fh);font-size:2.6rem;font-weight:800;line-height:1.2;background:linear-gradient(120deg,var(--hb-primary),var(--hb-accent));-webkit-background-clip:text;background-clip:text;color:transparent}
.hb-stat-label{margin:0;color:var(--hb-muted);font-size:.95rem}
.hb-service .hb-tag{margin-bottom:0}
.hb-ticks strong{color:var(--hb-ink)}
.hb-crow-k{margin:0;font-size:.8rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--hb-muted)}
.hb-crow-v{margin:0;color:var(--hb-ink);font-weight:500}
.hb-crow-v a{color:inherit;text-decoration:none}
.hb-step-n{margin:0;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-family:var(--hb-fh);font-weight:800;color:#fff;background:linear-gradient(135deg,var(--hb-primary),var(--hb-accent))}
.hb-logo{margin:0}
.hb-price-amt{color:var(--hb-ink)}
.hb-hero-over .hb-hero-copy p{color:#fff}

/* ── quotes: core/quote instead of figure > blockquote ──────────────── */
.wp-block-quote.hb-quote{margin:0;border:1px solid var(--hb-line);background:var(--hb-card);border-radius:var(--hb-radius);padding:28px}
.hb-quote p{margin:0 0 16px;font-size:1.06rem;color:var(--hb-ink)}
.hb-quote cite{color:var(--hb-primary);font-weight:600;font-size:.9rem;font-style:normal}
.wp-block-quote.hb-quote-big{max-width:820px;margin:0 auto;text-align:center;padding:40px}
.hb-quote-big p{font-family:var(--hb-fh);font-size:1.5rem;line-height:1.35}

/* ── footer ─────────────────────────────────────────────────────────── */
.hb-fbrand{margin:0 0 .4em;color:var(--hb-ink)}
.hb-flink{margin:0 0 9px;font-size:.95rem;color:var(--hb-muted)}
.hb-flink a{color:inherit;text-decoration:none}
.hb-flink a:hover{color:var(--hb-ink)}
.hb-footer-legal p{margin:0;font-size:.85rem}

/* ── contact form (hostna/contact-form) ─────────────────────────────── */
.hb-form{display:grid;gap:14px;margin-top:22px;max-width:520px}
.hb-field{display:grid;gap:6px;font-size:.85rem;font-weight:600;color:var(--hb-ink)}
.hb-field input,.hb-field textarea{width:100%;font:inherit;font-weight:400;color:var(--hb-ink);background:var(--hb-card);border:1px solid var(--hb-line);border-radius:12px;padding:12px 14px}
.hb-field input:focus,.hb-field textarea:focus{outline:2px solid color-mix(in srgb,var(--hb-primary) 55%,transparent);outline-offset:1px;border-color:var(--hb-primary)}
.hb-field textarea{resize:vertical;min-height:120px}
.hb-form-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.hb-form-send{margin:0}
.hb-form-note{margin:0;padding:12px 14px;border-radius:12px;font-weight:500;color:var(--hb-ink);background:var(--hb-bg-alt);border:1px solid var(--hb-line)}
.hb-form-note.is-ok{border-color:var(--hb-accent)}
.hb-form-note.is-bad{border-color:#d63638}
.hb-form-legal{margin:0;font-size:.82rem;color:var(--hb-muted)}
.hb-footer-legal a{color:inherit;text-decoration:none}
.hb-footer-legal a:hover{color:var(--hb-ink)}
.hb-legal .hb-container{max-width:820px}
