/* Author index: the review desk. Each author is a press pass hanging from a shared rail. */
.tfr-page--author-index .tfr-desk { padding-bottom: 40px; }

.tfr-page--author-index .tfr-desk__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 8px 0 40px; }
.tfr-page--author-index .tfr-desk__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #b83f24; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tfr-page--author-index .tfr-desk__eyebrow::before { content: ''; width: 22px; height: 2px; background: #ed603f; }
.tfr-page--author-index .tfr-desk__intro h1 { max-width: 14ch; margin: 0; }
.tfr-page--author-index .tfr-desk__description { max-width: 56ch; margin-top: 18px; font-size: 16px; line-height: 1.8; color: #52627b; }

.tfr-page--author-index .tfr-desk__roster { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; padding-bottom: 6px; }
.tfr-page--author-index .tfr-desk__stamps { display: flex; }
.tfr-page--author-index .tfr-desk__stamps span { display: grid; place-items: center; width: 48px; height: 48px; margin-left: -12px; overflow: hidden; border: 3px solid #fff; border-radius: 50%; background: #304b71; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; box-shadow: 0 4px 12px rgba(23, 38, 65, .12); }
.tfr-page--author-index .tfr-desk__stamps span:first-child { margin-left: 0; }
.tfr-page--author-index .tfr-desk__stamps img { width: 100%; height: 100%; object-fit: cover; }
.tfr-page--author-index .tfr-desk__roster p { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #52627b; }
.tfr-page--author-index .tfr-desk__roster strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; letter-spacing: -.5px; color: #172641; margin-right: 4px; }

/* The rail: a navy bar the lanyards hang from. */
.tfr-page--author-index .tfr-desk__rail { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 36px 28px; margin: 0; padding: 56px 0 0; list-style: none; }
.tfr-page--author-index .tfr-desk__rail::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 6px; background: #172641; box-shadow: 0 3px 0 #e0e5ed; }
.tfr-page--author-index .tfr-desk__rail > li { position: relative; display: flex; justify-content: center; }
.tfr-page--author-index .tfr-desk__rail > li::before { content: ''; position: absolute; top: -56px; left: 50%; width: 10px; height: 64px; margin-left: -5px; border-radius: 3px; background: repeating-linear-gradient(180deg, #ed603f 0 8px, #d95132 8px 10px); }

.tfr-page--author-index .tfr-pass { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 330px; overflow: hidden; border: 1px solid #d6deea; border-radius: 16px; background: #fff; box-shadow: 0 18px 36px rgba(23, 38, 65, .09); transform: rotate(var(--tilt, -1.2deg)); transform-origin: 50% 0; transition: transform 260ms ease, box-shadow 260ms ease; }
.tfr-page--author-index .tfr-desk__rail > li:nth-child(even) .tfr-pass { --tilt: 1.1deg; }
.tfr-page--author-index .tfr-desk__rail > li:nth-child(3n) .tfr-pass { --tilt: -.5deg; }
.tfr-page--author-index .tfr-pass__slot { position: absolute; top: 12px; left: 50%; width: 46px; height: 9px; margin-left: -23px; border-radius: 9px; background: #0f1b31; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); z-index: 1; }
.tfr-page--author-index .tfr-pass__head { display: flex; justify-content: space-between; gap: 12px; padding: 34px 20px 14px; background: #172641; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tfr-page--author-index .tfr-pass__head span:first-child { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; letter-spacing: -.2px; text-transform: none; }
.tfr-page--author-index .tfr-pass__head span:last-child { color: #f49b85; }

.tfr-page--author-index .tfr-pass__id { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: end; padding: 22px 20px 0; }
.tfr-page--author-index .tfr-pass__photo { position: relative; width: 96px; height: 112px; overflow: hidden; border-radius: 8px; background: #edf2fb; box-shadow: 0 0 0 1px #d6deea, 6px 6px 0 #fbeae4; }
.tfr-page--author-index .tfr-pass__photo :is(img, svg) { display: block; width: 100%; height: 100%; object-fit: cover; }
.tfr-page--author-index .tfr-pass__who { min-width: 0; padding-bottom: 2px; }
.tfr-page--author-index .tfr-pass h2 { margin: 0; color: #172641; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.6px; overflow-wrap: anywhere; }
.tfr-page--author-index .tfr-pass h2 a { color: inherit; }
.tfr-page--author-index .tfr-pass h2 a::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 16px; }
.tfr-page--author-index .tfr-pass h2 a:focus-visible { outline: none; }
.tfr-page--author-index .tfr-pass h2 a:focus-visible::after { outline: 2px solid #b83f24; outline-offset: -3px; }
.tfr-page--author-index .tfr-pass__topics { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; }
.tfr-page--author-index .tfr-pass__topics li { padding: 3px 8px; border-radius: 4px; background: #edf2fb; color: #304b71; font-size: 11px; font-weight: 600; line-height: 1.5; }

.tfr-page--author-index .tfr-pass__bio { margin: 20px 20px 0; padding-top: 16px; border-top: 1px dashed #d6deea; color: #52627b; font-size: 13.5px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.tfr-page--author-index .tfr-pass__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding: 18px 20px 20px; }
.tfr-page--author-index .tfr-pass__bio + .tfr-pass__foot, .tfr-page--author-index .tfr-pass__id + .tfr-pass__foot { margin-top: 18px; }
.tfr-page--author-index .tfr-pass__code { width: 92px; height: 26px; flex-shrink: 0; background: repeating-linear-gradient(90deg, #172641 0 2px, transparent 2px 4px, #172641 4px 5px, transparent 5px 8px, #172641 8px 11px, transparent 11px 13px); opacity: .85; }
.tfr-page--author-index .tfr-pass__cta { display: inline-flex; align-items: center; gap: 8px; color: #172641; font-size: 13px; font-weight: 650; }
.tfr-page--author-index .tfr-pass__cta svg { transition: transform 180ms ease; }

@media (hover: hover) and (pointer: fine) {
    .tfr-page--author-index .tfr-pass:has(h2 a):hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 26px 44px rgba(23, 38, 65, .14); }
    .tfr-page--author-index .tfr-pass:hover .tfr-pass__cta { color: #b83f24; }
    .tfr-page--author-index .tfr-pass:hover .tfr-pass__cta svg { transform: translateX(3px); }
}

@media (max-width: 760px) {
    .tfr-page--author-index .tfr-desk__intro { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 28px; }
    .tfr-page--author-index .tfr-desk__roster { flex-direction: row; align-items: center; }
    .tfr-page--author-index .tfr-desk__description { font-size: 15px; }
    .tfr-page--author-index .tfr-desk__rail { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; }
    .tfr-page--author-index .tfr-desk__rail > li::before { top: -48px; height: 56px; }
    .tfr-page--author-index .tfr-desk__rail > li + li::before { top: -44px; height: 52px; background: repeating-linear-gradient(180deg, #b7c4d9 0 5px, transparent 5px 9px); width: 2px; margin-left: -1px; }
}

@media (max-width: 400px) {
    .tfr-page--author-index .tfr-pass__id { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; }
    .tfr-page--author-index .tfr-pass__photo { width: 80px; height: 94px; }
    .tfr-page--author-index .tfr-pass h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .tfr-page--author-index .tfr-pass, .tfr-page--author-index .tfr-pass__cta svg { transition: none; }
}
@media (max-width: 420px) { .tfr-page--author-index .tfr-pass { --tilt: -.6deg; } .tfr-page--author-index .tfr-desk__rail > li:nth-child(even) .tfr-pass { --tilt: .6deg; } }
