/* TRJ Header & Offers: in The Runner's Journal style (ink, soft grey, a touch of lime). */

/* Offer bar */
.trjho-bar { position: relative; z-index: 60; background: #141414; color: #fff; font-family: inherit; }
.trjho-bar p { margin: 0 auto; max-width: 1180px; padding: 10px 56px 10px 20px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: center; font-size: 14px; line-height: 1.4; text-align: center; }
.trjho-bar a { color: #fff !important; font-weight: 600; text-decoration: underline; text-decoration-color: #d4ff00; text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
.trjho-dot { width: 8px; height: 8px; border-radius: 50%; background: #d4ff00; display: inline-block; }
.trjho-bar-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 22px; cursor: pointer; border-radius: 50%; }
.trjho-bar-x:hover, .trjho-bar-x:focus-visible { background: rgba(255,255,255,.12); }
.trjho-bar a:focus-visible, .trjho-bar-x:focus-visible { outline: 2px solid #d4ff00; outline-offset: 2px; }
@media (max-width: 560px) { .trjho-bar-text { display: block; width: 100%; } }

/* Explore menu */
.trjho-explore { background: none; border: 0; padding: 20px 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.trjho-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.trjho-explore[aria-expanded="true"] .trjho-caret { transform: rotate(225deg) translateY(-1px); }
.trjho-explore:focus-visible { outline: 2px solid #141414; outline-offset: 4px; border-radius: 4px; }
.trjho-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #e4e4dc; box-shadow: 0 24px 50px rgba(20,20,20,.12); z-index: 80; }
.trjho-panel[hidden] { display: none; }
.trjho-panel-in { max-width: 1180px; margin: 0 auto; padding: 28px 24px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 1.2fr); gap: 28px; }
.trjho-col-title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5f5f58; }
.trjho-col ul { list-style: none; margin: 0; padding: 0; }
.trjho-col a { display: block; padding: 7px 0; color: #141414 !important; text-decoration: none; font-size: 16px; }
.trjho-col a:hover { text-decoration: underline; text-decoration-color: #d4ff00; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.trjho-promo { display: flex; flex-direction: column; gap: 6px; background: #f3f4f2; border-radius: 22px; padding: 20px; color: #141414 !important; text-decoration: none; }
.trjho-promo strong { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.trjho-promo span { color: #45453f; font-size: 15px; }
.trjho-promo-kicker, .trjho-kicker { font-size: 12px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5f5f58 !important; }
.trjho-promo-cta { margin-top: auto; font-weight: 600; color: #141414 !important; }
@media (max-width: 1020px) { .trjho-panel { display: none !important; } }

/* Coaching button in the header */
.trjho-coach { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #141414; color: #141414 !important; font-weight: 600; font-size: 15px; text-decoration: none !important; white-space: nowrap; }
.trjho-coach:hover { background: #141414; color: #fff !important; }
@media (max-width: 1020px) { .trj-rd-actions .trjho-coach { display: none; } }
.trjho-mquick { display: flex; gap: 10px; margin: 0 0 14px; }
.trjho-mquick a { flex: 1; text-align: center; padding: 12px; border-radius: 999px; border: 1.5px solid #141414; color: #141414 !important; font-weight: 600; text-decoration: none; }
.trjho-mquick a:first-child { background: #141414; color: #fff !important; }

/* Article: top card */
.trjho-topcard { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 24px 0 28px; padding: 14px 18px; border-radius: 18px; background: #f3f4f2; color: #141414 !important; text-decoration: none !important; border-left: 4px solid #d4ff00; }
.trjho-topcard strong { font-size: 17px; flex: 1 1 220px; }
.trjho-topcard-cta { font-weight: 600; white-space: nowrap; }
.trjho-topcard:hover .trjho-topcard-cta { text-decoration: underline; text-underline-offset: 4px; }

/* Article: moved free printable keeps its own design; just give it room. */
.trjho-guide { margin-top: 36px !important; margin-bottom: 36px !important; scroll-margin-top: 110px; }

/* Article: Weekly Debrief fallback */
.trjho-debrief { margin: 36px 0; padding: 26px; border-radius: 24px; background: #f3f4f2; scroll-margin-top: 110px; }
.trjho-debrief h2 { margin: 4px 0 8px; font-size: 28px; }

/* Article: coaching card */
.trjho-coach-card { margin: 36px 0; padding: 22px 24px; border-radius: 22px; border: 1.5px solid #141414; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.trjho-coach-card p { margin: 0; flex: 1 1 320px; font-size: 18px; line-height: 1.45; }
.trjho-coach-card a { font-weight: 600; color: #141414 !important; text-decoration: underline; text-decoration-color: #d4ff00; text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }

/* Sticky bar */
.trjho-sticky { position: fixed; z-index: 90; right: 20px; bottom: 20px; max-width: 420px; display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 18px; background: #141414; color: #fff; border-radius: 20px; box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.trjho-sticky[hidden] { display: none; }
.trjho-sticky p { margin: 0; display: flex; flex-direction: column; min-width: 0; flex: 1; }
.trjho-sticky .trjho-kicker { color: #c9ccc5 !important; }
.trjho-sticky strong { font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trjho-sticky-cta { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; color: #141414 !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.trjho-sticky-x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.trjho-sticky-x:hover, .trjho-sticky-x:focus-visible { background: rgba(255,255,255,.12); }
.trjho-sticky-cta:focus-visible, .trjho-sticky-x:focus-visible { outline: 2px solid #d4ff00; outline-offset: 2px; }
@media (max-width: 600px) { .trjho-sticky { left: 10px; right: 10px; bottom: 10px; max-width: none; } }

@media print { .trjho-bar, .trjho-sticky, .trjho-panel, .trjho-topcard, .trjho-coach-card { display: none !important; } }

/* Article header in the site's hero style */
.trjho-ahero { width: 100vw; position: relative; left: 50%; margin-left: -50vw; background: #f3f4f2; margin-bottom: 48px; }
.trjho-ahero-in { max-width: 1180px; margin: 0 auto; padding: clamp(24px, 3vw, 44px) 24px clamp(32px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.trjho-ahero.no-media .trjho-ahero-in { grid-template-columns: minmax(0, 820px); }
.trjho-ahero-text { min-width: 0; }
html body .trjho-ahero nav.trj-breadcrumbs { margin: 0 0 26px !important; font-size: 13px; color: #5f5f58; }
.trjho-ahero-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #45453f; }
:root:is(html,#trjho0) body:is(body,#trjho1):is(body,#trjho2):is(body,#trjho3):is(body,#trjho4) .trjho-ahero h1 { margin: 0 0 20px !important; max-width: 15ch; font-size: clamp(34px, 4.3vw, 60px) !important; line-height: 1 !important; letter-spacing: -.04em !important; font-weight: 700; color: #141414; text-wrap: balance; }
html body .trjho-ahero .single-deck { margin: 0 0 22px; max-width: 58ch; padding: 0; border: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #45453f; }
.trjho-ahero-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 26px; font-size: 14px; color: #5f5f58; }
.trjho-ahero-meta > span + span::before { content: "·"; margin: 0 10px; color: #a3a69e; }
.trjho-ahero-meta a { color: #141414 !important; font-weight: 600; text-decoration: underline; text-decoration-color: #d4ff00; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.trjho-ahero-ctas { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.trjho-ahero-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 999px; background: #141414; color: #fff !important; font-weight: 600; font-size: 16px; text-decoration: none !important; }
.trjho-ahero-btn:hover { transform: translateY(-1px); }
.trjho-ahero-btn span { margin-left: 8px; }
.trjho-ahero-link { font-weight: 600; color: #141414 !important; text-decoration: underline; text-decoration-color: #d4ff00; text-decoration-thickness: 2px; text-underline-offset: 5px; padding: 12px 0; }
.trjho-ahero-btn:focus-visible, .trjho-ahero-link:focus-visible { outline: 3px solid #141414; outline-offset: 3px; }
.trjho-ahero-media { margin: 0; border-radius: 28px; overflow: hidden; background: #fff; aspect-ratio: 4 / 5; max-height: 480px; }
.trjho-ahero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
	.trjho-ahero-in { grid-template-columns: 1fr; }
	.trjho-ahero-media { aspect-ratio: 16 / 11; max-height: 360px; order: -1; }
	html body .trjho-ahero nav.trj-breadcrumbs { margin-bottom: 18px !important; }
}
@media (max-width: 560px) { .trjho-ahero-in { padding-left: 20px; padding-right: 20px; } .trjho-ahero-btn { width: 100%; justify-content: center; } }
@media print { .trjho-ahero { background: none; } .trjho-ahero-media, .trjho-ahero-ctas { display: none; } }
