.news-pub {
  --news-ink: #0a0a0a;
  --news-muted: #5b6573;
  --news-line: rgba(10, 10, 10, 0.12);
  --news-brand: #e10600;
  color: var(--news-ink);
}

.news-masthead {
  padding: 8.5rem 0 2.25rem;
  background: #0a0a0a;
  color: #fff;
}

.news-pub .news-masthead p,
.news-pub .news-masthead a,
.news-pub .news-article__hero p,
.news-pub .news-article__hero a,
.news-pub .news-article__hero time,
.news-pub .news-article__hero span,
.news-pub .news-article__deck,
.news-pub .news-article__times {
  color: rgba(255, 255, 255, 0.88);
}

.news-pub .news-masthead,
.news-pub .news-masthead h1,
.news-pub .news-article__hero,
.news-pub .news-article__hero h1 {
  color: #fff;
}

.news-masthead__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--news-brand);
}

.news-pub .news-article__hero .news-kicker {
  color: var(--news-brand);
}

.news-masthead__title {
  margin-top: 0.75rem;
  font-family: inherit;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.news-masthead__deck,
.news-author__bio,
.news-author__role {
  margin-top: 1rem;
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.news-author__role {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.news-author__links,
.news-transparency {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.news-transparency {
  padding: 2rem 0 4rem;
  color: var(--news-muted);
}

.news-transparency a,
.news-author__links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.news-sections a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.news-sections a.is-active,
.news-sections a:hover {
  color: #fff;
}

.news-breaking {
  background: var(--news-brand);
  color: #fff;
  padding: 0.7rem 0;
  font-size: 0.92rem;
}

.news-breaking__label {
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.news-breaking a {
  color: #fff;
  margin-right: 1.25rem;
}

.news-home {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 0 1rem;
}

@media (min-width: 1024px) {
  .news-home {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.news-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.news-category-band {
  padding: 1.25rem 0 2.5rem;
}

.news-category-band__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--news-ink);
  padding-bottom: 0.5rem;
}

.news-category-band__head a,
.news-chip {
  font-size: 0.8rem;
  font-weight: 700;
}

.news-grid,
.news-list {
  display: grid;
  gap: 1.25rem;
}

.news-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.news-listing {
  padding: 2rem 0 4rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border-bottom: 1px solid var(--news-line);
  padding-bottom: 1.1rem;
}

.news-card--featured {
  border-bottom: 0;
}

.news-card__media {
  display: block;
  overflow: hidden;
}

.news-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #111;
  color: #fff;
}

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

.news-cover__kicker {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.news-cover--bangladesh { background: linear-gradient(135deg, #0b3d2e, #e10600 120%); }
.news-cover--business { background: linear-gradient(135deg, #101820, #c5a572); }
.news-cover--technology { background: linear-gradient(135deg, #0a2540, #1d9bf0); }
.news-cover--cybersecurity { background: linear-gradient(135deg, #1a1024, #ff3b30); }
.news-cover--digital { background: linear-gradient(135deg, #111, #e10600); }
.news-cover--media { background: linear-gradient(135deg, #2b124c, #ff6b6b); }
.news-cover--education { background: linear-gradient(135deg, #123524, #8fd19e); }

.news-card__body { padding-top: 0.9rem; }

.news-card__meta,
.news-article__times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  font-size: 0.75rem;
  color: var(--news-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-kicker,
.news-card__meta .news-kicker {
  color: var(--news-brand);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.news-card__headline {
  margin-top: 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.news-card--featured .news-card__headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.news-card__headline a:hover,
.news-article a:hover {
  color: var(--news-brand);
}

.news-card__standfirst {
  margin-top: 0.45rem;
  color: var(--news-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.news-card__byline {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-article__hero {
  padding: 8.5rem 0 2rem;
  background: #0a0a0a;
  color: #fff;
}

.news-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.news-article__headline {
  margin-top: 0.85rem;
  max-width: 52rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.news-article__deck {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

.news-article__byline {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: flex-end;
}

.news-article__role {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.news-article__figure {
  margin: 0 0 2rem;
}

.news-article__figure img {
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
}

.news-article__figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--news-muted);
}

.news-credit {
  display: block;
  font-style: italic;
}

.news-sources,
.news-authorbox,
.news-rail {
  margin-top: 2rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--news-line);
}

.news-rail {
  border: 1px solid var(--news-line);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
}

.news-rail h2,
.news-sources h2 {
  font-size: 1rem;
  font-weight: 800;
}

.news-rail ul {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.85rem;
}

.news-rail li p {
  font-size: 0.75rem;
  color: var(--news-muted);
}

.news-tags,
.news-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
  align-items: center;
}

.news-tags a,
.news-share a,
.news-share button,
.news-chip {
  border: 1px solid var(--news-line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: #fff;
}

.news-chip.is-active {
  background: var(--news-brand);
  color: #fff;
  border-color: var(--news-brand);
}

.news-corrections-note,
.news-sources__note,
.news-empty {
  margin-top: 1.5rem;
  color: var(--news-muted);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .news-masthead,
  .news-article__hero {
    padding-top: 7rem;
  }
  .news-masthead__deck {
    font-size: 1.02rem;
    line-height: 1.55;
    color: #f4f6f8;
  }
  .news-card__headline {
    font-size: 1.15rem;
    overflow-wrap: anywhere;
  }
  .news-article__headline {
    overflow-wrap: anywhere;
  }
  .news-pub {
    padding-bottom: 6.5rem;
  }
  .news-home,
  .news-listing,
  .news-category-band {
    padding-right: 1.25rem;
  }
}

/* Beat .dg-site dark-text rules on black editorial chrome */
.dg-site .news-pub .news-masthead,
.dg-site .news-pub .news-masthead h1,
.dg-site .news-pub .news-masthead h2,
.dg-site .news-pub .news-masthead p,
.dg-site .news-pub .news-masthead a,
.dg-site .news-pub .news-masthead span,
.dg-site .news-pub .news-masthead li,
.dg-site .news-pub .news-article__hero,
.dg-site .news-pub .news-article__hero h1,
.dg-site .news-pub .news-article__hero p,
.dg-site .news-pub .news-article__hero a,
.dg-site .news-pub .news-article__hero span,
.dg-site .news-pub .news-article__hero time,
.dg-site .news-pub .news-article__deck,
.dg-site .news-pub .news-article__times,
.dg-site .news-pub .news-crumbs,
.dg-site .news-pub .news-sections a {
  color: #ffffff !important;
}

.dg-site .news-pub .news-masthead__kicker,
.dg-site .news-pub .news-article__hero .news-kicker,
.dg-site .news-pub .news-kicker {
  color: #ff6b6b !important;
}

.dg-site .news-pub .news-masthead__deck,
.dg-site .news-pub .news-sections a {
  color: rgba(255, 255, 255, 0.92) !important;
}

.dg-site .news-pub .news-sections a.is-active,
.dg-site .news-pub .news-sections a:hover {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dg-site .news-pub .news-article__role,
.dg-site .news-pub .news-crumbs {
  color: rgba(255, 255, 255, 0.78) !important;
}
