/* Athletic Department newsletter page. Uses the hub's look (css/home.css):
   navy bars, white cards, 4px corners. */

/* ---------- Hero ---------- */
.nl-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.nl-hero-img { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.nl-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, rgba(11, 31, 77, .9) 50%, rgba(11, 31, 77, .35) 76%, rgba(11, 31, 77, .15) 100%); }
.nl-hero::after { content: ""; position: absolute; z-index: 1; top: -20%; bottom: -20%; left: 44%; width: 80px; background: rgba(255, 255, 255, .05); transform: skewX(-18deg); }
.nl-hero-in { position: relative; z-index: 2; padding-top: 58px; padding-bottom: 54px; max-width: 1160px; }
.nl-hero .eyebrow { display: inline-block; background: var(--gold); color: var(--navy); padding: 4px 12px 3px; border-radius: 4px; }
.nl-hero h1 { max-width: 640px; font-size: clamp(44px, 6.4vw, 80px); line-height: .94; margin: 16px 0 12px; }
.nl-hero .lede { margin: 0 0 18px; max-width: 560px; }
.nl-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 24px; font-size: 15px; color: #c5d4f5; }
.nl-meta span { padding-right: 14px; margin-right: 14px; border-right: 1px solid rgba(255, 255, 255, .25); }
.nl-meta span:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.nl-meta b { color: var(--white); font-weight: 700; }

/* ---------- Layout ---------- */
.nl-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 34px; padding-bottom: 56px; }
.nl-side { position: sticky; top: 84px; }

/* In this issue */
.nl-toc { overflow: hidden; }
.nl-toc summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; background: var(--navy); color: var(--white); padding: 10px 16px 9px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; cursor: default; }
.nl-toc summary::-webkit-details-marker { display: none; }
.nl-toc summary span { font-size: 13px; color: #b9c6e6; letter-spacing: .06em; }
.nl-toc ol { list-style: none; margin: 0; padding: 6px 0; }
.nl-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 4px; padding: 7px 16px 7px 13px; border-left: 3px solid transparent; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.3; transition: background .15s, border-color .15s, color .15s; }
.nl-toc a:hover { background: var(--bg); color: var(--royal); }
.nl-toc a.on { border-left-color: var(--royal); background: #eef3fd; color: var(--royal); }
.nl-toc .nl-num { color: var(--muted); font-size: 14px; padding-top: 1px; }
.nl-toc a.on .nl-num { color: var(--royal); }
.nl-num { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */
.nl-sec { overflow: hidden; margin-bottom: 18px; scroll-margin-top: 84px; }
.nl-sec-head { display: flex; align-items: baseline; gap: 12px; background: var(--navy); color: var(--white); padding: 11px 22px 9px; font-size: 27px; font-weight: 800; letter-spacing: .02em; line-height: 1.05; }
.nl-sec-head .nl-num { flex: none; color: var(--gold); font-size: 19px; }
.nl-sec-body { padding: 22px 24px 24px; }
.nl-sec.plain .nl-sec-body { padding-top: 24px; }

.nl-text + .nl-text, .nl-text + .nl-cta, .nl-cta + .nl-text { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.nl-text.has-pic { display: grid; grid-template-columns: minmax(0, 1fr) 40%; gap: 26px; align-items: start; }
.nl-text.has-pic.tall { grid-template-columns: minmax(0, 1fr) 36%; }
.nl-pic { order: 2; margin: 0; position: sticky; top: 100px; }
.nl-pic button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--bg); cursor: zoom-in; box-shadow: var(--shadow); }
.nl-pic img { width: 100%; height: auto; transition: transform .4s ease; }
.nl-pic button:hover img { transform: scale(1.03); }

.nl-copy { font-size: 17px; line-height: 1.62; max-width: 68ch; }
.nl-copy > :first-child { margin-top: 0; }
.nl-copy > :last-child { margin-bottom: 0; }
.nl-copy p { margin: 0 0 13px; }
.nl-copy h3 { font-size: 28px; color: var(--navy); line-height: 1.02; margin-bottom: 12px; }
.nl-copy h4 { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .05em; text-transform: uppercase; color: var(--royal); line-height: 1.15; margin: 20px 0 8px; }
.nl-copy strong { color: var(--navy); }
.nl-copy a { font-weight: 600; text-underline-offset: 2px; }
.nl-copy ul { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.nl-copy li { position: relative; padding: 6px 0 6px 20px; border-bottom: 1px solid var(--line); line-height: 1.4; }
.nl-copy li::before { content: ""; position: absolute; left: 3px; top: 14px; width: 7px; height: 7px; background: var(--royal); }
.nl-copy li a { text-decoration: none; }
.nl-copy li a:hover { text-decoration: underline; }
.nl-copy ul:has(a) li:not(:has(a)) { color: var(--muted); }   /* a record book that isn't posted yet */

/* buttons and downloads */
.nl-cta + .nl-cta, .nl-cta + .nl-file, .nl-file + .nl-cta, .nl-text + .nl-file { margin-top: 18px; }
.nl-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--royal); color: var(--white); border: 2px solid var(--royal); border-radius: 4px; padding: 11px 22px 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .15s, transform .15s; }
.nl-btn:hover { background: var(--royal-dk); border-color: var(--royal-dk); transform: translateY(-1px); }
.nl-details { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.nl-details a { font-weight: 600; word-break: break-word; }
.nl-file { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: background .15s, border-color .15s; }
.nl-file:hover { background: var(--bg); border-color: #c3cde2; }
.nl-file svg { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--royal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nl-file-name { flex: 1; min-width: 0; font-weight: 700; line-height: 1.3; }
.nl-file-name small { display: block; font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.nl-file-go { flex: none; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--royal); }

.nl-source { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Past issues ---------- */
.nl-past { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nl-issue { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); text-decoration: none; }
.nl-issue img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nl-issue-body { padding: 12px 16px 14px; }
.nl-issue small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nl-issue b { display: block; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.05; text-transform: uppercase; color: var(--navy); margin-top: 4px; }
.nl-issue.current { border-color: var(--royal); box-shadow: inset 0 4px 0 var(--royal), var(--shadow); }

/* ---------- Smaller screens ---------- */
@media (max-width: 900px) {
  .nl-layout { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; }
  .nl-side { position: static; }
  .nl-toc summary { cursor: pointer; }
  .nl-toc summary::after { content: "+"; font-size: 24px; line-height: .7; margin-left: 4px; }
  .nl-toc[open] summary::after { content: "–"; }
  .nl-toc summary span { margin-left: auto; }
  .nl-hero-img { width: 100%; opacity: .45; }
  .nl-hero::before { background: linear-gradient(180deg, rgba(11, 31, 77, .6), rgba(11, 31, 77, .92) 70%); }
  .nl-hero::after { display: none; }
  .nl-past { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nl-hero-in { padding-top: 40px; padding-bottom: 38px; }
  .nl-sec-head { font-size: 23px; padding: 10px 16px 8px; }
  .nl-sec-body { padding: 18px 16px 20px; }
  .nl-text.has-pic, .nl-text.has-pic.tall { grid-template-columns: 1fr; gap: 16px; }
  .nl-pic { order: 0; position: static; }
  .nl-text.has-pic.tall .nl-pic { max-width: 420px; }
  .nl-copy { font-size: 16.5px; }
  .nl-btn { font-size: 17px; padding: 10px 16px 9px; }
  .nl-file-go { display: none; }
  .nl-past { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .nl-pic img, .nl-btn { transition: none; }
  .nl-pic button:hover img { transform: none; }
}
