/* The Public Value Academy look, from sov-inluma-pva core/static/core/app.css (the original PVA
   page: legacy libs/ui tailwindConfig.js), kept to what the LMS layout uses (lms#10).
   Fonts are self-hosted (SIL OFL, LICENSE-*.txt next to them): no request leaves the site. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.1ad231aac0a8.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/raleway-latin-wght-normal.e401cae7a129.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/raleway-latin-ext-wght-normal.77d813a04981.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --primary-100: #ffe2d7; --primary-300: #feb79c; --primary-500: #ef7b4f; --primary-700: #b65744; --primary-900: #843120;
  --secondary-100: #eefdff; --secondary-300: #addbda; --secondary-500: #69a4a2; --secondary-700: #38817f; --secondary-900: #2b4a4a;
  --grey-50: #ffffff; --grey-75: #fcfcfc; --grey-100: #f6f8f8; --grey-200: #d9d9d9; --grey-300: #d0d8d8;
  --grey-500: #929a9a; --grey-700: #5f6767; --grey-800: #313333; --grey-900: #000000;
  --error-500: #da1e28; --error-100: #ffeaeb; --success-500: #24a148; --focus-500: #0969da;
  --radius: 0.5rem; --header-h: 4rem;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --header-h: 5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--grey-50);
  color: var(--grey-800); font: 400 0.875rem/1.5 "Inter", sans-serif; }
@media (min-width: 1024px) { body { font-size: 1rem; line-height: 1.4; } }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 0.75rem; color: var(--secondary-900); }
a { color: var(--focus-500); }
img { max-width: 100%; height: auto; }
.muted { color: var(--grey-700); }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 1rem; }

/* header: logo left, language right (StaticHeader.tsx) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--grey-50); border-bottom: 1px solid var(--secondary-700); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { display: block; height: 3rem; width: auto; }
.header-nav { display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; }
.header-nav form { margin: 0; }
.header-nav a { color: var(--grey-800); text-decoration: none; font-weight: 600; }
.header-nav a:hover { text-decoration: underline; }
.language-switch { display: inline-flex; align-items: center; gap: 0.375rem; }
.language-switch::before { content: ""; width: 1.5rem; height: 1.5rem; background: url("brand/globe.1b2d7b9a7b6e.svg") center / contain no-repeat; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--grey-800); cursor: pointer; }

.site-main { flex: 1; }
.site-footer { border-top: 1px solid var(--grey-200); padding: 1rem 0; font-size: 0.75rem; text-align: center; }
.site-footer .container { display: flex; flex-direction: column; gap: 0.25rem; align-items: center; }
.footer-meta { color: var(--grey-500); }
.footer-meta a { color: var(--grey-500); }

/* start page and plain pages */
.hero { padding: 3rem 1rem 4rem; max-width: 48rem; }
.hero h1 { font-size: 1.625rem; color: var(--grey-800); }
@media (min-width: 1024px) { .hero { padding-top: 5rem; } .hero h1 { font-size: 2.25rem; } }
.hero p { margin: 0 0 2rem; font-size: 1.0625rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.page { padding: 2.5rem 1rem 4rem; }

/* buttons (primary, orange) */
.button { display: inline-block; text-align: center; padding: 0.75rem 1.5rem; border: 0; border-radius: var(--radius);
  background: var(--primary-500); color: #fff; font: 600 0.875rem/1.2 "Inter", sans-serif; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--primary-700); }
.button-secondary { background: var(--grey-50); color: var(--secondary-900); box-shadow: inset 0 0 0 1px var(--secondary-700); }
.button-secondary:hover { background: var(--secondary-100); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--focus-500); outline-offset: 2px; }

/* error pages */
.message-page { text-align: center; padding: 4rem 1rem; max-width: 40rem; }
.message-page h1 { color: var(--grey-800); }
.not-found-art { display: block; width: 100%; max-width: 37.5rem; margin: 0 auto 2rem; }

/* the course catalogue (lms#19) */
.filters { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; margin: 0 0 2rem; }
.filters label { display: flex; flex-direction: column; gap: 0.25rem; font-weight: 600; font-size: 0.8125rem; }
.filters input, .filters select { font: inherit; padding: 0.5rem 0.625rem; border: 1px solid var(--grey-300); border-radius: var(--radius); min-width: 12rem; }
.course-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.course-card { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.25rem; background: var(--grey-75); }
.course-card h2 { font-size: 1.125rem; }
.course-card h2 a { color: var(--secondary-900); text-decoration: none; }
.course-card h2 a:hover { text-decoration: underline; }
.course-meta { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 0.75rem; margin: 0.75rem 0 0; font-size: 0.8125rem; }
.course-meta dt { font-weight: 600; color: var(--grey-700); }
.course-meta dd { margin: 0; }
.tag { display: inline-block; margin: 0 0.375rem 0.25rem 0; padding: 0.125rem 0.5rem; border-radius: 999px; background: var(--secondary-100); color: var(--secondary-900); }
.pager { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 2rem; }
.outline { padding-left: 1.25rem; }
.outline > li { margin: 0 0 0.75rem; }
.outline ol { margin: 0.375rem 0 0; color: var(--grey-700); }
.authors { list-style: none; padding: 0; }
.authors li { margin: 0 0 1rem; }
.vimeo-placeholder { border: 1px dashed var(--grey-300); border-radius: var(--radius); padding: 1rem; margin: 0.75rem 0; background: var(--grey-100); }
.vimeo-note { font-size: 0.8125rem; color: var(--grey-700); margin: 0 0 0.5rem; }
.vimeo-frame { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
