/* ===========================================================================
   VOYAGE ELITE — components (cards, grids, archives, singles, heroes, CTAs)
   These classes also work when placed on Spectra / Gutenberg blocks.
   =========================================================================== */

/* Themed gradient placeholders (stand in for photos until uploaded) --------- */
.ve-ph { background-size: cover; background-position: center; }
.ve-ph--mediterranean { background-image: linear-gradient(135deg, #e6b980, #3f7f92); }
.ve-ph--caribbean     { background-image: linear-gradient(135deg, #5eead4, #0ea5b7); }
.ve-ph--alaska        { background-image: linear-gradient(135deg, #d7ecf5, #5b8ca8); }
.ve-ph--asia-pacific  { background-image: linear-gradient(135deg, #aecfa4, #4b6b6b); }
.ve-ph--northern-europe { background-image: linear-gradient(135deg, #bcd3c8, #3c6b74); }
.ve-ph--south-pacific { background-image: linear-gradient(135deg, #7fd1e3, #1f7a99); }
.ve-ph--polar         { background-image: linear-gradient(135deg, #e8f2f7, #6b93ad); }
.ve-ph--default       { background-image: linear-gradient(135deg, #1F9FD6, #0B2A47); }

/* Breadcrumb ---------------------------------------------------------------- */
.ve-crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 10px; }
.ve-crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.ve-crumbs a:hover { color: var(--teal); }
.ve-crumbs span { margin: 0 8px; color: var(--line); }

/* Region filter pills ------------------------------------------------------- */
.ve-pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.ve-pill { display: inline-block; border: 1px solid var(--line); background: #fff; color: #3a4a5a;
	border-radius: 999px; padding: 9px 22px; font-family: var(--font-head); font-size: .86rem; font-weight: 500;
	cursor: pointer; text-decoration: none; transition: all .15s ease; }
.ve-pill:hover { border-color: var(--teal); color: var(--teal); }
.ve-pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Card grid ----------------------------------------------------------------- */
.ve-grid { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
.ve-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ve-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .ve-grid, .ve-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ve-grid, .ve-grid--2, .ve-grid--4 { grid-template-columns: 1fr; } }

/* Destination / voyage card ------------------------------------------------- */
.ve-card { background: var(--surface); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.ve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ve-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.ve-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ve-card:hover .ve-card__media img { transform: scale(1.05); }
.ve-card__badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--navy);
	font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .04em;
	padding: 6px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ve-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ve-card__title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.ve-card__text { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0 0 20px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ve-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between;
	border-top: 1px solid var(--line); padding-top: 16px; }
.ve-card__price { font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: 1.05rem; }

/* Promotion card ------------------------------------------------------------ */
.ve-promo { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ve-promo__media { position: relative; aspect-ratio: 16 / 10; }
.ve-promo__media img { width: 100%; height: 100%; object-fit: cover; }
.ve-promo__flag { position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff;
	font-family: var(--font-head); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	padding: 6px 12px; border-radius: 5px; }
.ve-promo__body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ve-promo__title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.ve-promo__offer { color: var(--teal); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin: 0 0 12px; }
.ve-promo__valid { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .84rem; margin: 0 0 18px; }
.ve-promo__valid svg { width: 15px; height: 15px; }
.ve-promo__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	border-top: 1px solid var(--line); padding-top: 16px; }
.ve-promo__fine { color: var(--muted); font-size: .8rem; font-style: italic; }

/* Archive header ------------------------------------------------------------ */
.ve-archive { padding: 56px 0 var(--space); }
.ve-archive__head { border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.ve-archive__count { text-align: center; color: var(--muted); font-style: italic; font-size: .9rem; margin: 44px 0 18px; }
.ve-archive__more { text-align: center; }

/* ---- Destination single --------------------------------------------------- */
.ve-hero-banner { position: relative; min-height: 62vh; display: flex; align-items: flex-end;
	background-size: cover; background-position: center; background-color: var(--navy); color: #fff; }
.ve-hero-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7,30,51,.75)); }
.ve-hero-banner__inner { position: relative; z-index: 1; padding-bottom: 48px; }
.ve-hero-banner__title { font-family: var(--font-head); color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; margin: 0 0 14px; }
.ve-hero-banner__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ve-hero-banner__badge { background: var(--teal); color: #fff; font-family: var(--font-head); font-size: .72rem; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.ve-hero-banner__route { color: #eaf1f4; font-style: italic; font-size: 1.05rem; }

.ve-detail { padding: var(--space) 0; }
.ve-detail__layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .ve-detail__layout { grid-template-columns: 1fr; } }
.ve-detail__body p { color: #3a4a5a; line-height: 1.75; }

.ve-highlights { background: var(--bg); border-radius: var(--radius); padding: 30px; margin: 34px 0; }
.ve-highlights__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin: 0 0 22px; }
.ve-highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 620px) { .ve-highlights__grid { grid-template-columns: 1fr; } }
.ve-highlight { text-align: center; }
.ve-highlight__icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--teal);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; box-shadow: var(--shadow); }
.ve-highlight__t { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem; }
.ve-highlight__s { color: var(--muted); font-size: .8rem; margin-top: 3px; }

/* Enquiry sidebar card */
.ve-enquire { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.ve-enquire__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.35rem; margin: 0 0 8px; }
.ve-enquire__intro { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }
.ve-enquire__direct { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 18px; }
.ve-enquire__direct strong { display: block; color: var(--navy); font-family: var(--font-head); }

/* Visual discovery gallery (mosaic) */
.ve-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; }
.ve-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.ve-gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 620px) { .ve-gallery { grid-template-columns: repeat(2, 1fr); } .ve-gallery a:nth-child(1) { grid-column: span 2; } }

/* Partners row (cruise lines serving a region) */
.ve-partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 720px) { .ve-partners { grid-template-columns: repeat(2, 1fr); } }
.ve-partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.ve-partner:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ve-partner__logo { width: 46px; height: 46px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--teal); overflow: hidden; }
.ve-partner__logo img { max-width: 70%; max-height: 70%; }
.ve-partner__name { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .92rem; }
.ve-partner__tier { color: var(--muted); font-size: .78rem; }

/* ---- Cruise line single --------------------------------------------------- */
.ve-cl-hero { background: linear-gradient(120deg, var(--navy), var(--teal)); color: #fff; padding: 64px 0; }
.ve-cl-hero__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ve-cl-hero__logo { width: 96px; height: 96px; border-radius: var(--radius); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.ve-cl-hero__logo img { max-width: 78%; max-height: 78%; }
.ve-cl-hero__eyebrow { font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #bfe3ec; }
.ve-cl-hero__title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; margin: 4px 0 0; }
.ve-cl-hero__cta { margin-left: auto; }
@media (max-width: 700px) { .ve-cl-hero__cta { margin-left: 0; } }

.ve-why { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.ve-why__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin: 0 0 16px; }
.ve-why ul { list-style: none; margin: 0 0 20px; padding: 0; }
.ve-why li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: #3a4a5a; font-size: .92rem; }
.ve-why li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
	background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }

.ve-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
@media (max-width: 620px) { .ve-stats { grid-template-columns: 1fr; } }
.ve-stat { background: var(--bg); border-radius: var(--radius); padding: 26px; text-align: center; }
.ve-stat__icon { color: var(--teal); display: flex; justify-content: center; margin-bottom: 8px; }
.ve-stat__label { font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ve-stat__value { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--navy); margin-top: 4px; }

/* ---- CTA band ------------------------------------------------------------- */
.ve-cta { background: var(--navy); color: #fff; text-align: center; padding: var(--space) 0; position: relative; overflow: hidden; }
.ve-cta__title { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; color: #fff; margin: 0 0 14px; }
.ve-cta__text { color: #b9c6d3; max-width: 52ch; margin: 0 auto 28px; line-height: 1.6; }
.ve-cta__row { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ve-cta__phone { background: #fff; border-radius: var(--radius-sm); padding: 12px 22px; display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.ve-cta__phone small { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ve-cta__phone strong { font-family: var(--font-head); }
.ve-cta__note { color: #8ea2b4; font-size: .82rem; margin-top: 18px; }

/* Best-price guarantee strip (promotions) */
.ve-guarantee { display: flex; align-items: center; gap: 18px; background: var(--bg); border-radius: var(--radius); padding: 26px 30px; margin-top: 44px; }
.ve-guarantee__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.ve-guarantee__t { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.ve-guarantee__d { color: var(--muted); font-size: .9rem; margin: 0; }
