/*
 * Cruises Travel and Tours — content components for the generated pages.
 *
 * The chrome (header, menu, slider, footer) is the original lf_styles.css untouched.
 * These rules style the new Kemp-IT content blocks (panels → cards) using the
 * original site's own vocabulary: Lora headings in #0F76BB (was Roboto Slab), Merriweather copy (was Hind)
 * in #666, the sky band #b8e0fa, the teal "Featured Tours" bar #5cb7bb, the blue
 * #0F76BB promo boxes with gold #F0B24F accents, and the anchor bullet li-bg.png.
 * Everything is scoped under .ctt so it cannot leak into the original chrome.
 */
:root {
  --ctt-blue: #0f76bb;
  --ctt-blue-2: #2e8cca;
  --ctt-blue-3: #2daae0;
  --ctt-navy: #005599;
  --ctt-gold: #f0b24f;
  --ctt-sky: #b8e0fa;
  --ctt-sky-2: #deedfd;
  --ctt-teal: #5cb7bb;
  --ctt-text: #666;
  --ctt-ink: #333;
  --ctt-line: #d7e6f2;
  --ctt-head: 'Lora', Georgia, serif;
  --ctt-body: 'Merriweather', Georgia, serif;
}

/* ---------- base / resets against the legacy #content rules ---------- */
#content .ctt, .ctt { box-sizing: border-box; clear: both; width: 100%; font-family: var(--ctt-body); color: var(--ctt-text); font-size: 16px; line-height: 1.75; }
.ctt *, .ctt *::before, .ctt *::after { box-sizing: border-box; }
#content .ctt p, .ctt p { float: none; padding: 0; margin: 0 0 1em; font-size: 16px; line-height: 1.75; }
.ctt img { max-width: 100%; height: auto; display: block; }
.ctt a { color: var(--ctt-blue); }
.ctt a:hover { color: var(--ctt-gold); }
.ctt h2, .ctt h3, .ctt h4 { font-family: var(--ctt-head); font-weight: 400; color: var(--ctt-blue); line-height: 1.25; margin: 0 0 .5em; }
.ctt h2 { font-size: 30px; }
.ctt h3 { font-size: 22px; }
.ctt h4 { font-size: 18px; }
.ctt strong { color: var(--ctt-ink); }
.ctt .clear { clear: both; }

/* ---------- page intro (sits under h1.tideTitle / h2.tideSubtitle) ---------- */
.ctt-lead { font-size: 19px !important; color: #555; max-width: 900px; }

/* ---------- sections ---------- */
.ctt-section { padding: 36px 10px; clear: both; }
.ctt-section--sky { background: var(--ctt-sky); border-radius: 0; margin: 10px 0; padding: 40px 24px; }
.ctt-section--pale { background: var(--ctt-sky-2); padding: 40px 24px; margin: 10px 0; }
.ctt-section--blue { background: var(--ctt-blue); color: #fff; padding: 40px 24px; margin: 10px 0; }
.ctt-section--blue h2, .ctt-section--blue h3 { color: #fff; }
.ctt-section--blue p { color: #eaf4fb; }
.ctt-head { text-align: center; max-width: 820px; margin: 0 auto 28px; }
.ctt-head h2 { font-size: 34px; margin-bottom: .3em; }
.ctt-head p { color: var(--ctt-text); }
.ctt-eyebrow { display: block; font-family: var(--ctt-head); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--ctt-blue-3); margin-bottom: 6px; }
.ctt-section--blue .ctt-eyebrow { color: var(--ctt-gold); }

/* the teal title bar — same treatment as the original "Featured Tours" heading */
.ctt-bar { background: var(--ctt-teal); color: #fff; font-family: var(--ctt-head); font-weight: 400; font-size: 30px; text-align: center; padding: 14px 10px 16px; margin: 0 0 24px; }
.ctt h2.ctt-bar { color: #fff; }

/* ---------- hero banner for inner pages ---------- */
.ctt-hero { position: relative; margin: 10px 0 10px; overflow: hidden; background: var(--ctt-sky-2); }
.ctt-hero img { width: 100%; height: 420px; object-fit: cover; }
.ctt-hero__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 28px 20px; background: linear-gradient(to top, rgba(0, 40, 80, .72), rgba(0, 40, 80, 0)); color: #fff; font-family: var(--ctt-head); font-size: 22px; line-height: 1.35; }
.ctt-hero__caption span { display: block; font-family: var(--ctt-head); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ctt-gold); margin-bottom: 4px; }

/* ---------- breadcrumb ---------- */
.ctt-crumbs { font-size: 14px; color: #888; margin: 6px 0 0; padding-left: 10px; }
.ctt-crumbs a { color: var(--ctt-blue); text-decoration: none; }
.ctt-crumbs span { margin: 0 6px; color: #bbb; }

/* ---------- prose ---------- */
.ctt-prose { max-width: 900px; margin: 0 auto; }
.ctt-prose--wide { max-width: none; }

/* anchor-bullet list (li-bg.png is the original site's anchor icon) */
.ctt ul.ctt-anchors { list-style: none; margin: 0 0 1em; padding: 0; }
.ctt ul.ctt-anchors li { background: url(../img/li-bg.png) no-repeat 0 5px; padding: 0 0 8px 26px; margin: 0; float: none; }
.ctt ul.ctt-anchors--cols { columns: 2; column-gap: 32px; }
.ctt-section--blue ul.ctt-anchors li { color: #fff; }

/* ---------- card grids ---------- */
.ctt-cards { display: grid; gap: 24px; }
.ctt-cards--2 { grid-template-columns: repeat(2, 1fr); }
.ctt-cards--3 { grid-template-columns: repeat(3, 1fr); }
.ctt-cards--4 { grid-template-columns: repeat(4, 1fr); }

.ctt-card { background: #fff; border: 1px solid var(--ctt-line); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.ctt-card:hover { box-shadow: 0 8px 22px rgba(15, 118, 187, .16); transform: translateY(-2px); }
.ctt-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ctt-sky-2); }
.ctt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ctt-card:hover .ctt-card__media img { transform: scale(1.05); }
.ctt-card__tag { position: absolute; top: 12px; left: 12px; background: var(--ctt-blue-2); color: #fff; font-family: var(--ctt-head); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px 2px; }
.ctt-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ctt-card__body h3 { margin-bottom: .35em; }
.ctt-card__body p { font-size: 16px !important; }
.ctt-card__body .ctt-btn { margin-top: auto; align-self: flex-start; }
.ctt-section--sky .ctt-card { border-color: #fff; }

/* the original "More Info / Search" white pill and the blue Read-More pill */
.ctt-btn { display: inline-block; background: var(--ctt-blue); color: #fff !important; text-decoration: none; font-family: var(--ctt-body); font-size: 16px; padding: 8px 18px 6px; border-radius: 5px; border: 0; cursor: pointer; transition: background .2s; }
.ctt-btn:hover { background: var(--ctt-gold); color: #fff !important; }
.ctt-btn--white { background: #fff; color: #000 !important; border-radius: 10px; }
.ctt-btn--white:hover { background: var(--ctt-gold); }
.ctt-btn--gold { background: var(--ctt-gold); }
.ctt-btn--gold:hover { background: #fff; color: var(--ctt-blue) !important; }
.ctt-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }

/* ---------- blue feature boxes (echo the original Featured Cruises boxes) ---------- */
.ctt-feature { background: var(--ctt-blue); color: #fff; padding: 22px 22px 18px; border-radius: 5px; }
.ctt-feature h3 { color: var(--ctt-gold); font-size: 20px; }
.ctt-feature p { color: #fff; font-size: 16px !important; }
.ctt-feature__icon { width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; margin-bottom: 12px; color: #fff; font-size: 24px; }
.ctt-feature--light { background: #fff; color: var(--ctt-text); border: 1px solid var(--ctt-line); }
.ctt-feature--light h3 { color: var(--ctt-blue); }
.ctt-feature--light p { color: var(--ctt-text); }
.ctt-feature--light .ctt-feature__icon { background: var(--ctt-sky); color: var(--ctt-blue); }

/* ---------- split: image + copy ---------- */
.ctt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.ctt-split--rev .ctt-split__media { order: 2; }
.ctt-split__media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }

/* ---------- facts row ---------- */
.ctt-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ctt-line); border: 1px solid var(--ctt-line); margin: 26px 0 6px; }
.ctt-facts div { background: #fff; padding: 16px 14px; text-align: center; }
.ctt-facts b { display: block; font-family: var(--ctt-head); font-weight: 400; color: var(--ctt-blue); font-size: 20px; line-height: 1.2; margin-bottom: 4px; }
.ctt-facts span { font-size: 14px; color: #777; }

/* ---------- gallery + lightbox ---------- */
.ctt-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ctt-gallery__item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; cursor: zoom-in; background: var(--ctt-sky-2); }
.ctt-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ctt-gallery__item:hover img, .ctt-gallery__item:focus img { transform: scale(1.06); }
.ctt-gallery__item:focus { outline: 3px solid var(--ctt-gold); outline-offset: 2px; }
.ctt-gallery__item::after { content: "\f00e"; font-family: FontAwesome; position: absolute; right: 10px; bottom: 8px; color: #fff; font-size: 18px; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }

.ctt-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(0, 20, 40, .92); display: none; align-items: center; justify-content: center; padding: 40px 70px; }
.ctt-lightbox.is-open { display: flex; }
.ctt-lightbox figure { margin: 0; text-align: center; }
.ctt-lightbox img { max-width: 100%; max-height: 80vh; display: inline-block; }
.ctt-lightbox figcaption { color: #dfeef9; font-family: 'Merriweather', Georgia, serif; font-size: 16px; margin-top: 10px; }
.ctt-lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 48px; line-height: 1; cursor: pointer; padding: 10px; }
.ctt-lightbox button:hover { color: #f0b24f; }
.ctt-lightbox__close { top: 10px; right: 18px; }
.ctt-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.ctt-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- info columns (things to do / go / see, dining) ---------- */
.ctt-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ctt-info__block { background: #fff; border-top: 4px solid var(--ctt-blue-3); padding: 20px 20px 10px; box-shadow: 0 2px 10px rgba(0, 60, 110, .07); }
.ctt-info__block h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.ctt-info__block h3 .fa { color: var(--ctt-gold); font-size: 20px; width: 22px; text-align: center; }
.ctt ul.ctt-info__list { list-style: none; margin: 0; padding: 0; }
.ctt ul.ctt-info__list li { float: none; margin: 0; padding: 10px 0; border-top: 1px dashed var(--ctt-line); }
.ctt ul.ctt-info__list li:first-child { border-top: 0; }
.ctt-info__list b { display: block; color: var(--ctt-ink); font-weight: 600; font-size: 16px; }
.ctt-info__list span { display: block; font-size: 15px; line-height: 1.55; }
.ctt-section--blue .ctt-info__block { border-top-color: var(--ctt-gold); }

/* ---------- numbered steps ---------- */
.ctt-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ctt-step { position: relative; padding: 56px 18px 16px; background: #fff; border: 1px solid var(--ctt-line); }
.ctt-step::before { counter-increment: step; content: counter(step); position: absolute; top: 14px; left: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--ctt-blue-3); color: #fff; font-family: var(--ctt-head); font-size: 17px; display: grid; place-items: center; }
.ctt-step h4 { color: var(--ctt-blue); }
.ctt-step p { font-size: 15.5px !important; }

/* ---------- difficulty badges ---------- */
.ctt-diff { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px 1px; border-radius: 20px; margin-bottom: 8px; }
.ctt-diff--easy { background: #dff3e6; color: #22774a; }
.ctt-diff--moderate { background: #fdf0d8; color: #9a6410; }
.ctt-diff--active { background: #fde2dc; color: #a33a22; }

/* ---------- table (seasons etc.) ---------- */
.ctt-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; }
.ctt-table th { background: var(--ctt-blue); color: #fff; font-family: var(--ctt-head); font-weight: 400; text-align: left; padding: 10px 14px; }
.ctt-table td { padding: 10px 14px; border-bottom: 1px solid var(--ctt-line); vertical-align: top; }
.ctt-table tr:nth-child(even) td { background: #f5fafe; }
.ctt-table td:first-child { color: var(--ctt-ink); font-weight: 600; white-space: nowrap; }

/* ---------- callout ---------- */
.ctt-note { border-left: 4px solid var(--ctt-gold); background: #fff8ea; padding: 14px 18px; margin: 18px 0; font-size: 16px; }
.ctt-note p:last-child { margin-bottom: 0; }

/* ---------- CTA band (echoes the home "call … today" line) ---------- */
.ctt-cta { background: var(--ctt-sky); text-align: center; padding: 42px 24px 40px; margin: 30px 0 10px; }
.ctt-cta h2 { font-size: 32px; }
.ctt-cta p { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.ctt-cta .call-line { font-family: var(--ctt-body); font-size: 28px; color: var(--ctt-blue); margin: 10px 0 4px; }
.ctt-cta .call-line a { background: var(--ctt-blue-3); color: #fff; text-decoration: none; padding: 4px 10px 2px; border-radius: 5px; font-size: 24px; }
.ctt-cta .call-line a:hover { background: var(--ctt-gold); }

/* ---------- specialty tiles (other destinations strip) ---------- */
.ctt-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; }
.ctt-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ctt-tile:hover img { transform: scale(1.06); }
.ctt-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(to top, rgba(0, 40, 80, .75), transparent); color: #fff; font-family: var(--ctt-head); font-size: 21px; }
.ctt-tile small { display: block; font-family: var(--ctt-body); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ctt-gold); }

/* ---------- testimonial quote ---------- */
.ctt-quote { background: #fff; border: 1px solid var(--ctt-line); padding: 24px 26px 18px 70px; position: relative; }
.ctt-quote::before { content: ""; position: absolute; left: 20px; top: 24px; width: 34px; height: 30px; background: url(../img/quote-left.png) no-repeat center / contain; }
.ctt-quote cite { display: block; text-align: right; font-style: normal; font-family: var(--ctt-head); color: var(--ctt-blue); font-size: 17px; }

/* ---------- contact page ---------- */
.ctt-contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 36px; align-items: start; }
.ctt-contact dl { margin: 0; }
.ctt-contact dt { font-family: var(--ctt-head); color: #29abe2; font-size: 20px; margin-top: 18px; }
.ctt-contact dd { margin: 4px 0 0; padding-left: 12px; border-left: 1px solid #000; font-size: 18px; }
.ctt-contact dd a { color: #03236e; }
.ctt-form-card { background: var(--ctt-sky-2); padding: 26px 26px 20px; }
.ctt-form-card .secure-form .btn-primary { background: var(--ctt-blue); border: 0; }
.ctt-form-card .secure-form .btn-primary:hover { background: var(--ctt-gold); }

/* ---------- home: featured-ideas list (replaces the OLA feed; same look) ---------- */
.promo_links ul li h2 a { font-size: 16px !important; }

/* ---------- active menu item ---------- */
#header .lf_menu li.is-active > a.link_level_1 { color: var(--ctt-blue) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .ctt { padding: 0 14px; }
  .ctt-cards--4, .ctt-gallery, .ctt-steps { grid-template-columns: repeat(2, 1fr); }
  .ctt-cards--3, .ctt-info { grid-template-columns: repeat(2, 1fr); }
  .ctt-facts { grid-template-columns: repeat(2, 1fr); }
  .ctt-hero img { height: 320px; }
}
@media (max-width: 700px) {
  .ctt-cards--2, .ctt-cards--3, .ctt-cards--4, .ctt-info, .ctt-split, .ctt-steps, .ctt-contact { grid-template-columns: 1fr; }
  .ctt-split--rev .ctt-split__media { order: 0; }
  .ctt ul.ctt-anchors--cols { columns: 1; }
  .ctt h2, .ctt-head h2, .ctt-cta h2 { font-size: 26px; }
  .ctt-bar { font-size: 24px; }
  .ctt-hero img { height: 240px; }
  .ctt-hero__caption { font-size: 18px; padding: 30px 16px 14px; }
  .ctt-section--sky, .ctt-section--pale, .ctt-section--blue { padding: 30px 14px; }
  .ctt-table td:first-child { white-space: normal; }
  .ctt-lightbox { padding: 40px 10px; }
}

/* info blocks keep their own light-card colors inside the blue band */
.ctt-section--blue .ctt-info__block { color: var(--ctt-text); }
.ctt-section--blue .ctt-info__block h3 { color: var(--ctt-blue); }

/* home promo buttons — the original <button><a>Search</a></button> is now a plain link */
a.More-Info { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 14px 6px; color: #000; text-decoration: none; font-size: 16px; font-family: 'Merriweather', Georgia, serif; }
a.More-Info:hover { background: #f0b24f; color: #fff; }

/* legacy title is width:100% plus padding — keep it inside narrow viewports */
div#content h1.tideTitle { box-sizing: border-box; }

/* section intro copy stays light on the blue band (.ctt-head p would otherwise win with grey) */
.ctt-section--blue .ctt-head p { color: #eaf4fb; }
.ctt-section--blue strong { color: #fff; }
.ctt-section--blue .ctt-info__block strong { color: var(--ctt-ink); }

/* home promo band now has three boxes (Vacation removed) — three across on desktop */
@media (min-width: 1025px) {
  .promo_Section ul li { width: 33.333%; }
}

/* Fonts: Lora (titles, headings, subheadings) + Merriweather (copy), set 2026-10-14.
   Merriweather sets larger than the original Hind, so the legacy home-band copy needs room. */
.promo_Section p { line-height: 1.7 !important; font-size: 15px !important; }
.abt-text { line-height: 1.75 !important; }
