/*
 * ISP Excursions redesign.
 * Every rule is scoped to .isp-exc-page (plus the dialog and mobile bar) so no other page is affected.
 * Tokens are the production theme's values (assets/css/common.css + main.css of the child theme).
 */
.isp-exc-page,
.isp-dialog,
.isp-mobilebar {
	--isp-maroon: #571A19;
	--isp-red: #912929;
	--isp-gold: #EFC595;
	--isp-peach: #FFD3A7;
	--isp-cream: #F5F1EF;
	--isp-slate: #3C4853;
	--isp-ink: #000;
	--isp-muted: #4a4a4a;
	--isp-line: rgba(112, 112, 112, 0.35);
	--isp-shadow: 10px 10px 30px #0000001A;
	--isp-radius: 5px;
	--isp-head: "Bebas Neue", sans-serif;
	--isp-body: "Inter", sans-serif;
	--isp-focus: 0 0 0 3px #fff, 0 0 0 5px var(--isp-red);
}

.isp-exc-page .screen-reader-text,
.isp-dialog .screen-reader-text,
.isp-mobilebar .screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.isp-exc-page [hidden] { display: none !important; }
.isp-exc-page :focus-visible,
.isp-dialog :focus-visible,
.isp-mobilebar :focus-visible { outline: none; box-shadow: var(--isp-focus); border-radius: 3px; }

/* ---------- Hero (theme banner pattern, responsive <img> instead of a background) ---------- */
.isp-exc-page .isp-hero__media { position: relative; overflow: hidden; background-color: var(--isp-maroon); }
.isp-exc-page .banner-type-four .isp-hero__media { position: absolute; inset: 0; }
.isp-exc-page .isp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.isp-exc-page .isp-hero { overflow: hidden; } /* the theme's nowrap .shadow-text would otherwise widen small screens */
.isp-exc-page .isp-hero .banner-content-area { position: relative; z-index: 2; }
.isp-exc-page .banner-type-four.isp-hero { max-height: 860px; min-height: 420px; }
.isp-exc-page .banner-type-four .isp-hero__media { height: 100%; }
.isp-exc-page .isp-hero h1 { overflow-wrap: anywhere; }
.isp-exc--single .isp-hero h1,
.isp-exc--category .isp-hero h1 { font-size: clamp(52px, 7vw, 120px); line-height: .88; max-width: 16ch; margin-left: auto; margin-right: auto; }
.isp-exc--single .isp-hero h1 { font-size: clamp(44px, 5.4vw, 100px); max-width: 20ch; }
.isp-exc-page .isp-hero__subtitle { font-family: var(--isp-head); color: #fff; font-size: 34px; line-height: 1.1; letter-spacing: .5px; margin: 18px 0 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }

/* ---------- Layout ---------- */
.isp-exc-page .isp-section { padding: 0 0 120px; }
.isp-exc-page .isp-breadcrumb { margin: 28px 0 48px; }
.isp-exc-page .isp-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.isp-exc-page .isp-breadcrumb li { display: inline-flex; align-items: center; }
.isp-exc-page .isp-breadcrumb li:not(:last-child)::after { content: "/"; margin: 0 13px; color: #8a9a92; }
.isp-exc-page .isp-breadcrumb a:hover,
.isp-exc-page .isp-breadcrumb a:focus-visible { color: var(--isp-maroon); }
.isp-exc-page .isp-breadcrumb [aria-current] { font-weight: 700; color: #232323; margin: 0; } /* theme colours spans #ADCEBE (fails contrast on cream) */
.isp-exc-page .isp-section-title { font-family: var(--isp-head); color: var(--isp-maroon); font-size: 48px; line-height: 1; margin: 0 0 32px; }
.isp-exc-page .isp-link { color: var(--isp-red); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.isp-exc-page .isp-link:hover { color: var(--isp-maroon); }

/* ---------- Buttons (match the theme's .common-button) ---------- */
.isp-exc-page .isp-btn,
.isp-dialog .isp-btn,
.isp-mobilebar .isp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px;
	padding: 12px 18px; border-radius: var(--isp-radius); font-family: var(--isp-head); font-size: 21px;
	line-height: 1; letter-spacing: .4px; text-align: center; text-decoration: none; cursor: pointer;
	border: 2px solid var(--isp-red); transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.isp-exc-page .isp-btn--primary,
.isp-mobilebar .isp-btn--primary { background: var(--isp-red); color: #fff; }
.isp-exc-page .isp-btn--primary:hover,
.isp-mobilebar .isp-btn--primary:hover { background: var(--isp-peach); border-color: var(--isp-peach); color: #000; }
.isp-exc-page .isp-btn--secondary,
.isp-dialog .isp-btn--secondary { background: #fff; color: var(--isp-maroon); border-color: var(--isp-maroon); }
.isp-exc-page .isp-btn--secondary:hover,
.isp-dialog .isp-btn--secondary:hover { background: var(--isp-maroon); color: #fff; }
.isp-exc-page .isp-btn--pending,
.isp-mobilebar .isp-btn--pending { background: repeating-linear-gradient(-45deg, #f2ece8, #f2ece8 8px, #e9e1dc 8px, #e9e1dc 16px); color: #5a4a48; border: 2px dashed #b9a8a4; cursor: not-allowed; font-size: 18px; }

/* ---------- Badges ---------- */
.isp-exc-page .isp-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.isp-exc-page .isp-badge { font-family: var(--isp-head); font-size: 16px; line-height: 1; letter-spacing: .6px; padding: 6px 9px 5px; border-radius: 3px; color: #fff; background: var(--isp-maroon); }
.isp-exc-page .isp-badge--cruise { background: var(--isp-slate); }
.isp-exc-page .isp-badge--featured { background: var(--isp-gold); color: var(--isp-maroon); }
.isp-exc-page .isp-badge--draft { background: #fff; color: var(--isp-red); border: 1px dashed var(--isp-red); }
.isp-exc-page .isp-flag { display: inline-block; font-family: var(--isp-body); font-size: 12px; line-height: 1.2; font-weight: 600; color: #7a4a00; background: #fff4cc; border: 1px solid #e8cf7a; border-radius: 3px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; }

/* ---------- Activity indicator ---------- */
.isp-exc-page .isp-activity { display: inline-flex; align-items: center; gap: 8px; }
.isp-exc-page .isp-activity__bars { display: inline-flex; gap: 3px; }
.isp-exc-page .isp-activity__bar { width: 16px; height: 8px; border-radius: 2px; background: #ddd3cf; }
.isp-exc-page .isp-activity__bar.is-on { background: var(--isp-red); }
@media (forced-colors: active) { .isp-exc-page .isp-activity__bar { border: 1px solid CanvasText; } .isp-exc-page .isp-activity__bar.is-on { background: CanvasText; } }

/* ---------- Icons (CSS only, no icon font dependency) ---------- */
.isp-exc-page .isp-icon { display: inline-block; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--isp-icon) center / contain no-repeat; mask: var(--isp-icon) center / contain no-repeat; }
.isp-exc-page .isp-icon--clock { --isp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E"); }
.isp-exc-page .isp-icon--person { --isp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4.5 4.4-7 8-7s7 2.5 8 7'/%3E%3C/svg%3E"); }

/* ---------- Category intro, notice, feature ---------- */
.isp-exc-page .isp-category__intro { max-width: 900px; margin-bottom: 40px; }
.isp-exc-page .isp-category__intro p { font-size: 22px; line-height: 32px; margin-bottom: 0; }
.isp-exc-page .isp-notice { display: flex; align-items: flex-start; gap: 12px; max-width: 900px; margin: 0 auto 32px; padding: 16px 20px; background: #fff; border: 1px solid var(--isp-line); border-radius: 8px; color: var(--isp-slate); font-size: 16px; line-height: 26px; }
.isp-exc-page .isp-notice::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; background: var(--isp-muted); -webkit-mask: var(--isp-notice-icon) center / contain no-repeat; mask: var(--isp-notice-icon) center / contain no-repeat; --isp-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v6'/%3E%3Ccircle cx='12' cy='7.5' r='.6' fill='black'/%3E%3C/svg%3E"); }
@media (forced-colors: active) { .isp-exc-page .isp-notice::before { background: CanvasText; } }
.isp-exc-page .isp-notice--bottom { margin: 48px auto 0; }
.isp-exc-page .isp-feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px; align-items: center; background: #fff; box-shadow: var(--isp-shadow); padding: 40px; margin: 0 0 56px; }
.isp-exc-page .isp-feature--text { grid-template-columns: 1fr; }
.isp-exc-page .isp-feature__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--isp-radius); }

/* ---------- Filters ---------- */
.isp-exc-page .isp-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 18px 0; margin: 0 0 32px; border-top: 1px solid var(--isp-line); border-bottom: 1px solid var(--isp-line); }
.isp-exc-page .isp-filters__form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0; }
.isp-exc-page .isp-filters__label { font-family: var(--isp-head); font-size: 22px; color: var(--isp-maroon); }
.isp-exc-page .isp-filters__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.isp-exc-page .isp-filter { position: relative; }
.isp-exc-page .isp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--isp-maroon); border-radius: 999px; background: #fff; color: var(--isp-maroon); font-family: var(--isp-body); font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; user-select: none; list-style: none; transition: background-color .2s, color .2s; }
.isp-exc-page summary.isp-chip::-webkit-details-marker { display: none; }
.isp-exc-page summary.isp-chip::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 4px; }
.isp-exc-page details[open] > summary.isp-chip::after { transform: rotate(-135deg) translate(-2px, -2px); }
.isp-exc-page .isp-chip:hover { background: var(--isp-cream); }
.isp-exc-page .isp-chip.is-active,
.isp-exc-page .isp-chip--toggle:has(input:checked) { background: var(--isp-maroon); color: #fff; }
.isp-exc-page .isp-chip--toggle { position: relative; }
.isp-exc-page .isp-chip__input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.isp-exc-page .isp-chip--toggle:has(.isp-chip__input:focus-visible) { box-shadow: var(--isp-focus); }
.isp-exc-page .isp-chip--toggle span::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border: 1.5px solid currentColor; border-radius: 3px; }
.isp-exc-page .isp-chip--toggle:has(input:checked) span::before { background: currentColor; box-shadow: inset 0 0 0 2px var(--isp-maroon); }
.isp-exc-page .isp-filter__panel { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 220px; margin: 0; padding: 12px; border: 0; background: #fff; border-radius: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.isp-exc-page .isp-check { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 8px; border-radius: 4px; font-size: 16px; cursor: pointer; }
.isp-exc-page .isp-check:hover { background: var(--isp-cream); }
.isp-exc-page .isp-check input { width: 18px; height: 18px; accent-color: var(--isp-maroon); margin: 0; }
.isp-exc-page .isp-filters__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-left: auto; }
.isp-exc-page .isp-results { margin: 0; font-size: 15px; line-height: 22px; color: var(--isp-muted); }
.isp-exc-page .isp-sort { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 0 2px; color: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.isp-exc-page .isp-sort:hover { color: var(--isp-maroon); text-decoration: underline; text-underline-offset: 3px; }
.isp-exc-page .isp-sort__icon { flex: none; transition: transform .2s; }
.isp-exc-page .isp-sort--za .isp-sort__icon { transform: rotate(180deg); }
.isp-exc-page .isp-reset { font-size: 15px; font-weight: 600; color: var(--isp-red); text-decoration: underline; text-underline-offset: 3px; }
.isp-exc-page .isp-filters__apply { min-height: 44px; font-size: 18px; }
.isp-exc-page .isp-empty { text-align: center; padding: 40px 0; }
.isp-exc-page .isp-empty p { margin-bottom: 18px; }

/* ---------- Card grid ---------- */
.isp-exc-page .isp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.isp-exc-page .isp-card { display: flex; flex-direction: column; background: #fff; box-shadow: var(--isp-shadow); border-bottom: 8px solid var(--isp-red); min-width: 0; }
.isp-exc-page .isp-card--featured { border-bottom-color: var(--isp-gold); }
.isp-exc-page .isp-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--isp-cream); overflow: hidden; }
.isp-exc-page .isp-card__media > a { display: block; height: 100%; }
.isp-exc-page .isp-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.isp-exc-page .isp-card:hover .isp-card__img { transform: scale(1.04); }
.isp-exc-page .isp-card__img--empty { background: #e4e4e2; } /* neutral placeholder, same as the tour gallery */
.isp-exc-page .isp-card__media .isp-badges { position: absolute; top: 12px; left: 12px; right: 12px; }
.isp-exc-page .isp-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.isp-exc-page .isp-card__title { font-family: var(--isp-head); font-size: 30px; line-height: 1.02; margin: 0 0 14px; color: var(--isp-maroon); overflow-wrap: anywhere; }
.isp-exc-page .isp-card__title a { color: inherit; text-decoration: none; }
.isp-exc-page .isp-card__title a:hover { color: var(--isp-red); }
.isp-exc-page .isp-card__meta { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; line-height: 20px; }
.isp-exc-page .isp-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.isp-exc-page .isp-card__meta-label { color: var(--isp-muted); }
.isp-exc-page .isp-card__req { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 16px; padding: 10px 12px; background: var(--isp-cream); border-radius: 4px; font-size: 14px; line-height: 20px; }
.isp-exc-page .isp-card__req .isp-icon { margin-top: 2px; color: var(--isp-red); }
.isp-exc-page .isp-card__included { margin: 0 0 18px; }
.isp-exc-page .isp-card__included-title { font-family: var(--isp-head); font-size: 18px; letter-spacing: .6px; color: var(--isp-red); margin: 0 0 6px; line-height: 1.2; }
.isp-exc-page .isp-card__included ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 22px; }
.isp-exc-page .isp-card__included li::marker { color: var(--isp-red); }
.isp-exc-page .isp-card__footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--isp-gold); }
.isp-exc-page .isp-price { margin: 0 0 14px; font-size: 14px; line-height: 20px; color: var(--isp-muted); }
.isp-exc-page .isp-price__amount { font-family: var(--isp-head); font-weight: 400; font-size: 34px; line-height: 1; color: var(--isp-maroon); margin: 0 4px; vertical-align: -3px; }
.isp-exc-page .isp-price--cruise { color: var(--isp-ink); }
.isp-exc-page .isp-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.isp-exc-page .isp-card__actions--single { grid-template-columns: 1fr; }
.isp-exc-page .isp-card__actions .isp-btn { padding: 12px 10px; font-size: 19px; }

/* ---------- Planning tips / other categories ---------- */
.isp-exc-page .isp-tips { padding: 90px 0; background: #fff; }
.isp-exc-page .isp-tips__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.isp-exc-page .isp-tips__item { background: var(--isp-cream); padding: 28px; border-top: 4px solid var(--isp-red); }
.isp-exc-page .isp-tips__title { font-family: var(--isp-head); font-size: 28px; line-height: 1.05; margin: 0 0 10px; color: var(--isp-maroon); }
.isp-exc-page .isp-tips__item p { font-size: 16px; line-height: 24px; margin: 0; }
.isp-exc-page .isp-other { padding: 90px 0 170px; }
.isp-exc-page .isp-other__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.isp-exc-page .isp-other__link { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 20px; color: #fff; text-decoration: none; overflow: hidden; background: var(--isp-maroon); border-radius: var(--isp-radius); }
.isp-exc-page .isp-other__media { position: absolute; inset: 0; }
.isp-exc-page .isp-other__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.isp-exc-page .isp-other__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .72) 100%); }
.isp-exc-page .isp-other__link:hover .isp-other__img { transform: scale(1.05); }
.isp-exc-page .isp-other__name { position: relative; font-family: var(--isp-head); font-size: 30px; line-height: 1; }
.isp-exc-page .isp-other__count { position: relative; font-size: 14px; margin-top: 6px; }

/* ---------- Landing ---------- */
.isp-exc--landing .isp-eyebrow { font-family: var(--isp-head); font-size: 24px; line-height: 32px; color: var(--isp-red); margin-bottom: 10px; }
.isp-exc--landing .isp-count { font-size: 16px; line-height: 22px; color: var(--isp-muted); margin: -10px 0 0; }
.isp-exc--landing .type-of-excurtion-content a.common-button { margin-top: 32px; }
.isp-exc--landing .isp-intro .adventure-begins-content { padding-bottom: 80px; }
.isp-exc--landing .types-of-excurtion .each-type-of-excurtion:last-child { padding-bottom: 90px; }
/* Category photos (wireframe): one large photo across the column, two smaller photos side by side below. */
.isp-exc--landing .isp-cat-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.isp-exc--landing .isp-cat-gallery__slot { position: relative; overflow: hidden; border-radius: 8px; background: #e4e4e2; aspect-ratio: 3 / 2; }
.isp-exc--landing .isp-cat-gallery__slot--large { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.isp-exc--landing .isp-cat-gallery__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.isp-exc-page .isp-plan { padding: 90px 0 170px; background: var(--isp-cream); }
.isp-exc-page .isp-plan__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.isp-exc-page .isp-plan__item { position: relative; background: #fff; padding: 30px; box-shadow: var(--isp-shadow); border-bottom: 6px solid var(--isp-red); }
.isp-exc-page .isp-plan__title { font-family: var(--isp-head); font-size: 32px; line-height: 1; margin: 0 0 10px; color: var(--isp-maroon); }
.isp-exc-page .isp-plan__title a { color: inherit; text-decoration: none; }
.isp-exc-page .isp-plan__item.has-link .isp-plan__title a::after { content: ""; position: absolute; inset: 0; }
.isp-exc-page .isp-plan__item.has-link:hover { border-bottom-color: var(--isp-maroon); }
.isp-exc-page .isp-plan__item.has-link:focus-within { box-shadow: var(--isp-focus); }
.isp-exc-page .isp-plan__item p { font-size: 16px; line-height: 24px; margin: 0; }

/* ---------- Single tour ---------- */
.isp-exc-page .isp-tour__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.isp-exc-page .isp-tour__main > .isp-badges { margin-bottom: 18px; }
.isp-exc-page .isp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 24px; margin: 0 0 40px; padding: 18px 0; border-top: 1px solid var(--isp-line); border-bottom: 1px solid var(--isp-line); }
.isp-exc-page .isp-facts dt { font-family: var(--isp-head); font-weight: 400; font-size: 18px; letter-spacing: .6px; color: var(--isp-red); margin-bottom: 4px; }
.isp-exc-page .isp-facts dd { margin: 0; font-size: 16px; line-height: 24px; }
.isp-exc-page .isp-facts__note { display: block; font-size: 14px; color: var(--isp-muted); }
.isp-exc-page .isp-facts__cats { list-style: none; margin: 0; padding: 0; }
.isp-exc-page .isp-facts__cats a { color: var(--isp-maroon); text-decoration: underline; text-underline-offset: 3px; }
.isp-exc-page .isp-block { margin: 0 0 44px; }
.isp-exc-page .isp-block__title { font-family: var(--isp-head); font-size: 40px; line-height: 1; color: var(--isp-maroon); margin: 0 0 18px; }
.isp-exc-page .isp-list { margin: 0; padding-left: 22px; }
.isp-exc-page .isp-list li { font-size: 17px; line-height: 28px; }
.isp-exc-page .isp-list li::marker,
.isp-exc-page .isp-content li::marker { color: var(--isp-red); }
.isp-exc-page .isp-content p { font-size: 17px; line-height: 28px; margin-bottom: 18px; }
.isp-exc-page .isp-content h3 { font-size: 28px; line-height: 32px; margin: 0 0 18px; color: var(--isp-maroon); }
.isp-exc-page .isp-content ul { margin: 0 0 18px; padding-left: 22px; }
.isp-exc-page .isp-content li { font-size: 17px; line-height: 28px; }
.isp-exc-page .isp-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.isp-exc-page .isp-gallery__link { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--isp-radius); }
.isp-exc-page .isp-gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.isp-exc-page .isp-gallery__link:hover .isp-gallery__img { transform: scale(1.04); }
.isp-exc-page .isp-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 0 0 44px; }
.isp-exc-page .isp-box { background: #fff; padding: 24px; border-top: 4px solid var(--isp-gold); }
.isp-exc-page .isp-box__title { font-family: var(--isp-head); font-size: 28px; line-height: 1; color: var(--isp-maroon); margin: 0 0 10px; }
.isp-exc-page .isp-box p { font-size: 16px; line-height: 24px; margin: 0 0 10px; }
.isp-exc-page .isp-box p:last-child { margin-bottom: 0; }
.isp-exc-page .isp-related__note { font-size: 16px; line-height: 24px; margin-bottom: 18px; }
.isp-exc-page .isp-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.isp-exc-page .isp-back { margin: 0; }
.isp-exc-page .isp-tour__aside { position: sticky; top: 130px; }
.isp-exc-page .isp-panel { background: #fff; padding: 28px; border-radius: 8px; border: 2px solid var(--isp-maroon); box-shadow: var(--isp-shadow); scroll-margin-top: 140px; }
.isp-exc-page .isp-panel__title { font-family: var(--isp-head); font-size: 30px; line-height: 1; color: var(--isp-maroon); margin: 0 0 16px; }
.isp-exc-page .isp-price--panel { margin: 0 0 18px; color: var(--isp-ink); }
.isp-exc-page .isp-price--panel > div { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--isp-line); }
.isp-exc-page .isp-price--panel dt { font-weight: 400; font-size: 16px; }
.isp-exc-page .isp-price--panel dd { margin: 0; font-family: var(--isp-head); font-size: 30px; color: var(--isp-maroon); }
.isp-exc-page .isp-price-note { margin: -8px 0 14px; }
.isp-exc-page .isp-panel__action .isp-btn { width: 100%; font-size: 24px; min-height: 54px; }
.isp-exc-page .isp-panel__note,
.isp-exc-page .isp-panel__info { margin-top: 14px; font-size: 14px; line-height: 21px; color: var(--isp-muted); }
.isp-exc-page .isp-panel__info p { font-size: 15px; line-height: 22px; margin-bottom: 10px; }
.isp-exc-page .isp-fh-calendar { margin: 0 0 16px; }
.isp-exc-page .isp-review { margin: 0 0 32px; padding: 12px 16px; background: #fff8e1; border: 1px solid #e8cf7a; border-radius: 6px; font-size: 14px; line-height: 21px; }
.isp-exc-page .isp-review summary { cursor: pointer; font-weight: 700; color: #6b4b00; }
.isp-exc-page .isp-review ul { margin: 10px 0 0; padding-left: 20px; }

/* ---------- Mobile booking bar ---------- */
.isp-mobilebar { display: none; }

/* ---------- Dialog (cruise line + gallery) ---------- */
.isp-dialog { border: 0; padding: 0; border-radius: 10px; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); color: #000; }
.isp-dialog::backdrop { background: rgba(20, 8, 8, .6); }
.isp-dialog__inner { position: relative; padding: 36px 32px 28px; }
.isp-dialog__title { font-family: var(--isp-head); font-size: 40px; line-height: 1; color: var(--isp-maroon); margin: 0 48px 8px 0; text-transform: uppercase; }
.isp-dialog__title--cruise { font-size: clamp(26px, 6vw, 36px); line-height: 1.05; margin-bottom: 16px; overflow-wrap: anywhere; }
.isp-dialog__line { display: block; }
.isp-dialog__body p { font-family: var(--isp-body); font-size: 16px; line-height: 25px; margin: 0 0 12px; color: #000; }
.isp-dialog__actions { margin-top: 18px; display: flex; justify-content: flex-end; }
.isp-dialog__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--isp-cream); color: var(--isp-maroon); font-size: 28px; line-height: 1; cursor: pointer; }
.isp-dialog__close:hover { background: var(--isp-maroon); color: #fff; }
html.isp-dialog-open { overflow: hidden; }
.isp-dialog--gallery { width: min(1100px, calc(100vw - 32px)); background: #111; }
.isp-dialog--gallery .isp-dialog__inner { padding: 56px 16px 16px; }
.isp-dialog--gallery img { display: block; max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; object-fit: contain; }
.isp-dialog--gallery .isp-dialog__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; color: #fff; font-size: 14px; }
.isp-dialog--gallery .isp-dialog__nav button { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid #fff; background: transparent; color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- Responsive (theme breakpoints: 1199 / 991 / 767 / 390) ---------- */
@media (max-width: 1199px) {
	.isp-exc-page .isp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.isp-exc-page .isp-other__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.isp-exc-page .isp-tour__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
}
@media (max-width: 991px) {
	.isp-exc-page .isp-tour__layout { grid-template-columns: 1fr; }
	.isp-exc-page .isp-tour__aside { position: static; order: -1; }
	.isp-exc-page .isp-tour__aside .isp-panel { margin-bottom: 8px; }
	.isp-exc-page .isp-tips__list,
	.isp-exc-page .isp-plan__list { grid-template-columns: 1fr; }
	.isp-exc-page .isp-feature { grid-template-columns: 1fr; padding: 24px; }
	.isp-exc-page .isp-filters__status { margin-left: 0; width: 100%; }
	.isp-mobilebar:not([hidden]) {
		display: flex; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; gap: 12px; align-items: center; justify-content: space-between;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .15); border-top: 3px solid var(--isp-red);
		transform: translateY(110%); transition: transform .25s ease; visibility: hidden;
	}
	.isp-mobilebar.is-visible { transform: translateY(0); visibility: visible; }
	.isp-mobilebar__info { display: flex; flex-direction: column; min-width: 0; }
	.isp-mobilebar__name { font-family: var(--isp-head); font-size: 20px; line-height: 1.05; color: var(--isp-maroon); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.isp-mobilebar__price { font-size: 13px; color: var(--isp-muted); }
	.isp-mobilebar .isp-btn { flex: none; font-size: 19px; padding: 10px 14px; }
	.isp-mobilebar .isp-btn .screen-reader-text { position: absolute !important; }
}
@media (max-width: 767px) {
	.isp-exc-page .isp-grid,
	.isp-exc-page .isp-grid--related { grid-template-columns: 1fr; gap: 24px; }
	.isp-exc-page .isp-section { padding-bottom: 80px; }
	.isp-exc-page .isp-section-title { font-size: 38px; }
	.isp-exc-page .isp-category__intro p { font-size: 18px; line-height: 28px; }
	.isp-exc-page .isp-facts { grid-template-columns: 1fr 1fr; }
	.isp-exc-page .isp-boxes { grid-template-columns: 1fr; }
	.isp-exc-page .isp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.isp-exc-page .isp-other__list { grid-template-columns: 1fr 1fr; gap: 12px; }
	.isp-exc-page .isp-other__link { min-height: 160px; padding: 14px; }
	.isp-exc-page .isp-other__name { font-size: 24px; }
	.isp-exc-page .isp-tips, .isp-exc-page .isp-other, .isp-exc-page .isp-plan { padding-top: 60px; }
	.isp-exc-page .isp-other, .isp-exc-page .isp-plan { padding-bottom: 150px; }
	.isp-exc-page .isp-filters__form { width: 100%; }
	.isp-exc-page .isp-filters__label { width: 100%; }
	/* Filter panels open in the page flow below their row (excursions.js sets the width and offsets). */
	.isp-exc-page .isp-filters__list { align-items: flex-start; }
	.isp-exc-page .isp-filter__panel { position: static; z-index: auto; width: var(--isp-panel-w, auto); min-width: 0; margin: 8px var(--isp-panel-mr, 0) 2px var(--isp-panel-ml, 0); border: 1px solid var(--isp-line); box-shadow: none; animation: isp-panel-in .18s ease-out; }
	.isp-exc-page .isp-filter__panel .isp-check { min-height: 44px; }
	.isp-exc-page .isp-hero__subtitle { font-size: 26px; }
	.isp-exc-page .isp-card__body { padding: 20px 18px 22px; }
	.isp-exc-page .isp-card__title { font-size: 28px; }
	.isp-exc-page .container { padding-left: 16px; padding-right: 16px; }
	.isp-exc--landing .isp-cat-gallery { margin-top: 32px; gap: 8px; }
}
@media (max-width: 390px) {
	.isp-exc-page .isp-card__actions { grid-template-columns: 1fr; }
	.isp-exc-page .isp-facts { grid-template-columns: 1fr; }
	.isp-exc-page .isp-other__list { grid-template-columns: 1fr; }
	.isp-exc-page .isp-chip { padding: 8px 14px; font-size: 14px; }
	.isp-mobilebar .isp-btn { font-size: 17px; padding: 10px; }
}
@keyframes isp-panel-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.isp-exc-page *, .isp-mobilebar { transition: none !important; }
	.isp-exc-page .isp-filter__panel { animation: none; }
}
@media print {
	.isp-mobilebar, .isp-exc-page .isp-filters, .isp-exc-page .isp-review { display: none !important; }
}

/* ---------- Private preview notice ---------- */
.isp-exc-page .isp-preview-notice { margin: 0 0 32px; padding: 10px 14px; background: #eef4f1; border: 1px solid #9fbcae; border-radius: 6px; font-size: 14px; line-height: 21px; color: #1f3a30; }
.isp-exc-page .isp-preview-notice a { color: #1f3a30; text-decoration: underline; }
.isp-exc-page .isp-landing-notice { padding-top: 24px; }
.isp-exc-page .isp-landing-notice .isp-preview-notice { margin-bottom: 24px; }

/* ---------- Single tour (wireframe layout: no hero; gallery 1 large + 2 stacked) ---------- */
/* The theme header normally floats over a hero image; tour pages give it a solid band in the theme colour. */
body.isp-exc--single .header-area:not(.fixed_header) { background-color: #571A19; }
.isp-exc--single #isp-main.isp-exc-page--single { padding-top: var(--isp-header-h, 180px); }
/* The landing has no hero banner (BugHerd #1): same solid header band and offset as tour pages. */
body.isp-exc--landing .header-area:not(.fixed_header) { background-color: #571A19; }
.isp-exc--landing #isp-main.isp-exc-page--landing { padding-top: var(--isp-header-h, 180px); }
.isp-exc-page--single .isp-section { padding-top: 0; }
.isp-exc-page--single .isp-breadcrumb { text-align: left; margin: 24px 0 20px; }
.isp-exc-page--single .isp-breadcrumb ol { justify-content: flex-start; }
.isp-exc-page .isp-tour-gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: clamp(320px, 38vw, 540px); margin: 0 0 40px; }
.isp-exc-page .isp-tour-gallery__slot { position: relative; display: block; min-height: 0; overflow: hidden; border-radius: 8px; background: #e4e4e2; }
.isp-exc-page .isp-tour-gallery__slot--main { grid-row: 1 / span 2; }
.isp-exc-page .isp-tour-gallery__slot--empty { background: #e4e4e2; }
.isp-exc-page .isp-tour-gallery__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.isp-exc-page a.isp-tour-gallery__slot:hover .isp-tour-gallery__img { transform: scale(1.03); }
.isp-exc-page .isp-tour-gallery__more { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 4px; background: rgba(0, 0, 0, .65); color: #fff; font-family: var(--isp-head); font-size: 18px; letter-spacing: .4px; line-height: 1.1; }
.isp-exc-page .isp-tour__title { font-family: var(--isp-head); font-size: clamp(40px, 4.2vw, 60px); line-height: .98; letter-spacing: 0; text-transform: uppercase; color: var(--isp-maroon); margin: 14px 0 22px; overflow-wrap: anywhere; }
.isp-exc-page--single .isp-tour__main > .isp-badges { margin-bottom: 0; }
.isp-exc-page--single .isp-tour__aside { top: 120px; }
@media (max-width: 991px) {
	.isp-exc-page .isp-tour-gallery { height: clamp(280px, 56vw, 460px); }
	.isp-exc-page--single .isp-tour__aside { order: 0; }
}
@media (max-width: 767px) {
	.isp-exc-page .isp-tour-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; gap: 8px; }
	.isp-exc-page .isp-tour-gallery__slot--main { grid-column: 1 / span 2; grid-row: auto; aspect-ratio: 4 / 3; }
	.isp-exc-page .isp-tour-gallery__slot--side { aspect-ratio: 4 / 3; }
	.isp-exc-page .isp-tour__title { font-size: 38px; }
}

/* ---------- 1.1.13: adaptive tour gallery (0 / 1 / 2 / 3 / 4+ photos) ---------- */
.isp-exc-page .isp-tour-gallery__img, .isp-exc-page .isp-card__img { object-position: 50% 40%; }
/* BugHerd #29: the 20th Anniversary ZipRider banner (wide, badge at the right edge) is anchored right so the badge is never cropped. */
.isp-exc-page img[src*="isp-ziprider-20th-anniversary"], .isp-exc-page img[data-isp-src*="isp-ziprider-20th-anniversary"] { object-position: 100% 50%; }
.isp-exc-page .isp-tour-gallery--n0, .isp-exc-page .isp-tour-gallery--n1 { grid-template-columns: minmax(0, 1fr); }
.isp-exc-page .isp-tour-gallery--n2 .isp-tour-gallery__slot--side { grid-row: 1 / span 2; }
.isp-exc-page .isp-tour-gallery__carousel { isolation: isolate; }
.isp-exc-page .isp-tour-gallery__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.isp-exc-page .isp-tour-gallery__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .45s ease; }
.isp-exc-page .isp-tour-gallery__slide-link { display: block; width: 100%; height: 100%; }
.isp-exc-page .isp-tour-gallery__slide-link:hover .isp-tour-gallery__img { transform: scale(1.03); }
.isp-exc-page .isp-tour-gallery__arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--isp-maroon); font-size: 30px; line-height: 40px; text-align: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); appearance: none; min-width: 0; }
.isp-exc-page .isp-tour-gallery__arrow:hover { background: #fff; }
.isp-exc-page .isp-tour-gallery__arrow:focus-visible { outline: 3px solid var(--isp-maroon); outline-offset: 2px; }
.isp-exc-page .isp-tour-gallery__arrow--prev { left: 12px; }
.isp-exc-page .isp-tour-gallery__arrow--next { right: 12px; }
@media (max-width: 767px) {
	.isp-exc-page .isp-tour-gallery--n0 .isp-tour-gallery__slot--main, .isp-exc-page .isp-tour-gallery--n1 .isp-tour-gallery__slot--main { grid-column: 1 / -1; }
	.isp-exc-page .isp-tour-gallery--n2 .isp-tour-gallery__slot--side { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 2 / 1; }
	.isp-exc-page .isp-tour-gallery__arrow { width: 40px; height: 40px; margin-top: -20px; line-height: 36px; font-size: 26px; }
	.isp-exc-page .isp-tour-gallery__arrow--prev { left: 8px; }
	.isp-exc-page .isp-tour-gallery__arrow--next { right: 8px; }
}

/* ---------- 1.1.13: card photo slider (2–3 photos) ---------- */
.isp-exc-page .isp-card__slides { position: relative; z-index: 0; touch-action: pan-y; }
.isp-exc-page .isp-card__slide { position: absolute; inset: 0; opacity: 0; transition: opacity var(--isp-card-fade, 400ms) ease, transform .6s ease; }
.isp-exc-page .isp-card__slide.is-active { opacity: 1; z-index: 1; }
.isp-exc-page .isp-card__dots { position: absolute; left: 50%; bottom: 6px; z-index: 2; display: flex; gap: 0; transform: translateX(-50%); }
.isp-exc-page .isp-card__dot { position: relative; width: 24px; height: 24px; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; cursor: pointer; appearance: none; }
.isp-exc-page .isp-card__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); transition: background .2s ease, transform .2s ease; }
.isp-exc-page .isp-card__dot:hover::before { background: rgba(255, 255, 255, .9); }
.isp-exc-page .isp-card__dot[aria-current="true"]::before { background: #fff; transform: scale(1.3); }
.isp-exc-page .isp-card__dot:focus-visible { outline: 2px solid #fff; outline-offset: -3px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .5); }
@media (forced-colors: active) { .isp-exc-page .isp-card__dot::before { background: CanvasText; } .isp-exc-page .isp-card__dot[aria-current="true"]::before { background: Highlight; } }

/* ---------- 1.1.16 / 1.1.18: booking panel before Related Tours and "Back to …" on small screens ---------- */
/* Markup order: main, booking aside, related tours, back link. Desktop keeps the two-column layout: related tours
   and the back link sit under the main column and the aside spans all rows so it stays sticky for the full height. */
@media (min-width: 992px) {
	.isp-exc-page--single .isp-tour__layout { grid-template-rows: auto auto 1fr; row-gap: 0; }
	.isp-exc-page--single .isp-tour__main { grid-column: 1; grid-row: 1; }
	.isp-exc-page--single .isp-tour__aside { grid-column: 2; grid-row: 1 / span 3; }
	.isp-exc-page--single .isp-related { grid-column: 1; grid-row: 2; }
	.isp-exc-page--single .isp-back { grid-column: 1; grid-row: 3; }
}
@media (max-width: 991px) {
	/* After the panel (margin 8px): related tours keep the 44px block rhythm, a direct back link the 36px step. */
	.isp-exc-page--single .isp-tour__layout { row-gap: 0; }
	.isp-exc-page--single .isp-tour__aside + .isp-related { margin-top: 36px; }
	.isp-exc-page--single .isp-tour__aside + .isp-back { margin-top: 28px; }
}

/* ---------- 1.1.17: Hero Banner Overlay (Excursions → Settings) ---------- */
/* Above the image, below the banner text (.banner-content-area z-index 2); never takes clicks. */
.isp-exc-page .isp-hero__media--overlay::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background-color: var(--isp-hero-overlay-color, #000);
	opacity: var(--isp-hero-overlay-opacity, .35);
}

/* ---------- 1.1.35: close control for FareHarbor's embedded checkout (added by excursions.js) ---------- */
/* Sits above the Lightframe (FareHarbor uses z-index 999999999) in the free top-right corner of its header. */
.isp-fh-close {
	position: fixed; top: 16px; right: 16px; z-index: 1000000000;
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; padding: 0 16px 0 12px;
	border: 2px solid #571A19; border-radius: 999px; background: #fff; color: #571A19; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
	font: 600 15px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.isp-fh-close > span[aria-hidden] { font-size: 26px; line-height: 1; margin-top: -2px; }
.isp-fh-close:hover { background: #571A19; color: #fff; }
.isp-fh-close:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.isp-fh-close[hidden] { display: none; }
@media (max-width: 480px) {
	.isp-fh-close { top: 8px; right: 4px; width: 44px; padding: 0; justify-content: center; }
	.isp-fh-close__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
