/* The person of the day opens the edition. Three regular profiles separate each full-width feature. */
.profiles-section .detail-entry {
  --portrait-width: clamp(225px, 25%, 350px);
  --portrait-proportion: 1.12;
  --profile-gap: clamp(24px, 3.4vw, 55px);
  --profile-title: clamp(1.75rem, 2.65vw, 2.8rem);
}
.profiles-section .detail-entry > a {
  display: grid;
  grid-template-columns: var(--portrait-width) minmax(0, 1fr);
  gap: var(--profile-gap);
  align-items: center;
  max-width: none;
  padding-block: clamp(19px, 1.8vw, 28px);
}
.profiles-section .detail-entry-image {
  grid-area: 1 / 1;
  width: 100%;
  aspect-ratio: var(--portrait-proportion);
  margin: 0;
}
.profiles-section .detail-entry-image img { object-position: 50% 10%; }
.profiles-section .detail-entry-copy { grid-area: 1 / 2; }
.profiles-section .detail-entry-copy h2 {
  max-width: 32ch;
  margin-block: 0 9px;
  font-size: var(--profile-title);
  line-height: 1.055;
  letter-spacing: -.038em;
  overflow-wrap: anywhere;
}
.profiles-section .detail-entry-copy p { max-width: 62ch; }
.profiles-section .detail-entry-copy small { margin-top: clamp(10px, 1.25vw, 19px); }

.profiles-section .detail-entry:nth-child(4n + 1) {
  --portrait-width: 43%;
  --portrait-proportion: 1.23;
  --profile-gap: clamp(24px, 4.2vw, 76px);
  --profile-title: clamp(2.45rem, 3.95vw, 4.6rem);
  background: var(--navy);
  color: white;
  border-bottom: 0;
}
@supports (width: 100cqw) {
  .profiles-section .detail-entry:nth-child(4n + 1) {
    width: 100cqw;
    margin-inline: calc(50% - 50cqw);
  }
}
.profiles-section .detail-entry:nth-child(4n + 1) > a {
  width: min(100% - clamp(36px, 7vw, 112px), 1330px);
  margin-inline: auto;
  padding-block: clamp(22px, 2.7vw, 48px);
}
.profiles-section .detail-entry:nth-child(4n + 1) .detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  color: white;
}
.profiles-section .detail-entry:nth-child(4n + 1) .detail-kicker::before {
  content: '';
  width: 1.4em;
  height: 3px;
  background: #ff3656;
}
.profiles-section .detail-entry:nth-child(4n + 1) h2 { max-width: 23ch; }
.profiles-section .detail-entry:nth-child(4n + 1) .detail-entry-image img { object-position: 50% 16%; }
.profiles-section .detail-entry:nth-child(4n + 1) p {
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.35vw, 1.38rem);
}
.profiles-section .detail-entry:nth-child(4n + 1) small { color: #dee7f8; }
.profiles-section .detail-entry:nth-child(4n + 1) a:focus-visible { outline-color: white; outline-offset: -3px; }

.profiles-section .detail-entry.profile-of-the-day {
  --portrait-width: 49%;
  --portrait-proportion: 1.27;
  --profile-title: clamp(3rem, 5.9vw, 6.4rem);
}
.profiles-section .profile-of-the-day .detail-kicker { font-weight: 700; }
.profiles-section .profile-of-the-day .profile-cover-link {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  margin-top: clamp(16px, 2.3vw, 34px);
  font-weight: 700;
}
@media (max-width: 760px) {
  .profiles-section .detail-entry {
    --portrait-width: 31%;
    --portrait-proportion: .95;
    --profile-gap: clamp(13px, 3vw, 23px);
    --profile-title: clamp(1.35rem, 3.95vw, 1.85rem);
  }
  .profiles-section .detail-entry:nth-child(4n + 1) {
    --portrait-width: 38%;
    --portrait-proportion: .78;
    --profile-gap: clamp(14px, 3.4vw, 25px);
    --profile-title: clamp(1.55rem, 4.85vw, 2.4rem);
  }
  .profiles-section .detail-entry.profile-of-the-day {
    --portrait-width: 41%;
    --profile-title: clamp(1.95rem, 5.9vw, 3rem);
  }
  .profiles-section .profile-cover-link { font-size: .85rem; }
}
@media (max-width: 480px) {
  .profiles-section .detail-entry > a { align-items: start; }
  .profiles-section .detail-entry-image { aspect-ratio: .78; }
  .profiles-section .detail-entry:nth-child(4n + 1) .detail-entry-image { aspect-ratio: .67; }
  .profiles-section .detail-entry-copy p,
  .profiles-section .detail-entry:nth-child(4n + 1) p { font-size: .88rem; line-height: 1.4; }
}
