
/* Container Layout */
.container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   HOME SHOWCASE & EDITORIAL PORTAL STYLES
   Directly derived from C:\Users\DELL\Downloads\Builtin-Clone\Builtin-Clone
   ========================================================================== */

/* Sub-Navigation Bar */
.home-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}
.home-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 16px;
  overflow-x: auto;
}
.home-subnav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.subnav-item {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-2, #07006c);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.subnav-item:hover,
.subnav-item.active {
  color: var(--blue, #244fe7);
  border-bottom-color: var(--blue, #244fe7);
}
.home-subnav-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #10b981;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulse 2s infinite;
}
.subnav-explore-btn {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue, #244fe7) !important;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
}
.subnav-explore-btn:hover {
  text-decoration: underline;
}

/* Section Common Headers */
.editorial-sec-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0f172a;
  margin-bottom: 18px;
}
.editorial-sec-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f172a;
}
.editorial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue, #244fe7);
}

/* Editorial Showcase 12-Col Grid */
.home-editorial-section {
  padding: 28px 0 36px;
}
.editorial-grid-12 {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 32px;
  align-items: start;
}

/* Left 8 Cols (Today's Picks) */
.todays-picks-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: stretch;
}
.article-lead-card {
  display: flex;
  flex-direction: column;
  padding-top: 2px;
  height: 100%;
}
.article-lead-img-wrap {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 22px;
  background: #0f172a;
  aspect-ratio: 16 / 10;
  min-height: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.article-lead-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.article-lead-card:hover .article-lead-img-wrap img {
  transform: scale(1.02);
}
.article-lead-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue, #244fe7);
  margin-bottom: 6px;
}
.article-lead-card .article-kicker {
  margin-top: 4px;
  margin-bottom: 8px;
}
.article-lead-title {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.28;
  color: #0f172a;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.article-lead-title a {
  color: inherit;
  text-decoration: none;
}
.article-lead-title a:hover {
  color: var(--blue, #244fe7);
}
.article-lead-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 16px;
}
.article-author-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-top: auto;
}
.article-lead-card .article-author-tag {
  margin-top: auto;
}

/* Stacked Stories in Today's Picks */
.todays-picks-stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stacked-story {
  display: flex;
  flex-direction: column;
}
.stacked-story + .stacked-story {
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}
.stacked-img-wrap {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 10px;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
}
.stacked-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.stacked-story:hover .stacked-img-wrap img {
  transform: scale(1.03);
}
.stacked-title {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 8px;
}
.stacked-title a {
  color: inherit;
  text-decoration: none;
}
.stacked-title a:hover {
  color: var(--blue, #244fe7);
}

/* Right 4 Cols (Most Recent) */
.most-recent-list {
  display: flex;
  flex-direction: column;
}
.recent-row-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #e2e8f0;
  text-decoration: none;
}
.recent-row-item:first-child {
  padding-top: 0;
}
.recent-row-item:last-child {
  border-bottom: none;
}
.recent-row-left {
  flex: 1;
  min-width: 0;
}
.recent-row-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 4px 0 6px;
  transition: color 0.15s ease;
}
.recent-row-item:hover .recent-row-title {
  color: var(--blue, #244fe7);
}
.recent-thumb-img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   Section 3: Best Tech & Engineering Jobs (3x3 Grid)
   ========================================================================== */
.home-best-jobs-section {
  padding: 32px 0 40px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.best-jobs-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.best-jobs-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.best-jobs-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}
.flame-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
}
.best-jobs-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.best-job-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.best-job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.best-job-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.best-job-logo {
  width: 84px;
  height: 84px;
  min-width: 84px;
  min-height: 84px;
  border-radius: 10px;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.best-job-logo img {
  width: 100%;
  height: 100%;
  max-width: 84px;
  max-height: 84px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
}
.best-job-role-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 3px;
  transition: color 0.15s ease;
}
.best-job-card:hover .best-job-role-title {
  color: var(--blue, #244fe7);
}
.best-job-company-name {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.best-job-salary {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--blue, #244fe7);
  margin: 10px 0 12px;
}
.best-job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.best-job-pill {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}
.best-job-action {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue, #244fe7) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
}

/* ==========================================================================
   Section 4: Split Company Directory & Featured Poster
   ========================================================================== */
.home-split-directory-section {
  padding: 44px 0;
}
.split-dir-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
  align-items: stretch;
}
.poster-card-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #09005f;
  display: block;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(9, 0, 95, 0.12);
  transition: transform 0.2s ease;
  height: 100%;
}
.poster-card-wrap:hover {
  transform: translateY(-2px);
}
.poster-card-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.dir-content-wrap {
  display: flex;
  flex-direction: column;
}
.dir-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.dir-header-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dir-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--blue, #244fe7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dir-title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}
.dir-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0;
}
.dir-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.dir-input-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.dir-input-wrap input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12.5px;
  outline: none;
}
.dir-input-wrap input:focus {
  border-color: var(--blue, #244fe7);
}
.dir-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}
.dir-select {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12.5px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
}
.dir-count-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue, #244fe7);
  background: #eff6ff;
  border: none !important;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}
.dir-companies-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}
.dir-companies-list::-webkit-scrollbar {
  width: 6px;
}
.dir-companies-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 8px;
}
.dir-companies-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.dir-companies-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.dir-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748b;
  padding: 8px 4px 0;
  margin-top: 6px;
  border-top: none !important;
}
.dir-company-row {
  background: #ffffff;
  border: none !important;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.dir-company-row:hover {
  background: #f8fafc !important;
  border-color: transparent !important;
}
.dir-company-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.dir-logo-box {
  width: 84px;
  height: 84px;
  min-width: 84px;
  min-height: 84px;
  border-radius: 10px;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.dir-logo-box img {
  width: 100%;
  height: 100%;
  max-width: 84px;
  max-height: 84px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
}
.dir-comp-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dir-comp-tagline {
  font-size: 13px;
  color: #64748b;
  margin: 3px 0 6px;
  line-height: 1.4;
}
.dir-comp-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dir-tag-pill {
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}
.dir-company-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.dir-roles-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.dir-badge-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 9999px;
  border: 1.5px solid #244fe7;
  background: transparent !important;
  color: #244fe7 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-sizing: border-box;
}
.dir-roles-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.dir-jobs-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7 !important;
  color: #166534 !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  white-space: nowrap;
}
.dir-view-btn {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--blue, #244fe7) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dir-view-btn:hover {
  text-decoration: underline !important;
}

/* ==========================================================================
   Section 5: Latest Opportunities Carousel
   ========================================================================== */
.home-opportunities-section {
  padding: 36px 0 48px;
}
.opp-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.opp-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #0f172a;
}
.opp-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.opp-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue, #244fe7) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}
.opp-arrow-btn:hover {
  color: #004182 !important;
  transform: scale(1.1);
}
.opp-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.opp-card {
  background: #ffffff;
  border: none !important;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.opp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1) !important;
}
.opp-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
  position: relative;
}
.opp-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.opp-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.opp-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.opp-company-logo {
  width: 84px;
  height: 84px;
  min-width: 84px;
  min-height: 84px;
  border-radius: 10px;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.opp-company-logo img {
  width: 100%;
  height: 100%;
  max-width: 84px;
  max-height: 84px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
}
.opp-company-name {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
}
.opp-job-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 10px;
}
.opp-job-title a {
  color: inherit;
  text-decoration: none;
}
.opp-job-title a:hover {
  color: var(--blue, #244fe7);
}
.opp-card-meta {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.opp-salary-badge {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}
.opp-apply-btn {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--blue, #244fe7) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.opp-apply-btn:hover {
  text-decoration: underline !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 860px) {
  .editorial-grid-12 {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-dir-grid {
    grid-template-columns: 1fr;
  }
  .poster-card-wrap {
    max-height: 240px;
  }
  .best-jobs-grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .opp-carousel-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .todays-picks-layout {
    grid-template-columns: 1fr;
  }
  .article-lead-img-wrap {
    aspect-ratio: 16 / 10;
    min-height: auto;
    margin-bottom: 16px;
  }
  .best-jobs-grid-3x3 {
    grid-template-columns: 1fr;
  }
  .opp-carousel-track {
    grid-template-columns: 1fr;
  }
  .dir-company-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .dir-company-right {
    width: 100%;
    justify-content: space-between;
  }
}


/* ==========================================================================
   USER STRICT DESIGN RULE:
   - ALL BUTTONS WITH COLOR ON TEXT INSTEAD OF BLACK
   - NEVER ADD COLOR BEHIND (BACKGROUND: TRANSPARENT)
   - NEVER HAVE BORDER (BORDER: NONE)
   ========================================================================== */
.subnav-item,
.subnav-explore-btn,
.best-job-action,
.dir-view-btn,
.opp-apply-btn,
.opp-arrow-btn,
.flame-pill {
  color: #244fe7 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.subnav-item:hover,
.subnav-item.active,
.subnav-explore-btn:hover,
.best-job-action:hover,
.dir-view-btn:hover,
.opp-apply-btn:hover,
.opp-arrow-btn:hover {
  color: #1d4ed8 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: underline !important;
}

.subnav-item.active {
  border-bottom: 2px solid #244fe7 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
}



/* ==========================================================================
   ARTICLE EDITORIAL PAGE (BBC & BUILT IN STANDARD)
   ========================================================================== */
.article-detail-page-container {
  background: #ffffff;
  min-height: 100vh;
  padding-bottom: 80px;
}
.article-breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}
.article-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
}
.article-breadcrumb-inner a {
  color: #07006c;
  text-decoration: none;
  font-weight: 600;
}
.article-breadcrumb-inner a:hover {
  color: #244fe7;
  text-decoration: underline;
}
.crumb-sep {
  color: #cbd5e1;
}
.crumb-current {
  color: #1e293b;
  font-weight: 600;
  max-width: 480px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editorial-canvas-wrapper {
  padding: 36px 0 60px;
}
.editorial-narrow-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.editorial-kicker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.editorial-kicker-pill {
  color: #ffffff;
  background: #0f172a;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.editorial-topic-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #244fe7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.editorial-star-headline {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-family: var(--font-montserrat, var(--font-display));
}
.editorial-excerpt-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
  margin: 0 0 24px;
  border-left: 3px solid #244fe7;
  padding-left: 16px;
}

/* Byline Bar */
.editorial-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}
.byline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.byline-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}
.byline-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.byline-sub-role {
  font-size: 12px;
  color: #64748b;
}
.byline-right-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
}
.byline-timestamp {
  display: flex;
  align-items: center;
  gap: 6px;
}
.byline-read-time {
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  color: #334155;
}

/* Social Share Bar */
.editorial-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.share-links-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.share-btn {
  font-size: 12.5px;
  font-weight: 700;
  color: #244fe7 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}
.share-btn:hover {
  color: #003366 !important;
  text-decoration: underline;
}

/* Hero Media Figure */
.editorial-hero-figure {
  margin: 0 0 32px 0;
}
.editorial-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  background: #0f172a;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.editorial-hero-caption {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 10px;
  font-style: italic;
  line-height: 1.5;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

/* Story Narrative Body */
.editorial-story-body {
  margin-bottom: 48px;
}
.editorial-subheading {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 16px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-family: var(--font-montserrat, var(--font-display));
}
.editorial-lead-para {
  font-size: 18px;
  line-height: 1.8;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 20px;
}
.editorial-para {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 20px;
}

/* Inline Figures Interspersed (BBC Style) */
.editorial-inline-figure {
  margin: 32px 0;
}
.editorial-inline-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 440px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.editorial-inline-caption {
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.45;
}

/* Stat Metrics Panel */
.editorial-stat-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin: 36px 0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.stat-card-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-card-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.stat-metric-cell {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}
.stat-metric-val {
  font-size: 28px;
  font-weight: 900;
  color: #244fe7;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-metric-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
}

/* Pullquote Box */
.editorial-quote-box {
  background: #f8fafc;
  border-left: 4px solid #244fe7;
  border-radius: 0 14px 14px 0;
  margin: 36px 0;
  padding: 24px 28px;
  position: relative;
}
.editorial-quote-decor {
  font-size: 54px;
  line-height: 1;
  color: #cbd5e1;
  font-family: Georgia, serif;
  position: absolute;
  top: 10px;
  right: 20px;
}
.editorial-quote-p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  color: #0f172a;
  margin: 0 0 10px;
  font-style: italic;
}
.editorial-quote-cite {
  font-size: 12.5px;
  font-weight: 700;
  color: #244fe7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

/* Tags Strip */
.editorial-tags-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin: 32px 0;
}
.tags-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  margin-right: 6px;
}
.tag-pill-link {
  font-size: 12px;
  font-weight: 700;
  color: #244fe7 !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none;
}
.tag-pill-link:hover {
  text-decoration: underline;
}

/* Sources Footnote */
.editorial-sources-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 12px;
  color: #475569;
  line-height: 1.55;
}
.sources-header {
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Author Bio Card */
.editorial-author-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin: 36px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.author-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-card-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}
.author-card-role {
  font-size: 12.5px;
  font-weight: 700;
  color: #244fe7;
  margin: 0 0 6px;
}
.author-card-bio {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* Bottom Curated & Trending Reading Section */
.editorial-bottom-related-section {
  border-top: 2px solid #0f172a;
  margin-top: 56px;
  padding-top: 40px;
}
.related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.related-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #244fe7;
  display: block;
  margin-bottom: 4px;
}
.related-heading {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}
.link-all-articles {
  font-size: 13px;
  font-weight: 800;
  color: #244fe7 !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none;
}
.link-all-articles:hover {
  text-decoration: underline;
}

/* 3-Column Highlights Grid */
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.related-article-card {
  display: flex;
  flex-direction: column;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  overflow: visible;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.related-article-card:hover {
  transform: translateY(-3px);
  box-shadow: none !important;
}
.related-time-row {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 12px;
  font-weight: 700;
  color: #244fe7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.related-title {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 18px;
  font-weight: 700;
  color: #001a33;
  line-height: 1.35;
  margin: 0 0 12px 0;
  letter-spacing: -0.2px;
  transition: color 0.15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-article-card:hover .related-title {
  color: #244fe7;
}
.related-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  margin-bottom: 12px;
}
.related-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.related-article-card:hover .related-thumb {
  transform: scale(1.05);
}
.related-category-pill {
  display: none !important;
}
.related-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-excerpt {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

/* Trending Stories List (Matching /jobs Sizing) */
.trending-stories-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 36px;
  margin-top: 48px;
}
.trending-section-title {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #001a33;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trending-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #244fe7;
}
.trending-stories-list {
  display: flex;
  flex-direction: column;
}
.trending-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.trending-row-item:last-child {
  border-bottom: none;
}
.trending-row-left {
  flex: 1;
  min-width: 0;
}
.trending-time-pill {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 13px;
  font-weight: 700;
  color: #244fe7;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trending-title {
  font-family: var(--font-montserrat, var(--font-display));
  font-size: 18.5px;
  font-weight: 700;
  color: #001a33;
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
  transition: color 0.15s ease;
}
.trending-row-item:hover .trending-title {
  color: #244fe7;
}
.trending-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-thumb {
  width: 230px;
  height: 145px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.trending-row-item:hover .trending-thumb {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .editorial-star-headline {
    font-size: 26px;
  }
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
  .trending-row-item {
    flex-direction: column-reverse;
  }
  .trending-thumb {
    width: 100%;
    height: 160px;
  }
}


/* ==========================================================================
   FREIGHTWAVES TODAY / VIDEO CAROUSEL SECTION (Under Today's Picks)
   ========================================================================== */
.fwt-section {
  padding: 40px 0 44px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.fwt-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
  margin-bottom: 24px;
  position: relative;
}

.fwt-header-title-wrap {
  position: relative;
  display: inline-block;
}

.fwt-header-title {
  font-size: 24px;
  font-weight: 700;
  color: #174ea6;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.fwt-header-bar {
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 46px;
  height: 3px;
  background: #0066cc;
  border-radius: 2px;
}

.fwt-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.fwt-nav-btn {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #64748b;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.18s ease;
  padding: 0;
}

.fwt-nav-btn:hover {
  border-color: #0066cc;
  color: #0066cc;
  background: #f0f7ff;
}

/* Track grid / carousel */
.fwt-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fwt-track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .fwt-track {
    grid-auto-columns: calc((100% - 72px) / 4);
  }
}

/* Card */
.fwt-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  position: relative;
}

.fwt-thumb-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0c1524;
  aspect-ratio: 16 / 9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

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

.fwt-card:hover .fwt-thumb-img {
  transform: scale(1.03);
}

.fwt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  padding-left: 2px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.fwt-card:hover .fwt-play-btn {
  background: #0066cc;
  border-color: #0066cc;
  transform: translate(-50%, -50%) scale(1.1);
}

.fwt-share-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.18s ease;
  z-index: 2;
  padding: 0;
}

.fwt-share-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.fwt-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fwt-series-tag {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 4px;
}

.fwt-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.fwt-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.fwt-card-title a:hover {
  color: #0066cc;
}

.fwt-card-date {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}

.fwt-card-excerpt {
  font-size: 12.5px;
  line-height: 1.45;
  color: #334155;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Standing rule: Colored text, transparent background, zero border */
.fwt-read-more-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #0066cc !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  cursor: pointer;
  width: fit-content;
  display: inline-block;
  transition: opacity 0.15s ease;
}

.fwt-read-more-link:hover {
  opacity: 0.8;
  text-decoration: underline !important;
}

/* Video Player Modal */
.fwt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fwt-modal-card {
  background: #ffffff;
  border-radius: 12px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.fwt-modal-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
}

.fwt-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.fwt-modal-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.fwt-modal-close:hover {
  color: #0f172a;
}

.fwt-modal-body {
  padding: 20px;
}

.fwt-modal-player-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fwt-modal-player-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.fwt-modal-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
}

.fwt-big-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0066cc;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(0, 102, 204, 0.6);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.fwt-big-play-btn:hover {
  transform: scale(1.08);
  background: #0052a3;
}

.fwt-modal-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.fwt-badge-pill {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.fwt-modal-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 16px;
}

/* 2-Column Editorial & Popular Sidebar */
.editorial-two-col-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 44px !important;
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.editorial-main-column {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  max-width: 780px !important;
}

.editorial-sidebar-column {
  width: 350px !important;
  min-width: 350px !important;
  max-width: 350px !important;
  position: sticky !important;
  top: 90px !important;
  align-self: flex-start !important;
  flex-shrink: 0 !important;
}

@media (max-width: 1024px) {
  .editorial-two-col-container {
    flex-direction: column !important;
    gap: 36px !important;
    padding: 0 16px !important;
  }
  .editorial-main-column {
    max-width: 100% !important;
    width: 100% !important;
  }
  .editorial-sidebar-column {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    border-top: 2px solid #e2e8f0 !important;
    padding-top: 28px !important;
    margin-top: 10px !important;
  }
}
