/* Author profile: a credential dossier. Navy hero with the author's hanging pass, then their work on file. */
.tfr-page--author-single .tfr-dossier { padding-bottom: 80px; }

/* Hero band: box-shadow + clip-path bleed to the viewport edges without causing horizontal scroll. */
.tfr-page--author-single .tfr-dossier__hero { position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 4px; padding: 64px 0 56px; background: #172641; color: #dce5f3; box-shadow: 0 0 0 100vmax #172641; clip-path: inset(0 -100vmax); }
.tfr-page--author-single .tfr-dossier__hero::before { content: ''; position: absolute; top: 0; left: 129px; width: 2px; height: 58px; background: repeating-linear-gradient(180deg, #ed603f 0 8px, transparent 8px 11px); }

.tfr-page--author-single .tfr-dossier__pass { position: relative; overflow: hidden; border-radius: 16px; background: #fff; color: #172641; box-shadow: 0 26px 50px rgba(0, 0, 0, .32); transform: rotate(-2.5deg); transform-origin: 50% 0; }
.tfr-page--author-single .tfr-dossier__slot { position: absolute; top: 12px; left: 50%; width: 50px; height: 9px; margin-left: -25px; border-radius: 9px; background: #0f1b31; }
.tfr-page--author-single .tfr-dossier__pass-head { display: flex; justify-content: space-between; gap: 10px; padding: 34px 18px 14px; background: #ed603f; color: #172641; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tfr-page--author-single .tfr-dossier__pass-head span:first-child { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; letter-spacing: -.2px; text-transform: none; }
.tfr-page--author-single .tfr-dossier__photo { height: 230px; margin: 18px 18px 0; overflow: hidden; border-radius: 10px; background: #edf2fb; }
.tfr-page--author-single .tfr-dossier__photo :is(img, svg) { display: block; width: 100%; height: 100%; object-fit: cover; }
.tfr-page--author-single .tfr-dossier__pass-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.tfr-page--author-single .tfr-dossier__pass-foot strong { min-width: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.tfr-page--author-single .tfr-dossier__code { width: 70px; height: 24px; 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); }

.tfr-page--author-single .tfr-dossier__intro { min-width: 0; padding-top: 6px; }
.tfr-page--author-single .tfr-dossier__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #f49b85; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tfr-page--author-single .tfr-dossier__eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.tfr-page--author-single .tfr-dossier__intro h1 { margin: 14px 0 0; color: #fff; font-size: clamp(38px, 5vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -2px; overflow-wrap: anywhere; }
.tfr-page--author-single .tfr-dossier__topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.tfr-page--author-single .tfr-dossier__topics li { padding: 4px 10px; border: 1px solid #3c5578; border-radius: 999px; color: #dce5f3; font-size: 12px; font-weight: 600; }
.tfr-page--author-single .tfr-dossier__bio { max-width: 68ch; margin-top: 24px; padding-top: 22px; border-top: 1px solid #2c4264; }
.tfr-page--author-single .tfr-dossier__bio, .tfr-page--author-single .tfr-dossier__bio :is(p, li, span, strong, b, em) { color: #dce5f3 !important; font-size: 16px; line-height: 1.85; }
.tfr-page--author-single .tfr-dossier__bio a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.tfr-page--author-single .tfr-dossier__bio > * + * { margin-top: 12px; }

.tfr-page--author-single .tfr-dossier__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.tfr-page--author-single .tfr-dossier__social { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #3c5578; border-radius: 50%; color: #fff; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.tfr-page--author-single :is(.tfr-dossier__social, .tfr-dossier__email) svg path { fill: currentColor; }
.tfr-page--author-single .tfr-dossier__email { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-left: 8px; padding: 0 18px; border-radius: 999px; background: #ed603f; color: #172641; font-size: 13.5px; font-weight: 650; max-width: 100%; }
.tfr-page--author-single .tfr-dossier__email span { overflow-wrap: anywhere; }
.tfr-page--author-single .tfr-dossier__email svg { flex-shrink: 0; }

/* Work on file: anchor strip with real counts. */
.tfr-page--author-single .tfr-dossier__file { display: flex; align-items: stretch; gap: 0; margin-top: 0; border-bottom: 1px solid #e0e5ed; }
.tfr-page--author-single .tfr-dossier__file-label { display: flex; align-items: center; padding: 0 22px 0 0; color: #b83f24; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.tfr-page--author-single .tfr-dossier__file ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.tfr-page--author-single .tfr-dossier__file a { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 0 22px; border-left: 1px solid #e0e5ed; color: #172641; font-size: 14px; font-weight: 600; transition: background-color 180ms ease; }
.tfr-page--author-single .tfr-dossier__file a span { color: #8a97ab; font-size: 11px; letter-spacing: .1em; }
.tfr-page--author-single .tfr-dossier__file a strong { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: #fbeae4; color: #9c3620; font-size: 12px; text-align: center; }

/* Sections */
.tfr-page--author-single .tfr-dossier__section { margin-top: 64px; scroll-margin-top: 96px; }
.tfr-page--author-single .tfr-dossier__section-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid #172641; }
.tfr-page--author-single .tfr-dossier__section-head > span { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -1px; color: transparent; -webkit-text-stroke: 1.2px #ed603f; }
.tfr-page--author-single .tfr-dossier__section-head h2 { color: #172641; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -1px; line-height: 1.2; }
.tfr-page--author-single .tfr-dossier__section-head p { color: #52627b; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tfr-page--author-single :is(.tfr-file-list, .tfr-guide-list, .tfr-matchups, .tfr-review-index) { margin: 0; padding: 0; list-style: none; }
.tfr-page--author-single :is(.tfr-file-list, .tfr-guide-list) > li { border-bottom: 1px solid #e0e5ed; }
.tfr-page--author-single .tfr-file-row__kicker { display: block; margin-bottom: 4px; color: #b83f24; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tfr-page--author-single .tfr-file-row__desc { display: -webkit-box; margin-top: 6px; color: #52627b; font-size: 14px; line-height: 1.7; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Articles: file rows with a thumbnail tab. */
.tfr-page--author-single .tfr-file-row { display: grid; grid-template-columns: 168px minmax(0, 1fr) 150px; align-items: center; gap: 28px; padding: 22px 0; color: #172641; }
.tfr-page--author-single .tfr-file-row__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: #edf2fb; box-shadow: 5px 5px 0 #fbeae4; }
.tfr-page--author-single .tfr-file-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.tfr-page--author-single .tfr-file-row h3, .tfr-page--author-single .tfr-guide-row h3 { color: #172641; font-size: 19px; font-weight: 650; line-height: 1.35; letter-spacing: -.3px; }
.tfr-page--author-single .tfr-file-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.tfr-page--author-single .tfr-file-row__meta time { color: #52627b; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tfr-page--author-single .tfr-file-row__go { font-size: 13px; font-weight: 650; white-space: nowrap; }

/* Best broker guides: numbered rows. */
.tfr-page--author-single .tfr-guide-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; align-items: center; gap: 20px; padding: 22px 0; color: #172641; }
.tfr-page--author-single .tfr-guide-row__no { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -1px; color: #b7c4d9; transition: color 180ms ease; }
.tfr-page--author-single .tfr-guide-row__arrow { width: 40px; height: 40px; padding: 10px; border: 1px solid #cfd8e6; border-radius: 50%; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }

/* Comparisons: match-up tickets. */
.tfr-page--author-single .tfr-matchups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 24px; }
.tfr-page--author-single .tfr-matchup { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; height: 100%; padding: 22px 16px; border: 1px solid #dce3ed; border-radius: 14px; background: linear-gradient(90deg, #f5f7fb 0 50%, #fff 50%); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.tfr-page--author-single .tfr-matchup__side { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; text-align: center; }
.tfr-page--author-single .tfr-matchup__logo { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border: 1px solid #dce3ed; border-radius: 12px; background: #fff; color: #172641; font-weight: 700; }
.tfr-page--author-single .tfr-matchup__logo img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.tfr-page--author-single .tfr-matchup__name { color: #172641; font-size: 14px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.tfr-page--author-single .tfr-matchup__vs { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #172641; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 0 0 5px #fff; }
.tfr-page--author-single .tfr-matchup__link { position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.tfr-page--author-single .tfr-matchup__link:focus-visible { outline: 2px solid #b83f24; outline-offset: 3px; }

/* Broker reviews: a compact index of links. */
.tfr-page--author-single .tfr-review-index { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; }
.tfr-page--author-single .tfr-review-index a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 18px; border: 1px solid #cfd8e6; border-radius: 999px; color: #172641; font-size: 14px; font-weight: 600; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.tfr-page--author-single .tfr-review-index svg { width: 16px; height: 16px; color: #b83f24; }

.tfr-page--author-single .show-more-btn { display: none; align-items: center; margin: 24px auto 0; min-height: 44px; padding: 10px 20px; border: 1px solid #172641; border-radius: 999px; color: #172641; font-size: 13px; font-weight: 650; gap: 10px; }
.tfr-page--author-single .show-more-btn[data-ready]:not([hidden]) { display: flex; }
.tfr-page--author-single .show-more-btn .toggle-icon { transition: transform 180ms ease; }
.tfr-page--author-single .show-more-btn[aria-expanded=true] .toggle-icon { transform: rotate(180deg); }

@media (hover: hover) and (pointer: fine) {
    .tfr-page--author-single .tfr-dossier__social:hover { background: #fff; border-color: #fff; color: #172641; }
    .tfr-page--author-single .tfr-dossier__email:hover { background: #f49b85; }
    .tfr-page--author-single .tfr-dossier__file a:hover { background: #f5f7fb; }
    .tfr-page--author-single .tfr-file-row:hover h3, .tfr-page--author-single .tfr-guide-row:hover h3 { color: #304b71; }
    .tfr-page--author-single .tfr-file-row:hover .tfr-file-row__thumb img { transform: scale(1.04); }
    .tfr-page--author-single .tfr-file-row:hover .tfr-file-row__go { color: #b83f24; }
    .tfr-page--author-single .tfr-guide-row:hover .tfr-guide-row__no { color: #ed603f; }
    .tfr-page--author-single .tfr-guide-row:hover .tfr-guide-row__arrow { background: #172641; border-color: #172641; color: #fff; }
    .tfr-page--author-single .tfr-matchup:hover { border-color: #9eacc0; box-shadow: 0 14px 28px rgba(23, 38, 65, .1); transform: translateY(-3px); }
    .tfr-page--author-single .tfr-review-index a:hover { background: #172641; border-color: #172641; color: #fff; }
    .tfr-page--author-single .tfr-review-index a:hover svg { color: #f49b85; }
    .tfr-page--author-single .show-more-btn:hover { background: #172641; color: #fff; }
}

@media (max-width: 1100px) {
    .tfr-page--author-single .tfr-dossier__hero { grid-template-columns: 220px minmax(0, 1fr); gap: 44px; }
    .tfr-page--author-single .tfr-dossier__hero::before { left: 109px; }
    .tfr-page--author-single .tfr-dossier__photo { height: 190px; }
    .tfr-page--author-single .tfr-matchups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tfr-page--author-single .tfr-file-row { grid-template-columns: 140px minmax(0, 1fr) 130px; gap: 22px; }
}

@media (max-width: 767px) {
    .tfr-page--author-single .tfr-dossier { padding-bottom: 48px; }
    .tfr-page--author-single .tfr-dossier__hero { grid-template-columns: 1fr; gap: 32px; padding: 52px 0 40px; }
    .tfr-page--author-single .tfr-dossier__hero::before { left: 50%; height: 46px; margin-left: -1px; }
    .tfr-page--author-single .tfr-dossier__pass { width: min(240px, 100%); justify-self: center; transform: rotate(-2deg); }
    .tfr-page--author-single .tfr-dossier__photo { height: 180px; }
    .tfr-page--author-single .tfr-dossier__intro h1 { letter-spacing: -1.2px; }
    .tfr-page--author-single .tfr-dossier__bio, .tfr-page--author-single .tfr-dossier__bio :is(p, li, span, strong, b, em) { font-size: 15px; }
    .tfr-page--author-single .tfr-dossier__email { margin-left: 0; }
    .tfr-page--author-single .tfr-dossier__file { flex-direction: column; }
    .tfr-page--author-single .tfr-dossier__file-label { padding: 18px 0 8px; }
    .tfr-page--author-single .tfr-dossier__file ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #e0e5ed; }
    .tfr-page--author-single .tfr-dossier__file a { min-height: 52px; padding: 0 12px; border-left: 0; font-size: 13.5px; }
    .tfr-page--author-single .tfr-dossier__file li:nth-child(even) a { border-left: 1px solid #e0e5ed; }
    .tfr-page--author-single .tfr-dossier__file li:nth-child(n+3) a { border-top: 1px solid #e0e5ed; }
    .tfr-page--author-single .tfr-dossier__file a strong { margin-left: auto; }
    .tfr-page--author-single .tfr-dossier__section { margin-top: 48px; }
    .tfr-page--author-single .tfr-dossier__section-head { grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; }
    .tfr-page--author-single .tfr-dossier__section-head > span { font-size: 24px; grid-row: span 2; align-self: center; }
    .tfr-page--author-single .tfr-dossier__section-head p { font-size: 11px; }
    .tfr-page--author-single .tfr-file-row { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; align-items: start; }
    .tfr-page--author-single .tfr-file-row__thumb { box-shadow: 3px 3px 0 #fbeae4; }
    .tfr-page--author-single .tfr-file-row__desc { display: none; }
    .tfr-page--author-single .tfr-file-row h3, .tfr-page--author-single .tfr-guide-row h3 { font-size: 16px; }
    .tfr-page--author-single .tfr-file-row__meta { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; margin-top: -6px; }
    .tfr-page--author-single .tfr-guide-row { grid-template-columns: 38px minmax(0, 1fr) 36px; gap: 12px; padding: 18px 0; }
    .tfr-page--author-single .tfr-guide-row__no { font-size: 20px; }
    .tfr-page--author-single .tfr-guide-row__arrow { width: 36px; height: 36px; padding: 9px; }
    .tfr-page--author-single .tfr-matchups { grid-template-columns: 1fr; gap: 12px; }
    .tfr-page--author-single .tfr-review-index a { min-height: 44px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .tfr-page--author-single :is(.tfr-file-row__thumb img, .tfr-guide-row__no, .tfr-guide-row__arrow, .tfr-matchup, .tfr-review-index a, .tfr-dossier__social, .tfr-dossier__file a, .show-more-btn .toggle-icon) { transition: none; }
}
