/* ==========================================================================
   SUP Asheville - brand styles (loads after the Agency Master stylesheet)
   Everything here is specific to SUP Asheville: its wave signature values,
   the class names saved in its page content (sup-section, sup-hero, ...) and
   its own patterns (location cards, Google reviews). Class names saved in
   content must keep working, so they are never renamed.
   ========================================================================== */

:root {
	/* SUP values for master settings */
	--agc-hover-wave: #11525C;
	--agc-input-border: #C9D7DB;

	/* Older names used below; they point at the master tokens */
	--sup-teal: var(--agc-primary);
	--sup-teal-dark: var(--agc-primary-dark);
	--sup-teal-light: var(--agc-primary-light);
	--sup-navy: var(--agc-contrast);
	--sup-slate: var(--agc-text);
	--sup-aqua: var(--agc-surface);
	--sup-radius: var(--agc-radius);
	--sup-shadow: var(--agc-shadow);
	--sup-section-pad: var(--agc-section-pad);
	--sup-admin-bar: var(--agc-admin-bar);
	--sup-wave-h: var(--agc-wave-h);

	/* Color names saved in page content before the agency theme (teal, navy,
	   aqua ...). They point at the matching master colors, so blocks that were
	   colored with the old names look exactly the same. */
	--wp--preset--color--teal: var(--wp--preset--color--primary);
	--wp--preset--color--teal-dark: var(--wp--preset--color--primary-dark);
	--wp--preset--color--teal-light: var(--wp--preset--color--primary-light);
	--wp--preset--color--navy: var(--wp--preset--color--contrast);
	--wp--preset--color--slate: var(--wp--preset--color--body-text);
	--wp--preset--color--aqua: var(--wp--preset--color--surface);
	--wp--preset--color--mist: var(--wp--preset--color--surface-alt);
	--wp--preset--color--ink: var(--wp--preset--color--overlay);
}

/* Same rules WordPress writes for palette colors, for the old color names. */
.has-teal-color { color: var(--wp--preset--color--teal) !important; }
.has-teal-dark-color { color: var(--wp--preset--color--teal-dark) !important; }
.has-teal-light-color { color: var(--wp--preset--color--teal-light) !important; }
.has-navy-color { color: var(--wp--preset--color--navy) !important; }
.has-slate-color { color: var(--wp--preset--color--slate) !important; }
.has-aqua-color { color: var(--wp--preset--color--aqua) !important; }
.has-mist-color { color: var(--wp--preset--color--mist) !important; }
.has-ink-color { color: var(--wp--preset--color--ink) !important; }
.has-teal-background-color { background-color: var(--wp--preset--color--teal) !important; }
.has-teal-dark-background-color { background-color: var(--wp--preset--color--teal-dark) !important; }
.has-teal-light-background-color { background-color: var(--wp--preset--color--teal-light) !important; }
.has-navy-background-color { background-color: var(--wp--preset--color--navy) !important; }
.has-slate-background-color { background-color: var(--wp--preset--color--slate) !important; }
.has-aqua-background-color { background-color: var(--wp--preset--color--aqua) !important; }
.has-mist-background-color { background-color: var(--wp--preset--color--mist) !important; }
.has-ink-background-color { background-color: var(--wp--preset--color--ink) !important; }
.has-teal-border-color { border-color: var(--wp--preset--color--teal) !important; }
.has-teal-dark-border-color { border-color: var(--wp--preset--color--teal-dark) !important; }
.has-teal-light-border-color { border-color: var(--wp--preset--color--teal-light) !important; }
.has-navy-border-color { border-color: var(--wp--preset--color--navy) !important; }
.has-slate-border-color { border-color: var(--wp--preset--color--slate) !important; }
.has-aqua-border-color { border-color: var(--wp--preset--color--aqua) !important; }
.has-mist-border-color { border-color: var(--wp--preset--color--mist) !important; }
.has-ink-border-color { border-color: var(--wp--preset--color--ink) !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; }

/* --------------------------------------------------------------------------
   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; }

.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); }

/* 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)); }

/* 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%; } }

/* "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-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); }

/* 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-reviews .agc-carousel__btn { top: 50%; transform: translateY(-60%); }
.sup-reviews__wrap { padding: 0 30px; }
.sup-reviews .agc-carousel__btn { width: 38px; height: 38px; font-size: 20px; }
.sup-reviews .agc-carousel__btn--prev { left: -6px; }
.sup-reviews .agc-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. */

.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-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; }

/* "Join the SUP Club" email signup */
.sup-newsletter__sub { font-size: clamp(18px, 2vw, 22px); margin-top: 6px !important; margin-bottom: 26px !important; }

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

/* --------------------------------------------------------------------------
   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 for SUP's own button-style links (same wave as the master buttons)
   -------------------------------------------------------------------------- */
.sup-button-link,
.sup-loc-card .wp-block-post-excerpt__more-link {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: transform .2s ease;
}
.sup-button-link::before,
.sup-loc-card .wp-block-post-excerpt__more-link::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: -5%;
	width: 110%;
	height: 190%;
	background: var(--agc-hover-wave);
	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;
}
.sup-button-link:is(:hover, :focus-visible)::before,
.sup-loc-card .wp-block-post-excerpt__more-link:is(:hover, :focus-visible)::before {
	transform: translateY(-32%);
	animation: agc-wave-drift 1.8s linear infinite;
}
.wp-site-blocks .sup-button-link:hover,
.wp-site-blocks .sup-loc-card .wp-block-post-excerpt__more-link:hover {
	background-color: var(--sup-teal) !important;
	color: #fff !important;
}
.sup-button-link:active,
.sup-loc-card .wp-block-post-excerpt__more-link:active {
	transform: scale(.97);
}
@media (prefers-reduced-motion: reduce) {
	.sup-button-link::before,
	.sup-loc-card .wp-block-post-excerpt__more-link::before { transition: none; animation: none !important; }
}

/* Cards lift on hover; location photos zoom in a little */
.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) {
	.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); }
}

.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; }

/* 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; }
}
