:root{
  /* ---- Base (paper, not ink) ---- */
  --paper:      #F7F4EC;
  --paper-deep: #ECE6D4;
  --ink:        #1B1A17;
  --ink-soft:   #56524A;
  --ink-faint:  #8A8478;
  --line:       #DED5BF;

  /* ---- Accent palette — primary color is a dark blue/teal combo,
     descended from the lab mark's blue but pulled deeper/cooler. ---- */
  --glacier-deep: #073B4C;  /* darkest — borders, deep shading */
  --glacier:      #0C5C70;  /* primary accent — dark blue-teal */
  --glacier-lit:  #16808F;  /* hover/lit state — still dark-toned, not bright cyan */
  --amber:        #B87F1E;  /* secondary — warm counterpoint to the blue */
  --moss:         #4E6140;  /* tertiary */
  --wine:         #7E3B45;  /* quaternary */

  /* Darker "-tag" variants — base accents are too light for small pill
     text/thin borders. */
  --glacier-tag: #052B37;
  --amber-tag:   #7A5313;
  --moss-tag:    #333F20;
  --wine-tag:    #5A222B;

  /* Event calendar tags — deliberately brighter/more saturated than the
     muted site accents above, so they pop against the cream background
     on the calendar-grid dots and event-card badges. */
  --tag-conference:    #E8600C; /* bright orange */
  --tag-education:     #0EA5A5; /* teal / turquoise */
  --tag-communication: #E64980; /* pink */

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body:    'Public Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono:    'IBM Plex Mono', 'Courier New', monospace;
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }

body{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ color: var(--glacier); text-decoration: none; }
a:hover{ color: var(--glacier-lit); }
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--glacier);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html{ scroll-behavior: auto; }
}

/* ---------- HERO BACKGROUND PHOTO (front page only) ----------
   Sits behind the "Future Learning Lab" heading + tagline. Reaches the
   true right edge of the browser (not just the content column's own,
   narrower max-width) and extends 1cm below the tagline. Height is set
   via JS since the tagline's bottom edge is responsive/dynamic; left
   position matches the fixed 34vw width of the mark-col. Negative
   z-index keeps it behind all normal-flow text without needing to
   touch every text element's stacking. */
#heroBleed{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background-image: url('assets/hero-photo.jpg');
  background-size: cover;
  background-position: center 35%;
  opacity: 0.09;
  filter: grayscale(100%);
  pointer-events: none;
}

/* ---------- TOP NAV (shared across every page) ---------- */
.topnav{
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  padding: 0.9rem 6vw;
  background: rgba(247,244,236,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.topnav-logo{
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
  flex: 0 0 auto;
  margin-right: 0.3rem;
  transition: opacity 0.15s ease;
}

.nav-left-group, .nav-right-group{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
}
a:has(> .topnav-logo):hover .topnav-logo{ opacity: 0.7; }

.topnav a{
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.topnav a:hover{ color: var(--ink); }

.topnav a:nth-of-type(1){ color: var(--glacier); }
.topnav a:nth-of-type(2){ color: var(--amber); }
.topnav a:nth-of-type(3){ color: var(--moss); }
.topnav a:nth-of-type(4){ color: var(--wine); }
.topnav a:nth-of-type(5){ color: var(--glacier); }
.topnav a:nth-of-type(6){ color: var(--amber); }
.topnav a:nth-of-type(7){ color: var(--moss); }

.nav-summits{
  flex: 1 1 auto;
  text-align: center;
  font-size: 0.912rem; /* 120% of the base 0.76rem nav font size */
  color: var(--wine) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Front page only: nav has no logo icon, so pull its left edge in to
   line up with the mark-col's logo/heading below (mark-col uses 3vw
   left padding). */
.topnav-home{ padding-left: 3vw; }

.topnav a.active{
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.topnav .nav-lang{
  margin-left: auto;
  color: var(--ink) !important;
  border: 1px solid var(--ink-faint);
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
  font-family: var(--mono);
}

/* ---------- HOMEPAGE LAYOUT ----------
   Institutional hero (no portrait photo — this is a lab, not a person).
   Left column: mark + identity block, sitting on a faint ruled-notebook
   texture. Right column: scrolling content, same rhythm as the personal
   site's .content-col. */
.layout{
  display: grid;
  grid-template-columns: 34vw 1fr;
  min-height: 100vh;
}

.mark-col{
  position: sticky;
  top: 0;
  height: 200vh;
  overflow: hidden;
  background: var(--paper);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 4vh 3vw 4vh;
}

.mark-col .mark-top{ flex: 0 0 auto; }
.mark-col .mark-links{ flex: 0 0 auto; margin-top: 1rem; }

/* ---- Upcoming event — sits in the open space between the logo block
   and the field-notes feed, vertically centered in that gap via JS
   (see the alignFieldNotes script). Absolutely positioned so it never
   competes with field-notes for flex space. ---- */
.upcoming-event{
  flex: 0 0 auto;
}
.upcoming-event-label{
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}
.upcoming-event-title{
  display: block;
  text-align: left;
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  color: #3A3A3A;
  text-decoration: underline;
}
.upcoming-event-title:hover{ color: var(--glacier-lit); }
.upcoming-event-meta{
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

/* Header variant — right-aligned, bottom-anchored to "Lab" via
   .intro-top-row's flex align-items: flex-end. Text mirrors the
   right-hand position, and the box gets a bit more presence than
   it had tucked into the notepad column. */
.upcoming-event--header{
  flex: 0 0 auto;
  text-align: right;
  max-width: 260px;
}
.upcoming-event--header .upcoming-event-label{
  text-align: right;
}
.upcoming-event--header .upcoming-event-title{
  text-align: right;
  font-size: 1.15rem;
}
.upcoming-event--header .upcoming-event-meta{
  text-align: right;
}

/* ---- Field notes — the left-column "notepad" feed. Informal updates:
   opinions, comments, project notes. No numbering, no headlines — reads
   like marginalia, not a blog roll. Fills the remaining space between
   the top identity block and the bottom links, scrolling internally.

   Snapped to the notepad's own 32px ruled-line grid (see .mark-col's
   repeating-linear-gradient): entries start 5 ruled lines below the
   tagline, each entry is a clamped 2-line summary at line-height:32px,
   followed by exactly one blank ruled line before the next entry. ---- */
.field-notes{
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 0; /* set dynamically via JS to align with the tagline's top edge */
  padding-right: 0.4rem;
}
.field-note{
  margin-bottom: 32px; /* exactly one blank ruled line between entries */
}
.field-note:last-child{ margin-bottom: 0; }

.fn-commentary-heading{
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  margin-bottom: 32px; /* one blank ruled line before the first entry */
}
.field-note .fn-text{
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  line-height: 32px; /* locks each text line to one ruled line */
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fn-text-link{
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--ink-faint);
}
.fn-text-link:hover{ color: rgb(58,50,120); text-decoration-color: rgb(58,50,120); }
.field-note .fn-tag-inline{
  font-family: var(--mono);
  font-style: normal;
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-right: 0.4rem;
}
.field-note .fn-tag-inline.opinion{ color: var(--wine-tag); }
.field-note .fn-tag-inline.comment{ color: var(--amber-tag); }
.field-note .fn-tag-inline.project-note{ color: var(--glacier-tag); }
.field-note .fn-tag-inline.aside{ color: var(--moss-tag); }

.mark-col .mark-header-row{
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.1rem;
}

.mark-col .mark-header-row .lab-mark{
  width: 83px;
  max-width: 100%;
  height: auto;
  display: block;
}

.mark-col .mark-top .lab-mark{
  width: 4.2rem;
  height: auto;
  display: block;
  margin-bottom: 1.6rem;
}

.mark-col .eyebrow{ color: var(--ink-soft); }

.mark-col .mark-tagline{
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 22ch;
  margin-top: 0.1rem;
}

.mark-col .mark-links{
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mark-col .mark-links a{
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
}

/* Search the Site — front page only, bottom of the notepad column */
.mark-search{
  flex: 0 0 auto;
  margin-top: calc(1.2rem + 2cm);
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}
.mark-search-label{
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.mark-search-form{
  display: flex;
  gap: 0.5rem;
}
.mark-search-input{
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.35rem 0.6rem;
}
.mark-search-input::placeholder{ color: var(--ink); opacity: 0.7; }
.mark-search-btn{
  color: var(--ink);
  font-weight: 600;
  border-color: var(--line);
}
.mark-search-btn:hover{ border-color: var(--ink); color: var(--ink); }

/* Right-aligned variant — used when the search box sits in the
   content column instead of the notepad column. */
.mark-search--right{
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 2rem;
  margin-left: auto;
  max-width: 420px;
  width: 100%;
}
.mark-search--right .mark-search-label{ text-align: right; }
.mark-search--right .mark-search-form{ justify-content: flex-end; }

/* On wider (laptop/desktop) viewports these two right-aligned elements
   sit noticeably far from the text column, since they align to the
   full content-col width rather than the narrower 58ch reading column.
   Pull them in from the right edge — 2cm is about as far as this can
   go before the search box starts crowding the nav above it. */
@media (min-width: 801px){
  .mark-search--right{ margin-right: 2cm; }
}

.mark-col .mark-links-row{
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
}

.mark-col .mark-links-row a{
  border-top: none;
  padding-top: 0;
  color: var(--ink);
}

.content-col{
  padding: 6vh 6vw 10vh 6vw;
  max-width: clamp(760px, 60vw, 1180px);
}

/* ---------- SUBPAGE LAYOUT (no hero column, single column) ---------- */
.subpage{
  max-width: 1230px;
  margin: 0 auto;
  padding: 8vh 6vw 10vh;
}

/* ---------- SHARED TYPE / SECTION STYLES ---------- */
header.intro{
  position: relative;
  margin-bottom: 7vh;
}

/* Full-width variant — homepage hero now spans the entire page (photo
   bleeds edge-to-edge behind it), sitting above the two-column .layout
   rather than inside .content-col. Left padding is set to match
   .mark-col's own left padding (3vw) rather than the page's usual 6vw,
   so the h1 and role-line line up with the field-notes column below. */
header.intro-full{
  padding: 7vh 6vw 5vh 3vw;
  margin-bottom: 0;
}

/* Top row of the homepage hero: h1 on the left, upcoming-event box
   pinned to the right, bottom-aligned so the event box sits level
   with the last line of the h1 ("Lab"). */
.intro-top-row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.eyebrow{
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h1{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.role-line{
  font-family: var(--body);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  margin-top: 1.1rem;
  margin-left: 0.5rem;
  max-width: 44ch;
}

.role-line strong{ color: var(--ink); font-weight: 600; }

/* Gallery link box — sits right below the hero (.intro-full), right-
   justified against the page's right edge (matches the hero's own
   6vw padding). Links out to photo-video-gallery.html. */
.gallery-link-row{
  display: flex;
  justify-content: flex-end;
  padding: 0 6vw;
  margin: 0;
}
.gallery-link-box{
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 0.7rem 1.6rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.gallery-link-box:hover{
  border-color: rgb(184,127,30);
  transform: translateY(-2px);
}
.gallery-link-title{
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  white-space: nowrap;
}
.gallery-link-box:hover .gallery-link-title{ color: rgb(184,127,30); }

/* ---------- WORLD LEARNING SUMMIT 2027 — SITE-WIDE ANNOUNCEMENT BANNER ----------
   Full-bleed band, sits directly below the sticky nav on any page that
   includes the markup (see index.html for the drop-in block + usage
   note). Links through to world-learning-summit-2027.html. Colours
   match that page's dark blue bands (#04243C, #063357, #094A78,
   #0F6397). The banner photo uses the existing .photo-mono varnish;
   the .overlay-purple class stays in the markup, but its tint is
   replaced for this banner only by the blue rule just below — swap the
   <img src> for a different photo any time; the treatment carries
   over automatically. Current photo (statue in fog)
   is mostly negative space, so object-position is tuned to keep the
   torch/crown/face in the visible band at this short aspect ratio. */
.wls2027-banner{
  display: block;
  position: relative;
  background: #04243C; /* WLS 2027 page blue — shows through if the photo is removed */
  border-bottom: 1px solid rgba(0,0,0,0.15);
  overflow: hidden;
  text-decoration: none;
}
/* Dark blue tint for this banner only. Higher specificity than
   .overlay-purple::before, so the purple varnish on other photos
   around the site is untouched. Applies wherever the photo shows
   (the tall --wide variant). */
.wls2027-banner.overlay-purple::before{
  background: linear-gradient(100deg, rgba(15,99,151,0.94) 0%, rgba(9,74,120,0.94) 45%, rgba(6,51,87,0.96) 100%);
  mix-blend-mode: multiply;
}
.wls2027-banner-photo{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%; /* keeps torch, crown and face in frame at this short aspect ratio */
  z-index: 0;
}
.wls2027-banner-inner{
  position: relative;
  z-index: 2; /* above .overlay-purple::before's z-index:1 tint */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.85rem 6vw;
}
.wls2027-banner-kicker{
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.2rem;
}
.wls2027-banner-title{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: #FFFFFF;
  line-height: 1.15;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.wls2027-banner-cta{
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 2px;
  padding: 0.4rem 0.9rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.wls2027-banner:hover .wls2027-banner-cta{
  background: rgba(255,255,255,0.14);
  border-color: #FFFFFF;
}
.wls2027-banner:hover .wls2027-banner-title{ text-decoration: underline; }

@media (max-width: 640px){
  .wls2027-banner-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 6vw;
  }
}

/* Front page only: the hero h1 ("Future Learning Lab") sits at 3vw
   left padding, matching mark-col below it, rather than the site's
   usual 6vw. Drop the centered max-width container and match that
   3vw so the banner text lines up with the h1's left edge. */
/* Front page only: no photo. In this slim band only the tip of the
   torch was visible, so the photo and its tint are switched off and the
   band is painted with gradients in the blues and teal of
   world-learning-summit-2027.html. To bring the photo back, delete
   the three rules below. */
.wls2027-banner--home{
  /* Layers, top to bottom: a soft diagonal slash of teal; two radial
     pools of very dark blue; the darkest blue as the ground. Raise or
     lower the alpha values to make the variation stronger or fainter. */
  background:
    linear-gradient(112deg, rgba(22,128,143,0) 57%, rgba(22,128,143,0.30) 63%, rgba(22,128,143,0.10) 67%, rgba(22,128,143,0) 73%),
    radial-gradient(48% 260% at 16% 40%, rgba(6,51,87,0.95) 0%, rgba(4,36,60,0.6) 45%, rgba(4,36,60,0) 100%),
    radial-gradient(34% 220% at 92% 110%, rgba(9,74,120,0.5) 0%, rgba(9,74,120,0) 100%),
    #021520;
}
.wls2027-banner--home .wls2027-banner-photo{ display: none; }
.wls2027-banner--home.overlay-purple::before{ display: none; }
.wls2027-banner--home .wls2027-banner-inner{
  max-width: none;
  margin: 0;
  padding: 0.85rem 6vw 0.85rem 3vw;
}
@media (max-width: 640px){
  .wls2027-banner--home .wls2027-banner-inner{
    padding: 0.9rem 6vw 0.9rem 3vw;
  }
}

/* Modifier: tall hero variant of the same banner — used on
   world-learning-summit.html, where the photo needs to actually read
   rather than survive as a thin cropped sliver. Add alongside
   .wls2027-banner (e.g. class="wls2027-banner wls2027-banner--wide
   photo-mono overlay-purple"); markup is otherwise identical to the
   slim site-wide version. */
.wls2027-banner--wide{
  min-height: 30.7vh; /* 2/3 of the original 46vh */
}
.wls2027-banner--wide .wls2027-banner-photo{
  object-position: center 26%; /* shows most of the statue, not just the torch */
}
.wls2027-banner--wide .wls2027-banner-inner{
  min-height: 30.7vh;
  align-items: flex-end;
  padding-top: 2.4rem;
  padding-bottom: 2rem;
}
.wls2027-banner--wide .wls2027-banner-kicker{
  font-size: 0.78rem;
}
.wls2027-banner--wide .wls2027-banner-title{
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}
.wls2027-banner--wide .wls2027-banner-cta{
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}
@media (max-width: 640px){
  .wls2027-banner--wide{ min-height: 26.7vh; }
  .wls2027-banner--wide .wls2027-banner-inner{ min-height: 26.7vh; align-items: flex-start; }
}

/* ---------- SCROLLBOX — expandable/collapsible content box ----------
   A fixed-height, scrollable box for long content (e.g. a call for
   abstracts), with a toggle button that removes the height cap and
   scroll to show everything, then re-collapses it. Pairs with the
   toggleScrollbox() script — see world-learning-summit-2027.html for
   the usage pattern (button + matching #id on the box). */
.scrollbox{
  position: relative;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  background: rgba(0,0,0,0.015);
}
.scrollbox.is-expanded{
  max-height: none;
  overflow-y: visible;
}
.scrollbox--compact{
  max-height: 260px; /* sidebar use — tall enough to show all 6 deadline items without scrolling; still caps/scrolls if content grows further */
}
/* Variant: the whole box IS the link (e.g. WLS 2027 Team Members →
   its dedicated page), instead of a separate button underneath. */
a.scrollbox{
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
a.scrollbox:hover{
  border-color: rgb(var(--page-accent-rgb, 12,92,112));
}
.scrollbox-inner p{ margin: 0 0 1em; }
.scrollbox-inner p:last-child{ margin-bottom: 0; }
.scrollbox-inner ul,
.scrollbox-inner ol{
  padding-left: 1.2em; /* keeps markers inside the box, not hanging past its edge — the site's *{padding:0} reset strips the browser default */
  margin: 0 0 1em;
}
.scrollbox-inner ul:last-child,
.scrollbox-inner ol:last-child{ margin-bottom: 0; }
.scrollbox-inner li{ margin-bottom: 0.3em; }
.scrollbox-inner li:last-child{ margin-bottom: 0; }
.scrollbox-toggle{
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgb(var(--page-accent-rgb, 12,92,112));
  background: none;
  border: 1px solid rgb(var(--page-accent-rgb, 12,92,112));
  border-radius: 2px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.scrollbox-toggle:hover{
  background: rgb(var(--page-accent-rgb, 12,92,112));
  color: #FFFFFF;
}

/* ---------- LIGHTBOX — sitewide modal overlay, for content that
   should "unfold" over the whole page instead of just expanding in
   place like .scrollbox does. openLightbox(sourceId, label) clones
   the matching element's .scrollbox-inner content into the panel and
   shows it; there's only ever one copy of the real text to maintain,
   in the source scrollbox. Closes via the × button, clicking the
   backdrop, or Esc — see the toggleScrollbox/openLightbox script on
   the page using this (e.g. world-learning-summit-2027.html). */
.lightbox{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.lightbox.is-open{
  display: block;
}
.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(20,14,26,0.72);
}
.lightbox-panel{
  position: relative;
  z-index: 1;
  max-width: 640px;
  max-height: 80vh;
  margin: 8vh auto 0;
  background: var(--paper);
  border-top: 4px solid rgb(var(--page-accent-rgb, 12,92,112));
  border-radius: 4px;
  padding: 2.2rem 2.4rem;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.lightbox-close{
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}
.lightbox-close:hover{ color: var(--ink); }
.lightbox-label{
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(var(--page-accent-rgb, 12,92,112));
  margin-bottom: 0.8rem;
}
.lightbox-content p{ margin: 0 0 1em; }
.lightbox-content p:last-child{ margin-bottom: 0; }
@media (max-width: 640px){
  .lightbox-panel{
    margin: 4vh 4vw 0;
    max-width: none;
    max-height: 88vh;
    padding: 1.6rem 1.4rem;
  }
}

section{
  border-top: 1px solid var(--line);
  padding: 4.5vh 0;
}

/* ---------- SUBMISSION BOX — mailto-based submission panel ----------
   A styled panel pairing a short note with a prominent CTA button that
   opens a pre-filled email (see the "Submit Your Abstract" usage on
   world-learning-summit-2027.html). No backend, no accounts — the
   mailto: link itself carries the subject/body template. */
.submission-box{
  margin-top: 1.6rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-top: 3px solid rgb(var(--page-accent-rgb, 12,92,112));
  border-radius: 4px;
  background: rgba(var(--page-accent-rgb, 12,92,112), 0.05);
}
.submission-box-label{
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(var(--page-accent-rgb, 12,92,112));
  margin-bottom: 0.5rem;
}
.submission-box-note{
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 1rem;
}
.submission-box-cta{
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: #FFFFFF;
  background: rgb(var(--page-accent-rgb, 12,92,112));
  border-radius: 3px;
  padding: 0.65rem 1.4rem;
  transition: background 0.15s ease;
}
.submission-box-cta:hover{
  background: rgb(var(--page-accent-rgb, 12,92,112));
  filter: brightness(1.15);
}

section .section-label{
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.6rem;
}

h2.title{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 1.2rem;
  letter-spacing: -0.005em;
  color: var(--ink);
}

p{
  color: var(--ink);
  font-size: 1rem;
  max-width: 58ch;
  margin-bottom: 1rem;
}

p.muted{ color: var(--ink-soft); }

.now-list{ list-style: none; }

.now-list li{
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.now-list li:last-child{ border-bottom: none; }

.now-list .dot{
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--glacier);
  margin-top: 0.5rem;
}

.now-list .now-text strong{ color: var(--ink); font-weight: 600; }
.now-list .now-text{ color: var(--ink-soft); }

.spotlight-list{
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.spotlight-item{
  border-left: 2px solid var(--glacier);
  padding-left: 1.1rem;
}
.spotlight-item h3{
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.spotlight-item p{ color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }
.spotlight-item p.spotlight-subtitle{
  font-family: var(--display);
  font-style: italic;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.spotlight-item a.spotlight-link{
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--glacier);
}
.spotlight-photo{ margin: 0.6rem 0 0.7rem; font-size: 0.95rem; max-width: 58ch; }
.spotlight-photo img{
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
}

/* Portrait illustration inside a spotlight item (used for the WLS 2027
   poster): the picture floats left at a reduced width and the text
   wraps around it, so a tall poster does not push the text far down.
   Add class="spotlight-item spotlight-item--poster" to the item and
   wrap the <img> in <a class="spotlight-poster">. On phones the
   picture sits above the text instead. */
.spotlight-item--poster::after{ content: ""; display: table; clear: both; }
.spotlight-poster{
  float: left;
  width: min(44%, 300px);
  margin: 0.3rem 1.4rem 0.7rem 0;
  display: block;
}
.spotlight-poster img{
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: opacity 0.15s ease;
}
.spotlight-poster:hover img{ opacity: 0.9; }
.spotlight-item--poster .spotlight-readmore-row{ clear: both; padding-top: 0.2rem; }
@media (max-width: 640px){
  .spotlight-poster{ float: none; width: 100%; max-width: 340px; margin: 0.6rem 0 0.9rem; }
}

/* Same width-matching photo treatment as .spotlight-photo, but sized for
   contexts using the base 1rem paragraph (e.g. the homepage About/bio
   section) rather than the 0.95rem spotlight items. */
.text-photo{ margin: 0.6rem 0 1rem; font-size: 1rem; max-width: 58ch; }
.text-photo img{
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
}

/* Modifier: a sepia/charcoal "varnish" overlay for photos — desaturates
   and warms the image, then lays a soft dark tint + vignette on top via
   a blended pseudo-element, for an aged, archival look. Add alongside
   .spotlight-photo or .post-photo, e.g. class="post-photo photo-varnish". */
.photo-varnish{ position: relative; overflow: hidden; }
.photo-varnish img{
  filter: sepia(0.55) saturate(1.15) contrast(1.05) brightness(0.92);
}
.photo-varnish::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 45%, rgba(35,26,18,0.38) 100%),
    rgba(58,42,26,0.22);
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: inherit;
}

/* Modifier: an additional plum-red tint, layered on top of (or on its
   own without) .photo-varnish via a second blended pseudo-element, so
   the two can be combined freely: class="post-photo photo-varnish overlay-plum". */
.overlay-plum{ position: relative; overflow: hidden; }
.overlay-plum::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(90, 28, 45, 0.38);
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

/* Modifier: a straight black-and-white treatment for photos — pairs with
   .overlay-purple below. Add alongside .spotlight-photo or .post-photo,
   e.g. class="post-photo photo-mono". */
.photo-mono{ position: relative; overflow: hidden; }
.photo-mono img{
  filter: grayscale(1) contrast(1.08) brightness(0.95);
}

/* Modifier: a dark purple tint, layered on top of (or on its own without)
   .photo-mono via a blended pseudo-element: class="post-photo photo-mono overlay-purple". */
.overlay-purple{ position: relative; overflow: hidden; }
.overlay-purple::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 20, 66, 0.55);
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.contact-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.6rem;
}

.contact-row a{
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-row a:hover{
  border-color: var(--ink-faint);
  background: var(--paper-deep);
}

.about-btn{
  display: block;
  margin: 1.2rem auto 0;
  width: fit-content;
  color: var(--ink) !important;
  border: 1px solid var(--ink-faint);
  padding: 0.45rem 1.4rem;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.about-btn:hover{ background: var(--paper-deep); border-color: var(--ink); }

/* Wraps the Read More link so it can be right-aligned within the same
   58ch column the photo and paragraph text use, rather than the full
   width of .spotlight-item — keeping its right edge flush with theirs. */
.spotlight-readmore-row{
  max-width: 58ch;
  font-size: 0.95rem;
}
.spotlight-readmore{
  display: block;
  margin: 0.7rem 0 0 auto;
  width: fit-content;
  color: var(--ink) !important;
  border: 1px solid var(--ink-faint);
  padding: 0.4rem 1.2rem;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: right;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.spotlight-readmore:hover{ background: var(--paper-deep); border-color: var(--ink); }

/* ---------- TAG PILLS (topic/theme labels — mirrors media-tags.js use) ---------- */
.tag-pill{
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 2px;
  border: 1px solid currentColor;
}
.tag-pill.glacier{ color: var(--glacier-tag); }
.tag-pill.amber{ color: var(--amber-tag); }
.tag-pill.moss{ color: var(--moss-tag); }
.tag-pill.wine{ color: var(--wine-tag); }

.placeholder-note{
  border: 1px dashed var(--ink-faint);
  padding: 1.4rem 1.6rem;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 58ch;
}

footer{
  border-top: 1px solid var(--line);
  padding: 3vh 0 1vh;
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* ---------- SUBPAGE 2:1 CONTENT GRID ---------- */
.content-grid{
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 3.2rem;
  margin-top: 1rem;
}

.content-main img.placeholder-img,
.image-placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  border: 1px dashed var(--ink-faint);
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 1.2rem 0 1.6rem;
}

.content-side{
  border-left: 1px solid var(--line);
  padding-left: 2rem;
  min-width: 0; /* grid items default to min-width:auto, which lets a fixed-width descendant (e.g. the poster miniature's 1123px canvas) force this whole column — and the grid — wider than intended. This is the actual fix; overflow:hidden set on nested descendants doesn't count for this, only on the grid item itself. */
}

.side-box{ margin-bottom: 2.4rem; }
.side-box:last-child{ margin-bottom: 0; }

.side-box .side-label{
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.9rem;
}

.side-links{ list-style: none; }
.side-links li{
  border-top: 1px solid var(--line);
  padding: 0.7rem 0;
  font-size: 0.88rem;
}
.side-links li:first-child{ border-top: none; padding-top: 0; }
.side-links a{
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.side-links a:hover{ color: var(--glacier); }
.side-links .link-meta{
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-top: 0.2rem;
}

/* Short placeholder/status text inside a .side-box, sized to match the
   sidebar's other small type (side-links, pull-quote) rather than the
   larger body-copy p{} used in the main column. */
.side-box .side-note{
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.side-note li{ margin-bottom: 0.35em; }
.side-note li:last-child{ margin-bottom: 0; }

.pull-quote{
  border-left: 2px solid rgb(var(--page-accent-rgb, 12,92,112));
  padding-left: 1.1rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.pull-quote cite{
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.6rem;
}

/* ---------- MEMBER / EXPERT PROFILE CARDS ----------
   Reused in two places: the sidebar's repeating member list (single
   column, one card per row) and the wide-column expert grid (two per
   row, shorter bio text since each card gets less width). ---- */
.member-card .headshot-placeholder{
  height: 160px;
  margin: 0 0 0.8rem;
}
.member-card .member-headshot{
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  margin: 0 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.member-card .member-title{
  font-family: var(--body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.member-card .member-title a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.member-card .member-title a:hover{
  border-bottom-color: var(--ink);
}
.member-card .member-bio{
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: none;
}

.member-list .member-card{ margin-bottom: 2.2rem; }
.member-list .member-card:last-child{ margin-bottom: 0; }

.expert-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.6rem;
  margin-top: 1.5rem;
}
@media (max-width: 800px){
  .expert-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 800px){
  .content-grid{ grid-template-columns: 1fr; gap: 2.2rem; }
  .content-side{ border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.6rem; }
}

/* ---------- HOW TO CITE BOX (reused convention from oddgeirtveiten.com) ---------- */
.cite-box{
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper-deep);
}
.cite-label{
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: 0.45rem;
}
.cite-text{
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.cite-copy-btn{
  background: none;
  border: 1px solid var(--ink-faint);
  border-radius: 2px;
  padding: 0.28rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cite-copy-btn:hover{ background: var(--ink); color: var(--paper) !important; border-color: var(--ink); }
.cite-underline{ text-decoration: underline; }

/* ---------- TWO-LINE HERO TITLE (subpages: essays, posts, project pages) ---------- */
.hero-title-kicker{
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-faint);
  margin: 0.4rem 0 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.hero-title-main{
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: clamp(1.15rem, 6.4vw, 2.3rem);
}
@media (min-width: 700px){
  .hero-title-main{ font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
}

/* Optional longer tagline under .hero-title-main, for pages whose full
   theme doesn't fit the h1's single-line nowrap treatment (e.g. WLS
   2027's "Educating for Democracy — Crisis, Challenge and Culture").
   Unlike the kicker/h1 above, this wraps normally. */
.hero-title-sub{
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
  max-width: 60ch;
}

.print-btn{
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.2rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.print-btn:hover{ border-color: var(--ink); color: var(--ink); }

.page-actions-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.2rem 0 0.5rem;
}

/* ---------- MOBILE ---------- */
@media (max-width: 860px){
  .topnav{ gap: 1rem 1.2rem; padding: 1rem 6vw; }
  .nav-summits{
    flex: 0 0 auto;
    text-align: left;
    order: 1; /* slides right, landing next to Calendar */
  }
  .nav-right-group{ order: 1; }
  .layout{ grid-template-columns: 1fr; }
  .mark-col{
    position: relative;
    height: auto;
    min-height: 40vh;
    overflow: visible;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .field-notes{
    overflow-y: visible;
    flex: 0 0 auto;
  }
  .content-col{ padding: 6vh 6vw 10vh; max-width: 100%; }
  .subpage{ padding: 6vh 6vw 10vh; }

  .intro-top-row{
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .upcoming-event--header,
  .upcoming-event--header .upcoming-event-label,
  .upcoming-event--header .upcoming-event-title,
  .upcoming-event--header .upcoming-event-meta{
    text-align: left;
  }
  .upcoming-event--header{ max-width: 100%; }
}

/* ---------- PRINT ---------- */
@media print{
  .cite-copy-btn{ display: none !important; }
  .cite-box{ border: 0.5pt solid #ccc !important; background: none !important; }

  nav, .print-btn, footer,
  a[href*="mailto"], .contact-row,
  .topnav, .about-btn, .wls2027-banner, .lightbox{ display: none !important; }

  @page{ margin: 2.2cm 1.8cm; }

  body{ background: #fff !important; color: #000 !important; font-size: 11pt; }
  .subpage{ padding: 1cm !important; max-width: 100% !important; }

  h1{ font-size: 20pt; color: #000 !important; margin-bottom: 8pt; }
  h2.title{
    font-size: 14pt; color: #000 !important;
    break-after: avoid-page;
    break-inside: avoid-page;
  }
  .section-label{ break-after: avoid-page; }

  p, li{
    font-size: 10.5pt; line-height: 1.6; color: #222 !important;
    orphans: 3; widows: 3;
    break-inside: avoid-page;
  }

  section{
    border-top: 0.5pt solid #ccc !important;
    margin-top: 14pt;
    padding-top: 10pt;
    break-inside: auto;
  }
  section > h2.title,
  section > .section-label{ break-after: avoid-page; }

  .subpage::before{
    content: "futurelearninglab.org";
    display: block;
    font-size: 8pt;
    color: #999;
    border-bottom: 0.5pt solid #ccc;
    padding-bottom: 4pt;
    margin-bottom: 14pt;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

/* ---------- FULL-WIDTH SITE FOOTER (front page) ---------- */
.site-footer{
  width: 100%;
  background: var(--ink);
  padding: 5vh 6vw 2.4rem;
}
.site-footer-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
  flex: 1 1 auto;
}
.site-footer-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.site-footer-col{ min-width: 0; }
.site-footer-title{
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: #F7F4EC;
  margin-bottom: 1rem;
}
.site-footer-list{
  list-style: none;
}
.site-footer-list li{
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.65rem;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 400;
  color: #D9D4C6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-footer-list li a{ color: inherit; }
.site-footer-list li a:hover{ color: #F7F4EC; text-decoration: underline; }
.site-footer-list li:last-child{ margin-bottom: 0; }
.site-footer-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
}

/* University of Agder affiliation credit — right edge of the footer,
   right-justified, sitting flush with the top of the link columns.
   The logo file itself is pre-recolored to a light charcoal grey with
   a transparent background, matching the footer's existing text tones. */
.site-footer-affiliation{
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  text-decoration: none;
}
.site-footer-affiliation-logo{
  height: 30px;
  width: auto;
  background: transparent;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.site-footer-affiliation:hover .site-footer-affiliation-logo{ opacity: 1; }
.site-footer-bottom{
  max-width: 1400px;
  margin: 2.6rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #8A8478;
}

@media (max-width: 800px){
  .site-footer-top{ flex-direction: column; align-items: flex-start; gap: 2rem; }
  .site-footer-grid{ grid-template-columns: 1fr 1fr; gap: 2rem 1.6rem; width: 100%; }
}
@media (max-width: 480px){
  .site-footer-grid{ grid-template-columns: 1fr; }
}
