/* ===== TURBOFLOW NEWS INDEX THEME ===== */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: #111827;
  background: #f6f8fc;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
}

.tf-news-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgba(37, 99, 235, 0.14), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(249, 115, 22, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f6f8fc 50%, #fff7ed 100%);
}

.tf-news-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NAVIGATION ===== */

.tf-news-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  padding: 14px 16px;
  background: rgba(246, 248, 252, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tf-news-nav-wrap {
  width: 100%;
  max-width: 1240px;
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.tf-news-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111827;
  text-decoration: none;
  min-width: 0;
}

.tf-news-brand-uploaded-logo {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 52px;
  object-fit: contain;
}

.tf-news-brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.38), transparent 30%),
    linear-gradient(135deg, #ff6a00, #2563eb);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.25);
}

.tf-news-brand-mark i {
  font-size: 23px;
}

.tf-news-brand-name {
  color: #111827;
  font-size: 23px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1px;
  white-space: nowrap;
}

.tf-news-nav-center {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border-radius: 20px;
  background: #f1f5f9;
}

.tf-news-nav-center a {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #475569;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: all 0.22s ease;
}

.tf-news-nav-center a i {
  font-size: 16px;
}

.tf-news-nav-center a:hover,
.tf-news-nav-center a.active {
  color: #ffffff;
  background: #111827;
  transform: translateY(-2px);
}

.tf-news-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tf-news-action-btn {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #2563eb);
  box-shadow: 0 15px 32px rgba(37, 99, 235, 0.24);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  transition: all 0.22s ease;
}

.tf-news-action-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(249, 115, 22, 0.3);
}

/* ===== MAIN ===== */

.tf-news-main {
  position: relative;
  padding: 70px 0 92px;
}

.tf-news-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 47%, rgba(37, 99, 235, 0.06) 47% 48%, transparent 48% 100%),
    linear-gradient(120deg, transparent 0 58%, rgba(249, 115, 22, 0.07) 58% 59%, transparent 59% 100%);
  background-size: 165px 165px;
  pointer-events: none;
}

.tf-news-bg-shape {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}

.tf-news-bg-shape-one {
  width: 260px;
  height: 260px;
  left: -80px;
  top: 120px;
  background: rgba(37, 99, 235, 0.11);
}

.tf-news-bg-shape-two {
  width: 300px;
  height: 300px;
  right: -110px;
  bottom: 40px;
  background: rgba(249, 115, 22, 0.12);
}

/* ===== HERO ===== */

.tf-news-hero {
  position: relative;
  z-index: 2;
}

.tf-news-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 52px;
  align-items: center;
}

.tf-news-hero-copy {
  max-width: 720px;
}

.tf-news-eyebrow {
  width: fit-content;
  margin-bottom: 22px;
  padding: 10px 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid rgba(37, 99, 235, 0.14);
  font-size: 14px;
  font-weight: 950;
}

.tf-news-eyebrow i {
  color: #f97316;
  font-size: 18px;
}

.tf-news-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #111827;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -3px;
}

.tf-news-hero-copy > p {
  max-width: 650px;
  margin: 0 0 30px;
  color: #526071;
  font-size: 18px;
  line-height: 1.75;
}

.tf-news-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 760px;
}

.tf-news-hero-points div {
  padding: 18px 16px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.tf-news-hero-points i {
  width: 42px;
  height: 42px;
  margin-bottom: 13px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #2563eb);
  font-size: 21px;
}

.tf-news-hero-points strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
}

.tf-news-hero-points span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

/* ===== SEARCH CARD ===== */

.tf-news-search-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 36px 94px rgba(15, 23, 42, 0.16);
}

.tf-news-card-glow {
  position: absolute;
  top: -110px;
  right: -110px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 62%),
    radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 70%);
  pointer-events: none;
}

.tf-news-search-head,
.tf-news-search-form {
  position: relative;
  z-index: 2;
}

.tf-news-search-head {
  margin-bottom: 26px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.tf-news-search-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #2563eb);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.24);
}

.tf-news-search-icon i {
  font-size: 26px;
}

.tf-news-search-head h2 {
  margin: 0 0 7px;
  color: #111827;
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1.1px;
}

.tf-news-search-head p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.tf-news-search-form {
  display: grid;
  gap: 16px;
}

.tf-news-search-input-wrap {
  min-height: 58px;
  padding: 0 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: all 0.22s ease;
}

.tf-news-search-input-wrap:focus-within {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.tf-news-search-input-wrap i {
  color: #2563eb;
  font-size: 20px;
}

.tf-news-search-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #111827;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
}

.tf-news-search-input-wrap input::placeholder {
  color: #94a3b8;
  font-weight: 750;
}

.tf-news-submit-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #2563eb);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.25);
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
  transition: all 0.23s ease;
}

.tf-news-submit-btn i {
  font-size: 19px;
}

.tf-news-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 58px rgba(249, 115, 22, 0.3);
}

.tf-news-clear-search {
  min-height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #2563eb;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.22s ease;
}

.tf-news-clear-search:hover {
  color: #ffffff;
  background: #111827;
}

/* ===== RESULTS ===== */

.tf-news-results-wrap {
  position: relative;
  z-index: 2;
  margin-top: 76px;
}

.tf-news-results-head {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.tf-news-results-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.tf-news-results-head h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -1.2px;
}

.tf-news-results-head p {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 750;
}

.tf-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tf-news-card {
  min-height: 100%;
}

.tf-news-card-link {
  height: 100%;
  padding: 24px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  color: #111827;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  transition: all 0.23s ease;
}

.tf-news-card-link:hover {
  transform: translateY(-7px);
  box-shadow: 0 36px 90px rgba(15, 23, 42, 0.14);
}

.tf-news-card-top {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tf-news-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #2563eb);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.tf-news-card-icon i {
  font-size: 25px;
}

.tf-news-card-badge {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid rgba(37, 99, 235, 0.12);
  font-size: 12px;
  font-weight: 950;
}

.tf-news-card-body {
  flex: 1;
}

.tf-news-card-body h4 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.5px;
}

.tf-news-card-body p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 750;
}

.tf-news-card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.tf-news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 950;
  transition: all 0.22s ease;
}

.tf-news-card-link:hover .tf-news-read-more {
  color: #ff6a00;
}

.tf-news-read-more i {
  font-size: 17px;
}

/* ===== EMPTY STATE ===== */

.tf-news-empty-state {
  padding: 44px 24px;
  border-radius: 30px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.08);
}

.tf-news-empty-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #2563eb);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.24);
}

.tf-news-empty-icon i {
  font-size: 32px;
}

.tf-news-empty-state h4 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 26px;
  font-weight: 950;
}

.tf-news-empty-state p {
  max-width: 520px;
  margin: 0 auto;
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

.tf-news-empty-link {
  min-height: 48px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #2563eb);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.22);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  transition: all 0.23s ease;
}

.tf-news-empty-link:hover {
  transform: translateY(-3px);
}

/* ===== PAGINATION ===== */

.tf-news-pagination-wrap {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.tf-news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.tf-news-page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.tf-news-page-btn {
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #475569;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  transition: all 0.22s ease;
}

.tf-news-page-btn:hover {
  color: #ffffff;
  background: #111827;
  transform: translateY(-2px);
}

.tf-news-page-btn.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #2563eb);
  border-color: transparent;
}

.tf-news-page-btn.is-disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.tf-news-page-btn.is-disabled:hover {
  color: #475569;
  background: #ffffff;
  transform: none;
}

.tf-news-page-btn.is-dots {
  box-shadow: none;
}

/* ===== FOOTER ===== */

.tf-news-footer {
  position: relative;
  z-index: 3;
  padding: 0 0 28px;
}

.tf-news-footer-wrap {
  padding: 20px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tf-news-footer-brand {
  min-width: 0;
}

.tf-news-footer-logo {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.4px;
  text-decoration: none;
}

.tf-news-footer-uploaded-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 44px;
  object-fit: contain;
}

.tf-news-footer-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.38), transparent 30%),
    linear-gradient(135deg, #ff6a00, #2563eb);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.2);
}

.tf-news-footer-mark i {
  font-size: 20px;
}

.tf-news-footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tf-news-footer-links a {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  color: #475569;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.tf-news-footer-links a:hover {
  color: #ffffff;
  background: #111827;
  transform: translateY(-2px);
}

.tf-news-footer-powered {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.tf-news-footer-powered a {
  color: #2563eb;
  font-weight: 950;
  text-decoration: none;
}

.tf-news-footer-powered a:hover {
  color: #ff6a00;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1120px) {
  .tf-news-hero-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .tf-news-hero-copy {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
  }

  .tf-news-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .tf-news-hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .tf-news-hero-points {
    margin: 0 auto;
  }

  .tf-news-search-card {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .tf-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .tf-news-nav-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .tf-news-brand {
    justify-content: center;
  }

  .tf-news-nav-actions {
    display: none;
  }

  .tf-news-footer-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .tf-news-footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .tf-news-nav {
    padding: 10px;
  }

  .tf-news-nav-wrap {
    padding: 14px;
    border-radius: 22px;
  }

  .tf-news-brand-uploaded-logo {
    max-width: 210px;
    max-height: 46px;
  }

  .tf-news-brand-name {
    font-size: 20px;
  }

  .tf-news-nav-center {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .tf-news-nav-center a {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 92px;
  }

  .tf-news-main {
    padding: 48px 0 64px;
  }

  .tf-news-hero-copy h1 {
    font-size: clamp(36px, 12vw, 54px);
    letter-spacing: -2px;
  }

  .tf-news-hero-copy > p {
    font-size: 16px;
  }

  .tf-news-hero-points {
    grid-template-columns: 1fr;
  }

  .tf-news-search-card {
    padding: 24px;
    border-radius: 28px;
  }

  .tf-news-search-head {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .tf-news-search-head h2 {
    font-size: 30px;
  }

  .tf-news-results-wrap {
    margin-top: 54px;
  }

  .tf-news-results-head {
    text-align: center;
    justify-content: center;
  }

  .tf-news-grid {
    grid-template-columns: 1fr;
  }

  .tf-news-footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tf-news-pagination {
    display: grid;
  }
}

@media (max-width: 430px) {
  .tf-news-container {
    padding: 0 14px;
  }

  .tf-news-brand {
    width: 100%;
    justify-content: center;
  }

  .tf-news-brand-uploaded-logo {
    max-width: 190px;
    max-height: 44px;
  }

  .tf-news-brand-name {
    white-space: normal;
  }

  .tf-news-nav-center a {
    min-width: calc(50% - 6px);
  }

  .tf-news-search-card {
    padding: 20px;
  }

  .tf-news-search-input-wrap,
  .tf-news-submit-btn {
    min-height: 54px;
    border-radius: 16px;
  }

  .tf-news-card-link {
    padding: 20px;
    border-radius: 24px;
  }

  .tf-news-footer-wrap {
    padding: 18px;
    border-radius: 24px;
  }

  .tf-news-footer-uploaded-logo {
    max-width: 190px;
    max-height: 42px;
  }

  .tf-news-footer-links {
    display: grid;
    width: 100%;
  }

  .tf-news-footer-links a,
  .tf-news-footer-powered {
    width: 100%;
    justify-content: center;
  }

  .tf-news-page-btn {
    min-width: 38px;
    min-height: 38px;
    padding: 0 11px;
  }
}

/* ===== TURBOFLOW NEWS DETAILS VIEW ===== */

.tf-news-detail-wrap {
  position: relative;
  z-index: 2;
}

.tf-news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.tf-news-article-card {
  overflow: hidden;
  padding: 30px;
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 36px 94px rgba(15, 23, 42, 0.14);
}

.tf-news-breadcrumb {
  margin-bottom: 26px;
  padding: 12px 14px;
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13px;
  font-weight: 850;
}

.tf-news-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  text-decoration: none;
  transition: all 0.22s ease;
}

.tf-news-breadcrumb a:hover {
  color: #ff6a00;
}

.tf-news-breadcrumb-sep {
  color: #cbd5e1;
  font-weight: 950;
}

.tf-news-article-head {
  position: relative;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tf-news-article-badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 10px 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid rgba(37, 99, 235, 0.14);
  font-size: 13px;
  font-weight: 950;
}

.tf-news-article-badge i {
  color: #f97316;
  font-size: 18px;
}

.tf-news-article-head h1 {
  max-width: 920px;
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -2.4px;
}

.tf-news-article-meta {
  width: fit-content;
  margin: 0;
  padding: 10px 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.tf-news-article-meta i {
  color: #2563eb;
  font-size: 17px;
}

.tf-news-article-body {
  color: #334155;
  font-size: 17px;
  line-height: 1.82;
  font-weight: 650;
}

.tf-news-article-body > *:first-child {
  margin-top: 0;
}

.tf-news-article-body > *:last-child {
  margin-bottom: 0;
}

.tf-news-article-body p {
  margin: 0 0 20px;
}

.tf-news-article-body h2,
.tf-news-article-body h3,
.tf-news-article-body h4,
.tf-news-article-body h5,
.tf-news-article-body h6 {
  margin: 32px 0 14px;
  color: #111827;
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -0.7px;
}

.tf-news-article-body h2 {
  font-size: 34px;
}

.tf-news-article-body h3 {
  font-size: 28px;
}

.tf-news-article-body h4 {
  font-size: 23px;
}

.tf-news-article-body a {
  color: #2563eb;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.25);
}

.tf-news-article-body a:hover {
  color: #ff6a00;
  border-bottom-color: rgba(249, 115, 22, 0.35);
}

.tf-news-article-body ul,
.tf-news-article-body ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.tf-news-article-body li {
  margin-bottom: 9px;
}

.tf-news-article-body blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 5px solid #2563eb;
  border-radius: 20px;
  color: #334155;
  background:
    radial-gradient(circle at 8% 0%, rgba(249, 115, 22, 0.12), transparent 28%),
    #f8fafc;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 800;
}

.tf-news-article-body code {
  padding: 3px 7px;
  border-radius: 8px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 0.92em;
  font-weight: 850;
}

.tf-news-article-body pre {
  overflow: auto;
  margin: 26px 0;
  padding: 20px;
  border-radius: 20px;
  color: #e5e7eb;
  background: #111827;
  border: 1px solid rgba(15, 23, 42, 0.12);
  line-height: 1.7;
}

.tf-news-article-body pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.tf-news-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 26px auto;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.12);
}

.tf-news-article-body iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 360px;
  margin: 26px 0;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.12);
}

.tf-news-article-body hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

/* ===== DETAILS SIDEBAR ===== */

.tf-news-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 116px;
}

.tf-news-sidebar-card {
  overflow: hidden;
  padding: 22px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.08);
}

.tf-news-sidebar-card-head {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.tf-news-sidebar-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #2563eb);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.tf-news-sidebar-icon i {
  font-size: 23px;
}

.tf-news-sidebar-card-head h3 {
  margin: 0 0 7px;
  color: #111827;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.5px;
}

.tf-news-sidebar-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 750;
}

.tf-news-sidebar-link {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 17px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #2563eb);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.22);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  transition: all 0.23s ease;
}

.tf-news-sidebar-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(249, 115, 22, 0.28);
}

.tf-news-sidebar-ad {
  padding: 16px;
}

.tf-news-sidebar-ad-label {
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.tf-news-sidebar-ad-label i {
  color: #2563eb;
  font-size: 16px;
}

.tf-news-rectangle-ad {
  width: 300px;
  max-width: 100%;
  min-height: 250px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.tf-news-rectangle-ad a,
.tf-news-rectangle-ad img,
.tf-news-rectangle-ad iframe,
.tf-news-rectangle-ad object,
.tf-news-rectangle-ad embed {
  display: block;
  width: 300px;
  max-width: 100%;
  height: 250px;
  max-height: 250px;
  margin: 0;
  padding: 0;
  border: 0;
}

.tf-news-rectangle-ad img {
  object-fit: fill;
}

/* ===== NEWS DETAILS RESPONSIVE ===== */

@media (max-width: 1120px) {
  .tf-news-detail-layout {
    grid-template-columns: 1fr;
  }

  .tf-news-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .tf-news-sidebar-card {
    height: 100%;
  }

  .tf-news-sidebar-card-head {
    display: grid;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .tf-news-sidebar {
    grid-template-columns: 1fr;
  }

  .tf-news-sidebar-card {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .tf-news-article-card {
    padding: 24px;
    border-radius: 28px;
  }

  .tf-news-breadcrumb {
    justify-content: center;
    text-align: center;
  }

  .tf-news-article-head {
    text-align: center;
  }

  .tf-news-article-badge,
  .tf-news-article-meta {
    margin-left: auto;
    margin-right: auto;
  }

  .tf-news-article-head h1 {
    font-size: clamp(32px, 11vw, 48px);
    letter-spacing: -1.8px;
  }

  .tf-news-article-body {
    font-size: 16px;
  }

  .tf-news-article-body h2 {
    font-size: 29px;
  }

  .tf-news-article-body h3 {
    font-size: 24px;
  }

  .tf-news-article-body iframe {
    min-height: 240px;
  }
}

@media (max-width: 430px) {
  .tf-news-article-card {
    padding: 20px;
    border-radius: 24px;
  }

  .tf-news-article-body blockquote {
    padding: 18px;
    border-radius: 18px;
  }

  .tf-news-sidebar-card {
    padding: 18px;
    border-radius: 24px;
  }

  .tf-news-sidebar-ad {
    padding: 14px;
  }

  .tf-news-rectangle-ad {
    transform: scale(0.86);
    transform-origin: center;
  }

  .tf-news-sidebar-ad {
    min-height: 270px;
  }
}