/* Base */
.fv-body {
  background: #f3f4f6;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fv-container {
  max-width: 1280px;
}

/* Header */
.fv-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

/* Topbar */
.fv-topbar {
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.82rem;
  background: #f9fafb;
  padding: 0.25rem 0;
}

.fv-topbar-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.fv-topbar-link {
  color: #4b5563;
  text-decoration: none;
}

.fv-topbar-link:hover {
  text-decoration: underline;
}

.fv-topbar-sep {
  width: 1px;
  height: 16px;
  background: #d1d5db;
}

.fv-topbar-icon {
  color: #6b7280;
  text-decoration: none;
}

/* Navbar */
.fv-nav {
  background: #ffffff !important;
}

.fv-logo {
  height: 38px;
  width: auto;
}

.fv-nav-main .nav-link {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #111827;
  padding-inline: 0.8rem;
}

.fv-nav-main .nav-link:hover {
  color: #1d4ed8;
}

.fv-search-input {
  font-size: 0.8rem;
}

.fv-search-btn {
  border-color: #9ca3af;
  color: #4b5563;
}

.fv-search-btn:hover {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

/* Header ad */
.fv-header-ad {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

/* Main */
.fv-main {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

/* Section */
.fv-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.fv-section-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.28rem 1.1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #ffffff;
  border-bottom-right-radius: 999px;
  font-weight: 800;
}

.fv-section > .fv-section-label + * {
  margin-top: 0.8rem;
}

/* Label colors */
.fv-section-feature-top .fv-section-label { background: #1d4ed8; }
.fv-section-topnews .fv-section-label    { background: #1f2937; }
.fv-section-features .fv-section-label   { background: #7c3aed; }
.fv-section-video .fv-section-label      { background: #ea580c; }
.fv-section-sport .fv-section-label      { background: #16a34a; }
.fv-section-indepth .fv-section-label    { background: #0f766e; }
.fv-section-business .fv-section-label   { background: #0e7490; }
.fv-section-fashion .fv-section-label    { background: #db2777; }
.fv-section-world .fv-section-label      { background: #4f46e5; }
.fv-section-latest .fv-section-label     { background: #111827; }
.fv-section-audio .fv-section-label      { background: #ea580c; }
.fv-section-neutral .fv-section-label    { background: #6b7280; }

/* Links */
.fv-link-title {
  text-decoration: none;
  color: #111827;
}

.fv-link-title:hover {
  text-decoration: underline;
  color: #111827;
}

.fv-link-more {
  color: #6b7280;
  text-decoration: none;
}

.fv-link-more:hover {
  text-decoration: underline;
}

/* Hero */
.fv-hero-media {
  position: relative;
}

.fv-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.fv-hero-gradient {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.55), transparent 55%);
  pointer-events: none;
}

.fv-hero-gradient-sport    { background: linear-gradient(to top, rgba(22, 163, 74, 0.5), transparent 55%); }
.fv-hero-gradient-indepth  { background: linear-gradient(to top, rgba(15, 118, 110, 0.5), transparent 55%); }
.fv-hero-gradient-business { background: linear-gradient(to top, rgba(14, 116, 144, 0.5), transparent 55%); }
.fv-hero-gradient-fashion  { background: linear-gradient(to top, rgba(219, 39, 119, 0.5), transparent 55%); }
.fv-hero-gradient-world    { background: linear-gradient(to top, rgba(79, 70, 229, 0.5), transparent 55%); }

.fv-hero-title {
  font-weight: 800;
}

.fv-hero-intro {
  font-size: 0.98rem;
  color: #4b5563;
}

.fv-hero-side-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Tags & meta */
.fv-tag {
  font-weight: 700;
  letter-spacing: 0.14em;
}

.fv-tag-feature  { color: #1d4ed8; }
.fv-tag-news     { color: #b91c1c; }
.fv-tag-sport    { color: #16a34a; }
.fv-tag-indepth  { color: #0f766e; }
.fv-tag-business { color: #0e7490; }
.fv-tag-fashion  { color: #db2777; }
.fv-tag-world    { color: #4f46e5; }

.fv-meta {
  color: #6b7280;
}

.fv-meta-footer {
  font-size: 0.82rem;
  gap: 0.4rem;
}

/* Lists */
.fv-list-border {
  border-top: 1px solid #e5e7eb;
}

.fv-list-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.fv-list-title {
  font-weight: 600;
}

.fv-list-intro {
  font-size: 0.86rem;
}

/* Cards */
.fv-card-story {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.7rem 0.7rem 0.9rem;
  display: flex;
  flex-direction: column;
}

.fv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.fv-card-title {
  font-weight: 600;
}

.fv-card-intro {
  font-size: 0.86rem;
  color: #4b5563;
}

/* Thumbnails */
.fv-thumb-xs {
  max-width: 110px;
}

.fv-thumb-xs img {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Latest sidebar cards */
.fv-list-item-card {
  border-radius: 8px;
  padding: 0.7rem;
  background: #f9fafb;
}

/* Tags */
.fv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.fv-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.75rem;
  color: #4b5563;
  text-decoration: none;
  background: #f9fafb;
}

.fv-tag-chip:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

/* Media icons */
.fv-media-icons {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.fv-media-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Buttons */
.fv-btn-outline {
  border-radius: 999px;
  border-color: #d1d5db;
  color: #111827;
  background: #ffffff;
}

.fv-btn-outline:hover {
  background: #111827;
  color: #ffffff;
}

/* Ads */
.fv-ad-rect {
  border-radius: 8px;
  border: 1px dashed #d1d5db;
  background: #f9fafb;
}

/* Dummy ad look */
.fv-ad-demo {
  background: linear-gradient(135deg, #fef9c3, #fee2e2);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  border: none;
}

.fv-ad-demo-brand {
  font-weight: 700;
  font-size: 0.96rem;
}

.fv-ad-demo-copy {
  font-size: 0.86rem;
  color: #4b5563;
}

.fv-ad-demo-tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

/* Video */
.fv-video-main iframe {
  border-radius: 10px;
  border: none;
}

.fv-video-item {
  text-decoration: none;
  color: inherit;
}

.fv-video-thumb img {
  border-radius: 6px;
  object-fit: cover;
}

/* Sidebar */
.fv-sidebar .fv-section {
  padding: 0.9rem 1rem 1rem;
}

/* Scoreboard block (sidebar) */
.fv-scoreboard p {
  margin-bottom: 0.4rem;
}

/* Floating scoreboard bar */
.fv-scoreboard-bar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  transform: translateY(-110%);
  transition: transform 0.25s ease-out;
  z-index: 1040;
  background: radial-gradient(circle at left, #16a34a 0, #0f172a 40%, #020617 100%);
  color: #e5e7eb;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.5);
}

.fv-scoreboard-bar.is-visible {
  transform: translateY(0);
}

.fv-scoreboard-bar-inner {
  padding: 0.45rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Scoreboard brand pill */
.fv-scoreboard-brand-pill {
  background: rgba(15, 23, 42, 0.85);
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.fv-scoreboard-brand-text {
  font-size: 0.78rem;
  color: #d1d5db;
}

/* Scoreboard tabs */
.fv-scoreboard-bar-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.fv-scoreboard-tab {
  border: 1px solid rgba(148, 163, 184, 0.7);
  border-radius: 999px;
  padding: 0.14rem 0.8rem;
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.65);
  color: #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.fv-scoreboard-tab i {
  font-size: 0.9rem;
}

.fv-scoreboard-tab.active {
  background: #f97316;
  border-color: #f97316;
  color: #111827;
  font-weight: 600;
}

/* Scoreboard panels */
.fv-scoreboard-bar-panels {
  font-size: 0.8rem;
}

.fv-scoreboard-panel {
  display: none;
  padding-top: 0.1rem;
}

.fv-scoreboard-panel.active {
  display: block;
}

.fv-scoreboard-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.5rem;
  margin-left: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.72rem;
  color: #e5e7eb;
}

/* Footer */
.fv-footer {
  background: #020617;
  border-top: 1px solid #020617;
  font-size: 0.85rem;
}

.fv-footer-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.text-footer {
  color: #9ca3af;
}

.fv-footer-link {
  color: #9ca3af;
  text-decoration: none;
}

.fv-footer-link:hover {
  color: #e5e7eb;
  text-decoration: underline;
}

.fv-footer-social {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #4b5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
}

.fv-footer-social:hover {
  background: #e5e7eb;
  color: #020617;
  border-color: #e5e7eb;
}

.fv-footer-form .form-control {
  background: #020617;
  border-color: #4b5563;
  color: #e5e7eb;
}

.fv-footer-form .form-control::placeholder {
  color: #6b7280;
}

/* Hover polish */
.fv-card-story,
.fv-list-item-card,
.fv-video-item {
  transition: box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.fv-card-story:hover,
.fv-list-item-card:hover,
.fv-video-item:hover {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.13);
  transform: translateY(-1px);
  background-color: #ffffff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .fv-main {
    padding-inline: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .fv-topbar {
    display: none;
  }

  .fv-section {
    padding-inline: 0.85rem;
  }

  .fv-hero-title {
    font-size: 1.4rem;
  }

  .fv-thumb-xs {
    max-width: 90px;
  }

  .fv-scoreboard-bar-inner {
    padding-inline: 1rem;
  }

  .fv-scoreboard-brand-text {
    display: none;
  }
}


/* --- FIX: ensure all news & video thumbnails are visible --- */

/* Containers should have a real aspect box */
.fv-card-media,
.fv-video-thumb .ratio,
.fv-thumb-xs .ratio {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Make sure the Bootstrap ratio helper is not collapsed */
.fv-card-media.ratio::before,
.fv-video-thumb .ratio::before,
.fv-thumb-xs .ratio::before {
  display: block;
  content: "";
  padding-top: 56.25%; /* 16:9 */
}

/* Force the actual thumbnail <img> elements to render properly */
.fv-card-media img,
.fv-video-thumb img,
.fv-thumb-xs img {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Just in case any global rule was zeroing these out */
.fv-card-media img,
.fv-video-thumb img,
.fv-thumb-xs img {
  max-width: 100%;
}

