/*
Theme Name: Assistenz OÖ
Theme URI: https://www.assistenz.ooe.gv.at
Author: Bildungsdirektion Oberösterreich
Description: Responsive theme for "Assistenz für Kinder und Jugendliche mit besonderen Bedürfnissen" (Bildungsdirektion Oberösterreich). Color-coded section system, three-level navigation, accessible 18px body text and #ffbf47 focus ring.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: assistenz
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  /* Section identity colors */
  --sec-home:   #1466A0;
  --sec-schule: #93231F;
  --sec-hpe:    #C25E0C;
  --sec-hpt:    #3C7F1C;
  --sec-kib:    #8B3FA8;

  /* Hero */
  /* --hero:       #1466A0; 
  --hero:       #0F6675;*/
  --hero:       #6E1A16;
  --hero:       #15263A;
  --hero-deep:  #0e5e94;

  /* Neutrals */
  --txt-heading: #15263a;
  --txt-body:    #36414f;
  --txt-nav:     #26303b;
  --txt-muted:   #5a6573;
  --card-border: #dde3ea;
  --page-bg:     #eef1f5;
  --canvas-bg:   #dfe4ea;
  --divider:     #eef1f5;

  /* Footer */
  --footer-bg:     #16202b;
  --footer-txt:    #c4cdd8;
  --footer-muted:  #8b97a4;
  --footer-link:   #7fc0ec;
  --footer-divide: #2a3744;

  /* Per-section variables — overridden per body class below.
     Default = Schule (red) since section pages drive the accents. */
  --section:       #93231F;
  --section-dark:  #7a1818;
  --section-tint:  #fbeeed;
  --section-tint2: #faf3f3;
  --section-tint3: #f3e4e3;
  --section-border:#e7c9c8;
}

/* Section color theming via body_class */
body.section-home   { --section:#1466A0; --section-dark:#0e5e94; --section-tint:#f1f7fc; --section-tint2:#f1f7fc; --section-tint3:#e6f1fa; --section-border:#c8ddee; }
body.section-schule { --section:#93231F; --section-dark:#7a1818; --section-tint:#fbeeed; --section-tint2:#faf3f3; --section-tint3:#f3e4e3; --section-border:#e7c9c8; }
body.section-hpe    { --section:#C25E0C; --section-dark:#9c4b09; --section-tint:#fbf0e6; --section-tint2:#fbf0e6; --section-tint3:#f3e0cc; --section-border:#ecceb0; }
body.section-hpt    { --section:#3C7F1C; --section-dark:#2f6315; --section-tint:#eef6e9; --section-tint2:#eef6e9; --section-tint3:#e0efd6; --section-border:#cbe2bd; }
body.section-kib    { --section:#8B3FA8; --section-dark:#6f3186; --section-tint:#f6edfa; --section-tint2:#f6edfa; --section-tint3:#eddcf4; --section-border:#dcc2e7; }

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  color: var(--txt-heading);
  -webkit-font-smoothing: antialiased;
  background: var(--page-bg);
}
img { max-width: 100%; display: block; }
p { text-wrap: pretty; }

/* Global focus ring — accessibility requirement, keep on all interactive elements */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
  border-radius: 3px;
}

/* Visually-hidden label (accessible search field label, etc.) */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.as-shell { min-height: 100vh; background: var(--canvas-bg); }
.as-page  { background: #fff; display: flex; flex-direction: column; min-height: 100vh; }
.as-container { max-width: 1700px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Header
   ============================================================ */
.as-header { background: var(--hero); }
.as-header__inner {
  max-width: 1700px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: stretch;
}
.as-header__brand {
  /* 20% so the brand sits above the first top-menu item (Startseite);
     the media image fills the remaining 80%, covering items 2–5. */
  flex: 0 0 20%; min-width: 0;
  padding: 28px 26px;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  color: #fff; min-height: 210px;
}
.as-logo {
  background: #fff; border-radius: 14px; padding: 6px 12px;
  align-self: flex-start; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  text-decoration: none;
}
.as-logo__flag {
  display: flex; flex-direction: column; width: 24px;
  border-radius: 3px; overflow: hidden; border: 1px solid #d8d8d8;
}
.as-logo__flag span { height: 7px; }
.as-logo__flag .r { background: #c8102e; }
.as-logo__flag .w { background: #fff; }
.as-logo__text { line-height: 1.12; }
.as-logo__text .l1 { font-weight: 800; color: #1466A0; font-size: 15px; }
.as-logo__text .l2 { font-size: 12px; color: #555; font-weight: 600; }
.as-logo__img { max-height: 46px; width: auto; }

.as-wordmark { font-size: 42px; font-weight: 800; letter-spacing: .04em; }
.as-subtitle { font-size: 17px; font-weight: 500; opacity: .96; margin-top: 6px; max-width: 330px; line-height: 1.4; }

.as-header__media {
  flex: 1 1 80%; position: relative; min-height: 210px; background: var(--hero-deep);
}
.as-header__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.as-header__media .as-slot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #cfe3f1; font-size: 14px; font-weight: 600; }

/* Header search — sits top-right over the media image, on every page */
.as-search {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,.95);
  border-radius: 14px; padding: 4px 4px 4px 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,.22);
}
.as-search__input {
  border: 0; background: transparent; outline: none;
  padding: 9px 10px; font: inherit; font-size: 15px; color: var(--txt-heading);
  width: 210px; max-width: 44vw;
}
.as-search__input::placeholder { color: var(--txt-muted); }
.as-search__btn {
  flex: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--section); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.as-search__btn:hover { background: var(--section-dark); }

/* ============================================================
   Level 1 — top color navigation
   ============================================================ */
.as-l1 { background: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 #e4e9ef; }
.as-l1__inner { max-width: 1700px; margin: 0 auto; display: flex; flex-wrap: wrap; }
.as-l1__item {
  flex: 1 1 140px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 15px 10px;
  color: #fff; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none;
}
.as-l1__item:hover { filter: brightness(1.13); }
.as-l1__item.is-active { box-shadow: inset 0 -4px 0 rgba(255,255,255,.9); }
.as-l1__item.l1-home   { background: var(--sec-home); }
.as-l1__item.l1-schule, .as-l1 .as-l1__inner > li.menu-item-331 > a { background: var(--sec-schule); }
.as-l1__item.l1-hpe, .as-l1 .as-l1__inner > li.menu-item-367 > a     { background: var(--sec-hpe); }
.as-l1__item.l1-hpt, .as-l1 .as-l1__inner > li.menu-item-397 > a     { background: var(--sec-hpt); }
.as-l1__item.l1-kib, .as-l1 .as-l1__inner > li.menu-item-432 > a     { background: var(--sec-kib); }

/* ============================================================
   Main
   ============================================================ */
.as-main { background: var(--page-bg); padding: 34px 0 60px; }
.as-main--schule { padding: 28px 0 60px; }

.as-card {
  background: #fff; border: 1px solid var(--card-border); border-radius: 16px;
  padding: 36px 38px;
}

/* Homepage welcome card */
.as-welcome { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.as-welcome__portrait { flex: 0 0 220px; max-width: 220px; }
.as-welcome__portrait .as-slot,
.as-welcome__portrait img { width: 100%; height: 270px; border-radius: 14px; object-fit: cover; }
.as-welcome__portrait .as-slot { display: flex; align-items: center; justify-content: center; background: #e6ecf2; color: var(--txt-muted); font-size: 13px; font-weight: 600; }
.as-caption { font-size: 13px; color: var(--txt-muted); margin-top: 10px; line-height: 1.45; font-weight: 600; }
.as-welcome__text { flex: 1 1 440px; max-width: 1040px; }

.as-h1 { margin: 0 0 8px; font-size: 34px; font-weight: 800; color: var(--txt-heading); }
.as-h1--section { font-size: 30px; }
.as-accent { width: 64px; height: 5px; background: var(--section); border-radius: 3px; margin-bottom: 22px; }
.as-accent--home { background: var(--sec-home); }
.as-prose p { font-size: 18px; line-height: 1.72; color: var(--txt-body); margin: 0 0 16px; }
.as-prose p:last-child { margin-bottom: 0; }

.as-h2 { font-size: 22px; font-weight: 800; color: var(--txt-heading); margin: 36px 0 16px; }

/* "Unsere Bereiche" cards */
.as-bereiche { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.as-bereich {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid var(--card-border);
  border-left: 6px solid var(--accent, #93231F);
  border-radius: 12px; padding: 20px 22px;
  text-decoration: none; color: var(--txt-heading); font-weight: 800; font-size: 18px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.as-bereich:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(20,30,45,.1); }
.as-bereich__arrow { font-size: 22px; color: var(--accent, #93231F); }
.as-bereich.b-schule { --accent: var(--sec-schule); }
.as-bereich.b-hpe    { --accent: var(--sec-hpe); }
.as-bereich.b-hpt    { --accent: var(--sec-hpt); }
.as-bereich.b-kib    { --accent: var(--sec-kib); }

/* ============================================================
   Schule page — breadcrumb, foldout, 3-col layout
   ============================================================ */
.as-breadcrumb {
  font-size: 14px; color: var(--txt-muted); margin-bottom: 18px;
  display: flex; gap: 9px; flex-wrap: wrap; align-items: center;
}
.as-breadcrumb a { color: var(--sec-home); text-decoration: none; font-weight: 600; }
.as-breadcrumb a:hover { text-decoration: underline; }
.as-breadcrumb .current { color: var(--section); font-weight: 800; }

.as-foldout-toggle {
  display: none; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 15px 18px; margin-bottom: 18px;
  background: var(--section); color: #fff; border: none; border-radius: 12px;
  font: 800 16px 'Public Sans', sans-serif; cursor: pointer;
}
.as-foldout-toggle__label { display: flex; align-items: center; gap: 10px; }
.as-foldout-toggle__chev { transition: transform .2s ease; flex: none; }
.as-foldout-toggle[aria-expanded="true"] .as-foldout-toggle__chev { transform: rotate(180deg); }

.as-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }

/* LEFT — section nav */
.as-sidenav { flex: 0 0 290px; max-width: 290px; align-self: flex-start; }
.as-sidenav__nav { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; }
.as-sidenav__head {
  display: flex; align-items: center; gap: 11px;
  background: var(--section); color: #fff; padding: 15px 20px;
  font-size: 17px; font-weight: 800; text-decoration: none;
}
.as-sidenav__head:hover { background: var(--section-dark); }
.as-l2 { list-style: none; margin: 0; padding: 0; }
.as-l2__link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 20px; text-decoration: none; color: var(--txt-nav);
  font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--divider);
}
.as-l2__link:hover { background: var(--section-tint2); color: var(--section); }
.as-l2__item.is-active { background: var(--section-tint); border-bottom: 1px solid var(--divider); }
.as-l2__current {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px 12px;
  color: var(--section); font-weight: 800; font-size: 16px; border-left: 4px solid var(--section);
}
.as-l3 { list-style: none; margin: 0; padding: 0 0 8px; background: var(--section-tint); }
.as-l3__link {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 18px 10px 30px; text-decoration: none; color: #5a4a4a;
  font-weight: 600; font-size: 14.5px; line-height: 1.35; border-left: 3px solid transparent;
}
.as-l3__link:hover { background: var(--section-tint3); color: var(--section); border-left-color: var(--section); }
.as-l3__marker { color: #b07a77; font-weight: 800; }

/* CENTER — content */
.as-content { flex: 1 1 420px; }
.as-lead { font-size: 19px; line-height: 1.6; color: var(--txt-heading); font-weight: 700; margin: 0 0 18px; }
.as-content .as-accent { margin-bottom: 24px; }
.as-content p { font-size: 18px; line-height: 1.72; color: var(--txt-body); margin: 0 0 16px; }
.as-content strong { color: var(--txt-heading); }
.as-bullets { list-style: none; margin: 0; padding: 0; }
.as-bullets li {
  position: relative; padding-left: 30px; margin-bottom: 11px;
  font-size: 18px; line-height: 1.6; color: var(--txt-body);
}
.as-bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--section);
}

/* RIGHT — linkboxes */
.as-rail { flex: 1 1 280px; max-width: 340px; display: flex; flex-direction: column; gap: 20px; }
.as-linkbox { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; }
.as-linkbox__head { background: var(--section); color: #fff; padding: 15px 20px; font-size: 18px; font-weight: 800; }
.as-linkbox__list { list-style: none; margin: 0; padding: 4px 0; }
.as-linkbox__link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 20px; text-decoration: none; color: var(--txt-nav);
  font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--divider);
}
.as-linkbox__list li:last-child .as-linkbox__link { border-bottom: none; }
.as-linkbox__link:hover { background: var(--section-tint2); color: var(--section); }

.as-cta {
  background: linear-gradient(160deg, #ffffff, var(--section-tint));
  border: 1px solid var(--section-border); border-radius: 14px; padding: 22px 22px 24px;
}
.as-cta__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.as-cta__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--section); flex: none;
}
.as-cta__title { font-size: 19px; font-weight: 800; color: var(--section); }
.as-cta__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--section); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 14px 18px; border-radius: 10px;
}
.as-cta__btn:hover { background: var(--section-dark); }

/* ============================================================
   Footer (shared)
   ============================================================ */
.as-footer { background: var(--footer-bg); color: var(--footer-txt); margin-top: auto; }
.as-footer__inner {
  max-width: 1700px; margin: 0 auto; padding: 42px 24px 0;
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between;
}
.as-footer__col { flex: 1 1 300px; }
.as-footer__title { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.as-footer__body { font-size: 15px; line-height: 1.7; }
.as-footer__body a { color: var(--footer-link); text-decoration: none; }
.as-footer__body a:hover { text-decoration: underline; }
.as-footer__svc { flex: 0 1 auto; }
.as-footer__svc-h { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7c8896; margin-bottom: 14px; }
.as-footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.as-footer__links a { color: var(--footer-txt); text-decoration: none; }
.as-footer__links a:hover { color: #fff; }
.as-footer__legal {
  max-width: 1700px; margin: 24px auto 0; padding: 16px 24px 30px;
  border-top: 1px solid var(--footer-divide); font-size: 13px; color: var(--footer-muted);
}

/* ============================================================
   wp_nav_menu output — map generated markup to the design
   ============================================================ */

/* TOP BAR (Level 1): each <li> becomes a color cell. */
.as-l1 ul.as-l1__inner { list-style: none; margin: 0, auto; padding: 0; }
.as-l1 .as-l1__inner > li { flex: 1 1 140px; display: flex; }
.as-l1 .as-l1__inner > li > a {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 15px 10px;
  color: #fff; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
  background: var(--sec-home);
}
.as-l1 .as-l1__inner > li > a:hover { filter: brightness(1.13); }
/* Per-section colors via the menu item's CSS-Classes field */
.as-l1 .l1-home   > a { background: var(--sec-home); }
.as-l1 .l1-schule > a { background: var(--sec-schule); }
.as-l1 .l1-hpe    > a { background: var(--sec-hpe); }
.as-l1 .l1-hpt    > a { background: var(--sec-hpt); }
.as-l1 .l1-kib    > a { background: var(--sec-kib); }
/* Active item: inset white underline */
.as-l1 .current-menu-item > a,
.as-l1 .current-menu-ancestor > a { box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.64); }

/* LEFT BLOCK (Levels 2 & 3): generated ul.as-l2 + nested .sub-menu */
.as-sidenav .as-l2 > li > a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 20px; text-decoration: none; color: var(--txt-nav);
  font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--divider);
}
.as-sidenav .as-l2 > li > a:hover { background: var(--section-tint2); color: var(--section); }
.as-sidenav .as-l2 > li.current-menu-item > a,
.as-sidenav .as-l2 > li.current-menu-ancestor > a {
  background: var(--section-tint); color: var(--section); font-weight: 800;
  border-left: 4px solid var(--section);
}
/* Accordion: an L2 item's Level-3 sub-menu shows only when that L2 is the
   active branch (current page is the L2 itself or one of its descendants). */
.as-sidenav .as-l2 > li > .sub-menu { display: none; }
.as-sidenav .as-l2 > li.current-menu-item > .sub-menu,
.as-sidenav .as-l2 > li.current-menu-ancestor > .sub-menu { display: block; }
.as-sidenav .as-l2 .sub-menu { list-style: none; margin: 0; padding: 0 0 8px; background: var(--section-tint); }
.as-sidenav .as-l2 .sub-menu > li > a {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 18px 10px 30px; text-decoration: none; color: #5a4a4a;
  font-weight: 600; font-size: 14.5px; line-height: 1.35; border-left: 3px solid transparent;
}
.as-sidenav .as-l2 .sub-menu > li > a::before { content: "\00bb"; color: #b07a77; font-weight: 800; }
.as-sidenav .as-l2 .sub-menu > li > a:hover,
.as-sidenav .as-l2 .sub-menu > li.current-menu-item > a { background: var(--section-tint3); color: var(--section); border-left-color: var(--section); }

/* RIGHT BLOCK (Level 2): generated ul.as-linkbox__list */
.as-linkbox ul.as-linkbox__list { list-style: none; margin: 0; padding: 4px 0; }
.as-linkbox .as-linkbox__list > li > a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 20px; text-decoration: none; color: var(--txt-nav);
  font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--divider);
}
.as-linkbox .as-linkbox__list > li:last-child > a { border-bottom: none; }
.as-linkbox .as-linkbox__list > li > a:hover,
.as-linkbox .as-linkbox__list > li.current-menu-item > a { background: var(--section-tint2); color: var(--section); }
.as-linkbox .as-linkbox__list > li > a::after {
  content: "\203a"; color: var(--section); font-weight: 800; font-size: 18px; line-height: 1;
}

/* Placeholders (shown until content/menus are assigned) */
.as-placeholder {
  display: block; color: #8a93a0; font-style: italic; font-weight: 500;
}
.as-placeholder--l1 { padding: 15px 20px; color: #cdd8e2; width: 100%; text-align: center; }
.as-placeholder--box { padding: 18px 20px; font-size: 14px; line-height: 1.5; }
.as-placeholder--content {
  padding: 18px 20px; border: 1px dashed #c3ccd6; border-radius: 10px;
  background: #f7f9fc; font-size: 16px;
}

/* ============================================================
   Responsive — breakpoint 900px
   ============================================================ */
@media (max-width: 899px) {
  /* Stack the header so the brand keeps full width on small screens. */
  .as-header__brand, .as-header__media { flex: 1 1 100%; }
  .as-foldout-toggle { display: flex; }
  .as-sidenav { flex: 1 1 100%; max-width: 100%; }
  /* Collapsed by default on mobile; JS opens via [data-open] */
  .as-sidenav[data-collapsible="true"] { display: none; }
  .as-sidenav[data-collapsible="true"][data-open="true"] { display: block; }
}

/* ===== Sitemap page styling ===== */
.sitemap-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:24px;
  margin:24px 0;
  align-items:start;
}
.sitemap-section{
  background:#fff;
  border:1px solid #e3e7ec;
  border-radius:10px;
  padding:0 0 14px;
  box-shadow:0 1px 3px rgba(0,0,0,.06);
  overflow:hidden;
}
.sitemap-section-title{
  margin:0 0 12px;
  padding:12px 18px;
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#fff;
  background:#566573;
}
.sitemap-section-title a{ color:#fff; text-decoration:none; }
.sitemap-section-title a:hover{ text-decoration:underline; }

.sitemap-section .sm-list{ list-style:none !important; margin:0; padding:0 18px; }
.sitemap-section .sm-list .sm-list{
  padding:0 0 0 16px;
  border-left:2px solid #eef1f4;
  margin:4px 0 8px;
}
.sitemap-section .sm-item{ margin:0; padding:3px 0; }
.sitemap-section .sm-link{
  display:inline-block;
  text-decoration:none;
  color:#2c3e50;
  font-size:.93rem;
  line-height:1.35;
  padding:1px 0;
  transition:color .15s;
}

/* General article list styling (skips the sitemap's .sm-list lists) */
.as-content ul:not(.sm-list) {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.as-content ul:not(.sm-list) > li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  line-height: 1.55;
  border-bottom: 1px solid #eef1f4;
}

.as-content ul:not(.sm-list) > li:last-child {
  border-bottom: 0;
}

.as-content ul:not(.sm-list) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a4242b;
}

.as-content ul:not(.sm-list) > li:hover {
  background: #fafbfc;
}

/* Nested lists */
.as-content ul:not(.sm-list) ul:not(.sm-list) {
  margin: 0.4rem 0 0.2rem;
}

.as-content ul:not(.sm-list) ul:not(.sm-list) > li {
  padding: 0.3rem 0 0.3rem 1.4rem;
  border-bottom: 0;
  line-height: 1.45;
}

.as-content ul:not(.sm-list) ul:not(.sm-list) > li::before {
  width: 5px;
  height: 5px;
  top: 0.8rem;
  background: #c9888c;
}

/* Show the full portrait on the start page instead of cropping it */
.as-welcome__portrait {
  height: auto;
}

.as-welcome__portrait img.wp-post-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}