html {
	box-shadow: inset 0px 4px 3px 0px rgba(70, 70, 70, 0.1);
}

pre {
	color           : #555555;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color           : #111111;
	letter-spacing  : 1px;
}

h4,
h5,
h6 {
	font-size  : 12px;
}
ul {
	line-height     : 1.5;
	margin          : 0 0 0.5em 20px;
	padding         : 0;
}

ol {
	line-height     : 1.5;
	margin          : 0 0 0.5em 18px;
	padding         : 0;
	color           : black;
}

ol li {margin-left:7px;}

blockquote {
	padding-left    : 7px;
	margin-left     : 3px;
	background-color: #fcfcfc;
}

table {margin-bottom:8px;}
td,th {padding:4px;font:inherit;}
th    {background-color:#fcfcfc;text-align:left;}

a:hover {
	color: #00aecd;
}

.justifyleft     {text-align:left;}
.justifyright    {text-align:right;}
img.justifyleft  {float:left; margin-right:10px;margin-bottom:5px;}
img.justifyright {float:right; margin-left:10px;margin-bottom:5px;}

body, p {
	color: hsl(var(--muted-foreground));	
}

h1, h2, h3, h4 {
	font-weight: 700;
}

h1 {
	text-align: center;
    font-size: 2rem;
	margin-bottom: 2rem;
}

h2 {
    font-size: 1.5rem;
    line-height: 2rem;	
	margin-bottom: 1.5rem;
}


li {
	font-size: 16px;
	line-height: 36px;
}
li::marker {
	color: hsl(var(--primary));
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {	
    background-color: hsl(var(--edu-teal)) !important;
    border-color: hsl(var(--edu-teal)) !important;
}

.bg-accent-pink {
	background: #ed26ab !important;
}

.search-results {
	z-index: 1000;
}

.-top-8 {
	top: -32px;
}

.-top-9 {
	top: -36px;
}





/* Make header the positioning context */
header {
  position: relative;
}

@media (max-width: 767px) {
  .nav-mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: hsl(var(--primary));
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 0.75rem 1.25rem;
    z-index: 40;
  }

  .nav-mobile-menu.open {
    display: flex !important;
  }

  .nav-mobile-menu > div {
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .nav-mobile-menu > div:last-child {
    border-bottom: none;
  }

  .nav-mobile-menu a {
    display: block;
    padding: 0.6rem 0;
  }
}

@media (max-width: 639px) {
  .nav-mobile-menu {
    top: 48px;
  }
}

/* Hamburger animation */
#hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
#hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* split-button download with optional format dropdown */
.mfk-dl { position: relative; display: flex; width: 100%; }
.mfk-dl__main { flex: 1 1 auto; }
.mfk-dl__toggle[aria-expanded="true"] .lucide-chevron-down { transform: rotate(180deg); }

.mfk-dl__panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 8px;
  /* Stay inside the viewport on narrow screens. */
  max-width: calc(100vw - 16px);
  box-sizing: border-box;
}
@media (min-width: 480px) {
  .mfk-dl__panel { min-width: 320px; }
}
.mfk-dl__panel[hidden] { display: none; }
.mfk-dl__panel-title {
  font-size: 12px; color: #6b7280; padding: 8px 12px 6px;
}

.mfk-dl__row {
  display: grid;
  /* minmax(0,1fr) lets the text track shrink instead of forcing overflow */
  grid-template-columns: 48px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: #111827;
}
.mfk-dl__row + .mfk-dl__row { border-top: 1px solid #f1f5f9; }
.mfk-dl__row:hover { background: #f8fafc; }

.mfk-dl__row-icon {
  position: relative; width: 40px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #475569;
  flex: 0 0 auto;
}
.mfk-dl__row-icon-label {
  position: absolute; bottom: 16px; left: 0; right: 0; text-align: center;
  font-size: 10px; font-weight: 700; letter-spacing: .02em;
}

.mfk-dl__row-body {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0; /* allow the text column to shrink in the grid */
}
.mfk-dl__row-title {
  font-weight: 600; font-size: 14px;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 8px;
  overflow-wrap: anywhere;
}
.mfk-dl__row-desc {
  color: #6b7280; font-size: 12px;
  white-space: normal; overflow-wrap: anywhere;
}

.mfk-dl__pill {
  display: inline-block; background: #0d9488; color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  letter-spacing: .02em;
}

.mfk-dl__row-caret { color: #94a3b8; }

/* When this lives inside a card with overflow hidden, allow the panel out */
.mfk-dl-card-wrap { overflow: visible !important; }

.mfk-dl a:hover {
  color: #fff;
  opacity: 0.92;
}
