/* ==========================================================================
   Dark / light theme
   --------------------------------------------------------------------------
   Purely additive: the light theme is the site exactly as it already is.
   Everything below only applies when <html data-theme="dark"> is set, so
   removing this file (and js/theme-toggle.js) restores the original site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. The toggle button
   -------------------------------------------------------------------------- */
.themeToggle {
  --tt-bg: #ffffff;
  --tt-border: #e4e6ec;
  --tt-icon: #20212b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--tt-border);
  border-radius: 50%;
  background: var(--tt-bg);
  color: var(--tt-icon);
  cursor: pointer;
  line-height: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.themeToggle:hover {
  transform: translateY(-2px);
  border-color: #08c2ff;
  color: #08c2ff;
}

.themeToggle:focus-visible {
  outline: 2px solid #08c2ff;
  outline-offset: 2px;
}

.themeToggle svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* only one of the two icons is ever shown */
.themeToggle .themeToggle__moon { display: none; }
html[data-theme="dark"] .themeToggle__sun { display: none; }
html[data-theme="dark"] .themeToggle__moon { display: block; }

/* slot: desktop header, sits next to the donate button */
.themeToggle--header { margin-right: 18px; }
.header__right--style2 { display: flex; align-items: center; }

/* slot: mobile header bar, sits next to the burger */
.themeToggle--mobile { width: 42px; height: 42px; }
.header__actions ul li .themeToggle--mobile { margin-right: 6px; }

/* fallback: floating, used only when no header slot is on screen */
.themeToggle--floating {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 998;
  width: 48px;
  height: 48px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.themeToggle[hidden] { display: none; }

/* the extra button has to fit in the phone bar on the pages that carry cart and search */
@media (max-width: 480px) {
  .mean-bar { gap: 10px; }
  .mean-bar .header__actions ul { flex-wrap: nowrap; }
  .mean-bar__logo { min-width: 0; max-width: 100px; }
}

html[data-theme="dark"] .themeToggle {
  --tt-bg: #37373d;
  --tt-border: #4c4c53;
  --tt-icon: #f0c66b;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .themeToggle:hover {
  border-color: #08c2ff;
  color: #08c2ff;
}

/* --------------------------------------------------------------------------
   2. Dark theme - page foundation
   -------------------------------------------------------------------------- */
html[data-theme="dark"] {
  color-scheme: dark;
  background-color: #2b2b30;
}

html[data-theme="dark"] body {
  background-color: #2b2b30;
}

/* page-level custom properties used by the per-page <style> blocks */
html[data-theme="dark"] {
  /* the brand blue doubles as link text and as a button fill, so it is lifted
     just far enough to read on a dark card while white still reads on it */
  --primary-color: #5f86ef;
  --primary-rgb: 95, 134, 239;
  --dark-color: #dfe2ea;
  --light-color: #313136;
  --brand: #5f86ef;
  --brand-dark: #4f74d8;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.55);
}

/* --------------------------------------------------------------------------
   3. Dark theme - mirrored from css/main.css
   -------------------------------------------------------------------------- */
html[data-theme="dark"] label {
  color: #c6c8cf;
}

html[data-theme="dark"] body {
  color: #c6c8cf;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
  color: #93abf3;
}

html[data-theme="dark"] .shadeBg {
  background-color: #313136;
}

html[data-theme="dark"] .bbb,
html[data-theme="dark"] .review__box {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .color-title {
  color: #dfe2ea;
}

html[data-theme="dark"] .gray-bg {
  background: #37373d;
}

html[data-theme="dark"] .innerWrapper {
  border: 1px solid #4c4c53;
  background-color: #37373d;
}

html[data-theme="dark"] .innerWrapperSidebar {
  border: 1px solid #4c4c53;
  background-color: #37373d;
}

html[data-theme="dark"] .ourHr {
  background-color: #313136;
}

html[data-theme="dark"] .template-search {
  background-color: #37373d;
}

html[data-theme="dark"] .template-search .close {
  box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] #preloader {
  background: #37373d;
}

html[data-theme="dark"] #preloader .spinner {
  border: 3px solid #4c4c53;
}

html[data-theme="dark"] #preloader .spinner:before {
  border: 6px solid #4c4c53;
}

html[data-theme="dark"] #preloader .round_spinner {
  border-color: #4c4c53;
  background-color: #37373d;
}

html[data-theme="dark"] #preloader p {
  color: #c6c8cf;
}

html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #313136;
}

html[data-theme="dark"] .main--wrapper4 {
  background-color: #37373d;
}

html[data-theme="dark"] .mainMenu > ul > li > a {
  color: #dfe2ea;
}

html[data-theme="dark"] .sticky-on.sticky .header__menu--style2 .mainMenu > ul > li > a {
  color: #93abf3;
}

html[data-theme="dark"] .dropdown .dropdown_menu > li {
  background-color: #37373d;
}

html[data-theme="dark"] .dropdown .dropdown_menu > li > a {
  border-top: 1px solid #4c4c53;
}

html[data-theme="dark"] .headerBurgerMenu .line {
  stroke: #dfe2ea;
}

html[data-theme="dark"] .offscreen-navigation .sub-menu li > a {
  color: #c6c8cf;
}

html[data-theme="dark"] .cc--slideNav {
  background: #37373d;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .mobile-menu-close {
  color: #dfe2ea;
}

html[data-theme="dark"] .cc--slideNav::-webkit-scrollbar-track {
  background: #313136;
}

html[data-theme="dark"] .cc-header-menu {
  background: #37373d;
}

html[data-theme="dark"] .header--styleTwo .header__actions ul li a,
html[data-theme="dark"] .header--styleThree .header__actions ul li a {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .header--styleTwo .header__actions ul li a svg path,
html[data-theme="dark"] .header--styleThree .header__actions ul li a svg path {
  fill: #dfe2ea;
}

html[data-theme="dark"] .header__actions--style2 ul li a {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .header__actions--style2 ul li a svg path {
  fill: #dfe2ea;
}

html[data-theme="dark"] .header.sticky-on.sticky {
  background-color: #37373d;
}

html[data-theme="dark"] .header--styleFour {
  background-color: #37373d;
}

html[data-theme="dark"] .hero__text {
  color: #dfe2ea;
}

html[data-theme="dark"] .hero--style2 .hero__title--small {
  color: #dfe2ea;
}

html[data-theme="dark"] .hero--style3 .hero__instaTitle {
  color: #dfe2ea;
}

html[data-theme="dark"] .hero-nav-btn {
  background: rgba(55, 55, 61, 0.9);
}

html[data-theme="dark"] .hero-nav-btn:hover {
  background: rgba(55, 55, 61, 1);
}

html[data-theme="dark"] .hero-nav-btn i {
  color: #dfe2ea;
}

html[data-theme="dark"] .charity-badge-logo {
  background-color: #37373d;
}

html[data-theme="dark"] .hero-charity-badge-container .charity-badge-logo {
  background-color: #37373d;
}

html[data-theme="dark"] .aboutContent__quote {
  color: #dfe2ea;
}

html[data-theme="dark"] .keyFeatureBox {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .feature--bg {
  background: #37373d;
}

html[data-theme="dark"] .keyFeatureBlock {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .keyFeatureBlock__icon {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .keyFeatureBlock__skill::after {
  background: #37373d;
}

html[data-theme="dark"] .keyFeatureBlock--style2,
html[data-theme="dark"] .keyFeatureBlock--style3 {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .keyFeatureBlock--style2 .keyFeatureBlock__link__dot,
html[data-theme="dark"] .keyFeatureBlock--style3 .keyFeatureBlock__link__dot {
  background: #313136;
}

html[data-theme="dark"] .keyFeatureBlock--style2:hover,
html[data-theme="dark"] .keyFeatureBlock--style3:hover {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .keyFeatureBlock--style3 .keyFeatureBlock__icon::before {
  background-color: #37373d;
}

html[data-theme="dark"] .keyFeatureBlock--style5 .keyFeatureBlock__link {
  color: #dfe2ea;
}

html[data-theme="dark"] .featureBlock__wrap,
html[data-theme="dark"] .featureBlock__donation {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .featureBlock__donation__text {
  color: #dfe2ea;
}

html[data-theme="dark"] .featureBlock__donation__line .skill-bars::before {
  background: #313136;
}

html[data-theme="dark"] .featureBlock__donation__line .skill-bars__line::after {
  background: #37373d;
}

html[data-theme="dark"] .featureBlock__eqn__title {
  color: #c6c8cf;
}

html[data-theme="dark"] .featureBlock__eqn__price {
  color: #dfe2ea;
}

html[data-theme="dark"] .mvvTabs__wrapper .tab-content {
  border: 1px solid #4c4c53;
  background-color: #37373d;
}

html[data-theme="dark"] .mvvTabs .nav-link {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .mvvTabs .nav-link.nav-link.active {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .featureTab .nav-tabs .nav-link {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .featureTab .nav-tabs .nav-link.active {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .featureTab__content .skill-bar--text span {
  background: #37373d;
  border: 1px solid #57575e;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .featureTab__content .skill-bar--text span::after {
  border-color: #57575e transparent transparent transparent;
}

html[data-theme="dark"] .reviewblock__author__image {
  background-color: #37373d;
  border: 4px solid #4c4c53;
}

html[data-theme="dark"] .footer__newsletter__input {
  background-color: #37373d;
  color: #dfe2ea;
}

html[data-theme="dark"] .sidebarCategories ul li a {
  border: 1px solid #4c4c53;
  color: #c6c8cf;
}

html[data-theme="dark"] .sidebarCategories ul li a:hover {
  border-color: #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .sidebarContacts input,
html[data-theme="dark"] .sidebarContacts textarea {
  border-bottom: 1px solid #4c4c53;
}

html[data-theme="dark"] .searchInput__box {
  border: 1px solid #4c4c53;
  color: #c6c8cf;
}

html[data-theme="dark"] .searchInput__box::-moz-placeholder {
  color: #c6c8cf;
}

html[data-theme="dark"] .searchInput__box:-ms-input-placeholder {
  color: #c6c8cf;
}

html[data-theme="dark"] .searchInput__box::placeholder {
  color: #c6c8cf;
}

html[data-theme="dark"] .blogBlockSmall--style2 .blogBlockSmall__heading {
  color: #c6c8cf;
}

html[data-theme="dark"] .blogBlockSmall--style2:hover .blogBlockSmall__heading a {
  color: #dfe2ea;
}

html[data-theme="dark"] .sidebarContact ul li {
  color: #c6c8cf;
}

html[data-theme="dark"] .sidebarContact ul li span {
  color: #dfe2ea;
}

html[data-theme="dark"] .sidebarTags ul li a,
html[data-theme="dark"] .blogDetails-tags ul li a {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .portfolioBlock__heading > a {
  background: linear-gradient(to bottom, #37373d 0%, #37373d 98%);
}

html[data-theme="dark"] .portfolioBlock--style2 .portfolioBlock__more {
  border: 2px solid #4c4c53;
}

html[data-theme="dark"] .portfolioBlock--style2 .portfolioBlock__more:hover {
  background: #37373d;
}

html[data-theme="dark"] .blogBlock__content {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .blogBlock__metaUser__name {
  color: #dfe2ea;
}

html[data-theme="dark"] .blogBlock__reactButton__count::after {
  color: #dfe2ea;
}

html[data-theme="dark"] .blogBlock__date i {
  color: #dfe2ea;
}

html[data-theme="dark"] .blogBlock--style4 .blogBlock__meta__text {
  color: #c6c8cf;
}

html[data-theme="dark"] .blogBlock--style4 .blogBlock__meta--style2 {
  border-top: 1px solid #4c4c53;
}

html[data-theme="dark"] .blogBlock--style4 .blogBlock__quotes {
  color: #dfe2ea;
  background-color: #313136;
}

html[data-theme="dark"] .blogDetails-share.itSocial ul li a {
  color: #dfe2ea;
}

html[data-theme="dark"] .blogDetails-share.itSocial ul li a.facebook {
  color: #70c1eb;
}

html[data-theme="dark"] .blogDetails-share.itSocial ul li a.instagram {
  color: #ea709a;
}

html[data-theme="dark"] .blogDetails-share.itSocial ul li a.linkedin {
  color: #70c1eb;
}

html[data-theme="dark"] .blogDetails-share.itSocial ul li a.pinterest {
  color: #eb7083;
}

html[data-theme="dark"] .blogDetails-socialTags {
  border-top: 1px solid #4c4c53;
  border-bottom: 1px solid #4c4c53;
}

html[data-theme="dark"] .commentsBlock__name {
  color: #dfe2ea;
}

html[data-theme="dark"] .commentsBlock__date {
  color: #c6c8cf;
}

html[data-theme="dark"] .commentsBlock__reply__link {
  color: #dfe2ea;
}

html[data-theme="dark"] .commentsPost__input input,
html[data-theme="dark"] .commentsPost__input textarea {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .commentsPost__input input::-moz-placeholder,
html[data-theme="dark"] .commentsPost__input textarea::-moz-placeholder {
  color: #c6c8cf;
}

html[data-theme="dark"] .commentsPost__input input:-ms-input-placeholder,
html[data-theme="dark"] .commentsPost__input textarea:-ms-input-placeholder {
  color: #c6c8cf;
}

html[data-theme="dark"] .commentsPost__input input::placeholder,
html[data-theme="dark"] .commentsPost__input textarea::placeholder {
  color: #c6c8cf;
}

html[data-theme="dark"] .sponsorsTitle__line {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .factBlock {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .factBlock__tag {
  color: #dfe2ea;
}

html[data-theme="dark"] .volunteerUser__profile ul {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .volunteerUser__profile ul li {
  border: 2px solid #4c4c53;
}

html[data-theme="dark"] .volunteerBlock__figure {
  background-color: #37373d;
}

html[data-theme="dark"] .liveDonation {
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
  background: #37373d;
}

html[data-theme="dark"] .liveDonation .liveDonationTitle__small {
  color: #dfe2ea;
}

html[data-theme="dark"] .donationDetails__warning p {
  border-top: 1px solid #4c4c53;
  border-bottom: 1px solid #4c4c53;
}

html[data-theme="dark"] .donationDetails__warning p span {
  color: #dfe2ea;
}

html[data-theme="dark"] .donationDetails__cross {
  border-top: 1px solid #4c4c53;
  border-bottom: 1px solid #4c4c53;
}

html[data-theme="dark"] .payments__label {
  color: #70adeb;
}

html[data-theme="dark"] .payments__label__check {
  background-color: #313136;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .payments__label__check::before {
  background-color: #37373d;
}

html[data-theme="dark"] .paymentsCustoms__field {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
  color: #dfe2ea;
}

html[data-theme="dark"] .paymentsCustoms__field::-moz-placeholder {
  color: #dfe2ea;
}

html[data-theme="dark"] .paymentsCustoms__field:-ms-input-placeholder {
  color: #dfe2ea;
}

html[data-theme="dark"] .paymentsCustoms__field::placeholder {
  color: #dfe2ea;
}

html[data-theme="dark"] .paymentsAmountChoice__label {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .payments__input:checked + .paymentsAmountChoice__label {
  border-color: #4c4c53;
  background-color: #37373d;
}

html[data-theme="dark"] .video {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .storiesBlock {
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .storiesBlock__meta__postUser {
  color: #dfe2ea;
}

html[data-theme="dark"] .storiesBlock__meta__postUserName {
  color: #c6c8cf;
}

html[data-theme="dark"] .storiesBlock__detailsLink {
  color: #dfe2ea;
}

html[data-theme="dark"] .storiesDetails__text--first::first-letter {
  color: #93abf3;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
  background-color: #37373d;
}

html[data-theme="dark"] .eventsBlock {
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .eventsBlock__detailsLink {
  color: #dfe2ea;
}

html[data-theme="dark"] .eventAddress {
  background-color: #313136;
}

html[data-theme="dark"] .shopFilter__tab {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .product-result {
  color: #dfe2ea;
}

html[data-theme="dark"] .productBlock {
  border: 1px solid #4c4c53;
  background-color: #37373d;
}

html[data-theme="dark"] .productBlock__name {
  color: #dfe2ea;
}

html[data-theme="dark"] .productBlock__content__hover::before {
  background-color: #37373d;
}

html[data-theme="dark"] .productBlock__price {
  color: #c6c8cf;
  color: #eb7079;
}

html[data-theme="dark"] .productBlock__actions button {
  background-color: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .productBlock--style2 .productBlock__price {
  color: #eb7079;
}

html[data-theme="dark"] .tooltip-inner {
  background-color: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .bs-tooltip-top .tooltip-arrow::before,
html[data-theme="dark"] .bs-tooltip-auto[x-placement^="top"] .tooltip-arrow::before {
  border-top-color: #4c4c53;
}

html[data-theme="dark"] .bs-tooltip-bottom .tooltip-arrow::before,
html[data-theme="dark"] .bs-tooltip-auto[x-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: #4c4c53;
}

html[data-theme="dark"] .productImages-gallery__main {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .productImages-gallery__small {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .productDetails-block__rating ul li span {
  color: #dfe2ea;
}

html[data-theme="dark"] .productDetails-block__price > span {
  color: #dfe2ea;
}

html[data-theme="dark"] .productDetails-block__title {
  color: #dfe2ea;
}

html[data-theme="dark"] .productDetails-block__model__single label {
  color: #c6c8cf;
  background-color: #313136;
}

html[data-theme="dark"] .productDetails-block__quantity [data-dir="dwn"] {
  color: #c6c8cf;
}

html[data-theme="dark"] .btn--icon {
  background: #37373d;
  border: 1px solid #4c4c53;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .btn--icon .btn__icon {
  color: #c6c8cf;
}

html[data-theme="dark"] .itSocial--sidebar ul li a {
  color: #c6c8cf;
}

html[data-theme="dark"] .itSocial--volunteer ul li a {
  color: #c6c8cf;
}

html[data-theme="dark"] .sliderNav--style2 .sliderNav__btn {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .sliderNav--style2 .sliderNav__btn svg path {
  fill: #dfe2ea;
}

html[data-theme="dark"] .contactBlock {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .contactBlock a {
  color: #c6c8cf;
}

html[data-theme="dark"] .commentsPost--style2 {
  border: 1px solid #4c4c53;
  background-color: #37373d;
}

html[data-theme="dark"] .ccFaqBlock .accordion .accordion-button.collapsed {
  color: #dfe2ea;
  border-bottom: 1px solid #4c4c53;
}

html[data-theme="dark"] .ccFaqBlock .accordion .accordion-body {
  color: #c6c8cf;
  border-bottom: 1px solid #4c4c53;
}

html[data-theme="dark"] .paginationBlock > nav > ul .page-item--prev .page-link,
html[data-theme="dark"] .paginationBlock > nav > ul .page-item--next .page-link {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .paginationBlock__number {
  background: #37373d;
}

html[data-theme="dark"] .paginationBlock__number > ul .page-item .page-link {
  color: #c6c8cf;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .paginationBlock__number > ul .page-item .page-link:hover {
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.55);
}

/* --------------------------------------------------------------------------
   4. Dark theme - mirrored from the per-page <style> blocks
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
  html[data-theme="dark"] .header__menu {
    background: #37373d;
  }
}

html[data-theme="dark"] .service-card {
  background: #37373d;
}

html[data-theme="dark"] .timeline > li .timeline-panel {
  background: #37373d;
}

html[data-theme="dark"] .stat-item {
  background: #37373d;
}

html[data-theme="dark"] .floating-label input,
html[data-theme="dark"] .floating-label textarea {
  border: 1px solid #4c4c53;
  background: #37373d;
}

html[data-theme="dark"] .floating-label input:focus,
html[data-theme="dark"] .floating-label textarea:focus {
  background: #37373d;
}

html[data-theme="dark"] .floating-label input:focus ~ label,
html[data-theme="dark"] .floating-label input:not(:placeholder-shown) ~ label,
html[data-theme="dark"] .floating-label textarea:focus ~ label,
html[data-theme="dark"] .floating-label textarea:not(:placeholder-shown) ~ label {
  background: #37373d;
}

html[data-theme="dark"] .custom-accordion .accordion-button {
  background-color: #37373d;
}

html[data-theme="dark"] .custom-accordion .accordion-body {
  background-color: #37373d;
}

html[data-theme="dark"] .blog-card__date {
  color: #c6c8cf;
}

html[data-theme="dark"] .blog-card__excerpt {
  color: #c6c8cf;
}

html[data-theme="dark"] .charity-badge-logo {
  background-color: #37373d;
}

html[data-theme="dark"] .volunteer-card {
  background: #37373d;
}

@media screen and (max-width: 768px) {
  html[data-theme="dark"] .impact-title,
  html[data-theme="dark"] .impact-text,
  html[data-theme="dark"] .stat-item p,
  html[data-theme="dark"] .stat-item h3 {
    color: #9db6f5 !important;
  }
}

html[data-theme="dark"] .line {
  stroke: #9db6f5;
}

html[data-theme="dark"] .hero-charity-badge-container .charity-badge-logo {
  background-color: #37373d;
}

@media screen and (max-width: 768px) {
  html[data-theme="dark"] .impact-title,
  html[data-theme="dark"] .impact-text,
  html[data-theme="dark"] .stat-item p,
  html[data-theme="dark"] .stat-item h3 {
    color: #9db6f5 !important;
  }
}

html[data-theme="dark"] .line {
  stroke: #9db6f5;
}

html[data-theme="dark"] .cc {
  background: linear-gradient(135deg, #37373d 0%, #37373d 100%);
}

html[data-theme="dark"] .cc__logo {
  border-bottom: 2px solid #4c4c53;
}

html[data-theme="dark"] .menu-item-parent > a {
  color: #dfe2ea;
}

html[data-theme="dark"] .menu-item-parent > a:hover {
  color: #9db6f5;
}

html[data-theme="dark"] .sub-menu a {
  color: #c6c8cf;
}

html[data-theme="dark"] .sub-menu a:hover {
  background: #37373d;
  color: #9db6f5;
}

html[data-theme="dark"] .itSocial--sidebar a {
  color: #c6c8cf;
  background: #37373d;
  border: 2px solid #4c4c53;
}

html[data-theme="dark"] .itSocial--sidebar a:hover {
  color: #9db6f5;
  background: #37373d;
}

html[data-theme="dark"] .itSocial--sidebar .facebook:hover {
  color: #88a1d3;
}

html[data-theme="dark"] .itSocial--sidebar .twitter:hover {
  color: #eb7070;
}

html[data-theme="dark"] .itSocial--sidebar .instagram:hover {
  color: #eb7087;
}

html[data-theme="dark"] .itSocial--sidebar .linkedin:hover {
  color: #70c1eb;
}

html[data-theme="dark"] .impact-card {
  background: #37373d;
}

html[data-theme="dark"] .impact-title {
  color: #96adc5;
}

html[data-theme="dark"] .impact-text {
  color: #c6c8cf;
}

html[data-theme="dark"] .impact-badge-corner {
  background: rgba(55, 55, 61, 0.9);
  color: #dfe2ea;
}

html[data-theme="dark"] .youth-card .impact-badge {
  background: #313136;
}

html[data-theme="dark"] .elder-card .impact-badge {
  background: #313136;
  color: #eb8670;
}

html[data-theme="dark"] .community-card .impact-badge {
  background: #313136;
  color: #8ccf8f;
}

html[data-theme="dark"] .career-card-wrap {
  border: 1px solid #4c4c53;
  background: #37373d;
}

html[data-theme="dark"] .career-card-wrap:hover {
  border-color: #4c4c53;
}

html[data-theme="dark"] .career-card-thumb {
  background: #37373d;
}

html[data-theme="dark"] .career-card-body h3 a {
  color: #78e29c;
}

html[data-theme="dark"] .career-card-body h3 a:hover {
  color: #70eba7;
}

html[data-theme="dark"] .career-meta {
  color: #94c7a8;
}

html[data-theme="dark"] .career-meta span i {
  color: #70eba7;
}

html[data-theme="dark"] .career-tag {
  background: #313136;
  color: #70eb9f;
}

html[data-theme="dark"] .career-experience {
  background: #313136;
  color: #86d5a0;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .career-experience i {
  color: #70eba7;
}

html[data-theme="dark"] .featureTab .nav-link {
  color: #97c497;
  background: #313136;
}

html[data-theme="dark"] .featureTab .nav-link:hover {
  background: #313136;
}

html[data-theme="dark"] .sectionTitle__big {
  color: #70eba0;
}

html[data-theme="dark"] .sectionTitle__small i {
  color: #70eba7;
}

html[data-theme="dark"] .apply-modal-box {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .apply-modal-box .close-modal {
  color: #86d5a0;
}

html[data-theme="dark"] .apply-modal-box .close-modal:hover {
  color: #70eb9f;
}

html[data-theme="dark"] .apply-modal-box h3 {
  color: #70eba0;
}

html[data-theme="dark"] .apply-modal-box p {
  color: #94c7a8;
}

html[data-theme="dark"] .apply-modal-box .form-control {
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .apply-modal-box .job-title-badge {
  background: #313136;
  color: #70eb9f;
}

html[data-theme="dark"] .green-title {
  color: #70eba0;
}

html[data-theme="dark"] .text-green {
  color: #70eb9f;
}

html[data-theme="dark"] .location-note {
  background: #313136;
  color: #86d5a0;
}

html[data-theme="dark"] .location-note i {
  color: #70eba7;
}

html[data-theme="dark"] .way-card {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .cta-band {
  background: #313136;
}

html[data-theme="dark"] .way-card {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .big-social {
  background: #37373d;
  border: 1px solid #4c4c53;
  color: #dfe2ea;
}

html[data-theme="dark"] .cta-band {
  background: #313136;
}

html[data-theme="dark"] .sectionTitle__big {
  color: #70eba0;
}

html[data-theme="dark"] .sectionTitle__small i {
  color: #70eba7;
}

html[data-theme="dark"] .volunteer-form-wrap {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .volunteer-form-wrap h3 {
  color: #70eba0;
}

html[data-theme="dark"] .volunteer-form-wrap .sub-text {
  color: #dfe2ea;
}

html[data-theme="dark"] .volunteer-form-wrap .form-control {
  border: 1px solid #4c4c53;
  background: #37373d;
}

html[data-theme="dark"] .volunteer-form-wrap .form-control:focus {
  background: #37373d;
}

html[data-theme="dark"] .volunteer-form-wrap .form-label {
  color: #8eccad;
}

html[data-theme="dark"] .volunteer-form-wrap .form-select {
  border: 1px solid #4c4c53;
  background: #37373d;
}

html[data-theme="dark"] .volunteer-form-wrap .file-input-wrap {
  border: 2px dashed #4c4c53;
  background: #37373d;
}

html[data-theme="dark"] .volunteer-form-wrap .file-input-wrap:hover {
  background: #313136;
}

html[data-theme="dark"] .volunteer-form-wrap .file-input-wrap i {
  color: #70eba7;
}

html[data-theme="dark"] .volunteer-form-wrap .file-input-wrap p {
  color: #dfe2ea;
}

html[data-theme="dark"] .volunteer-form-wrap .file-input-wrap .file-name {
  color: #70eba0;
}

html[data-theme="dark"] .volunteer-form-wrap .form-check-label {
  color: #dfe2ea;
}

html[data-theme="dark"] .volunteer-benefits {
  background: #37373d;
  border: 1px solid #4c4c53;
}

html[data-theme="dark"] .volunteer-benefits h4 {
  color: #70eba0;
}

html[data-theme="dark"] .volunteer-benefits ul li {
  border-bottom: 1px solid #4c4c53;
  color: #94c7a8;
}

html[data-theme="dark"] .volunteer-benefits ul li i {
  color: #70eba7;
}

html[data-theme="dark"] .volunteer-testimonial {
  background: #37373d;
}

html[data-theme="dark"] .volunteer-testimonial p {
  color: #94c7a8;
}

html[data-theme="dark"] .volunteer-testimonial strong {
  color: #70eba0;
}

html[data-theme="dark"] .text-green {
  color: #70eb9f;
}

html[data-theme="dark"] .text-muted-dark {
  color: #dfe2ea;
}

html[data-theme="dark"] .required-star {
  color: #e27c79;
}

/* --------------------------------------------------------------------------
   5. Dark theme - inline style="" attributes, which outrank any stylesheet
   (generated from the exact declarations present in the pages)
   -------------------------------------------------------------------------- */

html[data-theme="dark"] [style*="color: #0051ff"],
html[data-theme="dark"] [style*="color:#0051ff"] {
  color: #9db6f5 !important;
}

html[data-theme="dark"] [style*="color: #0055ff"],
html[data-theme="dark"] [style*="color:#0055ff"] {
  color: #7099eb !important;
}

html[data-theme="dark"] [style*="background-color: #fff"],
html[data-theme="dark"] [style*="background: #FFF8E1"],
html[data-theme="dark"] [style*="background: #f8f9fa"],
html[data-theme="dark"] [style*="background: #fff"],
html[data-theme="dark"] [style*="background: white"],
html[data-theme="dark"] [style*="background:#f5faf7"],
html[data-theme="dark"] [style*="background:#f8faff"],
html[data-theme="dark"] [style*="background:#fff"] {
  background-color: #37373d !important;
}

html[data-theme="dark"] [style*="border-color:#e0ede5 !important"],
html[data-theme="dark"] [style*="border-left: 5px solid #FFD93D"],
html[data-theme="dark"] [style*="border: 2px solid #e1e1e1"],
html[data-theme="dark"] [style*="border:1px solid #e6ecff"] {
  border-color: #4c4c53 !important;
}

html[data-theme="dark"] [style*="color: #555"],
html[data-theme="dark"] [style*="color:#555"] {
  color: #dfe2ea !important;
}

html[data-theme="dark"] [style*="background: #E3F2FD"],
html[data-theme="dark"] [style*="background: #E5F9F7"],
html[data-theme="dark"] [style*="background: #E8F5E9"],
html[data-theme="dark"] [style*="background: #FFE5E5"],
html[data-theme="dark"] [style*="background: #FFF3E0"] {
  background-color: #313136 !important;
}

html[data-theme="dark"] [style*="color: #2C3E50"] {
  color: #96adc5 !important;
}

html[data-theme="dark"] [style*="color: #43A047"] {
  color: #8ccf8f !important;
}

html[data-theme="dark"] [style*="color: #6C5CE7"] {
  color: #7f71ea !important;
}

html[data-theme="dark"] [style*="color: #FF5733"] {
  color: #eb8670 !important;
}

html[data-theme="dark"] [style*="color: #28a745"] {
  color: #7bdf92 !important;
}

html[data-theme="dark"] [style*="color: #1976D2"] {
  color: #70aeeb !important;
}

html[data-theme="dark"] [style*="color:#1a4a2a"] {
  color: #86d5a0 !important;
}

html[data-theme="dark"] [style*="color:#666"],
html[data-theme="dark"] [style*="color:#6c8a7a"] {
  color: #c6c8cf !important;
}

/* --------------------------------------------------------------------------
   5. Dark theme - surfaces the generated rules cannot reach
   (Bootstrap, the nice-select plugin, and inline style="" attributes)
   -------------------------------------------------------------------------- */

/* the page canvas sits behind every card, so it stays darker than a card */
html[data-theme="dark"] .main,
html[data-theme="dark"] .main--wrapper4,
html[data-theme="dark"] #preloader {
  background-color: #2b2b30;
}

html[data-theme="dark"] hr {
  border-color: #4c4c53;
  background-color: #4c4c53;
}

/* keep partner / regulator badges on a light plate - their artwork is dark */
html[data-theme="dark"] .charity-badge-logo,
html[data-theme="dark"] .hero-charity-badge-container .charity-badge-logo {
  background-color: #ffffff;
}

/* Bootstrap surfaces */
html[data-theme="dark"] .card {
  background-color: #37373d;
  border-color: #4c4c53;
  color: #dfe2ea;
}

html[data-theme="dark"] .card-header,
html[data-theme="dark"] .card-footer {
  background-color: #313136;
  border-color: #4c4c53;
}

html[data-theme="dark"] .bg-white {
  background-color: #37373d !important;
}

html[data-theme="dark"] .text-muted {
  color: #c6c8cf !important;
}

html[data-theme="dark"] .modal-content {
  background-color: #37373d;
  color: #dfe2ea;
}

html[data-theme="dark"] .modal-header,
html[data-theme="dark"] .modal-footer {
  border-color: #4c4c53;
}

html[data-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

html[data-theme="dark"] .alert {
  background-color: #313136;
  border-color: #4c4c53;
  color: #dfe2ea;
}

html[data-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-color: #dfe2ea;
  color: #dfe2ea;
  border-color: #4c4c53;
}

html[data-theme="dark"] .accordion,
html[data-theme="dark"] .accordion-item {
  background-color: transparent;
  border-color: #4c4c53;
}

html[data-theme="dark"] .accordion-button,
html[data-theme="dark"] .accordion-body {
  background-color: #37373d;
  color: #dfe2ea;
}

html[data-theme="dark"] .accordion-button:not(.collapsed) {
  background-color: #232732;
  color: #dfe2ea;
}

html[data-theme="dark"] .accordion-button::after {
  filter: invert(1) brightness(1.6);
}

/* form controls */
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="tel"],
html[data-theme="dark"] input[type="url"],
html[data-theme="dark"] input[type="number"],
html[data-theme="dark"] input[type="search"],
html[data-theme="dark"] input[type="password"],
html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background-color: #313136;
  border-color: #4c4c53;
  color: #dfe2ea;
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus {
  background-color: #37373d;
  border-color: #08c2ff;
  color: #dfe2ea;
  box-shadow: 0 0 0 0.2rem rgba(8, 194, 255, 0.15);
}

html[data-theme="dark"] input::-moz-placeholder,
html[data-theme="dark"] textarea::-moz-placeholder { color: #b6b8c0; }
html[data-theme="dark"] input:-ms-input-placeholder,
html[data-theme="dark"] textarea:-ms-input-placeholder { color: #b6b8c0; }
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #b6b8c0; }

html[data-theme="dark"] option {
  background-color: #37373d;
  color: #dfe2ea;
}

html[data-theme="dark"] .form-check-input {
  background-color: #313136;
  border-color: #4c4c53;
}

html[data-theme="dark"] .form-label,
html[data-theme="dark"] .form-text {
  color: #c6c8cf;
}

/* nice-select plugin */
html[data-theme="dark"] .nice-select,
html[data-theme="dark"] .nice-select .list {
  background-color: #37373d;
  border-color: #4c4c53;
  color: #dfe2ea;
}

html[data-theme="dark"] .nice-select .option:hover,
html[data-theme="dark"] .nice-select .option.focus,
html[data-theme="dark"] .nice-select .option.selected.focus {
  background-color: #262a35;
}

html[data-theme="dark"] .nice-select::after {
  border-color: #c6c8cf;
}

/* Bootstrap utilities that carry !important, so they need it back to win */
html[data-theme="dark"] .bg-light {
  background-color: #313136 !important;
}

html[data-theme="dark"] .bg-body,
html[data-theme="dark"] .bg-body-tertiary {
  background-color: #2b2b30 !important;
}

html[data-theme="dark"] .text-secondary,
html[data-theme="dark"] .text-body-secondary {
  color: #c6c8cf !important;
}

html[data-theme="dark"] .border,
html[data-theme="dark"] .border-top,
html[data-theme="dark"] .border-bottom,
html[data-theme="dark"] .border-start,
html[data-theme="dark"] .border-end {
  border-color: #4c4c53 !important;
}

html[data-theme="dark"] .card-body {
  background-color: transparent;
  color: #dfe2ea;
}

html[data-theme="dark"] .btn-light {
  background-color: #232730;
  border-color: #4c4c53;
  color: #dfe2ea;
}

/* The main menu overlays a photographic hero/banner in both themes, so its
   links stay white - the generic dark-ink rule must not reach them. */
html[data-theme="dark"] .header__menu--style2 .mainMenu > ul > li > a {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Dark theme - site footer
   -------------------------------------------------------------------------- */
html[data-theme="dark"] .footer--bg {
  background-color: #252529;
}

/* --------------------------------------------------------------------------
   Dark theme - cards and sections styled in the page <style> blocks
   -------------------------------------------------------------------------- */
html[data-theme="dark"] .objective-card,
html[data-theme="dark"] .vision-story,
html[data-theme="dark"] .get-in-touch-card {
  background: #37373d;
  border-color: #4c4c53;
}

html[data-theme="dark"] .get-in-touch-card__image {
  background: #313136;
}

html[data-theme="dark"] .objective-card__text,
html[data-theme="dark"] .vision-story p,
html[data-theme="dark"] .get-in-touch-card__text {
  color: #c6c8cf;
}

html[data-theme="dark"] .objective-card__title,
html[data-theme="dark"] .vision-story strong,
html[data-theme="dark"] .get-in-touch-card__heading {
  color: #dfe2ea;
}

/* these colours are set inline, so only !important can reach them */
html[data-theme="dark"] section[style*="background: #f9fcfa"] {
  background: #2b2b30 !important;
}

html[data-theme="dark"] div[style*="background:#fff"],
html[data-theme="dark"] div[style*="background-color: #fff"],
html[data-theme="dark"] button.nav-link[style] {
  background: #37373d !important;
  border-color: #4c4c53 !important;
}

html[data-theme="dark"] .factBlock span,
html[data-theme="dark"] main a[style*="color"],
html[data-theme="dark"] .about a:not(.btn):not(.it-btn) {
  color: #93abf3 !important;
}

html[data-theme="dark"] .contactBlock__content a {
  color: #c6c8cf;
}

/* --------------------------------------------------------------------------
   Readability: colours the page styles set that do not survive a dark page.
   Everything here applies to the dark theme only, so light stays as it was.
   -------------------------------------------------------------------------- */
html[data-theme="dark"] .mainMenu > ul > li > a,
html[data-theme="dark"] .header__menu--style2 .mainMenu > ul > li > a,
html[data-theme="dark"] .sticky-on.sticky .header__menu--style2 .mainMenu > ul > li > a {
  color: #dfe2ea !important;
}

html[data-theme="dark"] .mainMenu > ul > li:hover > a,
html[data-theme="dark"] .mainMenu > ul > li.current > a,
html[data-theme="dark"] .header__menu--style2 .mainMenu > ul > li:hover > a,
html[data-theme="dark"] .header__menu--style2 .mainMenu > ul > li.current > a {
  color: #7fd4f7 !important;
}

html[data-theme="dark"] .pageBreadcumb h1,
html[data-theme="dark"] .pageBreadcumb h2,
html[data-theme="dark"] .pageBreadcumb .breadcrumb-item,
html[data-theme="dark"] .pageBreadcumb .breadcrumb-item a {
  color: #fff !important;
}

/* #0051ff was the template's text blue, set inline all over the older pages */
html[data-theme="dark"] [style*="color: #0051ff"]:not([style*="background"]),
html[data-theme="dark"] [style*="color:#0051ff"]:not([style*="background"]),
html[data-theme="dark"] .text-primary,
html[data-theme="dark"] .subtitle,
html[data-theme="dark"] a.text-decoration-none {
  color: #9db6f5 !important;
}

html[data-theme="dark"] .aboutDetailsText strong {
  color: #4fd07a !important;
}

html[data-theme="dark"] .required-star {
  color: #f0a5a2;
}

/* the bright fills only work with dark text, so they are deepened behind the white */
html[data-theme="dark"] .btn--styleOne.btn--primary,
html[data-theme="dark"] .btn--styleOne.btn--secondary:hover,
html[data-theme="dark"] .it-btn__inner,
html[data-theme="dark"] .btn--secondary .it-btn__blob {
  background-color: #0675a0 !important;
}

html[data-theme="dark"] .btn--styleOne.btn--secondary,
html[data-theme="dark"] .btn--styleOne.btn--primary:hover,
html[data-theme="dark"] .btn--secondary .it-btn__inner,
html[data-theme="dark"] .it-btn__blob {
  background-color: #557a1f !important;
}

html[data-theme="dark"] .career-apply-btn,
html[data-theme="dark"] .btn-submit {
  background: #0b7d3e !important;
  color: #fff !important;
}

/* the dark theme's blanket link colour above would otherwise win over the button's */
html[data-theme="dark"] .about a.career-apply-btn:not(.btn):not(.it-btn) {
  color: #fff !important;
}

html[data-theme="dark"] .btn-outline-primary {
  border-color: #9db6f5 !important;
  color: #9db6f5 !important;
}

html[data-theme="dark"] .btn-outline-primary:hover {
  background-color: #3f66d4 !important;
  color: #fff !important;
}

/* the count on the donation pages' cart icon */
html[data-theme="dark"] .header__actions--style2 span {
  color: #06222e !important;
}

html[data-theme="dark"] .step-number,
html[data-theme="dark"] .step-num,
html[data-theme="dark"] .btn-brand {
  background-color: #3f66d4 !important;
  color: #fff !important;
}

html[data-theme="dark"] .btn-outline-brand {
  border-color: #9db6f5 !important;
  color: #9db6f5 !important;
}

html[data-theme="dark"] span[style*="background: #FFB302"] {
  color: #20212b !important;
}

/* trial.html's service cards had no dark version */
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .service-card__content {
  background-color: #37373d !important;
}
