/* ==========================================================================
   Jail411 News — Premium Dark Editorial Theme
   Inspired by The Marshall Project / Bloomberg / The Appeal
   ========================================================================== */

/* --------------------------------------------------------------------------
   Category Color System
   -------------------------------------------------------------------------- */
.cat-federal-prisons { --cat-color: #6366F1; --cat-bg: rgba(99, 102, 241, 0.12); }
.cat-state-prisons { --cat-color: #3B82F6; --cat-bg: rgba(59, 130, 246, 0.12); }
.cat-county-jails { --cat-color: #22D3EE; --cat-bg: rgba(34, 211, 238, 0.12); }
.cat-ice-immigration { --cat-color: #F59E0B; --cat-bg: rgba(245, 158, 11, 0.12); }
.cat-law-enforcement { --cat-color: #F43F5E; --cat-bg: rgba(244, 63, 94, 0.12); }
.cat-national { --cat-color: #10B981; --cat-bg: rgba(16, 185, 129, 0.12); }
.cat-policy-reform { --cat-color: #10B981; --cat-bg: rgba(16, 185, 129, 0.12); }
.cat-analysis { --cat-color: #A855F7; --cat-bg: rgba(168, 85, 247, 0.12); }
.cat-legal { --cat-color: #F43F5E; --cat-bg: rgba(244, 63, 94, 0.12); }
.cat-los-angeles { --cat-color: #F59E0B; --cat-bg: rgba(245, 158, 11, 0.12); }
.cat-staff-operations { --cat-color: #14B8A6; --cat-bg: rgba(20, 184, 166, 0.12); }
.cat-news { --cat-color: #3B82F6; --cat-bg: rgba(59, 130, 246, 0.12); }

/* ==========================================================================
   NEWS ARCHIVE PAGE (.news-page)
   ========================================================================== */

.news-page {
  background: #0B1222;
  min-height: 100vh;
}

/* --- Page Header --- */
.news-page-header {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.news-page-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #F1F5F9;
  letter-spacing: -0.02em;
  line-height: 1;
}

.news-page-header h1 span {
  color: #3B82F6;
}

.news-header-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: #3B82F6;
  margin-top: 8px;
  border-radius: 2px;
}

.news-header-meta {
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
  white-space: nowrap;
}

/* --- Topic Filter Bar --- */
.news-topics-bar {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.news-topics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-topic-pill {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.news-topic-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border-color: rgba(255, 255, 255, 0.12);
}

.news-topic-pill.active {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border-color: rgba(59, 130, 246, 0.3);
}

/* --- Featured Section --- */
.news-featured {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 24px;
}

.news-featured-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
}

/* Lead story — left side */
.news-lead {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111B2E;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}

.news-lead:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.news-lead-thumb {
  
  display: none;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.news-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-lead:hover .news-lead-thumb img {
  transform: scale(1.03);
}

.news-lead-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-lead .news-card-cat {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 16px;
  background: var(--cat-bg, rgba(59, 130, 246, 0.12));
  color: var(--cat-color, #3B82F6);
}

.news-lead-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #F1F5F9;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.news-lead-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.news-lead:hover .news-lead-title a {
  color: #60A5FA;
}

.news-lead-excerpt {
  font-size: 15px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 20px;
  
}

/* Secondary featured stories — right side stacked */
.news-secondary-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-secondary {
  background: #111B2E;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: border-color 0.3s, transform 0.2s;
  flex: 1;
}

.news-secondary:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-1px);
}

.news-secondary-thumb {
  aspect-ratio: 16 / 8;
  display: none;
  overflow: hidden;
}

.news-secondary-thumb img {
  background: #0B1222;
  object-position: center center;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-secondary:hover .news-secondary-thumb img {
  background: #0B1222;
  object-position: center center;
  transform: scale(1.05);
}

.news-secondary-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-secondary .news-card-cat {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  background: var(--cat-bg, rgba(59, 130, 246, 0.12));
  color: var(--cat-color, #3B82F6);
}

.news-secondary-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #E2E8F0;
  line-height: 1.35;
  margin-bottom: 8px;
}

.news-secondary-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.news-secondary:hover .news-secondary-title a {
  color: #60A5FA;
}

/* --- Byline Component --- */
.news-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748B;
}

.news-byline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--cat-color, #3B82F6);
}

.news-byline-name {
  font-weight: 600;
  color: #94A3B8;
}

.news-byline-location {
  color: #64748B;
}

.news-byline-sep {
  color: #334155;
}

.news-byline-time {
  color: #475569;
}

.news-byline-readtime {
  color: #475569;
}

/* NEW badge */
.news-badge-new {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 3px;
  background: #EF4444;
  color: #FFF;
  margin-left: 6px;
  vertical-align: middle;
  animation: news-pulse 2s ease-in-out infinite;
}

@keyframes news-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* --- Divider --- */
.news-divider {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.news-divider hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   MAIN CONTENT AREA — Grid + Sidebar
   ========================================================================== */

.news-content-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
}

/* --- Section Headers --- */
.news-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.news-section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: -0.01em;
}

.news-section-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

/* --- Main Grid Cards --- */
.news-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Dark News Card */
.ncard {
  background: #0D1526;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.3s, box-shadow 0.3s;
}

.ncard:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.ncard-thumb {
  display: block;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  position: relative;
}

.ncard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ncard:hover .ncard-thumb img {
  transform: scale(1.04);
}

.ncard-body {
  padding: 20px;
}

.ncard .news-card-cat {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
  background: var(--cat-bg, rgba(59, 130, 246, 0.12));
  color: var(--cat-color, #3B82F6);
}

.ncard-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #E2E8F0;
  line-height: 1.35;
  margin-bottom: 8px;
}

.ncard-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.ncard:hover .ncard-title a {
  color: #60A5FA;
}

.ncard-excerpt {
  font-size: 13.5px;
  color: #7C8DA6;
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* --- Our Reporters Widget --- */
.news-widget {
  background: #0D1526;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
}

.news-widget-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Reporter card */
.reporter-card {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: opacity 0.2s;
}

.reporter-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.reporter-card:hover {
  opacity: 0.85;
}

.reporter-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #60A5FA;
  flex-shrink: 0;
}

.reporter-info {
  flex: 1;
  min-width: 0;
}

.reporter-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 2px;
}

.reporter-beat {
  font-size: 12px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reporter-location {
  font-size: 11px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.reporter-location::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3B82F6;
}

/* --- Most Read Widget --- */
.most-read-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: mostread;
}

.most-read-item {
  counter-increment: mostread;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.most-read-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.most-read-num {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: rgba(59, 130, 246, 0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
}

.most-read-item a {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #CBD5E1;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}

.most-read-item a:hover {
  color: #60A5FA;
}

.most-read-meta {
  font-size: 11px;
  color: #475569;
  margin-top: 4px;
}

/* ==========================================================================
   PAGINATION — Dark Theme
   ========================================================================== */

.news-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.2s;
}

.news-pagination a:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #60A5FA;
  border-color: rgba(59, 130, 246, 0.3);
}

.news-pagination .current {
  background: #3B82F6;
  color: #FFF;
  border-color: #3B82F6;
  font-weight: 700;
}

.news-pagination .dots {
  background: none;
  border: none;
  color: #475569;
}

/* ==========================================================================
   SINGLE POST — Premium Editorial
   ========================================================================== */

.single-news-page {
  background: #F8FAFC;
}

/* --- Dark Hero --- */
.single-hero {
  background: linear-gradient(180deg, #0B1222 0%, #111B2E 100%);
  padding: 48px 24px 56px;
}

.single-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.single-hero .news-card-cat {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
  background: var(--cat-bg, rgba(59, 130, 246, 0.12));
  color: var(--cat-color, #3B82F6);
}

.single-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #F1F5F9;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* Author card in hero */
.single-author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.single-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #60A5FA;
  flex-shrink: 0;
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.single-author-info {
  flex: 1;
}

.single-author-name {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #E2E8F0;
}

.single-author-meta {
  font-size: 13px;
  color: #64748B;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.single-author-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Article Body --- */
.single-article-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.single-featured-img {
  margin: -32px 0 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.single-featured-img img {
  width: 100%;
  display: block;
}

.single-article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
  color: #334155;
}

.single-article-body p {
  margin-bottom: 1.5em;
}

.single-article-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0F172A;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}

.single-article-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1E293B;
  margin: 36px 0 12px;
}

.single-article-body a {
  color: #2563EB;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  transition: text-decoration-color 0.2s;
}

.single-article-body a:hover {
  text-decoration-color: #2563EB;
}

/* Pull quotes */
.single-article-body blockquote {
  border: none;
  background: none;
  padding: 32px 0;
  margin: 40px 0;
  position: relative;
  border-top: 2px solid #3B82F6;
  border-bottom: 2px solid #3B82F6;
}

.single-article-body blockquote p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.4;
  font-style: normal;
}

.single-article-body blockquote p:last-child {
  margin-bottom: 0;
}

.single-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 32px 0;
}

.single-article-body ul,
.single-article-body ol {
  margin: 0 0 1.5em 1.5em;
}

.single-article-body ul { list-style: disc; }
.single-article-body ol { list-style: decimal; }

.single-article-body li {
  margin-bottom: 0.6em;
}

/* --- Author Bio Box --- */
.single-author-bio {
  background: #F1F5F9;
  border-radius: 12px;
  padding: 28px;
  margin: 48px auto;
  max-width: 720px;
  display: flex;
  gap: 20px;
}

.single-author-bio .bio-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0B1222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #60A5FA;
  flex-shrink: 0;
}

.single-author-bio .bio-content {
  flex: 1;
}

.single-author-bio .bio-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.single-author-bio .bio-beat {
  font-size: 13px;
  color: #3B82F6;
  font-weight: 600;
  margin-bottom: 8px;
}

.single-author-bio .bio-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* --- More from Author --- */
.single-more-from {
  max-width: 720px;
  margin: 0 auto 48px;
}

.single-more-from h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E2E8F0;
}

.more-from-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.more-from-card {
  background: #FFF;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  padding: 16px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.more-from-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.more-from-card .mf-cat {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
  background: var(--cat-bg, rgba(59, 130, 246, 0.1));
  color: var(--cat-color, #3B82F6);
}

.more-from-card .mf-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.35;
  margin-bottom: 8px;
}

.more-from-card:hover .mf-title {
  color: #2563EB;
}

.more-from-card .mf-date {
  font-size: 12px;
  color: #94A3B8;
}

/* --- Related Stories (on single) --- */
.single-related {
  background: #0B1222;
  padding: 48px 24px 56px;
}

.single-related-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.single-related h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.single-related .news-main-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .news-featured-grid {
    grid-template-columns: 1fr;
  }

  .news-secondary {
    grid-template-columns: 180px 1fr;
  }

  .news-content-wrap {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 24px;
  }

  .news-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-hero-title {
    font-size: 2rem;
  }

  .more-from-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .single-related .news-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .news-page-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 16px 0;
  }

  .news-page-header h1 {
    font-size: 26px;
  }

  .news-topics-bar {
    padding: 20px 16px 0;
  }

  .news-topics {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .news-topics::-webkit-scrollbar {
    display: none;
  }

  .news-topic-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .news-featured {
    padding: 24px 16px;
  }

  .news-featured-grid {
    grid-template-columns: 1fr;
  }

  .news-secondary {
    grid-template-columns: 120px 1fr;
  }

  .news-secondary-body {
    padding: 14px;
  }

  .news-secondary-title {
    font-size: 14px;
  }

  .news-lead-body {
    padding: 20px;
  }

  .news-lead-title {
    font-size: 22px;
  }

  .news-content-wrap {
    padding: 24px 16px 48px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .news-main-grid {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    grid-template-columns: 1fr;
  }

  .news-divider {
    padding: 0 16px;
  }

  /* Single */
  .single-hero {
    padding: 32px 16px 40px;
  }

  .single-hero-title {
    font-size: 1.6rem;
  }

  .single-article-wrap {
    padding: 0 16px;
  }

  .single-article-body {
    font-size: 16px;
  }

  .single-article-body blockquote p {
    font-size: 1.15rem;
  }

  .single-author-bio {
    flex-direction: column;
    gap: 14px;
  }

  .more-from-grid {
    grid-template-columns: 1fr;
  }

  .single-related {
    padding: 36px 16px 44px;
  }

  .single-related .news-main-grid {
    grid-template-columns: 1fr;
  }

  .single-author-card {
    flex-wrap: wrap;
  }

  .single-author-meta {
    gap: 8px;
  }
}

/* Override light-theme news-grid and news-card styles when on news page */
.news-page .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-page .news-card {
  background: #0D1526;
  border-color: rgba(255, 255, 255, 0.05);
}

.news-page .news-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.news-page .news-card-title {
  color: #E2E8F0;
}

.news-page .news-card-title a:hover {
  color: #60A5FA;
}

.news-page .news-card-excerpt {
  color: #7C8DA6;
}

.news-page .news-card-date {
  color: #475569;
}

/* Ad units in news grid */
.news-main-grid .j411-ad {
  grid-column: 1 / -1;
}


/* Author headshot photos */
.single-author-avatar.has-photo,
.bio-avatar.has-photo,
.reporter-avatar.has-photo {
  padding: 0;
  overflow: hidden;
}
.single-author-avatar.has-photo img,
.bio-avatar.has-photo img,
.reporter-avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}



/* ============================================
   TIP SUBMISSION PAGE — "Classified Dossier"
   Secure intelligence briefing aesthetic
   ============================================ */

/* --- Keyframes --- */
@keyframes tipScanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes tipStampIn {
  0% { transform: scale(1.8) rotate(-8deg); opacity: 0; }
  50% { transform: scale(0.95) rotate(-3deg); opacity: 1; }
  100% { transform: scale(1) rotate(-2deg); opacity: 1; }
}

@keyframes tipPulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(34, 211, 238, 0.05), 0 0 60px rgba(34, 211, 238, 0.02); }
  50% { box-shadow: 0 0 30px rgba(34, 211, 238, 0.1), 0 0 80px rgba(34, 211, 238, 0.04); }
}

@keyframes tipFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tipRedact {
  0% { width: 0; }
  100% { width: 60px; }
}

@keyframes tipBorderDash {
  to { stroke-dashoffset: -20; }
}

/* --- Hero --- */
.tip-hero {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(34, 211, 238, 0.008) 2px,
      rgba(34, 211, 238, 0.008) 4px
    ),
    linear-gradient(180deg, #070D1A 0%, #0B1222 40%, #0E1830 100%);
  padding: 100px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(34, 211, 238, 0.12);
}

.tip-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34, 211, 238, 0.0) 10%,
    rgba(34, 211, 238, 0.6) 30%,
    #22D3EE 50%,
    rgba(34, 211, 238, 0.6) 70%,
    rgba(34, 211, 238, 0.0) 90%,
    transparent 100%
  );
}

.tip-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.15) 0%, transparent 100%);
  pointer-events: none;
}

.tip-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: tipFadeUp 0.6s ease-out both;
}

.tip-hero-badge {
  display: inline-block;
  padding: 7px 22px;
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px dashed rgba(239, 68, 68, 0.5);
  border-radius: 2px;
  font-family: "Outfit", sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #EF4444;
  margin-bottom: 28px;
  position: relative;
  animation: tipStampIn 0.5s ease-out 0.2s both;
  transform: rotate(-2deg);
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.tip-hero-badge::before,
.tip-hero-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: rgba(239, 68, 68, 0.35);
  transform: translateY(-50%);
}

.tip-hero-badge::before { left: -28px; }
.tip-hero-badge::after { right: -28px; }

.tip-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.tip-hero-desc {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.0625rem;
  color: #94A3B8;
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Content Area --- */
.tip-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  position: relative;
}

/* Vertical dossier line */
.tip-content::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(34, 211, 238, 0.1) 0px,
    rgba(34, 211, 238, 0.1) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* --- Info Cards --- */
.tip-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
  animation: tipFadeUp 0.6s ease-out 0.3s both;
}

.tip-info-card {
  background: linear-gradient(135deg, rgba(14, 24, 48, 0.9) 0%, rgba(11, 18, 34, 0.95) 100%);
  border: 1px solid rgba(34, 211, 238, 0.08);
  border-radius: 6px;
  padding: 28px 20px 24px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tip-info-card:hover {
  border-color: rgba(34, 211, 238, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(34, 211, 238, 0.03);
}

.tip-info-card:hover::before {
  opacity: 1;
}

.tip-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #22D3EE;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tip-info-card:hover .tip-info-icon {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.25);
}

.tip-info-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.tip-info-card p {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.8125rem;
  color: #8896AB;
  line-height: 1.55;
  margin: 0;
}

/* --- Form --- */
.tip-form {
  counter-reset: tip-section;
}

.tip-form-section {
  margin-bottom: 0;
  padding: 32px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  animation: tipFadeUp 0.5s ease-out both;
}

.tip-form-section:nth-child(1) { animation-delay: 0.35s; }
.tip-form-section:nth-child(2) { animation-delay: 0.45s; }
.tip-form-section:nth-child(3) { animation-delay: 0.55s; }
.tip-form-section:nth-child(4) { animation-delay: 0.65s; }

.tip-form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 24px;
}

.tip-form-section h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: #3B82F6;
  margin: 0 0 6px;
  padding-left: 36px;
  position: relative;
  letter-spacing: -0.01em;
  counter-increment: tip-section;
}

.tip-form-section h2::before {
  content: "0" counter(tip-section);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: "Outfit", sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #22D3EE;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* Redaction bar accent after section header */
.tip-form-section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(34, 211, 238, 0.25);
  margin-top: 12px;
  border-radius: 1px;
  animation: tipRedact 0.4s ease-out both;
}

.tip-section-note {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.8125rem;
  color: #8896AB;
  margin: 0 0 22px;
  padding-left: 36px;
  line-height: 1.5;
}

/* --- Fields --- */
.tip-field {
  margin-bottom: 20px;
}

.tip-field label {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #3B82F6;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tip-field .req {
  color: #EF4444;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.tip-field input[type="text"],
.tip-field input[type="email"],
.tip-field select,
.tip-field textarea {
  width: 100%;
  padding: 14px 18px;
  background: #1A2540;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 4px;
  color: #fff;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
}

.tip-field input[type="text"]::placeholder,
.tip-field input[type="email"]::placeholder,
.tip-field textarea::placeholder {
  color: #8896AB;
}

.tip-field input:focus,
.tip-field select:focus,
.tip-field textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
  border-left-color: #3B82F6;
  background: #1E2D4A;
  box-shadow:
    0 0 0 3px rgba(34, 211, 238, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 0 30px rgba(34, 211, 238, 0.01);
}

.tip-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2322D3EE' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.tip-field textarea {
  resize: vertical;
  min-height: 180px;
}

.tip-char-count {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.6875rem;
  color: #7082A0;
  margin-top: 8px;
  letter-spacing: 0.03em;
}

.tip-field-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

/* --- Checkbox --- */
.tip-checkbox {
  display: flex !important;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px 16px;
  background: rgba(34, 211, 238, 0.03);
  border: 1px dashed rgba(34, 211, 238, 0.12);
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tip-checkbox:hover {
  background: rgba(34, 211, 238, 0.05);
  border-color: rgba(34, 211, 238, 0.2);
}

.tip-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #22D3EE;
  flex-shrink: 0;
}

.tip-checkbox span {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9375rem;
  color: #CBD5E1;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.tip-contact-field {
  transition: opacity 0.3s ease;
  margin-top: 16px;
}

.tip-field-note {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.6875rem;
  color: #7082A0;
  margin: 8px 0 0;
  line-height: 1.4;
  padding-left: 18px;
  position: relative;
}

.tip-field-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 8px;
  height: 1px;
  background: rgba(34, 211, 238, 0.25);
}

/* --- Submit --- */
.tip-form-submit {
  text-align: center;
  padding-top: 32px;
  animation: tipFadeUp 0.5s ease-out 0.75s both;
}

.tip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 44px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15) 0%, rgba(34, 211, 238, 0.08) 100%);
  color: #22D3EE;
  font-family: "Outfit", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid rgba(34, 211, 238, 0.3);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  animation: tipPulseGlow 3s ease-in-out infinite;
}

.tip-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #22D3EE 0%, #3B82F6 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.tip-btn:hover {
  color: #fff;
  border-color: #22D3EE;
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(34, 211, 238, 0.2),
    0 0 60px rgba(34, 211, 238, 0.08);
  animation: none;
}

.tip-btn:hover::before {
  opacity: 1;
}

.tip-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(34, 211, 238, 0.15);
}

.tip-btn-submit {
  min-width: 260px;
}

.tip-submit-note {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.6875rem;
  color: #7082A0;
  margin: 20px 0 0;
  letter-spacing: 0.02em;
}

/* --- Success State --- */
.tip-success {
  text-align: center;
  padding: 72px 0;
  animation: tipFadeUp 0.6s ease-out both;
}

.tip-success-icon {
  color: #22D3EE;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.3));
}

.tip-success h2 {
  font-family: "Outfit", sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.tip-success p {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  color: #94A3B8;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 14px;
}

.tip-success-note {
  font-size: 0.8125rem !important;
  color: rgba(255, 255, 255, 0.3) !important;
  font-style: italic;
  margin-bottom: 36px !important;
  padding: 12px 20px;
  border: 1px dashed rgba(34, 211, 238, 0.12);
  border-radius: 3px;
  display: inline-block;
}

.tip-success .tip-btn {
  margin-top: 8px;
}

/* --- Error --- */
.tip-error {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-left: 3px solid #EF4444;
  border-radius: 3px;
  padding: 16px 20px;
  color: #FCA5A5;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.875rem;
  margin-bottom: 36px;
  position: relative;
  line-height: 1.5;
}

.tip-error::before {
  content: "!";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: #EF4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #fff;
  line-height: 22px;
  text-align: center;
}

/* --- Mobile --- */
@media (max-width: 640px) {
  .tip-hero {
    padding: 72px 20px 52px;
  }

  .tip-hero h1 {
    font-size: 2rem;
  }

  .tip-hero-desc {
    font-size: 0.9375rem;
  }

  .tip-info-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tip-info-card {
    padding: 20px 18px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 14px;
    text-align: left;
  }

  .tip-info-icon {
    grid-row: 1 / 3;
    margin: 0;
    align-self: center;
  }

  .tip-info-card h3 {
    align-self: end;
    margin-bottom: 2px;
  }

  .tip-info-card p {
    align-self: start;
  }

  .tip-field-row {
    grid-template-columns: 1fr;
  }

  .tip-content {
    padding: 36px 20px 72px;
  }

  .tip-content::before {
    display: none;
  }

  .tip-form-section h2 {
    font-size: 1rem;
    padding-left: 30px;
  }

  .tip-section-note {
    padding-left: 30px;
  }

  .tip-form-section h2::before {
    font-size: 0.625rem;
  }

  .tip-btn-submit {
    min-width: 200px;
    width: 100%;
  }
}
