/*
Theme Name: TodayBuzz
Theme URI: https://todaybuzz.in/
Author: TodayBuzz
Description: A fast, SEO-optimised magazine theme for entertainment news, OTT updates, movie reviews and health tips. Built-in schema (NewsArticle, Review, Breadcrumb, Organization), Open Graph, Twitter cards, breadcrumbs, reading time, table of contents, related posts, dark mode and Core Web Vitals friendly markup. Works alongside Yoast SEO / Rank Math (auto-disables duplicate meta).
Version: 1.5.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: todaybuzz
Tags: news, blog, magazine, entertainment, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, right-sidebar
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--tb-accent: #e11d48;
	--tb-accent-dark: #be123c;
	--tb-accent-soft: #fff1f3;
	--tb-ink: #0f172a;
	--tb-text: #1e293b;
	--tb-muted: #64748b;
	--tb-line: #e2e8f0;
	--tb-bg: #f5f6f8;
	--tb-surface: #ffffff;
	--tb-header: #0f172a;
	--tb-header-text: #ffffff;
	--tb-star: #f59e0b;
	--tb-radius: 12px;
	--tb-radius-sm: 8px;
	--tb-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
	--tb-shadow-hover: 0 6px 24px rgba(15, 23, 42, .12);
	--tb-container: 1240px;
	--tb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--tb-font-head: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
	color-scheme: light;
}

html[data-theme="dark"] {
	--tb-accent: #fb7185;
	--tb-accent-dark: #f43f5e;
	--tb-accent-soft: #2a1219;
	--tb-ink: #f1f5f9;
	--tb-text: #cbd5e1;
	--tb-muted: #94a3b8;
	--tb-line: #1f2a3d;
	--tb-bg: #0b1120;
	--tb-surface: #111827;
	--tb-header: #020617;
	--tb-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	--tb-shadow-hover: 0 6px 24px rgba(0, 0, 0, .5);
	color-scheme: dark;
}

/* ==========================================================================
   2. Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--tb-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--tb-text);
	background: var(--tb-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--tb-accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--tb-accent-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--tb-font-head); color: var(--tb-ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding-left: 1.4em; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--tb-accent); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--tb-accent); color: #fff; border-radius: 6px;
}

.tb-container { width: 100%; max-width: var(--tb-container); margin: 0 auto; padding: 0 16px; }

/* ==========================================================================
   3. Top bar + header
   ========================================================================== */
.tb-topbar { background: var(--tb-accent); color: #fff; font-size: 13px; }
.tb-topbar .tb-container { display: flex; align-items: center; gap: 16px; min-height: 36px; }
.tb-topbar__date { white-space: nowrap; font-weight: 600; }
.tb-ticker { flex: 1; display: flex; align-items: center; gap: 10px; overflow: hidden; min-width: 0; }
.tb-ticker__label { background: #fff; color: var(--tb-accent); font-weight: 800; font-size: 11px; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; letter-spacing: .04em; flex-shrink: 0; }
.tb-ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tb-ticker__list { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; white-space: nowrap; width: max-content; animation: tb-ticker 45s linear infinite; }
.tb-ticker__list:hover { animation-play-state: paused; }
.tb-ticker__list a { color: #fff; }
.tb-ticker__list a:hover { text-decoration: underline; }
@keyframes tb-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tb-ticker__list { animation: none; } }
.tb-social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tb-social a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.15); }
.tb-social a:hover { background: rgba(255,255,255,.3); color: #fff; }
.tb-social svg { width: 14px; height: 14px; fill: currentColor; }

.tb-header { background: var(--tb-header); color: var(--tb-header-text); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.admin-bar .tb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tb-header { top: 0; } }
.tb-header__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.tb-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.tb-brand img { max-height: 44px; width: auto; }
.tb-brand__name { font-size: 26px; font-weight: 900; color: #fff; letter-spacing: -.02em; margin: 0; line-height: 1; }
.tb-brand__name span { color: var(--tb-accent); }
.tb-brand a { color: inherit; }
.tb-brand__tagline { display: none; }

.tb-nav { flex: 1; }
.tb-nav ul { list-style: none; margin: 0; padding: 0; }
.tb-nav > ul, .tb-nav .menu { display: flex; gap: 2px; flex-wrap: wrap; }
.tb-nav li { position: relative; }
.tb-nav a { display: block; padding: 20px 12px; color: #e2e8f0; font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: .02em; position: relative; }
.tb-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 3px; border-radius: 3px; background: var(--tb-accent); transform: scaleX(0); transition: transform .2s; }
.tb-nav a:hover, .tb-nav .current-menu-item > a, .tb-nav .current-menu-ancestor > a, .tb-nav .current-category-ancestor > a { color: #fff; }
.tb-nav a:hover::after, .tb-nav .current-menu-item > a::after, .tb-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.tb-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--tb-surface); border-radius: var(--tb-radius-sm); box-shadow: var(--tb-shadow-hover); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 60; }
.tb-nav li:hover > .sub-menu, .tb-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tb-nav .sub-menu a { color: var(--tb-text); padding: 8px 12px; text-transform: none; border-radius: 6px; }
.tb-nav .sub-menu a::after { display: none; }
.tb-nav .sub-menu a:hover { background: var(--tb-accent-soft); color: var(--tb-accent); }

.tb-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.tb-icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background .15s; }
.tb-icon-btn:hover { background: rgba(255,255,255,.18); }
.tb-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tb-menu-toggle { display: none; }
.tb-theme-toggle .tb-moon { display: none; }
html[data-theme="dark"] .tb-theme-toggle .tb-sun { display: none; }
html[data-theme="dark"] .tb-theme-toggle .tb-moon { display: block; }

.tb-search-panel { background: var(--tb-surface); border-bottom: 1px solid var(--tb-line); padding: 16px 0; display: none; }
.tb-search-panel.is-open { display: block; }

/* Search form */
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 12px 16px; border: 1px solid var(--tb-line); border-radius: 999px; background: var(--tb-bg); color: var(--tb-text); }
.search-field:focus { outline: none; border-color: var(--tb-accent); box-shadow: 0 0 0 3px var(--tb-accent-soft); }
.search-submit, .tb-btn { border: 0; background: var(--tb-accent); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.search-submit:hover, .tb-btn:hover { background: var(--tb-accent-dark); color: #fff; }

/* Category bar under header */
.tb-catbar { background: var(--tb-surface); border-bottom: 1px solid var(--tb-line); }
.tb-catbar ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.tb-catbar ul::-webkit-scrollbar { display: none; }
.tb-catbar a { display: block; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--tb-bg); color: var(--tb-text); font-size: 13.5px; font-weight: 600; }
.tb-catbar a:hover, .tb-catbar .is-current a { background: var(--tb-accent); color: #fff; }

/* Mobile nav */
@media (max-width: 960px) {
	.tb-menu-toggle { display: grid; }
	.tb-nav { position: fixed; inset: 0 auto 0 0; width: min(320px, 85vw); background: var(--tb-header); padding: 72px 16px 24px; transform: translateX(-100%); transition: transform .25s; overflow-y: auto; z-index: 70; }
	.tb-nav.is-open { transform: translateX(0); box-shadow: 0 0 0 100vmax rgba(0,0,0,.5); }
	.tb-nav > ul, .tb-nav .menu { flex-direction: column; }
	.tb-nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
	.tb-nav a::after { display: none; }
	.tb-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 0 12px; }
	.tb-nav .sub-menu a { color: #cbd5e1; }
	.tb-nav__close { position: absolute; top: 16px; right: 16px; }
	.tb-brand__name { font-size: 22px; }
}
@media (min-width: 961px) { .tb-nav__close { display: none; } }
@media (max-width: 640px) {
	.tb-topbar__date, .tb-topbar .tb-social { display: none; }
}

/* ==========================================================================
   4. Layout
   ========================================================================== */
.tb-main { padding: 28px 0 48px; }
.tb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.tb-layout--full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1024px) { .tb-layout { grid-template-columns: minmax(0, 1fr); } }

.tb-section { margin-bottom: 40px; }
.tb-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--tb-line); }
.tb-section__title { font-size: 20px; margin: 0; padding-bottom: 10px; position: relative; text-transform: uppercase; letter-spacing: .02em; }
.tb-section__title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 60px; height: 3px; background: var(--tb-accent); }
.tb-section__title a { color: inherit; }
.tb-section__more { font-size: 13px; font-weight: 700; text-transform: uppercase; padding-bottom: 10px; white-space: nowrap; }

/* ==========================================================================
   5. Cards
   ========================================================================== */
.tb-grid { display: grid; gap: 24px; }
.tb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .tb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tb-grid--2, .tb-grid--3, .tb-grid--4 { grid-template-columns: minmax(0, 1fr); } }

.tb-card { background: var(--tb-surface); border-radius: var(--tb-radius); overflow: hidden; box-shadow: var(--tb-shadow); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; position: relative; }
.tb-card:hover { box-shadow: var(--tb-shadow-hover); transform: translateY(-2px); }
.tb-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tb-line); }
.tb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tb-card:hover .tb-card__media img { transform: scale(1.04); }
.tb-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.tb-card__title { font-size: 18px; margin: 8px 0; line-height: 1.35; }
.tb-card__title a { color: var(--tb-ink); background-image: linear-gradient(var(--tb-accent), var(--tb-accent)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s, color .15s; }
.tb-card__title a:hover { color: var(--tb-accent); background-size: 100% 2px; }
.tb-card__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.tb-card__excerpt { color: var(--tb-muted); font-size: 14.5px; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tb-card .tb-meta { margin-top: auto; }
.tb-card .tb-cat, .tb-card .tb-meta a { position: relative; z-index: 2; }

.tb-cat { display: inline-block; background: var(--tb-accent); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 4px; line-height: 1.4; }
.tb-cat:hover { background: var(--tb-accent-dark); color: #fff; }
.tb-card__media .tb-cat { position: absolute; left: 12px; top: 12px; z-index: 2; }

.tb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--tb-muted); }
.tb-meta a { color: var(--tb-muted); font-weight: 600; }
.tb-meta a:hover { color: var(--tb-accent); }
.tb-meta__item { display: inline-flex; align-items: center; gap: 5px; }
.tb-meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Horizontal list card */
.tb-card--list { flex-direction: row; }
.tb-card--list .tb-card__media { width: 38%; flex-shrink: 0; aspect-ratio: auto; min-height: 180px; }
.tb-card--list .tb-card__title { font-size: 20px; }
@media (max-width: 600px) {
	.tb-card--list { flex-direction: column; }
	.tb-card--list .tb-card__media { width: 100%; aspect-ratio: 16/9; min-height: 0; }
	.tb-card--list .tb-card__title { font-size: 18px; }
}

/* Small card (sidebar / compact lists) */
.tb-mini { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--tb-line); position: relative; }
.tb-mini:last-child { border-bottom: 0; }
.tb-mini__media { width: 96px; flex-shrink: 0; aspect-ratio: 4/3; border-radius: var(--tb-radius-sm); overflow: hidden; background: var(--tb-line); }
.tb-mini__media img { width: 100%; height: 100%; object-fit: cover; }
.tb-mini__title { font-size: 15px; margin: 0 0 4px; line-height: 1.35; font-weight: 700; }
.tb-mini__title a { color: var(--tb-ink); }
.tb-mini__title a:hover { color: var(--tb-accent); }
.tb-mini__title a::before { content: ""; position: absolute; inset: 0; }
.tb-mini__num { font-size: 28px; font-weight: 900; color: var(--tb-accent); opacity: .35; line-height: 1; width: 32px; flex-shrink: 0; }

/* Placeholder image */
.tb-noimg { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--tb-accent), #7c3aed); color: #fff; font-weight: 900; font-size: 22px; letter-spacing: -.02em; }

/* ==========================================================================
   6. Hero (homepage)
   ========================================================================== */
.tb-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 40px; }
.tb-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.tb-overlay { position: relative; border-radius: var(--tb-radius); overflow: hidden; min-height: 220px; background: var(--tb-header); display: flex; }
.tb-hero > .tb-overlay { min-height: 460px; }
.tb-overlay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tb-overlay:hover img { transform: scale(1.04); }
.tb-overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(2, 6, 23, .92)); }
.tb-overlay__body { position: relative; z-index: 2; margin-top: auto; padding: 20px; color: #fff; width: 100%; }
.tb-overlay__title { color: #fff; font-size: 20px; margin: 10px 0 8px; }
.tb-hero > .tb-overlay .tb-overlay__title { font-size: clamp(22px, 3vw, 34px); }
.tb-overlay__title a { color: #fff; }
.tb-overlay__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.tb-overlay .tb-cat { position: relative; z-index: 3; }
.tb-overlay .tb-meta, .tb-overlay .tb-meta a { color: #e2e8f0; }
@media (max-width: 860px) {
	.tb-hero { grid-template-columns: 1fr; }
	.tb-hero > .tb-overlay { min-height: 340px; }
	.tb-hero__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
}
@media (max-width: 520px) { .tb-hero__side { grid-template-columns: 1fr; } }

/* Feature block (1 big + list) */
.tb-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tb-feature__list { display: flex; flex-direction: column; }
@media (max-width: 720px) { .tb-feature { grid-template-columns: 1fr; } }

/* ==========================================================================
   7. Sidebar / widgets
   ========================================================================== */
.tb-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 90px; }
@media (max-width: 1024px) { .tb-sidebar { position: static; } }
.widget { background: var(--tb-surface); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); padding: 20px; }
.widget-title, .widget .wp-block-heading { font-size: 16px; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--tb-line); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--tb-accent); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--tb-line); }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--tb-text); font-weight: 600; }
.widget li a:hover { color: var(--tb-accent); }
.tb-tags a, .wp-block-tag-cloud a, .tagcloud a { display: inline-block; font-size: 13px !important; padding: 5px 12px; margin: 0 6px 8px 0; border-radius: 999px; background: var(--tb-bg); color: var(--tb-text); font-weight: 600; }
.tb-tags a:hover, .tagcloud a:hover, .wp-block-tag-cloud a:hover { background: var(--tb-accent); color: #fff; }
.tb-tabs { display: flex; gap: 4px; margin-bottom: 8px; background: var(--tb-bg); padding: 4px; border-radius: 999px; }
.tb-tabs button { flex: 1; border: 0; background: transparent; padding: 8px; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--tb-muted); }
.tb-tabs button[aria-selected="true"] { background: var(--tb-accent); color: #fff; }
.tb-tabpanel[hidden] { display: none; }
.tb-newsletter { background: linear-gradient(135deg, var(--tb-accent), #7c3aed); color: #fff; text-align: center; }
.tb-newsletter .widget-title { color: #fff; border-color: rgba(255,255,255,.25); }
.tb-newsletter .widget-title::after { background: #fff; left: 50%; transform: translateX(-50%); }

/* ==========================================================================
   8. Breadcrumbs, archive headers, pagination
   ========================================================================== */
.tb-breadcrumbs { font-size: 13px; color: var(--tb-muted); margin-bottom: 16px; }
.tb-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tb-breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.tb-breadcrumbs li + li::before { content: "›"; color: var(--tb-muted); }
.tb-breadcrumbs a { color: var(--tb-muted); font-weight: 600; }
.tb-breadcrumbs a:hover { color: var(--tb-accent); }
.tb-breadcrumbs [aria-current] { color: var(--tb-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }

.tb-archive-head { background: var(--tb-surface); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); padding: 24px; margin-bottom: 24px; border-left: 5px solid var(--tb-accent); }
.tb-archive-head h1 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 6px; }
.tb-archive-head__desc { color: var(--tb-muted); margin: 0; }
.tb-archive-head__desc p:last-child { margin: 0; }
.tb-archive-head__count { font-size: 13px; font-weight: 700; color: var(--tb-accent); text-transform: uppercase; letter-spacing: .05em; }

.tb-postlist { display: flex; flex-direction: column; gap: 24px; }

.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--tb-surface); box-shadow: var(--tb-shadow); color: var(--tb-text); font-weight: 700; }
.page-numbers.current, .page-numbers:hover { background: var(--tb-accent); color: #fff; }
.page-numbers.dots { box-shadow: none; background: transparent; }

/* ==========================================================================
   9. Single post
   ========================================================================== */
.tb-article { background: var(--tb-surface); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); padding: clamp(18px, 4vw, 40px); }
.tb-article__head { margin-bottom: 20px; }
.tb-article__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tb-article__title { font-size: clamp(26px, 4vw, 40px); line-height: 1.2; margin: 0 0 14px; }
.tb-article__dek { font-size: 18px; color: var(--tb-muted); margin: 0 0 16px; }
.tb-article__byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--tb-line); border-bottom: 1px solid var(--tb-line); }
.tb-article__byline img { border-radius: 50%; width: 44px; height: 44px; }
.tb-article__author { font-weight: 800; color: var(--tb-ink); }
.tb-article__thumb { margin: 0 0 24px; border-radius: var(--tb-radius); overflow: hidden; }
.tb-article__thumb img { width: 100%; }
.tb-article__thumb figcaption { font-size: 13px; color: var(--tb-muted); padding: 8px 2px 0; }

.tb-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.tb-share__label { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--tb-muted); }
.tb-share a, .tb-share button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; border: 0; cursor: pointer; transition: transform .15s, opacity .15s; }
.tb-share a:hover, .tb-share button:hover { transform: translateY(-2px); color: #fff; opacity: .9; }
.tb-share svg { width: 16px; height: 16px; fill: currentColor; }
.tb-share .is-fb { background: #1877f2; }
.tb-share .is-x { background: #000; }
.tb-share .is-wa { background: #25d366; }
.tb-share .is-tg { background: #229ed9; }
.tb-share .is-in { background: #0a66c2; }
.tb-share .is-copy { background: var(--tb-muted); }

/* Entry content typography */
.entry-content { font-size: 18px; line-height: 1.8; color: var(--tb-text); overflow-wrap: break-word; }
.entry-content > * { margin-bottom: 1.25em; }
.entry-content h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 1.8em; scroll-margin-top: 90px; }
.entry-content h3 { font-size: clamp(19px, 2.2vw, 23px); margin-top: 1.5em; scroll-margin-top: 90px; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--tb-radius-sm); }
.entry-content blockquote { margin: 1.6em 0; padding: 16px 24px; border-left: 4px solid var(--tb-accent); background: var(--tb-accent-soft); border-radius: 0 var(--tb-radius-sm) var(--tb-radius-sm) 0; font-size: 1.05em; font-style: italic; color: var(--tb-ink); }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--tb-line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--tb-bg); }
.entry-content iframe, .entry-content .wp-block-embed { max-width: 100%; }
.entry-content .wp-block-embed__wrapper iframe { width: 100%; aspect-ratio: 16/9; height: auto; }
.entry-content figcaption, .wp-caption-text { font-size: 14px; color: var(--tb-muted); text-align: center; }
.alignwide { margin-left: -20px; margin-right: -20px; }
.alignfull { margin-left: calc(-1 * clamp(18px, 4vw, 40px)); margin-right: calc(-1 * clamp(18px, 4vw, 40px)); max-width: none; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.page-links { clear: both; margin: 1.5em 0; font-weight: 700; }

/* Table of contents */
.tb-toc { background: var(--tb-bg); border: 1px solid var(--tb-line); border-radius: var(--tb-radius-sm); padding: 16px 20px; margin: 0 0 1.6em; font-size: 16px; }
.tb-toc summary { cursor: pointer; font-weight: 800; color: var(--tb-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.tb-toc summary::-webkit-details-marker { display: none; }
.tb-toc summary::after { content: "+"; font-size: 20px; color: var(--tb-accent); }
.tb-toc[open] summary::after { content: "−"; }
.tb-toc ol { margin: 12px 0 0; padding-left: 1.3em; }
.tb-toc li { margin: 4px 0; }
.tb-toc li.is-h3 { margin-left: 1.2em; list-style: circle; font-size: 15px; }
.tb-toc a { text-decoration: none; color: var(--tb-text); }
.tb-toc a:hover { color: var(--tb-accent); }

/* Review box */
.tb-review { border: 2px solid var(--tb-accent); border-radius: var(--tb-radius); overflow: hidden; margin: 0 0 1.8em; }
.tb-review__head { background: var(--tb-accent); color: #fff; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tb-review__head strong { font-size: 17px; }
.tb-review__score { font-size: 30px; font-weight: 900; line-height: 1; }
.tb-review__score small { font-size: 15px; opacity: .8; }
.tb-review__body { padding: 16px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 24px; font-size: 15.5px; }
.tb-review__row { display: flex; gap: 8px; }
.tb-review__row b { color: var(--tb-ink); min-width: 90px; }
.tb-review__verdict { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--tb-line); font-style: italic; }
.tb-stars { display: inline-flex; gap: 2px; color: var(--tb-star); }
.tb-stars svg { width: 18px; height: 18px; fill: currentColor; }
.tb-stars .is-empty { color: rgba(255,255,255,.35); }
.tb-card .tb-stars .is-empty, .tb-mini .tb-stars .is-empty { color: var(--tb-line); }
.tb-badge-rating { display: inline-flex; align-items: center; gap: 4px; background: #111827; color: #fbbf24; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 4px; position: absolute; right: 12px; top: 12px; z-index: 2; }

/* Tags + author box + post nav */
.tb-article__tags { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tb-article__tags strong { margin-right: 6px; font-size: 14px; }
.tb-article__foot-share { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--tb-line); display: flex; }
.tb-article__foot-share .tb-share { margin-left: 0; }
.tb-author-box { display: flex; gap: 18px; background: var(--tb-surface); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); padding: 24px; margin-top: 24px; }
.tb-author-box img { border-radius: 50%; width: 80px; height: 80px; flex-shrink: 0; }
.tb-author-box__name { font-size: 18px; margin: 0 0 4px; }
.tb-author-box__bio { color: var(--tb-muted); margin: 0 0 8px; font-size: 15px; }
@media (max-width: 520px) { .tb-author-box { flex-direction: column; } }

.tb-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.tb-postnav a { display: block; background: var(--tb-surface); box-shadow: var(--tb-shadow); border-radius: var(--tb-radius); padding: 16px 20px; color: var(--tb-ink); font-weight: 700; line-height: 1.4; }
.tb-postnav a:hover { color: var(--tb-accent); }
.tb-postnav span { display: block; font-size: 12px; color: var(--tb-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.tb-postnav__next { text-align: right; }
@media (max-width: 600px) { .tb-postnav { grid-template-columns: 1fr; } .tb-postnav__next { text-align: left; } }

.tb-related { margin-top: 36px; }

/* Reading progress */
.tb-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--tb-accent); z-index: 999; transition: width .1s linear; }

/* Back to top */
.tb-totop { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--tb-accent); color: #fff; box-shadow: var(--tb-shadow-hover); cursor: pointer; opacity: 0; visibility: hidden; transition: .2s; z-index: 40; display: grid; place-items: center; }
.tb-totop.is-visible { opacity: 1; visibility: visible; }
.tb-totop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* ==========================================================================
   10. Comments
   ========================================================================== */
.tb-comments { background: var(--tb-surface); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); padding: clamp(18px, 4vw, 32px); margin-top: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list .children { list-style: none; padding-left: clamp(12px, 4vw, 40px); }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--tb-line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; }
.comment-metadata a { color: var(--tb-muted); }
.comment-content { margin-top: 8px; }
.reply a { font-size: 13px; font-weight: 700; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--tb-line); border-radius: var(--tb-radius-sm); background: var(--tb-bg); }
.comment-form input[type="submit"] { border: 0; background: var(--tb-accent); color: #fff; padding: 12px 26px; border-radius: 999px; font-weight: 700; cursor: pointer; }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.tb-footer { background: var(--tb-header); color: #94a3b8; padding-top: 48px; font-size: 15px; }
.tb-footer a { color: #cbd5e1; }
.tb-footer a:hover { color: var(--tb-accent); }
.tb-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
@media (max-width: 900px) { .tb-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tb-footer__grid { grid-template-columns: 1fr; } }
.tb-footer h2, .tb-footer .widget-title { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; border: 0; padding: 0; }
.tb-footer .widget-title::after { display: none; }
.tb-footer .widget { background: transparent; box-shadow: none; padding: 0; }
.tb-footer .widget li { border-color: rgba(255,255,255,.08); }
.tb-footer .widget li a { color: #cbd5e1; }
.tb-footer ul { list-style: none; margin: 0; padding: 0; }
.tb-footer__links li { padding: 5px 0; }
.tb-footer .tb-social { margin-top: 16px; }
.tb-footer .tb-social a { width: 36px; height: 36px; background: rgba(255,255,255,.08); }
.tb-footer .tb-social a:hover { background: var(--tb-accent); color: #fff; }
.tb-footer .tb-social svg { width: 16px; height: 16px; }
.tb-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 14px; }
.tb-footer__bottom .tb-container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tb-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 16px; }

/* ==========================================================================
   12. 404 / no results / misc
   ========================================================================== */
.tb-empty { text-align: center; background: var(--tb-surface); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); padding: 48px 24px; }
.tb-empty__code { font-size: clamp(72px, 14vw, 140px); font-weight: 900; line-height: 1; color: var(--tb-accent); margin: 0; }
.tb-empty .search-form { max-width: 520px; margin: 24px auto; }
.tb-ad { text-align: center; margin: 0 0 24px; min-height: 0; }
.tb-ad:empty { display: none; }
.sticky .tb-card { outline: 2px solid var(--tb-accent); }
.bypostauthor > .comment-body .fn::after { content: " (Author)"; font-size: 12px; color: var(--tb-accent); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.wp-block-image img { height: auto; }

@media print {
	.tb-topbar, .tb-header, .tb-catbar, .tb-sidebar, .tb-footer, .tb-share, .tb-related, .tb-comments, .tb-totop, .tb-progress, .tb-postnav { display: none !important; }
	.tb-layout { display: block; }
	.tb-article { box-shadow: none; padding: 0; }
}

/* ==========================================================================
   13. Small fixes
   ========================================================================== */
.tb-overlay .tb-noimg { position: absolute; inset: 0; }
.tb-overlay .tb-meta a { position: relative; z-index: 3; }
.search-submit { padding: 0; width: 46px; height: 46px; justify-content: center; flex-shrink: 0; }
.search-submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tb-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.tb-footer .tb-brand__name { margin-bottom: 14px; }
.tb-footer__bottom ul { list-style: none; margin: 0; padding: 0; }
.tb-mini .tb-stars svg { width: 13px; height: 13px; }
.tb-brand .custom-logo-link img { max-height: 44px; width: auto; }

/* ==========================================================================
   14. Pagination (v1.1)
   ========================================================================== */
.tb-pagination { margin: 32px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tb-pg { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 6px; max-width: 100%; }
.tb-pg__item { flex: 0 0 auto; }
.tb-pg .page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px; background: var(--tb-surface); box-shadow: var(--tb-shadow); color: var(--tb-text); font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; transition: background .15s, color .15s; }
.tb-pg a.page-numbers:hover { background: var(--tb-accent); color: #fff; }
.tb-pg .page-numbers.current { background: var(--tb-accent); color: #fff; box-shadow: 0 4px 14px rgba(225, 29, 72, .35); }
.tb-pg .page-numbers.dots { background: transparent; box-shadow: none; min-width: 24px; padding: 0 2px; color: var(--tb-muted); }
.tb-pg .is-prev .page-numbers, .tb-pg .is-next .page-numbers { padding: 0 16px; }
.tb-pg__info { margin: 0; font-size: 13px; color: var(--tb-muted); font-weight: 600; }
@media (max-width: 600px) {
	.tb-pg { gap: 4px; }
	.tb-pg .page-numbers { min-width: 36px; height: 38px; padding: 0 10px; font-size: 14px; }
	.tb-pg .tb-pg__txt { display: none; }
	/* On phones keep only: prev, first, current, last, next. */
	.tb-pg__item:not(.is-prev):not(.is-next):not(.is-current):not(.is-dots):not(:nth-child(2)):not(:nth-last-child(2)) { display: none; }
	.tb-pg__item.is-dots + .tb-pg__item.is-dots { display: none; }
}

/* ==========================================================================
   15. Core WordPress block widgets (Search, Latest Posts, Comments, Categories)
   ========================================================================== */
.widget .wp-block-search__label { display: block; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--tb-ink); margin: 0 0 12px; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; border: 0; padding: 0; }
.widget .wp-block-search__input { flex: 1; min-width: 0; padding: 11px 16px; border: 1px solid var(--tb-line); border-radius: 999px; background: var(--tb-bg); color: var(--tb-text); font-size: 15px; }
.widget .wp-block-search__input:focus { outline: none; border-color: var(--tb-accent); box-shadow: 0 0 0 3px var(--tb-accent-soft); }
.widget .wp-block-search__button { margin: 0; border: 0; border-radius: 999px; background: var(--tb-accent); color: #fff; padding: 0 20px; font-weight: 700; cursor: pointer; }
.widget .wp-block-search__button:hover { background: var(--tb-accent-dark); }
.widget .wp-block-latest-posts, .widget .wp-block-latest-comments, .widget .wp-block-categories, .widget .wp-block-archives { list-style: none; margin: 0; padding: 0; }
.widget .wp-block-latest-posts li, .widget .wp-block-latest-comments__comment { padding: 10px 0; margin: 0; border-bottom: 1px dashed var(--tb-line); line-height: 1.45; font-size: 15px; }
.widget .wp-block-latest-posts li:last-child, .widget .wp-block-latest-comments__comment:last-child { border-bottom: 0; }
.widget .wp-block-latest-posts__post-title { color: var(--tb-ink); font-weight: 700; }
.widget .wp-block-latest-posts__post-title:hover { color: var(--tb-accent); }
.widget .wp-block-latest-posts__featured-image { float: left; margin: 2px 12px 4px 0; width: 80px; }
.widget .wp-block-latest-posts__featured-image img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; }
.widget .wp-block-latest-posts li::after { content: ""; display: table; clear: both; }
.widget .wp-block-latest-comments__comment article, .widget .wp-block-latest-comments__comment-meta { margin: 0; }
.widget .wp-block-latest-comments__comment-excerpt, .widget .wp-block-latest-comments__comment-meta { margin-left: 0 !important; }
.widget .wp-block-latest-comments__comment-author, .widget .wp-block-latest-comments__comment-link { font-weight: 700; color: var(--tb-ink); }
.widget .wp-block-latest-comments__comment-link:hover { color: var(--tb-accent); }
.widget .wp-block-group__inner-container > h2, .widget > h2.wp-block-heading { font-size: 16px; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--tb-line); }
.widget > *:last-child { margin-bottom: 0; }

/* ==========================================================================
   16. Logo (v1.1)
   ========================================================================== */
.tb-brand { gap: 10px; }
.tb-brand__logo { display: block; flex-shrink: 0; line-height: 0; }
.tb-brand__logo picture { display: block; }
.tb-logo { display: block; width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.tb-brand .tb-brand__name { margin: 0; }
.tb-footer__brand a { display: inline-flex; align-items: center; gap: 12px; }
.tb-footer__brand .tb-logo { width: 48px; height: 48px; }
@media (max-width: 960px) {
	.tb-header__inner { gap: 12px; }
	.tb-logo { width: 38px; height: 38px; border-radius: 9px; }
}
@media (max-width: 380px) {
	.tb-brand__name { font-size: 19px; }
}
.tb-logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 2px 8px rgba(0, 0, 0, .35); }
.tb-footer__brand a, .tb-footer__brand a:hover { color: #fff; }
.tb-footer__word span { color: var(--tb-accent); }
.tb-brand__name .tb-footer__word { color: #fff; }

/* ==========================================================================
   17. Archive grid (v1.3) – category / tag / author / search pages
   ========================================================================== */
.tb-archive-featured { margin-bottom: 24px; }
.tb-archive-featured .tb-overlay { min-height: 420px; }
.tb-archive-featured .tb-overlay__title { font-size: clamp(22px, 3vw, 32px); }
.tb-archive-featured .tb-overlay__body { padding: 24px; }
.tb-archive-grid .tb-card__title { font-size: 18px; }
.tb-archive-grid .tb-card__excerpt { -webkit-line-clamp: 2; }
@media (max-width: 600px) {
	.tb-archive-featured .tb-overlay { min-height: 300px; }
	.tb-archive-featured .tb-overlay__body { padding: 16px; }
}

/* ==========================================================================
   18. Pagination from plugins / shortcodes (v1.4)
   e.g. the /health-tips/ page grid (".acf-posts-grid" + "ul.page-numbers").
   ========================================================================== */
/* The list itself must never look like a button. */
ul.page-numbers {
	list-style: none !important; margin: 0; padding: 0 !important;
	display: flex !important; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px;
	min-width: 0; height: auto; background: none !important; box-shadow: none !important; border-radius: 0;
}
ul.page-numbers > li { margin: 0 !important; padding: 0; list-style: none !important; }
ul.page-numbers > li::before, ul.page-numbers > li::marker { content: none; }
a.page-numbers, span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px;
	background: var(--tb-surface); box-shadow: var(--tb-shadow); color: var(--tb-text) !important;
	font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none !important;
}
a.page-numbers:hover, span.page-numbers.current { background: var(--tb-accent); color: #fff !important; }
span.page-numbers.dots { background: transparent; box-shadow: none; min-width: 24px; padding: 0 2px; color: var(--tb-muted) !important; }
.navigation.pagination { margin: 32px 0 8px; }

/* Pagination placed inside a post grid: take the full row, centred under the cards. */
.acf-posts-grid > .tg-numbered-pagination,
.acf-posts-grid > .acf-category-pagination,
.acf-posts-grid > .navigation,
.acf-posts-grid > nav,
[class*="posts-grid"] > .tg-numbered-pagination,
[class*="posts-grid"] > .navigation { grid-column: 1 / -1; width: 100%; margin-top: 8px; }
.tg-numbered-pagination, .acf-category-pagination { text-align: center; }

/* Make the shortcode cards match the theme cards. */
.entry-content .acf-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px; }
@media (max-width: 600px) { .entry-content .acf-posts-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.entry-content .acf-post-card { border: 0; border-radius: var(--tb-radius); background: var(--tb-surface); box-shadow: var(--tb-shadow); }
.entry-content .acf-post-card:hover { box-shadow: var(--tb-shadow-hover); transform: translateY(-2px); }
.entry-content .acf-post-thumbnail { aspect-ratio: 16 / 9; overflow: hidden; }
.entry-content .acf-post-thumbnail a { display: block; height: 100%; }
.entry-content .acf-post-thumbnail img { height: 100% !important; aspect-ratio: 16 / 9; border-radius: 0; transition: transform .4s; }
.entry-content .acf-post-card:hover .acf-post-thumbnail img { transform: scale(1.04); }
.entry-content .acf-post-content { padding: 16px 18px 18px; }
.entry-content .acf-post-title { font-size: 18px !important; line-height: 1.35 !important; margin: 0 0 8px !important; }
.entry-content .acf-post-title a { color: var(--tb-ink) !important; text-decoration: none !important; }
.entry-content .acf-post-title a:hover { color: var(--tb-accent) !important; }
.entry-content .acf-post-excerpt { font-size: 14.5px; line-height: 1.6; color: var(--tb-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.entry-content .acf-post-link { color: var(--tb-accent) !important; font-size: 14px; font-weight: 700; text-decoration: none !important; margin-top: auto; }
.entry-content .acf-post-link:hover { color: var(--tb-accent-dark) !important; }

/* ==========================================================================
   19. Social links (v1.5)
   ========================================================================== */
.tb-footer__follow { margin: 18px 0 0; color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.tb-footer .tb-social { margin-top: 10px; gap: 10px; }
.tb-footer .tb-social a { width: 42px; height: 42px; color: #fff; background: rgba(255,255,255,.08); transition: background .15s, transform .15s; }
.tb-footer .tb-social svg { width: 18px; height: 18px; }
.tb-social a:hover { transform: translateY(-2px); color: #fff; }
.tb-social a.is-facebook:hover { background: #1877f2; }
.tb-social a.is-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.tb-social a.is-youtube:hover { background: #ff0000; }
.tb-social a.is-x:hover { background: #000; }
.tb-social a.is-telegram:hover { background: #229ed9; }
.tb-social a.is-whatsapp:hover { background: #25d366; }
