/* Packages R4 presentation. Native content, type and palette retained. */
body.est-brand-patterns [data-est-packages-planning="r4"] {padding:26px 0 12px!important;background:transparent!important}
body.est-brand-patterns .est-ndp-planning {display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)!important;gap:40px!important;align-items:start!important;width:calc(100% - 48px);max-width:1248px;margin:0 auto!important;padding:28px!important;border:1px solid #e6ddd6;border-radius:14px;background:#fff!important;box-shadow:none!important}
.est-ndp-planning::before,.est-ndp-planning::after {display:none!important}
.est-ndp-planning .est-j-planning__copy,.est-ndp-planning .est-j-benefits {min-width:0;margin:0!important;padding:0!important}
.est-ndp-planning .est-day-tours-section-head {max-width:none!important;margin:0 0 20px!important;text-align:left!important}
body.est-brand-patterns [data-est-packages-planning="r4"] .est-ndp-planning .est-day-tours-section-head__eyebrow {display:block!important;text-align:left!important;font:500 13px/1.5 Lora,Georgia,"Times New Roman",serif!important;letter-spacing:normal!important;color:#a63e78!important;margin:0 0 12px!important}
.est-ndp-planning .est-day-tours-section-head__title {font:500 36px/1.2 'Playfair Display',Georgia,serif!important;color:#1c2e55!important;text-align:left!important;max-width:28ch!important;margin:0!important;padding:0!important}
.est-ndp-planning .est-day-tours-section-head__title::after,.est-ndp-planning .est-day-tours-section-head__title::before {display:none!important}
.est-ndp-planning .est-day-tours-intro__copy {margin:0!important;padding:0!important;color:#1c2e55!important;font:400 16px/1.75 Lora,Georgia,"Times New Roman",serif!important}
.est-ndp-planning .est-day-tours-intro__copy p {text-align:left!important;font:400 16px/1.75 Lora,Georgia,"Times New Roman",serif!important;margin:0 0 18px!important;color:#1c2e55!important}
.est-ndp-planning .est-ndp-extra {margin-top:22px}
.est-ndp-planning [hidden] {display:none!important}
.est-ndp-reading-toggle {display:inline-flex;align-items:center;min-height:44px;padding:6px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#a63e78!important;font:600 13px/1.5 Montserrat,Arial,sans-serif!important;text-decoration:underline!important;text-underline-offset:3px;cursor:pointer;box-shadow:none!important}
.est-ndp-benefit-list {display:flex;flex-direction:column;gap:12px;margin:0;padding:0;overflow:visible;scroll-snap-type:y proximity;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin}
.est-ndp-planning.is-enhanced .est-ndp-benefit-list {height:var(--ndp-list-height,300px);overflow-y:auto}
.est-ndp-benefit {flex:0 0 auto;position:relative;display:block;scroll-snap-align:start;min-height:136px;padding:18px 18px 18px 56px!important;border:1px solid rgba(28,46,85,.18);border-radius:10px;background:#f6f2ed;color:#1c2e55;box-sizing:border-box}
.est-ndp-benefit-icon {position:absolute;left:18px;top:20px;width:24px;height:24px;color:#1c2e55}
.est-ndp-benefit strong {display:block;font:700 15px/1.45 Lora,Georgia,"Times New Roman",serif!important;margin:0 0 8px!important;color:#1c2e55!important}
.est-ndp-planning .est-ndp-benefit p {font:400 16px/1.6 Lora,Georgia,"Times New Roman",serif!important;color:#1c2e55!important;margin:0!important;text-align:left!important}
.est-ndp-benefit-controls {display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:12px;font:500 13px/1.5 Montserrat,Arial,sans-serif;color:#1c2e55}
.est-ndp-benefit-controls button {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;background:#fff;color:#1c2e55;border:1px solid #1c2e55;border-radius:50%;font:400 22px/1 Montserrat,Arial,sans-serif;cursor:pointer}
.est-ndp-benefit-controls button:disabled {opacity:.35;cursor:default}
.est-ndp-planning :is(button,[tabindex]):focus-visible {outline:3px solid #a63e78!important;outline-offset:3px!important}
@media(max-width:1100px){body.est-brand-patterns .est-ndp-planning{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important}.est-ndp-planning .est-day-tours-section-head__title{font-size:30px!important}}
@media(max-width:767px){body.est-brand-patterns [data-est-packages-planning="r4"]{padding-top:20px!important}body.est-brand-patterns .est-ndp-planning{width:calc(100% - 28px);grid-template-columns:minmax(0,1fr)!important;gap:20px!important;padding:20px 18px!important}.est-ndp-benefit{padding:14px 14px 14px 48px!important}.est-ndp-benefit-icon{left:14px;top:16px;width:22px;height:22px}.est-ndp-benefit-controls{justify-content:flex-start;margin-top:8px}}
@media(prefers-reduced-motion:reduce){.est-ndp-planning *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Packages-only reading comparison: keep every authored cell and link reachable. */
[data-est-packages-planning="r4"] .est-day-tours-intro-more__table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-gutter:stable}
[data-est-packages-planning="r4"] .est-day-tours-intro-more__table{width:100%;min-width:560px}
[data-est-packages-planning="r4"] #est-ux-section-1{scroll-margin-top:calc(var(--est-brand-header,120px) + var(--est-brand-nav,62px) + 70px)!important}

/* Packages R4 only: retain native content, palette, fonts and gradients. */
body.est-brand-patterns.page-id-9065:has([data-est-packages-planning="r4"]) #st-content-wrapper .est-day-tours-destination-card__cta{color:#fff!important}
body.est-brand-patterns.page-id-9065:has([data-est-packages-planning="r4"]) #st-content-wrapper .est-egypt-packages-featured .est-day-tours-destination-card__image{width:100%!important;min-width:0;max-width:100%}
body.est-brand-patterns.page-id-9065:has([data-est-packages-planning="r4"]) #st-content-wrapper h2[id]:not(#est-ux-section-1){scroll-margin-top:calc(var(--est-brand-header,120px) + var(--est-brand-nav,62px) + 48px - var(--est-packages-root-padding,0px))!important}

/* Packages tablet: fill equal-height style cards, retaining existing photo frames. */
@media(min-width:768px) and (max-width:1319px){
body.est-brand-patterns.page-id-9065:has([data-est-packages-planning="r4"]) #st-content-wrapper .est-egypt-packages-styles .est-day-tours-destination-card__link{display:flex!important;flex-direction:column}
body.est-brand-patterns.page-id-9065:has([data-est-packages-planning="r4"]) #st-content-wrapper .est-egypt-packages-styles .est-day-tours-destination-card__image{align-self:flex-start}
body.est-brand-patterns.page-id-9065:has([data-est-packages-planning="r4"]) #st-content-wrapper .est-egypt-packages-styles .est-day-tours-destination-card__body{flex:1 0 auto}
}

/* Packages R4: enlarge only the six featured CTA tap areas. */
body.est-brand-patterns.page-id-9065:has([data-est-packages-planning="r4"]) #st-content-wrapper .est-egypt-packages-featured-listings .est-card--package .est-card__cta{min-height:44px;display:flex;align-items:center;justify-content:center}

body.est-brand-system.page-id-9065 .est-j-hero.est-brand-hero--packages {
	min-height: 0;
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-hero__copy {
	min-width: 0;
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-brand-media--river {
	position: relative;
	min-width: 0;
	min-height: 0;
	background: var(--est-brand-paper);
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-brand-river__photo {
	clip-path: none !important;
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages :is(.est-brand-river__edge, .est-brand-river__mobile) {
	display: none;
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-brand-photo {
	object-position: center 60%;
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-pins {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-top: 20px;
	border-block: 1px solid var(--est-brand-plum);
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-pins a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 44px;
	padding: 6px 3px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #813060;
	text-align: center;
	white-space: normal;
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-pins a:not(:nth-child(3n)) {
	border-inline-end: 1px solid #e2d9d1;
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-pins a:nth-child(n+4) {
	border-top: 1px solid #e2d9d1;
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-pins a:hover {
	background: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-pins a:focus-visible {
	position: relative;
	z-index: 1;
	outline: 2px solid #813060;
	outline-offset: -3px;
}

@media (min-width: 768px) {
	body.est-brand-system.page-id-9065 .est-j-hero.est-brand-hero--packages {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
		gap: clamp(20px, 3.2vw, 48px);
		padding: 32px max(24px, calc((100% - 1220px) / 2));
	}

	body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-hero__copy {
		width: 100%;
		padding: 10px 0;
	}

	body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-brand-media--river {
		width: 100%;
		height: clamp(310px, 33vw, 425px);
		align-self: center;
		border-radius: 14px;
	}
}

@media (min-width: 1200px) {
	body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-pins {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-pins a:nth-child(n) {
		border-top: 0;
		border-inline-end: 1px solid #e2d9d1;
	}

	body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-pins a:last-child {
		border-inline-end: 0;
	}
}

@media (max-width: 767px) {
	body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-brand-media--river {
		height: 148px;
	}

	body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-hero__copy {
		padding-top: 18px;
		padding-bottom: 22px;
	}

	body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-brand-photo {
		object-position: center 44%;
	}

	body.est-brand-system.page-id-9065 .est-brand-hero--packages .est-j-pins {
		margin-inline-end: 58px;
	}
}
