/* ==========================================================================
   SUP AVL - site styles
   Colors, fonts and base sizes come from theme.json. This file adds layout
   details that recreate the original design (header, waves, cards, etc.).
   ========================================================================== */

:root {
	--sup-teal: var(--wp--preset--color--teal, #1F7F8F);
	--sup-teal-dark: var(--wp--preset--color--teal-dark, #17646F);
	/* Lighter teal for text on dark backgrounds (footer, dark header), where the darker teal would be hard to read */
	--sup-teal-light: var(--wp--preset--color--teal-light, #2997AA);
	--sup-navy: var(--wp--preset--color--navy, #0F172A);
	--sup-slate: var(--wp--preset--color--slate, #454F5E);
	--sup-aqua: var(--wp--preset--color--aqua, #E9F8F9);
	--sup-radius: 10px;
	--sup-shadow: 0 6px 24px rgba(15, 23, 42, .08);
	--sup-section-pad: clamp(56px, 7vw, 112px);
	--sup-admin-bar: var(--wp-admin--admin-bar--height, 0px);
	--sup-wave-h: clamp(28px, 4vw, 60px);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { height: auto; max-width: 100%; }
/* Old plugin CSS animates every image; images should snap to size when the window changes. */
.wp-site-blocks img { transition: none !important; }

/* Full-width page sections sit flush against each other */
.wp-block-post-content.is-layout-constrained > .alignfull,
.sup-main > .wp-block-post-content { margin-top: 0; margin-bottom: 0; }
.sup-main { margin-top: 0; }
.sup-main--padded { padding-top: var(--sup-section-pad); padding-bottom: var(--sup-section-pad); background: #fff; }
.sup-footer-wrap { margin-top: 0 !important; }

/* Generic section spacing */
.sup-section { padding-top: var(--sup-section-pad); padding-bottom: var(--sup-section-pad); }
.sup-section--tight { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.sup-section > :first-child { margin-top: 0; }
.has-white-background-color.sup-section + .has-white-background-color.sup-section { padding-top: 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.sup-header { position: relative; z-index: 50; width: 100%; margin: 0 !important; transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease; }
.sup-header.is-overlay { position: absolute; top: var(--sup-admin-bar); left: 0; right: 0; }
.sup-header.is-solid { background: #fff; }
.sup-header__bar { padding: 22px clamp(20px, 3vw, 40px); gap: 24px; max-width: 100%; }
.sup-logo { margin: 0 !important; flex-shrink: 0; }
.sup-logo img { width: 200px !important; display: block; transition: width .3s ease; }
.is-overlay .sup-logo img { filter: brightness(0) invert(1); }
.sup-header__right { gap: 28px; }

.sup-nav { font-size: 16px; font-weight: 400; gap: 6px 28px; }
.sup-nav .wp-block-navigation-item__content { color: var(--sup-navy); padding: 4px 0; }
.is-overlay .sup-nav .wp-block-navigation-item__content { color: #F5F5F5; }
.sup-nav .wp-block-navigation-item__content:hover,
.sup-nav .wp-block-navigation-item__content:focus { color: var(--sup-teal) !important; text-decoration: none; }
.sup-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--sup-teal); }
.is-overlay .sup-nav .wp-block-navigation-item__content:hover,
.is-overlay .sup-nav .wp-block-navigation-item__content:focus,
.is-overlay .sup-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--sup-teal-light) !important; }
.sup-nav .nav-mobile-only { display: none; }

.sup-header__cta { margin: 0 !important; flex-shrink: 0; }
.sup-header__cta .wp-block-button__link { font-size: 14px; padding: 14px 32px; white-space: nowrap; }

/* Sticky header: hides when scrolling down, slides back in when scrolling up */
.sup-header.is-sticky { position: fixed; top: var(--sup-admin-bar); left: 0; right: 0; transform: translateY(-110%); box-shadow: 0 2px 16px rgba(15, 23, 42, .12); }
.sup-header.is-sticky.is-visible { transform: none; } /* "none", not translateY(0): any transform would trap the full-screen mobile menu inside the header bar */
.sup-header.is-overlay.is-sticky { background: rgba(15, 23, 42, .96); }
.sup-header.is-solid.is-sticky { background: #fff; }
.sup-header.is-sticky .sup-header__bar { padding-top: 12px; padding-bottom: 12px; }
.sup-header.is-sticky .sup-logo img { width: 140px !important; }

/* Mobile menu: switches below 1180px so the full menu never wraps onto two lines */
.sup-nav .wp-block-navigation__responsive-container-open { background: var(--sup-teal); color: #fff; border-radius: 4px; padding: 8px; }
.sup-nav .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
.sup-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--sup-navy) !important; color: #fff !important; padding: 32px 28px; }
.sup-nav .is-menu-open .wp-block-navigation-item__content { color: #fff !important; font-size: 20px; padding: 6px 0; }
.sup-nav .is-menu-open .wp-block-navigation__responsive-container-content { gap: 10px; }
.sup-nav .is-menu-open .nav-mobile-only { display: block; margin-top: 12px; }
.sup-nav .is-menu-open .nav-mobile-only .wp-block-navigation-item__content { background: var(--sup-teal); border-radius: 30px; padding: 12px 32px; font-family: var(--wp--preset--font-family--button); font-weight: 600; text-transform: uppercase; font-size: 15px; }
.sup-nav .wp-block-navigation__responsive-container-close { color: #fff; }

@media (min-width: 1181px) and (max-width: 1320px) {
	.sup-logo img { width: 160px !important; }
	.sup-nav { gap: 6px 20px; font-size: 15px; }
	.sup-header__right { gap: 20px; }
	.sup-header__cta .wp-block-button__link { padding: 12px 24px; }
}
@media (max-width: 1180px) {
	.sup-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.sup-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.sup-header__cta { display: none !important; }
	.sup-logo img { width: 110px !important; }
	.sup-header__bar { padding-top: 14px; padding-bottom: 14px; }
	.sup-header.is-sticky .sup-logo img { width: 100px !important; }
}

/* --------------------------------------------------------------------------
   Hero (cover blocks)
   -------------------------------------------------------------------------- */
.sup-hero { padding-top: 160px !important; padding-bottom: 90px !important; }
.sup-hero .wp-block-cover__inner-container { max-width: 1100px; }
.sup-hero h1 { color: #fff; margin-bottom: 0; text-wrap: balance; }
.sup-hero--home h1 { font-size: var(--wp--preset--font-size--xx-large); letter-spacing: .01em; }
.sup-hero__sub { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: var(--wp--preset--font-size--x-large); line-height: 1.3; color: #fff; margin-top: 0; text-wrap: balance; }
.sup-hero .wp-block-buttons { margin-top: 32px; }
.wp-block-separator.is-style-hero-line { width: 50px; border: 0; border-top: 3px solid var(--sup-teal) !important; opacity: 1; margin: 22px auto !important; background: none; }
.sup-hero .wp-block-separator.is-style-hero-line { border-top-color: rgba(255, 255, 255, .85) !important; }

/* Tall headers keep their original 920px height, but never taller than most of the screen,
   so the page title and the start of the page stay in view on laptops. */
@media (min-width: 782px) {
	.sup-hero--tall { min-height: min(var(--sup-hero-h, 920px), 88vh) !important; min-height: min(var(--sup-hero-h, 920px), 88svh) !important; }
}
@media (max-width: 781px) {
	.sup-hero { min-height: 420px !important; padding-top: 120px !important; padding-bottom: 60px !important; }
	.sup-hero--short { min-height: 300px !important; }
	/* Phone photo positions from the original site */
	.page-id-928 .sup-hero img.wp-block-cover__image-background { object-position: 60% 80% !important; }
	.page-id-1569 .sup-hero img.wp-block-cover__image-background,
	.page-id-2471 .sup-hero img.wp-block-cover__image-background { object-position: 50% 55% !important; }
	.page-id-3183 .sup-hero img.wp-block-cover__image-background { object-position: 60% 54% !important; }
}

/* Page headers end in a wave: the next section's colour curves up into the photo */
/* Only the wave is raised above the photo (raising the whole section would hide the next section's top wave) */
.sup-hero + * { position: relative; }
.sup-hero + :not(.is-style-waves)::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(100% - 1px);
	height: var(--sup-wave-h);
	background: inherit;
	pointer-events: none;
	z-index: 2;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C160 6 330 0 520 14s380 40 560 28 270-30 360-38v62z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C160 6 330 0 520 14s380 40 560 28 270-30 360-38v62z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* Sections without their own colour show the page's pale aqua */
.sup-hero + :not(.is-style-waves):not([class*="-background-color"])::before { background: var(--sup-aqua); }

/* --------------------------------------------------------------------------
   Wavy section edges (Group block style "Wavy edges")
   -------------------------------------------------------------------------- */
.is-style-waves { position: relative; z-index: 1; overflow: visible !important; }
.is-style-waves::before,
.is-style-waves::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: var(--sup-wave-h);
	background: inherit;
	pointer-events: none;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C160 6 330 0 520 14s380 40 560 28 270-30 360-38v62z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C160 6 330 0 520 14s380 40 560 28 270-30 360-38v62z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.is-style-waves::before { bottom: calc(100% - 1px); }
.is-style-waves::after { top: calc(100% - 1px); transform: scaleY(-1) scaleX(-1); }
.is-style-waves.no-wave-bottom::after { display: none; }

/* The wave itself adds visual space, so wavy sections use less padding,
   and the sections touching a wave get extra room so text never meets it. */
.is-style-waves.sup-section { padding-top: clamp(28px, 3.5vw, 56px); padding-bottom: clamp(36px, 4vw, 64px); }
.sup-section:has(+ .is-style-waves),
.sup-section--tight:has(+ .is-style-waves) { padding-bottom: calc(clamp(32px, 4vw, 56px) + var(--sup-wave-h)); }
.is-style-waves + .sup-section { padding-top: calc(clamp(40px, 5vw, 72px) + var(--sup-wave-h)); }
body:has(.wp-block-post-content > .is-style-waves:last-child) .sup-footer { padding-top: calc(48px + var(--sup-wave-h)); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.is-style-card { background: #fff; border-radius: var(--sup-radius); box-shadow: var(--sup-shadow); overflow: hidden; padding: 0 0 28px; }
.is-style-card > :not(.wp-block-post-featured-image):not(.wp-block-image:first-child) { padding-left: 24px; padding-right: 24px; }
.is-style-card > .wp-block-image:first-child { margin: 0 0 8px; }
.is-style-card > .wp-block-image:first-child img { border-radius: 0; width: 100%; object-fit: cover; }

/* Location cards (homepage carousel + Where to SUP grid) */
.sup-loc-card { display: flex; flex-direction: column; height: 100%; text-align: center; }
.sup-loc-card .wp-block-post-featured-image { margin: 0; width: 100% !important; height: 250px !important; overflow: hidden; background: #dfeef0; }
.sup-loc-card .wp-block-post-featured-image a { display: block; width: 100%; height: 100%; }
.sup-loc-card .wp-block-post-featured-image img { display: block; width: 100% !important; max-width: none !important; height: 250px !important; object-fit: cover !important; }
.sup-loc-card .wp-block-post-title { font-size: 24px; margin: 22px 0 6px; }
.sup-loc-card .wp-block-post-title a { color: var(--sup-navy); }
.sup-loc-card .wp-block-post-excerpt { font-size: 15px; display: flex; flex-direction: column; flex: 1; margin-top: 4px; }
.sup-loc-card .wp-block-post-excerpt__excerpt { flex: 1; }
.sup-loc-card .wp-block-post-excerpt__more-text { margin-top: 18px; }
.sup-loc-card .wp-block-post-excerpt__more-link,
.sup-button-link {
	display: inline-block;
	background: var(--sup-teal);
	color: #fff !important;
	border-radius: 30px;
	padding: 12px 28px;
	font-family: var(--wp--preset--font-family--button);
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background-color .2s ease;
}
.sup-loc-card .wp-block-post-excerpt__more-link:hover { background: var(--sup-teal-dark); }

.sup-loc-grid .wp-block-post-template { gap: 32px; }
@media (max-width: 1000px) { .sup-loc-grid .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sup-loc-grid .wp-block-post-template.is-layout-grid { grid-template-columns: minmax(0, 1fr); } }

/* Carousel (homepage) - CSS scroll-snap, arrows added by site.js */
.sup-carousel { position: relative; }
.sup-carousel .wp-block-post-template { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 4px 28px; margin: 0; list-style: none; scrollbar-width: none; }
.sup-carousel .wp-block-post-template::-webkit-scrollbar { display: none; }
.sup-carousel .wp-block-post-template > li { flex: 0 0 calc((100% - 64px) / 3); scroll-snap-align: start; margin: 0 !important; }
@media (max-width: 1000px) { .sup-carousel .wp-block-post-template > li { flex-basis: calc((100% - 32px) / 2); } }
@media (max-width: 640px) { .sup-carousel .wp-block-post-template > li { flex-basis: 86%; } }
.sup-carousel__btn { position: absolute; top: 125px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--sup-navy); box-shadow: var(--sup-shadow); cursor: pointer; display: grid; place-items: center; font-size: 22px; line-height: 1; }
.sup-carousel__btn:hover { background: var(--sup-teal); color: #fff; }
.sup-carousel__btn--prev { left: -12px; }
.sup-carousel__btn--next { right: -12px; }
@media (max-width: 640px) { .sup-carousel__btn { display: none; } }

/* --------------------------------------------------------------------------
   Lists, icon rows
   -------------------------------------------------------------------------- */
.is-style-checks { list-style: none; padding-left: 0; }
.is-style-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.is-style-checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; background: var(--sup-navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* "Know Before You Go" facts with icons */
.sup-facts { list-style: none; padding-left: 0; margin: 0; }
.sup-facts li { position: relative; padding: 10px 0 10px 42px; border-bottom: 1px solid rgba(15, 23, 42, .08); }
.sup-facts li:last-child { border-bottom: 0; }
.sup-facts li strong { color: var(--sup-navy); }
.sup-facts li::before { content: ""; position: absolute; left: 0; top: 11px; width: 26px; height: 26px; background: var(--sup-teal); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.sup-facts .is-distance { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 6c-.2-.6-.8-1-1.4-1h-11c-.7 0-1.2.4-1.4 1L3 12v8c0 .6.4 1 1 1h1c.6 0 1-.4 1-1v-1h12v1c0 .6.4 1 1 1h1c.6 0 1-.4 1-1v-8l-2.1-6zM6.5 16c-.8 0-1.5-.7-1.5-1.5S5.7 13 6.5 13s1.5.7 1.5 1.5S7.3 16 6.5 16zm11 0c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E"); }
.sup-facts .is-size { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 15c1.7 0 2.5-1 4-1s2.3 1 4 1 2.5-1 4-1 2.3 1 4 1 2.5-1 4-1v2c-1.5 0-2.3 1-4 1s-2.5-1-4-1-2.3 1-4 1-2.5-1-4-1-2.3 1-4 1v-2zm0 4c1.7 0 2.5-1 4-1s2.3 1 4 1 2.5-1 4-1 2.3 1 4 1 2.5-1 4-1v2c-1.5 0-2.3 1-4 1s-2.5-1-4-1-2.3 1-4 1-2.5-1-4-1-2.3 1-4 1v-2zM12 3l7 9H5l7-9z'/%3E%3C/svg%3E"); }
.sup-facts .is-fee { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.8 10.9c-2.3-.6-3-1.2-3-2.1 0-1.1 1-1.9 2.7-1.9 1.8 0 2.4.8 2.5 2.1h2.2c-.1-1.7-1.1-3.3-3.2-3.8V3h-3v2.2c-1.9.4-3.5 1.7-3.5 3.6 0 2.3 1.9 3.5 4.7 4.1 2.5.6 3 1.5 3 2.4 0 .7-.5 1.8-2.7 1.8-2.1 0-2.9-.9-3-2.1H6.3c.1 2.2 1.8 3.5 3.7 3.9V21h3v-2.1c1.9-.4 3.5-1.5 3.5-3.6 0-2.8-2.4-3.8-4.7-4.4z'/%3E%3C/svg%3E"); }
.sup-facts .is-access { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z'/%3E%3C/svg%3E"); }
.sup-facts .is-motor { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 21c-1.4 0-2.8-.5-4-1.3-2.4 1.7-5.6 1.7-8 0C6.8 20.5 5.4 21 4 21H2v2h2c1.4 0 2.7-.3 4-1 2.5 1.3 5.5 1.3 8 0 1.3.7 2.6 1 4 1h2v-2h-2zM3.9 19H4c1.6 0 3-.9 4-2 1 1.1 2.4 2 4 2s3-.9 4-2c1 1.1 2.4 2 4 2h.1l1.9-6.7c.1-.3.1-.6-.1-.8-.1-.2-.4-.4-.6-.4L20 10.6V6c0-1.1-.9-2-2-2h-3V1H9v3H6c-1.1 0-2 .9-2 2v4.6l-1.3.4c-.3.1-.5.3-.6.5-.1.2-.1.5 0 .8L3.9 19zM6 6h12v4l-6-2-6 2V6z'/%3E%3C/svg%3E"); }
.sup-facts .is-parking { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3H6v18h4v-6h3c3.3 0 6-2.7 6-6s-2.7-6-6-6zm.2 8H10V7h3.2c1.1 0 2 .9 2 2s-.9 2-2 2z'/%3E%3C/svg%3E"); }
.sup-facts .is-facilities { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 22v-7.5H4V9c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v5.5H9.5V22h-4zM18 22v-6h3l-2.5-7.6C18.2 7.6 17.4 7 16.5 7h-.1c-.9 0-1.7.6-2 1.4L12 16h3v6h3zM7.5 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm9 0c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z'/%3E%3C/svg%3E"); }

/* Gear / mission lists on the homepage */
.sup-feature-list li { font-size: 15px; }
.sup-two-col { column-count: 2; column-gap: 32px; }
.sup-two-col li { break-inside: avoid; }
.sup-gear { gap: clamp(28px, 5vw, 72px); }
.sup-gear-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sup-gear-photos .wp-block-image { margin: 0 !important; }
.sup-gear-photos .wp-block-image:nth-child(2) { margin-top: 50px !important; }
.sup-gear-photos img { width: 100%; aspect-ratio: 230 / 360; object-fit: cover; border-radius: 6px; display: block; }
@media (max-width: 1100px) {
	/* Tablets: photos above the list instead of squeezed beside it */
	.wp-block-columns.sup-gear { flex-wrap: wrap !important; }
	.wp-block-columns.sup-gear > .wp-block-column { flex-basis: 100% !important; }
	.sup-gear-photos { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 781px) {
	.sup-gear-photos { max-width: 480px; }
}
@media (max-width: 480px) { .sup-two-col { column-count: 1; } }

/* --------------------------------------------------------------------------
   Location guide pages
   -------------------------------------------------------------------------- */
.sup-loc-hero { background: #fff; }
.sup-loc-hero h1 { font-size: clamp(36px, 5vw, 58px); }
.sup-loc-hero .wp-block-post-featured-image img { border-radius: var(--sup-radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.sup-map iframe,
.sup-embed iframe { width: 100%; border: 0; border-radius: var(--sup-radius); display: block; background: #dfeef0; }
.sup-map iframe { height: 420px; }
.sup-embed iframe { height: 420px; }
.sup-trip h2 { margin-bottom: 28px; }
.sup-alltrails-row { align-items: center; gap: 16px; }
.sup-alltrails-row .wp-block-image { margin: 0; max-width: 150px; }
.sup-alltrails-row .wp-block-button__link { font-size: 13px; padding: 12px 22px; }
.sup-disclaimer { font-size: 12px; font-style: italic; text-align: center; max-width: 900px; margin-left: auto !important; margin-right: auto !important; padding: 0 0 48px; opacity: .9; }
.sup-credit { font-size: 12px; text-align: center; opacity: .8; }
.sup-location-nav { background: #fff; border-top: 1px solid rgba(15, 23, 42, .08); padding: 22px clamp(20px, 3vw, 40px); margin: 0 !important; gap: 12px 24px; }
/* When the guide ends with a wavy section, leave room so the wave never covers the links */
.wp-block-post-content:has(> .is-style-waves:last-child) + .sup-location-nav { border-top: 0; padding-top: calc(28px + var(--sup-wave-h)); }
.sup-location-nav a { font-size: 15px; font-weight: 600; }
.sup-location-nav .post-navigation-link__label { font-weight: 400; color: var(--sup-slate); margin-right: 4px; }
.sup-location-nav .post-navigation-link-next { margin-left: auto; text-align: right; }

/* --------------------------------------------------------------------------
   FAQ (Details block)
   -------------------------------------------------------------------------- */
.wp-block-details { border-bottom: 1px solid rgba(15, 23, 42, .1); padding: 0; margin: 0 !important; }
.wp-block-details summary { cursor: pointer; list-style: none; position: relative; padding: 18px 44px 18px 0; font-weight: 700; color: var(--sup-navy); font-size: 17px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--sup-teal); line-height: 1; }
.wp-block-details[open] summary::after { content: "\2212"; }
.wp-block-details > :not(summary) { padding-bottom: 14px; margin-top: 0; }
.sup-faq-group h2 { margin-bottom: 8px; }
.sup-faq-group { margin-top: 56px !important; }
.sup-faq-group:first-child { margin-top: 0 !important; }
.sup-faq-group + .sup-faq-group { padding-top: 0; }

/* --------------------------------------------------------------------------
   Product rows (Rent a SUP page)
   -------------------------------------------------------------------------- */
.sup-product { gap: clamp(24px, 4vw, 64px); }
.sup-product .wp-block-image img { max-height: 420px; width: auto; margin: 0 auto; display: block; mix-blend-mode: multiply; } /* multiply: white photo backgrounds blend into the light blue bands */
/* Every other product shows its photo on the right (wide screens only; phones keep photo first) */
@media (min-width: 782px) { .wp-block-columns.sup-product--flip { flex-direction: row-reverse; } }
.sup-price { color: var(--sup-navy); }

/* Eyebrow label */
.is-style-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--sup-teal); margin-bottom: 4px !important; }

/* Two-up CTA cards */
.sup-cta-card { text-align: center; }
.sup-cta-card .wp-block-image:first-child img { height: 260px; }

/* Reviews (Google-style carousel) */
.sup-reviews { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: center; }
.sup-reviews__summary { text-align: center; }
.sup-reviews__summary .wp-block-image { margin: 0 auto 6px; }
.sup-reviews__summary .wp-block-image img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.sup-reviews__biz { font-weight: 700; color: var(--sup-navy); font-size: 15px; line-height: 1.35; margin: 0 !important; }
.sup-reviews__stars { color: #F6BB06; font-size: 22px; letter-spacing: 2px; margin: 2px 0 0 !important; line-height: 1.2; }
.sup-reviews__count { font-size: 14px; margin: 0 !important; }
.sup-reviews__summary .wp-block-buttons { margin-top: 10px; }
.sup-reviews__summary .wp-block-button__link { font-size: 13px; padding: 10px 22px; }
.sup-reviews__wrap { position: relative; min-width: 0; }
.sup-reviews__track { display: flex !important; flex-wrap: nowrap !important; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 24px; scrollbar-width: none; }
.sup-reviews__track::-webkit-scrollbar { display: none; }
.sup-reviews__track > .sup-review { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; margin: 0 !important; }
.sup-review { position: relative; background: #fff; border-radius: var(--sup-radius); box-shadow: var(--sup-shadow); padding: 20px 20px 18px !important; text-align: left; }
.sup-review::after { content: ""; position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.1H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.6-.4-3.9z'/%3E%3Cpath fill='%23FF3D00' d='m6.3 14.7 6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2c-2 1.5-4.5 2.4-7.2 2.4-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.1H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.6-.4-3.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sup-review__head { gap: 12px !important; align-items: center; margin-bottom: 8px; padding-right: 26px; }
.sup-review__avatar { margin: 0 !important; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--sup-teal); }
.sup-review__avatar img { width: 44px !important; height: 44px !important; border-radius: 50%; object-fit: cover; display: block; color: transparent; }
.sup-review__name { font-weight: 700; color: var(--sup-navy); margin: 0 !important; line-height: 1.3; font-size: 15px; }
.sup-review__stars { color: #F6BB06; letter-spacing: 1px; margin: 0 0 6px !important; font-size: 17px; line-height: 1.2; }
.sup-review__text { font-size: 14.5px; line-height: 1.6; margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.sup-review.is-expanded .sup-review__text { -webkit-line-clamp: unset; display: block; }
.sup-review__more { background: none; border: 0; padding: 6px 0 0; color: var(--sup-teal); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sup-reviews .sup-carousel__btn { top: 50%; transform: translateY(-60%); }
.sup-reviews__wrap { padding: 0 30px; }
.sup-reviews .sup-carousel__btn { width: 38px; height: 38px; font-size: 20px; }
.sup-reviews .sup-carousel__btn--prev { left: -6px; }
.sup-reviews .sup-carousel__btn--next { right: -6px; }
@media (max-width: 640px) { .sup-reviews__wrap { padding: 0; } }
@media (max-width: 1000px) {
	.sup-reviews { grid-template-columns: minmax(0, 1fr); }
	.sup-reviews__track > .sup-review { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) { .sup-reviews__track > .sup-review { flex-basis: 86%; } }

/* Photo sliders (location guides, retreat page)
   Each slide gets a fixed height. WordPress's own gallery styles otherwise stretch every
   slide to the tallest photo, so one portrait photo made the whole slider very tall. */
.sup-slider-wrap { position: relative; margin-top: 32px; }
.wp-block-gallery.sup-slider,
.wp-block-gallery.sup-gallery { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; gap: 0 !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--sup-radius); margin: 0 !important; }
.wp-block-gallery.sup-slider::-webkit-scrollbar,
.wp-block-gallery.sup-gallery::-webkit-scrollbar { display: none; }
.wp-block-gallery.has-nested-images.sup-slider figure.wp-block-image:not(#individual-image),
.wp-block-gallery.has-nested-images.sup-gallery figure.wp-block-image:not(#individual-image) { display: block !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; height: clamp(260px, 42vw, 560px) !important; margin: 0 !important; scroll-snap-align: start; overflow: hidden; }
.wp-block-gallery.has-nested-images.sup-slider figure.wp-block-image:not(#individual-image) img,
.wp-block-gallery.has-nested-images.sup-gallery figure.wp-block-image:not(#individual-image) img { display: block; flex: none !important; width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important; }
/* Two photos side by side (retreat page), one at a time on phones */
.wp-block-gallery.sup-gallery--pair { gap: 12px !important; border-radius: 0; }
.wp-block-gallery.has-nested-images.sup-gallery--pair figure.wp-block-image:not(#individual-image) { flex-basis: calc(50% - 6px) !important; width: calc(50% - 6px) !important; height: clamp(260px, 36vw, 500px) !important; border-radius: var(--sup-radius); }
@media (max-width: 781px) {
	.wp-block-gallery.has-nested-images.sup-gallery--pair figure.wp-block-image:not(#individual-image) { flex-basis: 100% !important; width: 100% !important; height: clamp(260px, 80vw, 420px) !important; }
}
.sup-slider-wrap .sup-carousel__btn { top: 50%; transform: translateY(-50%); }
.sup-slider-wrap .sup-carousel__btn--prev { left: 14px; }
.sup-slider-wrap .sup-carousel__btn--next { right: 14px; }
.sup-slider__count { position: absolute; right: 14px; bottom: 12px; background: rgba(15, 23, 42, .7); color: #fff; font-size: 13px; padding: 3px 10px; border-radius: 20px; }
@media (max-width: 640px) { .sup-slider-wrap .sup-carousel__btn { display: grid; width: 36px; height: 36px; } }

/* Where to SUP filter buttons */
.sup-loc-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 28px; }
.sup-loc-filter button { cursor: pointer; border: 2px solid var(--sup-teal); background: #fff; color: var(--sup-teal); border-radius: 30px; padding: 9px 22px; font-family: var(--wp--preset--font-family--button); font-weight: 600; font-size: 13px; text-transform: uppercase; }
.sup-loc-filter button[aria-pressed="true"],
.sup-loc-filter button:hover { background: var(--sup-teal); color: #fff; }
.sup-loc-grid .wp-block-post-template > li.is-filtered-out { display: none; }

/* --------------------------------------------------------------------------
   Forms (sup-avl-site plugin)
   -------------------------------------------------------------------------- */
.sup-form-card { background: var(--sup-aqua); border-radius: var(--sup-radius); padding: clamp(20px, 3vw, 36px); }
.has-aqua-background-color .sup-form-card { background: #fff; }
.sup-form { display: grid; gap: 16px; }
.sup-form__row { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .sup-form__row { grid-template-columns: minmax(0, 1fr); } }
.sup-form label { display: block; font-size: 14px; font-weight: 700; color: var(--sup-navy); margin-bottom: 6px; }
.sup-form .sup-req { color: #C0392B; }
.sup-form input[type="text"],
.sup-form input[type="email"],
.sup-form input[type="tel"],
.sup-form input[type="date"],
.sup-form input[type="number"],
.sup-form select,
.sup-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--sup-navy); background: #fff; border: 1px solid #C9D7DB; border-radius: 6px; padding: 12px 14px; }
.sup-form textarea { min-height: 140px; resize: vertical; }
.sup-form input:focus,
.sup-form select:focus,
.sup-form textarea:focus { outline: 2px solid var(--sup-teal); outline-offset: 1px; border-color: var(--sup-teal); }
.sup-form fieldset { border: 0; padding: 0; margin: 0; }
.sup-form legend { font-size: 14px; font-weight: 700; color: var(--sup-navy); margin-bottom: 8px; padding: 0; }
.sup-form .sup-checks { display: grid; gap: 6px 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.sup-form .sup-checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; color: var(--sup-slate); }
.sup-form .sup-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sup-form button { justify-self: start; cursor: pointer; border: 0; background: var(--sup-teal); color: #fff; border-radius: 30px; padding: 16px 40px; font-family: var(--wp--preset--font-family--button); font-weight: 600; font-size: 15px; text-transform: uppercase; }
.sup-form button:hover { background: var(--sup-teal-dark); }
.sup-form__note { font-size: 13px; margin: 0; }
.sup-form-msg { border-radius: 8px; padding: 14px 18px; margin-bottom: 18px; font-weight: 600; }
.sup-form-msg--ok { background: #E3F6EA; color: #1E6B3A; }
.sup-form-msg--err { background: #FDECEA; color: #8E2A1F; }

/* "Join the SUP Club" email signup */
.sup-newsletter__sub { font-size: clamp(18px, 2vw, 22px); margin-top: 6px !important; margin-bottom: 26px !important; }
.sup-newsletter { text-align: center; gap: 20px; }
.sup-newsletter label { margin-bottom: 8px; }
.sup-newsletter input[type="email"] { text-align: left; }
.sup-newsletter__group legend { width: 100%; text-align: center; font-family: var(--wp--preset--font-family--heading); font-size: 17px; }
.sup-newsletter__group label { display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 400; color: var(--sup-slate); font-size: 16px; margin: 0 0 4px; cursor: pointer; }
.sup-newsletter__group input { accent-color: var(--sup-teal); width: 16px; height: 16px; margin: 0; }
.sup-newsletter button { justify-self: stretch; }
.sup-newsletter-wrap .sup-form-msg { text-align: center; }

.sup-contact-info h5 { margin-bottom: 0; }
.sup-contact-info p { margin-top: 2px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.sup-footer { padding-top: 48px; padding-bottom: 40px; font-size: 15px; }
.sup-footer a { color: var(--sup-teal-light); }
.sup-footer .wp-block-button__link,
.sup-footer .wp-block-button__link:hover,
.sup-footer .wp-block-button__link:focus { color: #fff !important; text-decoration: none; }
.sup-footer .sup-footer__small a { color: #fff; }
.sup-footer__buttons { gap: 12px; }
.sup-footer__buttons .wp-block-button__link { font-size: 13px; padding: 10px 40px; min-width: 190px; text-align: center; }
.sup-footer .wp-block-social-links { gap: 14px; margin-top: 20px; }
.sup-footer__small { font-size: 14px; line-height: 1.8; margin-top: 14px; }

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
	.wp-block-columns.sup-stack-reverse { flex-direction: column-reverse; }
	.sup-map iframe, .sup-embed iframe { height: 340px; }
}

/* Photo-background section with content (e.g. "Got Questions?") */
.sup-cover-section { padding-top: var(--sup-section-pad) !important; padding-bottom: var(--sup-section-pad) !important; }
.sup-cover-section h2 { color: #fff; }

/* --------------------------------------------------------------------------
   Button hover: a darker wave of water rises through the button.
   (Outline-style buttons and the Lakes/Rivers filter keep their own look.)
   -------------------------------------------------------------------------- */
.wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.sup-button-link,
.sup-loc-card .wp-block-post-excerpt__more-link,
.sup-form button,
.sup-nav .is-menu-open .nav-mobile-only .wp-block-navigation-item__content {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: transform .2s ease;
}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link::before,
.sup-button-link::before,
.sup-loc-card .wp-block-post-excerpt__more-link::before,
.sup-form button::before,
.sup-nav .is-menu-open .nav-mobile-only .wp-block-navigation-item__content::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: -5%;
	width: 110%;
	height: 190%;
	background: #11525C;
	transform: translateY(100%);
	transition: transform 1.1s cubic-bezier(.3, .7, .25, 1);
	pointer-events: none;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120' preserveAspectRatio='none'%3E%3Cpath d='M0 20 C25 0 25 0 50 20 S75 40 100 20 V120 H0z'/%3E%3C/svg%3E") 0 0 / 90px 100% repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120' preserveAspectRatio='none'%3E%3Cpath d='M0 20 C25 0 25 0 50 20 S75 40 100 20 V120 H0z'/%3E%3C/svg%3E") 0 0 / 90px 100% repeat-x;
}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:is(:hover, :focus-visible)::before,
.sup-button-link:is(:hover, :focus-visible)::before,
.sup-loc-card .wp-block-post-excerpt__more-link:is(:hover, :focus-visible)::before,
.sup-form button:is(:hover, :focus-visible)::before,
.sup-nav .is-menu-open .nav-mobile-only .wp-block-navigation-item__content:is(:hover, :focus-visible)::before {
	transform: translateY(-32%);
	animation: sup-wave-drift 1.8s linear infinite;
}
@keyframes sup-wave-drift { to { -webkit-mask-position: 90px 0; mask-position: 90px 0; } }
/* The wave does the darkening, so the button itself keeps its teal on hover */
.wp-site-blocks .wp-block-button:not(.is-style-outline) > .wp-block-button__link:is(:hover, :focus-visible),
.wp-site-blocks .sup-button-link:hover,
.wp-site-blocks .sup-loc-card .wp-block-post-excerpt__more-link:hover,
.wp-site-blocks .sup-form button:hover {
	background-color: var(--sup-teal) !important;
	color: #fff !important;
}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:active,
.sup-button-link:active,
.sup-loc-card .wp-block-post-excerpt__more-link:active,
.sup-form button:active {
	transform: scale(.97);
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link::before,
	.sup-button-link::before,
	.sup-loc-card .wp-block-post-excerpt__more-link::before,
	.sup-form button::before { transition: none; animation: none !important; }
}

/* --------------------------------------------------------------------------
   Style upgrades
   -------------------------------------------------------------------------- */

/* 1. Cards lift on hover; location photos zoom in a little */
.is-style-card,
.sup-review { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; }
.wp-site-blocks .sup-loc-card .wp-block-post-featured-image img { transition: transform .7s cubic-bezier(.2, .8, .2, 1) !important; }
@media (hover: hover) {
	.is-style-card:hover,
	.sup-review:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(15, 23, 42, .14); }
	.sup-loc-card:hover .wp-block-post-featured-image img { transform: scale(1.06); }
}

/* 2. Gentle fade-up as content scrolls into view (site.js adds the classes; skipped for reduced motion) */
.sup-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.sup-reveal.is-in { opacity: 1; transform: none; }

/* 3. Clear focus outline for keyboard users */
.wp-site-blocks a:focus-visible,
.wp-site-blocks button:focus-visible,
.wp-site-blocks summary:focus-visible,
.wp-site-blocks [tabindex]:focus-visible { outline: 3px solid var(--sup-teal-light); outline-offset: 3px; border-radius: 4px; }
.wp-site-blocks .wp-block-button__link:focus-visible,
.wp-site-blocks .sup-form button:focus-visible,
.wp-site-blocks .sup-button-link:focus-visible,
.wp-site-blocks .sup-loc-card .wp-block-post-excerpt__more-link:focus-visible { border-radius: 30px; }

/* 4. Smoother photo sliders: arrows fade in on hover (always shown on touch screens) */
.sup-carousel__btn { transition: opacity .3s ease, background-color .25s ease, color .25s ease, transform .25s ease; }
.sup-slider-wrap .sup-carousel__btn:hover { transform: translateY(-50%) scale(1.08); }
@media (hover: hover) {
	.sup-slider-wrap .sup-carousel__btn { opacity: 0; }
	.sup-slider-wrap:hover .sup-carousel__btn,
	.sup-slider-wrap:focus-within .sup-carousel__btn { opacity: 1; }
}

/* 5. Text links: a thin underline slides in on hover */
.wp-block-post-content :is(p, li, h5, h6) a:not(.wp-element-button):not(.sup-button-link):not(.wp-block-post-excerpt__more-link),
.sup-footer p a {
	text-decoration: none !important;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	transition: background-size .3s ease, color .2s ease;
	padding-bottom: 1px;
}
.wp-block-post-content :is(p, li, h5, h6) a:not(.wp-element-button):not(.sup-button-link):not(.wp-block-post-excerpt__more-link):is(:hover, :focus-visible),
.sup-footer p a:is(:hover, :focus-visible) { background-size: 100% 1.5px; }

/* Emoji lists (retreat page) */
.sup-plain-list { list-style: none; padding-left: 0; }
.sup-plain-list li { margin-bottom: 12px; }

/* Photo rows in location guides */
.sup-photo-row { gap: clamp(24px, 4vw, 56px); }
.sup-photo { margin: 0; }
.sup-photo img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.sup-photo.is-portrait img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 640px; }
.sup-photo figcaption { margin-top: .7em; font-size: .9rem; text-align: center; opacity: .8; }
@media (max-width: 781px) {
  .sup-photo-row > .wp-block-column:has(.sup-photo) { order: -1; }
  .sup-photo.is-portrait img { max-height: 520px; }
}
