/* Teranga Core — front end components */
:root {
	--tg-sand: var(--wp--preset--color--sand, #F6F1EA);
	--tg-paper: var(--wp--preset--color--paper, #FFFDF9);
	--tg-ink: var(--wp--preset--color--ink, #161616);
	--tg-stone: var(--wp--preset--color--stone, #6B645C);
	--tg-line: var(--wp--preset--color--line, #E5DDD2);
	--tg-terra: var(--wp--preset--color--terracotta, #D9542B);
	--tg-terra-dark: var(--wp--preset--color--terracotta-dark, #B8431E);
	--tg-forest: var(--wp--preset--color--forest, #1F4D45);
	--tg-sun: var(--wp--preset--color--sun, #F2B33D);
	--tg-display: var(--wp--preset--font-family--display, "Bricolage Grotesque", sans-serif);
	--tg-r: 18px;
}
.tg-wrap { max-width: 1240px; margin-left: auto !important; margin-right: auto !important; padding-left: clamp(1rem, 4vw, 2.5rem); padding-right: clamp(1rem, 4vw, 2.5rem); box-sizing: border-box; width: 100%; }
.tg-display { font-family: var(--tg-display); font-weight: 700; font-size: clamp(2.6rem, 6.5vw, 5.25rem); line-height: 1.02; letter-spacing: -.035em; margin: .4rem 0 1rem; }
.tg-h3 { font-family: var(--tg-display); font-size: 1.35rem; margin: 2rem 0 .8rem; }
.tg-empty { color: var(--tg-stone); padding: 2rem 0; }
.tg-panel { background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: var(--tg-r); padding: clamp(1.4rem, 3vw, 2.2rem) !important; }
.tg-split--top { align-items: flex-start !important; }
.tg-contactlist { list-style: none; padding: 0 !important; }
.tg-contactlist li { padding: .9rem 0; border-bottom: 1px solid var(--tg-line); }
.tg-contactlist li:last-child { border: 0; }
.tg-contactlist a { color: var(--tg-ink); }

/* Buttons */
.tg-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; background: var(--tg-ink); color: var(--tg-paper) !important; font-weight: 600; font-size: .95rem; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s, border-color .2s; font-family: inherit; line-height: 1.2; }
.tg-btn:hover { transform: translateY(-2px); background: var(--tg-terra); }
.tg-btn svg { width: 18px; height: 18px; }
.tg-btn--terra { background: var(--tg-terra); }
.tg-btn--terra:hover { background: var(--tg-ink); }
.tg-btn--ghost { background: transparent; color: var(--tg-ink) !important; border-color: var(--tg-ink); }
.tg-btn--ghost:hover { background: var(--tg-ink); color: var(--tg-paper) !important; }
.tg-btn--block { width: 100%; }
.tg-btn--lg { padding: 1rem 1.8rem; font-size: 1.02rem; }
.tg-btn.is-disabled { opacity: .5; pointer-events: none; }
.tg-linkbtn { background: none; border: 0; padding: 0; color: var(--tg-terra-dark); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font: inherit; }

/* Pills */
.tg-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.tg-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tg-pill--go { background: #DDEFE6; color: var(--tg-forest); }
.tg-pill--open { background: #EEE8DF; color: var(--tg-stone); }
.tg-pill--last { background: #FCEBD0; color: #8A5A00; }
.tg-pill--full { background: #F6DCD4; color: var(--tg-terra-dark); }

/* Notices */
.tg-notice { padding: 1rem 1.25rem; border-radius: 14px; margin: 1.25rem 0; font-weight: 500; }
.tg-notice--ok { background: #DDEFE6; color: var(--tg-forest); }
.tg-notice--err { background: #F6DCD4; color: #7a2410; }
.tg-notice--info { background: #FCEBD0; color: #6b4700; }

/* ---------- Cards grid ---------- */
.tg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.tg-card { display: flex; flex-direction: column; background: var(--tg-paper); border-radius: var(--tg-r); overflow: hidden; text-decoration: none !important; color: var(--tg-ink) !important; border: 1px solid var(--tg-line); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.tg-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(22,22,22,.35); }
.tg-card[hidden] { display: none; }
.tg-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--tg-line); }
.tg-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tg-card:hover .tg-card__img img { transform: scale(1.06); }
.tg-card__badge { position: absolute; top: 14px; left: 14px; background: var(--tg-sun); color: var(--tg-ink); font-size: .75rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; letter-spacing: .02em; }
.tg-card__age { position: absolute; bottom: 14px; left: 14px; right: 14px; color: var(--tg-paper); font-size: .78rem; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tg-card__img::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.45)); pointer-events: none; }
.tg-card__body { padding: 1.25rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.tg-card__meta { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tg-terra); }
.tg-card__title { font-family: var(--tg-display); font-size: 1.45rem; line-height: 1.1; margin: .45rem 0 .4rem; letter-spacing: -.02em; }
.tg-card__sub { color: var(--tg-stone); font-size: .95rem; margin: 0 0 1.2rem; line-height: 1.45; }
.tg-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-top: 1rem; border-top: 1px dashed var(--tg-line); }
.tg-card__next { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--tg-stone); }
.tg-card__next svg { width: 16px; height: 16px; }
.tg-card__price { font-family: var(--tg-display); font-weight: 700; font-size: 1.3rem; text-align: right; line-height: 1.1; }
.tg-card__price small { font-family: var(--wp--preset--font-family--body, sans-serif); font-weight: 500; font-size: .75rem; color: var(--tg-stone); }
.tg-card__price em, .tg-deprow__price em { display: block; font-style: normal; font-family: var(--wp--preset--font-family--body, sans-serif); font-size: .75rem; font-weight: 600; color: var(--tg-forest); }

/* Filters */
.tg-trips-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 1.5rem; }
.tg-filters { display: flex; flex-direction: column; gap: .9rem; padding: 1.25rem; margin-bottom: 1.5rem; background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: var(--tg-r); }
.tg-filters__group { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.tg-filters__label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tg-stone); min-width: 140px; white-space: nowrap; }
.tg-filters__chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.tg-chip { padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--tg-line); background: transparent; color: var(--tg-ink); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.tg-chip:hover { border-color: var(--tg-ink); }
.tg-chip.is-on { background: var(--tg-ink); color: var(--tg-paper); border-color: var(--tg-ink); }
.tg-count { color: var(--tg-stone); font-size: .9rem; margin: 0 0 1rem; }
.tg-count span { font-weight: 700; color: var(--tg-ink); }
.tg-trips { padding-bottom: clamp(3rem, 7vw, 5.5rem); }

/* Departure list (home) */
.tg-deplist { display: flex; flex-direction: column; border-top: 1px solid var(--tg-line); }
.tg-deprow { display: grid; grid-template-columns: 76px 1fr auto auto auto 36px; gap: 1.25rem; align-items: center; padding: 1.1rem .5rem; border-bottom: 1px solid var(--tg-line); text-decoration: none !important; color: var(--tg-ink) !important; transition: background .2s, padding .2s; }
.tg-deprow:hover { background: var(--tg-paper); padding-left: 1rem; }
.tg-deprow__date { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--tg-stone); line-height: 1.1; }
.tg-deprow__date b { display: block; font-family: var(--tg-display); font-size: 2rem; color: var(--tg-ink); letter-spacing: -.03em; }
.tg-deprow__trip strong { display: block; font-family: var(--tg-display); font-size: 1.15rem; }
.tg-deprow__trip small { color: var(--tg-stone); }
.tg-deprow__seats { font-size: .85rem; color: var(--tg-stone); }
.tg-deprow__price { font-family: var(--tg-display); font-weight: 700; font-size: 1.15rem; text-align: right; }
.tg-deprow__go svg { width: 22px; height: 22px; transition: transform .2s; }
.tg-deprow:hover .tg-deprow__go svg { transform: translateX(4px); color: var(--tg-terra); }
@media (max-width: 760px) {
	.tg-deprow { grid-template-columns: 62px 1fr auto; gap: .4rem 1rem; }
	.tg-deprow__seats, .tg-deprow__go { display: none; }
	.tg-deprow .tg-pill { grid-column: 2; justify-self: start; }
	.tg-deprow__price { grid-row: 1 / span 2; grid-column: 3; }
}

/* ---------- Single trip ---------- */
.tg-trip-hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; background: var(--tg-forest) center/cover no-repeat; color: var(--tg-paper); }
.tg-trip-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,22,22,.15) 0%, rgba(22,22,22,.1) 40%, rgba(22,22,22,.75) 100%); }
.tg-trip-hero__inner { position: relative; padding-top: 6rem; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.tg-trip-hero h1 { font-family: var(--tg-display); font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.035em; margin: .6rem 0 .6rem; max-width: 16ch; color: var(--tg-paper); }
.tg-trip-hero__sub { font-size: clamp(1.1rem, 1.8vw, 1.4rem); max-width: 40ch; opacity: .92; margin: 0 0 2rem; }
.tg-crumbs { font-size: .85rem; opacity: .85; margin: 0 0 1rem; }
.tg-crumbs a { color: var(--tg-paper); }
.tg-trip-hero__chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.tg-trip-hero .tg-trip-hero__chips > * { background: var(--tg-sun); color: var(--tg-ink); font-size: .75rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; text-decoration: none; }
.tg-trip-hero .tg-trip-hero__chips > * + * { background: rgba(255,253,249,.18); color: var(--tg-paper); backdrop-filter: blur(6px); }
.tg-trip-hero .tg-trip-hero__chips > a:hover, .tg-trip-hero .tg-trip-hero__chips > a:focus-visible { background: var(--tg-paper); color: var(--tg-ink); }
.tg-facts { list-style: none; padding: 1.1rem 0 0 !important; margin: 0 !important; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; border-top: 1px solid rgba(255,253,249,.25); }
.tg-facts li { display: flex; align-items: center; gap: .7rem; }
.tg-facts svg { width: 26px; height: 26px; color: var(--tg-sun); flex: none; }
.tg-facts span { display: flex; flex-direction: column; font-weight: 600; line-height: 1.25; }
.tg-facts small { font-weight: 400; font-size: .75rem; opacity: .75; text-transform: uppercase; letter-spacing: .1em; }

.tg-trip-nav { position: sticky; top: var(--tg-header-h, 64px); z-index: 40; background: var(--tg-paper); border-bottom: 1px solid var(--tg-line); }
.admin-bar .tg-trip-nav { top: calc(var(--tg-header-h, 64px) + 32px); }
.tg-trip-nav .tg-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.tg-trip-nav__links { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; padding: 1rem 0; }
.tg-trip-nav__links::-webkit-scrollbar { display: none; }
.tg-trip-nav__links a { color: var(--tg-stone); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.tg-trip-nav__links a:hover, .tg-trip-nav__links a.is-active { color: var(--tg-ink); }
.tg-trip-nav__cta { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; background: var(--tg-terra); color: var(--tg-paper) !important; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .9rem; }
.tg-trip-nav__cta svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .tg-trip-nav__cta { display: none; } }

.tg-trip-intro { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 5vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem, 5vw, 4rem); align-items: start; }
.tg-prose { font-size: 1.12rem; line-height: 1.7; }
.tg-prose p:first-child { font-family: var(--tg-display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; letter-spacing: -.01em; font-weight: 500; }
.tg-highlights { list-style: none; padding: 0 !important; counter-reset: hl; display: grid; gap: .6rem; }
.tg-highlights li { counter-increment: hl; display: flex; gap: 1rem; align-items: baseline; padding: .9rem 1.1rem; background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: 14px; }
.tg-highlights li::before { content: counter(hl, decimal-leading-zero); font-family: var(--tg-display); font-weight: 800; color: var(--tg-terra); }
.tg-trip-side { position: sticky; top: calc(var(--tg-header-h, 64px) + 80px); display: flex; flex-direction: column; gap: 1rem; }
.tg-sidecard { background: var(--tg-ink); color: var(--tg-paper); border-radius: var(--tg-r); padding: 1.8rem; }
.tg-sidecard__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; opacity: .7; margin: 0; }
.tg-sidecard__price { font-family: var(--tg-display); font-size: 3rem; font-weight: 800; letter-spacing: -.03em; margin: .2rem 0 .2rem; line-height: 1; }
.tg-sidecard__net { color: var(--tg-sun); font-weight: 600; font-size: .9rem; margin: 0 0 .5rem; }
.tg-sidecard__list { list-style: none; padding: 0 !important; margin: 1.2rem 0 1.5rem !important; display: grid; gap: .6rem; font-size: .92rem; }
.tg-sidecard__list li { display: flex; gap: .6rem; align-items: flex-start; }
.tg-sidecard__list svg { width: 18px; height: 18px; color: var(--tg-sun); flex: none; margin-top: 2px; }
.tg-ambassador { display: flex; gap: 1rem; background: var(--tg-sun); border-radius: var(--tg-r); padding: 1.3rem 1.4rem; }
.tg-ambassador__icon { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--tg-ink); color: var(--tg-sun); display: grid; place-items: center; }
.tg-ambassador__icon svg { width: 22px; height: 22px; }
.tg-ambassador__title { font-family: var(--tg-display); font-weight: 700; margin: 0 0 .3rem; }
.tg-ambassador p { margin: 0; font-size: .92rem; line-height: 1.5; }
@media (max-width: 980px) { .tg-trip-intro { grid-template-columns: 1fr; } .tg-trip-side { position: static; } }

.tg-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 240px 240px; gap: .6rem; padding: 0 clamp(1rem, 4vw, 2.5rem); max-width: 1400px; margin: 0 auto; box-sizing: border-box; }
.tg-gallery__item { overflow: hidden; border-radius: 14px; display: block; }
.tg-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tg-gallery__item:hover img { transform: scale(1.05); }
.tg-gallery__item--0 { grid-column: span 2; grid-row: span 2; }
.tg-gallery__item--3 { grid-column: span 2; }
.tg-gallery__item--4 { display: none; }
@media (max-width: 760px) { .tg-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 130px 130px; } .tg-gallery__item--0 { grid-column: span 2; grid-row: auto; } .tg-gallery__item--3 { grid-column: span 2; } }

.tg-block { padding-top: clamp(3rem, 7vw, 5.5rem); }
.tg-block__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .4rem 2rem; margin-bottom: 1.8rem; }
.tg-block__head .tg-kicker { width: 100%; margin: 0; }
.tg-block__head h2 { font-family: var(--tg-display); font-size: clamp(1.9rem, 4vw, 3rem); margin: 0; letter-spacing: -.03em; line-height: 1.05; flex: 1; }
.tg-block__head .tg-meta { width: 100%; margin: .4rem 0 0; }

.tg-itin { list-style: none; padding: 0 !important; margin: 0; position: relative; }
.tg-itin::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--tg-line); }
.tg-itin li { position: relative; padding-left: 44px; }
.tg-itin li::before { content: ""; position: absolute; left: 4px; top: 1.45rem; width: 16px; height: 16px; border-radius: 50%; background: var(--tg-sand); border: 3px solid var(--tg-terra); box-sizing: border-box; }
.tg-itin details { border-bottom: 1px solid var(--tg-line); }
.tg-itin summary { cursor: pointer; list-style: none; display: flex; gap: 1.2rem; align-items: baseline; padding: 1.2rem 0; }
.tg-itin summary::-webkit-details-marker { display: none; }
.tg-itin summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; color: var(--tg-terra); transition: transform .2s; line-height: 1; }
.tg-itin details[open] summary::after { transform: rotate(45deg); }
.tg-itin__n { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tg-terra); white-space: nowrap; min-width: 72px; }
.tg-itin__t { font-family: var(--tg-display); font-weight: 700; font-size: 1.25rem; }
.tg-itin__body { padding: 0 0 1.3rem 92px; color: var(--tg-stone); max-width: 70ch; }
@media (max-width: 640px) { .tg-itin summary { flex-wrap: wrap; gap: .2rem 1rem; } .tg-itin__body { padding-left: 0; } }

.tg-band { margin-top: clamp(3rem, 7vw, 5.5rem); background: var(--tg-forest); color: var(--tg-paper); padding: clamp(3rem, 7vw, 5rem) 0; }
.tg-band .tg-kicker { color: var(--tg-sun); }
.tg-band h2 { font-family: var(--tg-display); color: var(--tg-paper); font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .3rem 0 1.3rem; }
.tg-incl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.tg-ilist { list-style: none; padding: 0 !important; display: grid; gap: .7rem; }
.tg-ilist li { display: flex; gap: .75rem; align-items: flex-start; }
.tg-ilist svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.tg-ilist--yes svg { color: var(--tg-sun); }
.tg-ilist--no svg { color: rgba(255,253,249,.5); }
.tg-ilist--no li { color: rgba(255,253,249,.82); }
@media (max-width: 760px) { .tg-incl { grid-template-columns: 1fr; } }

.tg-map-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 1.5rem; }
.tg-map { height: 480px; border-radius: var(--tg-r); overflow: hidden; background: var(--tg-line); z-index: 1; }
.tg-stops { margin: 0; padding: 0 !important; list-style: none; counter-reset: st; }
.tg-stops li { counter-increment: st; display: flex; gap: .9rem; align-items: center; padding: .75rem 0; border-bottom: 1px dashed var(--tg-line); font-weight: 600; }
.tg-stops li::before { content: counter(st); width: 28px; height: 28px; border-radius: 50%; background: var(--tg-ink); color: var(--tg-paper); display: grid; place-items: center; font-size: .8rem; flex: none; }
.tg-marker-wrap { background: none; border: 0; }
.tg-marker { width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%; background: var(--tg-terra); color: #fff; display: grid; place-items: center; font: 700 13px/1 sans-serif; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.3); animation: tg-pop .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes tg-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.tg-route-line { stroke-dasharray: 10 9; animation: tg-dashflow 1.1s linear infinite; }
@keyframes tg-dashflow { to { stroke-dashoffset: -19; } }
.tg-traveller { background: none; border: 0; }
.tg-traveller span { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--tg-sun); border: 3px solid #fff; box-sizing: border-box; box-shadow: 0 0 0 6px rgba(242,179,61,.35), 0 3px 8px rgba(0,0,0,.3); }
@media (max-width: 860px) { .tg-map-wrap { grid-template-columns: 1fr; } .tg-map { height: 340px; } }

/* Departures table */
.tg-deps { display: flex; flex-direction: column; gap: .7rem; }
.tg-dep { background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.tg-dep:hover { border-color: #d4c8b8; }
.tg-dep.is-open { border-color: var(--tg-terra); box-shadow: 0 16px 40px -24px rgba(217,84,43,.6); }
.tg-dep.is-closed { opacity: .6; }
.tg-dep__row { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .9fr auto; gap: 1.2rem; align-items: center; padding: 1.1rem 1.4rem; }
.tg-dep__date strong { font-family: var(--tg-display); font-size: 1.15rem; display: block; }
.tg-dep__date small { color: var(--tg-terra); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.tg-dep__seats small { color: var(--tg-stone); font-size: .8rem; }
.tg-bar { display: block; height: 6px; border-radius: 6px; background: var(--tg-line); overflow: hidden; margin-bottom: .35rem; }
.tg-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--tg-sun), var(--tg-terra)); border-radius: 6px; }
.tg-dep__price strong { font-family: var(--tg-display); font-size: 1.35rem; display: block; line-height: 1.1; }
.tg-net { display: block; color: var(--tg-forest); font-weight: 700; font-size: .8rem; }
@media (max-width: 860px) {
	.tg-dep__row { grid-template-columns: 1fr auto; gap: .7rem 1rem; }
	.tg-dep__state { grid-column: 2; grid-row: 1; justify-self: end; }
	.tg-dep__seats { grid-column: 1 / -1; }
	.tg-dep__cta { grid-column: 2; justify-self: end; }
}
.tg-nodeps { background: var(--tg-paper); border: 1px dashed var(--tg-line); border-radius: var(--tg-r); padding: 2rem; text-align: center; }

/* Forms */
.tg-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; }
.tg-form label small { font-weight: 400; color: var(--tg-stone); }
.tg-form input[type=text], .tg-form input[type=email], .tg-form input[type=tel], .tg-form input[type=password], .tg-form input[type=url], .tg-form input[type=number], .tg-form select, .tg-form textarea,
.tg-bookform input[type=text], .tg-bookform input[type=tel], .tg-bookform select, .tg-bookform textarea, #tg-loginform input[type=text], #tg-loginform input[type=password] {
	width: 100%; box-sizing: border-box; padding: .8rem 1rem; border: 1px solid var(--tg-line); border-radius: 12px; background: #fff; font: inherit; font-weight: 400; color: var(--tg-ink); transition: border-color .2s, box-shadow .2s;
}
.tg-form input:focus, .tg-form select:focus, .tg-form textarea:focus, .tg-bookform input:focus, .tg-bookform select:focus, .tg-bookform textarea:focus, #tg-loginform input:focus { outline: none; border-color: var(--tg-terra); box-shadow: 0 0 0 4px rgba(217,84,43,.14); }
.tg-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; margin-bottom: 1.5rem; }
.tg-span2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .tg-form-grid { grid-template-columns: 1fr; } .tg-form-grid > span:empty { display: none; } }
.tg-form__title { font-family: var(--tg-display); font-size: 1.35rem; margin: 2rem 0 1rem; }
.tg-form label.tg-check, .tg-bookform label.tg-check, label.tg-check { display: block !important; position: relative; padding-left: 30px; font-weight: 400 !important; margin: .4rem 0 1rem; line-height: 1.5; }
.tg-check input { position: absolute; left: 0; top: .15em; margin: 0; accent-color: var(--tg-terra); width: 18px; height: 18px; }
.tg-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.tg-consents { margin: 1rem 0 1.5rem; }
.tg-typepick { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.tg-typepick legend { font-family: var(--tg-display); font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; }
.tg-typecard { position: relative; cursor: pointer; }
.tg-typecard input { position: absolute; opacity: 0; }
.tg-typecard span { display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem; border: 2px solid var(--tg-line); border-radius: 16px; background: #fff; transition: all .2s; height: 100%; box-sizing: border-box; }
.tg-typecard small { color: var(--tg-stone); font-weight: 400; }
.tg-typecard input:checked + span { border-color: var(--tg-terra); background: #FDF1EC; }
.tg-typecard input:focus-visible + span { box-shadow: 0 0 0 4px rgba(217,84,43,.2); }
@media (max-width: 640px) { .tg-typepick { grid-template-columns: 1fr; } }
.tg-agency-fields[hidden] { display: none; }

.tg-bookform { border-top: 1px dashed var(--tg-line); padding: 1.4rem; }
.tg-bookform label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; }
.tg-bookform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.tg-bookform__total { width: 100%; margin: 0; font-size: 1rem; }
.tg-bookform__total strong { font-family: var(--tg-display); font-size: 1.2rem; }
.tg-bookform .tg-check { margin: 0; flex: 1; min-width: 240px; }

/* Auth */
.tg-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: clamp(2rem, 5vw, 4rem) 0; }
.tg-auth__box, .tg-auth__side { border-radius: var(--tg-r); padding: clamp(1.5rem, 4vw, 3rem); }
.tg-auth__box { background: var(--tg-paper); border: 1px solid var(--tg-line); }
.tg-auth__side { background: var(--tg-ink); color: var(--tg-paper); }
.tg-auth__side .tg-kicker { color: var(--tg-sun); }
.tg-auth h2 { font-family: var(--tg-display); font-size: clamp(1.8rem, 3vw, 2.4rem); margin: .3rem 0 1.4rem; }
.tg-auth__side h2 { color: var(--tg-paper); }
.tg-auth__side .tg-btn--ghost { color: var(--tg-paper) !important; border-color: var(--tg-paper); margin-left: .4rem; }
.tg-auth__side .tg-btn--ghost:hover { background: var(--tg-paper); color: var(--tg-ink) !important; }
#tg-loginform p { margin: 0 0 1rem; }
#tg-loginform label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
#tg-loginform .login-remember label { display: flex; gap: .5rem; align-items: center; font-weight: 400; }
#tg-loginform .button { width: 100%; padding: .95rem; border: 0; border-radius: 999px; background: var(--tg-terra); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
#tg-loginform .button:hover { background: var(--tg-ink); }
@media (max-width: 860px) { .tg-auth { grid-template-columns: 1fr; } }

/* Dashboard */
.tg-dash { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.tg-dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tg-dash__head h2 { font-family: var(--tg-display); font-size: clamp(2rem, 4vw, 3rem); margin: .3rem 0 0; letter-spacing: -.03em; }
.tg-dash__status { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.tg-tabs__nav { display: flex; gap: .3rem; border-bottom: 1px solid var(--tg-line); margin-bottom: 1.8rem; overflow-x: auto; }
.tg-tabs__nav button { background: none; border: 0; border-bottom: 3px solid transparent; padding: .9rem 1.1rem; font: inherit; font-weight: 600; color: var(--tg-stone); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tg-tabs__nav button.is-on { color: var(--tg-ink); border-bottom-color: var(--tg-terra); }
.tg-count-badge { display: inline-block; background: var(--tg-line); color: var(--tg-ink); border-radius: 99px; font-size: .72rem; padding: .1rem .5rem; margin-left: .3rem; }
.tg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; }
.tg-stat { background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: var(--tg-r); padding: 1.3rem 1.5rem; }
.tg-stat b { display: block; font-family: var(--tg-display); font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; }
.tg-stat span { color: var(--tg-stone); font-size: .9rem; }
@media (max-width: 640px) { .tg-stats { grid-template-columns: 1fr; } }
.tg-table-wrap { overflow-x: auto; background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: var(--tg-r); }
.tg-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tg-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--tg-stone); padding: 1rem; border-bottom: 1px solid var(--tg-line); white-space: nowrap; }
.tg-table td { padding: 1rem; border-bottom: 1px solid var(--tg-line); vertical-align: top; }
.tg-table tr:last-child td { border-bottom: 0; }
.tg-table small { color: var(--tg-stone); }

/* Lightbox */
.tg-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(10,10,10,.92); display: grid; place-items: center; padding: 2rem; cursor: zoom-out; }
.tg-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; }
.tg-lightbox button { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; }

.tg-map .leaflet-tile-pane { filter: saturate(.75) sepia(.12); }

.tg-btn--sm { padding: .45rem .9rem; font-size: .82rem; }
.tg-table td { white-space: nowrap; }
.tg-table td:first-child { white-space: normal; min-width: 200px; }

.tg-traveler { border: 1px solid var(--tg-line); border-radius: 14px; padding: 1rem 1.2rem .2rem; margin: 0 0 1rem; background: #fff; }
.tg-traveler legend { font-family: var(--tg-display); font-weight: 700; font-size: 1.05rem; padding: 0 .4rem; }
.tg-form-grid--3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 1rem; }
.tg-span3 { grid-column: 1 / -1; }
@media (max-width: 760px) { .tg-form-grid--3 { grid-template-columns: 1fr; } }
.tg-bookform .tg-form-grid { margin-bottom: 1rem; }
.tg-bookform input[type=date], .tg-bookform input[type=email], .tg-form input[type=date] { width: 100%; box-sizing: border-box; padding: .8rem 1rem; border: 1px solid var(--tg-line); border-radius: 12px; background: #fff; font: inherit; font-weight: 400; color: var(--tg-ink); min-height: 50px; }
.tg-bookform label small, .tg-form label small { display: inline; }
.tg-traveler label { display: block !important; }
.tg-traveler label > input, .tg-traveler label > select, .tg-traveler label > textarea { margin-top: .35rem; display: block; }

.tg-datefilter { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 0 0 1.2rem; }
.tg-filters .tg-datefilter { margin: 0; }
.tg-datefilter__fields { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.tg-datefilter label { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 500; }
.tg-datefilter select { padding: .45rem 2rem .45rem .9rem; border: 1px solid var(--tg-line); border-radius: 999px; background: #fff; font: inherit; font-size: .88rem; color: var(--tg-ink); cursor: pointer; }
.tg-datefilter select:focus { outline: none; border-color: var(--tg-terra); }
.tg-dfscope > .tg-datefilter { padding: .9rem 1.1rem; background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: 14px; }
.tg-more { text-align: center; margin-top: 1.5rem; }

/* ---------- World map ---------- */
.tg-worldmap { box-sizing: border-box; position: relative; background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: 22px; padding: clamp(.8rem, 2vw, 1.6rem); overflow: hidden; color: var(--tg-ink); }
.tg-worldmap__stage { position: relative; }
.tg-worldmap__svg { display: block; width: 100%; height: auto; }
.tg-wm-dots circle { fill: rgba(59,35,22,.2); }
.tg-wm-route { fill: none; stroke: var(--tg-terra); stroke-width: 1.6; stroke-dasharray: 5 5; opacity: .55; animation: tg-dashflow2 1.4s linear infinite; transition: opacity .3s, stroke .3s, stroke-width .3s; }
.tg-wm-route.is-active { opacity: 1; stroke: var(--tg-terra-dark); stroke-width: 2.4; }
@keyframes tg-dashflow2 { to { stroke-dashoffset: -20; } }
.tg-worldmap:not(.is-in) .tg-wm-route { stroke-dashoffset: 0; opacity: 0; }
.tg-wm-mark { cursor: pointer; outline: none; }
.tg-wm-dot { fill: var(--tg-terra); stroke: var(--tg-paper); stroke-width: 2; transition: fill .2s; }
.tg-wm-mark.is-go .tg-wm-dot { fill: var(--tg-forest); }
.tg-wm-mark.is-active .tg-wm-dot { fill: var(--tg-sun); stroke: #3B2316; }
.tg-wm-pulse { fill: none; stroke: var(--tg-terra); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: tg-pulse 2.4s ease-out infinite; }
.tg-wm-mark.is-go .tg-wm-pulse { stroke: var(--tg-forest); }
@keyframes tg-pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.tg-wm-label { fill: var(--tg-ink); paint-order: stroke; stroke: var(--tg-paper); stroke-width: 3px; font: 600 11px/1 var(--wp--preset--font-family--body, sans-serif); letter-spacing: .04em; pointer-events: none; }
.tg-wm-mark.is-active .tg-wm-label { fill: var(--tg-terra-dark); }
.tg-wm-origin circle { fill: #3B2316; }
.tg-wm-origin text { fill: #3B2316; paint-order: stroke; stroke: var(--tg-paper); stroke-width: 3px; font: 600 11px/1 var(--wp--preset--font-family--body, sans-serif); }
.tg-worldmap__card { position: absolute; transform: translate(-50%, calc(-100% - 22px)); min-width: 230px; max-width: 280px; background: var(--tg-paper); color: var(--tg-ink); border-radius: 14px; padding: .9rem 1rem; box-shadow: 0 16px 40px rgba(59,35,22,.18); border: 2px solid var(--tg-terra); animation: tg-cardin .35s ease both; z-index: 2; font-size: .85rem; }
.tg-worldmap__card.is-below { transform: translate(-50%, 22px); }
@keyframes tg-cardin { from { opacity: 0; margin-top: 8px; } to { opacity: 1; margin-top: 0; } }
.tg-worldmap__card strong { display: block; font-family: var(--tg-display); font-size: 1.25rem; line-height: 1.1; margin-top: .25rem; }
.tg-worldmap__card em { display: block; font-style: normal; color: var(--tg-stone); margin-bottom: .4rem; }
.tg-wmc__badge { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tg-terra); }
.tg-wmc__row { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; padding: .4rem 0; border-top: 1px dashed var(--tg-line); }
.tg-wmc__row b { font-family: var(--tg-display); font-size: 1rem; white-space: nowrap; }
.tg-worldmap__card a { color: var(--tg-terra-dark); font-weight: 700; text-decoration: none; }
.tg-worldmap__hint { margin: .6rem 0 0; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tg-stone); }
@media (max-width: 700px) { .tg-wm-label { display: none; } .tg-worldmap__card { min-width: 190px; font-size: .78rem; } }
@media (prefers-reduced-motion: reduce) { .tg-wm-route, .tg-wm-pulse, .tg-route-line { animation: none; } }
.tg-trips-hero + .tg-wrap { margin-bottom: 2rem; }

/* ---------- Stories ---------- */
.tg-stories { position: relative; }
.tg-stories__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 22vw, 270px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
.tg-stories__track::-webkit-scrollbar { display: none; }
.tg-story { position: relative; aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; scroll-snap-align: start; background: var(--tg-ink); display: block; color: var(--tg-paper) !important; text-decoration: none !important; transform: translateZ(0); }
.tg-story img, .tg-story video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tg-story img { animation: tg-kb 14s ease-in-out infinite alternate; }
.tg-story:nth-child(2n) img { animation-duration: 17s; animation-direction: alternate-reverse; }
@keyframes tg-kb { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.18) translate(-3%, -4%); } }
.tg-story__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.75)); }
.tg-story__meta { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: .2rem; }
.tg-story__meta small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tg-sun); font-weight: 700; }
.tg-story__meta strong { font-family: var(--tg-display); font-size: 1.2rem; line-height: 1.15; }
.tg-story__play { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.tg-story__play::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.tg-story:hover img { animation-play-state: paused; }
.tg-stories__nav { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }
.tg-roundbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--tg-ink); background: transparent; font-size: 1.1rem; cursor: pointer; transition: all .2s; color: var(--tg-ink); }
.tg-roundbtn:hover { background: var(--tg-ink); color: var(--tg-paper); }
@media (max-width: 600px) { .tg-stories__track { grid-auto-columns: 62vw; } }
@media (prefers-reduced-motion: reduce) { .tg-story img { animation: none; } }

.tg-worldmap__card { max-height: 70%; overflow: auto; }
.tg-wmc__place { display: block; font-family: var(--tg-display); font-size: 1.3rem; line-height: 1.1; }
.tg-wmc__count { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--tg-stone); margin-top: .15rem; }
.tg-wmc__trip { display: block; text-decoration: none !important; color: var(--tg-ink) !important; padding: .55rem 0 .45rem; border-top: 1px solid var(--tg-line); margin-top: .5rem; }
.tg-wmc__trip:hover em { color: var(--tg-terra-dark); }
.tg-wmc__trip em { display: block; font-style: normal; font-weight: 700; margin: .1rem 0 .2rem; }
.tg-wmc__trip .tg-wmc__row { border-top: 0; padding: 0 0 .2rem; color: var(--tg-stone); }
.tg-wmc__go { font-weight: 700; color: var(--tg-terra-dark); font-size: .8rem; }

/* ---------- Scrollytelling Day by Day ---------- */
.tg-story-route { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.tg-story-route__map { position: sticky; top: calc(var(--tg-header-h, 64px) + 70px); height: min(440px, calc(100vh - var(--tg-header-h, 64px) - 120px)); border-radius: var(--tg-r); overflow: hidden; background: #E3EEEE; box-shadow: 0 20px 50px -30px rgba(59,35,22,.5); }
.admin-bar .tg-story-route__map { top: calc(var(--tg-header-h, 64px) + 102px); }
.tg-map--scrolly { position: absolute !important; inset: 0; height: auto !important; border-radius: 0; }
.tg-story-route__now { position: absolute; left: 14px; top: 14px; z-index: 500; background: var(--tg-paper); border-radius: 12px; padding: .55rem .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.15); display: flex; flex-direction: column; line-height: 1.2; }
.tg-story-route__now span { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tg-terra); }
.tg-story-route__now strong { font-family: var(--tg-display); font-size: 1.1rem; }
.tg-map-overview { position: absolute; right: 14px; top: 14px; z-index: 500; background: var(--tg-ink); color: var(--tg-paper); border: 0; border-radius: 999px; padding: .5rem .9rem; font: 600 .78rem/1 var(--wp--preset--font-family--body, sans-serif); cursor: pointer; }
.tg-map-overview:hover { background: var(--tg-terra); }
.tg-days { list-style: none; margin: 0; padding: 0 !important; position: relative; }
.tg-days::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: var(--tg-line); }
.tg-day { position: relative; padding: 1.1rem 1.2rem 1.1rem 52px; margin-bottom: .8rem; border-radius: 16px; cursor: pointer; transition: background .35s, box-shadow .35s, opacity .35s; opacity: .55; min-height: 28vh; }
.tg-day::before { content: ""; position: absolute; left: 8px; top: 1.35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--tg-sand); border: 3px solid var(--tg-line); box-sizing: border-box; transition: all .3s; }
.tg-day.is-active { opacity: 1; background: var(--tg-paper); box-shadow: 0 14px 40px -24px rgba(59,35,22,.45); }
.tg-day.is-active::before { border-color: var(--tg-terra); background: var(--tg-terra); box-shadow: 0 0 0 6px rgba(217,84,43,.18); }
.tg-day__n { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tg-terra); }
.tg-day__t { font-family: var(--tg-display); font-size: 1.35rem; margin: .25rem 0 .35rem; line-height: 1.15; }
.tg-day__place { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--tg-stone); }
.tg-day__place svg { width: 15px; height: 15px; color: var(--tg-terra); }
.tg-day__body { color: var(--tg-stone); margin-top: .5rem; }
.tg-day__body p { margin: 0; }
.tg-marker--dim { background: #b9ada0 !important; }
.tg-marker--on { background: var(--tg-ink) !important; transform: scale(1.25); box-shadow: 0 0 0 6px rgba(217,84,43,.35), 0 4px 10px rgba(0,0,0,.3) !important; }
.tg-marker { transition: background .3s, transform .3s; }
@media (max-width: 900px) {
	.tg-story-route { grid-template-columns: 1fr; gap: 1rem; }
	.tg-story-route__map { top: calc(var(--tg-header-h, 64px) + 52px); height: 36vh; z-index: 5; }
	.tg-day { min-height: 0; }
	.tg-map-overview { display: none; }
}

.tg-marker--on { animation: none !important; }

/* ---------- Globe ---------- */
.tg-globe { position: relative; box-sizing: border-box; border-radius: 22px; background: radial-gradient(120% 90% at 50% 40%, var(--tg-paper) 0%, #F1E8DC 100%); border: 1px solid var(--tg-line); padding: 1rem; overflow: hidden; }
.tg-globe__stage { position: relative; }
.tg-globe__canvas { display: block; width: 100%; height: clamp(360px, 52vw, 620px); cursor: grab; touch-action: pan-y; }
.tg-globe.is-dragging .tg-globe__canvas { cursor: grabbing; }

/* ---------- Live stats ---------- */
.tg-live { background: var(--tg-ink); color: var(--tg-paper); border-radius: 22px; padding: clamp(1.2rem, 3vw, 2rem); }
.tg-live__head { display: inline-flex; align-items: center; gap: .55rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,253,249,.7); margin-bottom: 1rem; }
.tg-live__dot { width: 9px; height: 9px; border-radius: 50%; background: #6FCF97; box-shadow: 0 0 0 0 rgba(111,207,151,.7); animation: tg-livepulse 1.8s infinite; }
@keyframes tg-livepulse { 0% { box-shadow: 0 0 0 0 rgba(111,207,151,.7); } 70% { box-shadow: 0 0 0 10px rgba(111,207,151,0); } 100% { box-shadow: 0 0 0 0 rgba(111,207,151,0); } }
.tg-live__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 1rem; align-items: stretch; }
.tg-live__item { border-left: 1px solid rgba(255,253,249,.15); padding: .3rem 0 .3rem 1rem; display: flex; flex-direction: column; justify-content: center; }
.tg-live__item b { font-family: var(--tg-display); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tg-live__item span { font-size: .85rem; color: rgba(255,253,249,.7); margin-top: .35rem; }
.tg-live__next { background: var(--tg-terra); border: 0; border-radius: 16px; padding: 1rem 1.2rem; color: var(--tg-paper) !important; text-decoration: none !important; transition: transform .2s; }
.tg-live__next:hover { transform: translateY(-3px); }
.tg-live__label { font-size: .72rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,253,249,.9) !important; margin: 0 0 .5rem !important; }
.tg-countdown { display: flex; gap: .8rem; margin: 0 !important; }
.tg-countdown > span { display: flex; flex-direction: column; align-items: center; margin: 0 !important; color: var(--tg-paper) !important; }
.tg-countdown b { font-size: clamp(1.6rem, 3vw, 2.3rem) !important; font-variant-numeric: tabular-nums; }
.tg-countdown small { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
@media (max-width: 1000px) { .tg-live__grid { grid-template-columns: repeat(2, 1fr); } .tg-live__next { grid-column: 1 / -1; } }

/* ---------- Partner tools ---------- */
.tg-sidecard__tools { display: grid; gap: .5rem; margin-top: .6rem; }
.tg-sidecard__tools .tg-btn--ghost { color: var(--tg-paper) !important; border-color: rgba(255,253,249,.4); }
.tg-sidecard__tools .tg-btn--ghost:hover { background: var(--tg-paper); color: var(--tg-ink) !important; }
.tg-actions { display: flex; gap: .35rem; align-items: center; }
.tg-promo__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.5rem; margin-top: 1rem; }
.tg-promo__opts { display: flex; flex-direction: column; gap: .9rem; }
.tg-promo__opts .tg-btn { margin-top: .2rem; }
.tg-promo__out { background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: var(--tg-r); padding: 1rem; display: flex; flex-direction: column; }
.tg-promo__toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; font-size: .78rem; color: var(--tg-stone); }
.tg-promo__out textarea { flex: 1; min-height: 360px; width: 100%; box-sizing: border-box; border: 1px solid var(--tg-line); border-radius: 12px; padding: 1rem; font: 15px/1.6 var(--wp--preset--font-family--body, sans-serif); background: #fff; resize: vertical; }
@media (max-width: 860px) { .tg-promo__grid { grid-template-columns: 1fr; } }
.tg-logo-field { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 1.5rem; padding: 1rem; background: var(--tg-paper); border: 1px dashed var(--tg-line); border-radius: 14px; }
.tg-logo-field__preview { width: 140px; height: 70px; border-radius: 10px; background: #fff; display: grid; place-items: center; border: 1px solid var(--tg-line); overflow: hidden; flex: none; }
.tg-logo-field__preview img { max-width: 90%; max-height: 90%; }
.tg-logo-field__preview span { font-size: .75rem; color: var(--tg-stone); }
.tg-logo-field label { flex: 1; }

/* ---------- Partner: Tutti i viaggi ---------- */
.tg-plist__filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem 1rem; padding: 1.1rem; background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: var(--tg-r); margin-bottom: .8rem; }
.tg-plist__filters label { display: flex; flex-direction: column; gap: .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-stone); }
.tg-plist__filters select, .tg-plist__filters input[type=search] { padding: .6rem .8rem; border: 1px solid var(--tg-line); border-radius: 10px; background: #fff; font: 500 .9rem var(--wp--preset--font-family--body, sans-serif); color: var(--tg-ink); text-transform: none; letter-spacing: 0; }
.tg-plist__search { grid-column: span 2; }
.tg-plist__price b { font-size: .85rem; color: var(--tg-ink); text-transform: none; letter-spacing: 0; }
.tg-plist__price input[type=range] { accent-color: var(--tg-terra); width: 100%; margin-top: .4rem; }
.tg-plist__filters .tg-datefilter { grid-column: 1 / -1; margin: 0; padding-top: .6rem; border-top: 1px dashed var(--tg-line); }
.tg-plist__filters .tg-datefilter .tg-filters__label { min-width: 0; }
.tg-plist__bar { display: flex; justify-content: space-between; align-items: center; margin: 0 0 .6rem; font-size: .9rem; color: var(--tg-stone); }
.tg-plist__bar b { color: var(--tg-ink); }
@media (max-width: 900px) { .tg-plist__filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tg-plist__filters { grid-template-columns: 1fr; } .tg-plist__search { grid-column: auto; } }

[data-pricelist] .tg-table { table-layout: auto; }
[data-pricelist] .tg-table th, [data-pricelist] .tg-table td { padding: .85rem .6rem; vertical-align: middle; }
[data-pricelist] .tg-table th:first-child, [data-pricelist] .tg-table td:first-child { padding-left: 1rem; min-width: 170px; }
[data-pricelist] .tg-table td.tg-actions-cell { padding-right: 1rem; width: 1%; }
[data-pricelist] .tg-actions { display: flex; gap: .35rem; align-items: center; justify-content: flex-end; flex-wrap: nowrap; }
[data-pricelist] .tg-btn--sm { padding: .4rem .75rem; font-size: .78rem; }
[data-pricelist] .tg-pill { font-size: .72rem; padding: .25rem .6rem; }
@media (max-width: 1200px) { [data-pricelist] .tg-table td:nth-child(6), [data-pricelist] .tg-table th:nth-child(6) { display: none; } }

/* ---------- Dashboard ---------- */
.tg-stats--4 { grid-template-columns: repeat(4, 1fr); }
.tg-stat--accent { background: var(--tg-forest); border-color: var(--tg-forest); color: var(--tg-paper); }
.tg-stat--accent span { color: rgba(255,253,249,.75); }
.tg-ov__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; margin-top: 1.5rem; }
.tg-ov__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.tg-ov__head .tg-h3 { margin-bottom: .2rem; }
.tg-hot { display: grid; gap: .9rem; margin-top: .8rem; }
.tg-hot__card { display: grid; grid-template-columns: 170px 1fr; background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: 16px; overflow: hidden; }
.tg-hot__img { position: relative; background: var(--tg-line) center/cover; min-height: 140px; display: block; }
.tg-hot__img .tg-pill { position: absolute; left: 10px; top: 10px; }
.tg-hot__body { padding: .9rem 1rem; display: flex; flex-direction: column; gap: .25rem; }
.tg-hot__body strong { font-family: var(--tg-display); font-size: 1.1rem; line-height: 1.15; }
.tg-hot__body small { color: var(--tg-stone); }
.tg-hot__price { display: flex; align-items: baseline; gap: .6rem; margin: .2rem 0 .5rem; }
.tg-hot__price span { font-family: var(--tg-display); font-weight: 700; font-size: 1.15rem; }
.tg-hot__price em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--tg-forest); }
.tg-hot .tg-actions { display: flex; gap: .35rem; flex-wrap: wrap; }
.tg-reqs { list-style: none; padding: 0 !important; margin: .8rem 0 1.6rem; background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: 16px; }
.tg-reqs li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .8rem 1rem; border-bottom: 1px solid var(--tg-line); }
.tg-reqs li:last-child { border: 0; }
.tg-reqs strong { display: block; font-size: .92rem; }
.tg-reqs small { color: var(--tg-stone); font-size: .8rem; }
.tg-ov__empty { margin: .8rem 0 1.6rem; padding: 1.1rem; border: 1px dashed var(--tg-line); border-radius: 16px; color: var(--tg-stone); font-size: .9rem; background: var(--tg-paper); }
.tg-quick { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .8rem; }
.tg-quick button { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem; background: var(--tg-paper); border: 1px solid var(--tg-line); border-radius: 14px; cursor: pointer; font: 600 .9rem var(--wp--preset--font-family--body, sans-serif); color: var(--tg-ink); text-align: left; transition: all .2s; }
.tg-quick button:hover { border-color: var(--tg-terra); transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(217,84,43,.6); }
.tg-quick svg { width: 22px; height: 22px; color: var(--tg-terra); }
.is-flash { animation: tg-flash 1.6s ease; }
@keyframes tg-flash { 0%, 100% { box-shadow: none; } 30%, 70% { box-shadow: 0 0 0 4px rgba(217,84,43,.35); } }
@media (max-width: 960px) { .tg-ov__grid { grid-template-columns: 1fr; } .tg-stats--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tg-hot__card { grid-template-columns: 1fr; } .tg-hot__img { min-height: 150px; } }

/* ---------- Dotted route maps ---------- */
.tg-dotmap { background: #E3EEEE; position: relative; }
.tg-map-wrap .tg-dotmap { height: 440px; }
.tg-dotmap__svg { display: block; width: 100%; height: 100%; }
.tg-dotmap.is-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); background-size: 200% 100%; animation: tg-dm-shine 1.2s linear infinite; }
@keyframes tg-dm-shine { to { background-position: -200% 0; } }
.tg-dotmap__prog { transition: stroke-dashoffset 1s cubic-bezier(.6,.05,.3,1); }
.tg-dm-stop .tg-dm-dot { fill: var(--tg-terra); transition: fill .3s; }
.tg-dm-stop.is-dim .tg-dm-dot { fill: #B9ADA0; }
.tg-dm-stop.is-on .tg-dm-dot { fill: var(--tg-ink); }
.tg-dm-stop .tg-dm-pulse { opacity: 0; transform-box: fill-box; transform-origin: center; }
.tg-dm-stop.is-on .tg-dm-pulse { animation: tg-dm-pulse 2s ease-out infinite; }
@keyframes tg-dm-pulse { 0% { opacity: .45; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
.tg-dm-num { font: 700 10px Inter, sans-serif; fill: #fff; pointer-events: none; }
.tg-dm-lab { font: 600 12px Inter, sans-serif; fill: var(--tg-ink); paint-order: stroke; stroke: #FFFDF9; stroke-width: 4px; stroke-linejoin: round; transition: opacity .3s; }
.tg-dm-stop.is-dim .tg-dm-lab { fill: #8A8178; }
.tg-dm-lab.is-crowded { opacity: 0; }
.tg-dm-stop.is-on .tg-dm-lab { opacity: 1; font-weight: 700; }
.tg-dm-trav { filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
@media (max-width: 900px) { .tg-story-route__map { height: 300px; } .tg-map-wrap .tg-dotmap { height: 320px; } }
@media (prefers-reduced-motion: reduce) { .tg-dotmap__prog { transition: none; } .tg-dm-stop.is-on .tg-dm-pulse { animation: none; } }

/* ---------- 1.4.6: posti disponibili nascosti (Impostazioni → Posti disponibili) ---------- */
.tg-deplist--noseats .tg-deprow { grid-template-columns: 76px 1fr auto auto 36px; }
.tg-deps--noseats .tg-dep__row { grid-template-columns: 1.4fr 1fr .9fr auto; }
.tg-live__grid--noseats { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); }
@media (max-width: 1000px) { .tg-live__grid--noseats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .tg-deps--noseats .tg-dep__row { grid-template-columns: 1fr auto; } }
@media (max-width: 760px) { .tg-deplist--noseats .tg-deprow { grid-template-columns: 62px 1fr auto; } }

/* ---------- 1.4.6: fasce di età cliccabili ---------- */
.tg-agelink { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.tg-agelink:hover, .tg-agelink:focus-visible { color: var(--tg-terra); }
.tg-card__age .tg-agelink:hover, .tg-card__age .tg-agelink:focus-visible { color: var(--tg-sun); }
.tg-tribe { position: relative; }
.tg-tribe h3 a { color: inherit; text-decoration: none; }
.tg-tribe h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.tg-tribe h3 a:hover, .tg-tribe h3 a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

