/* =========================================================
   Tathyapatra News Portal — theme based on BootNews layout
   Brand colors sampled from the तथ्यपत्र logo
   ========================================================= */
:root {
  --tp-navy: #0d2640;
  --tp-navy-2: #14365a;
  --tp-navy-dark: #081a2d;
  --tp-red: #b32535;
  --tp-red-dark: #8f1b29;
  --tp-ink: #1b2533;
  --tp-muted: #6b7686;
  --tp-line: #e4e8ee;
  --tp-soft: #f3f5f8;
  --tp-white: #ffffff;
  --tp-radius: 6px;
  --tp-font: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
  --bs-primary: var(--tp-navy);
  --bs-link-color: var(--tp-navy);
}

body {
  font-family: var(--tp-font);
  color: var(--tp-ink);
  background: var(--tp-white);
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--tp-red); }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.35; color: var(--tp-ink); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--tp-navy-dark);
  color: #c6d1de;
  font-size: 14px;
}
.topbar .container { min-height: 38px; }
.topbar a { color: #c6d1de; }
.topbar a:hover { color: #fff; }
.topbar .sep { opacity: .35; margin: 0 .6rem; }
.topbar .social a {
  display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .2s;
}
.topbar .social a:hover { background: var(--tp-red); }

/* ---------- Header ---------- */
.site-header { padding: 18px 0; background: #fff; }
.site-header .brand img { height: 78px; width: auto; }
.ad-728 {
  width: 728px; max-width: 100%; height: 90px;
  background: linear-gradient(110deg, var(--tp-navy) 0%, var(--tp-navy-2) 60%, var(--tp-red) 60.2%, var(--tp-red) 100%);
  color: #fff; border-radius: var(--tp-radius);
  display: flex; align-items: center; justify-content: space-between; padding: 0 26px;
  position: relative; overflow: hidden;
}
.ad-728 small { position: absolute; top: 4px; right: 10px; font-size: 10px; opacity: .7; letter-spacing: 1px; }
.ad-728 strong { font-size: 24px; }
.ad-728 .btn { background: #fff; color: var(--tp-red); font-weight: 700; border-radius: 30px; padding: 4px 18px; }

/* ---------- Main nav ---------- */
.main-nav {
  background: var(--tp-navy);
  border-bottom: 3px solid var(--tp-red);
  position: sticky; top: 0; z-index: 1030;
  box-shadow: 0 2px 12px rgba(8, 26, 45, .18);
}
.main-nav .navbar { padding: 0; }
.main-nav .nav-link {
  color: #fff !important; font-weight: 600; font-size: 17px;
  padding: 14px 15px !important; position: relative;
}
.main-nav .nav-link::after { display: none; }
.main-nav .nav-item:hover > .nav-link,
.main-nav .nav-link.active { background: var(--tp-red); }
.main-nav .home-link { padding: 14px 18px !important; }
.main-nav .brand-mini { display: none; }
@media (min-width: 1200px) { .main-nav.scrolled .brand-mini { display: inline-flex; } .main-nav.scrolled .nav-link { padding: 14px 12px !important; } }
.main-nav .brand-mini img { height: 34px; }
.nav-tools .btn-icon {
  color: #fff; background: transparent; border: 0; width: 46px; height: 50px; font-size: 18px;
}
.nav-tools .btn-icon:hover { background: var(--tp-red); }

/* Mega menu */
.has-mega { position: static !important; }
.mega-menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 3px solid var(--tp-red);
  box-shadow: 0 18px 40px rgba(8, 26, 45, .15); padding: 24px; z-index: 1000;
}
@media (min-width: 992px) {
  .has-mega:hover .mega-menu { display: block; animation: fadeUp .25s ease; }
}
.has-mega { display: flex; align-items: stretch; }
.has-mega > .nav-link { padding-right: 4px !important; }
.mega-toggle {
  background: transparent; border: 0; color: #fff; padding: 0 12px 0 4px; font-size: 13px;
}
.has-mega:hover > .nav-link, .has-mega:hover > .mega-toggle,
.has-mega.open > .nav-link, .has-mega.open > .mega-toggle { background: var(--tp-red); }
.has-mega > .nav-link.active + .mega-toggle { background: var(--tp-red); }
.has-mega.open .mega-menu { display: block; animation: fadeUp .25s ease; }
.has-mega.open .mega-toggle i { transform: rotate(180deg); }
.mega-toggle i { display: inline-block; transition: transform .2s; }
.mega-menu .mega-cats a { display: block; padding: 7px 0; border-bottom: 1px dashed var(--tp-line); font-weight: 600; }
.mega-menu .mega-cats a i { color: var(--tp-red); font-size: 12px; margin-right: 6px; }

/* Search overlay */
.search-bar { background: var(--tp-navy-2); display: none; padding: 14px 0; }
.search-bar.open { display: block; animation: fadeUp .2s ease; }
.search-bar input { border: 0; border-radius: 30px 0 0 30px; padding: 10px 20px; }
.search-bar .btn { border-radius: 0 30px 30px 0; background: var(--tp-red); color: #fff; padding: 0 24px; }

/* ---------- Breaking ticker ---------- */
.ticker {
  display: flex; align-items: center; background: var(--tp-soft);
  border: 1px solid var(--tp-line); border-radius: var(--tp-radius);
  overflow: hidden; margin: 20px 0;
}
.ticker-label {
  flex: 0 0 auto; background: var(--tp-red); color: #fff; font-weight: 700;
  padding: 8px 18px; position: relative; z-index: 2; display: flex; align-items: center; gap: 8px;
}
.ticker-label::after {
  content: ""; position: absolute; right: -12px; top: 0; bottom: 0; width: 0;
  border-left: 12px solid var(--tp-red); border-top: 21px solid transparent; border-bottom: 21px solid transparent;
}
.pulse { width: 9px; height: 9px; background: #fff; border-radius: 50%; animation: pulse 1.4s infinite; }
.ticker-track { overflow: hidden; flex: 1; padding-left: 22px; }
.ticker-items { display: inline-flex; white-space: nowrap; gap: 46px; animation: ticker 45s linear infinite; }
.ticker:hover .ticker-items { animation-play-state: paused; }
.ticker-items a { font-weight: 500; }
.ticker-items a::before { content: "■"; color: var(--tp-red); font-size: 9px; margin-right: 10px; vertical-align: middle; }

/* ---------- Badges / meta ---------- */
.cat-badge {
  display: inline-block; background: var(--tp-red); color: #fff !important;
  font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 3px; line-height: 1.6;
}
.cat-badge.navy { background: var(--tp-navy); }
.meta { font-size: 14px; color: var(--tp-muted); }
.meta i { margin-right: 3px; }
.meta span + span::before { content: "•"; margin: 0 7px; opacity: .6; }

/* ---------- Image overlay cards (hero) ---------- */
.ov-card {
  position: relative; overflow: hidden; border-radius: var(--tp-radius); display: block; height: 100%;
  background: var(--tp-navy);
}
.ov-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ov-card:hover img { transform: scale(1.06); }
.ov-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,26,45,0) 35%, rgba(8,26,45,.92) 100%);
}
.ov-card .ov-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; z-index: 2; color: #fff; }
.ov-card .ov-body h2, .ov-card .ov-body h3, .ov-card .ov-body h5 { color: #fff; margin: 8px 0 6px; }
.ov-card .meta { color: #d3dbe6; }
.ov-card:hover h2, .ov-card:hover h3, .ov-card:hover h5 { text-decoration: underline; text-decoration-color: var(--tp-red); text-underline-offset: 5px; }
.hero-big { height: 470px; }
.hero-big h2 { font-size: 32px; }
.hero-small { height: 227px; }
.hero-small h5 { font-size: 18px; }

/* ---------- Block title (BootNews style) ---------- */
.block-title {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--tp-navy); margin-bottom: 20px;
}
.block-title h4 {
  margin: 0; background: var(--tp-navy); color: #fff; font-size: 19px;
  padding: 7px 18px 5px; position: relative;
}
.block-title h4::after {
  content: ""; position: absolute; right: -14px; bottom: 0; border-bottom: 39px solid var(--tp-navy);
  border-right: 14px solid transparent;
}
.block-title h4 span { color: #ffb3bc; }
.block-title.red { border-color: var(--tp-red); }
.block-title.red h4 { background: var(--tp-red); }
.block-title.red h4::after { border-bottom-color: var(--tp-red); }
.block-title .more { font-size: 14px; font-weight: 600; color: var(--tp-muted); }
.block-title .more:hover { color: var(--tp-red); }
.block-title .nav-pills .nav-link {
  font-size: 14px; color: var(--tp-muted); padding: 4px 10px; border-radius: 3px; font-weight: 600;
}
.block-title .nav-pills .nav-link.active { background: var(--tp-red); color: #fff; }

/* ---------- Standard post cards ---------- */
.post-card .thumb { position: relative; overflow: hidden; border-radius: var(--tp-radius); display: block; }
.post-card .thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .thumb .cat-badge { position: absolute; left: 12px; top: 12px; }
.post-card h3 { font-size: 24px; margin: 14px 0 8px; }
.post-card h5 { font-size: 18px; margin: 12px 0 6px; }
.post-card p { color: var(--tp-muted); font-size: 16px; }

.post-list { display: flex; gap: 14px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--tp-line); }
.post-list:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.post-list .thumb { flex: 0 0 110px; overflow: hidden; border-radius: var(--tp-radius); }
.post-list .thumb img { width: 110px; height: 76px; object-fit: cover; transition: transform .5s; }
.post-list:hover .thumb img { transform: scale(1.08); }
.post-list h6 { font-size: 16.5px; margin: 0 0 4px; font-weight: 600; line-height: 1.4; }

/* ---------- Sidebar widgets ---------- */
.widget { margin-bottom: 34px; }
.social-follow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.social-follow a {
  display: flex; align-items: center; gap: 10px; color: #fff; padding: 8px 12px;
  border-radius: var(--tp-radius); font-size: 14px; transition: transform .2s, opacity .2s;
}
.social-follow a:hover { color: #fff; transform: translateY(-2px); opacity: .92; }
.social-follow i { font-size: 20px; }
.social-follow b { display: block; line-height: 1.1; font-size: 16px; }
.sf-fb { background: #1f4fa3; } .sf-x { background: #111; } .sf-yt { background: #c4302b; } .sf-ig { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); }

.tabs-widget .nav-tabs { border: 0; gap: 4px; }
.tabs-widget .nav-tabs .nav-link {
  border: 0; background: var(--tp-soft); color: var(--tp-ink); font-weight: 700; border-radius: 4px 4px 0 0; flex: 1;
}
.tabs-widget .nav-tabs .nav-link.active { background: var(--tp-navy); color: #fff; }
.tabs-widget .tab-content { border-top: 3px solid var(--tp-navy); padding-top: 16px; }
.num-list { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.num-list li { counter-increment: n; display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--tp-line); }
.num-list li::before {
  content: counter(n); flex: 0 0 34px; height: 34px; border-radius: 50%;
  background: var(--tp-soft); color: var(--tp-red); font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.num-list li:nth-child(-n+3)::before { background: var(--tp-red); color: #fff; }
.num-list a { font-weight: 600; font-size: 16px; line-height: 1.4; }

.ad-300 {
  height: 250px; border-radius: var(--tp-radius); color: #fff; text-align: center;
  background: radial-gradient(circle at 80% 20%, rgba(179,37,53,.9), transparent 55%), var(--tp-navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative;
}
.ad-300 small { position: absolute; top: 6px; right: 10px; font-size: 10px; opacity: .7; letter-spacing: 1px; }
.ad-300 img { width: 70px; margin-bottom: 10px; }

.newsletter-box {
  background: var(--tp-navy); color: #dbe3ee; border-radius: var(--tp-radius); padding: 24px;
  border-left: 5px solid var(--tp-red);
}
.newsletter-box h5 { color: #fff; }
.newsletter-box .form-control { border: 0; padding: 10px 14px; }
.btn-brand { background: var(--tp-red); color: #fff; font-weight: 700; border: 0; }
.btn-brand:hover { background: var(--tp-red-dark); color: #fff; }

.tag-cloud a {
  display: inline-block; border: 1px solid var(--tp-line); padding: 3px 12px; border-radius: 30px;
  margin: 0 4px 8px 0; font-size: 14px;
}
.tag-cloud a:hover { background: var(--tp-red); border-color: var(--tp-red); color: #fff; }

/* ---------- Video section ---------- */
.video-section { background: var(--tp-navy-dark); padding: 50px 0; margin: 50px 0; }
.video-section .block-title { border-color: var(--tp-red); }
.video-section .block-title h4 { background: var(--tp-red); }
.video-section .block-title h4::after { border-bottom-color: var(--tp-red); }
.video-section .block-title .more { color: #aab6c5; }
.play-btn {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: var(--tp-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  box-shadow: 0 0 0 8px rgba(179,37,53,.3); transition: transform .3s;
}
.play-btn.sm { width: 42px; height: 42px; font-size: 18px; box-shadow: 0 0 0 5px rgba(179,37,53,.3); }
.ov-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-big { height: 420px; }
.video-small { height: 200px; }
.video-small h6 { color: #fff; font-size: 16px; margin: 6px 0 0; }

/* ---------- Opinion ---------- */
.opinion-card {
  background: var(--tp-soft); border-radius: var(--tp-radius); padding: 22px; height: 100%;
  border-top: 3px solid var(--tp-navy); transition: border-color .2s, transform .2s;
}
.opinion-card:hover { border-color: var(--tp-red); transform: translateY(-3px); }
.opinion-card .bi-quote { font-size: 34px; color: var(--tp-red); line-height: 1; }
.opinion-card h5 { font-size: 18px; margin: 8px 0 16px; }
.opinion-card .author { display: flex; align-items: center; gap: 10px; }
.opinion-card .author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.opinion-card .author b { display: block; font-size: 15px; }
.opinion-card .author small { color: var(--tp-muted); font-size: 13px; }

/* ---------- Province strip ---------- */
.province-strip a {
  display: block; text-align: center; padding: 12px 6px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius);
  font-weight: 700; background: #fff;
}
.province-strip a:hover { background: var(--tp-navy); color: #fff; border-color: var(--tp-navy); }
.province-strip a small { display: block; font-weight: 500; color: var(--tp-muted); font-size: 13px; }
.province-strip a:hover small { color: #c6d1de; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tp-navy); color: #b9c5d4; margin-top: 60px; font-size: 16px; }
.site-footer .footer-top { padding: 56px 0 30px; border-top: 4px solid var(--tp-red); }
.site-footer h5 { color: #fff; font-size: 19px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--tp-red); }
.site-footer a { color: #b9c5d4; }
.site-footer a:hover { color: #fff; }
.site-footer .f-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.site-footer .f-links li { padding: 4px 0; }
.site-footer .f-links li a::before { content: "›"; color: var(--tp-red); margin-right: 8px; font-weight: 800; }
.site-footer .f-logo { height: 62px; margin-bottom: 16px; }
.site-footer .f-social a {
  display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); margin-right: 6px; transition: background .2s;
}
.site-footer .f-social a:hover { background: var(--tp-red); }
.site-footer .team li { padding: 3px 0; }
.site-footer .team b { color: #fff; font-weight: 600; }
.footer-bottom { background: var(--tp-navy-dark); padding: 14px 0; font-size: 14px; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--tp-red); color: #fff; border: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .3s; z-index: 1040; box-shadow: 0 6px 18px rgba(179,37,53,.4);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--tp-navy); }

/* ---------- Offcanvas (mobile) ---------- */
.offcanvas.tp-off { background: var(--tp-navy); color: #fff; }
.offcanvas.tp-off .nav-link { color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); padding: 10px 0; font-weight: 600; }
.offcanvas.tp-off .nav-link:hover { color: #ffb3bc; }
.offcanvas.tp-off .nav-link.active { color: #fff; border-left: 3px solid var(--tp-red); padding-left: 10px; }
.offcanvas.tp-off .f-social a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #fff; margin-right: 4px; }

/* ---------- Animations ---------- */
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .site-header { display: none; }
  .hero-big { height: 380px; }
  .hero-big h2 { font-size: 26px; }
  .main-nav .brand-mini { display: inline-flex; }
}
@media (max-width: 575.98px) {
  body { font-size: 16px; }
  .hero-big { height: 300px; }
  .hero-big h2 { font-size: 21px; }
  .hero-small { height: 200px; }
  .video-big { height: 260px; }
  .ticker-label .txt { display: none; }
  .post-card h3 { font-size: 20px; }
  .social-follow { grid-template-columns: 1fr 1fr; }
}

/* ---------- Inner pages ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--tp-navy) 0%, var(--tp-navy-2) 100%);
  color: #c6d1de; padding: 28px 0 30px; margin: -4px 0 32px; border-bottom: 4px solid var(--tp-red);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: var(--tp-red); opacity: .12; transform: rotate(30deg);
}
.page-hero h1 { color: #fff; font-size: 36px; margin: 4px 0 4px; }
.page-hero .breadcrumb { margin: 0; font-size: 14px; }
.page-hero .breadcrumb a { color: #c6d1de; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: #7f93ab; }
.hero-chips a {
  display: inline-block; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 30px;
  padding: 2px 14px; margin: 0 6px 6px 0; font-size: 14px; position: relative; z-index: 1;
}
.hero-chips a:hover { background: var(--tp-red); border-color: var(--tp-red); color: #fff; }
.cat-lead { height: 420px; }
.cat-lead h2 { font-size: 30px; }
.post-card .thumb .play-btn { box-shadow: 0 0 0 5px rgba(179,37,53,.3); }

/* Article */
.article .breadcrumb a { color: var(--tp-muted); }
.article-title { font-size: 38px; line-height: 1.3; margin: 12px 0 16px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--tp-line); border-bottom: 1px solid var(--tp-line); padding: 12px 0; margin-bottom: 22px;
}
.share { display: flex; gap: 6px; }
.share a, .share button {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; border: 0; transition: transform .2s;
}
.share a:hover, .share button:hover { color: #fff; transform: translateY(-2px); }
.s-fb { background: #1f4fa3; } .s-x { background: #111; } .s-wa { background: #25a244; } .s-copy { background: var(--tp-navy); }
.s-copy.copied { background: var(--tp-red); }
.article-figure img { width: 100%; border-radius: var(--tp-radius); }
.article-figure figcaption { font-size: 14px; color: var(--tp-muted); padding: 8px 0; border-bottom: 1px dashed var(--tp-line); }
.video-player { height: auto; aspect-ratio: 16/9; }
.article-body { font-size: 19px; line-height: 1.85; margin-top: 18px; }
.article-body p { margin-bottom: 1.1em; }
.lead-para { font-size: 20px; }
.tp-quote {
  background: var(--tp-soft); border-left: 5px solid var(--tp-red); padding: 18px 22px; margin: 26px 0;
  font-size: 21px; font-weight: 600; color: var(--tp-navy); border-radius: 0 var(--tp-radius) var(--tp-radius) 0;
}
.tp-quote i { color: var(--tp-red); font-size: 30px; margin-right: 6px; vertical-align: -6px; }
.author-box {
  display: flex; gap: 16px; align-items: center; background: var(--tp-soft); border-radius: var(--tp-radius);
  padding: 18px; margin-top: 28px; border-top: 3px solid var(--tp-navy);
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.prev-next .pn { border: 1px solid var(--tp-line); border-radius: var(--tp-radius); padding: 12px 16px; font-weight: 600; line-height: 1.4; }
.prev-next .pn small { display: block; color: var(--tp-red); font-weight: 700; margin-bottom: 4px; }
.prev-next .next { text-align: right; }
.prev-next .pn:hover { border-color: var(--tp-red); }

/* Static pages */
.static-content { font-size: 18px; }
.static-content h3, .static-content h4 { margin-top: 1.2em; color: var(--tp-navy); }
.value-card { background: var(--tp-soft); border-radius: var(--tp-radius); padding: 20px; height: 100%; border-top: 3px solid var(--tp-red); }
.value-card i { font-size: 28px; color: var(--tp-red); }
.value-card h5 { margin: 8px 0 4px; }
.value-card p { margin: 0; font-size: 15px; color: var(--tp-muted); }
.team-card { text-align: center; background: var(--tp-soft); border-radius: var(--tp-radius); padding: 22px; }
.team-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--tp-red); margin-bottom: 12px; }
.team-card h5 { margin: 0; }
.team-card small { color: var(--tp-muted); }
.tp-table thead th { background: var(--tp-navy); color: #fff; }
.tp-form .form-control, .tp-form .form-select { padding: 10px 14px; }
.tp-form .form-control:focus, .tp-form .form-select:focus { border-color: var(--tp-navy); box-shadow: 0 0 0 .2rem rgba(13,38,64,.15); }
.form-success { background: #e9f6ee; color: #146c2e; border-radius: var(--tp-radius); padding: 14px 16px; font-weight: 600; }
.newsletter-box .form-success { background: rgba(255,255,255,.1); color: #fff; }
mark { background: #ffe1e5; padding: 0 2px; }

@media (max-width: 575.98px) {
  .page-hero h1 { font-size: 28px; }
  .article-title { font-size: 27px; }
  .article-body { font-size: 17.5px; }
  .cat-lead { height: 300px; }
  .cat-lead h2 { font-size: 21px; }
  .prev-next { grid-template-columns: 1fr; }
  .prev-next .next { text-align: left; }
}

/* ---------- Source attribution ---------- */
.src-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--tp-navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 40px;
}
.opinion-card .src-icon { width: 46px; height: 46px; flex-basis: 46px; }
.source-box {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  background: var(--tp-soft); border-left: 5px solid var(--tp-red); border-radius: 0 var(--tp-radius) var(--tp-radius) 0;
  padding: 18px 20px; margin-top: 24px; font-size: 16px;
}
.source-box a b { color: var(--tp-navy); }
.article-figure figcaption a { color: var(--tp-muted); text-decoration: underline; }
.team-ph {
  width: 110px; height: 110px; border-radius: 50%; background: #fff; color: var(--tp-navy); font-size: 48px;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--tp-red); margin-bottom: 12px;
}

/* ---------- Feature / brand stories ---------- */
.story-h { font-size: 23px; color: var(--tp-navy); margin: 30px 0 12px; padding-left: 12px; border-left: 4px solid var(--tp-red); }
.story-list { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.story-list li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px dashed var(--tp-line); }
.story-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 8px; color: var(--tp-red); }
.brand-cta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: linear-gradient(120deg, var(--tp-navy), var(--tp-navy-2)); color: #dbe3ee;
  border-radius: var(--tp-radius); padding: 22px 24px; margin-top: 28px; border-left: 5px solid var(--tp-red);
}
.brand-cta b { color: #fff; }
.brand-cta-k { display: block; color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.brand-cta .btn { color: var(--tp-red); border-radius: 30px; padding: 8px 20px; }
.brand-note { font-size: 14px; color: var(--tp-muted); margin-top: 10px; }

/* ---------- Banner ads (managed in the admin panel) ---------- */
.ad-slot { position: relative; text-align: center; }
.ad-slot img { max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 4px; }
.ad-slot-header { width: 728px; max-width: 100%; }
.ad-slot-header img { max-height: 90px; }
.ad-slot-sidebar img { width: 100%; }
.ad-slot-article img, .ad-slot-mobile img { width: 100%; }
.ad-slot-article { max-width: 728px; margin-left: auto; margin-right: auto; }
.ad-label {
  position: absolute; top: 0; right: 0; z-index: 1; font-size: 10px; letter-spacing: .5px; line-height: 1;
  background: rgba(255,255,255,.85); color: #6b7686; padding: 3px 6px; border-radius: 0 4px 0 4px;
}
