/*
 * /ol-doinyo-lengai/ — Ol Doinyo Lengai Hike. Scoped to .tsel.
 * 3.9.642: restyled with the single-itinerary design tokens (assets/css/itineraries.min.css, itinerary-editorial.css):
 * ink #1b241f, body #435148, muted #667168, line #e3e8e2, soft surface #f7f9f5, warm surface #f7f4ee, day pill #eaf3e5,
 * excluded #8e493c / #b05d4e.
 * 3.9.643 (owner instruction): every green is the brand colour #68A522 (buttons, labels, links, icons, day pills);
 * button hover uses the site's existing #5C941E.
 * Jost throughout. The price table sets its properties explicitly because the theme styles every table (with !important).
 */
.tsel {
    --ink: #1b241f;
    --text: #435148;
    --muted: #667168;
    --line: #e3e8e2;
    --soft: #f7f9f5;
    --warm: #f7f4ee;
    --white: #fff;
    --accent: #68a522;
    --label: #68a522;
    --deep: #68a522;
    --pill: #eaf3e5;
    --pill-ink: #68a522;
    --btn: #68a522;
    --btn-hover: #5c941e;
    --out: #8e493c;
    --out-icon: #b05d4e;
    --radius: 16px;
    --shadow: 0 14px 34px rgba(32, 54, 42, .055);
    --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --section: clamp(56px, 6vw, 88px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    display: block;
    width: 100%;
    overflow-x: clip;
    background: var(--white);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
.tsel *, .tsel *::before, .tsel *::after { box-sizing: border-box; }
.tsel :where(h1, h2, h3, p, ul, ol, li, figure, dl, dt, dd) { margin: 0; padding: 0; }
.tsel :where(ul, ol) { list-style: none; }
.tsel img { display: block; max-width: 100%; height: auto; }
.tsel a { color: inherit; }
.tsel :focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; }
.tsel section[id] { scroll-margin-top: calc(var(--tse-safari-nav-h, 84px) + 16px); }
.tsel .tsel-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html:has(.tsel) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.tsel) { scroll-behavior: auto; } }
body.tsel-page #main, body.tsel-page #content-wrap, body.tsel-page .site-main, body.tsel-page #primary, body.tsel-page #content { padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; float: none !important; }
body.tsel-page #right-sidebar, body.tsel-page .sidebar-container { display: none !important; }

.tsel-wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.tsel-narrow { max-width: 900px; }
.tsel-section { padding-block: var(--section); }
.tsel-section--tint { background: var(--soft); }

/* ------------------------------------------------------------------ Type (itinerary section heads, in Jost) */
.tsel .tsel-label { display: block; margin-bottom: 10px; color: var(--label); font-family: var(--sans); font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; }
.tsel .tsel-label--center { text-align: center; }
.tsel .tsel-h2 { color: var(--ink); font-family: var(--sans) !important; font-size: clamp(28px, 1.4vw + 18px, 38px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-transform: none; text-wrap: balance; }
.tsel .tsel-h3 { color: var(--ink); font-family: var(--sans) !important; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-transform: none; }
.tsel .tsel-lead { max-width: 640px; margin: 12px auto 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.tsel-head { max-width: 790px; margin: 0 auto clamp(26px, 3vw, 34px); text-align: center; }
.tsel-head--left { margin-inline: 0; text-align: left; }
.tsel-head--left .tsel-lead { margin-inline: 0; }
.tsel-prose { max-width: 72ch; margin-top: 18px; color: var(--text); font-size: 17px; line-height: 1.78; }
.tsel-prose p + p { margin-top: 1.05em; }
.tsel-fineprint { max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; text-align: center; }
.tsel-fineprint--left { margin-inline: 0; text-align: left; }
.tsel-icon { flex: none; }

/* ------------------------------------------------------------------ Buttons: Small 36/13, Medium 40/14, Large 44/15 */
.tsel .tsel-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: 0; text-decoration: none; text-transform: none; white-space: nowrap; cursor: pointer; transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease); }
.tsel .tsel-btn--sm { min-height: 36px; padding: 0 15px; font-size: 13px; }
.tsel .tsel-btn--md { min-height: 40px; padding: 0 18px; font-size: 14px; }
.tsel .tsel-btn--lg { min-height: 44px; padding: 0 22px; font-size: 15px; }
.tsel .tsel-btn .tsel-icon { width: 16px; height: 16px; }
.tsel .tsel-btn--green { background: var(--btn); border-color: var(--btn); color: #fff; }
.tsel .tsel-btn--green:hover, .tsel .tsel-btn--green:focus-visible { background: var(--btn-hover); border-color: var(--btn-hover); color: #fff; }
.tsel .tsel-btn--outline { background: var(--white); border-color: var(--line); color: var(--ink); }
.tsel .tsel-btn--outline .tsel-icon { color: var(--btn); }
.tsel .tsel-btn--outline:hover, .tsel .tsel-btn--outline:focus-visible { border-color: var(--btn); background: var(--white); color: var(--ink); }

/* ------------------------------------------------------------------ Hero */
.tsel-hero { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; min-height: clamp(400px, 40vw, 540px); padding-block: 64px 104px; background: #24302a; color: #fff; text-align: center; overflow: hidden; }
.tsel-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; max-width: none; object-fit: cover; object-position: 38% 50%; }
.tsel-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 24, 19, .34) 0%, rgba(16, 24, 19, .18) 42%, rgba(16, 24, 19, .44) 100%); }
.tsel-crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin-bottom: 18px; color: rgba(255, 255, 255, .86); font-size: 14px; line-height: 1.5; }
.tsel-crumbs a { color: #fff; font-weight: 600; text-decoration: none; }
.tsel-crumbs a:hover { text-decoration: underline; text-underline-offset: 2px; }
.tsel-crumbs__sep { color: rgba(255, 255, 255, .7); }
.tsel-crumbs [aria-current] { color: rgba(255, 255, 255, .86); }
.tsel .tsel-hero__title { color: #fff; font-family: var(--sans) !important; font-size: clamp(38px, 3.4vw + 16px, 62px); font-weight: 600; line-height: 1.06; letter-spacing: -.025em; text-shadow: 0 1px 18px rgba(0, 0, 0, .22); text-transform: none; text-wrap: balance; }
.tsel-hero__subtitle { margin-top: 12px; color: rgba(255, 255, 255, .94); font-size: clamp(17px, .5vw + 14px, 21px); font-weight: 400; line-height: 1.45; text-shadow: 0 1px 12px rgba(0, 0, 0, .22); }

/* Price and action bar overlapping the hero's bottom edge */
.tsel-bar-wrap { position: relative; z-index: 2; margin-top: -52px; }
.tsel-bar { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 0 24px; max-width: 940px; margin: 0 auto; padding: 16px 18px 16px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 18px 50px rgba(24, 54, 39, .08); }
.tsel-bar__label { display: grid; gap: 1px; padding-right: 24px; border-right: 1px solid var(--line); }
.tsel-bar__label span { color: var(--ink); font-size: 13px; font-weight: 700; }
.tsel-bar__label a { color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(102, 113, 104, .45); }
.tsel-bar__label a:hover { color: var(--ink); }
.tsel-bar__price { display: grid; gap: 1px; }
.tsel-bar__price strong { color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tsel-bar__price span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.tsel-bar__price span a { color: var(--deep); text-underline-offset: 2px; }
.tsel-bar__request { font-size: 18px !important; }
.tsel-bar__actions { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 10px; }
.tsel-availability { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; color: var(--deep); font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.tsel-availability .tsel-icon { color: var(--btn); }
.tsel-availability--unavailable, .tsel-availability--unavailable .tsel-icon { color: var(--out); }

/* ------------------------------------------------------------------ Introduction */
.tsel-intro__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.tsel-intro__grid--text { grid-template-columns: minmax(0, 820px); justify-content: center; }
.tsel-intro__photo { margin: 0 0 20px; }
.tsel-intro__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; border-radius: 14px; background: #edf1ed; }
.tsel-facts { display: grid; padding: 4px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.tsel-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed #d8ded6; font-size: 15px; line-height: 1.45; }
.tsel-facts > div:last-child { border-bottom: 0; }
.tsel-facts dt { color: var(--muted); }
.tsel-facts dd { color: var(--ink); font-weight: 600; text-align: right; }

/* ------------------------------------------------------------------ Price card and table */
.tsel-price-card { max-width: 900px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.tsel-price-card__head { display: flex; align-items: center; gap: 14px; padding: 16px 18px 16px 20px; border-bottom: 1px solid var(--line); }
.tsel-price-card__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pill); color: var(--pill-ink); }
.tsel-price-card__name { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.tsel-price-card__name strong { color: var(--ink); font-size: 18px; font-weight: 600; }
.tsel-price-card__name span { color: var(--muted); font-size: 13.5px; }
.tsel .tsel-ptable,
.tsel .tsel-ptable thead, .tsel .tsel-ptable tbody, .tsel .tsel-ptable tr, .tsel .tsel-ptable th, .tsel .tsel-ptable td { position: static !important; left: auto !important; z-index: auto !important; margin: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; font-family: var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; text-shadow: none !important; }
.tsel .tsel-ptable { width: 100% !important; border-collapse: collapse !important; table-layout: auto; color: var(--ink) !important; }
.tsel .tsel-ptable th, .tsel .tsel-ptable td { padding: 16px 12px !important; text-align: center !important; vertical-align: middle !important; font-size: 15.5px !important; font-weight: 400 !important; line-height: 1.4 !important; color: var(--ink) !important; white-space: nowrap; }
.tsel .tsel-ptable thead th, .tsel .tsel-ptable thead td { padding-block: 12px !important; background: var(--soft) !important; border-bottom: 1px solid var(--line) !important; color: var(--muted) !important; font-size: 13px !important; font-weight: 600 !important; }
.tsel .tsel-ptable tbody th { padding-left: 20px !important; text-align: left !important; color: var(--ink) !important; font-size: 15px !important; font-weight: 600 !important; }
.tsel .tsel-ptable tbody td { font-variant-numeric: tabular-nums; border-left: 1px solid var(--line) !important; }
.tsel .tsel-ptable tbody td.is-from { color: var(--deep) !important; font-weight: 600 !important; }
.tsel .tsel-ptable tr > :last-child { padding-right: 20px !important; }

/* ------------------------------------------------------------------ Itinerary (single-itinerary day cards) */
.tsel-days { display: grid; gap: 22px; }
.tsel-day { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.tsel-day__num { display: inline-flex; align-items: center; min-height: 30px; padding: 6px 12px; border-radius: 999px; background: var(--pill); color: var(--pill-ink); font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.tsel .tsel-day__title { margin-top: 12px; color: var(--ink); font-family: var(--sans) !important; font-size: clamp(22px, 1vw + 16px, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; text-transform: none; }
.tsel-day__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: #617067; font-size: 14px; line-height: 1.5; }
.tsel-day__meta li { display: inline-flex; align-items: flex-start; gap: 7px; }
.tsel-day__meta .tsel-icon { margin-top: 2px; color: var(--deep); }
.tsel-day__meta strong { color: var(--ink); font-weight: 600; }
.tsel-prose--day { margin-top: 20px; font-size: 17px; }
.tsel-day__title + .tsel-prose--day { margin-top: 16px; }
.tsel-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 16px 18px; border: 1px solid #ebe3d6; border-radius: 12px; background: var(--warm); color: var(--text); font-size: 15px; line-height: 1.65; }
.tsel-note .tsel-icon { margin-top: 3px; color: var(--out); }
.tsel-note strong { color: var(--ink); }

/* ------------------------------------------------------------------ Trekking information */
.tsel-know__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
/* Each cell draws its right and bottom divider; the -1px margins tuck the outer ones under the card border. */
.tsel-know__grid > div { margin: 0 -1px -1px 0; padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tsel-know__grid dt { color: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.tsel-know__grid dd { margin-top: 8px; color: var(--text); font-size: 15px; line-height: 1.6; }

/* ------------------------------------------------------------------ Included / excluded (itinerary list cards) */
.tsel-included__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tsel-listcard { padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.tsel-listcard.is-excluded { border-top-color: var(--out-icon); }
.tsel .tsel-listcard h3 { display: flex; align-items: center; gap: 9px; font-size: 22px; }
.tsel .tsel-listcard.is-included h3 { color: var(--deep); }
.tsel .tsel-listcard.is-excluded h3 { color: var(--out); }
.tsel-list { display: grid; gap: 12px; margin-top: 18px; }
.tsel-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 16px; line-height: 1.55; }
.tsel-list .tsel-icon { margin-top: 3px; }
.tsel-list--in .tsel-icon { color: var(--accent); }
.tsel-list--out .tsel-icon { color: var(--out-icon); }

/* ------------------------------------------------------------------ Gallery (itinerary photo grid: one large, three small) */
.tsel-gallery__title { margin-bottom: 24px; }
.tsel-gallery__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 9px; height: clamp(320px, 32vw, 430px); border-radius: 12px; overflow: hidden; background: #e9eee9; }
.tsel-gallery__grid li { min-width: 0; min-height: 0; overflow: hidden; }
.tsel-gallery__grid li:first-child { grid-column: 1; grid-row: 1 / 3; }
.tsel-gallery__grid li:nth-child(4) { grid-column: 2 / 4; }
.tsel-gallery__grid li:nth-child(n+5) { display: none; }
.tsel-gallery__grid[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.tsel-gallery__grid[data-count="2"] { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: 1fr; }
.tsel-gallery__grid[data-count="2"] li:first-child { grid-row: 1; }
.tsel-gallery__grid[data-count="3"] { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.tsel-gallery__img { width: 100%; height: 100% !important; object-fit: cover; }

/* ------------------------------------------------------------------ FAQ, closing */
.tsel-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.tsel-faq__grid header { position: sticky; top: calc(var(--tse-safari-nav-h, 84px) + 24px); }
.tsel-cta__inner { max-width: 720px; text-align: center; }
.tsel-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.tsel-dates { margin-top: 8px; color: var(--text); font-size: 14.5px; }

/* ------------------------------------------------------------------ Tablet */
@media (max-width: 999px) {
    .tsel-intro__grid, .tsel-faq__grid { grid-template-columns: minmax(0, 1fr); }
    .tsel-faq__grid header { position: static; }
    .tsel-intro__side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
    .tsel-intro__photo { margin: 0; }
    .tsel-intro__img { aspect-ratio: 4 / 3; }
    .tsel-know__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tsel-bar { grid-template-columns: auto 1fr; gap: 14px 22px; }
    .tsel-bar__actions { grid-column: 1 / -1; justify-content: stretch; }
    .tsel-bar__actions .tsel-btn { flex: 1 1 0; }
}

/* ------------------------------------------------------------------ Phone */
@media (max-width: 699px) {
    .tsel { font-size: 16px; }
    .tsel-wrap { width: min(1160px, 100% - 32px); }
    .tsel-section { padding-block: 48px; }
    .tsel-hero { min-height: 340px; padding-block: 44px 84px; }
    .tsel-hero__img { object-position: 30% 50%; }
    .tsel-crumbs { margin-bottom: 14px; font-size: 13px; }
    .tsel-bar-wrap { margin-top: -56px; }
    .tsel-bar { grid-template-columns: minmax(0, 1fr); padding: 14px 16px 16px; gap: 12px; }
    .tsel-bar__label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 0 0 10px; border-right: 0; border-bottom: 1px solid var(--line); }
    .tsel-bar__actions { grid-column: auto; }
    .tsel-bar__price strong { font-size: 20px; }
    .tsel-bar__actions { flex-direction: column; gap: 8px; }
    .tsel-bar__actions .tsel-btn { width: 100%; }
    .tsel-prose, .tsel-prose--day { font-size: 16px; line-height: 1.75; }
    .tsel-intro__side { grid-template-columns: minmax(0, 1fr); }
    .tsel-know__grid, .tsel-included__cols { grid-template-columns: minmax(0, 1fr); }
    .tsel-listcard { padding: 22px; }
    .tsel-day { padding: 20px 18px; border-radius: 14px; }
    .tsel-day__meta { display: grid; gap: 8px; }
    .tsel-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; height: auto; gap: 8px; border-radius: 0; background: none; overflow: visible; }
    .tsel-gallery__grid li { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 3; border-radius: 10px; }
    /* Odd counts: the first photo spans the full width so the grid has no empty cell. */
    .tsel-gallery__grid[data-count="1"] li:first-child, .tsel-gallery__grid[data-count="3"] li:first-child { grid-column: 1 / -1 !important; aspect-ratio: 16 / 10; }
    .tsel-price-card__head { flex-wrap: wrap; }
    .tsel-price-card__head .tsel-btn { width: 100%; }
    /* Price table: one row per group size (every price stays readable, nothing overflows). */
    .tsel .tsel-ptable thead { display: none !important; }
    .tsel .tsel-ptable, .tsel .tsel-ptable tbody, .tsel .tsel-ptable tr { display: block !important; width: 100% !important; }
    .tsel .tsel-ptable tbody th { display: block !important; padding: 14px 18px 8px !important; color: var(--muted) !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .12em !important; text-transform: uppercase !important; }
    .tsel .tsel-ptable tbody td { display: flex !important; justify-content: space-between; padding: 13px 18px !important; border-left: 0 !important; border-top: 1px solid var(--line) !important; text-align: right !important; }
    .tsel .tsel-ptable tbody td::before { content: attr(data-label); color: var(--text); font-weight: 400; }
    .tsel-cta__actions { flex-direction: column; }
    .tsel-cta__actions .tsel-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .tsel *, .tsel *::before, .tsel *::after { transition: none !important; }
}
