/* =====================================================================
   TeluguNewsTime – main stylesheet (v1.1 premium)
   Light-grey ground, white cards, red brand, blue section bars, 3-story
   hero, colored category pills, soft shadows and hover motion.
   ===================================================================== */

:root {
	--tnt-red: #e30613;
	--tnt-red-dark: #b8000f;
	--tnt-blue: #065ea8;
	--tnt-blue-dark: #03407a;
	--tnt-link: #0f5fa8;
	--tnt-yellow: #ffb81c;
	--tnt-text: #14171c;
	--tnt-muted: #6b7280;
	--tnt-border: #e6e8ec;
	--tnt-bg: #f3f4f7;
	--tnt-surface: #ffffff;
	--tnt-bg-alt: #f6f7f9;
	--tnt-font: "Noto Sans Telugu", "Inter", "Segoe UI", Arial, sans-serif;
	--tnt-container: 1220px;
	--tnt-gutter: 16px;
	--tnt-radius: 10px;
	--tnt-radius-sm: 6px;
	--tnt-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 6px rgba(16, 24, 40, .06);
	--tnt-shadow-lg: 0 10px 30px rgba(16, 24, 40, .12);
	--tnt-grad-blue: linear-gradient(90deg, #065ea8 0%, #0b74c9 100%);
	--tnt-grad-red: linear-gradient(90deg, #e30613 0%, #ff3b30 100%);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--tnt-font); font-size: 16px; line-height: 1.7; color: var(--tnt-text); background: var(--tnt-bg); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--tnt-red); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--tnt-blue); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--tnt-blue); color: #fff; padding: 8px 12px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }
.tnt-icon { display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.container { max-width: var(--tnt-container); margin: 0 auto; padding-left: var(--tnt-gutter); padding-right: var(--tnt-gutter); }
.surface { background: var(--tnt-surface); border: 1px solid var(--tnt-border); border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; margin-top: 24px; margin-bottom: 48px; }
.layout__main, .layout__sidebar { min-width: 0; }
@media (max-width: 991px) { .layout, .layout--article { grid-template-columns: 1fr; gap: 24px; margin-top: 16px; } }

/* ---------- Top bar ---------- */
.topbar { background: #0b1220; color: #b9c2d0; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 12px; }
.topbar__date { display: inline-flex; align-items: center; gap: 6px; }
.topbar__date::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tnt-yellow); }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #fff; background: var(--tnt-red); padding: 3px 10px; border-radius: 20px; font-size: 12px; }
.topbar__link:hover { background: #fff; color: var(--tnt-red); }
.tnt-social { display: flex; gap: 2px; }
.tnt-social__link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #b9c2d0; transition: background .15s, color .15s, transform .15s; }
.tnt-social__link:hover { background: var(--tnt-red); color: #fff; transform: translateY(-1px); }
@media (max-width: 640px) { .topbar__date { display: none; } .topbar__inner { justify-content: flex-end; } }

/* ---------- Masthead ---------- */
.masthead { background: var(--tnt-surface); border-bottom: 1px solid var(--tnt-border); }
.masthead__inner { display: flex; align-items: center; gap: 24px; min-height: 96px; padding-top: 14px; padding-bottom: 14px; }
.tnt-logo { display: flex; align-items: center; }
.tnt-logo img { max-height: 64px; width: auto; }
.tnt-logo__text { display: inline-flex; flex-direction: column; line-height: 1; }
.tnt-logo__text > span:first-child::after { content: ""; }
.tnt-logo__a, .tnt-logo__b { font-family: "Inter", "Segoe UI", Arial, sans-serif; font-weight: 900; font-size: 36px; letter-spacing: -1.5px; display: inline; }
.tnt-logo__text { flex-direction: row; align-items: baseline; gap: 0; }
.tnt-logo__a { color: var(--tnt-red); }
.tnt-logo__b { color: var(--tnt-blue); }
.tnt-logo__text:hover { color: inherit; }
.masthead__ad { margin-left: auto; }
.masthead__ad .tnt-ad { margin: 0; }
.nav-toggle, .search-toggle--mobile { display: none; }
@media (max-width: 991px) {
	.masthead__inner { min-height: 60px; padding: 8px 0; gap: 8px; }
	.masthead__ad { display: none; }
	.nav-toggle, .search-toggle--mobile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--tnt-text); border-radius: 50%; }
	.nav-toggle:active, .search-toggle--mobile:active { background: var(--tnt-bg-alt); }
	.tnt-logo { flex: 1; justify-content: center; }
	.tnt-logo__a, .tnt-logo__b { font-size: 26px; letter-spacing: -1px; }
	.masthead .tnt-logo img { max-height: 40px; }
}

/* ---------- Main nav ---------- */
.main-nav { background: var(--tnt-grad-blue); color: #fff; position: sticky; top: 0; z-index: 900; box-shadow: 0 4px 14px rgba(6, 94, 168, .25); }
.main-nav__inner { display: flex; align-items: stretch; min-height: 48px; }
.main-nav__home { display: inline-flex; align-items: center; padding: 0 14px; background: rgba(0, 0, 0, .18); color: #fff; }
.main-nav__home:hover { color: var(--tnt-yellow); }
.main-nav__list { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.main-nav__list::-webkit-scrollbar { display: none; }
.main-nav__list > li { position: relative; flex-shrink: 0; }
.main-nav__list > li > a { display: flex; align-items: center; height: 48px; padding: 0 15px; font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; position: relative; transition: background .15s; }
.main-nav__list > li > a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px; background: var(--tnt-yellow); transform: scaleX(0); transition: transform .2s; border-radius: 3px 3px 0 0; }
.main-nav__list > li > a:hover, .main-nav__list > li.current-menu-item > a, .main-nav__list > li.current-menu-parent > a, .main-nav__list > li.current_page_item > a { background: rgba(0, 0, 0, .15); color: #fff; }
.main-nav__list > li > a:hover::after, .main-nav__list > li.current-menu-item > a::after, .main-nav__list > li.current-menu-parent > a::after { transform: scaleX(1); }
.main-nav__list .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; color: var(--tnt-text); box-shadow: var(--tnt-shadow-lg); border-radius: 0 0 var(--tnt-radius-sm) var(--tnt-radius-sm); border-top: 3px solid var(--tnt-red); z-index: 10; overflow: hidden; }
.main-nav__list > li:hover .sub-menu, .main-nav__list > li:focus-within .sub-menu { display: block; }
.main-nav__list .sub-menu a { display: block; padding: 9px 14px; font-size: 14px; border-bottom: 1px solid var(--tnt-border); }
.main-nav__list .sub-menu a:hover { background: var(--tnt-bg-alt); color: var(--tnt-red); }
.main-nav .search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 50px; color: #fff; background: rgba(0, 0, 0, .18); margin-left: auto; }
.main-nav .search-toggle:hover { color: var(--tnt-yellow); }
@media (max-width: 991px) {
	.main-nav__home, .main-nav .search-toggle { display: none; }
	.main-nav__list > li > a { height: 42px; font-size: 14px; padding: 0 12px; }
	.main-nav__list > li > a::after { left: 12px; right: 12px; }
	.main-nav__inner { min-height: 42px; padding: 0; }
	.main-nav__list .sub-menu { display: none !important; }
}

/* ---------- Breaking bar ---------- */
.breaking { background: var(--tnt-surface); border-bottom: 1px solid var(--tnt-border); }
.breaking__inner { display: flex; align-items: stretch; min-height: 42px; height: 42px; }
.breaking__label { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--tnt-grad-red); color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; flex-shrink: 0; position: relative; }
.breaking__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: tnt-pulse 1.6s infinite; }
.breaking__label::after { content: ""; position: absolute; right: -10px; top: 0; border-left: 10px solid #ff3b30; border-top: 21px solid transparent; border-bottom: 21px solid transparent; }
.breaking__track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; margin-left: 12px; }
.breaking__list { display: flex; gap: 44px; white-space: nowrap; animation: tnt-ticker 45s linear infinite; padding-left: 100%; }
.breaking__track:hover .breaking__list { animation-play-state: paused; }
.breaking__list li { font-size: 15px; font-weight: 700; }
.breaking__list li::before { content: "●"; color: var(--tnt-red); font-size: 9px; margin-right: 8px; vertical-align: middle; }
.breaking__list a:hover { color: var(--tnt-red); }
@keyframes tnt-ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes tnt-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
/* Reduced motion: stop the scroll but keep ONE horizontal row (never wrap into a tall stack). */
@media (prefers-reduced-motion: reduce) {
	.breaking__list { animation: none; padding-left: 0; flex-wrap: nowrap; white-space: nowrap; }
	.breaking__track { overflow-x: auto; scrollbar-width: none; }
	.breaking__track::-webkit-scrollbar { display: none; }
	.breaking__label::before { animation: none; }
	.hero-card__media .tnt-thumb__img, .news-card__media .tnt-thumb__img, .list-card__media .tnt-thumb__img, .cat-block__media .tnt-thumb__img { transition: none; }
	.hero-card:hover .tnt-thumb__img, .news-card:hover .tnt-thumb__img, .list-card:hover .tnt-thumb__img, .cat-block__lead a:hover .tnt-thumb__img { transform: none; }
}

/* ---------- Mobile drawer ---------- */
.mobile-drawer { position: fixed; inset: 0; z-index: 1100; visibility: hidden; }
.mobile-drawer.is-open { visibility: visible; }
.mobile-drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 18, 32, .55); opacity: 0; transition: opacity .2s; }
.mobile-drawer.is-open .mobile-drawer__backdrop { opacity: 1; }
.mobile-drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(320px, 85vw); background: #fff; transform: translateX(-100%); transition: transform .25s; overflow-y: auto; padding: 12px 16px 24px; z-index: 1; }
.mobile-drawer.is-open .mobile-drawer__panel { transform: none; }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-drawer__head .tnt-logo__a, .mobile-drawer__head .tnt-logo__b { font-size: 24px; }
.mobile-drawer__list { margin-top: 12px; border-top: 1px solid var(--tnt-border); }
.mobile-drawer__list a { display: block; padding: 11px 6px; border-bottom: 1px solid var(--tnt-border); font-weight: 700; }
.mobile-drawer__list .sub-menu a { padding-left: 22px; font-weight: 400; font-size: 14px; }
.mobile-drawer__list .current-menu-item > a { color: var(--tnt-red); }
.tnt-social--drawer { margin-top: 16px; }
.tnt-social--drawer .tnt-social__link { color: var(--tnt-text); background: var(--tnt-bg-alt); }
.drawer-close { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
body.drawer-open { overflow: hidden; }

/* ---------- Search overlay / form ---------- */
.search-overlay { display: none; background: #fff; border-bottom: 3px solid var(--tnt-red); box-shadow: var(--tnt-shadow-lg); position: sticky; top: 48px; z-index: 890; }
.search-overlay.is-open { display: block; }
.search-overlay__inner { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.search-overlay__inner .search-form { flex: 1; }
.search-form { display: flex; border: 2px solid var(--tnt-border); border-radius: 30px; overflow: hidden; background: #fff; }
.search-form:focus-within { border-color: var(--tnt-blue); }
.search-form__input { flex: 1; min-width: 0; border: 0; padding: 10px 18px; font-size: 16px; outline: none; background: transparent; }
.search-form__submit { padding: 0 18px; background: var(--tnt-blue); color: #fff; display: inline-flex; align-items: center; }
.search-form__submit:hover { background: var(--tnt-red); color: #fff; }
@media (max-width: 991px) { .search-overlay { top: 42px; } }

/* ---------- Section titles ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title { font-size: 21px; font-weight: 800; line-height: 1.3; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ""; width: 5px; height: 24px; border-radius: 3px; background: var(--tnt-grad-red); flex-shrink: 0; }
.section-title span { display: inline-flex; align-items: center; gap: 6px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--tnt-border); margin-left: 8px; }
.section-head .section-title { margin-bottom: 0; flex: 1; }
.section-title--red span { color: var(--tnt-red); }
.section-more { font-size: 13px; font-weight: 700; color: var(--tnt-blue); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 5px 12px; border: 1px solid var(--tnt-border); border-radius: 20px; background: #fff; transition: all .15s; }
.section-more:hover { background: var(--tnt-blue); border-color: var(--tnt-blue); color: #fff; }

/* ---------- Badges (category pills) ---------- */
.tnt-badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--tnt-red); line-height: 1.2; margin-bottom: 6px; letter-spacing: .1px; }
.tnt-badge--onimage { background: var(--tnt-red); color: #fff; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; font-size: 12px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.tnt-badge--onimage:hover { background: #fff; color: var(--tnt-red); }
.tnt-badge--big { font-size: 14px; background: var(--tnt-grad-blue); color: #fff; padding: 5px 14px; border-radius: 4px; margin-bottom: 14px; }
.tnt-badge--big:hover { background: var(--tnt-red); color: #fff; }
/* Per-category accent colours */
.tnt-cat-cinema.tnt-badge--text { color: #c2185b; }
.tnt-cat-sports.tnt-badge--text { color: #2e7d32; }
.tnt-cat-business.tnt-badge--text { color: #00695c; }
.tnt-cat-technology.tnt-badge--text { color: #4527a0; }
.tnt-cat-politics.tnt-badge--text { color: #bf360c; }
.tnt-cat-jobs.tnt-badge--text, .tnt-cat-education.tnt-badge--text { color: #0277bd; }

/* ---------- Thumbnails ---------- */
.tnt-thumb__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tnt-bg-alt); }
.tnt-thumb__placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef1f5, #d9dee6); color: #9aa3ad; font-weight: 800; font-family: "Inter", Arial, sans-serif; font-size: 14px; }
.tnt-time { font-size: 12px; color: var(--tnt-muted); display: inline-flex; align-items: center; gap: 4px; }
.tnt-time::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .6; }

/* ---------- Hero (1 big + 2 stacked + 4 row) ---------- */
.hero { margin-bottom: 28px; }
.hero__top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hero-card { position: relative; background: #0b1220; overflow: hidden; border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); height: 100%; }
.hero-card__link { display: block; color: #fff; height: 100%; }
.hero-card__link:hover { color: #fff; }
.hero-card__media { height: 100%; }
.hero-card__media .tnt-thumb__img { height: 100%; aspect-ratio: 16 / 10; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero-card:hover .tnt-thumb__img { transform: scale(1.05); }
.hero-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 26px 22px; background: linear-gradient(to top, rgba(5, 10, 20, .95) 0%, rgba(5, 10, 20, .6) 55%, rgba(5, 10, 20, 0) 100%); }
.hero-card__title { font-size: 30px; line-height: 1.35; font-weight: 800; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.hero-card__meta { margin-top: 10px; font-size: 13px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.hero-card__meta .tnt-time { color: #fff; }
.hero-card--small .hero-card__body { padding: 60px 18px 16px; }
.hero-card--small .hero-card__title { font-size: 18px; }
.hero-card--small .tnt-badge--onimage { font-size: 11px; padding: 3px 8px; margin-bottom: 8px; }
.hero-card--small .hero-card__media .tnt-thumb__img { aspect-ratio: 16 / 11; }
.hero__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 991px) {
	.hero__top { grid-template-columns: 1fr; }
	.hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.hero-card__media .tnt-thumb__img { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
	/* On phones put the headline BELOW the image – overlaying it on a small crop hurts readability. */
	.hero-card { background: var(--tnt-surface); border: 1px solid var(--tnt-border); }
	.hero-card__link { color: var(--tnt-text); }
	.hero-card__link:hover { color: var(--tnt-text); }
	.hero-card__media .tnt-thumb__img, .hero-card--small .hero-card__media .tnt-thumb__img { aspect-ratio: 16 / 9; height: auto; }
	.hero-card__body { position: static; padding: 12px 14px 14px; background: none; }
	.hero-card__title, .hero-card--small .hero-card__title { font-size: 17px; color: var(--tnt-text); text-shadow: none; }
	.hero-card__meta { margin-top: 6px; opacity: 1; }
	.hero-card__meta .tnt-time { color: var(--tnt-muted); }
	.tnt-badge--onimage { box-shadow: none; }
	.hero__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) { .hero__side { grid-template-columns: 1fr; } }

/* ---------- News card (grid) ---------- */
.news-card { background: var(--tnt-surface); border: 1px solid var(--tnt-border); border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); display: flex; flex-direction: column; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--tnt-shadow-lg); }
.news-card__media { display: block; overflow: hidden; position: relative; }
.news-card__media .tnt-thumb__img { transition: transform .5s; }
.news-card:hover .tnt-thumb__img { transform: scale(1.05); }
.news-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.news-card__title { font-size: 15.5px; line-height: 1.5; font-weight: 700; color: var(--tnt-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__title a:hover { color: var(--tnt-red); }
.news-card__excerpt { font-size: 14px; color: var(--tnt-muted); margin: 4px 0 0; }
.news-card__meta { margin-top: auto; padding-top: 6px; }
.card-grid { display: grid; gap: 16px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 767px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } .news-card__body { padding: 10px 12px 12px; } .news-card__title { font-size: 14px; } }

/* ---------- List card (thumb left) ---------- */
.list-card { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 16px; padding: 16px; background: var(--tnt-surface); border: 1px solid var(--tnt-border); border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); margin-bottom: 14px; transition: box-shadow .2s; }
.list-card:hover { box-shadow: var(--tnt-shadow-lg); }
.list-card__media { display: block; overflow: hidden; border-radius: var(--tnt-radius-sm); }
.list-card__media .tnt-thumb__img { transition: transform .5s; }
.list-card:hover .tnt-thumb__img { transform: scale(1.05); }
.list-card__title { font-size: 17px; line-height: 1.5; font-weight: 700; color: var(--tnt-text); }
.list-card__title a:hover { color: var(--tnt-red); }
.list-card__excerpt { font-size: 14px; color: var(--tnt-muted); margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-card__meta { margin-top: 8px; }
.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.list-grid .list-card { grid-template-columns: 130px minmax(0, 1fr); margin: 0; padding: 12px; }
.list-grid .list-card__title { font-size: 15px; }
.list-grid--1 { grid-template-columns: 1fr; }
.list-grid--1 .list-card { grid-template-columns: 210px minmax(0, 1fr); padding: 16px; }
.list-grid--1 .list-card__title { font-size: 17px; }
@media (max-width: 767px) {
	.list-grid { grid-template-columns: 1fr; }
	.list-card, .list-grid .list-card, .list-grid--1 .list-card { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px; }
	.list-card__title, .list-grid--1 .list-card__title { font-size: 15px; }
	.list-card__excerpt { display: none; }
}

/* ---------- Headline lists ---------- */
.headline { border-bottom: 1px solid var(--tnt-border); }
.headline:last-child { border-bottom: 0; }
.headline a { display: flex; gap: 10px; padding: 10px 0; font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--tnt-text); }
.headline a:hover { color: var(--tnt-red); }
.headline-list--bullets .headline a::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--tnt-red); margin-top: 8px; box-shadow: 0 0 0 3px rgba(227, 6, 19, .12); }
.headline--thumb a::before { display: none; }
.headline__thumb { flex: 0 0 100px; }
.headline__thumb .tnt-thumb__img { border-radius: var(--tnt-radius-sm); }
.headline__text { flex: 1; min-width: 0; }
.headline__time { display: block; font-size: 12px; color: var(--tnt-muted); font-weight: 400; margin-top: 2px; }
.headline-list--scroll { max-height: 560px; overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }

/* ---------- Latest (sidebar card) ---------- */
.latest { background: var(--tnt-surface); border: 1px solid var(--tnt-border); border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); overflow: hidden; }
.latest .section-title { margin: 0; padding: 12px 16px; background: var(--tnt-grad-red); color: #fff; font-size: 17px; }
.latest .section-title::before, .latest .section-title::after { display: none; }
.latest .section-title span { color: #fff; }
.latest .headline-list { padding: 4px 16px 8px; }
.latest--mobile { display: none; margin-bottom: 24px; }
@media (max-width: 991px) { .latest--mobile { display: block; } .layout__sidebar .latest { display: none; } }

/* ---------- Category blocks ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 28px; }
.cat-grid__ad { grid-column: 1 / -1; }
.cat-grid__ad:empty { display: none; }
.cat-block { background: var(--tnt-surface); border: 1px solid var(--tnt-border); border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); overflow: hidden; display: flex; flex-direction: column; }
.cat-block__title { font-size: 17px; font-weight: 800; background: var(--tnt-grad-blue); color: #fff; position: relative; }
.cat-block__title::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--tnt-yellow); }
.cat-block__title a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 14px 9px 18px; color: #fff; }
.cat-block__title a:hover { color: var(--tnt-yellow); }
.cat-block__title .tnt-icon { transition: transform .2s; }
.cat-block__title a:hover .tnt-icon { transform: translateX(3px); }
.cat-block__body { padding: 14px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.cat-block__media { display: block; overflow: hidden; border-radius: var(--tnt-radius-sm); margin-bottom: 10px; }
.cat-block__media .tnt-thumb__img { transition: transform .5s; }
.cat-block__lead a:hover .tnt-thumb__img { transform: scale(1.05); }
.cat-block__lead-title { font-size: 17px; line-height: 1.45; font-weight: 700; color: var(--tnt-text); }
.cat-block__lead a:hover .cat-block__lead-title { color: var(--tnt-red); }
.cat-block__meta { margin-top: 4px; }
.cat-block .headline-list { border-top: 1px dashed var(--tnt-border); }
.cat-block .headline a { padding: 9px 0; font-size: 14.5px; }
.cat-block .headline a::before { content: "›"; color: var(--tnt-red); font-weight: 800; line-height: 1.4; }
@media (max-width: 767px) { .cat-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Sidebar widgets ---------- */
.layout__sidebar > section, .layout__sidebar > .widget { margin-bottom: 24px; }
.trending, .cat-links, .widget { background: var(--tnt-surface); border: 1px solid var(--tnt-border); border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); padding: 16px; }
.trending .section-title, .cat-links .section-title, .widget .section-title { font-size: 17px; margin-bottom: 8px; }
.trending-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--tnt-border); font-size: 14.5px; font-weight: 600; line-height: 1.5; align-items: flex-start; }
.trending-list li:last-child { border-bottom: 0; }
.trending-list__num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--tnt-bg-alt); color: var(--tnt-red); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; font-family: "Inter", Arial, sans-serif; }
.trending-list li:nth-child(-n+3) .trending-list__num { background: var(--tnt-grad-red); color: #fff; box-shadow: 0 3px 8px rgba(227, 6, 19, .3); }
.cat-links__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cat-links__list a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--tnt-bg-alt); border-radius: 8px; font-size: 13px; font-weight: 700; transition: all .15s; }
.cat-links__list a span { font-size: 11px; color: var(--tnt-muted); font-family: "Inter", Arial, sans-serif; background: #fff; padding: 1px 7px; border-radius: 10px; }
.cat-links__list a:hover { background: var(--tnt-blue); color: #fff; }
.cat-links__list a:hover span { color: var(--tnt-blue); }
.widget ul li { padding: 7px 0; border-bottom: 1px solid var(--tnt-border); font-size: 14px; }

/* ---------- Ads ---------- */
.tnt-ad { margin: 18px 0; text-align: center; clear: both; }
.tnt-ad__label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; color: #9aa3ad; margin-bottom: 4px; font-family: "Inter", Arial, sans-serif; }
.tnt-ad__inner { display: flex; justify-content: center; align-items: center; min-height: 50px; overflow: hidden; }
.tnt-ad__inner > * { max-width: 100%; }
.tnt-ad--header .tnt-ad__inner { min-height: 90px; }
.tnt-ad--sidebar_top .tnt-ad__inner, .tnt-ad--sidebar_bottom .tnt-ad__inner { min-height: 250px; }
.tnt-ad--article_middle { margin: 30px 0; }
.masthead__ad .tnt-ad__label { text-align: right; }
@media (max-width: 767px) { .tnt-ad--header .tnt-ad__inner { min-height: 50px; } }

/* ---------- Archive head ---------- */
.archive-head { margin-bottom: 20px; padding: 18px 22px; background: var(--tnt-surface); border: 1px solid var(--tnt-border); border-left: 6px solid var(--tnt-red); border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); }
.archive-head__title { font-size: 26px; font-weight: 800; }
.archive-head__desc { color: var(--tnt-muted); font-size: 14px; margin-top: 4px; }
.archive-grid > .news-card:first-child { margin-bottom: 18px; }
.archive-grid > .news-card:first-child .news-card__title { font-size: 24px; -webkit-line-clamp: unset; }
.archive-grid > .news-card:first-child .news-card__excerpt { font-size: 15px; }

/* ---------- Breadcrumb ---------- */
.tnt-breadcrumb { font-size: 13px; color: var(--tnt-muted); padding: 12px 0 0; }
.tnt-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; }
.tnt-breadcrumb li + li::before { content: "›"; margin: 0 6px 0 2px; color: #aab; }
.tnt-breadcrumb a { color: var(--tnt-blue); }
.tnt-breadcrumb li[aria-current] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }

/* ---------- Article ---------- */
.article { min-width: 0; background: var(--tnt-surface); border: 1px solid var(--tnt-border); border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); padding: 28px 32px; }
.article__head { margin-bottom: 20px; }
.article__title { font-size: 32px; line-height: 1.4; font-weight: 800; margin-bottom: 12px; }
.article__standfirst { font-size: 18px; color: #444; line-height: 1.7; margin-bottom: 14px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 13px; color: var(--tnt-muted); padding: 12px 0; border-top: 1px solid var(--tnt-border); border-bottom: 1px solid var(--tnt-border); }
.article__author { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--tnt-text); }
.article__avatar { width: 34px; height: 34px; border-radius: 50%; }
.article__dates { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.article__date { display: inline-flex; align-items: center; gap: 4px; }
.article__figure { margin: 0 0 20px; }
.article__figure .tnt-thumb__img { border-radius: var(--tnt-radius); aspect-ratio: auto; }
.article__figure figcaption { font-size: 13px; color: var(--tnt-muted); padding: 8px 0; border-bottom: 1px solid var(--tnt-border); }
.article__content { font-size: 18px; line-height: 1.9; }
.article__content > * { margin-top: 0; margin-bottom: 1.2em; }
.article__content h2 { font-size: 24px; margin-top: 1.4em; }
.article__content h3 { font-size: 20px; margin-top: 1.3em; }
.article__content a { color: var(--tnt-link); text-decoration: underline; text-underline-offset: 3px; }
.article__content a:hover { color: var(--tnt-red); }
.article__content ul, .article__content ol { padding-left: 1.5em; }
.article__content ul { list-style: disc; }
.article__content ol { list-style: decimal; }
.article__content li { margin-bottom: .4em; }
.article__content blockquote { border-left: 4px solid var(--tnt-red); background: var(--tnt-bg-alt); padding: 16px 22px; margin-left: 0; margin-right: 0; font-size: 19px; border-radius: 0 var(--tnt-radius-sm) var(--tnt-radius-sm) 0; }
.article__content blockquote p:last-child { margin-bottom: 0; }
.article__content img { border-radius: var(--tnt-radius-sm); }
.article__content figure { margin-left: 0; margin-right: 0; }
.article__content figcaption { font-size: 13px; color: var(--tnt-muted); text-align: center; margin-top: 6px; }
.article__content iframe { max-width: 100%; border-radius: var(--tnt-radius-sm); }
.article__content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article__content th, .article__content td { border: 1px solid var(--tnt-border); padding: 8px 10px; text-align: left; }
.article__content th { background: var(--tnt-bg-alt); }
.article__tags { font-size: 13px; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.article__tags span { color: var(--tnt-muted); font-weight: 700; }
.article__tags a { background: var(--tnt-bg-alt); padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.article__tags a:hover { background: var(--tnt-blue); color: #fff; }
.article__foot { margin-top: 24px; }
@media (max-width: 767px) { .article { padding: 18px 16px; } .article__title { font-size: 24px; } .article__content { font-size: 17px; } }

/* Share */
.tnt-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.tnt-share__label { font-size: 13px; font-weight: 700; color: var(--tnt-muted); display: inline-flex; align-items: center; gap: 4px; margin-right: 4px; }
.tnt-share__btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; color: #fff; background: #555; transition: transform .15s, opacity .15s; }
.tnt-share__btn:hover { transform: translateY(-1px); opacity: .9; color: #fff; }
.tnt-share__btn--whatsapp { background: #25d366; }
.tnt-share__btn--facebook { background: #1877f2; }
.tnt-share__btn--twitter { background: #000; }
.tnt-share__btn--telegram { background: #229ed9; }
.tnt-share__btn--copy, .tnt-share__btn--native { background: var(--tnt-bg-alt); color: var(--tnt-text); }
.tnt-share__btn--copy:hover, .tnt-share__btn--native:hover { color: var(--tnt-text); }
.tnt-share__btn.is-copied { background: var(--tnt-blue); color: #fff; }
@media (max-width: 480px) { .tnt-share__btn span { display: none; } .tnt-share__btn { padding: 8px 10px; } }

/* Author box */
.author-box { display: flex; gap: 16px; padding: 18px; background: var(--tnt-bg-alt); border-radius: var(--tnt-radius); margin: 20px 0; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.author-box__label { font-size: 12px; color: var(--tnt-muted); display: block; }
.author-box__name { font-weight: 800; font-size: 17px; color: var(--tnt-blue); }
.author-box p { font-size: 14px; color: #444; margin: 4px 0 0; }

/* Prev / next */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.post-nav__link { display: block; padding: 14px 16px; border: 1px solid var(--tnt-border); border-radius: var(--tnt-radius); font-size: 14px; font-weight: 700; line-height: 1.5; transition: all .15s; }
.post-nav__link small { display: block; color: var(--tnt-red); font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.post-nav__link--next { text-align: right; }
.post-nav__link:hover { border-color: var(--tnt-blue); color: var(--tnt-blue); box-shadow: var(--tnt-shadow); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { text-align: left; } }
.related { margin-top: 32px; }

/* ---------- Search filters ---------- */
.search-filters { background: var(--tnt-surface); border: 1px solid var(--tnt-border); padding: 18px; border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); margin-bottom: 24px; }
.search-filters__row { display: flex; flex-wrap: wrap; gap: 12px; }
.search-filters__row--actions { margin-top: 12px; align-items: center; justify-content: space-between; }
.search-filters__field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; min-width: 140px; }
.search-filters__field--grow { flex: 1 1 240px; }
.search-filters input, .search-filters select { padding: 9px 12px; border: 1px solid #cfd4dc; border-radius: var(--tnt-radius-sm); background: #fff; font-size: 15px; }
.search-filters__check { font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.tnt-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--tnt-grad-red); color: #fff; font-weight: 700; padding: 10px 22px; border-radius: 30px; border: 0; cursor: pointer; box-shadow: 0 4px 12px rgba(227, 6, 19, .25); transition: transform .15s; }
.tnt-btn:hover { transform: translateY(-1px); color: #fff; }

/* ---------- Pagination ---------- */
.tnt-pagination { margin: 28px 0; }
.tnt-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tnt-pagination .page-numbers { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--tnt-border); border-radius: 30px; background: #fff; font-size: 14px; font-weight: 700; }
.tnt-pagination .page-numbers.current { background: var(--tnt-blue); border-color: var(--tnt-blue); color: #fff; }
.tnt-pagination a.page-numbers:hover { border-color: var(--tnt-red); color: var(--tnt-red); }
.tnt-pagination .screen-reader-text { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; color: #b9c2d0; margin-top: 24px; font-size: 14px; border-top: 4px solid var(--tnt-red); }
.site-footer a:hover { color: var(--tnt-yellow); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr; gap: 36px; padding: 44px 0 30px; }
.footer__about .tnt-logo__a, .footer__about .tnt-logo__b { font-size: 28px; }
.footer__about .tnt-logo__b { color: #fff; }
.footer__about p { margin: 14px 0; line-height: 1.7; }
.tnt-social--footer .tnt-social__link { color: #dfe4ec; background: rgba(255, 255, 255, .08); width: 36px; height: 36px; }
.footer__title { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--tnt-red); display: inline-block; }
.footer__links li { padding: 5px 0; }
.footer__links a::before { content: "›"; color: var(--tnt-red); margin-right: 6px; font-weight: 800; }
.footer__links--cols { columns: 2; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: #8b95a7; }
.footer__bottom p { margin: 0; }
@media (max-width: 767px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; } }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--tnt-grad-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(227, 6, 19, .35); z-index: 800; transition: transform .15s; }
.back-to-top:hover { transform: translateY(-2px); color: #fff; }
.back-to-top[hidden] { display: none; }

/* ---------- Misc ---------- */
.empty-state { text-align: center; padding: 60px 16px; color: var(--tnt-muted); }
.empty-state h1 { font-size: 28px; color: var(--tnt-text); margin-bottom: 8px; }
.error-404 { text-align: center; padding: 40px 20px 30px; background: var(--tnt-surface); border: 1px solid var(--tnt-border); border-radius: var(--tnt-radius); box-shadow: var(--tnt-shadow); margin-bottom: 28px; }
.error-404__code { font-family: "Inter", Arial, sans-serif; font-size: 96px; font-weight: 900; color: var(--tnt-red); line-height: 1; margin: 0 0 8px; }
.error-404__title { font-size: 26px; margin-bottom: 8px; }
.error-404 .search-form { max-width: 480px; margin: 20px auto; }
.tnt-contact p { margin-bottom: 14px; }
.tnt-contact label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.tnt-contact input, .tnt-contact textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd4dc; border-radius: var(--tnt-radius-sm); font-size: 16px; }
.tnt-contact .tnt-hp { position: absolute; left: -9999px; }
.tnt-notice { padding: 12px 16px; border-radius: var(--tnt-radius-sm); margin-bottom: 16px; font-weight: 600; }
.tnt-notice--success { background: #e6f7ea; color: #1b6b32; }
.tnt-notice--error { background: #fdecec; color: #a50d26; }
.tnt-html-sitemap h2 { font-size: 20px; margin: 24px 0 10px; }
.tnt-html-sitemap ul { list-style: disc; padding-left: 20px; }
.tnt-html-sitemap__cats { columns: 2; }
.tnt-html-sitemap li { margin-bottom: 4px; }
.tnt-html-sitemap li span, .tnt-html-sitemap li time { color: var(--tnt-muted); font-size: 12px; }
.comments { margin-top: 32px; }
.comment-list li { padding: 12px 0; border-bottom: 1px solid var(--tnt-border); }
.wp-block-image img { height: auto; }
.alignwide, .alignfull { max-width: 100%; }
