/* ==========================================================================
   TravelBus 2026 — measured from a 1440px-wide design (container 1328px).
   ========================================================================== */

:root {
	--tb-bg: #f2f7fa;
	--tb-surface: #ffffff;
	--tb-ink: #0f1728;
	--tb-text: #1a2035;
	--tb-muted: #6b7180;
	--tb-soft: #8a90a0;
	--tb-line: #e8ecf1;
	--tb-pill: #e8ecf1;

	--tb-blue: #3590fe;
	--tb-blue-ink: #0267d4;
	--tb-orange: #fe8233;
	--tb-green: #53cea0;
	--tb-maroon: #9e3546;
	--tb-yellow: #fdd22c;

	--tb-radius-xl: 24px;
	--tb-radius-lg: 20px;
	--tb-radius: 16px;
	--tb-radius-sm: 12px;
	--tb-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 28px rgba(16, 24, 40, .05);
	--tb-shadow-hover: 0 2px 4px rgba(16, 24, 40, .04), 0 16px 40px rgba(16, 24, 40, .09);

	--tb-container: 1328px;
	--tb-gutter: 56px;
	--tb-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
	margin: 0;
	background: var(--tb-bg);
	color: var(--tb-text);
	font-family: var(--tb-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--tb-blue); outline-offset: 3px; border-radius: 6px; }

.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;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 100; top: 12px; left: 12px;
	padding: 10px 16px; background: var(--tb-ink); color: #fff; border-radius: 10px;
}

.tb-container {
	width: 100%;
	max-width: calc(var(--tb-container) + 2 * var(--tb-gutter));
	margin-inline: auto;
	padding-inline: var(--tb-gutter);
}

/* Shared bits ------------------------------------------------------------ */
.tb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 40px; padding: 0 22px; border-radius: 999px;
	font-size: 15px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
	transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.tb-btn:hover { transform: translateY(-1px); }
.tb-btn--dark { background: var(--tb-ink); color: #fff; }
.tb-btn--dark:hover { background: #1d2a44; }
.tb-btn--light { background: #fff; color: var(--tb-ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }

.tb-round {
	display: inline-grid; place-items: center; flex: none;
	width: 40px; height: 40px; border-radius: 50%;
	background: #fff; color: var(--tb-ink);
	box-shadow: 0 4px 14px rgba(16, 24, 40, .12);
	transition: transform .2s ease;
}
.tb-round--sm { width: 30px; height: 30px; box-shadow: none; }
.tb-round--xs { width: 26px; height: 26px; box-shadow: none; background: transparent; }
.tb-round--grey { width: 34px; height: 34px; background: #f1f3f7; box-shadow: none; }

.tb-badge {
	position: relative; z-index: 2;
	display: inline-flex; align-items: center;
	height: 28px; padding: 0 14px; border-radius: 999px;
	font-size: 14px; font-weight: 500; line-height: 1; color: #fff;
	background: var(--tb-blue);
	white-space: nowrap;
}
.tb-badge--blue { background: var(--tb-blue); }
.tb-badge--orange { background: var(--tb-orange); }
.tb-badge--green { background: var(--tb-green); }
.tb-badge--maroon { background: var(--tb-maroon); }
.tb-badge--yellow { background: var(--tb-yellow); color: #3d3000; }

.tb-img { width: 100%; height: 100%; object-fit: cover; }
.tb-img--placeholder { display: block; background: linear-gradient(135deg, #cfe3f5, #e7d9f7); }

.tb-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Header ----------------------------------------------------------------- */
.tb-header {
	max-width: calc(var(--tb-container) + 14px + 2 * var(--tb-gutter));
	margin: 8px auto 0;
	padding-inline: calc(var(--tb-gutter) - 7px);
	position: relative; z-index: 50;
}
.tb-header__bar {
	display: flex; align-items: center;
	height: 64px; padding: 0 22px 0 26px;
	background: rgba(255, 255, 255, .96);
	border-radius: 18px;
	box-shadow: var(--tb-shadow);
}
.tb-brand { flex: none; }
.tb-brand .custom-logo { max-height: 36px; width: auto; }
.tb-logo { display: inline-flex; align-items: center; gap: 12px; }
.tb-logo__text { font-size: 25.5px; font-weight: 700; letter-spacing: -.03em; color: var(--tb-ink); }
.tb-logo--lg .tb-logo__text { font-size: 26px; }

.tb-nav { margin-left: 100px; min-width: 0; }
.tb-nav__list { display: flex; align-items: center; gap: 33px; list-style: none; }
.tb-nav__list a { font-size: 15px; font-weight: 500; color: #2a3042; white-space: nowrap; transition: color .2s; }
.tb-nav__list a:hover,
.tb-nav__list .current-menu-item > a,
.tb-nav__list .current_page_item > a { color: #2f86f6; }
.tb-nav__list .sub-menu { display: none; }

.tb-search {
	display: flex; align-items: center; gap: 10px;
	margin-left: auto; flex-shrink: 1; min-width: 160px;
	width: 337px; height: 38px; padding: 0 16px;
	background: #f1f4f8; border-radius: 999px; color: #2a3042;
}
.tb-search input {
	flex: 1; min-width: 0; height: 100%;
	background: transparent; border: 0; outline: 0;
	font-size: 13px; color: var(--tb-text);
}
.tb-search input::placeholder { color: #9aa0ad; }
.tb-search input::-webkit-search-cancel-button { display: none; }
.tb-search .tb-btn { height: 40px; }

.tb-header__cta { margin-left: 15px; height: 40px; padding: 0 22px; font-size: 14px; }
.tb-burger { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; margin-left: 8px; }
.tb-burger__close { display: none; }

/* Hero ------------------------------------------------------------------- */
.tb-main { display: block; }
.tb-hero {
	display: grid;
	grid-template-columns: 600px minmax(0, 1fr);
	gap: 18px;
	margin-top: 22px;
}
.tb-hero__main {
	position: relative; overflow: hidden;
	min-height: 583px; border-radius: var(--tb-radius-lg);
	background: #1d2b36; color: #fff;
	isolation: isolate;
}
.tb-hero__img { position: absolute; inset: 0; z-index: -2; }
.tb-hero__img .tb-img { transition: transform .8s ease; }
.tb-hero__main:hover .tb-hero__img .tb-img { transform: scale(1.03); }
.tb-hero__main::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgba(10, 18, 28, 0) 38%, rgba(10, 18, 28, .45) 62%, rgba(10, 18, 28, .82) 100%);
}
.tb-hero__content {
	position: absolute; left: 32px; right: 32px; bottom: 32px;
	display: flex; flex-direction: column; align-items: flex-start;
}
.tb-hero__content .tb-badge { height: 32px; padding: 0 16px; font-size: 15px; }
.tb-hero__title {
	margin-top: 22px;
	font-size: 40px; line-height: 1.12; font-weight: 700; letter-spacing: -.025em;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.tb-hero__text {
	margin-top: 14px; max-width: 360px;
	font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, .92);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tb-hero__main .tb-btn--light { margin-top: 24px; height: 38px; padding: 0 20px; font-size: 13.5px; font-weight: 500; gap: 8px; }

.tb-hero__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: 190px 185px 174px;
	gap: 17px 15px;
}

/* Photo tiles (Aventură / Relaxare) */
.tb-tile {
	position: relative; overflow: hidden; isolation: isolate;
	border-radius: var(--tb-radius);
	display: flex; flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
}
.tb-tile:hover { transform: translateY(-3px); box-shadow: var(--tb-shadow-hover); }
.tb-tile--photo { grid-column: span 2; padding: 28px 30px; color: #1c1a1a; }
.tb-tile__bg {
	position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: -2;
	background-size: cover; background-position: center;
}
.tb-tile--photo::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, var(--tile) 0%, var(--tile) 36%, color-mix(in srgb, var(--tile) 80%, transparent) 50%, color-mix(in srgb, var(--tile) 0%, transparent) 78%);
}
.tb-tile--photo { background: var(--tile); }
.tb-tile--aventura { --tile: #ffb36e; }
.tb-tile--relaxare { --tile: #a3ebc6; }
.tb-tile__inner { display: flex; flex-direction: column; height: 100%; }
.tb-tile__icon { flex: none; margin-bottom: 18px; }
.tb-tile--photo .tb-tile__icon { width: 44px; height: 44px; stroke-width: 1.7; color: #3a2a1a; }
.tb-tile--relaxare .tb-tile__icon { color: #11312a; }
.tb-tile__title { font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.tb-tile__sub { margin-top: 12px; max-width: 112px; font-size: 17.5px; line-height: 1.3; }

/* Wide banner (Santorini) */
.tb-wide {
	grid-column: 1 / -1;
	position: relative; overflow: hidden; isolation: isolate;
	border-radius: var(--tb-radius);
	background: #c2e1fd;
	display: flex; align-items: center;
	padding: 0 30px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.tb-wide:hover { transform: translateY(-3px); box-shadow: var(--tb-shadow-hover); }
.tb-wide__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; z-index: -2; }
.tb-wide::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, #bcdcfb 0%, #b9dafb 34%, rgba(178, 213, 249, .82) 50%, rgba(178, 213, 249, 0) 78%);
}
.tb-wide__content { position: relative; max-width: 330px; }
.tb-wide__title { margin-top: 13px; font-size: 25px; line-height: 1.18; font-weight: 600; letter-spacing: -.02em; color: #12192b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tb-wide__text { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: #3b4558; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tb-wide__arrow { position: absolute; right: 18px; bottom: 15px; z-index: 2; }

/* Colour tiles (Cultură / Recomandări) */
.tb-tile--color { padding: 20px 18px 18px; }
.tb-tile--color .tb-tile__icon { width: 40px; height: 40px; margin-bottom: auto; stroke-width: 1.6; }
.tb-tile--color .tb-tile__title { font-size: 17px; margin-top: 14px; }
.tb-tile--color .tb-tile__sub { margin-top: 8px; max-width: 110px; font-size: 14.5px; line-height: 1.35; }
.tb-tile--color .tb-round { position: absolute; right: 14px; bottom: 16px; }
.tb-tile--cultura { background: linear-gradient(170deg, #7a1942 0%, #8a2643 55%, #a54045 100%); color: #fff; }
.tb-tile--cultura .tb-tile__sub { color: rgba(255, 255, 255, .9); }
.tb-tile--recomandari { background: linear-gradient(180deg, #fde46c 0%, #fee36a 100%); color: #3a2c00; }
.tb-tile--recomandari .tb-tile__icon { color: #c48a00; }
.tb-tile--recomandari .tb-tile__title { color: #2f2400; }

/* Small article card (fills the last row next to Cultură / Recomandări) */
.tb-mini {
	grid-column: span 2;
	position: relative; overflow: hidden;
	border-radius: var(--tb-radius);
	background: #fff; box-shadow: var(--tb-shadow);
	display: grid; grid-template-columns: 44% minmax(0, 1fr);
	transition: transform .25s ease, box-shadow .25s ease;
}
.tb-mini:hover { transform: translateY(-3px); box-shadow: var(--tb-shadow-hover); }
.tb-mini__media { position: relative; display: block; overflow: hidden; }
.tb-mini__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tb-mini:hover .tb-mini__media img { transform: scale(1.04); }
.tb-mini__body { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 18px 16px; min-width: 0; }
.tb-mini .tb-badge { position: relative; z-index: 2; height: 26px; padding: 0 12px; font-size: 12.5px; }
.tb-mini__title {
	margin-top: 10px; font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--tb-text);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tb-mini__meta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--tb-soft); }
.tb-mini__arrow { position: absolute; right: 14px; bottom: 14px; }

.tb-socials { display: flex; align-items: center; list-style: none; }
.tb-socials a { display: block; transition: transform .2s ease; }
.tb-socials a:hover { transform: translateY(-2px) scale(1.06); }

/* Filters ---------------------------------------------------------------- */
.tb-articles { margin-top: 38px; }
.tb-filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tb-pills { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.tb-pills::-webkit-scrollbar { display: none; }
.tb-pill {
	flex: none; height: 43px; padding: 0 30px; border-radius: 999px;
	background: var(--tb-pill); color: #222838;
	font-size: 15.5px; font-weight: 500;
	transition: background-color .2s, color .2s;
}
.tb-pill:first-child { padding: 0 33px; }
.tb-pill:hover { background: #dde3ea; }
.tb-pill.is-active { background: var(--tb-ink); color: #fff; }

.tb-sort {
	position: relative; flex: none;
	display: inline-flex; align-items: center;
	height: 43px; border-radius: 999px;
	background: #fff; box-shadow: var(--tb-shadow);
}
.tb-sort select {
	appearance: none; -webkit-appearance: none;
	height: 100%; padding: 0 38px 0 20px; border: 0; border-radius: 999px;
	background: transparent; font-size: 13.5px; color: #222838; cursor: pointer;
}
.tb-sort .tb-icon { position: absolute; right: 16px; pointer-events: none; }

/* Card grid -------------------------------------------------------------- */
.tb-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px 20px;
	margin-top: 20px;
	transition: opacity .25s ease;
}
.tb-grid.is-loading { opacity: .45; pointer-events: none; }

.tb-card {
	display: flex; flex-direction: column;
	min-height: 375px; padding: 4px;
	background: var(--tb-surface);
	border-radius: var(--tb-radius);
	box-shadow: var(--tb-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.tb-card:hover { transform: translateY(-4px); box-shadow: var(--tb-shadow-hover); }
.tb-card__media { position: relative; }
.tb-card__link { display: block; height: 195px; border-radius: 12px; overflow: hidden; }
.tb-card__media .tb-img { transition: transform .6s ease; }
.tb-card:hover .tb-card__media .tb-img { transform: scale(1.05); }
.tb-card__media .tb-badge { position: absolute; left: 14px; bottom: -2px; height: 34px; padding: 0 18px; font-size: 15.5px; }

.tb-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 17px 16px; }
.tb-card__title {
	font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.018em; color: var(--tb-text);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tb-card__title a:hover { color: #2f86f6; }
.tb-card__excerpt {
	margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: #5d6474;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tb-card__meta { display: flex; align-items: center; gap: 26px; margin-top: auto; padding-top: 18px; }

.tb-stat { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #5d6474; }
.tb-stat .tb-icon { width: 19px; height: 19px; }
.tb-like { transition: color .2s; }
.tb-like:hover, .tb-like.is-liked { color: #e5484d; }
.tb-like.is-liked .tb-icon { fill: currentColor; }
.tb-save { margin-left: auto; color: var(--tb-ink); transition: color .2s, transform .2s; }
.tb-save:hover { transform: scale(1.1); }
.tb-save.is-saved .tb-icon { fill: currentColor; }

.tb-empty { grid-column: 1 / -1; padding: 48px; text-align: center; color: var(--tb-muted); background: #fff; border-radius: var(--tb-radius); }
.tb-empty .tb-search--block { margin: 20px auto 0; }

/* Sections --------------------------------------------------------------- */
.tb-section { margin-top: 30px; }
.tb-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tb-section__title { font-size: 27px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; color: var(--tb-ink); }
.tb-more { display: inline-flex; align-items: center; gap: 4px; font-size: 15.5px; color: #3c4356; transition: color .2s; }
.tb-more:hover { color: #2f86f6; }
.tb-more:hover .tb-round { transform: translateX(3px); }

/* Editor's pick */
.tb-editor {
	display: grid; grid-template-columns: 608px minmax(0, 1fr); align-items: center;
	padding: 10px; min-height: 281px;
	background: #fff; border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow);
}
.tb-editor__media { display: block; height: 261px; border-radius: 14px; overflow: hidden; }
.tb-editor__body { padding: 0 20px 0 43px; }
.tb-editor__body .tb-badge, .tb-wide .tb-badge { height: 34px; padding: 0 18px; font-size: 15.5px; }
.tb-wide .tb-badge { height: 30px; padding: 0 15px; font-size: 14px; }
.tb-editor__title { margin-top: 16px; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; color: var(--tb-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tb-editor__title a:hover { color: #2f86f6; }
.tb-editor__text { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--tb-muted); max-width: 610px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tb-editor__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.tb-editor__meta { display: flex; align-items: center; gap: 26px; }
.tb-editor__meta .tb-stat { font-size: 15px; }
.tb-editor__body .tb-btn { height: 46px; padding: 0 23px; font-size: 15.5px; }
.tb-author { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--tb-text); }
.tb-author img { width: 32px; height: 32px; border-radius: 50%; }

/* Quick guides */
.tb-guides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.tb-guide {
	display: flex; align-items: flex-start; gap: 18px;
	min-height: 116px; padding: 16px 12px 14px 18px;
	background: #fff; border-radius: var(--tb-radius); box-shadow: var(--tb-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.tb-guide:hover { transform: translateY(-3px); box-shadow: var(--tb-shadow-hover); }
.tb-guide:hover .tb-round { transform: translateX(3px); }
.tb-guide__icon { flex: none; display: grid; place-items: center; width: 74px; height: 74px; margin-top: 0; border-radius: 50%; }
.tb-guide__icon .tb-icon { width: 40px; height: 40px; stroke-width: 1.5; }
.tb-guide__icon--blue { background: #e4f0fd; color: #1e5fc4; }
.tb-guide__icon--sky { background: #e8f2fd; color: #2b74d8; }
.tb-guide__icon--yellow { background: #fcf5d8; color: #b98a12; }
.tb-guide__icon--green { background: #def3e7; color: #148250; }
.tb-guide__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: 6px; }
.tb-guide__title { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; color: var(--tb-ink); }
.tb-guide__sub { margin-top: 5px; font-size: 13.2px; letter-spacing: -.01em; line-height: 1.4; color: var(--tb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tb-guide .tb-round { margin-top: 9px; }

/* Game band */
.tb-play {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px;
	margin-top: 20px; min-height: 157px; padding: 26px 40px 26px 38px;
	border-radius: var(--tb-radius-xl);
	background: linear-gradient(90deg, #19aafd 0%, #4f87fa 24%, #8e69fa 48%, #b562ee 72%, #f065bf 100%);
	color: #fff;
}
.tb-play__icon {
	display: grid; place-items: center; width: 92px; height: 92px; border-radius: 22px;
	background: rgba(255, 255, 255, .12);
}
.tb-play__icon .tb-icon { width: 50px; height: 50px; stroke-width: 1.6; color: #fff; transform: rotate(-12deg); }
.tb-play__text h2 { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
.tb-play__text p { margin-top: 6px; max-width: 560px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.tb-play__action { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tb-play__btn { height: 54px; padding: 0 32px; font-size: 16.5px; box-shadow: 0 6px 20px rgba(60, 30, 140, .25); }
.tb-play__btn:hover .tb-icon { transform: translateX(3px); }
.tb-play__btn .tb-icon { transition: transform .2s ease; }
.tb-play__facts { display: flex; gap: 6px; list-style: none; font-size: 13px; color: rgba(255, 255, 255, .92); }
.tb-play__facts li + li::before { content: "·"; margin-right: 6px; }

/* Footer */
.tb-footer {
	display: grid; grid-template-columns: 1.05fr .89fr 1.07fr 1fr; gap: 15px;
	margin-top: 30px; margin-bottom: 44px;
}
.tb-footer__card { min-height: 196px; padding: 34px 38px; background: #fff; border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow); }
.tb-footer__brand p { margin-top: 18px; font-size: 16px; line-height: 1.55; color: var(--tb-muted); }
.tb-footer__brand { padding-top: 40px; }
.tb-footer__nav { padding: 22px 46px; }
.tb-footer__title { font-size: 16px; font-weight: 600; color: var(--tb-ink); }
.tb-footer__links { list-style: none; margin-top: 8px; }
.tb-footer__links li + li { margin-top: 0; }
.tb-footer__links a { font-size: 15.5px; line-height: 1.55; color: #3c4356; transition: color .2s; }
.tb-footer__links a:hover { color: #2f86f6; }
.tb-footer__social { padding-top: 28px; padding-left: 42px; }
.tb-footer__social .tb-socials { margin-top: 22px; gap: 26px; }
.tb-footer__social p { margin-top: 18px; font-size: 15px; color: var(--tb-muted); }
.tb-footer__legal { padding-top: 32px; padding-left: 42px; }
.tb-footer__small { margin-top: 18px; font-size: 13px; color: var(--tb-soft); }
.tb-footer__legal p:last-child { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--tb-muted); }

/* Single article --------------------------------------------------------- */
.tb-single { margin-top: 26px; }
.tb-single__head { max-width: 860px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tb-crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--tb-soft); margin-bottom: 18px; }
.tb-crumbs a:hover { color: #2f86f6; }
.tb-single__title { margin-top: 18px; font-size: 46px; line-height: 1.12; font-weight: 700; letter-spacing: -.03em; color: var(--tb-ink); }
.tb-single__lead { margin-top: 18px; font-size: 19px; line-height: 1.6; color: var(--tb-muted); }
.tb-single__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 24px; }
.tb-single__cover { margin: 32px 0 0; height: min(560px, 50vw); border-radius: var(--tb-radius-xl); overflow: hidden; }
.tb-single__layout { max-width: 820px; margin: 32px auto 0; padding: 48px 56px; background: #fff; border-radius: var(--tb-radius-xl); box-shadow: var(--tb-shadow); }
.tb-page .tb-single__head { margin-bottom: 0; }

/* Article: full-width card, reading column + sticky sidebar */
.tb-single__layout--wide {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start;
	max-width: none; padding: 56px 56px 48px 72px;
}
.tb-single__layout--wide .tb-prose { max-width: 760px; }
.tb-single__layout--wide .tb-single__foot { max-width: 760px; }
.tb-single__aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.tb-aside-card { display: block; padding: 22px 24px; border-radius: var(--tb-radius); background: #f5f8fb; }
.tb-aside-card__title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tb-soft); }
.tb-toc__list { list-style: none; margin-top: 12px; counter-reset: toc; }
.tb-toc__list li { counter-increment: toc; }
.tb-toc__list a {
	position: relative; display: block; padding: 7px 0 7px 30px;
	font-size: 14.5px; line-height: 1.4; color: #3c4356; transition: color .2s;
}
.tb-toc__list a::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: 8px; font-size: 12px; font-weight: 600; color: #9aa0ad; }
.tb-toc__list a:hover, .tb-toc__list a.is-active { color: #2f86f6; }
.tb-toc__list a.is-active::before { color: #2f86f6; }
.tb-aside-author { display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-items: center; }
.tb-aside-author img { width: 56px; height: 56px; border-radius: 50%; }
.tb-aside-author__label { display: block; font-size: 13px; color: var(--tb-soft); }
.tb-aside-author__name { font-size: 16px; color: var(--tb-ink); }
.tb-aside-author__bio { grid-column: 1 / -1; margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--tb-muted); }
.tb-aside-cta {
	display: flex; flex-direction: column; gap: 4px; color: #fff;
	background: linear-gradient(120deg, #19aafd 0%, #8e69fa 60%, #f065bf 100%);
	transition: transform .2s ease;
}
.tb-aside-cta:hover { transform: translateY(-2px); }
.tb-aside-cta .tb-icon { margin-bottom: 8px; }
.tb-aside-cta strong { font-size: 17px; }
.tb-aside-cta span { font-size: 14px; opacity: .9; }

.tb-prose { font-size: 18px; line-height: 1.75; color: #2b3144; overflow-wrap: break-word; }
.tb-prose > * + * { margin-top: 1.1em; }
.tb-prose h2 { margin-top: 1.8em; font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; color: var(--tb-ink); }
.tb-prose h3 { margin-top: 1.6em; font-size: 23px; line-height: 1.3; font-weight: 600; color: var(--tb-ink); }
.tb-prose h4 { margin-top: 1.4em; font-size: 19px; font-weight: 600; color: var(--tb-ink); }
.tb-prose a { color: #1f74e8; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tb-prose ul, .tb-prose ol { padding-left: 1.3em; }
.tb-prose li + li { margin-top: .4em; }
.tb-prose li::marker { color: var(--tb-blue); }
.tb-prose img, .tb-prose figure img { border-radius: 14px; }
.tb-prose figure { margin-inline: 0; }
.tb-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--tb-soft); text-align: center; }
.tb-prose blockquote { margin-inline: 0; padding: 18px 24px; border-left: 4px solid var(--tb-blue); background: #f2f7fd; border-radius: 0 14px 14px 0; font-size: 19px; color: var(--tb-ink); }
.tb-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tb-prose th, .tb-prose td { padding: 10px 12px; border-bottom: 1px solid var(--tb-line); text-align: left; }
.tb-prose th { background: #f6f8fb; font-weight: 600; }
.tb-prose pre { overflow-x: auto; padding: 16px; background: var(--tb-ink); color: #e8ecf1; border-radius: 12px; font-size: 14px; }
.tb-prose hr { border: 0; height: 1px; background: var(--tb-line); margin: 2em 0; }
.tb-prose .alignwide { margin-inline: -56px; }
.tb-prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.tb-prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.tb-prose .aligncenter { margin-inline: auto; }

.tb-single__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--tb-line); }
.tb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-tags a { padding: 6px 14px; border-radius: 999px; background: var(--tb-pill); font-size: 14px; }
.tb-tags a:hover { background: #dde3ea; }
.tb-share { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 14px; color: var(--tb-muted); }
.tb-share .tb-round { width: 40px; height: 40px; box-shadow: none; background: #f1f3f7; }
.tb-share .tb-save { margin-left: 0; }
.tb-share .is-copied { background: #def3e7; color: #148250; }

/* Comments */
.tb-comments-wrap { max-width: 932px; }
.tb-comments { margin-top: 30px; padding: 40px 56px; background: #fff; border-radius: var(--tb-radius-xl); box-shadow: var(--tb-shadow); }
.tb-comment-list { list-style: none; margin: 18px 0 30px; }
.tb-comment-list .children { list-style: none; padding-left: 40px; }
.tb-comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--tb-line); }
.tb-comment-list .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.tb-comment-list .comment-meta { font-size: 14px; color: var(--tb-soft); }
.tb-comment-list .fn { color: var(--tb-ink); font-style: normal; font-weight: 600; }
.comment-form { display: grid; gap: 14px; margin-top: 16px; }
.comment-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 16px; border: 1px solid var(--tb-line); border-radius: 12px; background: #f8fafc; font-size: 16px;
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form .form-submit { margin: 0; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }

/* Archive header */
.tb-archive-head {
	margin-top: 22px; padding: 44px 48px;
	border-radius: var(--tb-radius-xl);
	background: linear-gradient(110deg, #c2e1fd 0%, #e2effd 100%);
}
.tb-archive-head--orange { background: linear-gradient(110deg, #ffb36e 0%, #ffe3c6 100%); }
.tb-archive-head--green { background: linear-gradient(110deg, #a3ebc6 0%, #dff8ea 100%); }
.tb-archive-head--maroon { background: linear-gradient(110deg, #7a1942 0%, #a54045 100%); color: #fff; }
.tb-archive-head--yellow { background: linear-gradient(110deg, #fde46c 0%, #fff4c2 100%); }
.tb-archive-head__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.tb-archive-head__title { margin-top: 8px; font-size: 42px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: inherit; }
.tb-archive-head:not(.tb-archive-head--maroon) .tb-archive-head__title { color: var(--tb-ink); }
.tb-archive-head__desc { margin-top: 12px; max-width: 640px; font-size: 17px; line-height: 1.6; opacity: .85; }
.tb-archive-head .tb-search--block { margin-top: 22px; }

.tb-search--block { margin-left: 0; width: 100%; max-width: 560px; height: 56px; padding: 0 6px 0 20px; background: #fff; box-shadow: var(--tb-shadow); }
.tb-search--block input { font-size: 16px; }

.tb-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tb-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px;
	border-radius: 999px; background: #fff; box-shadow: var(--tb-shadow); font-size: 15px; font-weight: 500;
}
.tb-pagination .page-numbers.current { background: var(--tb-ink); color: #fff; }
.tb-pagination a.page-numbers:hover { background: var(--tb-pill); }
.tb-pagination .dots { background: transparent; box-shadow: none; }

/* 404 */
.tb-404 { margin-top: 22px; padding: 80px 32px; text-align: center; background: #fff; border-radius: var(--tb-radius-xl); box-shadow: var(--tb-shadow); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tb-404__code { font-size: 96px; line-height: 1; font-weight: 700; letter-spacing: -.04em; background: linear-gradient(90deg, #19aafd, #8e69fa, #f065bf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tb-404__title { font-size: 34px; letter-spacing: -.025em; color: var(--tb-ink); }
.tb-404 p { color: var(--tb-muted); }

/* WordPress core classes */
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--tb-soft); }
.bypostauthor > .comment-body .fn::after { content: " ✓"; color: var(--tb-blue); }
.sticky { position: relative; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
	:root { --tb-gutter: 32px; }
	.tb-nav { margin-left: 48px; }
	.tb-search { width: 260px; }
	.tb-hero { grid-template-columns: minmax(0, 45%) minmax(0, 1fr); }
	.tb-editor { grid-template-columns: 48% minmax(0, 1fr); }
}

@media (max-width: 1180px) {
	.tb-single__layout--wide { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; padding: 44px 36px 40px 44px; }
	.tb-nav { margin-left: 32px; }
	.tb-nav__list { gap: 22px; }
	.tb-search { width: 200px; }
	.tb-hero { grid-template-columns: 1fr; }
	.tb-hero__main { min-height: 520px; }
	.tb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tb-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tb-play { grid-template-columns: auto minmax(0, 1fr); }
	.tb-play__action { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 18px; }
	.tb-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.tb-single__layout--wide { grid-template-columns: 1fr; gap: 28px; }
	.tb-single__layout--wide .tb-prose, .tb-single__layout--wide .tb-single__foot { max-width: none; }
	.tb-single__aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tb-toc { grid-column: 1 / -1; }
	.tb-header__bar { padding: 0 10px 0 18px; }
	.tb-burger { display: grid; }
	.tb-header__cta { display: none; }
	.tb-search { width: auto; flex: 1; max-width: 320px; margin-left: auto; }
	.tb-nav {
		position: absolute; left: calc(var(--tb-gutter) - 7px); right: calc(var(--tb-gutter) - 7px); top: calc(100% + 8px);
		margin: 0; padding: 12px; background: #fff; border-radius: 18px; box-shadow: var(--tb-shadow-hover);
		opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s ease;
	}
	.tb-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.tb-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.tb-nav__list a { display: block; padding: 12px 14px; border-radius: 10px; font-size: 16px; }
	.tb-nav__list a:hover { background: #f3f6fa; }
	.tb-burger[aria-expanded="true"] .tb-burger__open { display: none; }
	.tb-burger[aria-expanded="true"] .tb-burger__close { display: block; }

	.tb-hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(170px, auto); }
	.tb-wide { min-height: 190px; }
	.tb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tb-editor { grid-template-columns: 1fr; }
	.tb-editor__body { padding: 26px 16px 16px; }
	.tb-single__layout, .tb-comments { padding: 32px 28px; }
	.tb-prose .alignwide { margin-inline: -28px; }
}

@media (max-width: 640px) {
	:root { --tb-gutter: 16px; }
	.tb-header { margin-top: 8px; }
	.tb-header__bar { height: 60px; }
	.tb-logo__text { font-size: 20px; }
	.tb-search { display: none; }
	.tb-burger { margin-left: auto; }

	.tb-hero { margin-top: 16px; gap: 14px; }
	.tb-hero__main { min-height: 460px; }
	.tb-hero__content { left: 22px; right: 22px; bottom: 22px; }
	.tb-hero__title { font-size: 32px; }
	.tb-hero__text { font-size: 16px; }
	.tb-hero__grid { gap: 12px; }
	.tb-tile--photo { padding: 22px; }
	.tb-tile__bg { width: 55%; }
	.tb-tile__sub { font-size: 15px; }
	.tb-wide { padding: 24px 20px 64px; align-items: flex-end; }
	.tb-wide__bg { width: 100%; opacity: .55; }
	.tb-wide__title { font-size: 22px; }
	.tb-mini { min-height: 150px; }

	.tb-filters { flex-direction: column; align-items: stretch; }
	.tb-pills { gap: 10px; margin-inline: calc(-1 * var(--tb-gutter)); padding-inline: var(--tb-gutter); }
	.tb-pill, .tb-pill:first-child { height: 40px; padding: 0 20px; }
	.tb-sort { align-self: flex-end; }
	.tb-grid { grid-template-columns: 1fr; }
	.tb-card { min-height: 0; }

	.tb-section__title { font-size: 23px; }
	.tb-more { font-size: 14px; }
	.tb-editor__title { font-size: 23px; }
	.tb-editor__text { font-size: 15.5px; }
	.tb-editor__foot { flex-direction: column; align-items: flex-start; }
	.tb-editor__meta { flex-wrap: wrap; gap: 14px 20px; }
	.tb-editor__media { height: 220px; }
	.tb-guides { grid-template-columns: 1fr; }
	.tb-guide__icon { width: 60px; height: 60px; }

	.tb-play { grid-template-columns: 1fr; padding: 28px 20px; text-align: center; justify-items: center; gap: 16px; }
	.tb-play__icon { width: 64px; height: 64px; }
	.tb-play__icon .tb-icon { width: 34px; height: 34px; }
	.tb-play__text h2 { font-size: 23px; }
	.tb-play__text p { font-size: 15px; }
	.tb-play__action { flex-direction: column; align-items: center; }

	.tb-footer { grid-template-columns: 1fr; }
	.tb-footer__card, .tb-footer__nav, .tb-footer__social, .tb-footer__legal { min-height: 0; padding: 26px 24px; }

	.tb-single__title { font-size: 31px; }
	.tb-single__lead { font-size: 17px; }
	.tb-single__layout, .tb-comments { padding: 24px 18px; }
	.tb-single__aside { grid-template-columns: 1fr; }
	.tb-prose { font-size: 17px; }
	.tb-prose h2 { font-size: 24px; }
	.tb-prose .alignwide { margin-inline: -18px; }
	.tb-archive-head { padding: 30px 22px; }
	.tb-archive-head__title { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
