/* Trip Bagalil 2.0 theme styles. Mobile first, RTL native. Tokens come from the approved Figma frames. */

:root {
	--c-green-900: #003e30;
	--c-green-800: #063c30;
	--c-green-700: #07513d;
	--c-green-600: #123b34;
	--c-green-muted: #45665e;
	--c-mint: #eefae8;
	--c-mint-chip: #d8faaa;
	--c-map: #d9e9db;
	--c-orange: #ff7a05;
	--c-orange-dark: #e66a00;
	--c-yellow: #ffcc13;
	--c-border: #dae5df;
	--c-border-soft: #e6ece7;
	--c-border-mid: #b7ccc4;
	--c-white: #fff;
	--shadow-panel: 0 5px 24px rgba(13, 46, 36, 0.14);
	--shadow-card: 0 5px 10px rgba(13, 46, 36, 0.1);
	--shadow-phone: 0 5px 11px rgba(13, 46, 36, 0.24);
	--radius-pill: 999px;
	--radius-lg: 24px;
	--radius-card: 16px;
	--font: 'Heebo', 'Arial Hebrew', 'Segoe UI', Arial, sans-serif;
	--container: 1560px;
	--gutter: clamp(18px, 4vw, 48px);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--dur: 200ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--c-green-800); background: var(--c-white); direction: rtl; text-align: right; -webkit-font-smoothing: antialiased; }
body.tbg-drawer-open { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tbg-skip { position: absolute; top: -100px; right: 16px; z-index: 1000; padding: 10px 16px; background: var(--c-green-700); color: #fff; border-radius: 8px; }
.tbg-skip:focus { top: 12px; }
.tbg-hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tbg-icon { width: 1em; height: 1em; flex: none; }
.tbg-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.tbg-linklike { background: none; border: 0; padding: 0; text-decoration: underline; }

/* ---------- Typography ---------- */
.tbg-h1 { font-size: clamp(28px, 2.6vw + 14px, 44px); font-weight: 800; line-height: 1.2; }
.tbg-h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(26px, 1.6vw + 14px, 35px); font-weight: 800; line-height: 1.25; }
.tbg-h2__accent { display: none; width: 6px; height: 40px; border-radius: 3px; background: var(--c-orange); flex: none; }
.tbg-section__subtitle { margin-top: 3px; font-size: 14px; color: var(--c-green-muted); }
@media (min-width: 768px) { .tbg-h2__accent { display: block; } .tbg-section__subtitle { font-size: 16px; } }

/* ---------- Buttons ---------- */
.tbg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 10px 22px; border: 1px solid transparent; border-radius: var(--radius-pill); font-weight: 700; font-size: 15px; line-height: 1.1; white-space: nowrap; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tbg-btn .tbg-icon { width: 20px; height: 20px; }
.tbg-btn:active { transform: translateY(1px); }
.tbg-btn--primary { background: var(--c-orange); color: #fff; }
.tbg-btn--primary:hover { background: var(--c-orange-dark); box-shadow: 0 6px 16px rgba(255, 122, 5, 0.35); }
.tbg-btn--green { background: var(--c-green-700); color: #fff; }
.tbg-btn--green:hover { background: var(--c-green-800); }
.tbg-btn--secondary { background: #fff; color: var(--c-green-800); border-color: var(--c-border-mid); min-height: 43px; padding: 8px 18px; font-size: 14px; }
.tbg-btn--secondary .tbg-icon { width: 16px; height: 16px; }
.tbg-btn--secondary:hover { border-color: var(--c-green-700); background: var(--c-mint); }
.tbg-btn--sm { min-height: 40px; padding: 8px 18px; }
@media (min-width: 1024px) { .tbg-btn--primary:not(.tbg-btn--sm) { min-height: 60px; padding: 14px 30px; font-size: 17px; } .tbg-btn--primary:not(.tbg-btn--sm) .tbg-icon { width: 23px; height: 23px; } }

/* ---------- Header ---------- */
.tbg-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--c-border-soft); }
.tbg-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 73px; }
.tbg-logo img { width: auto; height: 52px; }
.tbg-logo--header img { height: 54px; }
.tbg-nav { display: none; }
.tbg-header__actions { display: flex; align-items: center; gap: 10px; }
.tbg-header__cta { display: none; }
.tbg-fav-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--c-green-700); border-radius: 50%; transition: background-color var(--dur); }
.tbg-fav-link:hover { background: var(--c-mint); }
.tbg-fav-link .tbg-icon { width: 24px; height: 24px; }
.tbg-fav-link__count { position: absolute; top: 2px; left: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-orange); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.tbg-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--c-green-800); border-radius: 10px; }
.tbg-menu-toggle .tbg-icon { width: 26px; height: 26px; }
.tbg-menu-toggle:hover { background: var(--c-mint); }
@media (min-width: 1024px) {
	.tbg-header__inner { min-height: 84px; gap: 24px; }
	.tbg-logo--header img { height: 64px; }
	.tbg-nav { display: block; flex: 1; }
	.tbg-nav__list { display: flex; justify-content: center; gap: clamp(6px, 1vw, 19px); }
	.tbg-nav__list > li { position: relative; }
	.tbg-nav__list > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 8px; font-size: 14px; font-weight: 700; border-radius: 8px; white-space: nowrap; transition: color var(--dur), background-color var(--dur); }
	.tbg-nav__list > li > a:hover, .tbg-nav__list > li.current-menu-item > a, .tbg-nav__list > li.current-menu-ancestor > a { color: var(--c-green-700); background: var(--c-mint); }
	.tbg-nav__list > li.menu-item-has-children > a::after { content: ''; width: 6px; height: 6px; margin-inline-start: 2px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
	.tbg-nav__list .sub-menu { position: absolute; top: 100%; right: 0; z-index: 60; min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--c-border-soft); border-radius: 14px; box-shadow: var(--shadow-panel); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); }
	.tbg-nav__list > li:hover > .sub-menu, .tbg-nav__list > li.is-focus > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.tbg-nav__list .sub-menu a { display: block; padding: 8px 12px; font-size: 14px; border-radius: 8px; }
	.tbg-nav__list .sub-menu a:hover { background: var(--c-mint); color: var(--c-green-700); }
	.tbg-header__cta { display: inline-flex; min-height: 50px; padding: 12px 20px; }
	.tbg-header__cta .tbg-icon { width: 22px; height: 22px; }
	.tbg-fav-link .tbg-icon { width: 28px; height: 28px; }
	.tbg-menu-toggle { display: none; }
}
@media (min-width: 1440px) { .tbg-nav__list > li > a { font-size: 15px; padding-inline: 10px; } }

/* Drawer */
.tbg-drawer { position: fixed; inset: 0; z-index: 100; }
.tbg-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 62, 48, 0.55); opacity: 0; transition: opacity 250ms var(--ease); }
.tbg-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); padding: 16px 18px 32px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform 250ms var(--ease); display: flex; flex-direction: column; gap: 18px; }
.tbg-drawer.is-open .tbg-drawer__backdrop { opacity: 1; }
.tbg-drawer.is-open .tbg-drawer__panel { transform: none; }
.tbg-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.tbg-drawer__close { width: 44px; height: 44px; border: 0; background: var(--c-mint); border-radius: 50%; font-size: 26px; line-height: 1; }
.tbg-drawer__list > li { border-bottom: 1px solid var(--c-border-soft); display: flex; flex-wrap: wrap; align-items: center; }
.tbg-drawer__list > li > a { flex: 1; display: block; padding: 14px 4px; font-size: 17px; font-weight: 700; }
.tbg-drawer__sub-toggle { width: 44px; height: 44px; border: 0; background: none; position: relative; }
.tbg-drawer__sub-toggle::after { content: ''; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border: solid var(--c-green-700); border-width: 0 0 2px 2px; transform: rotate(-45deg); transition: transform var(--dur); }
.tbg-drawer__list > li.is-open > .tbg-drawer__sub-toggle::after { transform: rotate(135deg); }
.tbg-drawer__list .sub-menu { display: none; flex-basis: 100%; padding: 0 12px 10px; }
.tbg-drawer__list > li.is-open > .sub-menu { display: block; }
.tbg-drawer__list .sub-menu a { display: block; padding: 9px 4px; font-size: 15px; color: var(--c-green-muted); }
.tbg-drawer__cta .tbg-btn { width: 100%; }

/* ---------- Hero ---------- */
.tbg-hero { position: relative; background: #fff; }
.tbg-hero__media { position: relative; height: 515px; overflow: hidden; }
.tbg-hero__media picture { height: 100%; }
.tbg-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.tbg-hero__media::after { content: ''; position: absolute; inset: 0 0 auto; height: 220px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)); pointer-events: none; }
.tbg-hero__content { position: absolute; top: 42px; left: 0; right: 0; text-align: center; }
.tbg-hero__title { font-size: clamp(34px, 9vw, 39px); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; }
.tbg-brush { position: relative; display: inline-block; z-index: 1; }
.tbg-brush::after { content: ''; position: absolute; left: 4%; right: 4%; bottom: 0.02em; height: 0.13em; z-index: -1; border-radius: 9px; background: var(--c-yellow); transform: skewX(-8deg); }
.tbg-hero__subtitle { max-width: 760px; margin: 14px auto 0; font-size: 15px; font-weight: 500; line-height: 1.3; }
.tbg-hero__subtitle br { display: none; }
.tbg-search { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; margin-top: -92px; padding: 16px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-panel); }
.tbg-search__field { display: flex; flex-direction: column; gap: 4px; }
.tbg-search__label { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }
.tbg-search__label .tbg-icon { width: 16px; height: 16px; color: var(--c-green-700); }
.tbg-select { position: relative; }
.tbg-select select { width: 100%; min-height: 44px; padding: 8px 14px 8px 38px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); background: #fff; color: var(--c-green-800); font-size: 14px; font-weight: 500; appearance: none; -webkit-appearance: none; cursor: pointer; }
.tbg-select select:hover { border-color: var(--c-border-mid); }
.tbg-select .tbg-icon { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--c-green-800); }
.tbg-search__submit { width: 100%; margin-top: 4px; }
@media (min-width: 768px) {
	.tbg-hero__media { height: 560px; }
	.tbg-hero__media img { object-position: 50% 78%; }
	.tbg-hero__content { top: 56px; }
	.tbg-hero__title { font-size: clamp(44px, 5.2vw, 80px); }
	.tbg-hero__subtitle { font-size: 18px; margin-top: 16px; }
	.tbg-hero__subtitle br { display: inline; }
	.tbg-search { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: -96px; padding: 20px; border-radius: 27px; }
	.tbg-search__field { flex: 1 1 200px; }
	.tbg-search__submit { width: auto; flex: 0 0 auto; margin-top: 0; min-width: 200px; }
}
@media (min-width: 1024px) {
	.tbg-hero__media { height: 640px; }
	.tbg-hero__content { top: 74px; }
	.tbg-hero__subtitle { font-size: 22px; }
	.tbg-search { flex-wrap: nowrap; gap: 14px; margin-top: -116px; padding: 23px; }
	.tbg-search__field { flex: 1 1 0; }
	.tbg-search__label { font-size: 14px; }
	.tbg-search__label .tbg-icon { width: 19px; height: 19px; }
	.tbg-select select { min-height: 47px; font-size: 15px; }
	.tbg-search__submit { flex: 0 0 323px; }
}
@media (min-width: 1440px) { .tbg-hero__media { height: 670px; } .tbg-hero__media img { object-position: 50% 82%; } }

/* ---------- Categories ---------- */
.tbg-categories { padding: 33px 0 22px; }
.tbg-categories__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
.tbg-category a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 4px; border-radius: 12px; text-align: center; transition: transform var(--dur) var(--ease); }
.tbg-category__icon { display: flex; align-items: center; justify-content: center; width: 51px; height: 51px; border-radius: 50%; background: var(--c-mint); color: var(--c-green-700); transition: background-color var(--dur), box-shadow var(--dur); }
.tbg-category__icon .tbg-icon { width: 27px; height: 27px; }
.tbg-category__label { font-size: 12px; font-weight: 700; }
.tbg-category__label::after { content: ''; display: block; width: 0; height: 3px; margin: 6px auto 0; border-radius: 2px; background: var(--c-orange); transition: width var(--dur) var(--ease); }
.tbg-category.is-current .tbg-category__label::after, .tbg-category a:hover .tbg-category__label::after { width: 60%; }
.tbg-category a:hover .tbg-category__icon { background: var(--c-mint-chip); box-shadow: 0 4px 12px rgba(13, 46, 36, 0.12); }
@media (min-width: 768px) {
	.tbg-categories { padding: 29px 0 28px; }
	.tbg-categories__list { grid-template-columns: repeat(6, 1fr); gap: 8px; }
	.tbg-category__icon { width: 77px; height: 77px; }
	.tbg-category__icon .tbg-icon { width: 39px; height: 39px; }
	.tbg-category__label { font-size: 16px; }
}

/* ---------- Sections and grids ---------- */
.tbg-section { padding: 17px 0 44px; }
.tbg-section__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.tbg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 11px; }
@media (min-width: 768px) {
	.tbg-section { padding: 28px 0 52px; }
	.tbg-section__head { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
	.tbg-grid { gap: 18px; }
}
@media (min-width: 1024px) { .tbg-grid--cards, .tbg-grid--articles { grid-template-columns: repeat(4, 1fr); } }

/* Experience card */
.tbg-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--c-border-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tbg-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(13, 46, 36, 0.16); }
.tbg-card__media { position: relative; aspect-ratio: 376 / 210; border-radius: 15px; overflow: hidden; background: var(--c-mint); }
.tbg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.tbg-card:hover .tbg-card__media img { transform: scale(1.04); }
.tbg-fav { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.25); color: #fff; backdrop-filter: blur(2px); transition: background-color var(--dur), transform var(--dur); }
.tbg-fav .tbg-icon { width: 20px; height: 20px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)); }
.tbg-fav:hover { background: rgba(255, 255, 255, 0.5); transform: scale(1.08); }
.tbg-fav.is-on { color: var(--c-orange); }
.tbg-fav.is-on .tbg-icon path { fill: currentColor; }
.tbg-chip { position: absolute; right: 10px; bottom: 9px; z-index: 2; padding: 3px 12px; border-radius: 14px; background: var(--c-mint-chip); color: var(--c-green-800); font-size: 12px; font-weight: 700; line-height: 22px; }
.tbg-chip--static { position: static; display: inline-block; margin-bottom: 10px; }
.tbg-card__body { display: flex; flex-direction: column; gap: 4px; padding: 10px; }
.tbg-card__title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.tbg-card__title a:hover { color: var(--c-green-700); }
.tbg-card__meta { display: flex; align-items: center; gap: 5px; font-size: 11px; }
.tbg-card__meta .tbg-icon { width: 13px; height: 13px; color: var(--c-green-700); }
.tbg-card__biz { font-size: 12px; color: var(--c-green-muted); }
@media (min-width: 768px) {
	.tbg-fav { width: 40px; height: 40px; }
	.tbg-fav .tbg-icon { width: 24px; height: 24px; }
	.tbg-chip { font-size: 14px; }
	.tbg-card__body { padding: 13px; }
	.tbg-card__title { font-size: 18px; }
	.tbg-card__meta { font-size: 13px; }
	.tbg-card__meta .tbg-icon { width: 17px; height: 17px; }
}

/* Article card */
.tbg-article { display: flex; flex-direction: column; gap: 5px; height: 100%; }
.tbg-article__media { display: block; aspect-ratio: 376 / 170; border-radius: 12px; overflow: hidden; background: var(--c-mint); }
.tbg-article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.tbg-article:hover .tbg-article__media img { transform: scale(1.04); }
.tbg-article__title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.tbg-article__title a:hover { color: var(--c-green-700); }
.tbg-article__excerpt { font-size: 12px; line-height: 1.4; }
@media (min-width: 768px) { .tbg-article__title { font-size: 17px; } .tbg-article__excerpt { font-size: 14px; } }

/* ---------- Planner banner ---------- */
.tbg-planner { padding: 17px 0 20px; }
.tbg-planner__banner { position: relative; min-height: 600px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; }
.tbg-planner__bg { position: absolute; inset: 0; z-index: -1; }
.tbg-planner__bg picture { height: 100%; }
.tbg-planner__bg img { width: 100%; height: 100%; object-fit: cover; }
.tbg-planner__bg::after { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.24); }
.tbg-planner__text { position: relative; padding: 24px 18px 0; text-align: center; }
.tbg-planner__rays { position: absolute; top: 2px; left: 10px; width: 40px; color: var(--c-orange); }
.tbg-planner__title { font-size: 28px; font-weight: 800; line-height: 1.25; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
.tbg-planner__desc { max-width: 560px; margin: 14px auto 0; font-size: 14px; line-height: 1.35; }
.tbg-planner__cta { margin-top: 20px; }
.tbg-phone { position: absolute; left: 40px; bottom: -30px; width: 192px; aspect-ratio: 270 / 405; padding: 9px; background: var(--c-green-600); border-radius: 30px; box-shadow: var(--shadow-phone); transform: rotate(9deg); }
.tbg-phone__glass { position: relative; height: 100%; padding: 10px 5px 5px; background: #fff; border-radius: 23px; display: flex; flex-direction: column; gap: 7px; }
.tbg-phone__notch { position: absolute; top: 4px; left: 50%; width: 38%; height: 11px; transform: translateX(-50%); background: #0b261e; border-radius: 8px; }
.tbg-phone__map { position: relative; flex: 1 1 60%; min-height: 0; border-radius: 16px; background: var(--c-map); overflow: hidden; }
.tbg-phone__map > .tbg-icon { width: 100%; height: 100%; }
.tbg-phone__pin { position: absolute; width: 11%; color: var(--c-green-700); }
.tbg-phone__pin .tbg-icon { width: 100%; height: auto; }
.tbg-phone__pin--1 { left: 24%; top: 62%; }
.tbg-phone__pin--2 { left: 60%; top: 35%; }
.tbg-phone__pin--3 { left: 78%; top: 72%; }
.tbg-phone__list { display: flex; flex-direction: column; gap: 5px; padding: 2px 4px 4px; }
.tbg-phone__stop { display: flex; align-items: center; gap: 7px; padding: 3px; background: #fff; border-radius: 7px; box-shadow: 0 1px 4px rgba(13, 46, 36, 0.12); }
.tbg-phone__thumb { width: 29px; height: 29px; border-radius: 5px; overflow: hidden; flex: none; }
.tbg-phone__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tbg-phone__stop-text { display: flex; flex-direction: column; line-height: 1.2; }
.tbg-phone__stop-text strong { font-size: 11px; }
.tbg-phone__stop-text small { font-size: 9px; color: var(--c-green-muted); }
@media (min-width: 768px) {
	.tbg-planner { padding: 16px 0 18px; }
	.tbg-planner__banner { min-height: 420px; }
	.tbg-planner__text { width: 56%; margin-inline-start: 0; margin-inline-end: auto; padding: 50px 32px 40px; }
	.tbg-planner__title { font-size: clamp(30px, 3vw, 47px); }
	.tbg-planner__desc { font-size: 17px; }
	.tbg-phone { left: 5%; bottom: auto; top: 12px; width: 200px; }
	.tbg-phone__stop-text strong { font-size: 13px; }
	.tbg-phone__stop-text small { font-size: 11px; }
}
@media (min-width: 1280px) {
	.tbg-planner__banner { min-height: 385px; }
	.tbg-planner__text { width: 55%; padding: 56px 40px; }
	.tbg-planner__rays { top: 0; left: -40px; width: 56px; }
	.tbg-planner__desc { font-size: 19px; }
	.tbg-planner__cta { margin-top: 26px; }
	.tbg-phone { left: 7%; top: -18px; width: 270px; }
	.tbg-phone__stop-text strong { font-size: 16px; }
	.tbg-phone__stop-text small { font-size: 14px; }
	.tbg-phone__thumb { width: 41px; height: 41px; }
}

/* ---------- Footer ---------- */
.tbg-footer { position: relative; margin-top: 30px; padding: 0 0 24px; background: var(--c-green-900); color: #fff; }
.tbg-footer__wave { position: relative; width: 100%; margin-top: -1px; background: #fff; line-height: 0; }
.tbg-footer__wave .tbg-icon { width: 100%; height: auto; }
.tbg-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; padding-top: 10px; }
.tbg-footer__newsletter { grid-column: 1 / -1; }
.tbg-footer__title { font-size: 22px; font-weight: 700; line-height: 1.25; }
.tbg-footer__text { margin-top: 6px; font-size: 13px; }
.tbg-newsletter { display: flex; align-items: center; gap: 4px; margin-top: 16px; padding: 5px; background: #fff; border-radius: var(--radius-pill); }
.tbg-newsletter__field { position: relative; flex: 1; display: flex; align-items: center; }
.tbg-newsletter__field .tbg-icon { position: absolute; right: 12px; width: 18px; height: 18px; color: var(--c-green-muted); }
.tbg-newsletter__field input { width: 100%; min-height: 36px; padding: 6px 38px 6px 10px; border: 0; background: transparent; color: var(--c-green-800); font-size: 13px; }
.tbg-newsletter__field input::placeholder { color: var(--c-green-muted); }
.tbg-newsletter__field input:focus-visible { outline-offset: -2px; }
.tbg-newsletter__status { margin-top: 10px; font-size: 13px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.12); }
.tbg-newsletter__status--error { background: rgba(255, 122, 5, 0.3); }
.tbg-footer__heading { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.tbg-footer__links li { margin-bottom: 4px; }
.tbg-footer__links a { font-size: 13px; opacity: 0.92; transition: opacity var(--dur); }
.tbg-footer__links a:hover { opacity: 1; text-decoration: underline; }
.tbg-footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 10px; }
.tbg-logo--footer img { height: 68px; }
.tbg-footer__tagline { font-size: 13px; }
.tbg-social { display: flex; gap: 12px; }
.tbg-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--c-green-700); transition: transform var(--dur), background-color var(--dur); }
.tbg-social a:hover { transform: translateY(-2px); background: var(--c-mint-chip); }
.tbg-social .tbg-icon { width: 18px; height: 18px; }
.tbg-footer__legal { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 12px; opacity: 0.85; }
.tbg-footer__legal a:hover, .tbg-footer__legal button:hover { text-decoration: underline; }
@media (min-width: 768px) {
	.tbg-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; padding-top: 24px; }
	.tbg-footer__newsletter { grid-column: 1; }
	.tbg-footer__brand { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
	.tbg-footer__legal { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
	.tbg-footer__grid { grid-template-columns: 2.2fr 1fr 1fr 1.1fr; gap: 32px; padding-top: 30px; }
	.tbg-footer__brand { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding-top: 0; }
	.tbg-footer__title { font-size: 25px; }
	.tbg-footer__text { font-size: 14px; }
	.tbg-newsletter { padding: 6px; gap: 8px; }
	.tbg-newsletter__field input { font-size: 13px; }
	.tbg-footer__links a { font-size: 14px; }
	.tbg-footer__tagline { font-size: 14px; }
	.tbg-logo--footer img { height: 80px; }
}

/* ---------- Listings, singles, results ---------- */
.tbg-listing, .tbg-results, .tbg-single { padding: 32px var(--gutter) 48px; }
.tbg-listing__head, .tbg-results__head { margin-bottom: 24px; }
.tbg-listing__desc, .tbg-results__intro { margin-top: 8px; color: var(--c-green-muted); }
.tbg-search--inline { margin: 0 0 28px; box-shadow: none; border: 1px solid var(--c-border-soft); }
.tbg-empty { padding: 32px; border: 1px dashed var(--c-border-mid); border-radius: var(--radius-card); text-align: center; }
.tbg-empty__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.tbg-empty__links a { display: inline-block; padding: 8px 16px; border-radius: var(--radius-pill); background: var(--c-mint); font-weight: 700; }
.tbg-empty__links a:hover { background: var(--c-mint-chip); }
.tbg-pagination { margin-top: 32px; }
.tbg-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tbg-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--c-border); font-weight: 700; }
.tbg-pagination .page-numbers.current { background: var(--c-green-700); color: #fff; border-color: var(--c-green-700); }
.tbg-single { max-width: 1120px; }
.tbg-single__head { margin-bottom: 20px; }
.tbg-single__date { margin-top: 8px; font-size: 14px; color: var(--c-green-muted); }
.tbg-single__media { margin: 0 0 24px; border-radius: var(--radius-card); overflow: hidden; }
.tbg-single__media img { width: 100%; }
.tbg-single__foot { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.tbg-single__foot .tbg-fav { position: static; background: var(--c-mint); color: var(--c-green-700); }
.tbg-prose { font-size: 17px; line-height: 1.7; }
.tbg-prose h2 { margin: 1.4em 0 0.5em; font-size: 1.5em; line-height: 1.3; }
.tbg-prose h3 { margin: 1.2em 0 0.4em; font-size: 1.2em; }
.tbg-prose p, .tbg-prose ul, .tbg-prose ol { margin: 0 0 1em; }
.tbg-prose ul, .tbg-prose ol { padding-inline-start: 1.4em; }
.tbg-prose ul { list-style: disc; }
.tbg-prose ol { list-style: decimal; }
.tbg-prose a { color: var(--c-green-700); text-decoration: underline; }
.tbg-prose img { border-radius: 12px; }
.tbg-prose blockquote { margin: 1em 0; padding: 12px 20px; border-inline-start: 4px solid var(--c-orange); background: var(--c-mint); border-radius: 0 12px 12px 0; }
.tbg-searchform { display: flex; gap: 8px; max-width: 480px; margin: 24px auto 0; }
.tbg-searchform label { flex: 1; }
.tbg-searchform__input { width: 100%; min-height: 40px; padding: 6px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); }
.tbg-404 { text-align: center; }

/* ---------- Token bridge for the shared accessibility widget and cookie consent (basarela reference) ---------- */
:root {
	--color-coral: var(--c-orange); --color-coral-dark: var(--c-orange-dark); --color-orange: var(--c-orange);
	--color-ink: var(--c-green-800); --color-muted: var(--c-green-muted); --color-border: var(--c-border); --color-surface: #fff;
	--shadow-floating: var(--shadow-panel); --font-primary: var(--font);
	--space-xs: 6px; --space-sm: 10px; --space-md: 16px; --space-lg: 24px;
}
/* Shared widget buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 8px 18px; border-radius: var(--radius-pill); border: 1px solid transparent; font-weight: 700; font-size: 14px; transition: background-color var(--dur), color var(--dur); }
.btn-primary { background: var(--c-orange); color: #fff; }
.btn-primary:hover { background: var(--c-orange-dark); }
.btn-secondary { background: #fff; color: var(--c-green-800); border-color: var(--c-border-mid); }
.btn-secondary:hover { background: var(--c-mint); }

/* ---------- Directory listing details and owner portal ---------- */
.tbg-single__layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .tbg-single__layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.tbg-single__credit { margin-top: 6px; font-size: 12px; color: var(--c-green-muted); }
.tbg-details { position: sticky; top: 100px; padding: 22px; border: 1px solid var(--c-border-soft); border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-card); }
.tbg-details__title { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.tbg-details dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0 0 16px; font-size: 15px; }
.tbg-details dt { font-weight: 700; color: var(--c-green-muted); }
.tbg-details dd { margin: 0; }
.tbg-details dd a { color: var(--c-green-700); font-weight: 700; }
.tbg-details__cta { width: 100%; }
.tbg-details__note { margin-top: 14px; font-size: 13px; color: var(--c-green-muted); }
.tbg-details__note a { color: var(--c-green-700); text-decoration: underline; }
.tbg-owner { max-width: 760px; }
.tbg-owner__eyebrow { font-size: 14px; font-weight: 700; color: var(--c-orange-dark); margin-bottom: 4px; }
.tbg-owner__msg { margin: 16px 0; padding: 12px 16px; border-radius: 12px; background: var(--c-mint); }
.tbg-owner__msg--error { background: #fff1e6; border: 1px solid #ffd2ad; }
.tbg-owner__msg--success { background: #e9f8e3; border: 1px solid #bfe8b0; }
.tbg-owner__form { display: grid; gap: 16px; margin-top: 20px; }
.tbg-owner__field { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.tbg-owner__field input, .tbg-owner__field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 12px; font: inherit; font-weight: 400; color: var(--c-green-800); background: #fff; }
.tbg-owner__field textarea { min-height: 220px; line-height: 1.6; resize: vertical; }
.tbg-owner__field input:focus-visible, .tbg-owner__field textarea:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 1px; }
.tbg-owner__danger { margin-top: 40px; padding: 20px; border: 1px dashed #e9a07a; border-radius: var(--radius-card); }
.tbg-owner__danger h2 { font-size: 18px; margin-bottom: 10px; }
.tbg-owner__check { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tbg-owner__check input { width: 20px; height: 20px; }

/* picture wrappers must fill their media boxes (fallback landscapes are wider than the card ratio) */
.tbg-card__media picture, .tbg-article__media picture, .tbg-card__media > a { display: block; height: 100%; }
