/* V_2. Scoped refinements; native block content remains editable in WordPress. */
.hero .wp-block-button__link:not(.has-text-color),
.hero .wp-block-button__link:not(.has-text-color):visited {
    color: #fff;
    -webkit-text-fill-color: currentColor;
}
.hero .wp-block-button__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}
.hero .wp-block-button__link:not(.has-background) { background-color: var(--rust); }
.hero .wp-block-button__link:not(.has-background):hover { background-color: #74392b; }
.lvp-back-to-top {
    position: fixed;
    right: max(20px, env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: var(--rust);
    color: #fff;
    border: 1px solid var(--rust);
    border-radius: 50%;
    box-shadow: 0 3px 12px rgb(48 46 41 / 14%);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}
.lvp-back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.lvp-back-to-top:visited { color: #fff; }
.lvp-back-to-top:hover { background: var(--green); border-color: var(--green); color: #fff; }
.lvp-back-to-top svg { display: block; }
body:has(.wp-block-navigation__responsive-container.is-menu-open) .lvp-back-to-top {
    visibility: hidden;
    pointer-events: none;
}
@media (max-width: 700px) {
    .site-header { padding-top: 17px; padding-bottom: 17px; }
    .hero { padding-top: 26px; gap: 0; }
    .hero .hero-copy .eyebrow { margin: 0 0 10px; font-size: 8.5px; line-height: 1.5; letter-spacing: 1.2px; }
    .hero .hero-copy h1 { font-size: clamp(44px, 11vw, 56px); line-height: 1.04; letter-spacing: -1.8px; margin: 10px 0 14px; }
    .hero .hero-copy .hero-subtitle { font-size: 20px; line-height: 1.35; margin: 0 0 16px; }
    .hero .hero-copy > p:not(.eyebrow):not(.hero-subtitle) { font-size: 14px; line-height: 1.65; margin: 0 0 16px; }
    .hero .wp-block-buttons { margin-top: 0; }
    .hero .wp-block-button__link { font-size: 12px; padding: 12px 17px; }
    .hero .hero-photo.wp-block-image { margin-top: 24px; margin-bottom: 0; }
    .hero .hero-bottom { margin-top: 24px; padding-top: 14px; padding-bottom: 14px; }
    .post-grid.wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lvp-back-to-top { right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 430px) {
    .post-grid.wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
    .post-grid .card-image,
    .post-grid .card-no-image { height: 150px; min-height: 0; max-height: none; }
    .post-grid .card-image img { height: 100%; max-height: none; object-fit: contain; }
    .post-grid .card-no-image { font-size: 23px; padding: 15px; }
    .post-grid .card-copy { padding-top: 16px; }
    .post-grid .card-copy .wp-block-post-title { font-size: 21px; line-height: 1.18; letter-spacing: -.4px; }
    .post-grid .card-copy .eyebrow { font-size: 8px; letter-spacing: .4px; }
    .post-grid .card-copy .wp-block-post-excerpt { font-size: 12px; line-height: 1.6; }
    .post-grid .card-copy .wp-block-read-more { font-size: 11px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .lvp-back-to-top { transition: none; }
}
