/* Layout uses native blocks; these classes preserve Noav's visual identity. */
:root { --noav-cream:#faf7f0; --noav-brown:#523f29; --noav-ink:#111827; }
html { scroll-padding-top: 8rem; }
body { margin:0; }
* { box-sizing:border-box; }
img { max-width:100%; height:auto; }
.wp-site-blocks { padding:0; }
.wp-site-blocks > * { margin-block:0; }
.wp-block-post-content > :first-child { margin-block-start:0; }
.wp-block-post-content > :last-child { margin-block-end:0; }
a { text-underline-offset:.18em; }
a:focus-visible,button:focus-visible { outline:2px solid var(--noav-brown); outline-offset:5px; }
.noav-header { min-height:238px; width:100%; padding:32px 48px; gap:40px; background:#fff; color:var(--noav-ink); }
.noav-logo { flex-shrink:0; }
.noav-logo a { display:block; line-height:0; }
.noav-logo img { display:block; height:174px; width:auto; max-width:130px; object-fit:contain; }
.noav-header-links { flex:1; gap:36px; }
.noav-navigation { font-size:18px; }
.noav-navigation .wp-block-navigation__container { gap:24px; }
.noav-navigation .wp-block-navigation-item__content { padding-block:6px; text-decoration:none; }
.noav-navigation .current-menu-item > .wp-block-navigation-item__content { text-decoration:underline; text-underline-offset:4px; }
.noav-social { margin:0; flex-shrink:0; gap:16px; }
.noav-social .wp-social-link { margin:0; }
.noav-social .wp-social-link a { padding:6px; }
.noav-social .wp-social-link svg { width:20px; height:20px; }
.noav-main { margin:0; }
.noav-footer { min-height:64px; padding:32px 24px; }
.noav-landing,.noav-page-section { padding:clamp(3.5rem,6vw,7rem) 24px clamp(4.5rem,8vw,8.5rem); }
.noav-landing { background:var(--noav-cream); }
.noav-landing > .wp-block-columns { max-width:1088px; margin:0 auto; gap:clamp(3rem,6vw,5.5rem); }
.noav-unit-choice { text-align:center; min-width:0; }
.noav-unit-choice h1,.noav-unit-choice h2 { color:var(--noav-brown); margin-top:0; margin-bottom:0; }
.noav-unit-choice h1 a,.noav-unit-choice h2 a { color:inherit; text-decoration:none; }
.noav-unit-choice .noav-unit-label { font-size:12px; letter-spacing:.16em; color:var(--noav-brown); font-weight:600; margin-top:.35rem; margin-bottom:0; }
.noav-unit-choice .noav-unit-location { color:var(--noav-ink); opacity:.78; margin-top:.4rem; margin-bottom:0; }
.noav-unit-choice .wp-block-separator { width:150px; max-width:150px; margin:1.5rem auto 0; border-color:var(--noav-brown); opacity:.4; }
.noav-unit-choice .wp-block-image { margin:2.25rem 0 0; }
.noav-unit-choice .wp-block-image img { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:32px; }
.noav-page-section { overflow-wrap:anywhere; }
.noav-page-section > .wp-block-group,.noav-page-section > .wp-block-columns { max-width:1088px; margin-inline:auto; }
.noav-page-section .wp-block-columns { gap:clamp(2rem,5vw,4rem); }
.noav-page-section h1,.noav-page-section h2 { margin-top:0; }
.noav-page-section p { margin-block:0 1.25rem; }
.noav-page-section p:last-child { margin-bottom:0; }
.noav-page-section .wp-block-image { margin:0; }
.noav-image img { width:100%; border-radius:24px; }
.noav-gallery { max-width:1280px; margin-inline:auto; }
.noav-gallery .wp-block-image img { border-radius:20px; }
.noav-gallery figcaption { font-size:14px; color:var(--noav-ink); }
.noav-contact-grid { max-width:1088px; margin-inline:auto; gap:clamp(3rem,6vw,5.5rem); }
.noav-contact-grid > .wp-block-column { text-align:center; }
.noav-contact-grid a { overflow-wrap:anywhere; }
.noav-contact-grid strong { font-weight:700; }
.noav-contact-grid p { line-height:1.5; }
.noav-unit-hero { min-height:calc(100svh - 238px); padding:5rem 24px; }
.noav-unit-hero .wp-block-cover__inner-container { max-width:1024px; margin-inline:auto; }
.noav-unit-hero .wp-block-buttons { justify-content:center; }
.noav-unit-hero h1,.noav-unit-hero h2 { color:#111827; }
@media (max-width:1100px) and (min-width:782px) {
 .noav-header { gap:24px; padding-inline:32px; }
 .noav-header-links { gap:24px; }
 .noav-navigation .wp-block-navigation__container { gap:16px; }
 .noav-social { gap:10px; }
}
@media (max-width:1023px) {
 .noav-header { min-height:104px; padding:20px 24px; gap:20px; }
 .noav-logo img { height:64px; max-width:80px; }
 .noav-header-links { gap:20px; }
 .noav-header .noav-social { display:none; }
 .noav-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content { display:none; }
 .noav-navigation .wp-block-navigation__responsive-container-open { display:flex; }
 .noav-navigation .wp-block-navigation__responsive-container.is-menu-open { padding:28px 24px; }
 .noav-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top:48px; }
 .noav-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap:20px; align-items:flex-start; }
 .noav-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size:20px; }
 .noav-unit-hero { min-height:calc(100svh - 104px); padding:4rem 24px; }
}
@media (max-width:781px) {
 .noav-landing > .wp-block-columns { gap:3.5rem; }
 .noav-unit-choice .wp-block-image img { border-radius:24px; }
 .noav-page-section .wp-block-columns { gap:2.5rem; }
 .noav-page-section { padding-inline:24px; }
 .noav-gallery { gap:12px; }
 .noav-gallery .wp-block-image img { border-radius:16px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Keep the logo and contextual menu visible, as in the approved local design. */
.wp-site-blocks > header.wp-block-template-part { position:sticky; top:0; z-index:100; background:#fff; }
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top:32px; }
@media (min-width:601px) and (max-width:782px) {
 body.admin-bar .wp-site-blocks > header.wp-block-template-part { top:46px; }
}
@media (max-width:600px) {
 body.admin-bar .wp-site-blocks > header.wp-block-template-part { top:0; }
}
/* Reserve the original space so resizing never moves the page or reverses scroll direction. */
.wp-site-blocks > header.noav-scroll-header { height:238px; background:transparent; pointer-events:none; }
.noav-scroll-header > .noav-header { pointer-events:auto; transition:min-height .22s ease,padding .22s ease; }
.noav-scroll-header .noav-logo img { transition:height .22s ease; }
.noav-scroll-header.is-compact > .noav-header { min-height:112px; padding-block:16px; }
.noav-scroll-header.is-compact .noav-logo img { height:80px; }
@media (max-width:1023px) {
 .wp-site-blocks > header.noav-scroll-header { height:104px; }
 .noav-scroll-header.is-compact > .noav-header { min-height:72px; padding-block:14px; }
 .noav-scroll-header.is-compact .noav-logo img { height:44px; }
}
@media (prefers-reduced-motion:reduce) {
 .noav-scroll-header > .noav-header,.noav-scroll-header .noav-logo img { transition:none; }
}
.noav-unit-divider { position:relative; border-width:1px; }
.noav-unit-divider::after { content:"⌂"; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); padding:0 12px; background:var(--noav-cream); color:var(--noav-brown); font:20px/1 sans-serif; }
.noav-gallery-section .wp-block-gallery.columns-1 { max-width:672px; }
@media (max-width:1023px) {
 .noav-unit-columns.wp-block-columns { flex-wrap:wrap!important; }
 .noav-unit-columns.wp-block-columns > .wp-block-column { flex-basis:100%!important; }
 .noav-gallery.wp-block-gallery.has-nested-images > figure.wp-block-image { width:100%!important; flex-basis:100%!important; }
}

/* Content-page spacing follows the saved Noav design rather than landing-page spacing. */
.noav-page-section:not(.noav-contact):not(.noav-unit-hero) { padding:32px 20px; }
.noav-page-section:not(.noav-contact) > .wp-block-group,
.noav-page-section:not(.noav-contact) > .wp-block-columns,
.noav-news > .wp-block-image,
.noav-page-section > .wp-block-gallery { max-width:100%; margin-inline:auto; }
.noav-page-section .noav-content-columns { align-items:flex-start; gap:40px; }
.noav-copy { font-size:16px; line-height:24px; }
.noav-copy > .wp-block-heading { color:var(--noav-ink); }
/* Source content titles were H3 visually; promotion to H1 preserves that typography. */
.noav-copy > h1.wp-block-heading { font-size:24px; line-height:32px; margin:0 0 20px; padding:0; }
.noav-copy > p { margin-top:0; margin-bottom:20px; }
.noav-copy > p:last-child { margin-bottom:0; }
.noav-news > h1.wp-block-heading,
.noav-gallery-section > h1.wp-block-heading,
.noav-contact-unit > h2.wp-block-heading { font-size:30px; line-height:36px; }
.noav-news-image { width:100%; }
.noav-news-image img { display:block; width:100%; height:auto; object-fit:contain; }
.noav-news-text { font-size:16px; line-height:24px; }
.noav-news-text > p { margin:0 0 20px; }
.noav-contact { padding:clamp(3.5rem,6vw,7rem) 24px clamp(4.5rem,8vw,8.5rem); background:var(--noav-cream); }
.noav-contact > .noav-contact-columns { max-width:1088px; margin-inline:auto; gap:clamp(3rem,6vw,5.5rem); }
.noav-contact-unit { text-align:center; font-size:16px; line-height:24px; }
.noav-contact-unit > p { margin-top:0; margin-bottom:20px; }
.noav-contact-unit > p:last-child { margin-bottom:0; }
.noav-unit-cover { padding:0 24px; }
/* The Cover block owns the hero height. Its inner content must not add a second viewport. */
.noav-unit-cover .noav-unit-hero { min-height:0; width:100%; max-width:1024px; margin:0 auto; padding:0; }
.noav-unit-cover .wp-block-cover__inner-container { width:100%; }
.noav-unit-hero > h1.wp-block-heading { font-size:30px; line-height:36px; margin-top:0; }
.noav-unit-hero > p { font-size:16px; line-height:24px; }
@media (min-width:640px) {
 .noav-page-section:not(.noav-contact) > .wp-block-group,
 .noav-page-section:not(.noav-contact) > .wp-block-columns,
 .noav-news > .wp-block-image,
 .noav-page-section > .wp-block-gallery { max-width:600px; }
}
@media (min-width:768px) {
 .noav-page-section:not(.noav-contact):not(.noav-unit-hero) { padding-inline:24px; }
 .noav-page-section:not(.noav-contact) > .wp-block-group,
 .noav-page-section:not(.noav-contact) > .wp-block-columns,
 .noav-news > .wp-block-image,
 .noav-page-section > .wp-block-gallery { max-width:720px; }
 .noav-copy > h1.wp-block-heading { font-size:28px; line-height:36px; padding-bottom:8px; }
 .noav-news > h1.wp-block-heading,
 .noav-gallery-section > h1.wp-block-heading,
 .noav-contact-unit > h2.wp-block-heading,
 .noav-unit-hero > h1.wp-block-heading { font-size:35px; line-height:42px; }
}
@media (min-width:1024px) {
 .noav-page-section:not(.noav-contact):not(.noav-unit-hero) { padding-block:48px; }
 .noav-page-section:not(.noav-contact) > .wp-block-group,
 .noav-page-section:not(.noav-contact) > .wp-block-columns,
 .noav-news > .wp-block-image,
 .noav-page-section > .wp-block-gallery { max-width:976px; }
 .noav-page-section .noav-content-columns { gap:80px; }
 .noav-news,.noav-gallery-section { padding-block:80px!important; }
}
@media (min-width:1280px) {
 .noav-page-section:not(.noav-contact) > .wp-block-group,
 .noav-page-section:not(.noav-contact) > .wp-block-columns,
 .noav-news > .wp-block-image,
 .noav-page-section > .wp-block-gallery { max-width:1232px; }
 .noav-copy,.noav-news-text,.noav-contact-unit { font-size:18px; line-height:28px; }
 .noav-copy > h1.wp-block-heading { font-size:32px; line-height:40px; margin-bottom:28px; }
 .noav-copy > p,.noav-news-text > p { margin-bottom:28px; }
 .noav-copy > p:last-child,.noav-news-text > p:last-child { margin-bottom:0; }
 .noav-news > h1.wp-block-heading,
 .noav-gallery-section > h1.wp-block-heading,
 .noav-contact-unit > h2.wp-block-heading,
 .noav-unit-hero > h1.wp-block-heading { font-size:48px; line-height:56px; }
 .noav-unit-hero > p { font-size:18px; line-height:28px; }
}
@media (min-width:1536px) {
 .noav-page-section:not(.noav-contact) > .wp-block-group,
 .noav-page-section:not(.noav-contact) > .wp-block-columns,
 .noav-news > .wp-block-image,
 .noav-page-section > .wp-block-gallery { max-width:1488px; }
}
@media (max-width:1023px) {
 .noav-content-columns.wp-block-columns,
 .noav-contact-columns.wp-block-columns { flex-wrap:wrap!important; }
 .noav-content-columns.wp-block-columns > .wp-block-column,
 .noav-contact-columns.wp-block-columns > .wp-block-column { flex-basis:100%!important; }
}
