@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300i,600,600i&subset=latin-ext');
/* ============================================================
   LIGHT MODE BASE
   ============================================================ */
a {
   color: #33A1FD;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
   font-family: "Alegreya Sans", "Open sans", sans-serif;
   font-weight: 700;
}
strong {
   font-weight: 600;
}
blockquote {
	font-size: 15px;
    font-weight: 300;
    font-style: italic;
}
ul.typeahead.dropdown-menu>li.active * {
    color: #fac905 !important;
}
html, body {
   height: 100%;
}
body {
   display: flex;
   flex-direction: column;
}
body>.top {
 	background-color: #ecb604;  
}
body>.top .login>p {
    padding: 3px 0;
}
body>.top .login>p>a {
    font-family: "Alegreya Sans";
    letter-spacing: 1px;
    color: #fff;
}
/* Keep the LOGGED-OUT "Inloggen" link identical to the signed-in links.
   The inline script only rebuilds the area when signed in, so logged-out
   pages keep the template's .login p — pin it here so the look matches. */
header .container .header-nav-top .login p a {
    font-family: "Alegreya Sans", "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
    color: #fff;
}
#content {
   flex: 1 0 auto;
}
header {
   border-bottom: none;
   background-color: #fac905;
}
header .navbar-header {
 	margin: 1em 0;  
}
#menu {
   margin-bottom: 0 !important;
}
.button {
    background-color: #ecb604;
    border: none;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    font-family: "Alegreya Sans", "Open sans", sans-serif;
    border-radius: 10px;
  }
.sf-menu>li {
   padding: 0 .2em;
   border: none;
}
.sf-menu ul {
  box-shadow: none;
}
.sf-menu>li>ul {
   border: none;
}
.sf-menu>li>ul li {
   border: none;
   border-radius: 3px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.sf-menu>li>ul li a:hover {
   color: #000;
   background-color: #feefb4;
}
.sf-menu>li>ul>li>ul {
    margin-left: .3em;
}
.sf-menu>li>ul>li>ul>li>a:first-of-type {
    margin-top: 0 !important
}
.sf-menu>li:last-of-type {
   border: none !important;
}
.sf-menu>li a {
   color: #000;
   border-radius: 3px;
   display: block;
   text-transform: none;
   font-family: "Alegreya Sans", "Open Sans", sans-serif;
   font-weight: 700;
   font-size: 1.2em;
   padding: .4em .7em;
   margin: .3em 0;
   transition: background-color .1s;
}
.sf-menu>li a:hover {
   background-color: #feefb4;
}
.sf-menu>li a[href="/preipop"] {
   color: #32ae70;
   background-color: #674574;
   transition: background-color .1s;
}
.sf-menu>li a[href="/preipop"]:hover {
   background-color: #4a1c5b;
}
.sf-menu>li a[href="/word-lid"] {
   color: #fff;
   background-color: #a314d7;
}
.sf-menu>li a[href="/word-lid"]:hover {
   margin: .1em 0 .5em 0;
   box-shadow: 0 .2em #880db5;
}
.sf-menu>li a[href="/word-lid"]:active {
   margin: .2em 0 .4em 0;
   box-shadow: 0 .1em #60a810;
}
.sf-menu.sf-arrows .sf-with-ul {
   padding-right: 1.9em;
}
.sf-arrows .sf-with-ul:after {
   right: 0.8em;
}
@media (max-width: 767px) {
    header ul.sf-menu>li a {
       padding: .4em .7em;
    }
}
#content>.container {
   background-color: #fff;
   padding-top: 3vh;
}
footer {
   color: #000;
} 
footer a {
   color: #33A1FD;
}
footer a:hover {
   color: #33A1FD;
   text-decoration: underline;
}
footer {
   background-color: #eee;
}
footer dl.headlines.headlines-footer dd *{
    color: #000 !important;
}
dt.date {
   border-radius: 3px;
   overflow: hidden;
   font-family: "Alegreya Sans";
}
dt.date a {
   background-color: #fac905 !important;
}
dt.date a div {
	color: #000 !important;   
}
dl.headlines dt.date div:last-child {
   line-height: 13px;
}
footer .col-xs-12.col-sm-4 {
   margin-bottom: 1em;
}
footer .headline {
   background-color: #fac905;
   border-radius: 3px;
   border-bottom: none;
   padding: .4em .7em;
   margin: 0 0 1em 0;
}
footer .headline>h3 {
 	color: #000;
   border-bottom: none;
   padding: 0;
}
footer ul.social-icons li a {
   border-radius: 3px;
}
#copyright {
   border-top: none !important;
   background-color: #222 !important;
}
/* Caroussel op homepage minder hoog */
#carousel-homepage .carousel-inner, #carousel-homepage .item {
 	height: 300px !important;   
}
.c-quicklink {
    max-width: 150px;
    width: 100%;
    height: 98px;
    position: relative;
    display: block;
    overflow: hidden;
    background-color: black;
    border-radius: 10px;
}
@media (min-width: 1100px) {
    .c-quicklink {
    	max-width: 200px;
        height: 110px;
    }
}
@media (min-width: 1300px) {
    .c-quicklink {
    	max-width: 220px;
        height: 130px;
    }
}
@media (min-width: 1500px) {
    .c-quicklink {
    	max-width: 240px;
        height: 140px;
    }
}
.c-quicklink__image {
    height: 100%;
    width: 100%;
    text-align: center;
    opacity: 0.6;
    transition: opacity 0.2s;
    background-position: center;
    background-size: 100%;
}
.c-quicklink:hover .c-quicklink__image {
	opacity: 0.4;
}
.c-quicklink__text {
	color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    font-size: 20px;          /* phones / < 1100px */
    line-height: 1.1;
    text-align: center;
    font-family: "Alegreya Sans", "Open sans", sans-serif;
}
@media (min-width: 1100px) {
    .c-quicklink__text {
        font-size: 26px;
    }
}
@media (min-width: 1200px) {
    .c-quicklink__text {
        font-size: 30px;
    }
}
@media (min-width: 1300px) {
    .c-quicklink__text {
        font-size: 34px;
    }
}
.c-arrow-button {
    background-color: transparent;
    border: 0;
    background-repeat: no-repeat;
    height: 32px;
    width: 32px;
    cursor: pointer;
}
.c-arrow-button--left {
    background-image: url("https://www.cleopatra-groningen.nl/_media/1636817/7c4a32b4c49c4be6a66bfe94b4f748f4");
}
.c-arrow-button--right {
    background-image: url("https://www.cleopatra-groningen.nl/_media/1636816/b3b4525f0a674f4fa8a8298999d71c0a");
}
.c-page-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 3px 1px rgba(0,0,0,0.18);
}
[data-currentpage="0"] > [data-page-indicator="0"],
[data-currentpage="1"] > [data-page-indicator="1"],
[data-currentpage="2"] > [data-page-indicator="2"]{
  box-shadow: 0 0 1px 1px rgba(0,0,0,0.18);
  background-color: #fac905;
}
/* ============================================================
   QUICKLINK CONTAINER — max 85% of parent width, horizontally
   centered. Fixed 4-per-row flex items so 12 items always render
   as 4×3 — NEVER 5×2 or ragged rows.
   ============================================================ */
.ps-l-quicklink {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;     /* center the grid as a whole */
    width: 85%;                  /* 85% of parent width */
    max-width: 1200px;           /* absolute cap */
    margin: 0 auto;              /* horizontally center */
    gap: 16px;
    position: relative;
    top: -16px;
}
/* Base (phones): 3 per row */
.ps-l-quicklink > * {
    flex: 0 0 calc(33.333% - 11px);  /* 3 per row */
    max-width: 150px;
    margin-top: 0;
}
/* ≥768px: 4 per row — locked in, items fill remaining space */
@media (min-width: 768px) {
    .ps-l-quicklink > * {
        flex: 1 1 calc(25% - 12px);  /* 4 per row, items grow to fill */
        max-width: 220px;             /* prevents cards from getting too wide */
    }
}
/* ≥1100px: same 4 per row */
@media (min-width: 1100px) {
    .ps-l-quicklink > * {
        flex: 1 1 calc(25% - 12px);
        max-width: 220px;
    }
}
/* ============================================================
   EVENEMENTEN section — 85% max width, centered
   ============================================================ */
.ps-l-evenementen,
.ps-c-evenementen,
section#content .ps-l-evenementen .container,
section#content .evenementen-container {
    width: 85%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
/* ============================================================
   LOGO (.navbar-brand > h1.text-hide): the theme sizes it at
   75×24px (≤991px) and 120×38.4px (>991px). Both are enlarged
   while keeping the exact ratio:
     small  75 → 98px   (ratio 3.125 → height 31.36px)
     large  120 → 155px (ratio 38.4/120 = 0.32 → height 49.6px)
   !important is needed to beat the theme's own width/height rules.
   ============================================================ */
header .container .header-nav .header-logo .navbar-brand {
    width: 95px !important;
    height: 29.69px !important;
}
@media (min-width: 992px) {
    header .container .header-nav .header-logo .navbar-brand {
        width: 135px !important;
        height: 43.2px !important;
    }
}
/* aanpassen marges en formaten om webshop heen */
.webpage-37888 .col-md-3{
    width: 0 !important;
}
.webpage-37888 .col-md-9{
    width: 100% !important;
}
.webpage-37888 .container{
    margin-left: 0;
    margin-right: 0;
}
section#content>.container>.row{
    margin-left: -15px;
    margin-right: -15px;
}
.spacer {
    border-bottom: 3px solid #E5E7EB;
    margin-top: 26px;
    margin-bottom: 26px;
}
/* In dark mode the spacer line becomes yellow (the club accent) instead
   of the light gray, so it reads as a deliberate divider on the dark bg. */
html.cleo-dark .spacer {
    border-bottom-color: #FAC905;
}
/* The theme sets 40px top/bottom padding on the homepage content row at
   ≥992px (mobile already has 20px). Halve the desktop value to 20px so
   the paragraph blocks (quicklinks, events, blogs) sit tighter. */
section#content > .container > .row {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}
/* ============================================================
   SIGNED-IN HEADER AREA (DESKTOP): [ name ] [ Uitloggen ] [ 🌙 ]
   left→right in .header-nav-top. The inline script replaces the
   template's <div class="login"><p>…</p></div> with a new
   <span id="cleo-userarea"> containing .c-username, .c-logout and
   #cleo-theme-toggle. Because the links are MOVED out of the
   template's .login p, the template rules (gray #6B7280, 14px,
   uppercase, Open Sans) no longer match them — every property is
   pinned here so page-level CSS can't decide the look.
   ============================================================ */
#cleo-userarea {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 3px 0;
    font-family: "Alegreya Sans", "Open Sans", sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    color: #000;
}
#cleo-userarea a {
    display: inline-block;
    font-family: "Alegreya Sans", "Open Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    color: #000 !important;
    text-decoration: none !important;
    white-space: nowrap;
}
#cleo-userarea a:hover {
    color: #000 !important;
    text-decoration: underline !important;
}
/* ============================================================
   DARK MODE TOGGLE BUTTON (inline SVG sun/moon) — shared by
   desktop header AND mobile drawer. Round, DARK background with a
   YELLOW moon/sun icon and a 1px BLACK border around it.
   44×44px touch target on mobile.
   ============================================================ */
#cleo-theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin-left: 10px;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid #000;        /* 1px black border around the button */
    border-radius: 50%;            /* round */
    background-color: #26262c;     /* dark, in both modes */
    color: #fac905;                /* yellow icon (currentColor) */
    cursor: pointer;
    transition: background-color .15s;
}
#cleo-theme-toggle svg.cleo-toggle-icon {
    display: block;
    flex: none;
    color: #fac905;                /* belt & braces: force yellow strokes */
}
#cleo-theme-toggle:hover {
    background-color: #3f3f46;     /* slightly lighter on hover */
}
/* Mobile drawer — toggle stays a round button (not full-width),
   dark background + 1px black border, yellow icon. */
.top-mobile #cleo-theme-toggle {
    width: 44px;
    height: 44px;
    margin: 6px 0 0 0;
}
/* ============================================================
   HAMBURGER DRAWER (≤991px): the hamburger menu's bottom user section.
   The theme switches to the collapsed nav at 992px, so .top-mobile is
   the drawer on BOTH phones AND tablets — this block must cover up to
   991px, not just phones. The template renders
   <div class="top-mobile"><div class="login">…</div></div> inside the
   collapsed nav; the JS patch moves the rebuilt #cleo-userarea span
   into .top-mobile, so the drawer shows a vertical stack:
   1. name  2. Uitloggen  3. 🌙 toggle with a divider above it.
   ============================================================ */
@media (max-width: 991px) {
    /* Divider above the user section (the "divider in the mobile menu") */
    .top-mobile::before {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        margin: 8px 0 12px 0;
        background-color: rgba(0, 0, 0, .25);
    }
    /* Vertical stack: name / Uitloggen / toggle */
    .top-mobile #cleo-userarea {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 0 4px;
        width: 100%;
    }
    /* 1. User name — high contrast, left-aligned with the links below */
    .top-mobile #cleo-userarea a.c-username {
        font-family: "Alegreya Sans", "Open Sans", sans-serif !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        color: #000 !important;
        text-decoration: none !important;
    }
    /* 2. Uitloggen — same type, slightly lighter weight */
    .top-mobile #cleo-userarea a.c-logout {
        font-family: "Alegreya Sans", "Open Sans", sans-serif !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        letter-spacing: 1px !important;
        color: #000 !important;
        text-decoration: none !important;
    }
    .top-mobile #cleo-userarea a:hover {
        text-decoration: underline !important;
    }
    /* 3. Dark mode toggle — round button (44×44 touch target), not
       full-width. Inherits the base #cleo-theme-toggle round look. */
}
/* ============================================================
   DARK MODE (html.cleo-dark) — yellow stays the accent.
   Palette:
     body bg #18181b / text #F3F4F6
     content card #232329
     footer #1f1f24 / muted text #9CA3AF
     elevated surfaces #26262c, borders #3f3f46
     links #fac905 (the club yellow — same as light-mode accent)
     navbar links BLACK (#000) — they sit on the softened-yellow bar
     text on them stays #000 (contrast 12.6:1)
   ============================================================ */
/* --- Surfaces & base text --- */
html.cleo-dark body { background-color: #18181b; color: #F3F4F6; }
html.cleo-dark #content > .container { background-color: #232329; }
html.cleo-dark footer { background-color: #1f1f24; color: #9CA3AF; }
/* --- Muted / secondary text (dates, event details, tags, timestamps,
      blog subtext) — was template gray ~#757575 on #232329 = 3.3:1.
      Now #9CA3AF on #232329 ≈ 6.4:1 (WCAG AA, passes AAA for large). --- */
html.cleo-dark .text-muted,
html.cleo-dark time { color: #9CA3AF; }
/* --- Links: club yellow everywhere in the content + footer.
      NOTE: specificity (0,2,1) beats the theme's own `a`/`footer a`
      rules no matter which stylesheet they live in, so this holds
      even on pages whose markup/theme CSS loads after custom.css. --- */
html.cleo-dark a { color: #fac905; }
html.cleo-dark footer a { color: #fac905; }
html.cleo-dark .text-muted a { color: #fac905; }
/* --- Navbar: the bar is (softened) yellow, so ALL navbar link text
      — brand, main menu, dropdowns, signed-in name + Uitloggen —
      must be BLACK. Covers .navbar-brand, .sf-menu links (incl. the
      colored /preipop and /word-lid items, which keep their own
      background fills), and the template's logged-out .login p. --- */
html.cleo-dark .navbar-brand,
html.cleo-dark .navbar-brand a,
html.cleo-dark .sf-menu a,
html.cleo-dark .sf-menu a:hover,
html.cleo-dark header .header-nav-top .login p a {
    color: #000;
}
html.cleo-dark .sf-menu a[href="/preipop"] { color: #32ae70; }
html.cleo-dark .sf-menu a[href="/word-lid"] { color: #fff; }
/* --- Signed-in header area (desktop .header-nav-top): the bar stays
      yellow, so the name / Uitloggen / toggle must stay black. --- */
html.cleo-dark header .container .header-nav-top .login p,
html.cleo-dark header .container .header-nav-top .login p a,
html.cleo-dark #cleo-userarea,
html.cleo-dark #cleo-userarea a {
    color: #000 !important;
}
/* --- Quicklinks: labels stay white on the dark image cards (the blue
      link tint read as "blue text" in dark mode). --- */
html.cleo-dark .c-quicklink__text { color: #fff; }
/* --- Footer social icons (LinkedIn / Instagram / TikTok): yellow,
      matching the club accent. Covers <a>, Font Awesome <i> and the
      inline <svg>/<path> (TikTok) that inherit currentColor. --- */
html.cleo-dark footer ul.social-icons li a,
html.cleo-dark footer ul.social-icons li i,
html.cleo-dark footer ul.social-icons li svg,
html.cleo-dark footer ul.social-icons li path { color: #fac905; }
/* --- Evenementen: event titles next to the yellow date badges --- */
html.cleo-dark dl.headlines dd a { color: #FAC905; }
html.cleo-dark dl.headlines dd a:hover { color: #FAC905; text-decoration: underline; }
/* --- "Nieuwste blogs" / footer widgets: titles + relative time --- */
html.cleo-dark footer dl.headlines.headlines-footer dd { color: #FAC905; }
html.cleo-dark footer dl.headlines.headlines-footer dd a { color: #FAC905; }
html.cleo-dark footer dl.headlines.headlines-footer dd a:hover { color: #FAC905; text-decoration: underline; }
html.cleo-dark footer dl.headlines.headlines-footer dd .text-muted,
html.cleo-dark footer dl.headlines.headlines-footer dd time { color: #9CA3AF; }
/* --- Tables, forms, dropdowns, panels --- */
html.cleo-dark .table, html.cleo-dark .table td, html.cleo-dark .table th {
    background-color: #26262c !important; color: #FAC905;
}
html.cleo-dark .form-control { background-color: #26262c; color: #FAC905; border-color: #3f3f46; }
html.cleo-dark .dropdown-menu, html.cleo-dark .panel, html.cleo-dark .well { background-color: #26262c; color: #F3F4F6; }
html.cleo-dark .btn-default { background-color: #26262c; color: #FAC905; border-color: #3f3f46; }
/* --- Navbar & banner harmonization: soften the yellow fills so they
      don't glare in dark mode, but keep text/icons black on them
      (contrast 12.6:1 — far above AA). --- */
html.cleo-dark header,
html.cleo-dark body > .top,
html.cleo-dark dt.date a,
html.cleo-dark footer .headline {
    background-color: #FAC905 !important;
    color: #000 !important;
}
html.cleo-dark .sf-menu > li a:hover { background-color: #b8890a; }
/* ============================================================
   HAMBURGER DRAWER (dark mode, ≤991px): the popped-out navbar
   below the top header goes fully dark (#18181b) with light text.
   NO yellow accent bleeds into the drawer at all — including the
   container gutters on left and right of the drawer.
   ============================================================ */
@media (max-width: 991px) {
    /* Force the header bar to dark in mobile — the yellow bar is
       desktop-only; on mobile the drawer replaces it entirely.
       This kills any yellow leaking from the header's own bg. */
    html.cleo-dark header,
    html.cleo-dark body > .top {
        background-color: #18181b !important;
    }
    /* .navbar-header holds only the logo + hamburger (not the drawer).
       Keep it dark too, so no yellow strips appear beside the logo. */
    html.cleo-dark .navbar-header {
        background-color: #18181b !important;
    }
    /* The .header-menu row is the drawer container. Extend it past
       the Bootstrap container's side gutters so the dark background
       covers the full viewport width — no yellow strips on edges. */
    html.cleo-dark .header-menu {
        background-color: #18181b !important;
        position: relative;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    /* Every element inside the drawer chain → dark, no exceptions */
    html.cleo-dark .header-menu .navbar-collapse,
    html.cleo-dark .navbar-collapse,
    html.cleo-dark .navbar-collapse.in,
    html.cleo-dark .navbar-collapse.collapsing,
    html.cleo-dark .top-mobile,
    html.cleo-dark .top-mobile .login {
        background-color: #18181b !important;
    }
    /* All menu links inside the drawer → light gray, NO yellow */
    html.cleo-dark .header-menu .sf-menu a,
    html.cleo-dark .header-menu .sf-menu a:hover,
    html.cleo-dark .top-mobile .login p a {
        color: #E5E7EB !important;
    }
    /* Active/current page link inside the drawer */
    html.cleo-dark header ul.sf-menu li.active a {
        color: #F3F4F6 !important;
    }
    /* Submenu-trigger arrows → light gray, NO yellow */
    html.cleo-dark .header-menu .submenu-trigger,
    html.cleo-dark .header-menu .submenu-trigger svg,
    html.cleo-dark .header-menu .submenu-trigger svg path {
        color: #E5E7EB !important;
        fill: #E5E7EB !important;
        stroke: #E5E7EB !important;
    }
    /* Hover state inside the dark drawer (subtle lightening) */
    html.cleo-dark .header-menu .sf-menu a:hover {
        background-color: #26262c !important;
    }
    /* Signed-in name / Uitloggen → light gray, NO yellow */
    html.cleo-dark .top-mobile #cleo-userarea,
    html.cleo-dark .top-mobile #cleo-userarea a,
    html.cleo-dark .top-mobile #cleo-userarea a.c-username,
    html.cleo-dark .top-mobile #cleo-userarea a.c-logout {
        color: #E5E7EB !important;
    }
    /* Submenu open state: override the template's light #F3F4F6
       background with dark */
    html.cleo-dark header .sf-menu .has-submenu.is-active > ul {
        background: #26262c !important;
        box-shadow: none !important;
        border: 0 !important;
    }
    /* Template mobile border-top on .top-mobile → subtle dark divider */
    html.cleo-dark .top-mobile {
        border-top-color: rgba(255, 255, 255, .15) !important;
    }
    /* Template mobile .top-mobile link colors → light gray */
    html.cleo-dark .top-mobile a {
        color: #E5E7EB !important;
    }
    /* Divider above the user section */
    html.cleo-dark .top-mobile::before {
        background-color: rgba(255, 255, 255, .25);
    }
    /* Hamburger toggle button: no yellow on hover, dark border */
    html.cleo-dark .navbar-toggle {
        border-color: #3f3f46 !important;
    }
    html.cleo-dark .navbar-toggle:hover,
    html.cleo-dark .navbar-default .navbar-toggle:focus {
        background-color: #26262c !important;
    }
    html.cleo-dark .navbar-toggle .icon-bar {
        background-color: #E5E7EB !important;
    }
    /* Prevent any sf-menu dropdown from showing yellow in mobile */
    html.cleo-dark .header-menu .sf-menu ul {
        background-color: #26262c !important;
    }
    html.cleo-dark .header-menu .sf-menu ul li {
        background-color: transparent !important;
    }
    html.cleo-dark .header-menu .sf-menu ul li a {
        color: #E5E7EB !important;
    }
    html.cleo-dark .header-menu .sf-menu ul li a:hover {
        background-color: #32323a !important;
        color: #F3F4F6 !important;
    }
    /* Prevent .sf-menu li hover/active path states from adding yellow */
    html.cleo-dark header ul.sf-menu li:hover,
    html.cleo-dark header ul.sf-menu li:active,
    html.cleo-dark header ul.sf-menu li.path,
    html.cleo-dark header ul.sf-menu li.active {
        border-color: transparent !important;
        background: transparent !important;
    }
    /* The main drawer wrapper (the <ul> or <div> that .navbar-collapse
       wraps) must also be dark — some themes apply a bg on the ul itself */
    html.cleo-dark .header-menu .navbar-collapse ul,
    html.cleo-dark .header-menu > ul,
    html.cleo-dark .header-menu > nav {
        background-color: #18181b !important;
    }
}
/* --- Copyright bar stays near-black in both modes --- */
html.cleo-dark #copyright { background-color: #18181b !important; color: #9CA3AF; }
/* --- Fix: eliminate dark margins/padding around the navbar at all
      screen widths in dark mode. The header bar must span the full
      viewport width so no dark body background bleeds through on the
      sides at medium/large screens. --- */
html.cleo-dark header {
    background-color: #FAC905 !important;
    border-radius: 0 !important;
}
html.cleo-dark .header-nav {
    background-color: #FAC905 !important;
}
html.cleo-dark header .container {
    background-color: transparent !important;
}
html.cleo-dark body {
    background-color: #18181b;
}
/* Ensure the top bar fills full width with no gaps */
html.cleo-dark header .navbar-header,
html.cleo-dark header .header-nav,
html.cleo-dark header .header-nav-top {
    background-color: #FAC905 !important;
}