/*
Theme Name: The Biz Update
Theme URI: https://thebizupdate.com
Author: The Biz Update Team
Description: Pakistan's Premier Financial & Business Daily - BroadSheet Redesign Matching Business Recorder Reference. Fully Responsive for all Mobile, Tablet, Laptop, and Desktop screens.
Version: 3.5.0
Text Domain: thebizupdate
*/

/* ==========================================================================
   1. CSS RESET, VARIABLES & ACCESSIBILITY
   ========================================================================== */
:root {
  --bg-white: #ffffff;
  --bg-cream: #f8fafc;
  --bg-subbar: #f1f5f9;
  --bg-forex-tab: #e2e8f0;
  --bg-forex-active: #ffffff;
  --bg-popular-hdr: #e2e8f0;
  --bg-card: #ffffff;
  --bg-hover: #f8fafc;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;

  --accent-red: #dc2626;
  --accent-red-hover: #b91c1c;
  --accent-green: #047857;
  --accent-orange: #ea580c;
  --accent-bronze: #047857;
  --accent-gold: #065f46;
  --border-dark: #0f172a;
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;

  --container-max: 1260px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.broadsheet-main {
  flex: 1 0 auto;
  width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease-in-out, background-color 0.18s ease-in-out, opacity 0.18s ease-in-out;
}

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

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Custom Scrollbar Utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==========================================================================
   2. TOP MASTHEAD & HEADER (TRUE MATHEMATICAL CENTER FOR LOGO)
   ========================================================================== */
.brecorder-site-header {
  background-color: var(--bg-white);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.masthead-main-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 0;
  min-height: 58px;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Masthead Left: Urdu Link */
.masthead-left-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.urdu-masthead-link {
  font-family: var(--font-urdu);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  color: var(--accent-bronze);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transform: translateY(-2px);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.urdu-masthead-link:hover {
  color: var(--accent-red);
  transform: translateY(-3px);
}

/* Masthead Center: Iconic Broadsheet Logo (100% Mathematically Centered) */
.masthead-center-col {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.newspaper-title-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  max-width: 100%;
}

.broadsheet-masthead-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.newspaper-main-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3.8vw, 38px);
  font-weight: 900;
  letter-spacing: clamp(0.2px, 0.1vw, 0.8px);
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1.05;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.newspaper-sub-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(10px, 1.2vw, 13px);
  color: var(--text-muted);
  margin-top: 3px;
  display: block;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.broadsheet-logo-img {
  max-height: 82px;
  max-width: 280px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* Masthead Right: Refined Dynamic Date Stamp & Polished Meta Links Pills */
.masthead-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  gap: 4px;
  min-width: 0;
}

.masthead-date-stamp {
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.2vw, 12px);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.2px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
}

.masthead-date-stamp i {
  color: var(--accent-bronze);
  font-size: 11px;
}

.masthead-meta-links {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.meta-link-pill {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  color: #334155;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 2px 8px;
  border-radius: 12px;
  line-height: 1.35;
  white-space: nowrap;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.meta-link-pill:hover {
  color: #ffffff;
  background-color: var(--accent-bronze);
  border-color: var(--accent-bronze);
  transform: translateY(-1px);
}

/* ==========================================================================
   3. PRIMARY NAVIGATION BAR & CATEGORY MENU
   ========================================================================== */
.brecorder-navbar {
  border-top: 1px solid var(--border-light);
  border-bottom: 2px solid var(--border-dark);
  background-color: var(--bg-white);
  position: relative;
  width: 100%;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 16px;
  gap: 8px;
  box-sizing: border-box;
}

.nav-left-action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.navbar-hamburger {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px 10px 8px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 38px;
  min-width: 38px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

.navbar-hamburger:hover {
  color: var(--accent-red);
}

.nav-links-wrapper {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 4px;
  scroll-behavior: smooth;
}

.nav-links-wrapper::-webkit-scrollbar {
  display: none;
}

.broadsheet-nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  gap: 4px;
}

.broadsheet-nav-menu li {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.broadsheet-nav-menu a {
  display: block;
  padding: 8px 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  text-transform: capitalize;
  letter-spacing: -0.1px;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.broadsheet-nav-menu a:hover {
  color: var(--accent-red);
  background-color: var(--bg-hover);
}

.broadsheet-nav-menu .current-menu-item > a,
.broadsheet-nav-menu .current_page_item > a {
  color: var(--accent-red);
  font-weight: 800;
}

.nav-right-action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.nav-search-btn {
  background: none;
  border: none;
  font-size: 17px;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px 0 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 38px;
  min-width: 38px;
  transition: color 0.15s ease;
}

.nav-search-btn:hover {
  color: var(--accent-red);
}

/* Expandable Inline Search Drawer */
.nav-search-drawer {
  display: none;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  animation: slideDownSearch 0.2s ease-out;
}

.nav-search-drawer.is-open {
  display: block;
}

@keyframes slideDownSearch {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}

.nav-search-form input[type="search"] {
  flex: 1 1 auto;
  padding: 9px 14px;
  font-size: 14px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  outline: none;
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nav-search-form input[type="search"]:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.search-submit-btn {
  background: var(--border-dark);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

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

.search-close-btn {
  background: none;
  border: none;
  font-size: 19px;
  cursor: pointer;
  padding: 6px 10px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

.search-close-btn:hover {
  color: var(--accent-red);
}

/* ==========================================================================
   4. TRENDING SUB-BAR
   ========================================================================== */
.brecorder-sub-bar {
  background-color: var(--bg-subbar);
  border-bottom: 1px solid var(--border-light);
  padding: 6px 0;
  width: 100%;
  overflow: hidden;
}

.sub-bar-container {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}

.sub-bar-container::-webkit-scrollbar {
  display: none;
}

.trending-badge-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffffff;
  background-color: var(--accent-red);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.trending-badge-label i {
  font-size: 10px;
}

.sub-bar-topics {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.sub-bar-topics li {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.sub-bar-topics a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 3px 4px;
  transition: color 0.15s ease;
}

.sub-bar-topics a:hover {
  color: var(--accent-red);
}

/* ==========================================================================
   5. HOMEPAGE 3-COLUMN HERO GRID (ZERO OVERFLOW FRACTIONAL UNITS)
   ========================================================================== */
.brecorder-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.15fr) minmax(0, 1.05fr);
  gap: 20px;
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* ---- COLUMN 1: LEAD NEWS (LEFT) ---- */
.hero-col-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lead-story-card {
  margin-bottom: 22px;
}

.lead-time-stamp {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}

.lead-story-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.16;
  color: var(--text-main);
  margin-bottom: 10px;
  word-break: break-word;
}

.lead-story-title a:hover {
  color: var(--accent-red);
}

.lead-story-deck {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: clamp(13.5px, 1.5vw, 15px);
  font-weight: 500;
  line-height: 1.48;
  color: #334155;
  margin-bottom: 14px;
}

.red-bullet {
  color: var(--accent-red);
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  flex-shrink: 0;
}

.lead-story-media {
  width: 100%;
  overflow: hidden;
  background: var(--bg-subbar);
  border-radius: var(--radius-sm);
}

.lead-story-media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lead-story-media:hover img {
  transform: scale(1.02);
}

/* Subgrid 2-Column Stories below Lead */
.lead-subgrid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  border-top: 1px solid var(--border-dark);
  padding-top: 20px;
}

.subgrid-news-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

.subgrid-news-text {
  flex: 1 1 auto;
  min-width: 0;
}

.news-red-category {
  color: var(--accent-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.subgrid-news-title {
  font-family: var(--font-serif);
  font-size: clamp(13.5px, 1.4vw, 15px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--text-main);
  word-break: break-word;
}

.subgrid-news-title a:hover {
  color: var(--accent-red);
}

.news-time-ago {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

.subgrid-news-thumb {
  flex: 0 0 85px;
  width: 85px;
  height: 85px;
  overflow: hidden;
  background: var(--bg-subbar);
  border-radius: var(--radius-sm);
}

.subgrid-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.subgrid-news-thumb:hover img {
  transform: scale(1.05);
}

/* ---- COLUMN 2: MUST READ (MIDDLE) ---- */
.hero-col-mustread {
  border-left: 1px solid var(--border-light);
  padding-left: 18px;
  min-width: 0;
}

.broadsheet-column-header {
  margin-bottom: 16px;
}

.mustread-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 3.5px solid var(--border-dark);
  display: inline-block;
  padding-bottom: 2px;
  letter-spacing: 0.5px;
}

.mustread-lead-card {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.mustread-lead-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--bg-subbar);
  border-radius: var(--radius-sm);
}

.mustread-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.mustread-lead-media:hover img {
  transform: scale(1.03);
}

.mustread-lead-title {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-top: 4px;
}

.mustread-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}

.mustread-item-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mustread-item-thumb {
  width: 100%;
  aspect-ratio: 16 / 11;
  height: auto;
  overflow: hidden;
  margin-bottom: 6px;
  background: var(--bg-subbar);
  border-radius: var(--radius-sm);
}

.mustread-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.mustread-item-thumb:hover img {
  transform: scale(1.05);
}

.mustread-item-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-top: 3px;
  word-break: break-word;
}

/* ---- COLUMN 3: SIDEBAR (RIGHT - ZERO CLIPPING) ---- */
.hero-col-sidebar {
  border-left: 1px solid var(--border-light);
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  box-sizing: border-box;
}

/* Ad Tax Banner */
.sidebar-ad-card {
  background: #fbf6ee;
  border: 1px solid #e5decb;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  width: 100%;
  box-sizing: border-box;
}

.ad-tax-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ad-tax-tag {
  background: var(--accent-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  display: inline-block;
  letter-spacing: 0.5px;
  border-radius: 2px;
}

.ad-tax-headline {
  font-size: 12px;
  font-weight: 800;
  color: #111111;
  margin-top: 4px;
  line-height: 1.25;
}

.ad-tax-figure i {
  font-size: 26px;
  color: var(--accent-bronze);
  flex-shrink: 0;
}

/* Circular Social Buttons Row */
.sidebar-socials-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.circle-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-bronze);
  color: var(--accent-bronze);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.circle-social-btn:hover {
  background-color: var(--accent-bronze);
  color: #ffffff;
  transform: translateY(-2px);
}

/* FOREX & Currency Widget */
.sidebar-forex-widget {
  border: 1px solid var(--border-light);
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.forex-tabs-header {
  display: flex;
  background: var(--bg-forex-tab);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.forex-tab-btn {
  flex: 1;
  padding: 8px 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease;
  min-height: 36px;
  white-space: nowrap;
}

.forex-tab-btn.is-active {
  background: var(--bg-forex-active);
  font-weight: 800;
  color: var(--text-main);
  border-bottom: 2px solid var(--accent-red);
}

.forex-tab-panel {
  display: none;
  width: 100%;
}

.forex-tab-panel.is-active {
  display: block;
}

.forex-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  table-layout: fixed;
  box-sizing: border-box;
}

.forex-table th {
  background: #f8fafc;
  padding: 6px 8px;
  text-align: left;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  letter-spacing: 0.5px;
}

.forex-table th:first-child,
.forex-table td:first-child {
  width: 65%;
  word-break: break-word;
  padding: 6px 8px;
}

.forex-table th:last-child,
.forex-table td:last-child {
  width: 35%;
  text-align: right;
  padding: 6px 8px;
  white-space: nowrap;
}

.forex-table td {
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  line-height: 1.35;
}

.forex-table tr:last-child td {
  border-bottom: none;
}

.rate-val {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* MOST POPULAR Widget */
.sidebar-popular-widget {
  border: 1px solid var(--border-light);
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.popular-widget-header {
  background: var(--bg-popular-hdr);
  padding: 8px 12px;
}

.popular-widget-title {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-main);
}

.popular-filter-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: #f8fafc;
  width: 100%;
}

.popular-filter-btn {
  flex: 1;
  padding: 6px 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  text-align: center;
  border-bottom: 2px solid transparent;
  min-height: 34px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.popular-filter-btn.is-active {
  color: var(--text-main);
  font-weight: 800;
  border-bottom-color: var(--accent-red);
  background: #ffffff;
}

.popular-articles-list {
  padding: 8px 12px;
  transition: opacity 0.2s ease;
}

.popular-news-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.popular-news-row:last-child {
  border-bottom: none;
}

.popular-news-text {
  flex: 1 1 auto;
  min-width: 0;
}

.popular-news-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  word-break: break-word;
}

.popular-news-thumb {
  flex: 0 0 65px;
  width: 65px;
  height: 48px;
  overflow: hidden;
  background: var(--bg-subbar);
  border-radius: var(--radius-sm);
}

.popular-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   6. "LATEST VIDEOS >" SECTION
   ========================================================================== */
.brecorder-videos-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.section-title-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-serif-heading {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 3px solid var(--accent-green);
  padding-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-heading-rule {
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.videos-row-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.video-card-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.video-poster-box {
  width: 100%;
  aspect-ratio: 9 / 13;
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius-sm);
}

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

.video-card-item:hover .video-poster-box img {
  transform: scale(1.05);
  opacity: 1;
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}

.video-badge-kicker {
  align-self: flex-start;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 2px;
  letter-spacing: 0.4px;
}

.video-play-btn {
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-card-item:hover .video-play-btn {
  transform: scale(1.12);
  background: var(--accent-red-hover);
}

.video-card-title {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  margin-top: 8px;
  word-break: break-word;
}

/* ==========================================================================
   7. MULTI-COLUMN CATEGORY SECTION
   ========================================================================== */
.brecorder-category-columns-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.secondary-desk-section {
  margin-top: 32px;
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
}

.secondary-desk-item {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.page-template-container {
  max-width: 900px;
  margin-top: 28px;
  margin-bottom: 48px;
}

.page-header-block {
  border-bottom: 2px solid var(--border-dark);
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.page-meta-stamp {
  border-top: none;
  padding-top: 0;
  margin-top: 10px;
}

.single-article-container,
.archive-container {
  margin-top: 24px;
}

.article-deck {
  margin: 14px 0 18px;
}

.category-desks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-desk-col {
  border-right: 1px solid var(--border-light);
  padding-right: 18px;
  min-width: 0;
}

.category-desk-col:last-child {
  border-right: none;
  padding-right: 0;
}

.desk-header {
  margin-bottom: 14px;
}

.desk-title {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 800;
  color: var(--accent-bronze);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.desk-lead-story {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.desk-lead-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  background: var(--bg-subbar);
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
}

.desk-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.desk-lead-media:hover img {
  transform: scale(1.04);
}

.desk-lead-title {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 800;
  line-height: 1.24;
  color: var(--text-main);
  margin-bottom: 8px;
  word-break: break-word;
}

.desk-bullet-deck {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.desk-secondary-story {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.news-red-date {
  color: var(--accent-red);
  font-size: 10.5px;
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}

.desk-sec-title {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 4px;
  word-break: break-word;
}

.desk-sec-excerpt {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   8. FINANCIAL MARKET TAGS BUTTONS
   ========================================================================== */
.brecorder-market-tags-section {
  margin-top: 36px;
  padding: 22px 0;
  border-top: 1px solid var(--border-dark);
}

.market-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.market-tag-btn {
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  padding: 7px 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
}

.market-tag-btn:hover {
  background-color: var(--bg-hover);
  border-color: var(--accent-bronze);
  color: var(--accent-bronze);
  transform: translateY(-1px);
}

/* ==========================================================================
   9. BROADSHEET FOOTER
   ========================================================================== */
.brecorder-site-footer {
  background-color: var(--bg-cream);
  border-top: 2px solid var(--border-dark);
  padding: 40px 0 24px;
  margin-top: 40px;
  width: 100%;
}

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

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 4px;
}

.footer-nav-list li {
  margin-bottom: 7px;
}

.footer-nav-list a {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s ease;
  display: inline-block;
  padding: 2px 0;
}

.footer-nav-list a:hover {
  color: var(--accent-red);
}

.footer-bottom-row {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright-text {
  font-size: 12.5px;
  color: var(--text-light);
}

.footer-social-app-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-circles {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Back to top button */
.back-to-top-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.back-to-top-btn:hover {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
  transform: translateY(-2px);
}

/* ==========================================================================
   10. SINGLE POST & ARCHIVE TEMPLATES
   ========================================================================== */
.single-layout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}

.single-content-col {
  min-width: 0;
}

.single-sidebar-col {
  min-width: 0;
}

.article-broadsheet-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-main);
  margin-top: 6px;
  margin-bottom: 12px;
  word-break: break-word;
}

.article-meta-stamp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-muted);
}

.meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-separator {
  color: var(--text-light);
}

.meta-share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.share-icon-btn:hover {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.article-main-featured-media {
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-subbar);
}

.article-main-featured-media img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.article-editorial-body {
  font-size: clamp(16px, 1.6vw, 17.5px);
  line-height: 1.82;
  color: #1e293b;
  word-break: break-word;
  overflow-wrap: break-word;
}

.article-editorial-body p {
  margin-bottom: 20px;
}

.article-editorial-body h2,
.article-editorial-body h3,
.article-editorial-body h4 {
  font-family: var(--font-serif);
  color: var(--text-main);
  margin: 28px 0 14px;
  line-height: 1.25;
}

.article-editorial-body blockquote {
  border-left: 4px solid var(--accent-red);
  background: #f8fafc;
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-main);
}

.article-editorial-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-editorial-body th,
.article-editorial-body td {
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  font-size: 14px;
}

.article-tags-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.tags-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
}

.broadsheet-tag-pill {
  border: 1px solid var(--border-light);
  background: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: all 0.15s ease;
}

.broadsheet-tag-pill:hover {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

/* RELATED STORIES 3-COLUMN GRID */
.article-related-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.related-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-story-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.related-story-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  background: var(--bg-subbar);
}

.related-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-story-card:hover .related-story-media img {
  transform: scale(1.04);
}

.related-story-content {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-story-title {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin: 6px 0 10px;
  flex: 1;
  word-break: break-word;
}

.related-story-title a:hover {
  color: var(--accent-red);
}

/* ARCHIVE PAGE GRID */
.archive-stories-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.archive-story-card {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
}

.archive-story-media {
  flex: 0 0 240px;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  background: var(--bg-subbar);
  border-radius: var(--radius-sm);
}

.archive-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-story-details {
  flex: 1 1 auto;
  min-width: 0;
}

.archive-story-title {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-top: 4px;
  margin-bottom: 8px;
  word-break: break-word;
}

.archive-story-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

/* Pagination */
.broadsheet-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.broadsheet-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.broadsheet-pagination .page-numbers.current,
.broadsheet-pagination .page-numbers:hover {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

/* ==========================================================================
   11. OFFCANVAS DRAWER MENU
   ========================================================================== */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.offcanvas-overlay.is-active {
  visibility: visible;
  opacity: 1;
}

.offcanvas-menu {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: #ffffff;
  box-shadow: 4px 0 24px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.offcanvas-overlay.is-active .offcanvas-menu {
  transform: translateX(0);
}

.offcanvas-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  min-height: 58px;
  gap: 12px;
}

.offcanvas-logo {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

.offcanvas-logo-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  max-width: 100%;
}

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

.brecorder-mini-logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--text-main);
  white-space: nowrap;
}

.offcanvas-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  transition: background-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.offcanvas-close-btn:hover {
  background-color: var(--bg-hover);
  color: var(--accent-red);
}

.offcanvas-body {
  padding: 18px;
  flex: 1 1 auto;
}

/* Offcanvas Search Form */
.offcanvas-search-form {
  display: flex;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.offcanvas-search-form input {
  flex: 1 1 auto;
  padding: 9px 12px;
  border: 1.5px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
  font-size: 13.5px;
  color: var(--text-main);
  background: #ffffff;
  min-width: 0;
}

.offcanvas-search-form input:focus {
  border-color: var(--border-dark);
}

.offcanvas-search-form button {
  background: var(--border-dark);
  color: #ffffff;
  border: none;
  padding: 0 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background-color 0.15s ease;
}

.offcanvas-search-form button:hover {
  background: var(--accent-red);
}

/* Quick Edition Switcher Bar */
.offcanvas-quick-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: var(--bg-subbar);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  min-height: 42px;
}

.offcanvas-urdu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-bronze);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
  transition: color 0.15s ease;
}

.offcanvas-urdu-btn:hover {
  color: var(--accent-red);
}

.urdu-flag-text {
  font-family: var(--font-urdu);
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transform: translateY(-2px);
}

.offcanvas-urdu-btn small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.offcanvas-date-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  line-height: 1;
}

.offcanvas-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Categories List */
.offcanvas-categories {
  margin-bottom: 22px;
}

.offcanvas-categories li {
  border-bottom: 1px solid var(--border-subtle);
}

.offcanvas-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease, padding-left 0.15s ease;
}

.category-link-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
}

.category-link-content i {
  font-size: 14px;
  color: var(--text-light);
  width: 16px;
  text-align: center;
}

.offcanvas-categories a > i.fa-chevron-right {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.offcanvas-categories a:hover {
  color: var(--accent-red);
  padding-left: 6px;
}

.offcanvas-categories a:hover > i.fa-chevron-right {
  color: var(--accent-red);
  transform: translateX(2px);
}

/* Special Edition Links */
.offcanvas-special-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.offcanvas-pill-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.offcanvas-pill-link i {
  font-size: 13px;
  color: var(--accent-bronze);
  width: 16px;
  text-align: center;
}

.offcanvas-pill-link:hover {
  background: #ffffff;
  border-color: var(--accent-red);
  color: var(--accent-red);
  transform: translateX(3px);
}

/* Newsroom & Hotlines */
.offcanvas-contact-info {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 8px;
}

.offcanvas-contact-info p {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.offcanvas-contact-info i {
  color: var(--accent-bronze);
  font-size: 13px;
  width: 14px;
}

.offcanvas-contact-info a {
  color: var(--text-main);
  font-weight: 700;
  transition: color 0.15s ease;
}

.offcanvas-contact-info a:hover {
  color: var(--accent-red);
}

/* Offcanvas Footer */
.offcanvas-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.offcanvas-socials {
  display: flex;
  gap: 12px;
  font-size: 16px;
  color: var(--accent-bronze);
}

.offcanvas-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--accent-bronze);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.18s ease;
}

.offcanvas-socials a:hover {
  background-color: var(--accent-bronze);
  color: #ffffff;
  border-color: var(--accent-bronze);
  transform: translateY(-2px);
}

.offcanvas-copyright {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS (ALL SCREENS & MOBILE OPTIMIZATIONS)
   ========================================================================== */

/* Large Desktops & Wide Screens (>= 1200px) */
@media (min-width: 1200px) {
  .brecorder-hero-grid {
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 20px;
  }
}

/* Standard Laptops & Desktops (1025px - 1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
  .brecorder-hero-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 16px;
  }

  .videos-row-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
}

/* Tablets Landscape & Medium Screens (768px - 1024px) */
@media (max-width: 1024px) {
  .brecorder-hero-grid {
    grid-template-columns: 56% 44%;
    gap: 20px;
  }

  .hero-col-sidebar {
    grid-column: span 2;
    border-left: none;
    border-top: 2px solid var(--border-dark);
    padding-left: 0;
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .videos-row-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .category-desks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .category-desk-col:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }

  .category-desk-col:nth-child(3) {
    grid-column: span 2;
    border-right: none;
    padding-right: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
  }

  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .single-layout-grid {
    grid-template-columns: 1fr;
  }

  .single-sidebar-col {
    margin-top: 30px;
    border-top: 1px solid var(--border-dark);
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* Mobile & Tablet Devices (<= 767px): SINGLE-LINE COMPACT MASTHEAD */
@media (max-width: 767px) {
  .masthead-main-row {
    flex-wrap: nowrap !important;
    padding: 6px 0;
    min-height: 48px;
    gap: 8px;
  }

  .masthead-left-col {
    flex: 0 0 auto;
    width: auto;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .urdu-masthead-link {
    font-size: 22px;
    line-height: 1;
    padding: 0;
  }

  .masthead-center-col {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
    min-width: 0;
  }

  .broadsheet-logo-img {
    max-height: 52px;
    max-width: 180px;
    width: auto;
    height: auto;
  }

  .newspaper-main-title {
    font-size: 20px;
    line-height: 1.1;
  }

  .newspaper-sub-tagline {
    font-size: 10px;
    margin-top: 2px;
  }

  .masthead-right-col {
    flex: 0 0 auto;
    width: auto;
    min-width: 75px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
  }

  .masthead-meta-links {
    display: none !important; /* Hide meta links on mobile to keep 1 compact line */
  }

  .masthead-date-stamp {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  .masthead-date-stamp i {
    display: none;
  }

  .brecorder-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-col-mustread {
    border-left: none;
    border-top: 2px solid var(--border-dark);
    padding-left: 0;
    padding-top: 22px;
  }

  .hero-col-sidebar {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lead-subgrid-2col {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .videos-row-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .category-desks-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .category-desk-col {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-right: 0;
    padding-bottom: 22px;
    margin-bottom: 0;
  }

  .category-desk-col:nth-child(3) {
    grid-column: span 1;
    border-top: none;
    padding-top: 0;
  }

  .category-desk-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .single-sidebar-col {
    grid-template-columns: 1fr;
  }

  .related-stories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .archive-story-card {
    flex-direction: column;
    gap: 12px;
  }

  .archive-story-media {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-social-app-group {
    justify-content: center;
  }
}

/* Small Mobiles & Narrow Viewports (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .masthead-main-row {
    padding: 5px 0;
    min-height: 44px;
    gap: 6px;
  }

  .urdu-masthead-link {
    font-size: 20px;
  }

  .broadsheet-logo-img {
    max-height: 46px;
    max-width: 155px;
  }

  .newspaper-main-title {
    font-size: 18px;
  }

  .newspaper-sub-tagline {
    font-size: 9.5px;
  }

  .masthead-date-stamp {
    font-size: 10px;
  }

  .navbar-container {
    padding: 0 10px;
    min-height: 40px;
  }

  .broadsheet-nav-menu a {
    padding: 6px 8px;
    font-size: 13px;
  }

  .lead-story-title {
    font-size: 22px;
    line-height: 1.2;
  }

  .lead-story-deck {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .lead-subgrid-2col {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .subgrid-news-item {
    gap: 10px;
    padding-bottom: 12px;
  }

  .subgrid-news-thumb {
    flex: 0 0 75px;
    width: 75px;
    height: 75px;
  }

  .subgrid-news-title {
    font-size: 14px;
  }

  .mustread-items-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
  }

  .mustread-item-title {
    font-size: 12.5px;
  }

  .videos-row-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .video-card-title {
    font-size: 12.5px;
  }

  .video-play-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .market-tag-btn {
    font-size: 9.5px;
    padding: 5px 9px;
  }

  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-col-title {
    margin-bottom: 8px;
  }

  .article-broadsheet-title {
    font-size: 22px;
    line-height: 1.22;
  }

  .article-editorial-body {
    font-size: 16px;
    line-height: 1.75;
  }

  .article-meta-stamp {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .meta-share-buttons {
    width: 100%;
    justify-content: flex-start;
    padding-top: 6px;
    border-top: 1px dashed var(--border-light);
  }
}
