/* =============================================================================
   NP STUDY — HOMEPAGE (modern remake). Depends on design-system.css tokens.
   ============================================================================= */
.nps-home { overflow-x: clip; }

/* ---------------------------------------------------------------------------
   PAGE MODE — when the homepage is a WordPress Page (shortcodes), Flatsome wraps
   the content in .page-wrapper > .row-main (a max-width container). Let our
   full-bleed sections span edge-to-edge; each section still centers its own
   content via .nps-container. Scoped to .nps-home so other pages are untouched.
   --------------------------------------------------------------------------- */
body.nps-home #content.page-wrapper { padding-top: 0; padding-bottom: 0; }
body.nps-home .page-wrapper .row-main {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}
/* Flatsome may print the page title above content — hide it on the homepage. */
body.nps-home .page-wrapper > .row-main > .entry-title,
body.nps-home .page-title-inner { display: none; }

/* Section overlines ("— TITLE") removed per request */
.nps-home .nps-eyebrow { display: none; }

/* Grid column modifiers (responsive-safe, no inline overrides) */
.nps-grid--2 { --nps-cols: 2; }
.nps-grid--4 { --nps-cols: 4; }
/* Flexible auto-fill grid: cards grow to fill the row at any width */
.nps-grid--auto { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
@media (max-width: 980px) { .nps-grid--4 { --nps-cols: 2; } }
@media (max-width: 600px) { .nps-grid--2, .nps-grid--4 { --nps-cols: 1; } }

.nps-eyebrow--light { color: #fff; }
.nps-eyebrow--light::before { background: var(--nps-sunrise); }

.nps-go { display: inline-flex; align-items: center; gap: .35em; color: var(--nps-sunrise-600); font-weight: 600; }
.nps-go span { transition: transform .2s var(--nps-ease); }
a:hover .nps-go span, .nps-go:hover span { transform: translateX(4px); }

/* ------------------------------- 1 · HERO --------------------------------- */
.nps-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(30rem, 62vh, 40rem);
	overflow: hidden;
	isolation: isolate;
}
.nps-hero__slides { position: absolute; inset: 0; z-index: -1; }
.nps-hero__slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0; transition: opacity 1s var(--nps-ease);
}
.nps-hero__slide.is-active { opacity: 1; }
.nps-hero__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10, 35, 66, .92) 0%, rgba(10, 35, 66, .78) 42%, rgba(10, 35, 66, .35) 100%);
}
.nps-hero__content { position: relative; color: #fff; padding-block: clamp(3rem, 7vw, 5rem); max-width: 46rem; }
.nps-hero__content .nps-eyebrow { color: #ffd7bd; }
.nps-hero__content .nps-h1 { color: #fff; margin: .6rem 0 1rem; }
.nps-hero__content .nps-hl { color: var(--nps-sunrise); }
.nps-hero__content .nps-lead { color: rgba(255, 255, 255, .9); max-width: 36rem; }
.nps-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ----------------------------- 2 · CTA BAND ------------------------------- */
.nps-ctaband { background: linear-gradient(120deg, var(--nps-navy), var(--nps-navy-700)); color: #fff; }
.nps-ctaband__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.nps-ctaband__inner > div { max-width: 42rem; }
.nps-ctaband .nps-h2 { color: #fff; margin: .3rem 0 .5rem; }
.nps-ctaband .nps-lead { color: #cdd8ea; margin: 0; }

/* --------------------------- 3 · NEWS CARDS ------------------------------- */
.nps-postcard { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; }
.nps-postcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nps-mist); }
.nps-postcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--nps-ease); }
.nps-postcard:hover .nps-postcard__img img { transform: scale(1.05); }
.nps-postcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.35rem; }
.nps-postcard__body h3 { margin: 0; font-size: 1.1rem; line-height: 1.4; }

/* ------------------------- 4 · DESTINATION CARDS -------------------------- */
.nps-dest { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--nps-line); border-radius: var(--nps-r-lg); box-shadow: var(--nps-shadow-sm); text-decoration: none; color: inherit; transition: transform .28s var(--nps-ease), box-shadow .28s var(--nps-ease); }
.nps-dest:hover { transform: translateY(-6px); box-shadow: var(--nps-shadow); }
.nps-dest__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.nps-dest__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--nps-ease); }
.nps-dest:hover .nps-dest__img img { transform: scale(1.06); }
.nps-dest__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.35rem 1.5rem 1.5rem; }
.nps-dest__body h3 { margin: 0; font-size: 1.3rem; }
.nps-dest__body p { margin: 0; color: var(--nps-slate); line-height: 1.6; }
.nps-dest__body .nps-go { margin-top: .3rem; }

/* --------------------------- 5 · WHY CARDS -------------------------------- */
.nps-why { display: flex; gap: 1.1rem; align-items: flex-start; }
.nps-why__check { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: rgba(18, 179, 168, .14); color: var(--nps-aqua); font-weight: 800; }
.nps-why h3 { margin: .15rem 0 .5rem; font-size: 1.15rem; }
.nps-why p { margin: 0; color: var(--nps-slate); line-height: 1.65; }

/* --------------------------- 5b · ROADMAP --------------------------------- */
.nps-roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; position: relative; }
.nps-roadmap::before { content: ""; position: absolute; top: 1.9rem; left: 7%; right: 7%; border-top: 2px dashed var(--nps-line); z-index: 0; }
.nps-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; position: relative; z-index: 1; }
.nps-step__num { width: 3.8rem; height: 3.8rem; border-radius: 999px; display: grid; place-items: center; background: #fff; border: 2px solid #FFD9C2; color: var(--nps-navy); font-size: 1.15rem; box-shadow: var(--nps-shadow-sm); }
.nps-step:last-child .nps-step__num { background: var(--nps-sunrise); border-color: var(--nps-sunrise); color: #fff; }
.nps-step__label { font-weight: 600; color: var(--nps-navy); font-size: .95rem; line-height: 1.35; max-width: 13ch; }
@media (max-width: 760px) {
	.nps-roadmap { grid-template-columns: 1fr; gap: 0; }
	.nps-roadmap::before { top: 0; bottom: 0; left: 1.9rem; right: auto; border-top: 0; border-left: 2px dashed var(--nps-line); }
	.nps-step { flex-direction: row; align-items: center; gap: 1.1rem; text-align: left; padding: .55rem 0; }
	.nps-step__num { width: 3.2rem; height: 3.2rem; font-size: 1rem; flex: none; }
	.nps-step__label { max-width: none; }
}

/* --------------------------- 6 · MAJOR CARDS ------------------------------ */
.nps-major { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; padding: 1.75rem 1.25rem; background: #fff; border: 1px solid var(--nps-line); border-radius: var(--nps-r-lg); box-shadow: var(--nps-shadow-sm); transition: transform .28s var(--nps-ease), box-shadow .28s var(--nps-ease); }
.nps-major:hover { transform: translateY(-6px); box-shadow: var(--nps-shadow); }
.nps-major__img { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 999px; overflow: hidden; background: var(--nps-peach); }
.nps-major__img img { width: 100%; height: 100%; object-fit: cover; }
.nps-major h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.nps-major__en { font-size: .85rem; color: var(--nps-slate-400); font-family: var(--nps-font-num); }

/* --------------------------- 7 · MARQUEE ---------------------------------- */
.nps-marquee { overflow: hidden; margin-top: .5rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
/* Seamless loop: two identical copies + translateX(-50%). Spacing lives on the
   items (margin), so the gap at the wrap point matches every other gap. */
.nps-marquee__track { display: flex; align-items: center; width: max-content; animation: npsMarquee 45s linear infinite; }
.nps-marquee:hover .nps-marquee__track { animation-play-state: paused; }
.nps-marquee__item { flex: none; display: grid; place-items: center; margin-inline: clamp(1.75rem, 3.5vw, 3rem); }
.nps-marquee__item img { height: 50px; width: auto; max-width: 170px; object-fit: contain; transition: transform .3s var(--nps-ease); }
.nps-marquee__item:hover img { transform: scale(1.08); }
@keyframes npsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----------------------------- RESPONSIVE --------------------------------- */
@media (max-width: 700px) {
	.nps-hero__scrim { background: linear-gradient(0deg, rgba(10, 35, 66, .92), rgba(10, 35, 66, .6)); }
	.nps-ctaband__inner { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.nps-hero__slide { transition: none; }
	.nps-marquee__track { animation: none; }
}
