/* ---------- */
/* 1. General */

#firstHeading {
  display: none !important;
}

#mw-content-text h3 {
  padding: .24em 0 !important;
  color: #333;
  margin-top: 1.1em;
  margin-bottom: 0.9em;
  font-size: 17px;
  font-weight: bold;
  border: none;
}

.sections-wrapper h2 {
  font-size: 30px !important;
  text-align: center;
  border-bottom: none;
  margin: 30px 0 25px !important;
  overflow: visible;
}

.sections-wrapper h2 a {
  font-size: inherit !important;
}

.sections-wrapper p, .sections-wrapper a, .sections-wrapper span {
  font-size: 17px !important;
}

.inner-wrapper {
  margin-left: auto;
  margin-right: auto;
}

.image-wrapper {
  display: block;
  width: 100%;
  position: relative;
}

.image-wrapper img.image {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: contain;
}

.image-wrapper img.image-cover {
  object-fit: cover;
}

.section-download .image-wrapper {
  padding-top: 100%;
}

.section-features .image-wrapper,
.section-values .image-wrapper,
.section-upcoming .image-wrapper {
  padding-top: 70%;
}

.section-features .image-wrapper,
.section-values .image-wrapper {
  display: block;
  width: calc(100% + 36px);
  margin: -10px 0 0 -18px;
}

/* 1.0. All sections */

.sections-wrapper > div[class*="section-"] > :first-child {
  margin-top: 20px;
}

/* 1.1. Dark Section */

.dark-section {
  background: #273445;
  color: white;
  text-align: center;
  padding: 1px 0 31px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw + 8px);
  margin-top: 10px;
  margin-bottom: 0px;
}

.dark-section > .inner-wrapper {
  max-width: 960px;
}

.dark-section > .inner-wrapper > h2, .dark-section > .inner-wrapper > p {
  color: white !important;
}

.dark-section a:not(.mw-collapsible-text):not(.tcc-tab) {
  color: #0097F5 !important;
  text-shadow: 0px 0px 3px black, 0px 0px 3px black, 0px 0px 3px black;
}

.dark-section p {
  color: white !important;
}

/* 1.2. Share Tooltip Modifications  */

:not(#custom-footer .main-claim .headline) > .share-tooltip .button {
  width: 1em !important;
  height: 1em !important;
  padding-bottom: .2em !important;
  margin-bottom: -.3em !important;
}

.dark-section .share-tooltip .button, .dark-section a.share-tooltip:not(.fully-enriched) {
  filter: brightness( 2 );
  margin-left: 8px;
}

.sections-wrapper > :not(.dark-section) .share-tooltip .button, .sections-wrapper > :not(.dark-section) a.share-tooltip:not(.fully-enriched) {
  filter: sepia(1) hue-rotate(169deg) saturate(4) brightness(0.85);
  margin-left: 8px;
}

/* 1.3. Col Container Modifications */

@media (max-width: 640px) {
  .col-container.cc-5 > * {
    flex: 0 0 23% !important;
  }
}

@media (max-width: 450px) {
  .col-container.cc-5 > * {
    flex: 0 0 31% !important;
  }
}

.section-download .col-container > div {
  width: 15%;
  margin: .7%;
}

.section-download .col-container > div a {
  background: rgb(0 0 0 / 20%);
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  text-decoration: none;
  transition: transform .3s;
  padding: 30px 10px 10px 10px;
  position: relative;
  overflow: hidden;
}

.section-download .col-container > div a:hover {
  transform: scale(1.1);
}

.section-download .col-container > div a span {
  display: block;
  margin-top: 10px;
  color: white;
  text-align: center;
}

@media (max-width: 900px) {
  .section-download .col-container > div {
    width: 23%;
  }
  .section-download .col-container > div i {
    height: 120px;
  }
}

@media (max-width: 700px) {
  .section-download .col-container > div {
    width: 31%;
  }
  .section-download .col-container > div i {
    height: 105px;
  }
}

@media (max-width: 420px) {
  .section-download .col-container > div {
    width: 48%;
  }
  .section-download .col-container > div i {
    height: 90px;
  }
}

/* 1.4. mw-collapsible Modifications */

.mw-collapsible {
  padding: 0 !important;
}

.mw-collapsible .mw-collapsible-toggle {
  margin: 14px 0 0 7px !important;
}

.mw-collapsible .mw-collapsible-toggle.mw-collapsible-toggle-expanded,
.mw-collapsible .mw-collapsible-toggle.mw-collapsible-toggle-expanded + h3 {
  display: none;
}

.mw-collapsible > h3 {
  background-color: #f7f7f7 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px;
  position: relative;
  top: -6px;
  line-height: 32px;
    padding-top: 3px;
    text-align: center;
}

.dark-section .mw-collapsible > h3 {
  color: white !important;
  background-color: rgb( 0 0 0 / 20% ) !important;
  border-color: rgb( 0 0 0 / 20% ) !important;
}

/* 1.5. Section Modal */

.section-modal .content {
  background: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 3px 3px 7px rgb(0 0 0 / 30%)
}

.section-modal .content p {
    text-align: center;
    font-size: 17px !important;
}

.section-modal .content img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}

/* 1.6. card wrappers */

.card-wrapper {
  user-select: text;
  display: block;
  cursor: pointer;
  outline: none;
  border: 2px solid transparent;
  transition: transform .3s;
}

.card-wrapper:hover {
  transform: scale(1.05);
}

.section-features .card-wrapper,
.section-values .card-wrapper {
  background: white;
  border-radius: 15px;
  padding: 10px 18px;
  box-shadow: 1px 1px 4px rgb(0 0 0 / 10%);
  overflow: hidden;
  position: relative;
  display: block;
}

.section-features .card-wrapper:focus,
.section-values .card-wrapper:focus {
  border-color: #326eb5;
}

.section-features .card-wrapper.hash-target {
  background-color: #feffe9;
}

.card-wrapper a {
  text-decoration: none !important;
  color: #333 !important;
}

.card-wrapper p > a:not(.archive-link):after {
  content: ' ';
  background-image: url('/w/images/a/af/External-link.png');
  display: inline-block;
  width: 12px;
  height: 12px;
  background-size: contain;
  margin-left: 5px;
  filter: brightness(.7);
}

.dark-section .card-wrapper p > a:not(.archive-link):after {
  filter: brightness(2);
}

.card-wrapper p > a.archive-link > img {
  vertical-align: top;
  position: relative;
  left: 8px;
  top: 7px;
  height: 13px;
  width: 13px;
  transition: transform .2s;
}

.card-wrapper p > a.archive-link > img:hover {
  transform: scale(1.5);
}

.card-wrapper p.section-modal-content-hidden {
  display: none;
}


/* 1.7. Splide Slider styling */

.splide {
  background: #eee;
  padding: 5px 9px 11px;
  border-radius: 15px;
  margin: 15px 13px;
  border: 1px solid #ddd;
}

.dark-section .splide {
  background: #555;
  border: 1px solid #777;
}

.splide .splide__list {
  list-style: none;
}

.splide .splide__slide {
  margin: 3px 2px 0;
  cursor: pointer;
}

.splide .splide__slide .card-wrapper {
  border-radius: 10px;
  padding: 5px;
  transition: transform .3s;
}

.splide .splide__slide:hover {
  z-index: 10;
}

.splide .splide__slide:hover .card-wrapper {
  background-color: #eee !important;
  transform: scale(1.1);
}

.dark-section .splide .splide__slide:hover .card-wrapper {
  background-color: #444 !important;
}

.splide .splide__slide.is-active .card-wrapper {
  border-color: #555;
}

.dark-section .splide .splide__slide.is-active .card-wrapper {
  border-color: #777;
}

.splide .splide__slide .card-wrapper {
  height: 100%
}

.splide .splide__arrows {
  position: absolute;
  bottom: 27px;
  width: 100%;
  left: 0;
}

.splide .splide__arrow {
  opacity: 1;
  background-color: #737e80;
}

.splide .splide__arrow svg {
  fill: #e5eeee;
}

.splide .splide__controls {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 10px 36px 0 68px;
  min-height: 32px;
}

.splide .splide__controls .splide__toggle {
    background: #737e80;
    border-radius: 50%;
    display: block;
    transition: background-color .2s ease;
    border: none;
    width: 26px;
    height: auto;
    min-width: 26px;
    min-height: 26px;
    position: absolute;
    left: 48px;
    bottom: 14px;
}

.splide .splide__toggle.is-active .splide__toggle__play,
.splide .splide__toggle__pause {
  display: none;
}

.splide .splide__toggle svg {
  fill: #e5eeee;
  transition: fill .2s ease;
  position: relative;
}

.splide .splide__toggle__play {
  left: 1px;
}

.splide .splide__toggle__pause {
  top: 1px;
}

.splide .splide__controls .splide__pagination {
  bottom: auto;
  left: auto;
  position: relative;
  transform: none;
  width: auto;
}

.splide .splide__controls .splide__pagination li {
  padding: 0 !important;
  margin: 7px !important;
}

.splide .splide__controls .splide__pagination li .splide__pagination__page {
  width: 23px;
  height: 23px;
  padding: 1px 2px 2px;
  margin: 0;
}

/* Add numbers to pagination buttons by CSS */
.splide__pagination {
  counter-reset: pagination-num;
}

.splide__pagination__page:before {
  counter-increment: pagination-num;
  content: counter( pagination-num );
}

@media ( max-width: 460px ) {
  .splide .splide__arrow--prev,
  .splide .splide__arrow--next  {
    width: 36px;
    height: 36px;
    padding: 5px;
  }

  .splide .splide__arrow svg {
    width: unset;
    height: unset;
  }

  .splide .splide__controls {
    margin-left: 85px;
    min-height: 34px;
  }

  .splide .splide__controls .splide__toggle {
    width: 36px;
    height: 36px;
    padding: 8px;
    left: 57px;
    bottom: 10px;
  }

  .splide .splide__pagination__page {
    width: 13px;
    height: 13px;
  }
}

/* ----------------- */
/* 2. Section Banner */

.section-banner {
  width: 100%;
  padding-bottom: 10px;
}

.section-banner .logo {
  text-align: center;
  width: 100%;
  max-width: 400px;
  display: block;
  margin: auto;
}

.section-banner .logo img {
  width: 100%;
}

.section-banner h2 {
  font-size: 25px !important;
}

.section-banner h2.slogan {
  margin: 10px 0 12px !important;
  font-size: 34px !important;
}

.section-banner .sub-slogan {
  text-align: center;
  font-size: 19px !important;
  margin: 0 !important;
}

.section-banner .call-to-action {
  background: #0053a3;
  color: white !important;
  text-decoration: none;
  display: block;
  padding: 11px 28px;
  width: fit-content;
  font-weight: bold;
  margin: 20px auto 30px;
  border-radius: 100px;
}

.section-banner .call-to-action:hover {
    background-color: #1863ad;
    transform: scale(1.1);
}

.section-banner .overview-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.section-banner .overview-image img.overview-image-preview {
  filter: blur(1.2vmax);
}

/* -------------------- */
/* 3. Specific Sections */

/* Section Press */

.section-press .card-wrapper p {
  margin-top: 0 !important;
  padding-top: .85em;
}

/* Section Upcoming */

.section-upcoming .card-wrapper h3 {
  color: white !important;
  margin: 10px 0 -10px !important;
}

.section-upcoming .card-wrapper a {
  text-shadow: none !important;
}

/* Section Help */

.section-help {
  padding: 1px 10px 40px;
}

.section-help a {
  display: block;
  max-width: 450px;
  text-align: center;
  margin: auto;
  transition: transform .3s;
}

.section-help a:hover {
  transform: scale(1.05);
}

.section-help img {
  width: 100%;
  margin-bottom: 20px;
  height: auto;
}
