/*
Theme Name: Morocco Portal
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A clean, lightweight classic theme for the Morocco Portal website.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: morocco-portal
*/

/* Base styles */
html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}
body {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
	line-height: 1.6;
	color: #111827;
	background: #ffffff;
}

:root {
	--mp-green: #0f5132; /* deep green from design */
	--mp-cream: #efe8db; /* light beige background */
	--mp-text: #111827; /* dark text */
	--mp-muted: #6b7280; /* muted gray */
	--mp-border: #e5e7eb;
}

/* Brand palette overrides */
:root {
	--mp-orange: #FF6B00;
	--mp-sand: #FFF2E3;
	--mp-peach: #FFD3B2;
}

/* Hero title and CTA color updates for landing template */
.page-template-template-landing .landing-hero__title { color: var(--mp-orange); }
.page-template-template-landing .btn-brand { background: var(--mp-orange); border-color: var(--mp-orange); }
.page-template-template-landing .btn-brand:hover { filter: brightness(1.03); }

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}

.site-header {
	border-bottom: none;
	padding: 16px 0;
	margin-bottom: 24px;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
}
.site-title { font-weight: 600; font-size: 20px; color: inherit; text-decoration: none; }
/* Constrain custom logo size */
.site-header .custom-logo { height: 56px; width: auto; }
@media (max-width: 600px) { .site-header .custom-logo { height: 40px; } }

.site-branding a {
	text-decoration: none;
	color: inherit;
	font-weight: 600;
	font-size: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Della Respira', serif;
}

.top-banner {
	background: var(--mp-orange);
	color: #fff;
	padding: 8px 0;
	text-align: center;
	font-weight: 600;
	font-family: 'Della Respira', serif;
}
.top-banner a { color: #fff; text-decoration: underline; }
/* Smaller announcement text on mobile */
@media (max-width: 600px) {
	.top-banner { padding: 6px 0; font-size: 14px; line-height: 1.25; }
}

.header-cta .header-cta__link {
	color: var(--mp-orange);
	font-weight: 700;
	text-decoration: none;
	font-family: 'Della Respira', serif;
	white-space: nowrap;
}
.header-cta .header-cta__link:hover { text-decoration: underline; }
.header-cta { display: flex; align-items: center; gap: 8px; font-family: 'Della Respira', serif; }
.header-cta__label { font-weight: 600; color: inherit; font-family: 'Della Respira', serif; }
/* Compact header CTA on small screens */
@media (max-width: 600px) {
	.header-cta { flex-direction: column; align-items: flex-end; gap: 2px; }
	.header-cta__label { display: block; font-size: 12px; }
	.header-cta .header-cta__link { font-size: 16px; }
	.site-header__inner { gap: 10px; }
}

/* ===== Booking Page ===== */
.booking-page { padding: 32px 0 48px; }
.booking-grid {
	display: grid;
	grid-template-columns: .9fr 1.3fr; /* give the widget more room on larger screens */
	gap: 24px;
	align-items: start;
}
.booking-title { margin: 0 0 8px; }
.booking-sub { margin: 0 0 16px; color: var(--mp-muted); }
.booking-card {
	background: var(--mp-sand);
	border: 1px solid var(--mp-border);
	border-radius: 12px;
	padding: 20px;
}
.booking-card__title { margin: 0 0 12px; font-size: 22px; }
.booking-list { margin: 0 0 16px; padding-left: 0; list-style: none; }
.booking-list li { margin: 6px 0; position: relative; padding-left: 24px; }
.booking-list li:before { content: "✨"; position: absolute; left: 0; top: 0; }
.booking-price {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: 'Della Respira', serif;
}
.booking-price .price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.booking-price .badge { background: var(--mp-orange); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.booking-price .was { color: var(--mp-muted); text-decoration: line-through; font-size: 16px; }
.booking-price .now { font-size: 32px; color: var(--mp-orange); font-weight: 700; }
.booking-price .price-note { color: var(--mp-muted); font-size: 12px; font-style: italic; }
.booking-right { width: 100%; }

/* Sprintful embed sizing:
   - Keep compact height on mobile
   - Increase vertical space on larger screens to avoid internal scrolling */
.booking-right .sprintful-inline-widget { width: 100%; height: 630px; }
/* Calendly embed sizing (mirrors Sprintful rules) */
.booking-right .calendly-inline-widget { width: 100%; height: 630px; }
/* On larger screens, size the iframe to the viewport to avoid inner scroll
   without leaving excessive blank space below on shorter steps. */
@media (min-width: 821px) {
	.booking-right .sprintful-inline-widget,
	.booking-right .calendly-inline-widget {
		height: clamp(1000px, calc(100dvh - 120px), 1400px) !important;
	}
}
/* Make the left summary sticky only on large screens (side-by-side layout) */
@media (min-width: 821px) {
	.booking-left {
		position: sticky;
		top: 16px;
		align-self: start; /* ensure sticky relative to grid row start */
		height: -moz-fit-content;
		height: fit-content;
	}
}
/* For medium screens, stack columns and give extra vertical room */
@media (max-width: 820px) {
	.booking-grid { grid-template-columns: 1fr; }
}
/* No special height override for 821–1200px; clamp above handles it */

@media (max-width: 820px) {
	.booking-grid { grid-template-columns: 1fr; }
}

/* ===== Floating Contact Widget (button color only) ===== */
.mp-contact-widget .mp-contact-button { background: var(--mp-orange); color: #fff; }
.mp-contact-widget .mp-contact-button:hover { filter: brightness(1.05); }

.site-nav {
	display: flex;
	gap: 16px;
}



.site-footer {
	border-top: 1px solid var(--mp-border);
	padding: 24px 0;
	color: var(--mp-muted);
}

.hero {
	padding: 64px 0 32px;
	background: #f9fafb;
	border-bottom: 1px solid var(--mp-border);
}

/* Front page gutters: ensure consistent side whitespace */
.home .site-content > section {
	padding-left: 16px;
	padding-right: 16px;
}
.home .site-content > section > div {
	max-width: 1200px;
	margin: 0 auto;
}

/* Why Choose Us */
.why-choose-us {
	padding: 48px 0;
	background: var(--e-global-color-secondary);
}
.why-choose-us .container {
	max-width: 1200px;
	padding: 0 16px;
}
.why-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.why-card {
	background: #fff;
	border: 1px solid var(--mp-border);
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 1px 2px rgba(0,0,0,.03);
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: start;
}
.why-icon { width: 44px; height: 44px; display: block; }
.why-card h3 {
	margin: 0 0 6px;
}
.why-card p {
	margin: 0;
	color: var(--mp-muted);
}

@media (max-width: 900px) {
	.why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.why-grid { grid-template-columns: 1fr; }
}

/* About section */

.about-section {
	padding: 24px 0 56px;
	background: #fff;
}
.about-grid {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	grid-template-areas:
		"title title"
		"copy image";
	gap: 24px;
	align-items: center;
}
.about-title { grid-area: title; margin-top: 0; text-align: center; margin-bottom: 0; }
.about-title h2 { margin: 0; }
.about-copy { grid-area: copy; }
.about-figure { grid-area: image; }
.about-image {
	width: 100%;
	max-width: 420px;
	border-radius: 50%;
	display: block;
	margin-left: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
@media (max-width: 900px) {
	.about-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"title"
			"image"
			"copy";
	}
	.about-image { margin: 0 auto; }
}

.hero h1 {
	margin: 0 0 8px;
	font-size: 36px;
	line-height: 1.2;
}

.hero p {
	margin: 0;
	color: #4b5563;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 6px;
	border: 1px solid transparent;
	text-decoration: none;
	font-weight: 600;
}
.btn-primary {
	background: var(--mp-green);
	color: #fff;
	border-color: var(--mp-green);
}
.btn-primary:hover {
	filter: brightness(1.05);
}

/* Brand button (matches provided example) */
.btn-brand {
	background: var(--e-global-color-primary);
	color: #fff;
	border-color: var(--e-global-color-primary);
	font-family: 'Della Respira', serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.2;
	border-radius: 0;
	padding: 10px 18px;
}
.btn-brand:hover { filter: brightness(1.05); }

/* Section: Why Choose Us overlay heading */
.section-heading-overlay {
	position: relative;
	text-align: center;
	color: #fff;
	font-size: 32px;
	margin: -52px auto 16px;
	text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

/* Packages */
.packages {
	background: var(--mp-cream);
	padding: 48px 0;
	border-top: 1px solid var(--mp-border);
	border-bottom: 1px solid var(--mp-border);
}
.packages-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.package-card {
	background: var(--mp-green);
	color: #fff;
	border-radius: 12px;
	padding: 20px;
}
.package-card h3 {
	margin-top: 0;
}
.package-price {
	font-size: 28px;
	font-weight: 700;
	margin: 12px 0;
}

/* Challenges/Benefits section */
.benefits {
	background: #fff;
	padding: 40px 0 20px;
}
.benefits .benefits-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.benefit {
	background: var(--mp-cream);
	border: 1px solid var(--mp-border);
	border-radius: 8px;
	padding: 16px;
}
.benefits-cta { text-align: center; margin: 20px 0 0; }
@media (max-width: 1000px) { .benefits .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefits .benefits-grid { grid-template-columns: 1fr; } }

/* Planning process */
.process {
	background: var(--mp-cream);
	padding: 40px 0;
	border-top: 1px solid var(--mp-border);
}
.process h2 { text-align: center; margin: 0 0 16px; }
.process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.step { text-align: center; }
.step .num { font-size: 44px; font-weight: 600; font-family: 'Della Respira', serif; color: var(--mp-text); }
.step h3 { margin: 8px 0; }
.step p { color: var(--mp-muted); margin: 0; }
@media (max-width: 1000px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }

/* Booking CTA section */
.booking {
	background: #fff;
	padding: 36px 0 44px;
	text-align: center;
	border-top: 1px solid var(--mp-border);
}
.booking h2 { margin: 0 0 12px; }

/* Booking plans */
.plans {
    background: #fff;
    padding: 48px 0;
    border-top: 1px solid var(--mp-border);
}

/* Package single page */
.package-wrap { background: var(--e-global-color-secondary); }
.package-single { max-width: 980px; margin: 0 auto; background: #fff; padding: 24px; border: 1px solid var(--mp-border); border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.package-single .plan-tier { text-align: left; opacity: .8; margin-bottom: 4px; font-size: 14px; }
.package-single h1 { margin: 0 0 8px; font-size: 42px; line-height: 1.2; }
.package-single .entry-content { margin-top: 8px; }
.package-desc { margin: 8px auto 12px; color: var(--mp-text); text-align: center; max-width: 720px; }
.package-desc p { margin: 0 0 8px; }
.package-single .plan-features { list-style: none; padding: 0; margin: 16px 0; }
.package-single .plan-features li { margin: 14px 0; display: grid; grid-template-columns: 18px 1fr; column-gap: 5px; align-items: start; line-height: 1.55; }
.package-single .plan-features .feature-icon { display:none; }
.package-single .feature-title { display: block; font-weight: 700; margin-bottom: 2px; color: var(--mp-text); font-size: 18px; }
.package-single .feature-desc { display: block; color: var(--mp-muted); font-size: 16px; }

.booking-form label { font-weight: 600; color: var(--mp-text); }
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="date"],
.booking-form input[type="number"],
.booking-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--mp-border); border-radius: 8px; background: #fff; }
.booking-form textarea { resize: vertical; }
.notice-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #064e3b; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }

/* Header layout and grid */
.pkg-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--mp-border); }
.badge-tier { background: var(--e-global-color-primary); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; margin-right: 10px; }
.pkg-header h1 { display: inline-block; margin: 0; font-size: 42px; line-height: 1.2; }
.badge-row { margin-top: 6px; }
.pkg-price { font-size: 14px; color: var(--mp-text); display: flex; align-items: baseline; gap: 6px; }
.pkg-price strong { font-size: 36px; color: var(--e-global-color-primary); font-family: 'Della Respira', serif; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 720px; }
.form-grid .col-1-2 { grid-column: span 1; }
.form-grid .col-1-1 { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.plans h2 { text-align: center; margin: 0 0 8px; }
.plans-sub { text-align: center; color: var(--mp-text); margin: 0 0 24px; font-size: 16px; line-height: 1.6; }
.plan-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.plan {
    background: var(--e-global-color-primary);
    color: var(--mp-cream);
    border-radius: 0;
    border-top-left-radius: 180px;
    border-top-right-radius: 180px;
    padding: 50px 18px 18px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.plan h3 { margin: 0 0 12px; text-align: center; font-size: 26px; font-weight: 400; }
.plan-desc { color: var(--mp-cream); opacity: .95; margin: 8px auto 10px; text-align: center; max-width: 520px; }
.plan-desc p { margin: 0 0 6px; }
.plan-tier { text-align: center; opacity: .9; margin-bottom: 6px; font-weight: 400; }
.plan-features { list-style: none; padding: 0; margin: 16px 0; }
.plan-features li { margin: 10px 0; display: grid; grid-template-columns: 14px 1fr; column-gap: 8px; align-items: start; line-height: 1.5; }
.plan-features li::before { content: '\2726';  font-size: 16px; line-height: 1; margin-top: 6px; grid-column: 1; grid-row: 1 / span 2; }
.feature-title { display: block; font-weight: 700; margin-bottom: 2px; }
.feature-desc { display: block; color: var(--mp-cream); opacity: .95; }
/* Ensure title and description occupy the text column (second column) */
.plan-features li .feature-title,
.plan-features li .feature-desc { grid-column: 2; }

/* Lay out long feature lists in two columns on large screens to reduce card height */
.plan-features { display: block; }
.plan-features li .feature-title { font-weight: 700; } /* legacy selector - harmless */
.plan-price { text-align: center; margin: 12px 0; margin-top: auto; }

/* Footer at bottom of card (plain background, no overlay) */
.plan-footer { margin-top: auto; padding-top: 8px; background: var(--e-global-color-primary); position: static; }
.plan-price .from { font-size: 14px; opacity: .9; margin-right: 6px; }
.plan-price .amount { font-family: 'Della Respira', serif; font-size: 36px; font-weight: 700; }
.plan-cta { margin-top: 8px; text-align: center; }
.plan .btn-brand { display: inline-block; }

/* Ghost button for dark cards */
.btn-ghost {
	background: var(--mp-cream);
	color: var(--e-global-color-primary);
	border-color: var(--mp-cream);
	font-family: 'Della Respira', serif;
	font-weight: 400;
	border-radius: 0px;
}
.btn-ghost:hover { filter: brightness(0.98); }

@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }

/* Small divider between description and features */
.mp-divider {
    border: 0;
    border-top: 1px solid var(--mp-cream);
    opacity: .6;
    margin: 8px auto 10px;
    width: 88%;
    max-width: 520px;
}
.package-single .mp-divider { border-top-color: var(--mp-border); opacity: 1; }


/* Contact widget styles moved to plugin */



/* Landing page template */
.page-template-template-landing .site-content.container {
	max-width: 100%;
	padding: 0;
}

.landing-hero {
	position: relative;
	color: var(--mp-text);
	padding: 32px 0 16px;
	overflow: hidden;
	background: #fff;
}
.landing-hero__bg {
	display: none;
}
.landing-hero .container { position: relative; z-index: 2; }
.landing-hero__header { text-align: center; max-width: 760px; margin: 0 auto; }
.landing-hero__title {
	margin: 0 0 12px;
	font-size: 36px;
	line-height: 1.15;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .01em;
}
.landing-hero__lead {
	margin: 0;
	font-size: 15px;
	color: var(--mp-text);
}
.landing-hero__title { color: var(--mp-orange); }
.landing-hero__images { margin: 12px 0 6px; }
.landing-hero__scroller { overflow: hidden; }
.landing-hero__track { display: flex; gap: 12px; width: max-content; animation: hero-marquee 40s linear infinite; padding-bottom: 8px; }
.landing-hero__img {
	width: 160px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 6px 14px rgba(0,0,0,.07);
	scroll-snap-align: center;
	border: 1px solid var(--mp-border);
}
.landing-hero__cta { margin-top: 12px; text-align: center; }

@keyframes hero-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* Subtle stagger for visual rhythm on larger screens */
@media (min-width: 900px) {
	.landing-hero__img:nth-child(2n) { transform: translateY(6px); }
	.landing-hero__img:nth-child(3n) { transform: translateY(-6px); }
}

@media (max-width: 900px) {
	.landing-hero__title { font-size: 30px; }
	.landing-hero__img { width: 140px; }
}
@media (max-width: 600px) {
	.landing-hero__title { font-size: 24px; }
	.landing-hero__img { width: 120px; }
}

/* On small screens, use horizontal scroll instead of wrapping */
@media (max-width: 700px) {
	.landing-hero__track { animation-duration: 50s; }
}

@media (prefers-reduced-motion: reduce) {
	.landing-hero__track { animation: none; }
}

/* Expert section */
.expert-section { background: var(--mp-sand); padding: 28px 0 44px; margin: 28px 0; }
.expert-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: center;
	gap: 20px;
}
.expert-eyebrow {
	margin: 0 0 10px;
	font-size: 42px;
	line-height: 1.1;
	font-weight: 400;
	text-transform: uppercase;
}
.expert-card {
	background: var(--mp-peach);
	padding: 16px 18px;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	position: relative;
	z-index: 2; /* sit above the image when overlapping */
}
.expert-title { margin: 0 0 6px; font-size: 28px; line-height: 1.25; font-weight: 400; }
.expert-sub { margin: 0 0 10px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.expert-text p { margin: 0 0 10px; }
.expert-figure { margin: 0; position: relative; z-index: 1; }
.expert-image { width: 100%; height: auto; display: block; object-fit: cover; }

/* Create subtle overlap so image sits partially behind the text card */
@media (min-width: 1000px) {
	/* Desktop: match original look with stronger overlap */
	.expert-card { width: 100%; margin-left: 0; }
	/* Center the composition: nudge card right and image left equally */
	.expert-copy { position: relative; left: 40px; }
	.expert-figure { width: 100%; margin-left: 0; position: relative; left: -40px; } /* slight overlap while keeping centered */
}

@media (max-width: 900px) {
	.expert-section { overflow: visible; } /* allow overlap to show */
	.expert-grid { grid-template-columns: 1fr; position: relative; }
	.expert-eyebrow { font-size: 34px; text-align: left; }
	/* keep the overlap: pull image up under the card */
	/* Make both a bit narrower and offset in opposite directions */
	.expert-card { width: 92%; margin-left: 6%; outline: 6px solid var(--mp-sand); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
	.expert-figure { width: 96%; margin-left: -4%; margin-top: -24px; }
	/* visually separate the card from the image */
}
@media (max-width: 600px) {
	.expert-section { padding: 18px 0 24px; margin: 16px 0; }
	/* tighten vertical spacing and keep elements on-screen */
	.expert-grid { gap: 6px; }
	.expert-card { padding: 14px; width: 92%; margin-left: 8%; }
	.expert-title { font-size: 22px; }
	/* keep overlap but ensure image stays fully within viewport */
	.expert-figure { width: 96%; margin-left: 2%; margin-top: -18px; }
	/* slightly stronger outline to ensure separation on very small screens */
	.expert-card { outline: none; }
}
/* Tablet / medium screens: keep two columns and subtle overlap */
@media (min-width: 700px) and (max-width: 999px) {
	.expert-grid { grid-template-columns: 1.05fr .95fr; gap: 16px; }
	.expert-copy { position: relative; left: 24px; }
	.expert-card { width: 100%; margin-left: 0; }
	.expert-figure { position: relative; left: -24px; margin-left: 0; width: 100%; }
	.expert-eyebrow { font-size: 38px; }
}
/* Corrected root palette to ensure variables are available */
:root {
	--mp-text: #111827;
	--mp-orange: #FF6B00;
	--mp-sand: #FFF2E3;
	--mp-peach: #FFD3B2;
}

/* Make hero title black and make scroller full-bleed on the landing template */
.page-template-template-landing .landing-hero__title { color: var(--mp-text) !important; }
.page-template-template-landing .landing-hero__scroller {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Mobile refinements for landing hero */
@media (max-width: 600px) {
	.landing-hero { padding: 20px 0 10px; }
	.landing-hero__title { font-size: 22px; line-height: 1.25; letter-spacing: 0; }
	.landing-hero__lead { font-size: 14px; padding: 0 10px; }
	.landing-hero__img { width: 110px; border-radius: 8px; box-shadow: 0 3px 10px rgba(0,0,0,.06); }
	/* Full-bleed scroller without side whitespace */
	.page-template-template-landing .landing-hero__scroller { margin-left: -16px; margin-right: -16px; }
	.page-template-template-landing .landing-hero__track { gap: 8px; padding: 0 16px; animation-duration: 45s; }
	.landing-hero__cta { margin-top: 10px; }
}

/* Mobile hero spacing and taller slideshow (landing template) */
@media (max-width: 600px) {
	.page-template-template-landing .landing-hero { padding-top: 40px; padding-bottom: 14px; }
	.page-template-template-landing .landing-hero__header { padding: 0 10px; }
	.page-template-template-landing .landing-hero__title { margin-bottom: 8px; }
	.page-template-template-landing .landing-hero__lead { margin-top: 6px; margin-bottom: 12px; }
	.page-template-template-landing .landing-hero__images { margin: 14px 0 10px; }
	.page-template-template-landing .landing-hero__track { gap: 12px; }
	/* Taller images, fewer visible at once */
	.page-template-template-landing .landing-hero__img { width: 150px; aspect-ratio: 3 / 4; }
	.page-template-template-landing .landing-hero__cta { margin-top: 14px; }
}

/* User-requested mobile spacing overrides */
@media (max-width: 600px) {
	.page-template-template-landing .landing-hero { padding-top: 25px; }
}

/* ===== Comparison section (Custom vs Packages) ===== */
.compare-section { padding: 24px 0; background: var(--mp-peach); }
.compare-section .section-title { margin: 0 0 6px; font-size: 28px; }
.compare-section .section-sub { margin: 0 0 14px; color: var(--mp-text); opacity: .85; }
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th,
.compare-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--mp-cream); vertical-align: top; }
.compare-table thead th { background: var(--mp-sand); font-weight: 600; position: sticky; top: 0; }
.compare-table tbody tr:nth-child(even) td,
.compare-table tbody tr:nth-child(even) th[scope="row"] { background: #fff9f2; }
.compare-table th[scope="row"] { width: 26%; font-weight: 600; color: var(--mp-text); }
.compare-cta .btn { margin-top: 4px; }

@media (max-width: 640px) {
	.compare-section .section-title { font-size: 22px; }
	.compare-table { font-size: 14px; }
	.compare-table th[scope="row"] { width: 40%; }
}

@media (max-width: 600px) {
	.page-template-template-landing .landing-hero__lead { margin-top: 17px; margin-bottom: 30px; }
}

@media (max-width: 600px) {
	.page-template-template-landing .landing-hero__images { margin: 14px 0 30px; }
}

/* Ensure slideshow tiles are fully visible at edges */
.page-template-template-landing .landing-hero__scroller { padding-left: 0; padding-right: 0; }

@media (max-width: 700px) {
	.page-template-template-landing .landing-hero__scroller { padding-left: 0; padding-right: 0; }
	.page-template-template-landing .landing-hero__track { padding: 0; }
}

/* Force full-bleed slideshow without side whitespace on all viewports */
.page-template-template-landing .landing-hero__scroller {
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* Uniform alignment for hero slideshow tiles */
.page-template-template-landing .landing-hero__track { align-items: center; }
.page-template-template-landing .landing-hero__track .landing-hero__img { transform: none !important; }

/* Reasons (Why Morocco Portal) */
.reasons { background: #fff; padding: 40px 0; }
.reasons-title { margin: 0 0 6px; font-size: 42px; line-height: 1.2; text-transform: uppercase; font-weight: 400; }
.reasons-sub { margin: 0 0 22px; color: var(--mp-text); }
.reasons-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.reason-card {
	background: var(--mp-peach);
	border: 1px solid var(--mp-border);
	padding: 16px;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 240px; /* unify card height on desktop */
}
.reason-card h3 { margin: 0 0 8px; font-weight: 400; font-size: 26px; color: var(--mp-text); }
.reason-card p { margin: 0; color: var(--mp-text);}
@media (max-width: 1000px) {
	.reasons-grid { grid-template-columns: 1fr 1fr; }
	.reason-card { min-height: 220px; }
}
@media (max-width: 600px) {
	.reasons { padding: 28px 0; }
	.reasons-title { font-size: 34px; }
	.reasons-grid { grid-template-columns: 1fr; }
	.reason-card { min-height: 0; }
}

/* Planning CTA section */
.plan-cta { background: var(--mp-sand); padding: 40px 0; }
.plan-cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: center;
}
.section-eyebrow { margin: 0 0 8px; font-size: 42px; line-height: 1.15; font-weight: 400; text-transform: uppercase; }
.plan-cta .section-eyebrow { font-size: 32px; }
.plan-cta-lead { margin: 0 0 14px; color: var(--mp-text); }
.plan-cta-sub { margin: 10px 0 6px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; font-size: 14px; }
.plan-cta-list { margin: 0 0 14px 0; padding: 0; list-style: none; }
.plan-cta-list li { margin: 8px 0; position: relative; padding-left: 22px; text-align: left; }
.plan-cta-list li::before { content: '✦'; color: var(--mp-orange); position: absolute; left: 0; top: 0; line-height: 1; }
.plan-cta-actions { margin-top: 8px; }
.plan-cta-media { min-height: 460px; background-size: cover; background-position: center; border-radius: 4px; }
@media (max-width: 1000px) {
	.plan-cta-grid { grid-template-columns: 1fr 1fr; }
	.section-eyebrow { font-size: 36px; }
}
@media (max-width: 700px) {
	.plan-cta-grid { grid-template-columns: 1fr; }
	.plan-cta-media { min-height: 320px; }
	.section-eyebrow { font-size: 28px; }
}
