:root {
  --ell-bg: #101820;
  --ell-surface: #16222e;
  --ell-surface-2: #1d2b38;
  --ell-border: #314557;
  --ell-text: #edf4f7;
  --ell-muted: #b8c7d1;
  --ell-muted-2: #8ea1ad;
  --ell-accent: #6fb7d6;
  --ell-accent-strong: #2f75b8;
}

html,
body,
.site,
.site-main,
.content-bg,
.entry-content-wrap,
.content-container,
#inner-wrap {
  background: var(--ell-bg) !important;
  color: var(--ell-text) !important;
}

.site-header,
.site-main-header-wrap,
.site-footer,
.site-bottom-footer-wrap,
.content-area,
.entry,
.entry-content,
.wp-site-blocks,
.entry-hero,
.page-hero-section,
.entry-hero-container-inner,
.hero-container,
.hero-section-overlay,
.entry-header {
  background: var(--ell-bg) !important;
  color: var(--ell-text) !important;
}

.entry-hero .entry-title,
.page-hero-section .entry-title,
.entry-header .entry-title {
  color: var(--ell-text) !important;
}

.site-header,
.site-main-header-wrap,
.site-bottom-footer-wrap {
  border-color: rgba(255, 255, 255, .08) !important;
  box-shadow: none !important;
}

.site-branding a,
.site-title,
.site-title a,
.main-navigation .primary-menu-container > ul > li.menu-item > a,
.mobile-toggle-open-container .menu-toggle-open,
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.entry-title a,
.wp-block-heading {
  color: var(--ell-text) !important;
}

p,
li,
.entry-content,
.entry-summary,
.wp-block-paragraph,
.wp-block-list,
.site-footer,
.site-footer p {
  color: var(--ell-muted) !important;
}

a,
.entry-content a,
.site-footer a {
  color: var(--ell-accent) !important;
}

a:hover,
.entry-content a:hover {
  color: #93d7ee !important;
}

a:focus-visible,
button:focus-visible,
.button:focus-visible,
.wp-block-button__link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.menu-toggle:focus-visible,
.menu-toggle-open:focus-visible {
  outline: 3px solid rgba(111, 183, 214, .9) !important;
  outline-offset: 3px !important;
}

.wp-block-group,
.wp-block-columns,
.wp-block-kadence-column,
.kt-inside-inner-col,
.wp-block-kadence-infobox,
.kt-blocks-info-box-link-wrap,
.wp-block-latest-posts,
.wp-block-post-template,
.entry.loop-entry,
.ell-quiz__panel {
  background: var(--ell-surface) !important;
  color: var(--ell-text) !important;
  border-color: var(--ell-border) !important;
}

.entry-content .ell-answer {
  background: var(--ell-surface) !important;
  border: 1px solid var(--ell-border) !important;
  border-radius: 8px;
  color: var(--ell-text) !important;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.entry-content .ell-answer summary {
  align-items: center;
  background: var(--ell-accent-strong) !important;
  border-radius: 8px;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  line-height: 1.35;
  margin: .75rem;
  min-height: 44px;
  padding: .7rem 1rem;
}

.entry-content .ell-answer summary:focus {
  outline: 3px solid rgba(111, 183, 214, .75);
  outline-offset: 3px;
}

.entry-content .ell-answer[open] {
  padding-bottom: .75rem;
}

.entry-content .ell-answer p {
  margin: .75rem 1rem;
}

.wp-block-kadence-infobox,
.kt-blocks-info-box-link-wrap,
.entry.loop-entry,
.ell-quiz__panel {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
}

button,
.button,
.wp-block-button__link,
input[type="submit"],
.ell-quiz button {
  background: var(--ell-accent-strong) !important;
  color: #fff !important;
  border-color: var(--ell-accent-strong) !important;
}

button:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
.ell-quiz button:hover {
  background: #3f8fcb !important;
  border-color: #3f8fcb !important;
}

input,
select,
textarea,
.ell-quiz input,
.ell-quiz select,
.ell-quiz textarea {
  background: #0e151c !important;
  color: var(--ell-text) !important;
  border-color: var(--ell-border) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--ell-muted-2) !important;
}

.ell-quiz,
.ell-quiz__panel,
.ell-quiz__question,
.ell-quiz__choice,
.ell-quiz__result {
  background: var(--ell-surface) !important;
  color: var(--ell-text) !important;
  border-color: var(--ell-border) !important;
}

.ell-quiz__eyebrow,
.ell-quiz__status,
.ell-quiz__choice,
.ell-quiz__result p,
.ell-quiz__result li {
  color: var(--ell-muted) !important;
}

.ell-quiz__result {
  border-left-color: var(--ell-accent) !important;
}

.has-theme-palette-9-background-color,
.has-theme-palette-8-background-color,
.has-theme-palette-7-background-color,
.wp-block-cover,
.wp-block-media-text {
  background-color: var(--ell-surface-2) !important;
}

@media (max-width: 767px) {
  .entry-content-wrap,
  .content-container,
  .ell-quiz__panel {
    background: var(--ell-surface) !important;
  }
}

.home .site-main-header-wrap,
.home .site-header-row-container-inner,
.home .site-header-main-section-left,
.home .site-header-main-section-right {
  min-height: 0 !important;
}

.home .site-header-row {
  min-height: 86px !important;
}

.home .site-branding {
  gap: 14px !important;
}

.home .custom-logo,
.home .site-branding img {
  max-height: 82px !important;
  width: auto !important;
}

.home .site-title,
.home .site-title a {
  font-size: 1.32rem !important;
  line-height: 1.15 !important;
}

.home .main-navigation .primary-menu-container > ul {
  align-items: center !important;
  column-gap: .2rem !important;
  row-gap: .1rem !important;
}

.home .main-navigation .primary-menu-container > ul > li.menu-item > a {
  font-size: .96rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  padding: .55rem .62rem !important;
}

.home .entry-hero,
.home .page-hero-section {
  display: none !important;
}

.home .content-area {
  margin-top: 0 !important;
}

.home .content-container,
.home .entry,
.home .entry-content-wrap {
  background: transparent !important;
  box-shadow: none !important;
}

.home .entry-content-wrap {
  padding-top: 0 !important;
}

.ell-home {
  --ell-home-card: #14202a;
  --ell-home-card-2: #182838;
  --ell-home-line: #314557;
  --ell-home-text: #edf4f7;
  --ell-home-muted: #c3d0d8;
  --ell-home-soft: #8fd4ee;
  color: var(--ell-home-text);
}

.ell-home__hero {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .72fr);
  padding: clamp(1.4rem, 3vw, 2.6rem) 0 clamp(1.2rem, 2.4vw, 2rem);
}

.ell-home__eyebrow {
  color: var(--ell-home-soft) !important;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 .55rem;
}

.ell-home h1,
.ell-home h2,
.ell-home h3 {
  color: var(--ell-home-text) !important;
}

.ell-home h1 {
  font-size: clamp(2rem, 3.9vw, 3.7rem);
  line-height: 1.12;
  margin: 0;
  max-width: 860px;
}

.ell-home__lead {
  color: var(--ell-home-muted) !important;
  font-size: 1.09rem;
  line-height: 1.72;
  margin: 1rem 0 0;
  max-width: 760px;
}

.ell-home__actions,
.ell-home__quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.1rem 0 0;
}

.ell-home__button {
  align-items: center;
  border: 1px solid var(--ell-accent-strong);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  line-height: 1.25;
  min-height: 46px;
  padding: .78rem 1rem;
  text-decoration: none !important;
}

.ell-home__button--primary {
  background: #0b5fa5;
  border-color: #4aa3e0;
  box-shadow: 0 10px 24px rgba(11, 95, 165, .32);
  color: #fff !important;
}

.entry-content .ell-home__button--primary {
  color: #fff !important;
}

.ell-home__button--secondary {
  background: transparent;
  border-color: var(--ell-border);
  color: var(--ell-home-text) !important;
}

.ell-home__trust,
.ell-home__panel,
.ell-home__item,
.ell-home__step {
  background: var(--ell-home-card) !important;
  border: 1px solid var(--ell-home-line);
  border-radius: 8px;
  color: var(--ell-home-muted) !important;
}

.ell-home__trust {
  margin: 1rem 0 0;
  padding: .85rem 1rem;
}

.ell-home__panel {
  align-self: start;
  padding: 1rem;
}

.ell-home__panel-title {
  color: var(--ell-home-soft) !important;
  font-size: .95rem;
  font-weight: 900;
  margin: 0 0 .75rem;
}

.ell-home__panel-list {
  display: grid;
  gap: .65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ell-home__panel-list li {
  color: var(--ell-home-muted) !important;
}

.ell-home__section {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: clamp(1.25rem, 2.8vw, 2.2rem) 0;
}

.ell-home__section h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  margin: 0 0 1rem;
}

.ell-home__steps,
.ell-home__grid {
  display: grid;
  gap: 1rem;
}

.ell-home__steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ell-home__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ell-home__item,
.ell-home__step {
  padding: 1rem;
}

.ell-home__item {
  background: var(--ell-home-card-2) !important;
}

.ell-home__item h3,
.ell-home__step strong {
  color: var(--ell-home-text) !important;
}

.ell-home__item p,
.ell-home__step,
.ell-home__section p {
  color: var(--ell-home-muted) !important;
}

.ell-home__meta {
  background: rgba(111, 183, 214, .14);
  border: 1px solid rgba(111, 183, 214, .38);
  border-radius: 999px;
  color: var(--ell-home-soft) !important;
  display: inline-block;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: .75rem;
  padding: .25rem .6rem;
}

.ell-home__item a,
.ell-home__quick-links a {
  font-weight: 900;
}

.site-main-header-wrap,
.site-header-row-container-inner,
.site-header-main-section-left,
.site-header-main-section-right {
  min-height: 0 !important;
}

.site-header-row {
  min-height: 86px !important;
}

.site-branding {
  gap: 14px !important;
}

.custom-logo,
.site-branding img {
  max-height: 82px !important;
  width: auto !important;
}

.site-title,
.site-title a {
  font-size: 1.32rem !important;
  line-height: 1.15 !important;
}

.entry-hero .entry-header,
.page-hero-section .entry-header {
  padding-bottom: 1.25rem !important;
  padding-top: 1.8rem !important;
}

.ell-exam-library,
.ell-category-hub,
.ell-category-hub__section,
.ell-category-hub__hero {
  background: transparent !important;
  color: var(--ell-text) !important;
}

.ell-exam-library,
.ell-exam-library__controls,
.ell-exam-library__card,
.ell-category-hub__card,
.ell-category-hub__search,
.ell-category-hub details,
.ell-category-hub__note,
.ell-category-hub__notice,
.ell-category-hub__post,
.ell-category-hub__filter,
.ell-related,
.ell-trust-box,
.ell-empty-category {
  background: var(--ell-surface) !important;
  border-color: var(--ell-border) !important;
  box-shadow: none !important;
  color: var(--ell-text) !important;
}

.ell-exam-library p,
.ell-exam-library li,
.ell-category-hub p,
.ell-category-hub li,
.ell-category-hub__meta,
.ell-related p {
  color: var(--ell-muted) !important;
}

.ell-exam-library__meta span,
.ell-category-hub__meta span,
.ell-category-hub__chip,
.ell-category-hub__button--secondary {
  background: rgba(111, 183, 214, .12) !important;
  border: 1px solid rgba(111, 183, 214, .38) !important;
  color: var(--ell-accent) !important;
}

@media (max-width: 767px) {
  .site-header-row {
    min-height: 76px !important;
  }

  .custom-logo,
  .site-branding img {
    max-height: 70px !important;
  }

  .site-title,
  .site-title a {
    font-size: 1.42rem !important;
  }

  .home .site-header-row {
    min-height: 76px !important;
  }

  .home .custom-logo,
  .home .site-branding img {
    max-height: 70px !important;
  }

  .home .site-title,
  .home .site-title a {
    font-size: 1.42rem !important;
  }

  .home .entry-content-wrap {
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
  }

  .ell-home__hero {
    display: block;
    padding-top: 1.1rem;
  }

  .ell-home h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.18;
  }

  .ell-home__lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .ell-home__actions {
    display: grid;
    gap: .65rem;
  }

  .ell-home__button {
    width: 100%;
  }

  .ell-home__panel {
    margin-top: 1rem;
  }

  .ell-home__steps,
  .ell-home__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .ell-home__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ell-home__hero {
    grid-template-columns: 1fr;
  }
}

/* 2026-07-06 preferred light-blue visual direction. See docs/examlearnlab-visual-style.md. */
html,
body,
#wrapper,
#inner-wrap,
.site,
.wp-site-blocks,
.content-area,
.content-bg,
.site-main,
.entry,
.entry-content,
.entry-content-wrap,
.content-container {
  --ell-bg: #f6fbff !important;
  --ell-surface: #ffffff !important;
  --ell-surface-2: #f4f9ff !important;
  --ell-border: #d8e6f7 !important;
  --ell-text: #10233f !important;
  --ell-body: #334155 !important;
  --ell-muted: #64748b !important;
  --ell-muted-2: #8aa0b8 !important;
  --ell-accent: #0866e8 !important;
  --ell-accent-strong: #0057d8 !important;
  --ell-footer: #062247 !important;
  background: #f6fbff !important;
  color: #334155 !important;
}

.site-header,
.site-main-header-wrap,
.site-header-row-container-inner {
  background: #fff !important;
  border-color: #eaf4ff !important;
  box-shadow: 0 8px 28px rgba(8, 102, 232, .06) !important;
  color: #10233f !important;
}

.site-title,
.site-title a,
.main-navigation .primary-menu-container > ul > li.menu-item > a,
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.entry-title a,
.wp-block-heading {
  color: #10233f !important;
}

p,
li,
.entry-content,
.entry-summary,
.wp-block-paragraph,
.wp-block-list {
  color: #334155 !important;
}

a,
.entry-content a {
  color: #0866e8 !important;
}

a:hover,
.entry-content a:hover {
  color: #0057d8 !important;
}

.wp-block-group,
.wp-block-columns,
.wp-block-kadence-column,
.kt-inside-inner-col,
.wp-block-kadence-infobox,
.kt-blocks-info-box-link-wrap,
.wp-block-latest-posts,
.wp-block-post-template,
.entry.loop-entry,
.ell-quiz__panel,
.entry-content .ell-answer {
  background: #fff !important;
  border-color: #d8e6f7 !important;
  box-shadow: 0 10px 30px rgba(16, 35, 63, .08) !important;
  color: #334155 !important;
}

button,
.button,
.wp-block-button__link,
input[type="submit"],
.ell-quiz button,
.entry-content .ell-answer summary {
  background: linear-gradient(135deg, #0866e8 0%, #0057d8 100%) !important;
  border-color: #0866e8 !important;
  color: #fff !important;
}

button:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
.ell-quiz button:hover {
  background: #0057d8 !important;
  border-color: #0057d8 !important;
  color: #fff !important;
}

input,
select,
textarea,
.ell-quiz input,
.ell-quiz select,
.ell-quiz textarea {
  background: #fff !important;
  border-color: #d8e6f7 !important;
  color: #10233f !important;
}

.site-footer,
.site-footer-wrap,
.site-bottom-footer-wrap,
.site-footer-row-container-inner {
  background: #062247 !important;
  color: #d8e6f7 !important;
}

.site-footer p,
.site-footer li {
  color: #d8e6f7 !important;
}

.site-footer a {
  color: #d8e6f7 !important;
}

.site-footer a:hover {
  color: #fff !important;
}

/* Keep Kadence's mobile drawer functional and readable in the light theme. */
#mobile-drawer.popup-drawer .drawer-inner,
#mobile-drawer .drawer-content,
.mobile-navigation,
.mobile-navigation .menu {
  background: #fff !important;
  color: #10233f !important;
}

#mobile-drawer .drawer-header,
#mobile-drawer .drawer-content {
  border-color: #d8e6f7 !important;
}

.mobile-navigation a,
.mobile-navigation .menu-item > a,
#mobile-drawer .menu-toggle-close {
  color: #10233f !important;
}

.mobile-navigation .current-menu-item > a,
.mobile-navigation a:hover,
.mobile-navigation a:focus-visible {
  background: #eaf4ff !important;
  color: #0057d8 !important;
}

.popup-drawer .drawer-overlay {
  background: rgba(16, 35, 63, .44) !important;
}

/* Avoid a second oversized hero before the page's own content section. */
.entry-hero,
.page-hero-section {
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.entry-hero-container-inner,
.page-hero-section .entry-hero-container-inner {
  min-height: 0 !important;
  padding-bottom: 1.35rem !important;
  padding-top: 1.35rem !important;
}

.entry-hero .entry-header,
.page-hero-section .entry-header {
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}
