/* Near The Tracks Modern — header, footer and layout details. */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks > * { margin-block-start: 0; }

/* Header */
.ntt-header { z-index: 50; transition: box-shadow 0.2s ease; }
.admin-bar .ntt-header { top: 32px !important; }
@media (max-width: 782px) { .admin-bar .ntt-header { top: 46px !important; } }
.ntt-brand .wp-block-site-title { margin: 0; }
.ntt-brand .wp-block-site-tagline { margin: 0; }
.ntt-nav .wp-block-navigation-item__content { padding: 0.25rem 0; }
.ntt-nav .current-menu-item > .wp-block-navigation-item__content { text-decoration: underline; text-underline-offset: 6px; }
.ntt-header-cta .wp-block-button__link { padding: 0.65em 1.2em; font-size: 0.875rem; }
@media (max-width: 900px) {
	.ntt-header-cta { display: none !important; }
}
/* Mobile menu overlay */
.ntt-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
.ntt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1.25rem; padding-top: 3rem; }
.ntt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.5rem; font-weight: 600; }

/* Footer */
.ntt-footer { font-size: 0.95rem; }
.ntt-footer p { margin: 0 0 0.55rem; }
.ntt-footer a { text-decoration: none; }
.ntt-footer a:hover { text-decoration: underline; }
.ntt-footer-brand { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.01em; margin-bottom: 0.75rem !important; }
.ntt-footer-blurb { color: rgba(255, 255, 255, 0.7); max-width: 34ch; }
.ntt-footer-label { font-family: var(--wp--preset--font-family--heading); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 1rem !important; }
.ntt-footer-muted { color: rgba(255, 255, 255, 0.6); }
.ntt-footer-rule.wp-block-separator { border-color: rgba(255, 255, 255, 0.15) !important; color: rgba(255, 255, 255, 0.15) !important; opacity: 1; }
