/* ==========================================================================
   FRIDAY TIMES - PREMIUM EDITORIAL NEWS THEME STYLES
   Inspired by Al Jazeera Global Newsroom
   ========================================================================== */

:root {
  --ft-red: #e11b22;
  --ft-red-hover: #b9151b;
  --ft-red-bg: #fff1f2;
  --ft-navy: #0e1d3d;
  --ft-navy-light: #1e293b;
  --ft-dark: #121212;
  --ft-black: #000000;
  --ft-text: #222222;
  --ft-text-light: #4b5563;
  --ft-muted: #6b7280;
  --ft-border: #e5e7eb;
  --ft-border-light: #f1f3f5;
  --ft-bg-light: #f9fafb;
  --ft-bg-cream: #faf9f6;
  --ft-white: #ffffff;
  --ft-gold: #f59e0b;

  --ft-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ft-font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
  --ft-font-headline: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ft-container: 1320px;
  --ft-transition: all 0.2s ease-in-out;
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ft-font-sans);
  color: var(--ft-text);
  background-color: var(--ft-white);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--ft-transition);
}

a:hover {
  color: var(--ft-red);
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.ft-container {
  max-width: var(--ft-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography Utilities */
.ft-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ft-red);
  margin-bottom: 6px;
  display: inline-block;
}

.ft-kicker.opinion {
  color: var(--ft-navy);
  background-color: #f1f5f9;
  padding: 2px 6px;
  border-radius: 2px;
}

.ft-kicker.explainer {
  color: #0284c7;
}

.ft-kicker.analysis {
  color: #7c3aed;
}

.ft-date {
  font-size: 0.78rem;
  color: var(--ft-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.ft-site-header {
  position: relative;
  background: var(--ft-white);
  border-bottom: 1px solid var(--ft-border);
  z-index: 1000;
}

/* Top bar with quick date / live status */
.ft-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--ft-border-light);
}

.ft-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ft-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.ft-logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.ft-logo-text {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ft-navy);
  line-height: 1;
}

.ft-logo-subtext {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--ft-navy);
  margin-top: 2px;
}

/* Navigation Menu */
.ft-main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ft-nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ft-nav-item > a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  padding: 6px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ft-nav-item.active > a,
.ft-nav-item > a:hover {
  color: var(--ft-red);
}

.ft-nav-item.active > a::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--ft-red);
}

/* Header Right Actions */
.ft-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ft-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ft-dark);
  padding: 6px 12px;
  border: 1px solid var(--ft-border);
  border-radius: 20px;
  background: var(--ft-white);
  cursor: pointer;
  transition: var(--ft-transition);
}

.ft-live-btn:hover {
  border-color: var(--ft-red);
  color: var(--ft-red);
}

.ft-live-dot {
  width: 9px;
  height: 9px;
  background-color: var(--ft-red);
  border-radius: 50%;
  display: inline-block;
  animation: ft-pulse 1.5s infinite;
}

@keyframes ft-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 27, 34, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(225, 27, 34, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 27, 34, 0); }
}

.ft-search-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  color: var(--ft-dark);
  font-size: 1.15rem;
  transition: var(--ft-transition);
}

.ft-search-toggle-btn:hover {
  color: var(--ft-red);
}

.ft-auth-btn {
  font-size: 0.85rem;
  font-weight: 700;
  background-color: var(--ft-dark);
  color: var(--ft-white);
  padding: 7px 16px;
  border-radius: 20px;
  display: inline-block;
  transition: var(--ft-transition);
}

.ft-auth-btn:hover {
  background-color: var(--ft-red);
  color: var(--ft-white);
}

.ft-mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ft-dark);
}

/* Sub-Header Categories Bar */
.ft-sub-nav {
  background: var(--ft-white);
  padding: 8px 0;
  border-bottom: 1px solid var(--ft-border);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.ft-sub-nav::-webkit-scrollbar {
  display: none;
}

.ft-sub-nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ft-text-light);
}

.ft-sub-nav-list li:first-child a {
  color: var(--ft-red);
  font-weight: 700;
}

.ft-sub-nav-list a:hover {
  color: var(--ft-red);
}

.ft-sub-nav-sep {
  color: var(--ft-border);
  user-select: none;
}

/* ==========================================================================
   BREAKING NEWS TICKER
   ========================================================================== */
.ft-breaking-ticker {
  background-color: #fff5f5;
  border-bottom: 1px solid #fed7d7;
  padding: 8px 0;
  font-size: 0.85rem;
}

.ft-ticker-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ft-ticker-badge {
  background-color: var(--ft-red);
  color: var(--ft-white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.ft-ticker-content {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  font-weight: 600;
  color: var(--ft-navy);
}

.ft-ticker-content a:hover {
  text-decoration: underline;
  color: var(--ft-red);
}

/* ==========================================================================
   HOMEPAGE HERO SECTION (3 COLUMNS)
   ========================================================================== */
.ft-hero-section {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--ft-border);
}

.ft-hero-grid {
  display: grid;
  grid-template-columns: 4.8fr 3.2fr 2.8fr;
  gap: 28px;
}

/* Lead Column (Col 1) */
.ft-lead-card {
  display: flex;
  flex-direction: column;
}

.ft-card-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background-color: #000;
}

.ft-card-thumb-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ft-card-thumb-wrap:hover img {
  transform: scale(1.02);
}

.ft-badge-breaking {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--ft-red);
  color: var(--ft-white);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  z-index: 2;
  border-radius: 2px;
}

.ft-lead-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.22;
  margin-top: 14px;
  margin-bottom: 10px;
  color: var(--ft-black);
}

.ft-lead-title:hover {
  color: var(--ft-red);
}

.ft-lead-excerpt {
  font-size: 0.95rem;
  color: var(--ft-text-light);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Live updates timeline */
.ft-live-timeline {
  background-color: #fafbfc;
  border-left: 3px solid var(--ft-red);
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
  margin-top: 8px;
}

.ft-timeline-header {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ft-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ft-timeline-list li {
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 8px;
  color: var(--ft-navy);
}

.ft-timeline-list li:last-child {
  margin-bottom: 0;
}

.ft-timeline-time {
  font-weight: 700;
  color: var(--ft-red);
  margin-right: 4px;
}

/* Secondary Column (Col 2) */
.ft-secondary-card {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ft-border);
  margin-bottom: 18px;
}

.ft-secondary-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 10px;
  margin-bottom: 6px;
}

.ft-secondary-title:hover {
  color: var(--ft-red);
}

.ft-news-stacked-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ft-stacked-item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ft-border-light);
}

.ft-stacked-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ft-stacked-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

.ft-stacked-title:hover {
  color: var(--ft-red);
}

/* Right Column (Col 3) */
.ft-hero-right-col {
  border-left: 1px solid var(--ft-border);
  padding-left: 24px;
}

.ft-section-label-sm {
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ft-navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ft-must-read-card {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ft-border);
  margin-bottom: 16px;
}

.ft-headline-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ft-border-light);
}

.ft-headline-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ft-headline-card-text {
  flex: 1;
}

.ft-headline-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.ft-headline-card-thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   WATCH LATEST VIDEOS SECTION
   ========================================================================== */
.ft-videos-section {
  padding: 30px 0;
  background-color: #fafbfc;
  border-bottom: 1px solid var(--ft-border);
}

.ft-section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ft-section-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ft-navy);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ft-section-title::after {
  content: '>';
  font-size: 1.1rem;
  color: var(--ft-red);
  font-weight: 900;
}

.ft-videos-scroll-wrap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.ft-video-card {
  display: flex;
  flex-direction: column;
}

.ft-video-thumb-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 9 / 12;
}

.ft-video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ft-video-thumb-wrap:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.ft-video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background-color: rgba(0, 0, 0, 0.65);
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--ft-transition);
}

.ft-video-thumb-wrap:hover .ft-video-play-icon {
  background-color: var(--ft-red);
  border-color: var(--ft-red);
  transform: translate(-50%, -50%) scale(1.1);
}

.ft-video-duration {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ft-video-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 8px;
  color: var(--ft-navy);
}

.ft-video-title:hover {
  color: var(--ft-red);
}

/* ==========================================================================
   FEATURED & MOST POPULAR SECTION (2 COLUMNS)
   ========================================================================== */
.ft-featured-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--ft-border);
}

.ft-two-col-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 36px;
}

/* Left Featured Layout */
.ft-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.ft-featured-lead {
  grid-column: span 1;
}

.ft-featured-lead-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 10px;
  margin-bottom: 8px;
}

.ft-featured-lead-title:hover {
  color: var(--ft-red);
}

.ft-featured-side-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ft-mini-news-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ft-border-light);
}

.ft-mini-news-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ft-mini-news-text {
  flex: 1;
}

.ft-mini-news-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.ft-mini-news-thumb {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.ft-horizontal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--ft-border);
  padding-top: 20px;
}

/* Right Most Popular Column */
.ft-popular-col {
  border-left: 1px solid var(--ft-border);
  padding-left: 28px;
}

.ft-popular-header {
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ft-navy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ft-popular-header::after {
  content: '★';
  color: var(--ft-red);
  font-size: 0.9rem;
}

.ft-popular-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ft-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ft-border-light);
}

.ft-popular-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ft-popular-rank {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ft-navy);
  line-height: 1;
  min-width: 22px;
}

.ft-popular-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.ft-popular-title:hover {
  color: var(--ft-red);
}

/* Newsletter Widget Card */
.ft-newsletter-box {
  background: #ffffff;
  border: 1px solid var(--ft-border);
  border-top: 4px solid var(--ft-red);
  border-radius: 4px;
  padding: 24px;
  margin-top: 30px;
  text-align: center;
}

.ft-newsletter-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ft-muted);
  margin-bottom: 4px;
}

.ft-newsletter-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ft-navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.ft-newsletter-desc {
  font-size: 0.82rem;
  color: var(--ft-text-light);
  line-height: 1.45;
  margin-bottom: 16px;
}

.ft-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ft-newsletter-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--ft-border);
  border-radius: 20px;
  font-size: 0.88rem;
  text-align: center;
}

.ft-newsletter-input:focus {
  border-color: var(--ft-navy);
}

.ft-newsletter-btn {
  background-color: var(--ft-black);
  color: var(--ft-white);
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--ft-transition);
}

.ft-newsletter-btn:hover {
  background-color: var(--ft-red);
}

.ft-newsletter-terms {
  font-size: 0.7rem;
  color: var(--ft-muted);
  margin-top: 10px;
}

/* ==========================================================================
   OPINION SECTION
   ========================================================================== */
.ft-opinion-section {
  padding: 34px 0;
  background-color: #f8fafc;
  border-bottom: 1px solid var(--ft-border);
}

.ft-opinion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ft-opinion-card {
  background: var(--ft-white);
  border: 1px solid var(--ft-border);
  border-radius: 4px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ft-opinion-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.ft-opinion-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ft-opinion-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ft-border);
}

.ft-opinion-author-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ft-navy);
}

.ft-opinion-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.ft-opinion-title:hover {
  color: var(--ft-red);
}

/* ==========================================================================
   SPORTS SECTION
   ========================================================================== */
.ft-sports-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--ft-border);
}

.ft-sports-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}

.ft-sports-hero {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.ft-sports-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.ft-sports-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
}

.ft-sports-hero-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

/* ==========================================================================
   PHOTO ESSAY / GALLERY BANNER
   ========================================================================== */
.ft-photo-essay-section {
  padding: 34px 0;
  background-color: #121212;
  color: #ffffff;
  border-bottom: 1px solid var(--ft-border);
}

.ft-photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 170px 170px;
  gap: 8px;
  margin-top: 14px;
}

.ft-photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.ft-photo-item.big {
  grid-row: span 2;
}

.ft-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ft-photo-item:hover img {
  transform: scale(1.03);
}

.ft-photo-more-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.75);
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 4px;
}

.ft-photo-caption {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 12px;
  color: #f1f5f9;
}

/* ==========================================================================
   CHRONOLOGICAL FEED STREAM
   ========================================================================== */
.ft-feed-section {
  padding: 36px 0;
}

.ft-feed-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ft-feed-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ft-border);
}

.ft-feed-card-content {
  flex: 1;
}

.ft-feed-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 8px;
  color: var(--ft-navy);
}

.ft-feed-card-title:hover {
  color: var(--ft-red);
}

.ft-feed-card-excerpt {
  font-size: 0.9rem;
  color: var(--ft-text-light);
  line-height: 1.5;
  margin-bottom: 8px;
}

.ft-feed-card-thumb-wrap {
  width: 220px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  flex-shrink: 0;
  background-color: #f3f4f6;
}

.ft-feed-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ft-feed-card:hover .ft-feed-card-thumb-wrap img {
  transform: scale(1.03);
}

/* Video card inside stream */
.ft-feed-video-card {
  background-color: #000000;
  color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  margin: 16px 0 28px;
}

.ft-feed-video-player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  overflow: hidden;
}

.ft-feed-video-player-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.ft-feed-video-content {
  padding: 18px 24px 24px;
  background-color: #0d1117;
}

.ft-feed-video-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
  margin-bottom: 8px;
}

.ft-feed-video-title:hover {
  color: var(--ft-red);
}

.ft-load-more-wrap {
  text-align: center;
  margin-top: 36px;
}

.ft-load-more-btn {
  background-color: var(--ft-black);
  color: var(--ft-white);
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--ft-transition);
}

.ft-load-more-btn:hover {
  background-color: var(--ft-red);
}

/* ==========================================================================
   SINGLE POST LAYOUT (single.php)
   ========================================================================== */
.ft-single-article {
  padding: 32px 0 60px;
}

.ft-single-container {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.ft-single-kicker {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ft-red);
  margin-bottom: 12px;
  display: block;
}

.ft-single-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.18;
  color: var(--ft-navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.ft-single-standfirst {
  font-family: var(--ft-font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ft-text-light);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Single Meta Toolbar */
.ft-article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--ft-border);
  border-bottom: 1px solid var(--ft-border);
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.ft-meta-actions-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ft-audio-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ft-navy);
  background: var(--ft-bg-light);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--ft-border);
  cursor: pointer;
}

.ft-audio-listen-btn:hover {
  background-color: var(--ft-red-bg);
  color: var(--ft-red);
  border-color: var(--ft-red);
}

.ft-share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ft-share-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ft-bg-light);
  border: 1px solid var(--ft-border);
  color: var(--ft-text-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--ft-transition);
}

.ft-share-icon-btn:hover {
  background-color: var(--ft-red);
  color: #fff;
  border-color: var(--ft-red);
}

.ft-author-meta-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ft-author-meta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.ft-author-meta-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ft-navy);
}

.ft-article-featured-media {
  margin-bottom: 30px;
}

.ft-article-featured-media img {
  width: 100%;
  border-radius: 4px;
}

.ft-media-caption {
  font-size: 0.82rem;
  color: var(--ft-muted);
  line-height: 1.45;
  margin-top: 8px;
  border-left: 2px solid var(--ft-border);
  padding-left: 10px;
}

/* Article Body Typography */
.ft-article-body {
  font-family: var(--ft-font-serif);
  font-size: 1.125rem;
  line-height: 1.8;
  color: #242424;
}

.ft-article-body p {
  margin-bottom: 1.6em;
}

.ft-article-body h2 {
  font-family: var(--ft-font-sans);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ft-navy);
  margin-top: 2em;
  margin-bottom: 0.8em;
  line-height: 1.25;
}

.ft-article-body h3 {
  font-family: var(--ft-font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ft-navy);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.ft-article-body blockquote {
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  border-left: 4px solid var(--ft-red);
  padding-left: 20px;
  margin: 2em 0;
  color: var(--ft-navy);
}

.ft-recommended-box {
  background-color: #fafbfc;
  border: 1px solid var(--ft-border);
  border-left: 4px solid var(--ft-red);
  padding: 18px 22px;
  margin: 2.2em 0;
  border-radius: 0 4px 4px 0;
}

.ft-recommended-title {
  font-family: var(--ft-font-sans);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ft-red);
  margin-bottom: 10px;
}

.ft-recommended-list {
  font-family: var(--ft-font-sans);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ft-recommended-list li a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ft-navy);
  line-height: 1.4;
}

.ft-recommended-list li a:hover {
  color: var(--ft-red);
}

/* Related Stories Grids at Bottom of Article */
.ft-article-extras-section {
  max-width: var(--ft-container);
  margin: 40px auto 0;
  padding: 40px 20px 0;
  border-top: 2px solid var(--ft-border);
}

.ft-extras-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

/* ==========================================================================
   ARCHIVE / CATEGORY LAYOUT (archive.php)
   ========================================================================== */
.ft-archive-header {
  padding: 24px 0 20px;
  border-bottom: 2px solid var(--ft-navy);
  margin-bottom: 28px;
}

.ft-archive-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--ft-navy);
  letter-spacing: -0.02em;
}

.ft-archive-description {
  font-size: 1rem;
  color: var(--ft-text-light);
  margin-top: 6px;
}

.ft-archive-hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ft-border);
  margin-bottom: 30px;
}

.ft-archive-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.ft-site-footer {
  background-color: #fafbfc;
  border-top: 1px solid var(--ft-border);
  padding: 50px 0 30px;
  font-size: 0.85rem;
  color: var(--ft-text-light);
}

.ft-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}

.ft-footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ft-navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.ft-footer-links li {
  margin-bottom: 9px;
}

.ft-footer-links a {
  color: var(--ft-text-light);
  transition: var(--ft-transition);
}

.ft-footer-links a:hover {
  color: var(--ft-red);
}

.ft-footer-bottom {
  border-top: 1px solid var(--ft-border);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.ft-footer-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ft-footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ft-white);
  border: 1px solid var(--ft-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ft-navy);
  font-size: 1rem;
  transition: var(--ft-transition);
}

.ft-footer-social-icon:hover {
  background: var(--ft-red);
  color: #fff;
  border-color: var(--ft-red);
}

.ft-footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.ft-footer-copy {
  font-size: 0.8rem;
  color: var(--ft-muted);
}

/* ==========================================================================
   SEARCH MODAL
   ========================================================================== */
.ft-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 29, 61, 0.88);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.ft-search-modal.active {
  display: flex;
}

.ft-search-modal-content {
  width: 90%;
  max-width: 680px;
  position: relative;
}

.ft-search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  padding: 6px 10px 6px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.ft-search-input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 1.1rem;
  background: transparent;
}

.ft-search-submit {
  background: var(--ft-red);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--ft-transition);
}

.ft-search-submit:hover {
  background: var(--ft-red-hover);
}

.ft-search-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .ft-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ft-hero-right-col {
    grid-column: span 2;
    border-left: none;
    border-top: 1px solid var(--ft-border);
    padding-left: 0;
    padding-top: 24px;
  }
  .ft-two-col-layout {
    grid-template-columns: 1fr;
  }
  .ft-popular-col {
    border-left: none;
    border-top: 1px solid var(--ft-border);
    padding-left: 0;
    padding-top: 24px;
  }
  .ft-videos-scroll-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
  .ft-opinion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ft-extras-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ft-main-nav {
    display: none;
  }
  .ft-mobile-menu-btn {
    display: block;
  }
  .ft-hero-grid {
    grid-template-columns: 1fr;
  }
  .ft-hero-right-col {
    grid-column: span 1;
  }
  .ft-featured-grid {
    grid-template-columns: 1fr;
  }
  .ft-horizontal-grid {
    grid-template-columns: 1fr;
  }
  .ft-sports-grid {
    grid-template-columns: 1fr;
  }
  .ft-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .ft-feed-card {
    flex-direction: column-reverse;
  }
  .ft-feed-card-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .ft-single-title {
    font-size: 1.8rem;
  }
  .ft-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ft-archive-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ft-videos-scroll-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .ft-opinion-grid {
    grid-template-columns: 1fr;
  }
  .ft-footer-grid {
    grid-template-columns: 1fr;
  }
  .ft-extras-grid-4 {
    grid-template-columns: 1fr;
  }
}
