/* ! ========================================================================================================== */
/* !                                 TIMELINE PAGE STYLES  (timeline.html only)                                 */
/* ! ========================================================================================================== */
/* # In Search of Aliens. Everything is scoped under .tl-root / #tl-pop. */
/* ! ---- DRUM + CARDS ---- */
.tl-root{--tl-nav:var(--tl-nav-h,80px);position:relative}
.tl-stage{position:relative;height:calc(100vh - var(--tl-nav));min-height:520px;overflow:hidden;
  perspective:1400px;perspective-origin:50% 50%;outline:none;
  background:radial-gradient(ellipse at 50% 50%,rgba(var(--bs-primary-rgb,68,110,155),.10),transparent 70%)}
.tl-head{position:absolute;top:.75rem;left:0;right:0;text-align:center;z-index:5;pointer-events:none}
.tl-head h1{font-size:1.35rem;margin:0;color:var(--bs-primary,#446e9b)}
.tl-head p{margin:0;font-size:.85rem;color:var(--bs-secondary-color,#6c757d)}
.tl-drum{position:absolute;left:50%;top:50%;width:min(640px,calc(100% - 13rem));height:0;transform-style:preserve-3d;transform:translateX(-50%)}
.tl-card{position:absolute;left:0;right:0;top:0;box-sizing:border-box;padding:1rem 1.25rem;border-radius:.6rem;
  background:var(--bs-body-bg,#fff);border:1px solid var(--bs-border-color,#dee2e6);border-left:6px solid var(--tl-c,#446e9b);
  box-shadow:0 .5rem 1.5rem rgba(0,0,0,.15);backface-visibility:hidden;cursor:pointer;
  transition:transform .55s cubic-bezier(.2,.7,.2,1),opacity .55s;will-change:transform,opacity}
.tl-card.is-current{cursor:default;box-shadow:0 .75rem 2.5rem rgba(0,0,0,.28)}
.tl-card:focus-visible{outline:3px solid var(--bs-primary,#446e9b);outline-offset:3px}
.tl-card[hidden]{display:none}
.tl-meta{display:flex;flex-wrap:wrap;gap:.4rem .75rem;align-items:center;font-size:.82rem;color:var(--bs-secondary-color,#6c757d)}
.tl-year{font-weight:700;font-size:1.05rem;color:var(--tl-c,#446e9b)}
.tl-card h2{font-size:1.2rem;margin:.3rem 0 .4rem;color:var(--bs-emphasis-color,#212529)}
.tl-card:not(.is-current) .tl-body{display:none}
.tl-card p{margin:0 0 .5rem;font-size:.93rem;line-height:1.45}
.tl-verdict{font-size:.85rem;border-top:1px dashed var(--bs-border-color,#dee2e6);padding-top:.4rem}
.tl-verdict b{color:var(--bs-primary,#446e9b)}
.tl-links{display:flex;flex-wrap:wrap;gap:.35rem .9rem;font-size:.85rem;margin-top:.35rem}
.tl-links a.tl-post{font-weight:600}
.tl-tag{display:inline-block;padding:.1rem .5rem;border-radius:1rem;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:#fff;background:var(--tl-c,#446e9b)}
.t-sighting{--tl-c:#446e9b}.t-radar-visual{--tl-c:#3b8f6b}.t-photo{--tl-c:#b8860b}
.t-physical-trace{--tl-c:#8a5a2b}.t-abduction-claim{--tl-c:#7b4fa0}.t-official{--tl-c:#a33a3a}
/* # ---- END DRUM + CARDS ---- */
/* ! ---- YEAR SCALE ---- */
.tl-scale{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);z-index:6;display:flex;flex-direction:column;gap:.15rem;
  padding:.4rem;border-radius:.5rem;background:rgba(255,255,255,.85);border:1px solid var(--bs-border-color,#dee2e6)}
.tl-scale button{border:0;background:none;padding:.2rem .55rem;font-size:.85rem;text-align:left;border-radius:.3rem;color:var(--bs-body-color,#333)}
.tl-scale button:hover,.tl-scale button:focus-visible{background:rgba(var(--bs-primary-rgb,68,110,155),.15)}
.tl-scale button[aria-current="true"]{background:var(--bs-primary,#446e9b);color:#fff;font-weight:700}
.tl-scale .tl-scale-cap{font-size:.65rem;text-transform:uppercase;color:var(--bs-secondary-color,#6c757d);text-align:center}
/* # ---- END YEAR SCALE ---- */
/* ! ---- CONTROLS ---- */
.tl-ctrl{position:absolute;right:.9rem;top:50%;transform:translateY(-50%);z-index:6;display:flex;flex-direction:column;align-items:center;gap:.5rem}
.tl-ctrl button{width:2.8rem;height:2.8rem;border-radius:50%;font-size:1.2rem;line-height:1;padding:0}
.tl-count{font-size:.75rem;color:var(--bs-secondary-color,#6c757d);text-align:center;white-space:nowrap}
.tl-hint{position:absolute;bottom:.6rem;left:0;right:0;text-align:center;font-size:.78rem;color:var(--bs-secondary-color,#6c757d);z-index:5;pointer-events:none}
.tl-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* # ---- END CONTROLS ---- */
/* ! ---- POPUP ---- */
#tl-pop{position:fixed;z-index:1080;max-width:340px;padding:.7rem .85rem;border-radius:.5rem;font-size:.86rem;line-height:1.4;
  background:var(--bs-body-bg,#fff);color:var(--bs-body-color,#333);border:1px solid var(--bs-primary,#446e9b);
  box-shadow:0 .5rem 1.5rem rgba(0,0,0,.25);pointer-events:none;opacity:0;transition:opacity .15s}
#tl-pop.show{opacity:1}
#tl-pop .tl-pop-t{font-weight:700;color:var(--bs-primary,#446e9b);margin-bottom:.25rem}
#tl-pop .tl-pop-v{margin-top:.35rem;font-size:.8rem;font-style:italic}
/* # ---- END POPUP ---- */
/* ! ---- SOURCES + STATIC LIST ---- */
.tl-sources{max-width:900px;margin:2rem auto 0;padding:0 1rem;font-size:.9rem}
.tl-list{max-width:900px;margin:1.5rem auto;padding:0 1rem;list-style:none}
.tl-list li{margin:0 0 1rem;padding:.75rem 1rem;border-left:5px solid var(--tl-c,#446e9b);background:var(--bs-body-bg,#fff);border-radius:.4rem;box-shadow:0 .1rem .4rem rgba(0,0,0,.08)}
.tl-list h2{font-size:1.1rem;margin:.2rem 0}
.tl-list p{margin:.25rem 0}
.tl-root.tl-flat .tl-stage{display:none}
@media (max-width:700px){.tl-scale{left:.25rem;font-size:.75rem}.tl-scale button{padding:.15rem .35rem}.tl-drum{width:calc(100% - 8.5rem)}.tl-ctrl{right:.25rem}}
/* # ---- END SOURCES + STATIC LIST ---- */
/* ! ---- FIXES ---- */
.tl-root{text-align:left}
.tl-drum{z-index:1}
.tl-head{z-index:150;padding:.6rem 0 1.2rem;top:0;background:linear-gradient(var(--light-bg,var(--bs-body-bg,#fff)) 70%,transparent)}
.tl-hint{z-index:150;padding:1rem 0 .2rem;bottom:0;background:linear-gradient(transparent,var(--light-bg,var(--bs-body-bg,#fff)) 50%)}
.tl-scale,.tl-ctrl{z-index:160}
.tl-scale-list{list-style:none;margin:0;padding:0}
.tl-card h2,.tl-list h2{font-size:1.15rem}
.tl-card p{font-size:.95rem}
.tl-head h1{text-align:center!important;width:100%;font-size:1.5rem}
.tl-head p{text-align:center!important}
.tl-sr{clip-path:inset(50%);left:-9999px}
/* # ---- END FIXES ---- */
/* ! ---- FIXED FOCUS RING ---- */
/* # pill, like an input box, around the focused case */
.tl-drum{width:min(640px,calc(100% - 13rem),calc((100% - 2rem)/1.3))}
.tl-ring{position:absolute;left:50%;top:0;width:0;height:0;border-radius:9999px;pointer-events:none;
  border:3px solid #446e9b;box-shadow:0 0 18px 4px rgba(68,110,155,.45),inset 0 0 18px 2px rgba(68,110,155,.25);
  background:radial-gradient(ellipse at center,rgba(68,110,155,.07),transparent 70%);
  transform:translate(-50%,-50%) translateZ(-1px);transition:width .35s,height .35s}
@media (prefers-reduced-motion:reduce){.tl-ring{display:none}}
/* # ---- END FIXED FOCUS RING ---- */
/* ! ---- PSEUDO-ELEMENT FIX ---- */
/* # Neutralise a stray site-wide pseudo-element: style.css has "&:before"/"&:after" rules outside the
   blockquote block, so they attach to <html> and draw a small glyph box at the left edge, mid-height. */
html::before,html::after{content:none!important}
/* # ---- END PSEUDO-ELEMENT FIX ---- */
/* ! ---- SMALL SCREENS ---- */
@media (max-width:700px){
  .tl-drum{width:calc(100% - 6.5rem)}
  .tl-scale button{font-size:.68rem;padding:.1rem .25rem}
  .tl-ctrl button{width:2.2rem;height:2.2rem;font-size:1rem}
  .tl-card{padding:.6rem .7rem}
  .tl-card h2{font-size:.95rem}
  .tl-card p{font-size:.78rem;line-height:1.35}
  .tl-meta{font-size:.68rem}
  .tl-head h1{font-size:1.1rem}.tl-head p{font-size:.7rem}
}
/* # ---- END SMALL SCREENS ---- */
/* ! ---- SITE PALETTE ---- */
/* # colours taken from /css/style.css
   #446e9b  nav active link + blockquote border  -> accent: dates, card border, focus ring, scale active, popup
   #022d4e  --primary-color / .text-emphasis      -> page title, focused case heading
   #004f8f  .btn-primary  (hover #2e23ff)         -> arrow buttons
   #e0f2fe / #0369a1  .post-tags .badge           -> type badges
   #6786b1  .latest-news-item a (hover #0063ed)   -> links
   #175792  .grad1 gradient, #3a5c81 .tab-pane, #334155 .btn-outline-primary/footer -> per-type border shades
   #475569  .archive-list a                       -> meta text
   #ffffff --card-bg, #e2e8f0 --border-color      -> card background / borders                        */
.tl-root{--tl-acc:#446e9b}
.t-sighting{--tl-c:#446e9b}.t-radar-visual{--tl-c:#175792}.t-photo{--tl-c:#6786b1}
.t-physical-trace{--tl-c:#3a5c81}.t-abduction-claim{--tl-c:#334155}.t-official{--tl-c:#022d4e}
.tl-head h1{color:#022d4e}
.tl-head p,.tl-meta,.tl-count,.tl-hint,.tl-scale .tl-scale-cap{color:#475569}
.tl-year{color:#446e9b}
.tl-card,.tl-list li{background:#ffffff;border-color:#e2e8f0;border-left-color:var(--tl-c)}
.tl-card.is-current h2{color:#022d4e}
.tl-tag{background:#e0f2fe;color:#0369a1;font-weight:600}
.tl-verdict b{color:#446e9b}
.tl-root a{color:#6786b1}.tl-root a:hover{color:#0063ed}
.tl-scale{border-color:#e2e8f0}
.tl-scale button:hover,.tl-scale button:focus-visible{background:#e0f2fe}
.tl-scale button[aria-current="true"]{background:#446e9b;color:#fff}
.tl-ctrl .btn-primary{background-color:#004f8f;border-color:#004f8f;color:#fff}
.tl-ctrl .btn-primary:hover{background-color:#2e23ff;border-color:#2e23ff}
.tl-card:focus-visible{outline-color:#446e9b}
.tl-ring{border:2px solid #446e9b;box-shadow:0 0 0 4px rgba(68,110,155,.15),0 0 14px 2px rgba(68,110,155,.30)}
#tl-pop{border-color:#446e9b;background:#ffffff}
#tl-pop .tl-pop-t{color:#446e9b}
.tl-stage{background:radial-gradient(ellipse at 50% 50%,rgba(68,110,155,.12),transparent 70%)}
.tl-head{background:linear-gradient(var(--light-bg,#b8b8b8) 70%,transparent)}
.tl-hint{background:linear-gradient(transparent,var(--light-bg,#b8b8b8) 50%)}
.tl-head{background:linear-gradient(#ffffff 70%,transparent)}
.tl-hint{background:linear-gradient(transparent,#ffffff 50%)}
@media (max-width:700px){.tl-drum{width:calc(100% - 8rem)}}
/* # allow for the 1.12 focus scale so the card never slides under the decade scale or the buttons */
.tl-drum{width:min(640px,calc((100% - 13rem)/1.12),calc((100% - 2rem)/1.45))}
@media (max-width:700px){.tl-drum{width:calc((100% - 8rem)/1.12)}}
/* # ---- END SITE PALETTE ---- */

/* ! ========================================================================================================== */
/* ! BLOG-STYLE LAYOUT (hero + timeline column + aside) — page-specific, does not touch style.css / gstyle.css  */
/* ! ========================================================================================================== */
/* # main content (and the hero's text container, so the title lines up) use 95% of the viewport */
main.tl-wide,.tl-hero>.container{width:95%;max-width:95%;margin-left:auto;margin-right:auto}
main.tl-wide{padding-left:0;padding-right:0}
/* # the drum now lives in a column: fixed, compact height instead of full viewport */
.tl-stage{height:clamp(440px,calc(100vh - var(--tl-nav) - 2rem),680px);min-height:0;border-radius:.6rem;
  border:1px solid #e2e8f0;background:#ffffff radial-gradient(ellipse at 50% 50%,rgba(68,110,155,.10),transparent 70%)}
.tl-head{padding:.35rem 0 .7rem}
.tl-head p{font-size:.72rem}
.tl-hint{font-size:.68rem;padding:.6rem 0 .15rem}
.tl-scale{left:.4rem;padding:.25rem;gap:0}
.tl-scale button{font-size:.72rem;padding:.12rem .4rem}
.tl-scale .tl-scale-cap{font-size:.58rem}
.tl-ctrl{right:.45rem;gap:.35rem}
.tl-ctrl button{width:2.2rem;height:2.2rem;font-size:1rem}
.tl-count{font-size:.68rem}
.tl-drum{width:min(600px,calc((100% - 10rem)/1.12),calc((100% - 2rem)/1.35))}
.tl-card{padding:.7rem .9rem}
.tl-card h2{font-size:1.02rem;margin:.2rem 0 .3rem}
.tl-card p{font-size:.84rem;line-height:1.4;text-align:left}
.tl-meta{font-size:.72rem}
.tl-year{font-size:.92rem}
.tl-links,.tl-verdict{font-size:.78rem}
#tl-pop{font-size:.78rem;padding:.55rem .7rem;text-align:left}
.tl-sources{max-width:none;margin:1.25rem 0 0;padding:0;font-size:.85rem}
.tl-list{max-width:none;padding:0}
@media (max-width:700px){
  .tl-stage{height:clamp(420px,calc(100vh - var(--tl-nav) - 1rem),620px)}
  .tl-drum{width:calc((100% - 6.5rem)/1.12)}
  .tl-scale button{font-size:.62rem;padding:.08rem .25rem}
  .tl-ctrl button{width:1.9rem;height:1.9rem;font-size:.85rem}
  .tl-card p{font-size:.74rem}
}
/* # leave room for the pill's rounded ends between the decade scale and the buttons */
.tl-drum{width:min(580px,calc((100% - 13rem)/1.12),calc((100% - 2rem)/1.4))}
@media (max-width:700px){.tl-drum{width:calc((100% - 7.5rem)/1.12)}}
/* # ========================================= END BLOG-STYLE LAYOUT ========================================== */
/* # ======================================== END TIMELINE PAGE STYLES ======================================== */
