.brief-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.brief-app .home-bottom-nav {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brief-return {
  display: inline-flex;
  min-height: 44px;
  margin-bottom: 12px;
  align-items: center;
  gap: 9px;
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.brief-return:hover {
  color: var(--home-text);
}

.brief-return svg,
.brief-actions svg,
.brief-meta svg,
.brief-related__heading svg {
  width: 17px;
  height: 17px;
}

.brief-state {
  display: grid;
  min-width: 0;
  max-width: 100%;
  min-height: 520px;
  padding: 48px 24px;
  place-content: center;
  justify-items: center;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  background: var(--home-surface);
  text-align: center;
}

.brief-state[hidden] {
  display: none;
}

.brief-state__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--home-border-strong);
  border-radius: 50%;
  color: var(--home-accent);
}

#brief-state:not(.is-error) .brief-state__icon svg {
  animation: brief-spin 900ms linear infinite;
}

.brief-state h1 {
  max-width: 680px;
  margin: 8px 0 12px;
  font-family: var(--home-serif);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
}

.brief-state > p:last-of-type {
  max-width: 570px;
  margin: 0;
  color: var(--home-muted);
  line-height: 1.7;
}

.brief-state button,
.brief-ambiguity__options a {
  min-height: 44px;
  margin-top: 22px;
  padding: 0 18px;
  border: 1px solid var(--home-accent);
  border-radius: 4px;
  background: transparent;
  color: var(--home-text);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

.brief-ambiguity__options {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.brief-ambiguity__options a {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

.brief-content[hidden] {
  display: none;
}

.brief-hero {
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  background: var(--home-surface);
}

.brief-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #0c0d0d;
}

.brief-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 64%, rgba(7, 8, 8, 0.5));
}

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

.brief-image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: #999a96;
}

.brief-image-fallback[hidden] {
  display: none;
}

.brief-image-fallback svg {
  width: 52px;
  height: 52px;
}

.brief-hero__copy {
  display: flex;
  min-width: 0;
  padding: 48px;
  flex-direction: column;
  justify-content: center;
}

.brief-eyebrow,
.brief-section-heading p,
.brief-facts > p,
.brief-related__heading p {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  color: var(--home-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.brief-hero h1 {
  margin: 14px 0 22px;
  overflow-wrap: anywhere;
  font-family: var(--home-serif);
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.02;
}

.brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--home-muted);
  font-size: 12px;
}

.brief-meta > span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.brief-meta span span {
  overflow-wrap: anywhere;
}

.brief-actions {
  display: flex;
  margin-top: 28px;
  gap: 10px;
}

.brief-primary-action,
.brief-icon-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.brief-primary-action[hidden] {
  display: none;
}

.brief-primary-action {
  padding: 0 18px;
  gap: 12px;
  background: var(--home-accent-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.brief-icon-action {
  width: 48px;
  border: 1px solid var(--home-border-strong);
  background: transparent;
  color: var(--home-text);
  cursor: pointer;
}

.brief-action-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 12px;
}

.brief-body {
  display: grid;
  margin-top: 10px;
  grid-template-columns: minmax(0, 1fr) 330px;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  background: var(--home-surface);
}

.brief-explanation {
  min-width: 0;
  padding: 50px 56px 58px;
}

.brief-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brief-section-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(240, 68, 62, 0.35);
  border-radius: 50%;
  color: var(--home-accent);
}

.brief-section-heading h2,
.brief-facts h2,
.brief-related h2 {
  margin: 4px 0 0;
  font-family: var(--home-serif);
  font-size: 30px;
  line-height: 1.1;
}

.brief-summary {
  max-width: 760px;
  margin: 28px 0 0;
  color: #d4d2ce;
  font-family: var(--home-serif);
  font-size: 22px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.brief-summary.is-unavailable {
  color: var(--home-muted);
  font-family: var(--home-sans);
  font-size: 15px;
}

.brief-facts {
  padding: 42px 30px;
  border-left: 1px solid var(--home-border);
  background: #0d0e0e;
}

.brief-facts dl {
  margin: 26px 0 0;
}

.brief-facts dl div {
  display: grid;
  padding: 14px 0;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--home-border);
}

.brief-facts dt {
  color: #999a96;
  font-size: 11px;
  text-transform: uppercase;
}

.brief-facts dd {
  min-width: 0;
  margin: 0;
  color: #d6d4d0;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.brief-related {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  background: var(--home-surface);
}

.brief-related__heading {
  display: flex;
  min-height: 96px;
  padding: 20px 26px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--home-border);
}

.brief-related__heading a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--home-accent);
  font-size: 13px;
  text-decoration: none;
}

.brief-related__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brief-related-card {
  display: grid;
  min-width: 0;
  min-height: 170px;
  padding: 18px;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  border-right: 1px solid var(--home-border);
  color: var(--home-text);
  text-decoration: none;
}

.brief-related-card:last-child {
  border-right: 0;
}

.brief-related-card__media {
  display: grid;
  min-height: 130px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  color: #999a96;
}

.brief-related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brief-related-card__copy {
  min-width: 0;
}

.brief-related-card__copy span {
  color: var(--home-accent);
  font-size: 10px;
  font-weight: 700;
}

.brief-related-card__copy h3 {
  margin: 8px 0;
  overflow-wrap: anywhere;
  font-family: var(--home-serif);
  font-size: 20px;
  line-height: 1.12;
}

.brief-related-card__copy p {
  min-width: 0;
  margin: 0;
  color: var(--home-muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

@keyframes brief-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .brief-hero {
    grid-template-columns: 1fr;
  }

  .brief-media {
    min-height: 430px;
  }

  .brief-media::after {
    background: linear-gradient(0deg, rgba(7, 8, 8, 0.55), transparent 46%);
  }

  .brief-body {
    grid-template-columns: 1fr;
  }

  .brief-facts {
    border-top: 1px solid var(--home-border);
    border-left: 0;
  }

  .brief-related-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .brief-main {
    width: 100%;
    padding: 8px 0 100px;
  }

  .brief-return {
    margin-left: 16px;
  }

  .brief-state,
  .brief-hero,
  .brief-body,
  .brief-related {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .brief-state {
    min-height: 480px;
  }

  .brief-media {
    min-height: 330px;
    aspect-ratio: 4 / 3;
  }

  .brief-hero__copy {
    padding: 28px 18px 32px;
  }

  .brief-hero h1 {
    font-size: 38px;
  }

  .brief-primary-action {
    flex: 1 1 auto;
  }

  .brief-explanation,
  .brief-facts {
    padding: 32px 18px;
  }

  .brief-summary {
    font-size: 19px;
  }

  .brief-related__heading {
    min-height: 84px;
    padding: 16px 18px;
  }

  .brief-related__heading a {
    font-size: 0;
  }

  .brief-related__list {
    display: block;
  }

  .brief-related-card {
    min-height: 142px;
    padding: 14px 18px;
    grid-template-columns: 96px minmax(0, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--home-border);
  }

  .brief-related-card:last-child {
    border-bottom: 0;
  }

  .brief-related-card__media {
    min-height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #brief-state:not(.is-error) .brief-state__icon svg {
    animation: none;
  }
}
