/* Greek Island Hopping — scoped editorial system. */
.haleys-greek-island-page .site-main.section { padding: 0; }
.haleys-greek-island-page .site-main > .container { width: 100%; max-width: none; padding: 0; }
.haleys-greek-island-page .entry-content { margin: 0; }

.greek-islands {
	--greek-navy: #082e4a;
	--greek-navy-deep: #042238;
	--greek-blue: #0b678a;
	--greek-sky: #dceff3;
	--greek-cream: #f7f2e8;
	--greek-limestone: #dfcfb5;
	--greek-ink: #183242;
	--greek-muted: #5b6c73;
	color: var(--greek-ink);
	background: #fff;
}
.greek-islands,.greek-islands * { border-radius: 0 !important; }
.greek-islands :is(h1,h2,h3) { color: var(--greek-navy); }
.greek-islands p { line-height: 1.75; }
.greek-islands a { text-underline-offset: .18em; }
.greek-islands .container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.greek-kicker { margin: 0 0 13px; color: var(--greek-blue); font-size: .76rem; font-weight: 700; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }

.greek-hero { position: relative; isolation: isolate; min-height: clamp(580px,68vh,720px); display: flex; overflow: hidden; color: #fff; background: var(--greek-navy-deep); }
.greek-hero__media,.greek-hero__veil { position: absolute; inset: 0; z-index: -2; }
.greek-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--greek-hero-position,50% 50%); }
.greek-hero__veil { z-index: -1; background: linear-gradient(90deg,rgba(2,22,37,.91) 0%,rgba(3,30,49,.78) 42%,rgba(3,30,49,.28) 72%,rgba(3,30,49,.12) 100%); }
.greek-hero__inner { display: flex; flex-direction: column; padding-block: 27px clamp(62px,7vw,86px); }
.greek-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: rgba(255,255,255,.72); font-size: .82rem; }
.greek-breadcrumbs a { color: #fff; text-decoration: none; }
.greek-breadcrumbs a:hover { text-decoration: underline; }
.greek-hero__copy { max-width: 820px; margin-top: auto; padding-top: 56px; }
.greek-hero .greek-kicker { color: #f0d29c; }
.greek-hero h1 { max-width: 880px; margin: 0 0 24px; color: #fff; font-size: clamp(2.56rem,5.36vw,4.96rem); letter-spacing: -.042em; line-height: 1.03; }
.greek-hero__lead { max-width: 720px; margin: 0; color: rgba(255,255,255,.88); font-size: clamp(1.08rem,2vw,1.33rem); }
.greek-actions { display: flex; flex-wrap: wrap; gap: 21px; align-items: center; margin-top: 32px; }
.greek-actions .button,.greek-enquiry .button { min-height: 48px; border-radius: 3px; }
.greek-text-link { color: #fff; font-weight: 700; text-decoration-color: rgba(255,255,255,.48); }

.greek-intro { padding-block: clamp(76px,9vw,116px); }
.greek-intro__grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(48px,8vw,116px); align-items: start; }
.greek-intro h2,.greek-section-heading h2 { margin: 0; font-size: clamp(2rem,4.08vw,3.57rem); letter-spacing: -.03em; line-height: 1.1; }
.greek-intro__grid > div:last-child { padding-top: 8px; border-top: 1px solid rgba(8,46,74,.2); }
.greek-intro__grid > div:last-child p { color: var(--greek-muted); font-size: 1.06rem; }

.greek-content-section,.greek-regions { padding-block: clamp(72px,8vw,108px); }
.greek-content-section--cream { background: var(--greek-cream); }
.greek-section-heading { max-width: 760px; margin-bottom: 44px; }
.greek-section-heading > p:last-child { color: var(--greek-muted); font-size: 1.05rem; }
.greek-region-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 22px; }
.greek-region-grid .greek-photo-card { grid-column: span 4; }
.greek-region-grid .greek-photo-card:first-child,.greek-region-grid .greek-photo-card:nth-child(2) { grid-column: span 6; }
.greek-photo-card { display: block; overflow: hidden; color: inherit; background: #fff; box-shadow: 0 12px 32px rgba(8,46,74,.09); text-decoration: none; }
.greek-photo-card figure { margin: 0; overflow: hidden; background: var(--greek-sky); }
.greek-photo-card img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .35s ease; }
.greek-photo-card:hover img { transform: scale(1.018); }
.greek-photo-card > div { padding: 26px 27px 29px; border-top: 3px solid var(--greek-blue); }
.greek-photo-card h3 { margin: 0 0 10px; font-size: 1.46rem; }
.greek-photo-card p { margin: 0; color: var(--greek-muted); }
.greek-photo-card span { display: inline-block; margin-top: 18px; color: var(--greek-blue); font-size: .77rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.greek-prose { max-width: 980px; }
.greek-prose > h2 { max-width: 790px; margin: 0 0 30px; font-size: clamp(1.91rem,3.66vw,3.19rem); letter-spacing: -.03em; line-height: 1.12; }
.greek-prose > h2::after { display: block; width: 72px; height: 2px; margin-top: 23px; background: var(--greek-blue); content: ""; }
.greek-prose h3 { margin: 39px 0 12px; font-size: clamp(1.22rem,2.34vw,1.71rem); line-height: 1.28; }
.greek-prose p,.greek-prose li { color: var(--greek-muted); font-size: 1.025rem; }
.greek-prose p { max-width: 850px; margin: 0 0 18px; }
.greek-prose ul { max-width: 820px; display: grid; gap: 10px; margin: 22px 0 26px; padding-left: 24px; }
.greek-prose a { color: var(--greek-blue); font-weight: 700; }
.greek-prose p strong:first-child:last-child { display: inline-flex; min-height: 46px; align-items: center; padding: 10px 22px; margin-top: 10px; color: #fff; background: var(--greek-blue); }
.greek-prose .greek-inline-cta { margin-top: 28px; }
.greek-prose .greek-inline-cta a { display: inline-flex; min-height: 46px; align-items: center; padding: 10px 22px; border: 1px solid var(--greek-blue); color: var(--greek-navy); text-decoration: none; }
.greek-prose .greek-inline-cta a:hover,.greek-prose .greek-inline-cta a:focus-visible { color: #fff; background: var(--greek-blue); }

.greek-gallery { padding-block: 24px 0; background: var(--greek-navy); }
.greek-gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px,1fr); gap: 16px; overflow-x: auto; padding-bottom: 24px; scroll-snap-type: x proximity; scrollbar-color: var(--greek-blue) transparent; }
.greek-gallery figure { min-width: 0; margin: 0; scroll-snap-align: start; }
.greek-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.greek-gallery figcaption { padding: 10px 2px 0; color: rgba(255,255,255,.72); font-size: .76rem; }

.greek-feature-strip { padding-block: clamp(22px,3vw,36px); background: var(--greek-navy); }
.greek-feature-strip__grid { display: grid; gap: 16px; }
.greek-islands--specialist .greek-feature-strip__grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.greek-islands--guide .greek-feature-strip__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.greek-feature-strip figure { margin: 0; overflow: hidden; }
.greek-feature-strip img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.greek-islands--specialist .greek-prose p > strong { color: var(--greek-navy); background: transparent; }
.greek-islands--specialist .greek-prose p > strong:first-child:last-child { min-height: 0; display: inline; margin: 0; padding: 0; color: var(--greek-navy); background: transparent; }

.greek-route-links { padding-block: clamp(60px,7vw,90px); background: #fff; }
.greek-route-links .container { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(8,46,74,.15); border: 1px solid rgba(8,46,74,.15); }
.greek-route-links a { min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; color: #fff; background: var(--greek-navy); text-decoration: none; }
.greek-route-links a:hover { background: #0b3d5e; }
.greek-route-links span { margin-bottom: 10px; color: #efd09a; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.greek-route-links strong { font-family: "Lora",serif; font-size: clamp(1.6rem,3vw,2.35rem); }

.greek-enquiry { padding-block: clamp(75px,9vw,112px); color: #fff; background: var(--greek-navy-deep); }
.greek-enquiry__inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: clamp(40px,8vw,100px); align-items: center; }
.greek-enquiry__inner > div { max-width: 780px; }
.greek-enquiry .greek-kicker { color: #efd09a; }
.greek-enquiry h2 { margin: 0 0 18px; color: #fff; font-size: clamp(1.91rem,3.4vw,3.02rem); letter-spacing: -.025em; }
.greek-enquiry p:last-child { margin: 0; color: rgba(255,255,255,.75); }
.greek-enquiry .button { white-space: nowrap; }

.greek-contact__layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(420px,1.18fr); gap: clamp(36px,6vw,82px); align-items: start; }
.greek-contact__intro { position: sticky; top: 118px; }
.greek-contact__intro h2 { margin: 0 0 20px; color: var(--greek-navy); font-family: "Lora",serif; font-size: clamp(1.7rem,3.4vw,2.9rem); line-height: 1.12; }
.greek-contact__intro ul { margin: 26px 0; padding-left: 1.2rem; }
.greek-contact__intro li + li { margin-top: 10px; }
.greek-contact__form { padding: clamp(22px,4vw,42px); border: 1px solid rgba(8,46,74,.16); background: #fff; box-shadow: 0 20px 50px rgba(14,36,64,.1); }

/* Match Forminator's approved River calendar when its generated form-ID selector is stale. */
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default { z-index: 1000 !important; font-family: inherit; }
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default::before { border-color: #097baa; background-color: #e6e6e6; opacity: 1; }
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-header .ui-corner-all { color: #fff; background-color: #097baa; }
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-header .ui-datepicker-title select { border-color: #bbb; color: #777771; background-color: #fff; }
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-calendar thead th { color: #333; }
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-calendar tbody td a.ui-state-default,
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-calendar tbody td.ui-state-disabled span { border-color: #e6e6e6; color: #777771; background-color: #e6e6e6; }
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-calendar tbody td a.ui-state-default:hover,
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-calendar tbody td a.ui-state-default.ui-state-hover { border-color: #ddd; color: #777771; background-color: #ddd; }
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default[class*="forminator-color-option--"] .ui-datepicker-calendar tbody td a.ui-state-default:focus,
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default[class*="forminator-color-option--"] .ui-datepicker-calendar tbody td a.ui-state-default.ui-state-hover,
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default[class*="forminator-color-option--"] .ui-datepicker-header .ui-datepicker-title select:focus { outline: 2px solid #254deb; outline-offset: 1px; }
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-calendar tbody td a.ui-state-default:active,
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-calendar tbody td a.ui-state-default.ui-state-active { border-color: #097baa; color: #fff; background-color: #097baa; }
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-calendar tbody td a.ui-state-default.ui-state-highlight { border-color: #097baa; color: #097baa; background-color: #c8dee7; }
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-calendar tbody td a.ui-state-default.ui-state-highlight:active,
body.haleys-greek-island-page #ui-datepicker-div.forminator-calendar--default .ui-datepicker-calendar tbody td a.ui-state-default.ui-state-highlight.ui-state-active { border-color: #097baa; color: #fff; background-color: #097baa; }

.greek-offer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.greek-offer-grid article { overflow: hidden; background: #fff; box-shadow: 0 12px 32px rgba(8,46,74,.09); }
.greek-offer-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.greek-offer-grid article > div { padding: 25px; }

.greek-islands--guide .greek-content-section:nth-of-type(n+6) .greek-prose h3 { padding-top: 20px; border-top: 1px solid rgba(8,46,74,.16); }

@media (max-width: 980px) {
	.greek-region-grid .greek-photo-card,.greek-region-grid .greek-photo-card:first-child,.greek-region-grid .greek-photo-card:nth-child(2) { grid-column: span 6; }
	.greek-islands--specialist .greek-feature-strip__grid,.greek-islands--guide .greek-feature-strip__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.greek-enquiry__inner { grid-template-columns: 1fr; }
	.greek-contact__layout { grid-template-columns: 1fr; }
	.greek-contact__intro { position: static; }
}

@media (max-width: 720px) {
	.greek-islands .container { width: min(100% - 28px,1180px); }
	.greek-hero { min-height: 0; }
	.greek-hero__veil { background: linear-gradient(0deg,rgba(2,22,37,.94) 0%,rgba(3,30,49,.61) 64%,rgba(3,30,49,.22) 100%); }
	.greek-hero__inner { padding-block: 20px 44px; }
	.greek-hero h1 { margin-bottom: 18px; font-size: clamp(1.8rem,8.4vw,2.4rem); line-height: 1.08; }
	.greek-hero__copy { margin-top: 42px; padding-top: 0; }
	.greek-hero__lead { font-size: 1rem; line-height: 1.6; }
	.greek-actions { gap: 14px; margin-top: 24px; }
	.greek-intro__grid { grid-template-columns: 1fr; gap: 35px; }
	.greek-region-grid { display: block; }
	.greek-region-grid .greek-photo-card + .greek-photo-card { margin-top: 18px; }
	.greek-gallery .container { width: 100%; padding-left: 14px; }
	.greek-gallery__track { grid-auto-columns: 82vw; }
	.greek-islands--specialist .greek-feature-strip__grid,.greek-islands--guide .greek-feature-strip__grid { grid-template-columns: 1fr; gap: 12px; }
	.greek-route-links .container { grid-template-columns: 1fr; }
	.greek-enquiry .button { width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
	.greek-photo-card img { transition: none; }
}
