/* =========================================================
   DIGITIZER NEWSROOM
   Text-only editorial archive
========================================================= */

.dz-newsroom {
  --dz-news-bg: #f5f2eb;
  --dz-news-surface: #fbfaf7;
  --dz-news-text: #111111;
  --dz-news-muted: #67635d;
  --dz-news-line: rgba(17, 17, 17, 0.24);
  --dz-news-line-soft: rgba(17, 17, 17, 0.12);
  --dz-news-accent: #ff6600;

  width: 100%;
  color: var(--dz-news-text);
  background: var(--dz-news-bg);
}

.dz-newsroom *,
.dz-newsroom *::before,
.dz-newsroom *::after {
  box-sizing: border-box;
}

.dz-newsroom-container {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.dz-newsroom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dz-newsroom a:hover,
.dz-newsroom a:focus {
  color: var(--dz-news-accent);
}

/* =========================================================
   MASTHEAD
========================================================= */

.dz-newsroom-masthead {
  padding: 34px 0 0;
  border-bottom: 2px solid var(--dz-news-text);
  background: var(--dz-news-surface);
}

.dz-newsroom-masthead__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dz-news-line);
  color: var(--dz-news-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dz-newsroom-edition {
  color: var(--dz-news-accent);
}

.dz-newsroom-masthead__title {
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(300px, 0.6fr);
  gap: 60px;
  align-items: end;
  padding:
    clamp(42px, 6vw, 90px)
    0
    clamp(34px, 5vw, 64px);
}

.dz-newsroom-masthead__title h1 {
  margin: 0;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(64px, 10vw, 154px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.075em;
}

.dz-newsroom-masthead__title p {
  max-width: 480px;
  margin: 0 0 6px;
  color: var(--dz-news-muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
}

/* =========================================================
   SHARED TYPOGRAPHY
========================================================= */

.dz-newsroom-meta {
  color: var(--dz-news-muted);
  font-size: 11px;
  line-height: 1.5;
}

.dz-newsroom-section-label {
  padding-bottom: 14px;
  border-bottom: 2px solid var(--dz-news-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dz-newsroom-main {
  padding-bottom: 110px;
}

/* =========================================================
   FRONT PAGE GRID
========================================================= */

.dz-newsroom-front {
  display: grid;
  grid-template-columns:
    minmax(220px, 0.72fr)
    minmax(420px, 1.55fr)
    minmax(260px, 0.73fr);
  border-bottom: 2px solid var(--dz-news-text);
}

.dz-newsroom-secondary-column,
.dz-newsroom-lead,
.dz-newsroom-briefs {
  padding:
    clamp(32px, 4vw, 58px)
    clamp(22px, 3vw, 42px);
}

.dz-newsroom-secondary-column {
  padding-left: 0;
  border-right: 1px solid var(--dz-news-line);
}

.dz-newsroom-lead {
  border-right: 1px solid var(--dz-news-line);
}

.dz-newsroom-briefs {
  padding-right: 0;
}

.dz-newsroom-secondary-story + .dz-newsroom-secondary-story {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--dz-news-line);
}

.dz-newsroom-secondary-story h2 {
  margin: 0 0 14px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(25px, 2.5vw, 39px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.dz-newsroom-secondary-story p {
  margin: 0 0 18px;
  color: var(--dz-news-muted);
  font-size: 14px;
  line-height: 1.6;
}

.dz-newsroom-lead h2 {
  margin: 0 0 24px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.dz-newsroom-lead__excerpt {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--dz-news-muted);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}

.dz-newsroom-brief {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--dz-news-line);
}

.dz-newsroom-brief:last-child {
  border-bottom: 0;
}

.dz-newsroom-brief__number {
  color: var(--dz-news-muted);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 15px;
}

.dz-newsroom-brief h3 {
  margin: 0 0 12px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.dz-newsroom-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 17px;
  border-bottom: 2px solid var(--dz-news-text);
}

.dz-newsroom-heading-row h2 {
  margin: 0;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.dz-newsroom-heading-row > span {
  color: var(--dz-news-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =========================================================
   LATEST ANALYSES
========================================================= */

.dz-newsroom-latest {
  padding: clamp(60px, 8vw, 110px) 0;
  border-bottom: 2px solid var(--dz-news-text);
}

.dz-newsroom-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dz-newsroom-latest-story {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 34px 30px 10px;
  border-right: 1px solid var(--dz-news-line);
}

.dz-newsroom-latest-story:first-child {
  padding-left: 0;
}

.dz-newsroom-latest-story:last-child {
  padding-right: 0;
  border-right: 0;
}

.dz-newsroom-index {
  color: var(--dz-news-muted);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 17px;
}

.dz-newsroom-latest-story h3 {
  margin: 0 0 16px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.dz-newsroom-latest-story p {
  margin: 0 0 18px;
  color: var(--dz-news-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   ARCHIVE FEED
========================================================= */

.dz-newsroom-archive {
  padding-top: clamp(60px, 8vw, 110px);
}

.dz-newsroom-feed {
  border-bottom: 2px solid var(--dz-news-text);
}

.dz-newsroom-feed-item {
  display: grid;
  grid-template-columns:
    70px
    minmax(0, 1fr)
    160px;
  gap: 30px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--dz-news-line);
}

.dz-newsroom-feed-item:last-child {
  border-bottom: 0;
}

.dz-newsroom-feed-item__number {
  color: var(--dz-news-muted);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 18px;
}

.dz-newsroom-feed-item__content h3 {
  max-width: 900px;
  margin: 0 0 12px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.dz-newsroom-feed-item__content p {
  max-width: 760px;
  margin: 0;
  color: var(--dz-news-muted);
  font-size: 14px;
  line-height: 1.6;
}

.dz-newsroom-feed-item__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  color: var(--dz-news-muted);
  font-size: 11px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================================
   PAGINATION
========================================================= */

.dz-newsroom-pagination {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-top: 30px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dz-newsroom-pagination > span {
  color: var(--dz-news-muted);
  text-align: center;
}

.dz-newsroom-pagination__side {
  min-width: 0;
}

.dz-newsroom-pagination__side--right {
  text-align: right;
}

.dz-newsroom-empty {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
  padding: 50px 0;
  color: var(--dz-news-muted);
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1100px) {
  .dz-newsroom-masthead__title {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dz-newsroom-front {
    grid-template-columns: 1fr 1.6fr;
  }

  .dz-newsroom-secondary-column {
    border-bottom: 1px solid var(--dz-news-line);
  }

  .dz-newsroom-lead {
    border-right: 0;
    border-bottom: 1px solid var(--dz-news-line);
  }

  .dz-newsroom-briefs {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding-left: 0;
  }

  .dz-newsroom-briefs .dz-newsroom-section-label {
    grid-column: 1 / -1;
  }

  .dz-newsroom-brief {
    padding: 28px 22px;
    border-right: 1px solid var(--dz-news-line);
    border-bottom: 0;
  }

  .dz-newsroom-brief:last-child {
    border-right: 0;
  }

  .dz-newsroom-feed-item {
    grid-template-columns:
      55px
      minmax(0, 1fr)
      120px;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 800px) {
  .dz-newsroom-container {
    width: min(100% - 30px, 1440px);
  }

  .dz-newsroom-masthead__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .dz-newsroom-masthead__title h1 {
    font-size: clamp(58px, 18vw, 100px);
    line-height: 0.86;
  }

  .dz-newsroom-front {
    display: flex;
    flex-direction: column;
  }

  .dz-newsroom-lead {
    order: 1;
    padding-inline: 0;
  }

  .dz-newsroom-secondary-column {
    order: 2;
    padding-inline: 0;
    border-right: 0;
  }

  .dz-newsroom-briefs {
    order: 3;
    display: block;
    padding-inline: 0;
  }

  .dz-newsroom-brief {
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--dz-news-line);
  }

  .dz-newsroom-latest__grid {
    grid-template-columns: 1fr;
  }

  .dz-newsroom-latest-story,
  .dz-newsroom-latest-story:first-child,
  .dz-newsroom-latest-story:last-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--dz-news-line);
  }

  .dz-newsroom-latest-story:last-child {
    border-bottom: 0;
  }

  .dz-newsroom-feed-item {
    grid-template-columns:
      40px
      minmax(0, 1fr);
    gap: 16px;
  }

  .dz-newsroom-feed-item__meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .dz-newsroom-masthead {
    padding-top: 22px;
  }

  .dz-newsroom-masthead__title {
    padding-top: 38px;
  }

  .dz-newsroom-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .dz-newsroom-lead h2 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .dz-newsroom-secondary-story h2 {
    font-size: 30px;
  }

  .dz-newsroom-latest-story {
    grid-template-columns:
      32px
      minmax(0, 1fr);
    gap: 10px;
  }

  .dz-newsroom-feed-item {
    grid-template-columns: 1fr;
  }

  .dz-newsroom-feed-item__number {
    margin-bottom: -8px;
  }

  .dz-newsroom-feed-item__meta {
    grid-column: 1;
  }

  .dz-newsroom-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .dz-newsroom-pagination__side {
    width: calc(50% - 8px);
  }

  .dz-newsroom-pagination > span {
    order: 3;
    width: 100%;
    padding-top: 10px;
  }

  .dz-newsroom-empty {
    width: min(100% - 30px, 1440px);
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .dz-newsroom a {
    transition: none;
  }
}