.blog-page {
  --blog-gold: var(--color-primary-text);
}
.blog-hero {
  padding-block: 2.5rem 3rem;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.blog-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}
.blog-hero__copy {
  padding-block: 2rem;
}
.blog-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.3vw, 4.7rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 1.5rem 0;
  max-width: 12ch;
}
.blog-hero__copy .lead {
  font-size: 1.08rem;
  max-width: 45ch;
  line-height: 1.8;
  color: var(--color-muted);
}
.blog-hero__edition {
  display: block;
  margin-top: 0.6rem;
  color: var(--color-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}
.blog-hero__art {
  position: relative;
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 360px;
  background: #142338;
}
.blog-hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(7 18 30 / 0.85), transparent 65%);
  pointer-events: none;
}
.blog-hero__art img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.blog-hero__art figcaption {
  position: absolute;
  inset-inline: 2rem;
  bottom: 2rem;
  color: #fff;
  z-index: 1;
}
.blog-hero__art figcaption span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.65rem;
  color: #ebc989;
}
.blog-hero__art figcaption strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
}
.blog-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.blog-section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 600;
  margin: 0.5rem 0 0;
}
.blog-section-heading > p {
  max-width: 38ch;
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0;
}
.blog-topics {
  padding-block: 3rem;
}
.blog-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.blog-topic {
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  min-width: 0;
}
.blog-topic__cover {
  display: block;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #102039;
}
.blog-topic__cover img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-topic__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(7 18 30 / 0.9), rgb(7 18 30 / 0.05));
}
.blog-topic__cover > div {
  position: absolute;
  inset: 1rem 1.25rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.blog-topic__cover h3 {
  color: #fff;
  margin: 0.35rem 2rem 0 0;
  font-size: 1.2rem;
}
.blog-topic__number {
  color: #ebc989;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.blog-topic__arrow {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  font-size: 1.5rem;
}
.blog-topic__cover:hover img {
  transform: scale(1.04);
}
.blog-topic__children {
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-height: 5.2rem;
  align-content: start;
}
.blog-topic__children a {
  font-size: 0.76rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  text-decoration: none;
  color: var(--color-muted);
}
.blog-topic__children p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}
.blog-topic__children a:hover,
.blog-topic__children a[aria-current] {
  color: var(--color-text);
  border-color: var(--blog-gold);
}
.blog-reading-section {
  padding-top: 1.5rem;
}
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}
.blog-main {
  min-width: 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.blog-card {
  overflow: hidden;
  padding: 0;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
}
.blog-card__cover {
  position: relative;
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.blog-card:hover .blog-card__image {
  transform: scale(1.035);
}
.blog-card__featured {
  position: absolute;
  inset-inline-start: 1rem;
  top: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  background: #f6e6bf;
  color: #36280e;
  font-size: 0.7rem;
  font-weight: 700;
}
.blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  font-size: 0.7rem;
}
.blog-card__kicker a {
  color: var(--blog-gold);
  text-decoration: none;
  font-weight: 700;
}
.blog-card__kicker > span {
  margin-inline-start: auto;
  color: var(--color-muted);
  white-space: nowrap;
}
.blog-card h2 {
  margin: 0.8rem 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 600;
}
.blog-card h2 a {
  color: inherit;
  text-decoration: none;
}
.blog-card__body > p {
  color: var(--color-muted);
  font-size: 0.91rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
}
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: auto;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}
.blog-meta a {
  color: inherit;
  text-decoration: none;
}
.blog-card__footer .blog-meta {
  flex-direction: column;
}
.blog-read-link {
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--color-text);
}
.blog-read-link:hover {
  background: var(--blog-gold);
  color: #fff;
}
.blog-card--lead {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.blog-card--lead .blog-card__cover {
  height: 100%;
}
.blog-card--lead .blog-card__image {
  height: 100%;
  min-height: 290px;
  aspect-ratio: auto;
}
.blog-card--lead h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.25;
}
.blog-results {
  color: var(--color-muted);
  font-size: 0.8rem;
}
.blog-sidebar {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: 6rem;
}
.blog-sidebar__panel {
  padding: 1.4rem;
  border-radius: 1rem;
}
.blog-sidebar h2 {
  font-size: 1.1rem;
  margin: 0.5rem 0 1rem;
}
.blog-sidebar .eyebrow {
  font-size: 0.65rem;
}
.blog-recent {
  display: flex;
  align-items: start;
  gap: 0.8rem;
  padding-block: 1rem;
  border-top: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
}
.blog-recent img {
  width: 60px;
  height: 60px;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
}
.blog-recent strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: 600;
}
.blog-recent small {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-muted);
  font-size: 0.68rem;
}
.blog-sidebar__category {
  border-top: 1px solid var(--color-border);
}
.blog-sidebar__category summary {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 0;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  list-style: none;
}
.blog-sidebar__category summary::-webkit-details-marker {
  display: none;
}
.blog-sidebar__category[open] summary > span:last-child {
  transform: rotate(45deg);
}
.blog-sidebar__row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--color-muted);
  font-size: 0.8rem;
  text-decoration: none;
}
.blog-sidebar__row--child {
  padding-inline-start: 0.75rem;
  border-inline-start: 1px solid var(--color-border);
}
.blog-sidebar__note {
  border-radius: 1rem;
  padding: 1.5rem;
  background: #11243b;
  color: #f5f1e8;
  border: 1px solid #29405a;
}
.blog-sidebar__note h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: #f5f1e8;
}
.blog-sidebar__note p:not(.eyebrow) {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #bcc7d6;
}
.blog-sidebar__note .eyebrow,
.blog-sidebar__note a {
  color: #ebc989;
}
.blog-sidebar__note a {
  text-decoration: none;
  font-size: 0.8rem;
}
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
}
.blog-empty {
  grid-column: 1/-1;
  padding: 2rem;
}
.blog-layout--article {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
}
.blog-article {
  min-width: 0;
  max-width: 900px;
}
.blog-article__header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.2;
  margin: 1rem 0;
}
.blog-article__header .lead {
  color: var(--color-muted);
  line-height: 1.8;
  font-size: 1.1rem;
}
.blog-reading-time {
  color: var(--blog-gold);
  font-weight: 600;
}
.blog-featured {
  margin: 2rem 0;
}
.blog-featured img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
}
.blog-featured figcaption {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}
.blog-article__content {
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 72ch;
  overflow-wrap: anywhere;
}
.blog-article__content h2,
.blog-article__content h3 {
  scroll-margin-top: 7rem;
  margin-top: 2.2rem;
}
.blog-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.blog-tags a {
  font-size: 0.84rem;
  text-decoration: none;
}
.blog-page a:focus-visible,
.blog-page summary:focus-visible {
  outline: 2px solid var(--blog-gold);
  outline-offset: 4px;
}
.blog-page #topics,
.blog-page #articles {
  scroll-margin-top: 6rem;
}
[dir="rtl"] .blog-hero__copy h1 {
  letter-spacing: 0;
  max-width: 17ch;
}
@media (max-width: 1100px) {
  .blog-hero__inner {
    gap: 2rem;
  }
  .blog-layout,
  .blog-layout--article {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 1.5rem;
  }
  .blog-card--lead {
    display: flex;
  }
  .blog-card--lead .blog-card__image {
    aspect-ratio: 16/9;
    min-height: 0;
    height: auto;
  }
  .blog-card--lead h2 {
    font-size: 1.6rem;
  }
}
@media (max-width: 900px) {
  .blog-layout,
  .blog-layout--article {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-sidebar__note {
    grid-column: 1/-1;
  }
  .blog-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-hero__art img {
    height: 360px;
  }
}
@media (max-width: 640px) {
  .blog-hero {
    padding-block: 1rem 2rem;
  }
  .blog-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .blog-hero__copy {
    padding-block: 1rem 0;
  }
  .blog-hero__copy h1 {
    max-width: 16ch;
    font-size: 2.65rem;
  }
  .blog-hero__art {
    min-height: 0;
  }
  .blog-hero__art img {
    height: 240px;
  }
  .blog-hero__art figcaption {
    inset-inline: 1.25rem;
    bottom: 1.25rem;
  }
  .blog-hero__art figcaption strong {
    font-size: 1.5rem;
  }
  .blog-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .blog-topic-grid {
    gap: 0.75rem;
  }
  .blog-topic__cover img {
    height: 135px;
  }
  .blog-topic__cover > div {
    inset: 0.75rem;
  }
  .blog-topic__cover h3 {
    font-size: 1rem;
    margin-inline-end: 1rem;
  }
  .blog-topic__children {
    padding: 0.75rem;
  }
  .blog-topic__children a {
    font-size: 0.7rem;
  }
  .blog-grid,
  .blog-sidebar {
    grid-template-columns: 1fr;
  }
  .blog-card--lead {
    grid-column: auto;
  }
  .blog-card__body {
    padding: 1.2rem;
  }
  .blog-sidebar__note {
    grid-column: auto;
  }
  .blog-article__header h1 {
    font-size: 2.15rem;
  }
  .blog-article__content {
    font-size: 1rem;
  }
}
@media (max-width: 380px) {
  .blog-topic-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blog-topic__cover img,
  .blog-card__image {
    transition: none;
  }
}

.blog-article__content figure {
  margin: 2rem 0;
}
.blog-article__content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.blog-article__content figcaption {
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 0.65rem;
}
.blog-hero__art > a {
  display: block;
}
.blog-hero__art figcaption {
  pointer-events: none;
}
