@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Sans+Arabic:wght@400;600&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&family=Amiri:wght@400;700&display=swap");


/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  --lc-paper: #ffffff;
  --lc-wash: #f3f5f8;
  --lc-line: #dfe3ea;

  --lc-ink: #1d2433;
  --lc-ink-soft: #545d6e;

  --lc-lapis: #1f3a6e;             /* menu band, headings */
  --lc-lapis-deep: #172c55;        /* footer */
  --lc-teal: #1a7f86;              /* links */
  --lc-gold: #c08a2e;              /* decorative accents */
  --lc-gold-text: #8f6316;         /* gold that reads on white */
  --lc-gold-light: #e7c27e;        /* gold that reads on lapis */

  /* Latin glyphs come from the first font, Arabic ones fall through to the next */
  --lc-font-text: "IBM Plex Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --lc-font-title: "Source Serif 4", "Amiri", Georgia, "Times New Roman", serif;
  --lc-font-arabic-title: "Amiri", "IBM Plex Sans Arabic", serif;

  --lc-container: 1180px;
  --lc-gutter: clamp(1rem, 3vw, 1.75rem);
  --lc-radius: 6px;
  --lc-shadow-panel: 0 18px 40px -18px rgba(23, 44, 85, 0.4);

  /* eight-pointed star (khatam) tile, white lines, very light */
  --lc-khatam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='white' stroke-opacity='0.13' stroke-width='1'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h11M45 28h11M28 0v11M28 45v11'/%3E%3C/g%3E%3C/svg%3E");
}


/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--lc-font-text);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--lc-ink);
  background-color: var(--lc-wash);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--lc-teal);
  text-decoration: none;
}

a:hover {
  color: var(--lc-lapis);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--lc-font-title);
  font-weight: 700;
  line-height: 1.2;
  color: var(--lc-ink);
}

p {
  margin: 0 0 0.9em;
}

p:last-child {
  margin-bottom: 0;
}

abbr[title] {
  text-decoration: none;
}

::selection {
  color: #ffffff;
  background: var(--lc-lapis);
}

.hide,
.cartouche.hide,
.read-more,
.lire-la-suite {
  display: none !important;
}

.clear { clear: both; }
br.clear { display: none; }
.center { text-align: center; }
.right { text-align: right; }
.small { font-size: 0.875rem; }

/* Icon-font glyphs (the font is missing in the restore) */
i[class^="icon-"],
i[class*=" icon-"] {
  display: none;
}

/* Arabic entries: right to left, Arabic-friendly size and leading */
.dir_ar {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}

.dir_ar p,
.dir_ar .entry-title {
  font-size: 1.06em;
  line-height: 1.85;
}

.container {
  width: 100%;
  max-width: calc(var(--lc-container) + 2 * var(--lc-gutter));
  margin-inline: auto;
  padding-inline: var(--lc-gutter);
}

/* Bootstrap 2 widths inside the page are handled by the layouts below */
.page [class*="span"],
.page .offset {
  float: none;
  width: auto;
  margin-left: 0;
}


/* ==========================================================================
   3. Parts that cannot work in a restored copy
   ========================================================================== */

/* Academy "DANE" link panel: its entries lost their links */
#header-menu-dane,
/* sharing block (its widgets are gone) and the log-in link */
.boutons_options,
#footer .liste-items.right,
/* carousel controls (the carousel is shown as a grid) */
.carousel-control,
.carousel-indicators,
.carousel-stop {
  display: none !important;
}


/* ==========================================================================
   4. Header: institution logo, bilingual title, search
   ========================================================================== */

.header {
  background-color: var(--lc-paper);
  border-top: 4px solid var(--lc-gold);
}

.header header.accueil {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(12rem, 16rem);
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1.25rem;
}

#logo-institution img {
  display: block;
  width: auto;
  max-height: 64px;
}

#logo_site_spip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  margin: 0;
  text-align: center;
}

#nom_site_spip {
  font-family: var(--lc-font-title);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem);
  font-weight: 700;
  color: var(--lc-lapis);
}

#nom_site_spip_ar {
  font-family: var(--lc-font-arabic-title);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--lc-gold-text);
  direction: rtl;
}

.form-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-search form > div,
.input-append {
  display: flex;
}

.input-append {
  width: 100%;
}

.search-query {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.6rem 0.8rem;
  font: inherit;
  color: var(--lc-ink);
  background-color: var(--lc-paper);
  border: 1px solid #8e97a8;
  border-right: 0;
  border-radius: var(--lc-radius) 0 0 var(--lc-radius);
}

.search-query:focus {
  outline: none;
  border-color: var(--lc-lapis);
  box-shadow: 0 0 0 3px rgba(31, 58, 110, 0.18);
}

.input-append .btn {
  padding: 0.6rem 0.9rem;
  font: inherit;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--lc-lapis);
  border: 0;
  border-radius: 0 var(--lc-radius) var(--lc-radius) 0;
  cursor: pointer;
}

.input-append .btn:hover {
  background-color: var(--lc-teal);
}

@media (max-width: 899px) {
  .header header.accueil {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .form-search {
    width: min(100%, 24rem);
  }
}


/* ==========================================================================
   5. Menu band (lapis, khatam pattern) with dropdowns
   The menu button needs Bootstrap's script, so the menu is always shown.
   ========================================================================== */

#nav {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background-color: var(--lc-lapis);
  background-image: var(--lc-khatam);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

#nav .btn-navbar {
  display: none !important;
}

#nav .nav-collapse {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

.menu-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: calc(var(--lc-container) + 2 * var(--lc-gutter));
  margin: 0 auto;
  padding: 0 var(--lc-gutter);
  list-style: none;
}

.menu-items > li {
  position: relative;
}

.menu-items > li > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  padding: 0.8rem 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  white-space: nowrap;
}

.menu-items > li > a:hover,
.menu-items > li:focus-within > a,
.menu-items > li.on > a,
.menu-items > li.active > a {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.menu-items .caret {
  display: inline-block;
  width: 0.36rem;
  height: 0.36rem;
  margin-top: -0.2rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* Picture links (home, agenda, contact, themes, sites): icons drawn here */
.menu-items .item-picto > a {
  justify-content: center;
  width: 2.4rem;
}

.menu-items .item-picto > a::before {
  content: "";
  width: 19px;
  height: 19px;
  background-color: currentColor;
  -webkit-mask: var(--lc-icon) center / contain no-repeat;
  mask: var(--lc-icon) center / contain no-repeat;
}

.menu-items .home > a      { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 12 3l9 8v10h-6v-6H9v6H3z'/%3E%3C/svg%3E"); }
.menu-items .btagenda > a  { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='1.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.menu-items .btcontact > a { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='1.5'/%3E%3Cpath d='m3.5 6.5 8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
.menu-items .btthemes > a  { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3.5 12.5V3.5h9l8.5 8.5-9 9z'/%3E%3Ccircle cx='8' cy='8' r='1.6'/%3E%3C/svg%3E"); }
.menu-items .btsites > a   { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 6 6.4.6-4.8 4.3 1.4 6.3L12 16.8 6.2 20l1.4-6.3-4.8-4.3 6.4-.6z'/%3E%3C/svg%3E"); }

/* Dropdowns: open on hover, keyboard focus, or by click (Bootstrap's .open) */
.menu-items .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  display: block;
  min-width: 15rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background-color: var(--lc-paper);
  border: 1px solid var(--lc-line);
  border-top: 3px solid var(--lc-gold);
  border-radius: 0 0 var(--lc-radius) var(--lc-radius);
  box-shadow: var(--lc-shadow-panel);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0s linear 0.15s;
}

.menu-items > li:hover > .dropdown-menu,
.menu-items > li:focus-within > .dropdown-menu,
.menu-items > li.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

/* Items in the right part of the menu open towards the left */
.menu-items > li:nth-child(n+9) > .dropdown-menu {
  left: auto;
  right: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.4rem 1.1rem;
  font-size: 0.9375rem;
  color: var(--lc-ink);
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: var(--lc-lapis);
  background-color: var(--lc-wash);
  text-decoration: none;
}

.dropdown-menu .divider {
  height: 1px;
  margin: 0.4rem 0;
  background-color: var(--lc-line);
}

.dropdown-menu .tout_voir a {
  font-weight: 600;
  color: var(--lc-teal);
}

/* Long lists (Sitographie) in columns, centred under their menu item */
.menu-items > li > .dropdown-menu:has(> li:nth-child(12)) {
  left: 50%;
  right: auto;
  translate: -50% 0;
  width: min(42rem, 92vw);
  columns: 3 12rem;
  column-gap: 0;
}

.dropdown-menu:has(> li:nth-child(12)) > li {
  break-inside: avoid;
}

.dropdown-menu:has(> li:nth-child(12)) a {
  white-space: normal;
}

.dropdown-menu:has(> li:nth-child(12)) > .divider {
  display: none;
}

/* Narrower screens: a sideways strip of sections; each opens its own page */
@media (max-width: 991px) {
  .menu-items {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .menu-items::-webkit-scrollbar {
    display: none;
  }

  .menu-items .dropdown-menu,
  .menu-items .caret {
    display: none;
  }
}


/* ==========================================================================
   6. Page layout: content and sidebar
   ========================================================================== */

.page > .container {
  padding-block: 1.5rem 2.5rem;
}

.page > .container > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem);
  gap: 2rem;
  align-items: start;
}

.page > .container > .row > .boutons_options,
.page > .container > .row > .favoris {
  grid-column: 1 / -1;
}

@media (max-width: 899px) {
  .page > .container > .row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--lc-ink-soft);
}

.breadcrumb .divider {
  margin-left: 0.35rem;
  color: var(--lc-ink-soft);
}

/* Section headings with their small icon */
.h2,
h2.h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  font-family: var(--lc-font-title);
  font-size: 1.5rem;
  color: var(--lc-lapis);
  border-bottom: 1px solid var(--lc-line);
}

.h2::after {
  content: "";
  order: -1;
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  background-color: var(--lc-gold);
  transform: rotate(45deg);
}

.h2.center {
  justify-content: center;
}

.h2 .icone {
  margin-left: auto;
  line-height: 0;
}

.h2 .icone img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
}

.main > .liste + .liste {
  margin-top: 2.5rem;
}


/* ==========================================================================
   7. "À la une": the carousel, shown as a grid of cards
   ========================================================================== */

.carousel-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
  gap: 1.25rem;
}

.carousel-inner > .item {
  position: static !important;
  display: block !important;
  left: auto !important;
  opacity: 1 !important;
  transform: none !important;
}

.carousel .entry {
  height: 100%;
  overflow: hidden;
  background-color: var(--lc-paper);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.carousel .entry:hover,
.carousel .entry:focus-within {
  border-color: var(--lc-teal);
  box-shadow: 0 10px 24px -16px rgba(23, 44, 85, 0.5);
}

.carousel .entry-title a {
  display: block;
  color: var(--lc-ink);
  text-decoration: none;
}

.carousel .spip_logo {
  display: block;
  width: 100% !important;
  margin-bottom: 0.85rem;
}

.carousel .spip_logo .img {
  padding-bottom: 60% !important;
  background-size: cover !important;
  background-color: var(--lc-wash) !important;
}

.carousel .entry-title a > span:last-child {
  display: block;
  padding: 0 1rem;
  font-family: var(--lc-font-title);
  font-size: 1.125rem;
  line-height: 1.3;
}

.carousel .entry-title a:hover > span:last-child {
  color: var(--lc-teal);
}

.carousel .introduction {
  padding: 0.5rem 1rem 1rem;
  font-size: 0.9375rem;
  color: var(--lc-ink-soft);
}

.carousel .introduction p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}


/* ==========================================================================
   8. "Nouveautés": the latest articles, French and Arabic mixed
   ========================================================================== */

.liste-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.liste.articles .liste-items > li {
  display: flow-root;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--lc-line);
}

.liste.articles .entry-title a {
  display: block;
  font-family: var(--lc-font-title);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--lc-ink);
  text-decoration: none;
}

.liste.articles .dir_ar .entry-title a {
  font-family: var(--lc-font-arabic-title);
  font-size: 1.35rem;
}

.liste.articles .entry-title a:hover {
  color: var(--lc-teal);
}

/* Cover thumbnail at the start of the line (left in French, right in Arabic) */
.liste.articles .spip_logo {
  float: inline-start;
  width: 5.5rem !important;
  margin-block: 0.2rem 0.5rem;
  margin-inline-end: 1rem;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(23, 44, 85, 0.25);
}

.liste.articles .spip_logo .img {
  background-size: cover !important;
}

.publication,
.info-publi {
  margin: 0.3rem 0 0.4rem;
  font-size: 0.875rem;
  color: var(--lc-ink-soft);
}

.publication time {
  font-weight: 600;
  color: var(--lc-gold-text);
}

.liste.articles .introduction {
  font-size: 0.9375rem;
  color: var(--lc-ink-soft);
}

.liste.articles .introduction p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}


/* ==========================================================================
   9. Pagination (SPIP shows item offsets: 0, 15, 30...)
   ========================================================================== */

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.pagination li > a,
.pagination li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--lc-radius);
}

.pagination li > a {
  color: var(--lc-lapis);
  background-color: var(--lc-paper);
  border: 1px solid var(--lc-line);
}

.pagination li > a:hover {
  border-color: var(--lc-teal);
  text-decoration: none;
}

.pagination li.active > span {
  color: #ffffff;
  background-color: var(--lc-lapis);
}

.pagination li.disabled > span {
  color: var(--lc-ink-soft);
}

/* The "last page" link only had an icon */
.pagination a:has(> .icon-fast-forward)::after {
  content: "»";
}


/* ==========================================================================
   10. Sidebar: images, news briefs, agenda, web links
   ========================================================================== */

.aside > .liste {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background-color: var(--lc-paper);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
}

.aside .h2 {
  font-size: 1.25rem;
}

.aside .liste-items > li + li {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--lc-line);
}

.aside .bt {
  margin: 1rem 0 0;
}

.aside .bt a {
  font-weight: 600;
}

/* Photo library */
.liste.images .liste-items > li + li,
.liste.images .liste-items.flex > li {
  margin: 0;
  padding: 0;
  border: 0;
}

.liste.images .liste-items.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.liste.images img {
  border-radius: 4px;
}

/* News briefs */
.breve .entry-title a {
  display: block;
  font-weight: 600;
  line-height: 1.35;
  color: var(--lc-ink);
}

.breve .spip_logo {
  display: block;
  margin-bottom: 0.5rem;
}

.breve .texte {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--lc-ink-soft);
}

.breve .hyperlien {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Agenda: date chips */
.evenement {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.2rem 0.9rem;
  align-items: start;
}

.evenement > .banner {
  grid-row: 1 / span 3;
}

.evenement > :not(.banner) {
  grid-column: 2;
}

.evenement .label {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 3.6rem;
  padding: 0.4rem 0.2rem;
  line-height: 1.15;
  color: #ffffff;
  background-color: var(--lc-lapis);
  border-radius: var(--lc-radius);
}

.evenement .day {
  font-family: var(--lc-font-title);
  font-size: 1.35rem;
}

.evenement .month {
  font-size: 0.75rem;
  font-weight: 500;
}

.evenement .year {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.75;
}

.evenement .entry-title a {
  font-weight: 600;
  line-height: 1.35;
  color: var(--lc-ink);
}

.evenement .info-publi {
  margin: 0.15rem 0 0.25rem;
}

.evenement .entry-content {
  font-size: 0.875rem;
  color: var(--lc-ink-soft);
}

.evenement .location {
  margin-top: 0.3rem;
}

.evenement .lieu {
  font-weight: 600;
  color: var(--lc-ink);
}

/* Web links */
.liste.sites .liste-items > li {
  font-size: 0.9rem;
}

.liste.sites .published {
  font-weight: 600;
  color: var(--lc-gold-text);
}


/* ==========================================================================
   11. Partner logos and footer
   ========================================================================== */

.liste.favoris {
  margin-top: 1rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--lc-line);
}

.liste.favoris .liste-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
}

.liste.favoris img {
  filter: grayscale(1);
  opacity: 0.8;
  mix-blend-mode: multiply;
}

#footer {
  padding: 2rem 0 2.5rem;
  font-size: 0.9rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  background-color: var(--lc-lapis-deep);
  background-image: var(--lc-khatam);
}

#footer .colophon {
  margin-bottom: 0.6rem;
  font-family: var(--lc-font-title);
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

#footer a {
  color: var(--lc-gold-light);
}

#footer .liste-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  margin-top: 1rem;
}


/* ==========================================================================
   12. Focus and motion
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--lc-teal);
  outline-offset: 2px;
}

#nav :focus-visible,
#footer :focus-visible {
  outline-color: var(--lc-gold-light);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}