 .af-stat{box-sizing:border-box;margin:2rem 0;padding:clamp(16px,4vw,30px);background:#191919;color:#f5f2ed;border-radius:12px;font-family:system-ui,sans-serif;overflow-wrap:anywhere}.af-stat h3,.af-stat p{color:inherit;margin:.6em 0}.af-stat table{width:100%;border-collapse:collapse;color:inherit}.af-stat th,.af-stat td{padding:12px 4px;border-bottom:1px solid #555;text-align:left;font-size:clamp(14px,2.5vw,18px)}.af-stat td{text-align:right;font-variant-numeric:tabular-nums;font-weight:700;font-size:clamp(18px,4vw,32px)}.af-stat strong{display:block;font-size:clamp(28px,7vw,62px);color:#efaaa3;font-variant-numeric:tabular-nums}.af-stat figcaption,.af-stat details{color:#ccc;font-size:13px;margin-top:16px}.af-stat a{color:#f5d0ca;text-decoration:underline}.af-stat button{background:transparent;color:#fff;border:1px solid #999;border-radius:6px;padding:10px 14px;margin-top:12px;cursor:pointer}.af-progress{display:flex;gap:5px;margin:20px 0}.af-progress span{flex:1;height:7px;border-radius:2px;background:#bd6259}.af-frequency{text-align:center}

/* Featured editorial image */

.af-featured {
  margin: 24px 0 32px;
  width: 100%;
}

.af-featured img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.af-featured figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #777;
}


/* Responsive statistics layout v2 */

.af-stat {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: 0;
}

.af-stat table {
  width: 100%;
  max-width: 100%;
  table-layout: auto;
  border-collapse: collapse;
}

.af-stat table th {
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  padding-right: 12px;
}

.af-stat table td {
  width: 1%;
  min-width: 6ch;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.af-stat [data-af-total] {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.75rem, 7vw, 3.5rem);
}

@media (max-width: 480px) {
  .af-stat {
    padding: 14px 12px;
  }

  .af-stat table th {
    font-size: 0.85rem;
    padding-right: 8px;
  }

  .af-stat table td {
    font-size: 1rem;
    padding-left: 8px;
  }

  .af-stat figcaption {
    overflow-wrap: anywhere;
  }

  .af-frequency strong {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }
}

@media (max-width: 340px) {
  .af-stat {
    padding: 12px 10px;
  }

  .af-stat table th {
    font-size: 0.8rem;
  }

  .af-stat table td {
    font-size: 0.9rem;
  }
}


/* Faces in the headlines gallery */

#faces-in-the-headlines {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 30px 0;
  box-sizing: border-box;
}

#faces-in-the-headlines h3 {
  margin: 0 0 14px;
}

#faces-in-the-headlines .essay-carousel__track {
  border-radius: 10px;
  background: #f4f4f4;
}

#faces-in-the-headlines .essay-carousel__slide {
  align-items: flex-start;
}

#faces-in-the-headlines .essay-carousel__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #191919;
  border-radius: 0;
}

#faces-in-the-headlines figcaption {
  padding: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#faces-in-the-headlines figcaption a {
  text-decoration: underline;
}

#faces-in-the-headlines .essay-carousel__prev,
#faces-in-the-headlines .essay-carousel__next {
  min-width: 44px;
  min-height: 44px;
}

#faces-in-the-headlines button:disabled {
  opacity: 0.35;
  cursor: default;
}

#faces-in-the-headlines .gallery-editorial-note {
  font-size: 0.75rem;
  color: #777;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 480px) {
  #faces-in-the-headlines {
    margin: 24px 0;
  }

  #faces-in-the-headlines figcaption {
    font-size: 0.8rem;
    padding: 10px;
  }
}


/* Editorial article heading */

.af-article-header {
  margin-bottom: 28px;
}

.af-article-header h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  font-weight: 750;
}

.af-article-header .af-article-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.65rem);
  line-height: 1.4;
  font-weight: 400;
  color: #555;
  margin: 0 0 22px;
}

.af-article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 0.9rem;
  color: #666;
}

.af-article-byline a {
  color: #222;
  font-weight: 600;
  text-decoration: none;
}

.af-article-byline a:hover {
  text-decoration: underline;
}

.af-article-date::before {
  content: "·";
  margin-right: 10px;
}

@media (max-width: 480px) {
  .af-article-header {
    margin-bottom: 20px;
  }

  .af-article-header h1 {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
  }

  .af-article-header .af-article-subtitle {
    margin-bottom: 16px;
  }

  .af-article-byline {
    font-size: 0.8rem;
  }
}


/* Warras portrait and construction gallery */

.af-warras-portrait {
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
  margin: 30px auto;
  text-align: center;
}

.af-warras-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto;
}

.af-warras-portrait figcaption {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #666;
  margin-top: 12px;
}

#construction-gallery {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 28px 0;
  box-sizing: border-box;
}

#construction-gallery .essay-carousel__track {
  border-radius: 10px;
  background: #f4f4f4;
}

#construction-gallery .essay-carousel__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #191919;
  border-radius: 0;
}

#construction-gallery .essay-carousel__prev,
#construction-gallery .essay-carousel__next {
  min-width: 44px;
  min-height: 44px;
}

#construction-gallery button:disabled {
  opacity: 0.35;
  cursor: default;
}

.af-construction-caption {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 480px) {
  .af-warras-portrait {
    max-width: 260px;
    margin: 24px auto;
  }

  #construction-gallery {
    margin: 22px 0;
  }

  .af-construction-caption {
    font-size: 0.8rem;
  }
}


/* Article references */

.af-references {
  margin: 44px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.af-references summary {
  cursor: pointer;
  font-weight: 600;
  color: #333;
}

.af-references h3 {
  font-size: 1rem;
  margin: 22px 0 8px;
}

.af-references ul {
  padding-left: 20px;
}

.af-references li {
  margin-bottom: 6px;
}

.af-references a {
  color: inherit;
  text-decoration: underline;
}
