/* TTB News Hub — matches the dark glass look of thetrainingboss.com hero */
.tbnh {
	--tbnh-teal: #2ee6c8;
	--tbnh-purple: #8b6cf6;
	--tbnh-blue: #5b8cff;
	--tbnh-red: #ff5f6d;
	--tbnh-text: #e8eaf2;
	--tbnh-muted: #9298ad;
	--tbnh-line: rgba(255, 255, 255, 0.08);
	--tbnh-card: rgba(22, 25, 38, 0.72);
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 470px;
	margin-left: auto;
	padding: 0 0 6px;
	color: var(--tbnh-text);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	background: linear-gradient(180deg, rgba(30, 33, 50, 0.78), var(--tbnh-card));
	border: 1px solid var(--tbnh-line);
	border-radius: 18px;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	overflow: hidden;
	text-align: left;
}
.tbnh *, .tbnh *::before, .tbnh *::after { box-sizing: border-box; }
.tbnh a { color: inherit; text-decoration: none; }

/* window bar */
.tbnh-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--tbnh-line);
	background: rgba(255, 255, 255, 0.025);
}
.tbnh-dots { display: inline-flex; gap: 7px; }
.tbnh-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.tbnh-file {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12.5px;
	font-style: italic;
	color: var(--tbnh-muted);
}
.tbnh-live {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tbnh-teal);
}
.tbnh-live b {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--tbnh-teal);
	box-shadow: 0 0 0 0 rgba(46, 230, 200, 0.6);
	animation: tbnh-pulse 2s infinite;
}
@keyframes tbnh-pulse {
	0% { box-shadow: 0 0 0 0 rgba(46, 230, 200, 0.55); }
	70% { box-shadow: 0 0 0 9px rgba(46, 230, 200, 0); }
	100% { box-shadow: 0 0 0 0 rgba(46, 230, 200, 0); }
}

/* next stop card */
.tbnh-next {
	position: relative;
	display: block;
	margin: 16px 16px 6px;
	padding: 14px 16px 13px;
	border-radius: 14px;
	background:
		radial-gradient(120% 140% at 0% 0%, rgba(46, 230, 200, 0.16), transparent 55%),
		radial-gradient(120% 140% at 100% 100%, rgba(139, 108, 246, 0.22), transparent 55%),
		rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(139, 108, 246, 0.35);
	transition: border-color 0.2s, transform 0.2s;
}
a.tbnh-next:hover { border-color: rgba(46, 230, 200, 0.6); transform: translateY(-1px); }
.tbnh-eyebrow {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tbnh-teal);
	margin-bottom: 8px;
}
.tbnh-next-row { display: flex; align-items: center; gap: 12px; }
.tbnh-flag {
	flex: 0 0 auto;
	width: 40px; height: 30px;
	border-radius: 5px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}
.tbnh-flag--none { display: inline-grid; place-items: center; color: var(--tbnh-teal); background: rgba(46, 230, 200, 0.08); }
.tbnh-next-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.tbnh-next-country {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #fff;
}
.tbnh-next-event {
	font-size: 13px;
	color: var(--tbnh-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tbnh-count {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 66px;
	padding: 6px 10px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--tbnh-line);
}
.tbnh-count-num {
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(90deg, var(--tbnh-teal), var(--tbnh-purple));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.tbnh-count-lbl { margin-top: 3px; font-size: 10px; color: var(--tbnh-muted); white-space: nowrap; }
.tbnh-count-now { font-size: 11px; font-weight: 700; color: var(--tbnh-teal); white-space: nowrap; }
.tbnh-next-date {
	display: block;
	margin-top: 10px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	color: #c9cce0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* tabs */
.tbnh-tabs {
	display: flex;
	gap: 6px;
	padding: 12px 16px 6px;
	overflow-x: auto;
	scrollbar-width: none;
}
.tbnh-tabs::-webkit-scrollbar { display: none; }
/* Tabs are <button>s, so theme / Elementor Kit "Buttons" styles try to restyle them.
   The extra selector weight + full reset below keeps them looking like pills. */
.tbnh .tbnh-tabs button.tbnh-tab {
	flex: 0 0 auto;
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 6px 14px;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 500;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
	white-space: nowrap;
	color: var(--tbnh-muted);
	background: transparent;
	background-image: none;
	border: 1px solid var(--tbnh-line);
	border-radius: 999px;
	box-shadow: none;
	outline: none;
	transform: none;
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.tbnh .tbnh-tabs button.tbnh-tab:hover,
.tbnh .tbnh-tabs button.tbnh-tab:focus,
.tbnh .tbnh-tabs button.tbnh-tab:active {
	color: var(--tbnh-text);
	background: rgba(255, 255, 255, 0.04);
	background-image: none;
	border-color: rgba(255, 255, 255, 0.22);
	box-shadow: none;
	transform: none;
}
.tbnh .tbnh-tabs button.tbnh-tab[aria-selected="true"],
.tbnh .tbnh-tabs button.tbnh-tab[aria-selected="true"]:hover,
.tbnh .tbnh-tabs button.tbnh-tab[aria-selected="true"]:focus,
.tbnh .tbnh-tabs button.tbnh-tab[aria-selected="true"]:active {
	color: #0b0d16;
	font-weight: 600;
	border-color: transparent;
	background: linear-gradient(90deg, var(--tbnh-teal), var(--tbnh-purple));
}
.tbnh .tbnh-tabs button.tbnh-tab:focus-visible { outline: 2px solid var(--tbnh-teal); outline-offset: 2px; }

/* list */
.tbnh-list { list-style: none; margin: 0; padding: 4px 8px 4px; }
.tbnh-list[hidden] { display: none; }
.tbnh-list li { margin: 0; padding: 0; }
.tbnh-list li::before { content: none; }
.tbnh-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 8px;
	border-radius: 10px;
	transition: background 0.15s;
	animation: tbnh-in 0.35s ease both;
}
.tbnh-list li + li .tbnh-item { border-top: 1px solid rgba(255, 255, 255, 0.04); }
a.tbnh-item:hover { background: rgba(255, 255, 255, 0.04); }
@keyframes tbnh-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.tbnh-ico {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 10px;
	color: var(--tbnh-c, var(--tbnh-blue));
	background: color-mix(in srgb, var(--tbnh-c, var(--tbnh-blue)) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--tbnh-c, var(--tbnh-blue)) 30%, transparent);
}
.tbnh-thumb {
	position: relative;
	flex: 0 0 auto;
	width: 64px; height: 38px;
	border-radius: 7px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 0 0 1px var(--tbnh-line);
}
.tbnh-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tbnh-play {
	position: absolute; left: 50%; top: 50%;
	width: 20px; height: 14px; margin: -7px 0 0 -10px;
	border-radius: 4px;
	background: var(--tbnh-red);
}
.tbnh-play::after {
	content: ""; position: absolute; left: 8px; top: 3.5px;
	border-left: 6px solid #fff; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
}

.tbnh-t-speaking { --tbnh-c: var(--tbnh-purple); }
.tbnh-t-course   { --tbnh-c: var(--tbnh-teal); }
.tbnh-t-video    { --tbnh-c: var(--tbnh-red); }
.tbnh-t-news     { --tbnh-c: var(--tbnh-blue); }

.tbnh-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tbnh-title {
	font-size: 14px;
	font-weight: 500;
	color: var(--tbnh-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tbnh-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--tbnh-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tbnh-badge {
	flex: 0 0 auto;
	padding: 1px 7px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	border-radius: 999px;
	color: var(--tbnh-c, var(--tbnh-blue));
	background: color-mix(in srgb, var(--tbnh-c, var(--tbnh-blue)) 14%, transparent);
}
.tbnh-arrow {
	flex: 0 0 auto;
	color: var(--tbnh-muted);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.15s, transform 0.15s, color 0.15s;
}
a.tbnh-item:hover .tbnh-arrow { opacity: 1; transform: none; color: var(--tbnh-teal); }

.tbnh-empty { margin: 0; padding: 22px 18px; color: var(--tbnh-muted); }

/* footer */
.tbnh-foot {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 4px 16px 0;
	padding: 10px 2px 6px;
	border-top: 1px solid var(--tbnh-line);
	font-size: 12.5px;
}
.tbnh-foot a { color: var(--tbnh-muted); transition: color 0.15s; }
.tbnh-foot a:hover { color: var(--tbnh-teal); }

@media (max-width: 1024px) {
	.tbnh { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 480px) {
	.tbnh-next-country { font-size: 19px; }
	.tbnh-count { min-width: 58px; padding: 5px 8px; }
	.tbnh-count-num { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
	.tbnh-live b, .tbnh-item { animation: none; }
	.tbnh-next, .tbnh-arrow { transition: none; }
}
