/* Trailhead — global styles beyond theme.json.
   Identity: a lake depth-chart. Cool mist paper, deep lake blue, pine, and one trail-blaze yellow
   reserved for the things you can do (buttons, active markers). One typeface, Overpass, cut from
   highway-sign lettering, set heavy and tight for headlines. */

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga"; }
::selection { background: var(--wp--preset--color--blaze); color: var(--wp--preset--color--contrast); }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
:focus-visible { outline: 3px solid var(--wp--preset--color--blaze); outline-offset: 3px; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Header */
header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
.th-header { background: rgba(238, 243, 241, .88); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid rgba(15, 42, 51, .1); }
.th-header .wp-block-site-logo img { border-radius: 10px; }
.th-header .wp-block-navigation a { text-decoration: none; }
.th-header .wp-block-navigation .wp-block-navigation-item__content { padding: .35rem 0; background-image: linear-gradient(var(--wp--preset--color--blaze), var(--wp--preset--color--blaze)); background-size: 0 3px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s ease; }
.th-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.th-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { background-size: 100% 3px; }
.th-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; background: var(--wp--preset--color--primary-dark) !important; color: #fff !important; }
.th-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; }
.th-btn-small .wp-block-button__link { padding: .6em 1.1em; font-size: .92rem; }
@media (max-width: 600px) { .th-header .th-btn-small { display: none; } }

/* Lead paragraph style */
.is-style-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.5; color: var(--wp--preset--color--muted); }

/* Hero */
.th-hero { overflow: hidden; }
.th-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(6, 22, 28, .66) 0%, rgba(6, 22, 28, .3) 45%, rgba(6, 22, 28, 0) 70%) !important; opacity: 1 !important; }
.th-hero .wp-block-cover__image-background { object-position: 60% 70%; }
.th-hero h1 { color: #fff; font-weight: 900; line-height: .9; letter-spacing: -.045em; max-width: 9.5ch; margin: 0; }
.th-hero p { color: rgba(255, 255, 255, .86); max-width: 40ch; }
.th-hero .wp-block-cover__inner-container > .wp-block-group > * { animation: th-rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.th-hero .wp-block-cover__inner-container > .wp-block-group > *:nth-child(2) { animation-delay: .12s; }
.th-hero .wp-block-cover__inner-container > .wp-block-group > *:nth-child(3) { animation-delay: .24s; }
@keyframes th-rise { from { opacity: 0; transform: translateY(22px); } }
@media (max-width: 781px) { .th-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(6, 22, 28, .5), rgba(6, 22, 28, .78)) !important; } }

/* Buttons */
.wp-block-button__link { transition: background-color .2s, transform .2s, box-shadow .2s; box-shadow: 0 2px 0 rgba(15, 42, 51, .25); }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(15, 42, 51, .2); }
.wp-block-button__link:active { transform: translateY(1px); box-shadow: none; }
.wp-block-button.is-style-light .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--contrast); box-shadow: inset 0 0 0 2px currentColor; border: 0; }

/* Contour texture for dark bands */
.th-contours { position: relative; isolation: isolate; }
.th-contours::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../images/contours.svg) center / cover; opacity: .08; pointer-events: none; }

/* Inner page header */
.th-pagehead { color: #fff; }
.th-pagehead .wp-block-post-title { color: #fff; font-size: var(--wp--preset--font-size--display); font-weight: 900; letter-spacing: -.045em; line-height: .92; }
.th-pagehead .wp-block-post-excerpt { margin-top: 1.2rem; }
.th-pagehead .wp-block-post-excerpt__excerpt { color: rgba(255, 255, 255, .82); font-size: var(--wp--preset--font-size--large); max-width: 44ch; margin: 0; }
.th-pagehead .wp-block-post-excerpt__more-text { display: none; }

/* Booking section */
.th-booking .rvpr-map { box-shadow: 0 50px 90px -50px rgba(10, 61, 76, .7), 0 0 0 1px rgba(15, 42, 51, .06); border-radius: 18px; }
.th-booking .rvpr-head:empty { display: none; }
.th-booking .rvpr-search { flex: 1 1 auto; }
.th-booking .rvpr-search .rvpr-f { flex: 1 1 auto; }
.rvpr-map { --rvpr-ink: #0f2a33; --rvpr-muted: #4d6670; --rvpr-paper: #eef3f1; }
.rvpr-map .rvpr-btn, .rvpr-lookup .rvpr-btn { background: var(--wp--preset--color--blaze) !important; color: var(--wp--preset--color--contrast) !important; border-radius: 6px !important; }
.th-plugin-missing { border: 2px dashed var(--wp--preset--color--line); border-radius: 12px; padding: 2rem; text-align: center; background: #fff; }

/* Booking lookup as a site permit hang-tag */
.rvpr-lookup { position: relative; max-width: 440px; margin-inline: auto; padding: 4.2rem 1.6rem 1.8rem !important; border-radius: 18px 18px 14px 14px !important; transform: rotate(-1.2deg); box-shadow: 0 40px 60px -35px rgba(15, 42, 51, .55), 0 0 0 1px rgba(15, 42, 51, .06) !important;
  -webkit-mask: radial-gradient(circle 11px at 50% 26px, transparent 10px, #000 11px); mask: radial-gradient(circle 11px at 50% 26px, transparent 10px, #000 11px); }
.rvpr-lookup::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52px; background: var(--wp--preset--color--blaze); }
.rvpr-lookup h3 { font-size: 1.5rem !important; letter-spacing: -.02em; }
.rvpr-lookup .rvpr-ref strong { font-family: inherit !important; font-weight: 900; }

/* FAQ */
.wp-block-details { border-bottom: 2px solid var(--wp--preset--color--line); }
.wp-block-details summary { font-weight: 800; font-size: 1.15rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .2rem 0; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 6px; background: var(--wp--preset--color--contrast) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s, background-color .25s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); background-color: var(--wp--preset--color--primary); }
.wp-block-details > :not(summary) { color: var(--wp--preset--color--muted); max-width: 60ch; }

/* Check lists */
.is-style-checks { list-style: none; padding-left: 0 !important; }
.is-style-checks li { position: relative; padding-left: 1.8rem; margin: .45rem 0; }
.is-style-checks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.1rem; height: 1.1rem; border-radius: 4px; background: var(--wp--preset--color--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 72% no-repeat; }

/* Park-sign plaques (policies) */
.th-plaques { counter-reset: none; }
.th-plaque { background: var(--wp--preset--color--pine); color: #fff; border-radius: 10px; padding: 1.3rem 1.4rem !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2), inset 0 0 0 7px var(--wp--preset--color--pine), inset 0 0 0 8px rgba(255, 255, 255, .3); }
.th-plaque h3 { color: #fff; margin: 0 0 .35rem; font-size: 1.25rem; }
.th-plaque p { color: rgba(255, 255, 255, .82); margin: 0; font-size: .95rem; }
.th-plaque:nth-child(3n+2) { background: var(--wp--preset--color--primary-dark); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2), inset 0 0 0 7px var(--wp--preset--color--primary-dark), inset 0 0 0 8px rgba(255, 255, 255, .3); }

/* Tables */
.wp-block-table table { border-collapse: collapse; }
.wp-block-table thead { border-bottom: 3px solid var(--wp--preset--color--contrast); }
.wp-block-table th { text-align: left; font-weight: 800; }
.wp-block-table td, .wp-block-table th { border: 0; border-bottom: 1px solid var(--wp--preset--color--line); padding: .7rem .6rem; }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: rgba(255, 255, 255, .6); }

/* Dark bands, CTA, footer */
.th-dark, .th-dark h2, .th-dark h3, .th-dark h4 { color: #fff; }
.th-dark p { color: rgba(255, 255, 255, .8); }
.th-dark a { color: #fff; }
.th-cta h2 { font-weight: 900; letter-spacing: -.045em; line-height: .92; }
.th-footer a { text-decoration: none; }
.th-footer a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--blaze); text-decoration-thickness: 2px; }
.th-footer .th-bigname { font-size: clamp(2.6rem, 9vw, 8.5rem); font-weight: 900; letter-spacing: -.055em; line-height: .85; color: rgba(255, 255, 255, .1); margin: 0; white-space: nowrap; overflow: hidden; }
.th-footer-links { list-style: none; padding-left: 0 !important; }
.th-footer-links li { margin: .4rem 0; }

/* Blog */
.th-post-card .wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.th-post-card .wp-block-post-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.015em; }
.th-post-card .wp-block-post-title a { text-decoration: none; }
.th-post-card .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--blaze); text-decoration-thickness: 3px; }
.th-post-card .wp-block-post-excerpt { color: var(--wp--preset--color--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .th-hero .wp-block-cover__inner-container > .wp-block-group > * { animation: none; }
  .wp-block-button__link, .wp-block-button__link:hover { transform: none; transition: none; }
}
