/*
 * Winbox help desk project skin -- per-project visual identity layer (light).
 *
 * winbox-myr.my is an independent help desk (writer/projects/winbox/rules.md). The look follows the brand's own site: white header and pages on a
 * cool grey ground, Winbox blue (#2a8cf0) for buttons, links and markers, an orange
 * accent (#f5a623) taken from the CASINO word of the logo, a violet gradient
 * from the brand's promo art, deep navy footer, Inter throughout.
 *
 * Synced by publish.sh to wp-content/mu-plugins/winbox-assets/skin.css and
 * enqueued by the bridge after project.css. Colour, type and menu sizing only.
 */

:root {
  --j-bg: #eef5fc;          /* page background (brand lobby grey) */
  --j-surface: #ffffff;     /* article panel, cards */
  --j-surface-2: #f3f8fe;   /* zebra rows, soft panels */
  --j-black: #0b2b5c;       /* footer, deep navy */
  --j-red: #2a8cf0;         /* Winbox blue: rules, markers, buttons */
  --j-red-light: #7cc0ff;   /* blue on navy */
  --j-red-dark: #1462d6;    /* blue on paper: links, h3 */
  --j-pink: #f5a623;        /* CASINO pink: Sign up, accents */
  --j-cream: #e6f2ff;       /* text on navy */
  --j-ink: #0b2b5c;         /* headings */
  --j-text: #14233a;        /* body */
  --j-muted: #557089;
  --j-line: #d6e6f7;

  --color-backgroudn: var(--j-bg);
  --color-bg-header: var(--j-surface);
  --color-bg-text: var(--j-surface);
  --color-secondary-bg: var(--j-surface);
  --color-text: var(--j-ink);
  --color-text-muted: var(--j-text);
  --color-primary: var(--j-red);
  --green-gradient: linear-gradient(90deg, #2a8cf0 0%, #1462d6 100%);
  --button-bg-color: linear-gradient(90deg, #2a8cf0 0%, #1462d6 100%);
  --button-box-shadow: 0 6px 16px rgba(42, 140, 240, 0.25);
  --color-before: var(--j-red);
  --background-before-line: linear-gradient(90deg, #2a8cf0 0%, #f5a623 100%);
  --border-text: 1px solid var(--j-line);
  --theme-color-accent: transparent;
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html,
body {
  background: var(--j-bg);
  background-image: none;
  color: var(--j-text);
  font-family: var(--font-family);
}

/* ---- header: white bar like the brand's own site ----------------------- */
#header {
  z-index: 100;
  background: var(--j-surface);
  border-bottom: 0;
  box-shadow: 0 2px 14px rgba(11, 43, 92, 0.08);
}
.header__wrap { background: transparent; }
.header__wrap ul li a,
.header__wrap ul li > a {
  color: var(--j-ink);
  background: transparent;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}
.header__wrap ul li:hover a,
.header__wrap ul li a:hover {
  color: var(--j-red);
  background: transparent;
  border-bottom-color: rgba(42, 140, 240, 0.35);
}
.header__wrap ul .current-menu-item a,
.header__wrap ul .current_page_item a {
  color: var(--j-red);
  background: transparent;
  border-bottom-color: var(--j-red);
}
@media (min-width: 1201px) {
  .header__wrap ul { flex-wrap: nowrap; }
  .header__wrap ul li a { font-size: 15px; padding-left: 12px; padding-right: 12px; white-space: nowrap; }
}
@media (min-width: 1201px) and (max-width: 1360px) {
  .header__wrap ul li a { font-size: 14px; padding-left: 8px; padding-right: 8px; }
}
.btn_login {
  background: var(--j-red);
  border: 0;
  color: #ffffff;
  border-radius: 10px;
}
.btn_login:hover { background: var(--j-red-dark); color: #ffffff; }
.btn_registration {
  background-image: none;
  background: #dcecff;
  color: var(--j-red-dark);
  border-radius: 10px;
  box-shadow: none;
}
.btn_registration:hover { background: var(--j-pink); color: #ffffff; opacity: 1; }
.btn_registration__add { color: inherit; }
.menu-cnt,
.header__main .menu-cnt { background: var(--j-surface); }
.open-menu span,
.open-menu::before,
.open-menu::after { background-color: var(--j-ink); }
.search_input {
  background: var(--j-surface-2);
  color: var(--j-ink);
  border: 1px solid var(--j-line);
}

/* ---- article panel and typography --------------------------------------- */
.casino__right,
.casino__right_info,
.games-info__cnt {
  background: var(--j-surface);
  color: var(--j-text);
}

.games-info__cnt {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(17, 19, 23, 0.06);
}

.games-info__cnt h1,
.games-info__cnt h2,
.games-info__cnt h3,
.games-info__cnt h4 {
  font-family: var(--font-head);
  color: var(--j-ink);
  letter-spacing: 0;
}

.games-info__cnt h1 {
  font-weight: 700;
}

.games-info__cnt h2 {
  border-bottom-color: var(--j-red);
}

.games-info__cnt h3 {
  color: var(--j-red-dark);
}

.games-info__cnt p,
.games-info__cnt li,
.games-info__cnt td,
.games-info__cnt th,
.games-info__cnt figcaption {
  font-family: var(--font-family);
  color: var(--j-text);
  line-height: 1.7;
}

.games-info__cnt strong {
  color: var(--j-ink);
}

.games-info__cnt a:not(.wp-block-button__link) {
  color: var(--j-red-dark);
  text-decoration-color: rgba(200, 20, 31, 0.45);
}

.games-info__cnt a:not(.wp-block-button__link):hover {
  text-decoration-color: var(--j-red-dark);
}

.games-info__cnt ul > li::before,
.games-info__cnt ol:not(.factory-timeline) > li::before {
  color: var(--j-red);
}

/* ---- tables ------------------------------------------------------------ */
.wp-block-table table thead tr th {
  background: var(--j-red);
  color: #ffffff;
  font-weight: 700;
  border-bottom: 0;
}

.wp-block-table table tbody tr td {
  background: var(--j-surface);
  border: 1px solid var(--j-line);
  color: var(--j-text);
}

.wp-block-table table tbody tr:nth-child(even) td {
  background: var(--j-surface-2);
}

@media (min-width: 641px) {
  .games-info__cnt figure.wp-block-table table {
    min-width: 0;
    width: 100%;
  }
  .games-info__cnt figure.wp-block-table table tr {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
}

/* ---- table of contents ------------------------------------------------ */
#ez-toc-container.ez-toc-black,
#ez-toc-container {
  background: var(--j-surface-2);
  border: 1px solid var(--j-line);
  border-left: 4px solid var(--j-red);
  border-radius: 6px;
}

#ez-toc-container .ez-toc-title,
#ez-toc-container p.ez-toc-title,
#ez-toc-container .ez-toc-title-container * {
  color: var(--j-ink) !important;
  font-family: var(--font-head);
}

#ez-toc-container a {
  color: var(--j-text) !important;
}

#ez-toc-container a:hover {
  color: var(--j-red-dark) !important;
}

/* ---- CTA (factory [cta] block renders as a core button) --------------- */
.games-info__cnt .wp-block-buttons {
  margin: 18px 0 28px;
}

.games-info__cnt .wp-block-button__link {
  background: var(--j-black);
  color: #ffffff;
  border-radius: 4px;
  padding: 14px 30px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--button-box-shadow);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.games-info__cnt .wp-block-button__link:hover {
  background: var(--j-red-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ---- FAQ ---------------------------------------------------------------- */
.faq__box {
  background: var(--j-surface);
  box-shadow: none;
  border: 1px solid var(--j-line);
  border-left: 4px solid var(--j-red);
}

.faq__box h4 {
  font-family: var(--font-head);
  color: var(--j-ink);
}

.open .faq__box,
.faq__box:hover {
  border-left-color: var(--j-black);
}

.faq__plus span {
  background-color: var(--j-red);
}

.submenu p {
  font-family: var(--font-family);
  color: var(--j-text);
}

/* ---- footer: black band, one grid ------------------------------------
   The theme gives only the menu columns an inner offset; the logo row, the
   separators and the bottom rows sat flush against the edge with lines of
   different lengths. Everything now shares one inner padding, separators are
   full-width hairlines, and the three bottom tiles share one style. */
footer,
#footer {
  background: var(--j-black);
  border-top: 0;
  padding: 36px 48px 20px;
  box-sizing: border-box;
}

footer .footer__main {
  background: transparent;
}

footer .footer__main,
footer .footer__main p,
footer .footer__main a,
footer .footer__link,
footer .footer__item {
  color: #e1e4ea;
}

footer .footer__main a:hover,
footer .footer__link a:hover {
  color: #ffffff;
}

/* logo row: white logo on the dark band, hairline to the right */
footer .logoContainer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 32px;
}

footer .logoContainer__logo,
footer .logoContainer__logo img {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto;
}

footer .logoContainer__logo img {
  height: 44px !important;
  object-fit: contain;
}

footer .logoContainer__ine,
footer .separator_gradient {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.14) !important;
  background-image: none !important;
  margin-left: 0;
  margin-right: 0;
}

footer .separator_gradient {
  width: 100%;
  margin: 32px 0 0;
}

/* menu columns start at the same left edge as everything else */
footer .footer__main .footer__cnt:first-of-type,
footer .footer__main > .footer__cnt_category:nth-child(2) {
  margin-left: 0;
}

footer .footer__main {
  padding-left: 0;
  margin-left: 0;
}

/* bottom tiles: language, mobile, back to top */
footer .footer__content {
  padding: 20px 0;
}

footer .head-leng__block,
footer .header-button,
footer .scrollup {
  height: 36px;
  min-width: 36px;
  box-sizing: border-box;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e1e4ea;
}

footer .header-button svg,
footer .scrollup svg {
  fill: #e1e4ea;
  color: #e1e4ea;
  stroke: currentColor;
}

footer .scrollup:hover,
footer .header-button:hover {
  background: var(--j-red) !important;
  border-color: var(--j-red);
}

footer .footer__desc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

footer .footer__desc,
footer .footer__desc p {
  color: #8b919c;
}

footer .footer__cnt_category strong {
  color: #8b919c;
  letter-spacing: 0.08em;
}

@media (max-width: 1000px) {
  footer .footer__main .footer__cnt,
  footer .footer__main .footer__cnt_category {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  footer .footer__content,
  footer .footer-leng__fl {
    justify-content: flex-start !important;
  }
  footer .footer-leng__fl {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  footer .footer__desc .footer__plus {
    margin-left: auto !important;
  }
  footer .footer__desc {
    flex-direction: row !important;
    justify-content: space-between !important;
    text-align: left;
  }
  footer .footer__desc p {
    order: 0 !important;
    margin: 0;
  }
  footer .footer__desc .footer__plus {
    order: 1 !important;
    margin: 0;
  }
}

@media (max-width: 640px) {
  footer,
  #footer {
    padding: 28px 16px 16px;
  }
}

/* ---- misc hardcoded dark bits ------------------------------------------ */
.navigation.pagination .page-numbers {
  background: var(--j-red);
}

.scrollup {
  background: var(--j-red);
}

/* content panel accent line (theme draws it from --green-gradient, which this
   skin points at the black CTA colour): keep it red */
.casino__right_info::before {
  background-image: none;
  background: var(--j-red);
}


/* burger panel (1200px and below): light search field, thin separators
   instead of the desktop underline */
.menu-cnt input,
.menu-cnt input[type="search"],
.menu-cnt input[type="text"],
.search_input input {
  background: var(--j-surface-2) !important;
  color: var(--j-ink) !important;
  border: 1px solid var(--j-line) !important;
}

.menu-cnt button,
.search_input__magnifer {
  background: var(--j-red) !important;
  border-color: var(--j-red) !important;
}

@media (max-width: 1200px) {
  .header__wrap ul li a,
  .header__wrap ul li > a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .header__wrap ul .current-menu-item a,
  .header__wrap ul .current_page_item a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--j-red);
    padding-left: 10px;
  }
}

/* header logo: W88's wordmark is wide and short. The theme reserves a fixed
   ~89px column for the logo, so let that column size itself to the logo. */
#header .head__block {
  width: auto !important;
  min-width: 0;
  flex: 0 0 auto;
  margin-right: 20px;
}

#header .logotype,
#header .header__logo {
  width: auto !important;
}

#header .logotype img,
#header .header__logo img,
#header .custom-logo {
  height: 46px;
  width: auto;
  max-width: none;
}

@media (max-width: 1200px) {
  #header .logotype img,
  #header .header__logo img,
  #header .custom-logo {
    height: 38px;
  }
  #header .head__block {
    margin-right: 8px;
  }
}

footer .footer__desc p {
  flex: 1;
}

/* narrow phones: logo + Login + Registration + burger must share one row */
@media (max-width: 440px) {
  #header .logotype img,
  #header .header__logo img,
  #header .custom-logo {
    height: 32px;
  }
  #header .head__block {
    margin-right: 4px;
  }
  .btn_login,
  .btn_registration {
    padding: 6px 10px !important;
    font-size: 13px !important;
    min-width: 0 !important;
  }
  .btn_registration .btn_registration__add,
  .btn_registration__add {
    display: none !important;
  }
  .header__buttons {
    gap: 6px;
  }
}

footer .footer__desc {
  display: flex !important;
  width: 100%;
}

footer .footer__desc .footer__plus {
  margin-left: auto !important;
  width: auto !important;
  justify-content: flex-end !important;
  text-align: right;
}

/* ---- lists (owner 2026-09-28: bullets were lost on white; all text black)
   The theme hardcodes white list text and a FontAwesome tick that does not
   render here; lists get black text and the skin's own markers. */
.games-info__cnt ul li,
.games-info__cnt ol li,
.games-info__cnt ul li *,
.games-info__cnt ol li * {
  color: var(--j-text);
}

.games-info__cnt ul li strong,
.games-info__cnt ol li strong {
  color: var(--j-ink);
}

.games-info__cnt ul:not(.ez-toc-list):not(.ez-toc-list-level-3) > li {
  position: relative;
  padding-left: 26px;
}

.games-info__cnt ul:not(.ez-toc-list):not(.ez-toc-list-level-3) > li::before {
  content: "" !important;
  font-family: inherit !important;
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50%;
  background: var(--j-red) !important;
}

.games-info__cnt ol:not(.factory-timeline) > li {
  position: relative;
  padding-left: 34px;
}

.games-info__cnt ol:not(.factory-timeline) > li::before {
  color: #ffffff !important;
  background: var(--j-red) !important;
  border-radius: 50%;
  width: 24px !important;
  height: 24px !important;
  font-size: 13px !important;
  font-weight: 700;
  top: 0.15em !important;
}

/* every remaining piece of article text is black on the white panel */
.games-info__cnt,
.games-info__cnt p,
.games-info__cnt td,
.games-info__cnt th:not(thead th),
.games-info__cnt figcaption,
.faq__box h4,
.submenu p,
.submenu li {
  color: var(--j-text);
}

.games-info__cnt ul:not(.ez-toc-list):not(.ez-toc-list-level-3),
.games-info__cnt ol:not(.factory-timeline) {
  list-style: none !important;
  padding-left: 0 !important;
}

.games-info__cnt ul li,
.games-info__cnt ol li {
  font-family: var(--font-family) !important;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* page visuals are annotated product shots: give wide images room */
.games-info__cnt .factory-image--wide {
  max-width: 960px;
}


/* ---- editorial components (factory [claim]/[note]/[timeline]/[facts]) --- */
.games-info__cnt {
  --fx-accent: var(--j-red);
  --fx-panel: var(--j-surface-2);
  --fx-line: var(--j-line);
  --fx-radius: 2px;
}
.games-info__cnt .factory-claim__side--stated p:not(.factory-claim__label) {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--j-muted);
}
.games-info__cnt .factory-claim__side--actual { background: var(--j-surface); }
.games-info__cnt .factory-claim__label,
.games-info__cnt .factory-note__label { color: var(--j-red-dark); opacity: 1; }
.games-info__cnt .factory-note { background: #fff1f2; border-left-color: var(--j-red-dark); }
.games-info__cnt ol.factory-timeline { padding-left: 2.8em !important; list-style: none !important; }
.games-info__cnt ol.factory-timeline > li { padding-left: 0; }
.games-info__cnt ol.factory-timeline > li::before {
  background: var(--j-black);
  color: var(--j-red-light);
  font-family: var(--font-family);
}
.games-info__cnt figure.factory-facts thead tr th { background: var(--j-black); color: var(--j-red-light); }
.games-info__cnt .wp-block-button__link { color: var(--j-red-light); }
.games-info__cnt .wp-block-button__link:hover { background: var(--j-red); color: var(--j-black); }
.games-info__cnt h2 { font-weight: 600; }
.wp-block-table table thead tr th { background: var(--j-black); color: var(--j-red-light); }

/* ---- header dropdown (Games) ---------------------------------------------
   Same fix as the sibling builds: the theme walker renders div.header-nav-link > span +
   div.header-nav-dropdown-wrap without its dropdown.css. Desktop: hover opens
   a black panel; burger: children listed under the group label. */
.header__wrap .header-nav-link { position: relative; display: flex; align-items: center; cursor: default; }
.header__wrap .header-nav-link > .nav-categories_text {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--j-ink);
  white-space: nowrap;
}
.header__wrap .header-nav-link > .nav-categories_text::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  border: 4px solid transparent;
  border-top-color: var(--j-red);
  transform: translateY(2px);
}
.header__wrap .header-nav-link:hover > .nav-categories_text,
.header__wrap .header-nav-link:focus-within > .nav-categories_text { color: var(--j-red-light); }
.header__wrap .header-nav-dropdown li { list-style: none; }
.header__wrap .header-nav-dropdown li a {
  display: block;
  white-space: nowrap;
  text-transform: none !important;
  letter-spacing: 0.01em;
  border-bottom: 0 !important;
}
@media (min-width: 1201px) {
  .header__wrap .header-nav-link > .nav-categories_text { font-size: 14px; padding: 0 12px; }
  .header__wrap .header-nav-dropdown-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    z-index: 1000;
    padding-top: 8px;
  }
  .header__wrap .header-nav-dropdown {
    background: #ffffff;
    border: 1px solid var(--j-line);
    border-top: 2px solid var(--j-red);
    box-shadow: 0 14px 30px rgba(11, 43, 92, 0.16);
    border-radius: 0 0 12px 12px;
    padding: 6px 0;
  }
  .header__wrap .header-nav-link:hover .header-nav-dropdown-wrap,
  .header__wrap .header-nav-link:focus-within .header-nav-dropdown-wrap { display: block; }
  .header__wrap .header-nav-dropdown li a {
    padding: 10px 18px !important;
    font-size: 14px !important;
    color: var(--j-ink) !important;
    font-family: var(--font-family) !important;
  }
  .header__wrap .header-nav-dropdown li a:hover { background: var(--j-surface-2) !important; color: var(--j-red) !important; }
}
@media (max-width: 1200px) {
  .header__wrap .header-nav-link { display: block; }
  .header__wrap .header-nav-link > .nav-categories_text {
    display: block;
    padding: 12px 0 6px 9px !important;
    color: var(--j-red);
    font-size: 14px;
  }
  .header__wrap .header-nav-link > .nav-categories_text::after { display: none; }
  .header__wrap .header-nav-dropdown-wrap { display: block; position: static; padding-left: 14px; }
  .header__wrap .header-nav-link,
  .header__wrap .header-nav-dropdown,
  .header__wrap .header-nav-dropdown li,
  .header__wrap .header-nav-dropdown li a {
    width: 100%;
    text-align: left !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }
  .header__wrap .header-nav-dropdown li a {
    padding-left: 12px !important;
    color: var(--j-ink) !important;
    border-bottom: 1px solid var(--j-line) !important;
  }
}


/* FAQ: the theme adds a blue focus glow to the open box */
.faq__box,
.open .faq__box,
.faq__box:focus,
.faq__box:focus-within { box-shadow: none !important; outline: none !important; }
.open .faq__box { border-color: var(--j-line); border-left-color: var(--j-red); }

/* one reading size for every text block (the theme set p smaller than the
   list rule above, so prose and lists looked like two different fonts) */
.games-info__cnt p,
.games-info__cnt ul li,
.games-info__cnt ol li,
.games-info__cnt td,
.games-info__cnt .factory-claim__side p:not(.factory-claim__label),
.games-info__cnt .factory-note p:not(.factory-note__label) {
  font-size: 17px !important;
  line-height: 1.7;
}
@media (max-width: 640px) {
  .games-info__cnt p,
  .games-info__cnt ul li,
  .games-info__cnt ol li,
  .games-info__cnt td,
  .games-info__cnt .factory-claim__side p:not(.factory-claim__label),
  .games-info__cnt .factory-note p:not(.factory-note__label) { font-size: 16px !important; }
  .games-info__cnt .factory-claim__side--stated p:not(.factory-claim__label) { font-size: 17px !important; }
}

/* ---- demo tiles and calculator (bridge 12, 14): brand font ---------------- */
.wb-demos, .wb-demo, .wb-demo *, .wb-wager, .wb-wager * { font-family: var(--font-family) !important; }

/* ---- Winbox accents ---------------------------------------------------------- */
.games-info__cnt h2 { border-bottom: 0; border-left: 5px solid var(--j-red); padding-left: 14px; }
.games-info__cnt figure.factory-facts thead tr th,
.wp-block-table table thead tr th { color: #ffffff; background: var(--j-red); }
.games-info__cnt ol.factory-timeline > li::before { color: #ffffff; background: linear-gradient(135deg, #2a8cf0, #1462d6); }
.games-info__cnt .wp-block-button__link { background: linear-gradient(90deg, #2a8cf0 0%, #1462d6 60%, #f5a623 100%); color: #ffffff; border-radius: 12px; }
.games-info__cnt .wp-block-button__link:hover { background: var(--j-black); color: #ffffff; }
.games-info__cnt .factory-note { background: #eef6ff; border-left-color: var(--j-red); }
.games-info__cnt .factory-note__label { color: var(--j-red-dark); }
.games-info__cnt a:not(.wp-block-button__link) { color: var(--j-red-dark); }

/* footer: deep navy band; the blue logo turns white there */
footer .logoContainer__logo img { filter: brightness(0) invert(1); }

/* phones: Sign in / Sign up wrap below the bar onto the grey page */
@media (max-width: 1200px) {
  .btn_login { background: var(--j-red); color: #ffffff; }
  .btn_registration { background: var(--j-pink); color: #ffffff; }
}

/* top bar: the theme's lock (login) and phone icons sat grey on grey */
#head__main .head__control a { background: var(--j-red) !important; border-radius: 10px !important; }
#head__main .head__control a:hover { background: var(--j-pink) !important; }
#head__main .head__control svg, #head__main .head__control svg path { fill: #ffffff !important; }

/* language switcher: the dropdown (z 99) opened under the sticky header (z 100) on
   desktop and could not be clicked; lift the top bar and give the list a brand panel */
#head__main { position: relative; z-index: 200; }
#head__main .head-leng-droup { z-index: 1000 !important; background: #ffffff !important; border: 1px solid var(--j-line) !important; border-radius: 12px !important; box-shadow: 0 14px 30px rgba(11, 43, 92, 0.16) !important; padding: 6px !important; min-width: 96px; }
#head__main .head-leng-droup li a { color: var(--j-ink) !important; font-weight: 600; border-radius: 8px; padding: 6px 10px !important; display: flex; align-items: center; gap: 6px; }
#head__main .head-leng-droup li a:hover, #head__main .head-leng-droup li.current-lang a { background: var(--j-surface-2) !important; color: var(--j-red) !important; }
#head__main .head-leng__block > span { text-transform: uppercase; font-weight: 700; color: var(--j-ink); }
#head__main .head-leng-droup li a, #head__main .head-leng-droup li a span { color: var(--j-ink) !important; opacity: 1 !important; text-transform: uppercase; }
#head__main .head-leng-droup li.current-lang a, #head__main .head-leng-droup li.current-lang a span { color: var(--j-red) !important; }

/* single-language site: the theme's language switcher has nothing to switch */
#head__main .head-leng { display: none !important; }
