/**
Theme Name: Equicon AKTD
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Custom child theme for Equicon, built on the Astra parent theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: equicon-aktd
Template: astra
*/

/**
 * Light/Dark section variants for WPBakery (`vc_section`).
 *
 * Usage:
 * - Add `section-variant-1` or `section-variant-2` to the "Extra class name" field
 *   of a `vc_section` element.
 * - Add a toggle element (e.g. button) with `[data-theme-toggle]` to allow
 *   switching between light and dark mode.
 */

:root {
  --equicon-green-start: #D1D700;
  --equicon-green-mid: #B9C510;
  --equicon-green-end: #A1B31F;
  --equicon-green-start-rgb: 209, 215, 0;
  --equicon-green-mid-rgb: 185, 197, 16;
  --equicon-green-end-rgb: 161, 179, 31;
  --equicon-section-light-variant-1: #F7FAFC;
  --equicon-section-dark-variant-1: #282828;
  --equicon-section-light-variant-2: #FFFFFF;
  --equicon-section-dark-variant-2: #212121;
  --equicon-section-green-variant: linear-gradient(91deg, var(--equicon-green-start) 0%, var(--equicon-green-mid) 50%, var(--equicon-green-end) 100%);
  --equicon-section-green-variant-light: linear-gradient(91deg, rgba(209, 215, 0, 0.5) 0%, rgba(185, 197, 16, 0.5) 50%, rgba(161, 179, 31, 0.5) 100%);
  --equicon-mobile-menu-background: linear-gradient(180deg, var(--equicon-green-start) 0%, var(--equicon-green-mid) 50%, var(--equicon-green-end) 100%);
  --equicon-mobile-menu-search-color: var(--equicon-muted-font-color);
  --equicon-mobile-menu-search-border: rgba(var(--equicon-font-color-rgb), 0.55);
  --equicon-font-color: #282828;
  --equicon-font-color-rgb: 40, 40, 40;
  --equicon-muted-font-color: #666666;
  --equicon-body-background-light: #ffffff;
  --equicon-body-background-dark: #111827;
  --equicon-accent-color: #A1B31F;
  --equicon-blue: #0A427A;
  --equicon-blue-rgb: 10, 66, 122;
  --equicon-surface-background-light: #ffffff;
  --equicon-surface-background-dark: #1f2933;
  --equicon-border-color-light: rgba(40, 40, 40, 0.08);
  --equicon-border-color-dark: rgba(226, 232, 240, 0.18);
  --equicon-heading-light: #1a202c;
  --equicon-heading-dark: #f8fafc;
  --equicon-input-background-dark: #0f172a;
  --equicon-input-placeholder-light: #808080;
  --equicon-input-placeholder-dark: rgba(245, 245, 245, 0.55);

  --equicon-section-text-light: #1f2933;
  --equicon-section-text-dark: #f5f5f5;
  --equicon-section-link-dark: #ffffff;
  --equicon-section-link-dark-hover: #d1d1d1;
  --equicon-header-border-light: rgba(15, 23, 42, 0.08);
  --equicon-header-border-dark: rgba(255, 255, 255, 0.12);
  --equicon-toggle-bg-light: rgba(15, 23, 42, 0.08);
  --equicon-toggle-bg-dark: #0f1e3f;
  --aktd-header-height: 96px;
  --equicon-max-content-width: 1240px;
  --equicon-standard-text-size: 26px;
  --equicon-standard-text-weight: 300;
  --equicon-standard-text-line-height: 42px;
  --equicon-accordion-text-size: 20px;
  --equicon-h1-size: 80px;
  --equicon-h1-weight: 700;
  --equicon-h1-line-height: 90px;
  --equicon-h3-size: 26px;
  --equicon-h3-weight: 400;
  --equicon-h3-line-height: 36px;
  --equicon-hero-text-size: 32px;
  --equicon-hero-text-weight: 200;
  --equicon-hero-text-line-height: 48px;
  --equicon-fullwidth-list-size: 32px;
  --equicon-fullwidth-list-weight: 200;
  --equicon-fullwidth-list-line-height: 48px;
  --equicon-font-family-base: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --equicon-font-family-heading: "JetBrains Mono", "Courier New", monospace;
}
body {
  font-size: var(--equicon-standard-text-size);
  font-weight: var(--equicon-standard-text-weight);
  line-height: var(--equicon-standard-text-line-height);
  font-family: var(--equicon-font-family-base);
}

body,
button,
input,
select,
textarea {
  font-family: var(--equicon-font-family-base);
}

h1,
h2,
h3,
h4,
h5,
h6,
.aktd-fullscreen-hero__title,
.akt-success-stories-slider__title,
.akt-timeline__title,
.aktd-prefooter__title {
  font-family: var(--equicon-font-family-heading);
}

h1 {
  font-size: var(--equicon-h1-size);
  font-weight: var(--equicon-h1-weight);
  line-height: var(--equicon-h1-line-height);
}

h3 {
  font-size: var(--equicon-h3-size);
  font-weight: var(--equicon-h3-weight);
  line-height: var(--equicon-h3-line-height);
}

.ast-container{
  max-width:100%!important;
}

#ast-desktop-header .site-primary-header-wrap.ast-container {
  width: 100%;
  max-width: var(--equicon-max-content-width) !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

#ast-desktop-header .site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container {
  padding: 0;
}

.ast-container > .vc_row,
.vc_section > .vc_row {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 544px) {
  .ast-container > .vc_row,
  .vc_section > .vc_row {
    max-width: 100%;
  }
}

@media (min-width: 922px) {
  .ast-container > .vc_row,
  .vc_section > .vc_row {
    max-width: var(--equicon-max-content-width);
  }

  .ast-container > .vc_row:not([data-vc-full-width="true"]):not([data-vc-stretch-content="true"]),
  .vc_section > .vc_row:not([data-vc-full-width="true"]):not([data-vc-stretch-content="true"]) {
    padding-left: 100px;
  }
}

/* Allow WPBakery rows flagged as full-width to extend up to the global max-width */
.vc_row[data-vc-full-width="true"]:not(.vc_row-no-padding),
.vc_row[data-vc-stretch-content="true"]:not(.vc_row-no-padding),
.ast-container > .vc_row[data-vc-full-width="true"]:not(.vc_row-no-padding),
.ast-container > .vc_row[data-vc-stretch-content="true"]:not(.vc_row-no-padding),
.vc_section > .vc_row[data-vc-full-width="true"]:not(.vc_row-no-padding),
.vc_section > .vc_row[data-vc-stretch-content="true"]:not(.vc_row-no-padding) {
  max-width: var(--equicon-max-content-width)!important;
  left: 0 !important;
}

.vc_row.vc_row-no-padding {
  width: 100% !important;
  max-width: none !important;
  left: 0 !important;
}

/* Keep single-column rows flush with the container so titles align with full-width sections */
.vc_section .vc_row > .wpb_column:only-child > .vc_column-inner,
.ast-container > .vc_row > .wpb_column:only-child > .vc_column-inner {
  padding-left: 0;
  padding-right: 0;
}

/* Restore WPBakery gutter between columns but keep outer edge flush */
.vc_row .vc_column-inner,
.vc_section .vc_row .vc_column-inner {
  padding-left: 15px;
  padding-right: 15px;
}

.vc_row .wpb_column:first-child > .vc_column-inner,
.vc_section .vc_row .wpb_column:first-child > .vc_column-inner {
  padding-left: 0;
}

/* On mobile, keep all text columns aligned and away from the viewport edge */
@media (max-width: 1200px) {
  .ast-container > .vc_row:not(.vc_row-no-padding) > .wpb_column > .vc_column-inner,
  .vc_section > .vc_row:not(.vc_row-no-padding) > .wpb_column > .vc_column-inner {
    padding-left: 37px;
    padding-right: 37px;
  }
}

/* Keep text off the viewport edge in stretched/full-width WPBakery rows. */
.ast-container > .vc_row[data-vc-full-width="true"]:not(.vc_row-no-padding) > .wpb_column > .vc_column-inner,
.ast-container > .vc_row[data-vc-stretch-content="true"]:not(.vc_row-no-padding) > .wpb_column > .vc_column-inner,
.vc_section > .vc_row[data-vc-full-width="true"]:not(.vc_row-no-padding) > .wpb_column > .vc_column-inner,
.vc_section > .vc_row[data-vc-stretch-content="true"]:not(.vc_row-no-padding) > .wpb_column > .vc_column-inner {
  padding-left: 37px !important;
  padding-right: 37px !important;
}

/* Full-width feature list handling inside vc_row-no-padding */
.vc_row-no-padding .akt-fullwidth-feature-list {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
}

.vc_row-no-padding .akt-fullwidth-feature-list__inner {
  max-width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0;
}

.vc_row-no-padding .akt-fullwidth-feature-list__items {
  gap: 32px;
}

.vc_row-no-padding .akt-fullwidth-feature-list__items li {
  --akt-list-line-short: clamp(1.1rem, 1.8vw, 1.85rem);
  padding-left: 0;
}

.vc_row-no-padding .akt-fullwidth-feature-list__items li::before {
  left: calc(-1 * (((100vw - 100%) / 2) + var(--akt-list-line-short)));
  width: calc(((95vw - 100%) / 2) + var(--akt-list-line-short));
}

/* Unterdrücke Listenmarker in allen Kontexten (auch verschachtelte ul/li) */
.akt-fullwidth-feature-list__items {
  list-style: none !important;
  list-style-type: none !important;
  gap: 32px;
  padding-inline-start: 0 !important;
}

.akt-fullwidth-feature-list__items li {
  display: block;
  font-family: var(--equicon-font-family-heading);
  font-size: 32px;
  line-height: 48px;
  list-style: none !important;
  list-style-type: none !important;
}

.akt-fullwidth-feature-list__items li::marker {
  content: none !important;
  font-size: 0 !important;
}

.akt-fullwidth-feature-list__items li::after {
  content: none !important;
  display: none !important;
}

.akt-fullwidth-feature-list__items li::before {
  border-radius: 0 !important;
}

/* Fullscreen hero */
.aktd-fullscreen-hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  --aktd-hero-horizontal-gap: 37px;
  --aktd-hero-text-color: #ffffff;
  --aktd-hero-text-muted: rgba(255, 255, 255, 0.8);
  --aktd-hero-link-color: rgba(255, 255, 255, 0.75);
  --aktd-hero-panel-content-color: var(--equicon-section-light-variant-1);
  --aktd-hero-panel-border: rgba(255, 255, 255);
  --aktd-hero-panel-bg: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(15, 39, 77, 0.35));
  --aktd-hero-panel-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  background-color: #0b1524;
  background-size: cover;
  background-position: center;
  color: var(--aktd-hero-text-color);
  overflow: hidden;
  isolation: isolate;
}

/* Fade the hero overlay from the left edge to transparent at 75% width */
.aktd-fullscreen-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(var(--equicon-font-color-rgb, 40, 40, 40), 0.72) 0%,
    rgba(var(--equicon-font-color-rgb, 40, 40, 40), 0.42) 28%,
    rgba(var(--equicon-font-color-rgb, 40, 40, 40), 0) 75%
  );
  pointer-events: none;
}

.aktd-fullscreen-hero__branding {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.aktd-fullscreen-hero__branding-inner {
  width: 100%;
  max-width: var(--equicon-max-content-width);
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.aktd-fullscreen-hero__branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.aktd-fullscreen-hero__brand-link {
  display: inline-flex;
  align-items: center;
  width: 174px;
  max-width: 174px;
  flex: 0 0 174px;
}

.aktd-fullscreen-hero__branding img,
.aktd-fullscreen-hero__branding .custom-logo {
  display: block;
  height: auto;
  width: auto;
}

.aktd-fullscreen-hero__brand-image {
  display: block;
  width: 174px !important;
  max-width: 174px !important;
  min-width: 174px;
  flex: 0 0 174px;
  height: auto;
}

.aktd-fullscreen-hero__brand-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aktd-hero-text-color);
  text-decoration: none;
}

/* Hero menu toggle: makes the site navigation reachable without scrolling first */
.aktd-hero-menu-toggle {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--equicon-accent-color);
  box-shadow: 0 10px 28px rgba(var(--equicon-green-end-rgb), 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}

.aktd-hero-menu-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(var(--equicon-green-end-rgb), 0.55), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.aktd-hero-menu-toggle:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.aktd-hero-menu-toggle__bar {
  display: block;
  width: 22px;
  height: 3px;
  background: #282828;
  border-radius: 2px;
}

body.aktd-hero-nav-visible .aktd-hero-menu-toggle {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.aktd-fullscreen-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(400px, 40%);
  grid-template-areas:
    "title title"
    "description panel";
  column-gap: 5%;
  row-gap: 0;
  width: 100%;
  max-width: var(--equicon-max-content-width);
  box-sizing: border-box;
  margin: 0 auto;
  align-items: flex-start;
  height: 100%;
  min-height: 100%;
  padding: clamp(7.5rem, 28vh, 220px) var(--aktd-hero-horizontal-gap) clamp(2rem, 14.5vh, 110px);
}

.aktd-fullscreen-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--aktd-hero-text-muted);
  position: relative;
  margin-bottom: 1.5rem;
}

.aktd-fullscreen-hero__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.aktd-fullscreen-hero--home .aktd-fullscreen-hero__inner {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title";
  align-content: end;
  justify-items: start;
}

.aktd-fullscreen-hero--no-description .aktd-fullscreen-hero__inner {
  grid-template-areas:
    ". panel"
    "title panel";
  grid-template-rows: clamp(2.5rem, 12vh, 120px) auto;
}

h1.aktd-fullscreen-hero__title {
  grid-area: title;
  max-width: min(640px, 100%);
  font-size: var(--equicon-h1-size);
  line-height: var(--equicon-h1-line-height);
  font-weight: var(--equicon-h1-weight);
  color: var(--aktd-hero-text-color)!important;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.aktd-fullscreen-hero--no-description h1.aktd-fullscreen-hero__title {
  grid-column: 1 / 2;
  max-width: 100%;
  margin-bottom: 0;
}

h1.aktd-fullscreen-hero__title--home {
  max-width: min(760px, 100%);
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* Prevent heading clipping on narrow/intermediate widths site-wide. */
.entry-content :is(h1, h2, h3, h4, h5, h6),
.wpb_wrapper :is(h1, h2, h3, h4, h5, h6),
.aktd-section :is(h1, h2, h3, h4, h5, h6),
.akt-jobs-list__job-title {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.aktd-fullscreen-hero__title--home .equicon-h1-first,
.aktd-fullscreen-hero__title--home .equicon-h1-second {
  display: block;
}

.aktd-fullscreen-hero__title--home .equicon-h1-first {
  color: #ffffff;
}

.aktd-fullscreen-hero__title--home .equicon-h1-second {
  color: var(--equicon-accent-color);
}

.aktd-fullscreen-hero__content-section {
  --aktd-hero-panel-content-color: var(--equicon-section-text-light);
  --aktd-hero-panel-border: rgba(var(--equicon-font-color-rgb), 0.48);
  background: var(--equicon-section-light-variant-2);
  color: var(--equicon-section-text-light);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.aktd-fullscreen-hero__desktop-content {
  display: contents;
}

.aktd-fullscreen-hero__content-section {
  display: none;
}

body.mode-dark .aktd-fullscreen-hero__content-section {
  --aktd-hero-panel-content-color: var(--equicon-section-text-dark);
  --aktd-hero-panel-border: rgba(245, 245, 245, 0.48);
  background: var(--equicon-section-dark-variant-2);
  color: var(--equicon-section-text-dark);
}

.aktd-fullscreen-hero__content-section .aktd-fullscreen-hero__panel {
  grid-area: auto;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.aktd-fullscreen-hero__content-section .aktd-fullscreen-hero__description {
  grid-area: auto;
}

.aktd-fullscreen-hero__content-section .aktd-hero-panel__item {
  text-shadow: none;
}

.aktd-fullscreen-hero__content-section .aktd-hero-panel__arrow {
  filter: none;
}

.aktd-fullscreen-hero__content-inner {
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(360px, 40%);
  column-gap: 5%;
  width: 100%;
  max-width: var(--equicon-max-content-width);
  box-sizing: border-box;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 37px;
}

.aktd-fullscreen-hero__description {
  grid-area: description;
  width: 100%;
  max-width: 100%;
  font-family: var(--equicon-font-family-heading);
  font-size: var(--equicon-hero-text-size);
  font-weight: var(--equicon-hero-text-weight);
  line-height: var(--equicon-hero-text-line-height);
  color: inherit;
}

.aktd-fullscreen-hero__description p {
  margin: 0 0 1rem;
  color: inherit;
}

.aktd-fullscreen-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.aktd-fullscreen-hero__cta,
.aktd-fullscreen-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.85rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.aktd-fullscreen-hero__cta {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--aktd-hero-text-color);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.aktd-fullscreen-hero__cta:hover,
.aktd-fullscreen-hero__cta:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  color: var(--aktd-hero-text-color);
}

.aktd-fullscreen-hero__link {
  color: var(--aktd-hero-link-color);
  border: 1px solid transparent;
}

.aktd-fullscreen-hero__link:hover,
.aktd-fullscreen-hero__link:focus {
  color: var(--aktd-hero-text-color);
  border-color: rgba(255, 255, 255, 0.2);
}

.aktd-fullscreen-hero__panel {
  grid-area: panel;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  justify-self: end;
  width: 100%;
  min-width: 400px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  backdrop-filter: blur(18px);
  box-shadow: var(--aktd-hero-panel-shadow);
  color: var(--aktd-hero-panel-content-color);
}

.aktd-hero-panel__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  font-family: var(--equicon-font-family-heading);
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--aktd-hero-panel-border);
  transition: font-weight 0.2s ease;
}

.aktd-hero-panel__item,
.aktd-hero-panel__item:visited,
.aktd-hero-panel__item:hover,
.aktd-hero-panel__item:focus,
.aktd-hero-panel__item:active {
  color: inherit;
  background: transparent;
  text-decoration: none;
}

.aktd-hero-panel__item span {
  font-weight: inherit;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.aktd-hero-panel__item:hover,
.aktd-hero-panel__item:focus {
  font-weight: 600;
}
.aktd-hero-panel__item:first-child {
  border-top: 1px solid var(--aktd-hero-panel-border);
}

.aktd-hero-panel__arrow {
  width: 0.95rem;
  height: 1.75rem;
  display: inline-flex;
  flex-shrink: 0;
  justify-self: end;
  align-self: center;
  background-color: var(--aktd-hero-panel-content-color);
  -webkit-mask-image: url('/wp-content/themes/equicon-aktd/equicon_icons_svg/arrows_double_down_white.svg');
  mask-image: url('/wp-content/themes/equicon-aktd/equicon_icons_svg/arrows_double_down_white.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center right;
  mask-position: center right;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.aktd-fullscreen-hero--text-dark {
  --aktd-hero-text-color: #1b1f2a;
  --aktd-hero-text-muted: rgba(27, 31, 42, 0.85);
  --aktd-hero-link-color: rgba(27, 31, 42, 0.7);
  --aktd-hero-panel-border: rgba(27, 31, 42, 0.2);
  --aktd-hero-panel-bg: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
  --aktd-hero-panel-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.aktd-fullscreen-hero--text-dark .aktd-fullscreen-hero__cta {
  border-color: rgba(27, 31, 42, 0.55);
  color: #1b1f2a;
  background: rgba(27, 31, 42, 0.08);
}

.aktd-fullscreen-hero--text-dark .aktd-fullscreen-hero__cta:hover,
.aktd-fullscreen-hero--text-dark .aktd-fullscreen-hero__cta:focus {
  border-color: rgba(27, 31, 42, 0.85);
  background: rgba(27, 31, 42, 0.16);
  color: #05060a;
}

.aktd-fullscreen-hero--404 {
  background-position: center;
}

.aktd-fullscreen-hero--404 .aktd-fullscreen-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "content";
  align-content: end;
  justify-items: start;
  padding-top: clamp(7.5rem, 24vh, 190px);
  padding-bottom: clamp(2.75rem, 8vh, 70px);
}

.aktd-404-hero__content {
  grid-area: content;
  max-width: min(680px, 100%);
}

h1.aktd-404-hero__title {
  display: inline-flex;
  align-items: center;
  margin: 0 0 clamp(1.7rem, 6vh, 3.4rem);
  padding: 0;
  border: 0;
  font-size: clamp(4.25rem, 5.4vw, 5.9rem);
  line-height: 1;
}

.aktd-404-hero__message {
  max-width: 560px;
  margin: 0 0 clamp(1.8rem, 4.8vh, 3.2rem);
  font-family: var(--equicon-font-family-base);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--aktd-hero-text-color);
}

.aktd-404-hero__question {
  margin: 0 0 clamp(1.2rem, 3vh, 1.7rem);
  font-family: var(--equicon-font-family-base);
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--aktd-hero-text-muted);
}

.aktd-404-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 1.9vw, 1.75rem);
  width: min(720px, calc(100vw - (2 * var(--aktd-hero-horizontal-gap))));
  max-width: 100%;
}

.aktd-404-hero__button,
.aktd-404-hero__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding: 1rem 1.7rem 1.05rem 1.95rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: var(--aktd-hero-text-color);
  background: rgba(255, 255, 255, 0.02);
  font-size: clamp(1.05rem, 1.18vw, 1.32rem);
  font-weight: 300;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.aktd-404-hero__button span:first-child {
  min-width: 0;
  max-width: none;
}

.aktd-404-hero__button-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-left: auto;
  background-color: currentColor;
  -webkit-mask-image: url('/wp-content/themes/equicon-aktd/equicon_icons_svg/arrows_double_right_white.svg');
  mask-image: url('/wp-content/themes/equicon-aktd/equicon_icons_svg/arrows_double_right_white.svg');
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.aktd-404-hero__button:hover,
.aktd-404-hero__button:focus {
  border-color: #ffffff;
  color: var(--aktd-hero-text-color);
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}



@media (max-width: 1024px) {
  .aktd-fullscreen-hero__inner {
    --aktd-hero-horizontal-gap: max(37px, clamp(1.25rem, 6vw, 3rem));
    grid-template-columns: 1fr;
    grid-template-areas: "title";
    row-gap: 0;
    align-content: end;
    padding: clamp(6rem, 12vh, 7rem) var(--aktd-hero-horizontal-gap) clamp(2rem, 8vh, 4rem);
    min-height: auto;
  }

  .aktd-fullscreen-hero__desktop-content {
    display: none;
  }

  .aktd-fullscreen-hero__content-section {
    display: block;
  }

  .aktd-fullscreen-hero--no-description .aktd-fullscreen-hero__inner {
    grid-template-areas: "title";
    grid-template-rows: auto;
  }

  .aktd-fullscreen-hero--home .aktd-fullscreen-hero__inner {
    grid-template-areas: "title";
    min-height: 100%;
  }

  .aktd-fullscreen-hero__content-inner {
    grid-template-columns: 1fr;
    row-gap: clamp(2.5rem, 8vw, 4rem);
  }

  .aktd-fullscreen-hero__panel {
    max-width: 420px;
  }

  .aktd-fullscreen-hero--404 .aktd-fullscreen-hero__inner {
    grid-template-areas: "content";
    min-height: 100%;
    row-gap: 0;
    align-content: center;
  }
}

/* Keep hero content in a stable two-column grid on intermediate desktop widths. */
@media (min-width: 923px) and (max-width: 1280px) {
  .aktd-fullscreen-hero {
    --aktd-hero-horizontal-gap: 37px;
  }

  .aktd-fullscreen-hero__inner,
  .aktd-fullscreen-hero__content-inner {
    grid-template-columns: minmax(0, 55%) minmax(0, 40%);
    column-gap: 5%;
    padding-left: 37px;
    padding-right: 37px;
  }

  .aktd-fullscreen-hero__inner > *,
  .aktd-fullscreen-hero__content-inner > * {
    min-width: 0;
  }

  .aktd-fullscreen-hero__panel {
    min-width: 0;
  }

  .aktd-hero-panel__item {
    grid-template-columns: minmax(0, 1fr) 0.95rem;
  }

  /* Keep text content off viewport edges on intermediate widths */
  .ast-container > .vc_row:not(.vc_row-no-padding) > .wpb_column:only-child > .vc_column-inner,
  .vc_section > .vc_row:not(.vc_row-no-padding) > .wpb_column:only-child > .vc_column-inner,
  .ast-container > .vc_row[data-vc-full-width="true"]:not(.vc_row-no-padding) > .wpb_column:only-child > .vc_column-inner,
  .vc_section > .vc_row[data-vc-full-width="true"]:not(.vc_row-no-padding) > .wpb_column:only-child > .vc_column-inner,
  .ast-container > .vc_row[data-vc-stretch-content="true"]:not(.vc_row-no-padding) > .wpb_column:only-child > .vc_column-inner,
  .vc_section > .vc_row[data-vc-stretch-content="true"]:not(.vc_row-no-padding) > .wpb_column:only-child > .vc_column-inner {
    padding-left: 37px !important;
    padding-right: 37px !important;
  }
}

@media (max-width: 782px) {
  html.error404,
  body.error404 {
    overflow-x: hidden;
  }

  body.error404 .site-content,
  body.error404 .site-content > .ast-container,
  body.error404 .site-main,
  body.error404 #primary,
  body.error404 .content-area {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.error404 .site,
  body.error404 .site-content,
  body.error404 #page,
  body.error404 .ast-container,
  body.error404 .site-main,
  body.error404 #primary {
    overflow-x: clip;
  }

  .aktd-fullscreen-hero {
    min-height: 500px;
    height: 500px;
    padding: 0;
    background-position: center bottom !important;
  }

  .aktd-fullscreen-hero--404 {
    min-height: 100svh;
    height: auto;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-size: cover;
    background-position: center center;
  }

  .aktd-fullscreen-hero--404 .aktd-fullscreen-hero__inner {
    min-height: 100svh;
    align-content: end;
  }

  .aktd-fullscreen-hero__inner {
    padding: clamp(5.5rem, 22vw, 7rem) clamp(1.5rem, 9.5vw, 2.6rem) clamp(3.2rem, 12vw, 4.4rem);
  }

  .aktd-fullscreen-hero__content-inner {
    padding: clamp(3.2rem, 14vw, 4.6rem) 37px clamp(3.6rem, 16vw, 5rem);
  }

  .aktd-fullscreen-hero__content-section .aktd-fullscreen-hero__description {
    font-size: 24px;
    line-height: 36px;
  }

  h1.aktd-fullscreen-hero__title {
    font-size: 40px;
    line-height: 48px;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .aktd-fullscreen-hero__panel {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .aktd-hero-panel__item {
    padding: 20px;
    font-size: 18px;
    line-height: 27px;
  }

  .aktd-fullscreen-hero__content-section .aktd-hero-panel__arrow {
    width: 16px;
  }

  h1.aktd-404-hero__title {
    min-height: auto;
    margin-bottom: 1.45rem;
    font-size: clamp(3.35rem, 15vw, 4.35rem);
  }

  .aktd-404-hero__message {
    max-width: 100%;
    margin-bottom: 1.65rem;
    font-size: clamp(1.28rem, 5.8vw, 1.65rem);
    line-height: 1.38;
  }

  .aktd-404-hero__question {
    font-size: clamp(1.05rem, 4.7vw, 1.25rem);
  }

  .aktd-404-hero__actions {
    width: min(680px, 100%);
  }

  .aktd-404-hero__button,
  .aktd-404-hero__button:visited {
    min-height: 76px;
    padding: 0.85rem 1.25rem 0.9rem 1.45rem;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .aktd-404-hero__actions {
    grid-template-columns: 1fr;
    width: min(360px, 100%);
  }
}

@media (max-width: 544px) {
  .aktd-fullscreen-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

body.mode-light,
body.mode-dark {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.mode-light {
  background-color: var(--equicon-body-background-light);
  color: var(--equicon-section-text-light);
  --aktd-header-surface: var(--equicon-section-light-variant-1);
  --aktd-header-text: var(--equicon-section-text-light);
  --aktd-footer-surface: var(--equicon-section-light-variant-1);
  --aktd-footer-text: var(--equicon-section-text-light);
}

body.mode-dark {
  background-color: var(--equicon-body-background-dark);
  color: var(--equicon-section-text-dark);
  --aktd-header-surface: var(--equicon-section-dark-variant-1);
  --aktd-header-text: var(--equicon-section-text-dark);
  --aktd-footer-surface: var(--equicon-section-dark-variant-1);
  --aktd-footer-text: var(--equicon-section-text-dark);
  color-scheme: dark;
}

body.mode-light h1,
body.mode-light h2,
body.mode-light h3,
body.mode-light h4,
body.mode-light h5,
body.mode-light h6 {
  color: var(--equicon-heading-light);
}

body.mode-dark h1,
body.mode-dark h2,
body.mode-dark h3,
body.mode-dark h4,
body.mode-dark h5,
body.mode-dark h6 {
  color: var(--equicon-heading-dark);
}

/* Keep Complianz cookie banner text black regardless of dark mode */
body.mode-dark .cmplz-cookiebanner,
body.mode-dark .cmplz-cookiebanner * {
  color: #000000;
}

/* Fullscreen hero template adjustments */
.page-template-page-home-hero .site-content,
.page-template-page-home-hero .site-content > .ast-container,
.page-template-page-home-hero .site-content > .ast-container > .site-content > .ast-container,
.page-template-page-fullscreen-hero .site-content,
.page-template-page-fullscreen-hero .site-content > .ast-container,
.page-template-page-fullscreen-hero .site-content > .ast-container > .site-content > .ast-container,
.error404 .site-content,
.error404 .site-content > .ast-container {
  max-width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.page-template-page-home-hero .site-content > .ast-container,
.page-template-page-fullscreen-hero .site-content > .ast-container,
.error404 .site-content > .ast-container {
  margin-left: 0;
  margin-right: 0;
}

.page-template-page-home-hero #primary,
.page-template-page-home-hero .site-main,
.page-template-page-home-hero article,
.page-template-page-fullscreen-hero #primary,
.page-template-page-fullscreen-hero .site-main,
.page-template-page-fullscreen-hero article,
.error404 #primary,
.error404 .site-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.error404 .content-area {
  margin-bottom: 0;
}

.error404.ast-separate-container #primary {
  margin-bottom: 0;
}

/* Header reveal after hero scroll */
body.aktd-hero-nav-ready {
  scroll-padding-top: var(--aktd-header-height, 96px);
}

body.aktd-hero-nav-ready .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  transition: transform 0.35s ease, opacity 0.35s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

body.aktd-hero-nav-ready .main-header-bar,
body.aktd-hero-nav-ready .ast-primary-header-bar,
body.aktd-hero-nav-ready .ast-mobile-header-wrap {
  background: transparent;
  border: none;
  box-shadow: none;
}

body.aktd-hero-nav-hidden .site-header {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

body.aktd-hero-nav-visible .site-header {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.admin-bar.aktd-hero-nav-ready .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar.aktd-hero-nav-ready .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  body.admin-bar.aktd-hero-nav-ready .site-header {
    top: 0;
  }
}

@media (max-width: 921px) {
  body {
    --aktd-header-height: 120px;
  }

  .aktd-fullscreen-hero {
    margin-top: 0;
  }

  body.page-template-page-home-hero .site-content,
  body.page-template-page-fullscreen-hero .site-content,
  body.error404 .site-content {
    padding-top: var(--aktd-header-height) !important;
  }

  .aktd-fullscreen-hero__branding {
    display: none;
  }

  body.aktd-hero-nav-ready {
    --aktd-header-height: 120px;
  }

  body.aktd-hero-nav-ready .site-header,
  body.aktd-hero-nav-hidden .site-header,
  body.aktd-hero-nav-visible .site-header {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.mode-light .site-header,
  body.mode-light #masthead,
  body.mode-light #masthead #ast-mobile-header,
  body.mode-light #masthead .main-header-bar-wrap,
  body.mode-light #masthead .ast-main-header-wrap,
  body.mode-light #masthead .main-header-bar,
  body.mode-light #masthead .ast-primary-header-bar,
  body.mode-light #masthead .ast-mobile-header-wrap,
  body.mode-light #masthead .site-primary-header-wrap,
  body.mode-light #masthead .ast-builder-grid-row-container,
  body.mode-light #masthead .ast-builder-grid-row-container-inner,
  body.mode-light #masthead .ast-builder-grid-row,
  body.mode-light #masthead .site-header-section,
  body.mode-light #masthead .site-header-primary-section-left,
  body.mode-light #masthead .site-header-primary-section-right,
  body.mode-light #masthead .ast-builder-layout-element,
  body.mode-light #masthead .site-branding,
  body.mode-light #masthead .site-logo-img,
  body.mode-light #masthead .ast-button-wrap,
  body.mode-light #masthead .menu-toggle {
    background-color: #ffffff !important;
    color: #282828 !important;
  }

  body.mode-dark .site-header,
  body.mode-dark #masthead,
  body.mode-dark #masthead #ast-mobile-header,
  body.mode-dark #masthead .main-header-bar-wrap,
  body.mode-dark #masthead .ast-main-header-wrap,
  body.mode-dark #masthead .main-header-bar,
  body.mode-dark #masthead .ast-primary-header-bar,
  body.mode-dark #masthead .ast-mobile-header-wrap,
  body.mode-dark #masthead .site-primary-header-wrap,
  body.mode-dark #masthead .ast-builder-grid-row-container,
  body.mode-dark #masthead .ast-builder-grid-row-container-inner,
  body.mode-dark #masthead .ast-builder-grid-row,
  body.mode-dark #masthead .site-header-section,
  body.mode-dark #masthead .site-header-primary-section-left,
  body.mode-dark #masthead .site-header-primary-section-right,
  body.mode-dark #masthead .ast-builder-layout-element,
  body.mode-dark #masthead .site-branding,
  body.mode-dark #masthead .site-logo-img,
  body.mode-dark #masthead .ast-button-wrap,
  body.mode-dark #masthead .menu-toggle {
    background-color: var(--aktd-header-surface) !important;
    color: var(--aktd-header-text) !important;
  }

  body.mode-light #masthead {
    border: 1px solid rgba(40, 40, 40, 0.1);
  }

  body.mode-dark #masthead {
    border: 1px solid var(--equicon-header-border-dark);
  }

  body #masthead .ast-mobile-header-wrap,
  body #masthead .ast-primary-header-bar,
  body #masthead .site-primary-header-wrap,
  body #masthead .ast-builder-grid-row {
    min-height: var(--aktd-header-height);
  }

  body #masthead .ast-builder-grid-row {
    align-items: center;
  }

  body #masthead .site-primary-header-wrap {
    padding-inline: clamp(40px, 12vw, 52px);
  }

  body #masthead .custom-logo,
  body #masthead .site-logo-img img {
    width: 146px;
    max-width: 38vw;
    height: auto;
  }

  body #masthead .menu-toggle {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  body.mode-light #masthead .menu-toggle .mobile-menu-toggle-icon,
  body.mode-light #masthead .menu-toggle .ahfb-svg-iconset {
    color: #282828;
    line-height: 1;
  }

  body.mode-dark #masthead .menu-toggle .mobile-menu-toggle-icon,
  body.mode-dark #masthead .menu-toggle .ahfb-svg-iconset {
    color: var(--aktd-header-text);
    line-height: 1;
  }

  body #masthead .menu-toggle svg,
  body #masthead .menu-toggle .ast-mobile-svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
  }
}

@media (max-width: 600px) {
  body {
    --aktd-header-height: 96px;
  }
}

@media (max-width: 544px) {
  body {
    --aktd-header-height: 84px;
  }
}

body.mode-dark p,
body.mode-dark li,
body.mode-dark span,
body.mode-dark label,
body.mode-dark blockquote,
body.mode-dark .entry-content,
body.mode-dark .site-description {
  color: var(--equicon-section-text-dark);
}

body.mode-dark a {
  color: var(--equicon-section-link-dark);
}

body.mode-dark a:hover,
body.mode-dark a:focus {
  color: var(--equicon-section-link-dark-hover);
}

/* Default text links use the brand accent and remain underlined */
:is(.entry-content, .wpb-content-wrapper, .widget, .aktd-prefooter__content)
  a:not(.ast-button):not(.ast-outline-button):not(.button):not(.wp-block-button__link):not(.elementor-button):not(.aktd-fullscreen-hero__cta):not(.aktd-fullscreen-hero__link):not(.aktd-apply-button):not([class*="akt-button"]) {
  color: var(--equicon-accent-color);
  text-decoration: underline;
}

:is(.entry-content, .wpb-content-wrapper, .widget, .aktd-prefooter__content)
  a:not(.ast-button):not(.ast-outline-button):not(.button):not(.wp-block-button__link):not(.elementor-button):not(.aktd-fullscreen-hero__cta):not(.aktd-fullscreen-hero__link):not(.aktd-apply-button):not([class*="akt-button"]):hover,
:is(.entry-content, .wpb-content-wrapper, .widget, .aktd-prefooter__content)
  a:not(.ast-button):not(.ast-outline-button):not(.button):not(.wp-block-button__link):not(.elementor-button):not(.aktd-fullscreen-hero__cta):not(.aktd-fullscreen-hero__link):not(.aktd-apply-button):not([class*="akt-button"]):focus {
  color: var(--equicon-accent-color);
  text-decoration: underline;
}

body.mode-dark .site,
body.mode-dark .site-content,
body.mode-dark .ast-container,
body.mode-dark .ast-plain-container,
body.mode-dark .ast-separate-container {
  background-color: var(--equicon-body-background-dark);
}

body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) .site-header,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead #ast-desktop-header,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead #ast-mobile-header,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .main-header-bar-wrap,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-main-header-wrap,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .main-header-bar,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-primary-header-bar,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .site-primary-header-wrap,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-grid-row-container,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-grid-row-container-inner,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-grid-row,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .site-header-section,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .site-header-primary-section-left,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .site-header-primary-section-right,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-layout-element,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .main-header-bar-alignment,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .main-header-bar-navigation,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .main-header-menu,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .main-header-menu > li,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-menu,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-menu-1,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-menu-mobile,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-menu-mobile .main-header-menu,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-menu-mobile .main-header-menu > li,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-menu-1 .menu-item,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-menu-mobile .menu-item,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-mobile-header-wrap,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-mobile-header-content,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-header-html,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-builder-html-element,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .site-branding,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .site-logo-img,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .ast-button-wrap,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead .menu-toggle {
  background-color: var(--aktd-header-surface);
  color: var(--aktd-header-text);
}

body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) .site-header,
body:is(:not(.aktd-hero-nav-ready), .aktd-hero-nav-visible) #masthead {
  border-bottom: none;
}

.site-header,
#masthead,
.main-header-bar,
.ast-primary-header-bar,
.ast-mobile-header-wrap,
.ast-main-header-wrap,
.site-footer,
.site-primary-footer-wrap,
.ast-footer-overlay {
  border: none;
  box-shadow: none;
}

body .site-footer,
body .site-footer .site-primary-footer-wrap,
body .site-footer .site-primary-footer-inner-wrap,
body .site-footer .ast-builder-grid-row-container,
body .site-footer .ast-builder-grid-row-container-inner,
body .site-footer .ast-builder-grid-row,
body .site-footer .site-footer-section,
body .site-footer .footer-widget-area,
body .site-footer .footer-widget-area-inner,
body .site-footer .widget,
body .site-footer .ast-footer-overlay,
body .site-footer .footer-adv,
body .site-footer .footer-sml-layout-2,
body .site-footer .footer-sml-layout-2 .ast-small-footer-section-1,
body .site-footer .footer-sml-layout-2 .ast-small-footer-section-2 {
  background-color: var(--aktd-footer-surface);
  color: var(--aktd-footer-text);
  border: none;
}

body .site-footer {
  font-size: 18px;
  line-height: 27px;
}

body.mode-light .site-footer a,
body.mode-light .site-footer .menu-link {
  color: var(--equicon-section-text-light);
}

body.mode-dark .site-footer a,
body.mode-dark .site-footer .menu-link {
  color: var(--equicon-section-text-dark);
}

body.mode-light .site-footer a:hover,
body.mode-light .site-footer a:focus {
  color: rgba(31, 41, 51, 0.75);
}

body.mode-dark .site-footer a:hover,
body.mode-dark .site-footer a:focus {
  color: var(--equicon-section-link-dark-hover);
}

.main-header-menu > .menu-item > a,
.ast-builder-menu-1 .menu-item > a,
.ast-mobile-header-wrap .menu-item > a,
.ast-builder-menu-1 .menu-item > .ast-menu-toggle {
  font-size: 16px;
  font-weight: var(--equicon-standard-text-weight);
}

body.mode-light .main-header-menu > .menu-item > a,
body.mode-light .ast-builder-menu-1 .menu-item > a,
body.mode-light .ast-mobile-header-wrap .menu-item > a,
body.mode-light .ast-builder-menu-1 .menu-item > .ast-menu-toggle {
  color: var(--equicon-section-text-light);
}

body.mode-light .main-header-menu > .menu-item > a:hover,
body.mode-light .ast-builder-menu-1 .menu-item > a:hover,
body.mode-light .main-header-menu > .menu-item > a:focus,
body.mode-light .ast-builder-menu-1 .menu-item > a:focus,
body.mode-light .ast-builder-menu-1 .menu-item.current-menu-item > a {
  color: rgba(31, 41, 51, 0.75);
}

.ast-header-html [data-theme-toggle] {
  appearance: none;
  border: none;
  border-radius: 999px;
  background: none;
  padding: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  color: inherit;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.ast-header-html [data-theme-toggle]::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: linear-gradient(135deg, #0f172a 50%, #ffffff 50%);
  box-sizing: border-box;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ast-header-html [data-theme-toggle][aria-pressed="true"]::before {
  transform: rotate(180deg);
}

.ast-header-html [data-theme-toggle]:focus-visible {
  outline: 2px solid var(--equicon-accent-color);
  outline-offset: 2px;
}

.ast-header-html [data-theme-toggle]:hover {
  transform: scale(1.05);
}

body.mode-light .ast-header-html [data-theme-toggle] {
  color: var(--equicon-section-text-light);
}

body.mode-dark .ast-header-html [data-theme-toggle] {
  color: var(--equicon-section-text-dark);
}

body.mode-dark .ast-header-html [data-theme-toggle]::before {
  background: linear-gradient(135deg, #f8fafc 50%, #0f172a 50%);
}

body.mode-dark .main-header-bar,
body.mode-dark .ast-primary-header-bar,
body.mode-dark .site-footer,
body.mode-dark .ast-footer-overlay,
body.mode-dark .site-footer-primary-section-1,
body.mode-dark .site-footer-primary-section-2,
body.mode-dark .site-footer-primary-section-3,
body.mode-dark .footer-adv {
  border-color: var(--equicon-border-color-dark);
}

body.mode-dark .main-header-menu > .menu-item > a,
body.mode-dark .ast-builder-menu-1 .main-header-menu > .menu-item > a,
body.mode-dark .ast-mobile-header-wrap .menu-item > a,
body.mode-dark .ast-builder-menu-1 .main-header-menu > .menu-item > .ast-menu-toggle {
  color: var(--equicon-section-text-dark);
}

body.mode-dark .main-header-menu > .menu-item > a:hover,
body.mode-dark .ast-builder-menu-1 .main-header-menu > .menu-item > a:hover,
body.mode-dark .main-header-menu > .menu-item > a:focus,
body.mode-dark .ast-builder-menu-1 .main-header-menu > .menu-item > a:focus,
body.mode-dark .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > a {
  color: var(--equicon-section-link-dark-hover);
}

/* The two rules above used to match nested sub-menu links too (no depth limit),
   painting them the same near-white as the dark header bar text. The flyout
   sub-menu box itself always stays white, so that made its links unreadable
   in dark mode; restricting to direct children lets them fall back to
   Astra's normal dark-on-white menu-link color instead. That also means
   hover/focus on a sub-item now falls back to Astra's default link-hover
   color (blue) instead of the too-light dark-mode override, so give it an
   on-brand color explicitly. */
body.mode-dark .ast-builder-menu-1 .sub-menu .menu-item > a:hover,
body.mode-dark .ast-builder-menu-1 .sub-menu .menu-item > a:focus {
  color: var(--equicon-accent-color);
}

/* Keep the mobile menu surface on one parent only; menu nodes remain transparent. */
#masthead #ast-mobile-header .ast-mobile-header-content,
#ast-mobile-popup .ast-mobile-popup-inner {
  background: var(--equicon-mobile-menu-background) !important;
}

#masthead #ast-mobile-header .ast-mobile-header-content .main-header-bar-navigation,
#masthead #ast-mobile-header .ast-mobile-header-content .main-navigation,
#masthead #ast-mobile-header .ast-mobile-header-content .main-navigation ul,
#masthead #ast-mobile-header #ast-hf-mobile-menu,
#masthead #ast-mobile-header #ast-hf-mobile-menu > li,
#masthead #ast-mobile-header #ast-hf-mobile-menu .sub-menu,
#ast-mobile-popup .ast-mobile-popup-content,
#ast-mobile-popup .main-navigation,
#ast-mobile-popup #ast-hf-mobile-menu,
#ast-mobile-popup #ast-hf-mobile-menu > li,
#ast-mobile-popup #ast-hf-mobile-menu .sub-menu,
#masthead #ast-mobile-header #ast-hf-mobile-menu > li > .menu-link,
#masthead #ast-mobile-header #ast-hf-mobile-menu .sub-menu .menu-link,
#masthead #ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-link,
#masthead #ast-mobile-header .ast-mobile-header-content .main-header-menu .sub-menu .menu-link,
#ast-mobile-popup #ast-hf-mobile-menu > li > .menu-link,
#ast-mobile-popup #ast-hf-mobile-menu .sub-menu .menu-link,
#ast-mobile-popup .ast-mobile-popup-content .main-header-menu .menu-link,
#ast-mobile-popup .ast-mobile-popup-content .main-header-menu .sub-menu .menu-link {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--equicon-font-color) !important;
  border: 0 !important;
  text-align: right;
}

/* Mobile off-canvas menu visual style */
@media (max-width: 921px) {
  .ast-mobile-popup-drawer .ast-mobile-popup-overlay {
    background: rgba(217, 217, 217, 0.9);
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-inner {
    background: var(--equicon-mobile-menu-background);
    color: var(--equicon-font-color);
    box-shadow: none;
    padding: 0 clamp(1.2rem, 5vw, 1.75rem) clamp(1.75rem, 6vw, 2.5rem);
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-header {
    min-height: clamp(0.5rem, 3vw, 1rem);
    padding: 0;
  }

  .ast-mobile-popup-drawer .menu-toggle-close {
    display: none;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: clamp(0.5rem, 2.5vw, 1rem);
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content > *,
  .ast-mobile-popup-drawer .ast-mobile-popup-content > *:first-child,
  .ast-mobile-popup-drawer .ast-mobile-popup-content > *:last-child {
    padding: 0;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content > .ast-builder-menu-mobile {
    margin-top: 0;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation,
  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .main-header-menu,
  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .sub-menu {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .menu-item {
    margin: 0 0 clamp(0.6rem, 2vw, 1rem);
    text-align: right;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .menu-item > .menu-link {
    border: 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: clamp(2rem, 5.8vw, 2.35rem);
    font-weight: 400;
    color: var(--equicon-font-color);
    text-align: right;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .main-header-menu > .menu-item:first-child {
    border-bottom: 1px solid rgba(31, 34, 38, 0.5);
    padding-bottom: clamp(0.85rem, 3vw, 1.2rem);
    margin-bottom: clamp(2rem, 7vw, 2.75rem);
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .main-header-menu > .menu-item:first-child > .menu-link {
    color: rgba(31, 34, 38, 0.66);
    font-size: clamp(1.7rem, 5vw, 2rem);
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .menu-item-has-children > .ast-menu-toggle {
    display: none;
  }

  .ast-mobile-popup-drawer .main-header-bar-navigation .menu-item-has-children > .sub-menu,
  .ast-mobile-popup-drawer .main-header-bar-navigation .ast-submenu-expanded > .sub-menu {
    display: block !important;
    visibility: visible;
    opacity: 1;
    position: static;
    margin-top: clamp(0.45rem, 2vw, 0.8rem);
    margin-bottom: clamp(1.4rem, 4vw, 2rem);
  }

  /* Separate an expandable main menu item from its sub-items with a visible line,
     since the surface behind them is plain white with no other cue. */
  #masthead #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .sub-menu,
  #ast-mobile-popup #ast-hf-mobile-menu .menu-item-has-children > .sub-menu {
    border-top: 1px solid rgba(31, 34, 38, 0.35) !important;
    padding-top: clamp(0.45rem, 2vw, 0.8rem);
  }

  .ast-mobile-popup-drawer .main-header-bar-navigation .sub-menu .menu-item {
    margin: 0 0 clamp(0.45rem, 1.8vw, 0.8rem);
  }

  .ast-mobile-popup-drawer .main-header-bar-navigation .sub-menu .menu-item:not(:last-child) {
    padding-bottom: clamp(0.3rem, 1.2vw, 0.5rem);
    border-bottom: 1px solid rgba(31, 34, 38, 0.15);
  }

  .ast-mobile-popup-drawer .main-header-bar-navigation .sub-menu .menu-link {
    font-size: clamp(1.85rem, 5.4vw, 2.2rem);
    font-weight: 300;
    color: rgba(31, 34, 38, 0.6);
  }

  .ast-mobile-popup-drawer .main-header-bar-navigation .main-header-menu > .menu-item > .menu-link:hover,
  .ast-mobile-popup-drawer .main-header-bar-navigation .main-header-menu > .menu-item > .menu-link:focus,
  .ast-mobile-popup-drawer .main-header-bar-navigation .sub-menu .menu-link:hover,
  .ast-mobile-popup-drawer .main-header-bar-navigation .sub-menu .menu-link:focus {
    color: var(--equicon-font-color);
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-header-html,
  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-header-html-1,
  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-html-element {
    margin-top: auto;
    padding-top: clamp(0.9rem, 3vw, 1.4rem);
    display: flex;
    justify-content: flex-end;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-header-html [data-theme-toggle],
  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-header-html-1 [data-theme-toggle],
  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-html-element [data-theme-toggle] {
    width: 30px;
    height: 30px;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-header-html [data-theme-toggle]::before,
  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-header-html-1 [data-theme-toggle]::before,
  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-html-element [data-theme-toggle]::before {
    width: 20px;
    height: 20px;
  }

  /* Fallback for Astra mobile dropdown mode: keep the same single green menu surface */
  .ast-mobile-header-wrap .ast-mobile-header-content {
    background: var(--equicon-mobile-menu-background) !important;
  }

  .ast-mobile-header-wrap .ast-mobile-header-content .ast-builder-layout-element,
  .ast-mobile-header-wrap .ast-mobile-header-content .main-header-bar-navigation,
  .ast-mobile-header-wrap .ast-mobile-header-content .main-navigation,
  .ast-mobile-header-wrap .ast-mobile-header-content .main-header-menu,
  .ast-mobile-header-wrap .ast-mobile-header-content .main-header-menu > li,
  .ast-mobile-header-wrap .ast-mobile-header-content .main-header-menu .sub-menu {
    background: transparent !important;
  }

  .ast-mobile-header-wrap .ast-mobile-header-content .main-navigation ul .menu-item .menu-link {
    border: 0;
    text-align: right;
    color: var(--equicon-font-color) !important;
  }

  /* High-specificity fallback for current Astra mobile menu markup */
  #masthead #ast-mobile-header .ast-mobile-header-content,
  #ast-mobile-popup .ast-mobile-popup-inner {
    background: var(--equicon-mobile-menu-background) !important;
  }

  #masthead #ast-mobile-header .ast-mobile-header-content .main-header-bar-navigation,
  #masthead #ast-mobile-header .ast-mobile-header-content .main-navigation,
  #masthead #ast-mobile-header .ast-mobile-header-content .main-navigation ul,
  #masthead #ast-mobile-header #ast-hf-mobile-menu,
  #masthead #ast-mobile-header #ast-hf-mobile-menu > li,
  #masthead #ast-mobile-header #ast-hf-mobile-menu .sub-menu,
  #ast-mobile-popup .ast-mobile-popup-content,
  #ast-mobile-popup #ast-hf-mobile-menu,
  #ast-mobile-popup #ast-hf-mobile-menu > li,
  #ast-mobile-popup #ast-hf-mobile-menu .sub-menu {
    background: transparent !important;
  }

  #masthead #ast-mobile-header #ast-hf-mobile-menu > li > .menu-link,
  #masthead #ast-mobile-header #ast-hf-mobile-menu .sub-menu .menu-link,
  #ast-mobile-popup #ast-hf-mobile-menu > li > .menu-link,
  #ast-mobile-popup #ast-hf-mobile-menu .sub-menu .menu-link {
    color: var(--equicon-font-color) !important;
    border: 0 !important;
    text-align: right;
  }
}

@media (max-width: 921px) {
  #masthead #ast-mobile-header .ast-mobile-header-content,
  #ast-mobile-popup .ast-mobile-popup-inner {
    background: var(--equicon-mobile-menu-background) !important;
  }

  #masthead #ast-mobile-header .ast-mobile-header-content .main-header-bar-navigation,
  #masthead #ast-mobile-header .ast-mobile-header-content .main-navigation,
  #masthead #ast-mobile-header .ast-mobile-header-content .main-navigation ul,
  #masthead #ast-mobile-header #ast-hf-mobile-menu,
  #masthead #ast-mobile-header #ast-hf-mobile-menu > li,
  #masthead #ast-mobile-header #ast-hf-mobile-menu .sub-menu,
  #ast-mobile-popup .ast-mobile-popup-content,
  #ast-mobile-popup .main-navigation,
  #ast-mobile-popup #ast-hf-mobile-menu,
  #ast-mobile-popup #ast-hf-mobile-menu > li,
  #ast-mobile-popup #ast-hf-mobile-menu .sub-menu {
    background: transparent !important;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-inner {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 37px 56px 0 !important;
    box-sizing: border-box;
    color: var(--equicon-font-color);
  }

  @supports (height: 100dvh) {
    .ast-mobile-popup-drawer .ast-mobile-popup-inner {
      height: 100dvh;
      min-height: 100dvh;
      max-height: 100dvh;
    }
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content,
  .ast-mobile-header-wrap .ast-mobile-header-content {
    align-items: flex-end;
    min-height: auto;
    padding-top: 44px;
    text-align: right;
  }

  .ast-mobile-header-wrap .ast-mobile-header-content {
    padding-right: 37px !important;
    padding-left: 0 !important;
    box-sizing: border-box;
  }

  .ast-header-break-point.ast-main-header-nav-open #masthead .ast-mobile-header-wrap .ast-mobile-header-content,
  .ast-main-header-nav-open.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-mobile-header-content {
    position: fixed !important;
    top: var(--aktd-header-height, 120px) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    width: 100vw !important;
    height: calc(100vh - var(--aktd-header-height, 120px)) !important;
    max-height: calc(100vh - var(--aktd-header-height, 120px)) !important;
    overflow-x: hidden;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 44px 37px 56px 0 !important;
    background: var(--equicon-mobile-menu-background) !important;
    box-sizing: border-box;
    z-index: 9999;
  }

  @supports (height: 100dvh) {
    .ast-header-break-point.ast-main-header-nav-open #masthead .ast-mobile-header-wrap .ast-mobile-header-content,
    .ast-main-header-nav-open.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-mobile-header-content {
      height: calc(100dvh - var(--aktd-header-height, 120px)) !important;
      max-height: calc(100dvh - var(--aktd-header-height, 120px)) !important;
    }
  }

  body.ast-main-header-nav-open {
    overflow: hidden;
  }

  #masthead #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile,
  #masthead #ast-mobile-header .ast-mobile-header-content .ast-main-header-bar-alignment,
  #masthead #ast-mobile-header .ast-mobile-header-content .main-header-bar-navigation,
  #masthead #ast-mobile-header .ast-mobile-header-content .site-navigation,
  #masthead #ast-mobile-header .ast-mobile-header-content .main-navigation,
  #masthead #ast-mobile-header .ast-mobile-header-content .main-header-menu,
  #masthead #ast-mobile-header .ast-mobile-header-content .menu-item,
  #masthead #ast-mobile-header .ast-mobile-header-content .sub-menu,
  #masthead #ast-mobile-header .ast-mobile-header-content .menu-link,
  #ast-mobile-popup .ast-mobile-popup-content .ast-builder-menu-mobile,
  #ast-mobile-popup .ast-mobile-popup-content .ast-main-header-bar-alignment,
  #ast-mobile-popup .ast-mobile-popup-content .main-header-bar-navigation,
  #ast-mobile-popup .ast-mobile-popup-content .site-navigation,
  #ast-mobile-popup .ast-mobile-popup-content .main-navigation,
  #ast-mobile-popup .ast-mobile-popup-content .main-header-menu,
  #ast-mobile-popup .ast-mobile-popup-content .menu-item,
  #ast-mobile-popup .ast-mobile-popup-content .sub-menu,
  #ast-mobile-popup .ast-mobile-popup-content .menu-link {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
  }

  .equicon-mobile-menu-search,
  .equicon-mobile-menu-tools,
  .ast-mobile-popup-drawer .ast-mobile-popup-content > .ast-builder-menu-mobile,
  .ast-mobile-header-wrap .ast-mobile-header-content > .ast-builder-menu-mobile {
    width: 100%;
    max-width: 316px;
    margin-left: auto;
    margin-right: 0;
  }

  .equicon-mobile-menu-search__form {
    width: 100%;
    margin: 0;
  }

  .equicon-mobile-menu-search__field {
    width: 100%;
    height: 34px;
    padding: 0 0 11px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--equicon-mobile-menu-search-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--equicon-mobile-menu-search-color);
    font-family: var(--equicon-font-family-base);
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    text-align: right;
    text-transform: uppercase;
    box-shadow: none !important;
    outline: 0 !important;
  }

  .equicon-mobile-menu-search__field::placeholder {
    color: var(--equicon-mobile-menu-search-color);
    opacity: 1;
    text-transform: uppercase;
  }

  body.mode-dark .equicon-mobile-menu-search__field,
  body.mode-dark .equicon-mobile-menu-search__field::placeholder {
    color: var(--equicon-muted-font-color) !important;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content > .ast-builder-menu-mobile,
  .ast-mobile-header-wrap .ast-mobile-header-content > .ast-builder-menu-mobile {
    margin-top: 50px;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .main-header-menu > .menu-item,
  .ast-mobile-header-wrap .ast-mobile-header-content .main-header-menu > .menu-item {
    margin: 0 0 50px;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .main-header-menu > .menu-item:last-child,
  .ast-mobile-header-wrap .ast-mobile-header-content .main-header-menu > .menu-item:last-child {
    margin-bottom: 50px;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .main-header-menu > .menu-item:first-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 50px;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .main-header-menu > .menu-item > .menu-link,
  .ast-mobile-header-wrap .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link,
  #masthead #ast-mobile-header #ast-hf-mobile-menu > li > .menu-link,
  #ast-mobile-popup #ast-hf-mobile-menu > li > .menu-link {
    min-height: 0;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: var(--equicon-font-color) !important;
    font-family: var(--equicon-font-family-base);
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0;
    text-align: right;
    text-transform: uppercase;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .main-header-menu > .menu-item:first-child > .menu-link {
    color: var(--equicon-font-color) !important;
    font-size: 20px;
  }

  .ast-mobile-popup-drawer .main-header-bar-navigation .menu-item-has-children > .sub-menu,
  .ast-mobile-popup-drawer .main-header-bar-navigation .ast-submenu-expanded > .sub-menu,
  .ast-mobile-header-wrap .main-header-bar-navigation .menu-item-has-children > .sub-menu,
  .ast-mobile-header-wrap .main-header-bar-navigation .ast-submenu-expanded > .sub-menu {
    display: block !important;
    visibility: visible;
    opacity: 1;
    position: static;
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
  }

  .ast-mobile-popup-drawer .main-header-bar-navigation .sub-menu .menu-item,
  .ast-mobile-header-wrap .main-header-bar-navigation .sub-menu .menu-item {
    margin: 0;
  }

  .ast-mobile-popup-drawer .main-header-bar-navigation .sub-menu .menu-link,
  .ast-mobile-header-wrap .main-header-bar-navigation .sub-menu .menu-link,
  #masthead #ast-mobile-header #ast-hf-mobile-menu .sub-menu .menu-link,
  #ast-mobile-popup #ast-hf-mobile-menu .sub-menu .menu-link {
    min-height: 0;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: var(--equicon-muted-font-color) !important;
    font-family: var(--equicon-font-family-base);
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 0;
    text-align: right;
    text-transform: uppercase;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-builder-menu-mobile .menu-item-has-children > .ast-menu-toggle,
  .ast-mobile-header-wrap .ast-mobile-header-content .menu-item-has-children > .ast-menu-toggle {
    display: none !important;
  }

  .ast-mobile-popup-drawer .main-header-bar-navigation .menu-link .ast-icon,
  .ast-mobile-popup-drawer .main-header-bar-navigation .menu-link .dropdown-menu-toggle,
  .ast-mobile-header-wrap .main-header-bar-navigation .menu-link .ast-icon,
  .ast-mobile-header-wrap .main-header-bar-navigation .menu-link .dropdown-menu-toggle {
    display: none !important;
  }

  .equicon-mobile-menu-language-placeholder {
    display: none !important;
  }

  .equicon-mobile-menu-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    margin-top: 0;
    color: var(--equicon-font-color);
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    text-align: right;
    text-transform: uppercase;
  }

  .equicon-mobile-language-switcher,
  .equicon-mobile-language-switcher__link,
  .equicon-mobile-language-switcher__separator {
    color: var(--equicon-font-color) !important;
    text-decoration: none;
  }

  .equicon-mobile-language-switcher__link.is-current {
    font-weight: 700;
  }

  .equicon-mobile-theme-toggle {
    appearance: none;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent !important;
    color: var(--equicon-font-color) !important;
    font-size: 0;
    line-height: 0;
  }

  .equicon-mobile-theme-toggle::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin-left: auto;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a 50%, #ffffff 50%);
    box-sizing: border-box;
  }

  .equicon-mobile-theme-toggle[aria-pressed="true"]::before {
    transform: rotate(180deg);
  }
}

body.mode-dark .widget,
body.mode-dark .ast-widget,
body.mode-dark .sidebar-main,
body.mode-dark .widget-area,
body.mode-dark .ast-sticky-post,
body.mode-dark .ast-single-related-posts-container,
body.mode-dark .comments-area,
body.mode-dark .ast-comment-list li,
body.mode-dark .ast-archive-content,
body.mode-dark .ast-archive-description,
body.mode-dark .ast-breadcrumbs-wrapper,
body.mode-dark .ast-author-box {
  background-color: var(--equicon-surface-background-dark);
  color: var(--equicon-section-text-dark);
  border-color: var(--equicon-border-color-dark);
}

body .site-footer .widget {
  background-color: var(--aktd-footer-surface);
  color: var(--aktd-footer-text);
  border-color: transparent;
  box-shadow: none;
}

body.mode-dark .ast-comment-list .reply,
body.mode-dark .ast-comment-list .comment-reply-link,
body.mode-dark .comment-respond .comment-reply-title,
body.mode-dark .comment-metadata,
body.mode-dark .ast-comment-meta {
  color: var(--equicon-section-text-dark);
}

body.mode-dark .site-main > article,
body.mode-dark .ast-article-post,
body.mode-dark .ast-article-single,
body.mode-dark .ast-related-post,
body.mode-dark .ast-woocommerce-container,
body.mode-dark .ast-woo-product-category,
body.mode-dark .ast-woo-shop-archive .ast-article-single {
  background-color: var(--equicon-surface-background-dark);
  color: var(--equicon-section-text-dark);
  border-color: var(--equicon-border-color-dark);
}

body.mode-dark .ast-woo-shop-archive .price,
body.mode-dark .ast-woo-shop-archive .ast-woo-product-title,
body.mode-dark .woocommerce div.product .product_title,
body.mode-dark .woocommerce div.product .price,
body.mode-dark .woocommerce div.product .woocommerce-tabs .panel {
  color: var(--equicon-section-text-dark);
}

body.mode-dark .woocommerce div.product .woocommerce-tabs ul.tabs,
body.mode-dark .woocommerce div.product .woocommerce-tabs ul.tabs:before,
body.mode-dark .woocommerce table.shop_table {
  border-color: var(--equicon-border-color-dark);
}

body.mode-dark table,
body.mode-dark th,
body.mode-dark td {
  border-color: var(--equicon-border-color-dark);
  color: var(--equicon-section-text-dark);
}

body.mode-dark hr,
body.mode-dark .wp-block-separator {
  background-color: var(--equicon-border-color-dark);
  color: var(--equicon-border-color-dark);
}

body.mode-dark input,
body.mode-dark textarea,
body.mode-dark select {
  background-color: var(--equicon-input-background-dark);
  color: var(--equicon-section-text-dark);
  border-color: var(--equicon-border-color-dark);
}

body.mode-dark input::placeholder,
body.mode-dark textarea::placeholder {
  color: var(--equicon-input-placeholder-dark);
}

body.mode-dark button:not(.aktd-hero-menu-toggle),
body.mode-dark .ast-button,
body.mode-dark .ast-outline-button,
body.mode-dark input[type='submit'],
body.mode-dark input[type='button'],
body.mode-dark .button,
body.mode-dark .wp-block-button__link {
  background-color: transparent;
  color: var(--equicon-section-text-dark);
  border-color: var(--equicon-border-color-dark);
  text-decoration: none;
}

body.mode-dark button:not(.aktd-hero-menu-toggle):hover,
body.mode-dark .ast-button:hover,
body.mode-dark .ast-outline-button:hover,
body.mode-dark input[type='submit']:hover,
body.mode-dark input[type='button']:hover,
body.mode-dark .button:hover,
body.mode-dark .wp-block-button__link:hover {
  background-color: var(--equicon-accent-color);
  color: var(--equicon-body-background-dark);
  border-color: var(--equicon-accent-color);
  text-decoration: none;
}

body.mode-dark .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--equicon-section-link-dark);
  border-color: var(--equicon-section-link-dark);
}

body.mode-dark .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--equicon-section-link-dark);
  color: var(--equicon-body-background-dark);
}

body.mode-dark .ast-breadcrumbs-wrapper a,
body.mode-dark .ast-breadcrumbs-wrapper span {
  color: var(--equicon-section-text-dark);
}

body.mode-dark .swiper-pagination-bullet,
body.mode-dark .swiper-button-next,
body.mode-dark .swiper-button-prev {
  background-color: var(--equicon-section-link-dark);
  color: var(--equicon-body-background-dark);
}

body.mode-dark .swiper-pagination-bullet-active {
  background-color: var(--equicon-section-link-dark-hover);
}

/* Search results readability in dark mode */
body.mode-dark.search,
body.mode-dark.search-results {
  --aktd-search-text: var(--equicon-section-text-dark, #f5f5f5);
  --aktd-search-muted: rgba(245, 245, 245, 0.78);
  --aktd-search-surface: var(--equicon-surface-background-dark, #131a24);
  --aktd-search-border: var(--equicon-border-color-dark, rgba(245, 245, 245, 0.22));
}

body.mode-dark.search .site-main .ast-article-post,
body.mode-dark.search-results .site-main .ast-article-post {
  background-color: var(--aktd-search-surface);
  border-color: var(--aktd-search-border);
}

body.mode-dark.search :is(.entry-title, .entry-title a, .entry-title a:visited),
body.mode-dark.search-results :is(.entry-title, .entry-title a, .entry-title a:visited) {
  color: var(--aktd-search-text) !important;
}

body.mode-dark.search :is(.entry-title a:hover, .entry-title a:focus),
body.mode-dark.search-results :is(.entry-title a:hover, .entry-title a:focus) {
  color: var(--equicon-section-link-dark-hover, #d7e0ea) !important;
}

body.mode-dark.search :is(.entry-content, .entry-summary, .entry-content p, .entry-summary p),
body.mode-dark.search-results :is(.entry-content, .entry-summary, .entry-content p, .entry-summary p) {
  color: var(--aktd-search-muted) !important;
}

body.mode-dark.search :is(.ast-pagination a, .ast-pagination span, .page-numbers),
body.mode-dark.search-results :is(.ast-pagination a, .ast-pagination span, .page-numbers) {
  border-color: var(--aktd-search-border) !important;
  color: var(--aktd-search-text) !important;
}

.wpb-content-wrapper ul:not(.akt-fullwidth-feature-list__items),
.entry-content ul:not(.akt-fullwidth-feature-list__items),
.widget ul:not(.akt-fullwidth-feature-list__items) {
  list-style: none;
  padding-left: 28pt;
}

.wpb-content-wrapper ul:not(.akt-fullwidth-feature-list__items) li,
.entry-content ul:not(.akt-fullwidth-feature-list__items) li,
.widget ul:not(.akt-fullwidth-feature-list__items) li {
  position: relative;
  font-size: 20px;
}

.wpb-content-wrapper ul:not(.akt-fullwidth-feature-list__items) li::before,
.entry-content ul:not(.akt-fullwidth-feature-list__items) li::before,
.widget ul:not(.akt-fullwidth-feature-list__items) li::before{
  content: '';
  position: absolute;
  top: 0.85em;
  left: -28pt;
  width: 20pt;
  height: 2pt;
  background-image: url('/wp-content/themes/equicon-aktd/equicon_icons_svg/bullet_line_green.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translateY(-50%);
}

@media (max-width: 1200px) {
  .wpb-content-wrapper ul:not(.akt-fullwidth-feature-list__items),
  .entry-content ul:not(.akt-fullwidth-feature-list__items),
  .widget ul:not(.akt-fullwidth-feature-list__items) {
    padding-left: 0;
  }

  .wpb-content-wrapper ul:not(.akt-fullwidth-feature-list__items) li,
  .entry-content ul:not(.akt-fullwidth-feature-list__items) li,
  .widget ul:not(.akt-fullwidth-feature-list__items) li {
    padding-left: calc(0.85rem + 16px);
  }

  .wpb-content-wrapper ul:not(.akt-fullwidth-feature-list__items) li::before,
  .entry-content ul:not(.akt-fullwidth-feature-list__items) li::before,
  .widget ul:not(.akt-fullwidth-feature-list__items) li::before {
    left: 0;
    width: 0.85rem;
  }
}

#menu-footer,
#menu-footer-englisch,
.menu-footer,
.menu-footer-englisch-container,
#menu-footer ul,
#menu-footer-englisch ul,
.menu-footer ul,
.menu-footer-englisch-container ul {
  padding-left: 0;
}

#menu-footer li,
#menu-footer-englisch li,
.menu-footer li,
.menu-footer-englisch-container li {
  position: static;
}

#menu-footer li::before,
#menu-footer-englisch li::before,
.menu-footer li::before,
.menu-footer-englisch-container li::before {
  content: none !important;
}

#menu-footer .menu-link,
#menu-footer .menu-link:visited,
#menu-footer .menu-link:hover,
#menu-footer .menu-link:focus,
#menu-footer-englisch .menu-link,
#menu-footer-englisch .menu-link:visited,
#menu-footer-englisch .menu-link:hover,
#menu-footer-englisch .menu-link:focus,
.menu-footer a,
.menu-footer a:visited,
.menu-footer a:hover,
.menu-footer a:focus,
.menu-footer-englisch-container a,
.menu-footer-englisch-container a:visited,
.menu-footer-englisch-container a:hover,
.menu-footer-englisch-container a:focus {
  color: inherit;
  text-decoration: none;
}

button,
button:hover,
button:focus,
button:active {
  background-color: transparent;
  text-decoration: none;
}

button:hover {
  background-color: var(--equicon-accent-color);
}

.wpb-content-wrapper .vc_section{
  padding-top:120px!important;
  padding-bottom:120px!important;
}

@media (max-width: 921px) {
  .akt-timeline .akt-timeline__year {
    text-align: left;
  }

  :root {
    --equicon-standard-text-size: 20px;
    --equicon-standard-text-line-height: 30px;
  }

  h2 {
    font-size: 30px !important;
    line-height: 30px !important;
  }

  h3 {
    font-size: 22px !important;
    line-height: 33px !important;
  }

  .text-xl,
  .text-xl p,
  p.text-xl {
    font-size: 24px !important;
    line-height: 36px !important;
  }

  .ast-container > .vc_row:not(.vc_row-no-padding) > .wpb_column > .vc_column-inner,
  .vc_section > .vc_row:not(.vc_row-no-padding) > .wpb_column > .vc_column-inner {
    padding-left: 37px !important;
    padding-right: 37px !important;
  }

  .vc_row > .wpb_column + .wpb_column,
  .vc_row_inner > .wpb_column + .wpb_column {
    margin-top: 35px;
  }

  /* Keep nested contact columns aligned with the same left/right edge on mobile */
  .wpb-content-wrapper .vc_row_inner.vc_row-fluid > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-template-page-home-hero .aktd-fullscreen-hero,
  .page-template-page-fullscreen-hero .aktd-fullscreen-hero,
  .aktd-hero-followup .vc_section > .vc_row[data-vc-full-width="true"],
  .aktd-hero-followup .vc_section > .vc_row[data-vc-stretch-content="true"],
  .wpb-content-wrapper .vc_section > .vc_row[data-vc-full-width="true"],
  .wpb-content-wrapper .vc_section > .vc_row[data-vc-stretch-content="true"] {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html,
  body.page-template-page-home-hero,
  body.page-template-page-fullscreen-hero,
  body.page-template-page-home-hero #page,
  body.page-template-page-fullscreen-hero #page,
  body.page-template-page-home-hero .site,
  body.page-template-page-fullscreen-hero .site,
  body.page-template-page-home-hero .site-content,
  body.page-template-page-fullscreen-hero .site-content {
    overflow-x: hidden;
  }

  .aktd-hero-followup .vc_row[data-vc-full-width="true"].vc_row-has-fill,
  .aktd-hero-followup .vc_row[data-vc-stretch-content="true"].vc_row-has-fill,
  .wpb-content-wrapper .vc_row[data-vc-full-width="true"].vc_row-has-fill,
  .wpb-content-wrapper .vc_row[data-vc-stretch-content="true"].vc_row-has-fill {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .aktd-hero-followup .vc_row-has-fill > .wpb_column > .vc_column-inner,
  .wpb-content-wrapper .vc_row-has-fill > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .wpb-content-wrapper :is(.wpb_single_image, .vc_single_image-wrapper, .akt-background-image, .akt-success-stories-slider__media) {
    width: calc(100% + 37px) !important;
    max-width: none !important;
    margin-right: -37px !important;
  }

  .wpb-content-wrapper :is(.wpb_single_image, .vc_single_image-wrapper, .akt-success-stories-slider__media) img {
    display: block;
    width: 100% !important;
    max-width: none !important;
  }

  .wpb-content-wrapper .wpb_single_image,
  .wpb-content-wrapper .vc_single_image-wrapper,
  .wpb-content-wrapper .akt-background-image,
  .wpb-content-wrapper .akt-success-stories-slider__media {
    width: calc(100% + 37px) !important;
    max-width: none !important;
    margin-right: -37px !important;
  }

  .wpb-content-wrapper .wpb_single_image img,
  .wpb-content-wrapper .vc_single_image-wrapper img,
  .wpb-content-wrapper .akt-success-stories-slider__media img {
    display: block;
    width: 100% !important;
    max-width: none !important;
  }

  .wpb-content-wrapper .akt-success-stories-slider {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    --akt-slider-content-width: 100%;
  }

  .wpb-content-wrapper .akt-success-stories-slider__frame,
  .wpb-content-wrapper .akt-success-stories-slider__viewport,
  .wpb-content-wrapper .akt-success-stories-slider__slides,
  .wpb-content-wrapper .akt-success-stories-slider__slide,
  .wpb-content-wrapper .akt-success-stories-slider__layout,
  .wpb-content-wrapper .akt-success-stories-slider__body {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .wpb-content-wrapper .akt-success-stories-slider__slides {
    height: auto !important;
    min-height: 0 !important;
  }

  .wpb-content-wrapper .akt-success-stories-slider__slide {
    height: auto !important;
  }

  .wpb-content-wrapper .akt-success-stories-slider__media {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .wpb-content-wrapper .akt-success-stories-slider__media img {
    max-width: 100% !important;
  }

  .wpb-content-wrapper .vc_section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}

.vc_section.section-variant-1,
.vc_section.section-variant-2,
.vc_section.section-variant-green {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.mode-light .vc_section.section-variant-1 {
  background-color: var(--equicon-section-light-variant-1);
  color: var(--equicon-section-text-light);
}

body.mode-dark .vc_section.section-variant-1 {
  background-color: var(--equicon-section-dark-variant-1);
  color: var(--equicon-section-text-dark);
}

body.mode-light .vc_section.section-variant-2 {
  background-color: var(--equicon-section-light-variant-2);
  color: var(--equicon-section-text-light);
}

body.mode-dark .vc_section.section-variant-2 {
  background-color: var(--equicon-section-dark-variant-2);
  color: var(--equicon-section-text-dark);
}

body.mode-light .vc_section.section-variant-green,
body.mode-dark .vc_section.section-variant-green {
  background: var(--equicon-section-green-variant);
  color: var(--equicon-font-color, #282828);
}

body.mode-light .vc_section.section-variant-green a,
body.mode-dark .vc_section.section-variant-green a {
  color: var(--equicon-font-color, #282828);
}

body.mode-light .vc_section.section-variant-green a:hover,
body.mode-light .vc_section.section-variant-green a:focus,
body.mode-dark .vc_section.section-variant-green a:hover,
body.mode-dark .vc_section.section-variant-green a:focus {
  color: var(--equicon-font-color, #282828);
}

/* WPBakery row helpers for the ISO green gradient and its light variant */
.vc_row.aktd-row-green-gradient,
.vc_section.aktd-row-green-gradient,
.vc_row.aktd-row-green-gradient-light,
.vc_section.aktd-row-green-gradient-light {
  padding: 60px 100px !important;
  position: relative;
  isolation: isolate;
  color: var(--equicon-font-color, #282828);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
}

.vc_row.aktd-row-green-gradient,
.vc_section.aktd-row-green-gradient {
  background: var(--equicon-section-green-variant);
}

.vc_row.aktd-row-green-gradient-light,
.vc_section.aktd-row-green-gradient-light {
  background: var(--equicon-section-green-variant-light);
}

.vc_row.aktd-row-green-gradient a,
.vc_section.aktd-row-green-gradient a,
.vc_row.aktd-row-green-gradient-light a,
.vc_section.aktd-row-green-gradient-light a {
  color: inherit;
}

.vc_row.aktd-row-green-gradient::before,
.vc_section.aktd-row-green-gradient::before,
.vc_row.aktd-row-green-gradient-light::before,
.vc_section.aktd-row-green-gradient-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.5;
  filter: blur(30px) brightness(1.15);
  transform: scale(1.05);
  z-index: -1;
}

.vc_row.aktd-row-green-gradient a:hover,
.vc_row.aktd-row-green-gradient a:focus,
.vc_row.aktd-row-green-gradient-light a:hover,
.vc_row.aktd-row-green-gradient-light a:focus,
.vc_section.aktd-row-green-gradient a:hover,
.vc_section.aktd-row-green-gradient a:focus,
.vc_section.aktd-row-green-gradient-light a:hover,
.vc_section.aktd-row-green-gradient-light a:focus {
  color: var(--equicon-font-color, #282828);
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light),
body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(h1, h2, h3, h4, h5, h6, p, li, span, label, blockquote, strong, em, small, .entry-content, .wpb_wrapper, .vc_column-inner, .wpb_text_column, .akt-fullwidth-feature-list, .akt-fullwidth-feature-list__items, .akt-fullwidth-feature-list__items li),
body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(a, a:hover, a:focus, button, .ast-button, .ast-outline-button, .button, .wpb_button, .vc_btn3, .wp-block-button__link, .elementor-button, .aktd-apply-button, [class*="akt-button"], .aktd-contact-form__submit) {
  color: var(--equicon-font-color, #282828) !important;
}

body.mode-dark :is(.vc_row.aktd-row-green-gradient-light, .vc_section.aktd-row-green-gradient-light) {
  background: var(--equicon-section-green-variant) !important;
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light) {
  --akt-feature-line-color: var(--equicon-font-color, #282828);
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(input, textarea, select) {
  background: transparent !important;
  color: var(--equicon-font-color, #282828) !important;
  border-color: var(--equicon-font-color, #282828) !important;
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(input, textarea)::placeholder {
  color: var(--equicon-input-placeholder-light, #808080) !important;
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(hr, .wp-block-separator, .vc_separator .vc_sep_holder .vc_sep_line, table, th, td) {
  border-color: var(--equicon-font-color, #282828) !important;
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(hr, .wp-block-separator) {
  background-color: var(--equicon-font-color, #282828) !important;
  color: var(--equicon-font-color, #282828) !important;
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(.akt-fullwidth-feature-list__items li, .wpb-content-wrapper ul li, .entry-content ul li)::before,
body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(.akt-fullwidth-feature-list__items li, .wpb-content-wrapper ul li, .entry-content ul li)::after {
  border-color: var(--equicon-font-color, #282828) !important;
  background-color: var(--equicon-font-color, #282828) !important;
}

/* Keep fullwidth-feature-list separators white in dark mode */
body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light, #allgemein, #general)
  .akt-fullwidth-feature-list__items li::before {
  border-color: #fff !important;
  background-color: #fff !important;
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  .akt-button-element {
  --akt-button-element-font-color: var(--equicon-font-color, #282828) !important;
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(.aktd-apply-button, .aktd-apply-button:hover, .aktd-apply-button:focus, .akt-button-element__link, .akt-button-element__link:hover, .akt-button-element__link:focus) {
  color: var(--equicon-font-color, #282828) !important;
  border-color: var(--equicon-section-text-light, #1f2933) !important;
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(.aktd-apply-button:hover, .aktd-apply-button:focus, .akt-button-element__link:hover, .akt-button-element__link:focus) {
  background-color: var(--equicon-accent-color, #A1B31F) !important;
}

body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light)
  :is(.aktd-apply-button__arrow, .akt-button-element__arrow)::before {
  background-image: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/arrows_double_right_dark-grey.svg") !important;
}

body.mode-dark .akt-jobs-list,
body.mode-dark :is(.section-variant-green, .aktd-row-green-gradient, .aktd-row-green-gradient-light) .akt-jobs-list {
  --akt-jobs-list-font-color: var(--equicon-font-color, #282828);
  --akt-jobs-list-content-color: var(--equicon-font-color, #282828);
}

body.mode-dark .akt-jobs-list__item,
body.mode-dark .akt-jobs-list__item :is(.akt-jobs-list__start, .akt-jobs-list__job-title, .akt-jobs-list__title-link, .akt-jobs-list__intro, .akt-jobs-list__meta, .akt-jobs-list__empty) {
  color: var(--equicon-font-color, #282828) !important;
}

body.mode-dark .akt-jobs-list__button,
body.mode-dark .akt-jobs-list__button:hover,
body.mode-dark .akt-jobs-list__button:focus {
  color: var(--equicon-font-color, #282828) !important;
}

body.mode-dark .akt-jobs-list__button-icon {
  background-image: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/arrows_double_right_dark-grey.svg") !important;
}

body.mode-dark :is(#allgemein, #general),
body.mode-dark :is(#allgemein, #general)
  :is(h1, h2, h3, h4, h5, h6, p, li, span, a, a:hover, a:focus, .wpb_text_column, .wpb_wrapper, .vc_column-inner, .akt-fullwidth-feature-list, .akt-fullwidth-feature-list__items, .akt-fullwidth-feature-list__items li, .akt-button-element, .akt-button-element__link, .akt-button-element__link:hover, .akt-button-element__link:focus) {
  color: var(--equicon-font-color, #282828) !important;
}

body.mode-dark :is(#allgemein, #general) .akt-fullwidth-feature-list {
  --akt-feature-line-color: #fff !important;
}

body.mode-dark :is(#allgemein, #general) .akt-fullwidth-feature-list__items li::before {
  border-color: #fff !important;
}

body.mode-dark :is(#allgemein, #general) .akt-button-element {
  --akt-button-element-font-color: var(--equicon-font-color, #282828) !important;
}

body.mode-dark :is(#allgemein, #general) .akt-button-element__link,
body.mode-dark :is(#allgemein, #general) .akt-button-element__link:hover,
body.mode-dark :is(#allgemein, #general) .akt-button-element__link:focus {
  border-color: var(--equicon-section-text-light, #1f2933) !important;
}

body.mode-dark :is(#allgemein, #general) .akt-button-element__arrow::before {
  background-image: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/arrows_double_right_dark-grey.svg") !important;
}

@media (max-width: 782px) {
  .vc_row.aktd-row-green-gradient,
  .vc_section.aktd-row-green-gradient,
  .vc_row.aktd-row-green-gradient-light,
  .vc_section.aktd-row-green-gradient-light {
    padding: 30px !important;
    width: calc(100% - 60px) !important;
    max-width: calc(100% - 60px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
  }

  .vc_row.aktd-row-green-gradient-light .vc_row:not(.vc_row-no-padding) > .wpb_column > .vc_column-inner,
  .vc_section.aktd-row-green-gradient-light .vc_row:not(.vc_row-no-padding) > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .vc_row.aktd-row-green-gradient-light .vc_column-inner,
  .vc_section.aktd-row-green-gradient-light .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 921px) {
  .ast-container > .vc_row.aktd-row-green-gradient-light > .wpb_column > .vc_column-inner,
  .vc_section > .vc_row.aktd-row-green-gradient-light > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .ast-container > .vc_row.aktd-row-green-gradient-light .vc_row > .wpb_column > .vc_column-inner,
  .vc_section > .vc_row.aktd-row-green-gradient-light .vc_row > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

body.mode-dark .vc_section.section-variant-1 a,
body.mode-dark .vc_section.section-variant-2 a {
  color: var(--equicon-section-link-dark);
}

body.mode-dark .vc_section.section-variant-1 a:hover,
body.mode-dark .vc_section.section-variant-2 a:hover,
body.mode-dark .vc_section.section-variant-1 a:focus,
body.mode-dark .vc_section.section-variant-2 a:focus {
  color: var(--equicon-section-link-dark-hover);
}

body.mode-dark .vc_section.section-variant-1 .wpb_button,
body.mode-dark .vc_section.section-variant-2 .wpb_button {
  border-color: var(--equicon-section-link-dark-hover);
}

/* Section lead paragraph (e.g., intro text above accordions) */
.vc_section .akt-section-lead,
.vc_section .akt-section-lead p {
  font-size: var(--equicon-standard-text-size);
  line-height: var(--equicon-standard-text-line-height);
  color: var(--equicon-font-color, #282828);
  font-weight: var(--equicon-standard-text-weight);
  margin-bottom: 1.5rem;
}

/* Keep accordion titles inside the row on narrow screens. */
.akt-accordion,
.akt-accordion__inner,
.akt-accordion__item,
.akt-accordion__heading,
.akt-accordion__trigger {
  min-width: 0;
}

.akt-accordion__title {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.akt-accordion__icon {
  flex: 0 0 1.35rem;
}

@media (max-width: 921px) {
  .akt-accordion__title {
    font-size: 17px;
    font-weight: 500;
    line-height: 27px;
  }
}

/* --------------------------------------------------------------
 * AKTD Kontaktformular (Contact Form 7)
 * -------------------------------------------------------------- */
.aktd-contact-form {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  color: var(--equicon-section-text-light, #1f2933);
  font-family: var(--equicon-font-family-base);
}

.aktd-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: clamp(18px, 2vw, 56px);
}

.aktd-contact-form__field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.aktd-contact-form__field--full {
  grid-column: 1 / -1;
}

.aktd-contact-form .aktd-contact-form__control {
  width: 100%;
  padding: 0.65rem 0;
  background: transparent !important;
  border: 0;
  border-bottom: 1px solid rgba(40, 40, 40, 0.38);
  border-radius: 0;
  box-shadow: none;
  color: var(--equicon-section-text-light, #1f2933);
  letter-spacing: 0.02em;
  transition: border-color 180ms ease, color 180ms ease;
}

.aktd-contact-form .aktd-contact-form__control:focus,
.aktd-contact-form .aktd-contact-form__control:active {
  outline: none;
  border-bottom-color: var(--equicon-accent-color, #A1B31F);
}

body.mode-dark .aktd-contact-form .aktd-contact-form__control {
  border-bottom-color: rgba(245, 245, 245, 0.4);
  color: var(--equicon-section-text-dark, #f5f5f5);
}

.aktd-contact-form .aktd-contact-form__control::placeholder {
  color: var(--equicon-input-placeholder-light);
}

body.mode-dark .aktd-contact-form .aktd-contact-form__control::placeholder {
  color: var(--equicon-input-placeholder-dark);
}

.aktd-contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.aktd-contact-form__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.aktd-contact-form__field--select {
  position: relative;
}

.aktd-contact-form__field--select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.65rem;
  width: 0.85rem;
  height: 0.5rem;
  transform: translateY(-50%);
  background-image: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/chevron_down_green.svg");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.aktd-contact-form .aktd-contact-form__control.wpcf7-not-valid {
  border-bottom-color: #b3261e;
}

.aktd-contact-form .wpcf7-not-valid-tip {
  display: none;
}

.aktd-contact-form ~ .wpcf7-response-output {
  border: 1px solid rgba(40, 40, 40, 0.25);
  margin: 1.5rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}

body.mode-dark .aktd-contact-form ~ .wpcf7-response-output {
  border-color: rgba(245, 245, 245, 0.35);
}

.wpcf7 form.sent .aktd-contact-form ~ .wpcf7-response-output {
  border: 2px solid var(--equicon-green-mid, #46b450) !important;
}

@media (max-width: 768px) {
  .aktd-contact-form__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.aktd-contact-form .wpcf7-form-control-wrap,
.aktd-contact-form .wpcf7-form-control {
  width: 100%;
  display: block;
}

.aktd-contact-form .wpcf7 input:not([type="submit"]),
.aktd-contact-form .wpcf7 select,
.aktd-contact-form .wpcf7 textarea {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------
 * Prefooter
 * -------------------------------------------------------------- */
.aktd-prefooter {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  color: var(--equicon-section-text-light, #1f2933) !important;
  background-color: var(--equicon-section-light-variant-1, #e8eff5) !important;
  overflow: hidden;
  isolation: isolate;
  clear: both;
  width: 100%;
  display: block;
  flex: 0 0 100%;
  grid-column: 1 / -1;
}

.aktd-prefooter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.3));
  z-index: 0;
  opacity: 0.9;
}

.aktd-prefooter.has-background::before {
  background-image:
    linear-gradient(115deg, rgba(248, 251, 255, 0.9), rgba(248, 251, 255, 0.45)),
    var(--aktd-prefooter-bg);
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
}

.aktd-prefooter__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(320px, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: flex-start;
  width: min(var(--equicon-max-content-width), calc(100% - clamp(2rem, 5vw, 4rem)));
  margin: 0 auto;
}

.aktd-prefooter--text-only .aktd-prefooter__inner {
  grid-template-columns: minmax(0, 1fr);
}

.aktd-prefooter__content {
  font-family: var(--equicon-font-family-base);
}

.aktd-prefooter__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  margin: 0 0 1.5rem;
  color: var(--equicon-section-text-light, #1f2933) !important;
}

.aktd-prefooter__description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.82) !important;
  padding-left: 0;
}

.aktd-prefooter__content p {
  color: rgba(15, 23, 42, 0.82) !important;
}

.aktd-prefooter__form {
  backdrop-filter: none;
  background-color: transparent;
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: none;
}

.aktd-prefooter__form .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.aktd-prefooter__form .wpcf7-form p {
  margin: 0;
}

.aktd-prefooter__form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.aktd-prefooter__form input:not([type="submit"]),
.aktd-prefooter__form select,
.aktd-prefooter__form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--equicon-border-color-light, rgba(15, 23, 42, 0.35)) !important;
  padding: 0.35rem 0;
  background: transparent;
  border-radius: 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--equicon-section-text-light, #1f2933) !important;
}

.aktd-prefooter__form input:not([type="submit"])::placeholder,
.aktd-prefooter__form textarea::placeholder {
  color: rgba(15, 23, 42, 0.55) !important;
  opacity: 1;
}

.aktd-prefooter__form input:not([type="submit"]):focus,
.aktd-prefooter__form select:focus,
.aktd-prefooter__form textarea:focus {
  outline: none;
  border-bottom-color: var(--equicon-accent-color, #A1B31F);
}

.aktd-prefooter__form textarea {
  min-height: 110px;
  resize: vertical;
}

.aktd-prefooter__form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2rem;
  background-image: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/chevron_down_dark-grey.svg");
  background-position: calc(100% - 12px) 55%;
  background-repeat: no-repeat;
  background-size: 0.55rem auto;
}

.aktd-prefooter__form input[type="submit"],
.aktd-prefooter__form button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: flex-start;
  margin-top: 1rem;
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.75);
  background: transparent;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 0.85rem;
  align-items: center;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.aktd-prefooter__form input[type="submit"]::after,
.aktd-prefooter__form button[type="submit"]::after {
  content: "";
  display: inline-block;
  width: 1.05rem;
  height: 0.6rem;
  background-image: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/arrows_double_right_dark-grey.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.aktd-prefooter__form input[type="submit"]:hover,
.aktd-prefooter__form input[type="submit"]:focus,
.aktd-prefooter__form button[type="submit"]:hover,
.aktd-prefooter__form button[type="submit"]:focus {
  background: rgba(15, 23, 42, 0.9);
  color: #f7fafc;
  border-color: rgba(15, 23, 42, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.aktd-prefooter__form input[type="submit"]:hover::after,
.aktd-prefooter__form input[type="submit"]:focus::after,
.aktd-prefooter__form button[type="submit"]:hover::after,
.aktd-prefooter__form button[type="submit"]:focus::after {
  background-image: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/arrows_double_right_white.svg");
}

.aktd-prefooter--text-light {
  color: var(--equicon-section-text-dark, #f5f5f5) !important;
  background-color: rgba(12, 18, 31, 0.45) !important;
}


.aktd-prefooter--text-light .aktd-prefooter__title,
.aktd-prefooter--text-light .aktd-prefooter__description,
.aktd-prefooter--text-light .aktd-prefooter__content p {
  color: rgba(247, 250, 252, 0.92) !important;
}


.aktd-prefooter--text-light .aktd-prefooter__form input:not([type="submit"]),
.aktd-prefooter--text-light .aktd-prefooter__form select,
.aktd-prefooter--text-light .aktd-prefooter__form textarea {
  border-bottom-color: rgba(247, 250, 252, 0.65) !important;
  color: rgba(247, 250, 252, 0.95) !important;
}

.aktd-prefooter--text-light .aktd-prefooter__form select {
  background-image: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/chevron_down_white.svg");
}


.aktd-prefooter--text-light .aktd-prefooter__form input:not([type="submit"])::placeholder,
.aktd-prefooter--text-light .aktd-prefooter__form textarea::placeholder {
  color: rgba(247, 250, 252, 0.65) !important;
}


.aktd-prefooter--text-light .aktd-prefooter__form input[type="submit"],
.aktd-prefooter--text-light .aktd-prefooter__form button[type="submit"] {
  border-color: rgba(247, 250, 252, 0.75) !important;
  color: #f7fafc !important;
}

.aktd-prefooter--text-light .aktd-prefooter__form input[type="submit"]::after,
.aktd-prefooter--text-light .aktd-prefooter__form button[type="submit"]::after {
  background-image: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/arrows_double_right_white.svg");
}


.aktd-prefooter--text-light .aktd-prefooter__form input[type="submit"]:hover,
.aktd-prefooter--text-light .aktd-prefooter__form input[type="submit"]:focus,
.aktd-prefooter--text-light .aktd-prefooter__form button[type="submit"]:hover,
.aktd-prefooter--text-light .aktd-prefooter__form button[type="submit"]:focus {
  border-color: rgba(247, 250, 252, 0.95) !important;
}

@media (max-width: 1024px) {
  .aktd-prefooter__inner {
    grid-template-columns: 1fr;
  }

  .aktd-prefooter__form {
    grid-row: 2;
  }
}

@media (min-width: 1025px) {
  .aktd-prefooter__description {
    padding-left: 100px;
  }
}

@media (max-width: 640px) {
  .aktd-prefooter {
    padding: clamp(2rem, 10vw, 3rem) clamp(1.25rem, 7vw, 2rem);
  }

  .aktd-prefooter__form .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .aktd-prefooter__form input[type="submit"],
  .aktd-prefooter__form button[type="submit"] {
    width: 100%;
    justify-content: center;
  }
}

/* Ensure DE/EN footer widget menu keeps identical styling */
.site-footer .widget_nav_menu ul[id^="menu-footer"],
.site-footer .widget_nav_menu ul[class*="menu-footer"],
.site-footer .widget_nav_menu ul[id^="menu-footer"] ul,
.site-footer .widget_nav_menu ul[class*="menu-footer"] ul {
  padding-left: 0;
  display: block !important;
}

.site-footer .widget_nav_menu ul[id^="menu-footer"] li,
.site-footer .widget_nav_menu ul[class*="menu-footer"] li {
  display: block !important;
  width: 100%;
  position: static;
  margin: 0;
  padding: 0;
}

.site-footer .widget_nav_menu ul[id^="menu-footer"] li::before,
.site-footer .widget_nav_menu ul[class*="menu-footer"] li::before {
  content: none !important;
}

.site-footer .widget_nav_menu ul[id^="menu-footer"] .menu-link,
.site-footer .widget_nav_menu ul[id^="menu-footer"] .menu-link:visited,
.site-footer .widget_nav_menu ul[id^="menu-footer"] .menu-link:hover,
.site-footer .widget_nav_menu ul[id^="menu-footer"] .menu-link:focus,
.site-footer .widget_nav_menu ul[class*="menu-footer"] a,
.site-footer .widget_nav_menu ul[class*="menu-footer"] a:visited,
.site-footer .widget_nav_menu ul[class*="menu-footer"] a:hover,
.site-footer .widget_nav_menu ul[class*="menu-footer"] a:focus {
  color: inherit;
  text-decoration: none;
  display: block;
  font-size: 16px;
  line-height: 27px;
}

.aktd-contact-form,
.aktd-contact-form p,
.aktd-contact-form label,
.aktd-contact-form .wpcf7-list-item-label {
  font-size: var(--equicon-standard-text-size, 1rem);
  line-height: var(--equicon-standard-text-line-height, 42px);
}

.aktd-contact-form .aktd-contact-form__control {
  border-bottom: 2px solid rgba(40, 40, 40, 0.55) !important;
  padding: 0.5rem 0 0.55rem;
}

.aktd-contact-form .aktd-contact-form__control:focus,
.aktd-contact-form .aktd-contact-form__control:active {
  border-bottom-width: 2px;
  border-bottom-color: var(--equicon-accent-color, #A1B31F);
}

body.mode-dark .aktd-contact-form .aktd-contact-form__control {
  border-bottom: 2px solid rgba(245, 245, 245, 0.62) !important;
}

.aktd-contact-form .aktd-contact-form__select,
.aktd-contact-form select.aktd-contact-form__control {
  letter-spacing: 0.02em;
}

.aktd-contact-form .aktd-contact-form__select option {
  font-style: normal;
}

.wpcf7 form {
  position: relative;
}

.wpcf7 form.invalid .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.unaccepted .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.payment-required .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.spam .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.aborted .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.failed .aktd-contact-form ~ .wpcf7-response-output {
  border: 2px solid #d5bd1f !important;
}

body.mode-dark .wpcf7 form.invalid .aktd-contact-form ~ .wpcf7-response-output,
body.mode-dark .wpcf7 form.unaccepted .aktd-contact-form ~ .wpcf7-response-output,
body.mode-dark .wpcf7 form.payment-required .aktd-contact-form ~ .wpcf7-response-output,
body.mode-dark .wpcf7 form.spam .aktd-contact-form ~ .wpcf7-response-output,
body.mode-dark .wpcf7 form.aborted .aktd-contact-form ~ .wpcf7-response-output,
body.mode-dark .wpcf7 form.failed .aktd-contact-form ~ .wpcf7-response-output {
  color: var(--equicon-section-text-dark, #f5f5f5);
  background: rgba(12, 18, 31, 0.35);
  border-color: rgba(213, 189, 31, 0.95) !important;
}

.aktd-contact-form .wpcf7-list-item-label,
.aktd-contact-form .wpcf7-not-valid-tip,
.aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.invalid .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.unaccepted .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.payment-required .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.spam .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.aborted .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.failed .aktd-contact-form ~ .wpcf7-response-output {
  font-size: var(--equicon-standard-text-size, 1rem) !important;
  line-height: var(--equicon-standard-text-line-height, 42px) !important;
  font-family: var(--equicon-font-family-base) !important;
}

.aktd-prefooter__description,
.aktd-prefooter__content p {
  font-size: clamp(1.15rem, 1.35vw, 1.45rem) !important;
  line-height: 1.62 !important;
}

.aktd-contact-form select.aktd-contact-form__control,
.aktd-contact-form .aktd-contact-form__select {
  padding: 0.42rem 2rem 0.62rem 0 !important;
  line-height: 1.3 !important;
  min-height: 2.3rem;
  background-position: calc(100% - 8px) 52% !important;
}

.aktd-contact-form .aktd-contact-form__field--select::after {
  top: calc(50% - 1px);
}


.aktd-prefooter {
  padding: clamp(3.2rem, 6.8vw, 7rem) clamp(1.6rem, 5vw, 4.8rem) !important;
}

.aktd-prefooter__inner {
  grid-template-columns: minmax(320px, 0.95fr) minmax(540px, 1.35fr) !important;
  gap: clamp(2.6rem, 4.2vw, 5.2rem) !important;
  align-items: start !important;
}

.aktd-prefooter__title {
  margin: 0 0 clamp(2.2rem, 4vh, 3.2rem) 0 !important;
  font-size: clamp(2.6rem, 4.4vw, 4.6rem) !important;
  line-height: 1.06 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.aktd-prefooter__description,
.aktd-prefooter__content p {
  margin: 0 !important;
  max-width: 24ch !important;
  font-size: clamp(1.8rem, 2.35vw, 3.05rem) !important;
  line-height: 1.36 !important;
  font-weight: 400 !important;
  color: rgba(30, 36, 46, 0.9) !important;
}

.aktd-prefooter__form {
  padding: 0 !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

.aktd-prefooter__form .wpcf7-form {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(1.1rem, 1.8vw, 2rem) clamp(1.2rem, 2.2vw, 2.4rem) !important;
}

.aktd-prefooter__form .wpcf7-form p,
.aktd-contact-form .aktd-contact-form__field {
  margin: 0 !important;
}

.aktd-contact-form .aktd-contact-form__field--full {
  grid-column: 1 / -1 !important;
}

.aktd-contact-form .aktd-contact-form__control,
.aktd-prefooter__form input:not([type="submit"]),
.aktd-prefooter__form select,
.aktd-prefooter__form textarea {
  width: 100% !important;
  border: 0 !important;
  border-bottom: 2px solid rgba(46, 50, 57, 0.78) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(34, 40, 49, 0.95) !important;
  font-family: var(--equicon-font-family-base) !important;
  font-size: clamp(1.18rem, 1.45vw, 1.95rem) !important;
  font-weight: 400 !important;
  line-height: 1.32 !important;
  letter-spacing: 0.01em !important;
  padding: 0.44rem 0 0.5rem !important;
}

.aktd-contact-form .aktd-contact-form__control::placeholder,
.aktd-prefooter__form input:not([type="submit"])::placeholder,
.aktd-prefooter__form textarea::placeholder {
  color: rgba(75, 80, 90, 0.55) !important;
  opacity: 1 !important;
  font-style: normal !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.aktd-contact-form .aktd-contact-form__control:focus,
.aktd-prefooter__form input:not([type="submit"]):focus,
.aktd-prefooter__form select:focus,
.aktd-prefooter__form textarea:focus {
  outline: none !important;
  border-bottom-color: rgba(46, 50, 57, 0.9) !important;
}

.aktd-contact-form .aktd-contact-form__field--select {
  position: relative !important;
}

.aktd-contact-form .aktd-contact-form__select,
.aktd-contact-form select.aktd-contact-form__control,
.aktd-prefooter__form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding: 0.44rem 2rem 0.5rem 0 !important;
  min-height: 2.2rem !important;
  line-height: 1.28 !important;
  background-image: none !important;
}

.aktd-contact-form .aktd-contact-form__field--select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.1rem;
  width: 16px;
  height: 8px;
  transform: translateY(-48%);
  background-image: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/chevron_down_green.svg") !important;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.aktd-contact-form__textarea,
.aktd-prefooter__form textarea {
  min-height: clamp(9rem, 13vw, 13rem) !important;
  resize: vertical;
}

.aktd-prefooter__form input[type="submit"],
.aktd-prefooter__form button[type="submit"] {
  margin-top: clamp(1.35rem, 2.6vw, 2.1rem) !important;
  padding: 0.62rem 1.7rem !important;
  border-radius: 999px !important;
  border: 2px solid rgba(45, 50, 58, 0.82) !important;
  background: transparent !important;
  color: rgba(35, 41, 49, 0.96) !important;
  font-family: var(--equicon-font-family-base) !important;
  font-size: clamp(1.2rem, 1.45vw, 1.95rem) !important;
  font-weight: 400 !important;
  line-height: 1.22 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

.aktd-prefooter__form input[type="submit"]:hover,
.aktd-prefooter__form input[type="submit"]:focus,
.aktd-prefooter__form button[type="submit"]:hover,
.aktd-prefooter__form button[type="submit"]:focus {
  background: rgba(255,255,255,0.22) !important;
  border-color: rgba(32, 37, 45, 0.95) !important;
  color: rgba(32, 37, 45, 0.98) !important;
}

.wpcf7 form {
  position: relative !important;
}

@media (max-width: 1140px) {
  .aktd-prefooter__inner {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .aktd-prefooter__form,
  .aktd-prefooter__form .wpcf7,
  .aktd-prefooter__form .wpcf7-form,
  .aktd-prefooter .aktd-contact-form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .aktd-prefooter__description,
  .aktd-prefooter__content p {
    max-width: none !important;
  }
}

.aktd-contact-form input.aktd-contact-form__control:not(.aktd-contact-form__select),
.aktd-prefooter__form input.aktd-contact-form__control:not(.aktd-contact-form__select) {
  padding-top: 0.22rem !important;
  padding-bottom: 0.72rem !important;
}

/* Subject/Betreff select must sit clearly above the underline */
.aktd-contact-form .aktd-contact-form__field--select select.aktd-contact-form__control,
.aktd-prefooter__form .aktd-contact-form__field--select select.aktd-contact-form__control,
.aktd-contact-form select.aktd-contact-form__select {
  padding-top: 0.08rem !important;
  padding-bottom: 0.32rem !important;
  min-height: 2rem !important;
}

.aktd-contact-form .aktd-contact-form__field--select::after {
  top: calc(50% - 3px) !important;
}

/* CF7 error box: distinct background, always rendered below the form (see .aktd-prefooter__form .wpcf7-form single-column grid) */
.wpcf7 form.invalid .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.unaccepted .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.payment-required .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.spam .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.aborted .aktd-contact-form ~ .wpcf7-response-output,
.wpcf7 form.failed .aktd-contact-form ~ .wpcf7-response-output {
  background: rgba(232, 239, 245, 0.98) !important;
}

body.mode-dark .wpcf7 form.invalid .aktd-contact-form ~ .wpcf7-response-output,
body.mode-dark .wpcf7 form.unaccepted .aktd-contact-form ~ .wpcf7-response-output,
body.mode-dark .wpcf7 form.payment-required .aktd-contact-form ~ .wpcf7-response-output,
body.mode-dark .wpcf7 form.spam .aktd-contact-form ~ .wpcf7-response-output,
body.mode-dark .wpcf7 form.aborted .aktd-contact-form ~ .wpcf7-response-output,
body.mode-dark .wpcf7 form.failed .aktd-contact-form ~ .wpcf7-response-output {
  background: rgba(18, 26, 38, 0.92) !important;
}

/* Contact form privacy consent (DE/EN) */
.aktd-contact-form__consent {
  margin-top: .4rem !important;
}

.aktd-contact-form__consent .wpcf7-list-item {
  margin: 0;
}

.aktd-contact-form__consent .wpcf7-list-item-label {
  font-size: 18px!important;
  line-height: var(--equicon-standard-text-line-height, 42px) !important;
  color: rgba(34, 40, 49, 0.92);
}

.aktd-contact-form__consent a {
  color: inherit;
  text-decoration: underline;
}

.aktd-contact-form__consent input[type="checkbox"] {
  transform: translateY(1px);
  margin-right: .5rem;
}

/* Consent checkbox alignment: checkbox must be left of sentence start */
.aktd-contact-form__consent .wpcf7-acceptance .wpcf7-list-item,
.aktd-contact-form__consent .wpcf7-list-item {
  margin: 0 !important;
}

.aktd-contact-form__consent .wpcf7-list-item > label {
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: 0.5rem;
}

.aktd-contact-form__consent .wpcf7-list-item input[type="checkbox"] {
  margin: 0 !important;
  transform: none !important;
  position: relative;
  top: 0.2em;
  flex: 0 0 auto;
}

.aktd-contact-form__consent .wpcf7-list-item-label {
  display: inline !important;
}

.aktd-contact-form__consent .wpcf7-form-control-wrap,
.aktd-contact-form__consent .wpcf7-acceptance,
.aktd-contact-form__consent .wpcf7-list-item,
.aktd-contact-form__consent .wpcf7-list-item > label {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.55rem !important;
  width: 100% !important;
}

.aktd-contact-form__consent input[type="checkbox"],
.aktd-prefooter__form .aktd-contact-form__consent input[type="checkbox"] {
  width: auto !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  margin: 0.18rem 0 0 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(45, 50, 58, 0.7) !important;
  border-radius: 2px !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  flex: 0 0 auto !important;
}

.aktd-contact-form__consent .wpcf7-list-item-label {
  display: inline !important;
  width: auto !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
}

/* Lock contact form control typography against parent theme overrides */
body .aktd-contact-form input.aktd-contact-form__control,
body .aktd-contact-form textarea.aktd-contact-form__control,
body .aktd-contact-form select.aktd-contact-form__control,
body .aktd-contact-form input[type="file"].wpcf7-file,
body .aktd-contact-form .wpcf7 input[type="file"],
body .aktd-contact-form .aktd-contact-form__select {
  font-family: var(--equicon-font-family-heading) !important;
  font-weight: 300 !important;
  font-size: 18px !important;
  line-height: 32px !important;
}

body .aktd-contact-form input[type="file"].wpcf7-file::file-selector-button,
body .aktd-contact-form .wpcf7 input[type="file"]::file-selector-button,
body .aktd-contact-form input[type="file"].wpcf7-file::-webkit-file-upload-button,
body .aktd-contact-form .wpcf7 input[type="file"]::-webkit-file-upload-button {
  font-family: var(--equicon-font-family-heading) !important;
  font-weight: 300 !important;
  font-size: 18px !important;
  line-height: 32px !important;
}

body .aktd-contact-form input.aktd-contact-form__control::placeholder,
body .aktd-contact-form textarea.aktd-contact-form__control::placeholder {
  color: var(--equicon-input-placeholder-light) !important;
  font-family: var(--equicon-font-family-heading) !important;
  font-weight: 300 !important;
  font-size: 18px !important;
  line-height: 32px !important;
  font-style: normal !important;
}

body.mode-dark .aktd-contact-form input.aktd-contact-form__control::placeholder,
body.mode-dark .aktd-contact-form textarea.aktd-contact-form__control::placeholder {
  color: var(--equicon-input-placeholder-dark) !important;
}

body .aktd-contact-form .aktd-contact-form__select:required:invalid,
body .aktd-contact-form select.aktd-contact-form__control:required:invalid {
  color: var(--equicon-input-placeholder-light) !important;
  font-family: var(--equicon-font-family-heading) !important;
  font-weight: 300 !important;
  font-size: 18px !important;
  line-height: 32px !important;
  font-style: normal !important;
}

body.mode-dark .aktd-contact-form .aktd-contact-form__select:required:invalid,
body.mode-dark .aktd-contact-form select.aktd-contact-form__control:required:invalid {
  color: var(--equicon-input-placeholder-dark) !important;
}

body .aktd-contact-form .aktd-contact-form__submit,
body .aktd-contact-form input[type="submit"].aktd-contact-form__submit,
body .aktd-contact-form button[type="submit"].aktd-contact-form__submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100%;
  margin-top: 2rem !important;
  padding: 0 24px !important;
  border: 1px solid var(--equicon-font-color, #282828) !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--equicon-font-color, #282828) !important;
  font-size: 18px !important;
  line-height: 43px !important;
  text-transform: none !important;
}

/* Prefooter typography reset to standard hierarchy */
.aktd-prefooter__title {
  font-family: var(--equicon-font-family-heading) !important;
  font-size: 40px !important;
  line-height: 55px !important;
  font-weight: var(--equicon-h2-weight, 400) !important;
  margin: 0 0 1.5rem 0 !important;
}

.aktd-prefooter__description,
.aktd-prefooter__content p {
  font-size: var(--equicon-standard-text-size, 1rem) !important;
  line-height: var(--equicon-standard-text-line-height, 42px) !important;
  font-weight: var(--equicon-standard-text-weight, 400) !important;
  max-width: none !important;
}

/* Prefooter text colors are controlled by the prefooter setting, not global light/dark mode */
.aktd-prefooter--text-dark {
  --aktd-prefooter-copy-color: var(--equicon-section-text-light, #1f2933);
  --aktd-prefooter-link-color: var(--equicon-section-text-light, #1f2933);
  --aktd-prefooter-field-color: rgba(34, 40, 49, 0.95);
  --aktd-prefooter-field-border-color: rgba(46, 50, 57, 0.78);
  --aktd-prefooter-field-border-focus-color: rgba(46, 50, 57, 0.95);
  --aktd-prefooter-field-placeholder-color: rgba(75, 80, 90, 0.55);
  --aktd-prefooter-field-select-icon: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/chevron_down_dark-grey.svg");
}

.aktd-prefooter--text-light {
  --aktd-prefooter-copy-color: var(--equicon-section-text-dark, #f5f5f5);
  --aktd-prefooter-link-color: rgba(247, 250, 252, 0.92);
  --aktd-prefooter-field-color: rgba(247, 250, 252, 0.95);
  --aktd-prefooter-field-border-color: rgba(247, 250, 252, 0.65);
  --aktd-prefooter-field-border-focus-color: rgba(247, 250, 252, 0.95);
  --aktd-prefooter-field-placeholder-color: rgba(247, 250, 252, 0.65);
  --aktd-prefooter-field-select-icon: url("/wp-content/themes/equicon-aktd/equicon_icons_svg/chevron_down_white.svg");
}

body .aktd-prefooter,
body .aktd-prefooter .aktd-prefooter__content,
body .aktd-prefooter .aktd-prefooter__title,
body .aktd-prefooter .aktd-prefooter__description,
body .aktd-prefooter .aktd-prefooter__content p,
body .aktd-prefooter .aktd-prefooter__form p,
body .aktd-prefooter .wpcf7-list-item-label,
body .aktd-prefooter .wpcf7-not-valid-tip,
body .aktd-prefooter :is(p, li, span, label, blockquote) {
  color: var(--aktd-prefooter-copy-color) !important;
}

body .aktd-prefooter a:not(.ast-button):not(.ast-outline-button):not(.button):not(.wp-block-button__link):not(.elementor-button):not(.aktd-fullscreen-hero__cta):not(.aktd-fullscreen-hero__link):not(.aktd-apply-button):not([class*="akt-button"]) {
  color: var(--aktd-prefooter-link-color) !important;
  text-decoration: underline;
}

body .aktd-prefooter a:not(.ast-button):not(.ast-outline-button):not(.button):not(.wp-block-button__link):not(.elementor-button):not(.aktd-fullscreen-hero__cta):not(.aktd-fullscreen-hero__link):not(.aktd-apply-button):not([class*="akt-button"]):hover,
body .aktd-prefooter a:not(.ast-button):not(.ast-outline-button):not(.button):not(.wp-block-button__link):not(.elementor-button):not(.aktd-fullscreen-hero__cta):not(.aktd-fullscreen-hero__link):not(.aktd-apply-button):not([class*="akt-button"]):focus {
  color: var(--aktd-prefooter-link-color) !important;
  text-decoration: underline;
}

/* Prefooter form fields must follow the prefooter text setting, not global light/dark mode */
body .aktd-prefooter .aktd-prefooter__form input:not([type="submit"]),
body .aktd-prefooter .aktd-prefooter__form select,
body .aktd-prefooter .aktd-prefooter__form textarea,
body .aktd-prefooter .aktd-prefooter__form .aktd-contact-form__control,
body .aktd-prefooter .aktd-prefooter__form .aktd-contact-form__select {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--aktd-prefooter-field-color) !important;
  border-color: var(--aktd-prefooter-field-border-color) !important;
  border-bottom-color: var(--aktd-prefooter-field-border-color) !important;
}

body .aktd-prefooter .aktd-prefooter__form input:not([type="submit"])::placeholder,
body .aktd-prefooter .aktd-prefooter__form textarea::placeholder,
body .aktd-prefooter .aktd-contact-form input.aktd-contact-form__control::placeholder,
body .aktd-prefooter .aktd-contact-form textarea.aktd-contact-form__control::placeholder,
body .aktd-prefooter .aktd-prefooter__form .aktd-contact-form__control::placeholder {
  color: var(--aktd-prefooter-field-placeholder-color) !important;
}

body .aktd-prefooter .aktd-prefooter__form input:not([type="submit"]):focus,
body .aktd-prefooter .aktd-prefooter__form select:focus,
body .aktd-prefooter .aktd-prefooter__form textarea:focus,
body .aktd-prefooter .aktd-prefooter__form .aktd-contact-form__control:focus,
body .aktd-prefooter .aktd-prefooter__form .aktd-contact-form__select:focus {
  border-bottom-color: var(--aktd-prefooter-field-border-focus-color) !important;
}

body .aktd-prefooter .aktd-prefooter__form .aktd-contact-form__select:required:invalid,
body .aktd-prefooter .aktd-contact-form .aktd-contact-form__select:required:invalid,
body .aktd-prefooter .aktd-contact-form select.aktd-contact-form__control:required:invalid,
body .aktd-prefooter .aktd-prefooter__form select:required:invalid {
  color: var(--aktd-prefooter-field-placeholder-color) !important;
}

body .aktd-prefooter .aktd-prefooter__form select {
  background-image: var(--aktd-prefooter-field-select-icon) !important;
}

body .aktd-prefooter .aktd-contact-form__field--select::after {
  background-image: var(--aktd-prefooter-field-select-icon) !important;
}

body .aktd-prefooter .aktd-contact-form__consent input[type="checkbox"] {
  border-color: var(--aktd-prefooter-field-border-color) !important;
}

@media (max-width: 921px) {
  body .aktd-prefooter {
    padding-left: 37px !important;
    padding-right: 37px !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }

  body .aktd-prefooter__inner,
  body .aktd-prefooter__form,
  body .aktd-prefooter__form .wpcf7,
  body .aktd-prefooter__form .wpcf7-form,
  body .aktd-contact-form {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body .aktd-prefooter__form .wpcf7-form,
  body .aktd-contact-form__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
  }

  body .aktd-contact-form__field,
  body .aktd-contact-form__field--full,
  body .aktd-prefooter__form .wpcf7-form > p {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }

  body .aktd-contact-form .aktd-contact-form__control,
  body .aktd-prefooter__form input:not([type="submit"]),
  body .aktd-prefooter__form select,
  body .aktd-prefooter__form textarea {
    box-sizing: border-box;
    max-width: 100% !important;
  }

}

/* Karriere: white left stripes for benefit list */
.page-id-230 .section-variant-green .akt-fullwidth-feature-list,
.page-id-173 .section-variant-green .akt-fullwidth-feature-list {
  --akt-feature-line-color: #ffffff;
}

.page-id-230 .section-variant-green .akt-fullwidth-feature-list__items li::before,
.page-id-173 .section-variant-green .akt-fullwidth-feature-list__items li::before {
  border-top-width: 2px;
  opacity: 1;
}

/* Footer follows the same content grid as the page body. */
body .site-footer .site-primary-footer-wrap {
  padding-top: 72px !important;
  padding-bottom: 56px !important;
}

body .site-footer .ast-builder-grid-row-container-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--equicon-max-content-width);
  margin-left: auto;
  margin-right: auto;
}

body .site-footer .site-primary-footer-inner-wrap,
body .site-footer .site-footer-section,
body .site-footer .footer-widget-area,
body .site-footer .footer-widget-area-inner,
body .site-footer .widget {
  text-align: left !important;
}

body .site-footer .widget,
body .site-footer .widget_text p {
  margin: 0;
}

body .site-footer .footer-widget-area img {
  display: block;
  width: min(160px, 100%);
  max-width: 100%;
  height: auto;
}

body .site-footer #menu-footer,
body .site-footer #menu-footer-englisch {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 922px) {
  body .site-footer .ast-builder-grid-row-container-inner {
    padding-left: 100px;
    padding-right: 0;
  }
}

@media (max-width: 921px) {
  body .site-footer .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    display: block !important;
    padding: 72px 0 56px !important;
  }

  body .site-footer .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row-container-inner {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 37px !important;
  }

  body .site-footer .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-primary-footer-inner-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 28px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .site-footer .site-footer-section {
    width: 100% !important;
    margin: 0 !important;
  }

  body .site-footer .site-footer-primary-section-1 {
    margin-bottom: 16px !important;
  }

  body .site-footer .site-footer-primary-section-3 {
    margin-bottom: 32px !important;
  }

  body .site-footer .site-footer-primary-section-4,
  body .site-footer .site-footer-primary-section-4 .footer-widget-area,
  body .site-footer .site-footer-primary-section-4 .footer-widget-area-inner,
  body .site-footer #nav_menu-3,
  body .site-footer #nav_menu-5,
  body .site-footer .menu-footer-container,
  body .site-footer .menu-footer-englisch-container {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
  }

  body .site-footer #menu-footer,
  body .site-footer #menu-footer-englisch {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  body .site-footer #menu-footer > li,
  body .site-footer #menu-footer > li > a,
  body .site-footer #menu-footer-englisch > li,
  body .site-footer #menu-footer-englisch > li > a {
    display: inline-block !important;
    width: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  body .site-footer #menu-footer > li,
  body .site-footer #menu-footer-englisch > li {
    margin-left: 0 !important;
  }

  body .site-footer #menu-footer > li + li,
  body .site-footer #menu-footer-englisch > li + li {
    margin-left: 48px !important;
  }
}

@media (max-width: 921px) {
  .vc_row:not(.vc_row-no-padding) > .wpb_column.vc_col-sm-4,
  .vc_row:not(.vc_row-no-padding) > .vc_column_container.vc_col-sm-4,
  .vc_section > .vc_row:not(.vc_row-no-padding) > .wpb_column.vc_col-sm-4,
  .vc_section > .vc_row:not(.vc_row-no-padding) > .vc_column_container.vc_col-sm-4 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
  }

  /* Keep stacked 3-col image modules inside the content width on mobile */
  .vc_row:not(.vc_row-no-padding) > :is(.wpb_column, .vc_column_container).vc_col-sm-4 :is(.wpb_single_image, .vc_single_image-wrapper, .akt-background-image, .akt-success-stories-slider__media),
  .vc_section > .vc_row:not(.vc_row-no-padding) > :is(.wpb_column, .vc_column_container).vc_col-sm-4 :is(.wpb_single_image, .vc_single_image-wrapper, .akt-background-image, .akt-success-stories-slider__media) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .vc_row:not(.vc_row-no-padding) > :is(.wpb_column, .vc_column_container).vc_col-sm-4 :is(.wpb_single_image, .vc_single_image-wrapper, .akt-background-image, .akt-success-stories-slider__media) img,
  .vc_section > .vc_row:not(.vc_row-no-padding) > :is(.wpb_column, .vc_column_container).vc_col-sm-4 :is(.wpb_single_image, .vc_single_image-wrapper, .akt-background-image, .akt-success-stories-slider__media) img {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

.partner-logo-row {
  display: flex;
  align-items: center;
}

.partner-logo-row .vc_column_container {
  width: auto !important;
  flex: 0 0 auto;
}

.partner-logo-row .vc_column-inner {
  padding-left: 0 !important;
  padding-right: 60px !important;
}

.partner-logo-row .wpb_single_image {
  margin: 0;
}

.partner-logo-row .wpb_single_image img {
  height: 42px !important;
  width: auto !important;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

@media (max-width: 921px) {
  .partner-logo-row {
    display: block;
  }

  .partner-logo-row .vc_column_container {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100%;
  }

  .partner-logo-row .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .partner-logo-row .vc_column_container + .vc_column_container {
    margin-top: 24px;
  }

  .partner-logo-row .wpb_single_image img {
    height: 36px !important;
    max-width: 100%;
  }
}

/* Prefooter must keep its own light/dark variant logic even when global body dark mode is active */
body.mode-dark .aktd-prefooter,
body.mode-dark .aktd-prefooter .aktd-prefooter__content,
body.mode-dark .aktd-prefooter .aktd-prefooter__title,
body.mode-dark .aktd-prefooter .aktd-prefooter__description,
body.mode-dark .aktd-prefooter .aktd-prefooter__content p,
body.mode-dark .aktd-prefooter .aktd-prefooter__form p,
body.mode-dark .aktd-prefooter .wpcf7-list-item-label,
body.mode-dark .aktd-prefooter :is(p, li, span, label, blockquote) {
  color: var(--aktd-prefooter-copy-color) !important;
}

body.mode-dark .aktd-prefooter .aktd-prefooter__form input:not([type="submit"]),
body.mode-dark .aktd-prefooter .aktd-prefooter__form select,
body.mode-dark .aktd-prefooter .aktd-prefooter__form textarea,
body.mode-dark .aktd-prefooter .aktd-prefooter__form .aktd-contact-form__control,
body.mode-dark .aktd-prefooter .aktd-prefooter__form .aktd-contact-form__select {
  color: var(--aktd-prefooter-field-color) !important;
  border-color: var(--aktd-prefooter-field-border-color) !important;
  border-bottom-color: var(--aktd-prefooter-field-border-color) !important;
}

body.mode-dark .aktd-prefooter .aktd-prefooter__form input:not([type="submit"])::placeholder,
body.mode-dark .aktd-prefooter .aktd-prefooter__form textarea::placeholder,
body.mode-dark .aktd-prefooter .aktd-contact-form input.aktd-contact-form__control::placeholder,
body.mode-dark .aktd-prefooter .aktd-contact-form textarea.aktd-contact-form__control::placeholder,
body.mode-dark .aktd-prefooter .aktd-prefooter__form .aktd-contact-form__control::placeholder,
body.mode-dark .aktd-prefooter .aktd-prefooter__form .aktd-contact-form__select:required:invalid,
body.mode-dark .aktd-prefooter .aktd-contact-form .aktd-contact-form__select:required:invalid,
body.mode-dark .aktd-prefooter .aktd-contact-form select.aktd-contact-form__control:required:invalid,
body.mode-dark .aktd-prefooter .aktd-prefooter__form select:required:invalid {
  color: var(--aktd-prefooter-field-placeholder-color) !important;
}

body.mode-dark .aktd-prefooter .aktd-contact-form__field--select::after {
  background-image: var(--aktd-prefooter-field-select-icon) !important;
}

body.mode-dark .aktd-prefooter .aktd-prefooter__form input[type="submit"],
body.mode-dark .aktd-prefooter .aktd-prefooter__form button[type="submit"],
body.mode-dark .aktd-prefooter .aktd-contact-form .aktd-contact-form__submit {
  color: var(--aktd-prefooter-copy-color) !important;
  border-color: var(--aktd-prefooter-field-border-color) !important;
}

@media (max-width: 921px) {
  /* Nested WPBakery inner rows (vc_inner) must not add extra horizontal padding */
  .vc_row.vc_inner.vc_row-fluid > .wpb_column > .vc_column-inner,
  .wpb-content-wrapper .vc_row.vc_inner.vc_row-fluid > .wpb_column > .vc_column-inner,
  .entry-content .vc_row.vc_inner.vc_row-fluid > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Final lock: search results dark mode readability (keep at end to avoid later overrides) */
body.mode-dark.search .site-main .ast-article-post,
body.mode-dark.search-results .site-main .ast-article-post {
  background-color: var(--equicon-surface-background-dark, #131a24) !important;
  border-color: var(--equicon-border-color-dark, rgba(245, 245, 245, 0.22)) !important;
}

body.mode-dark.search :is(.entry-title, .entry-title a, .entry-title a:visited),
body.mode-dark.search-results :is(.entry-title, .entry-title a, .entry-title a:visited) {
  color: var(--equicon-section-text-dark, #f5f5f5) !important;
}

body.mode-dark.search :is(.entry-title a:hover, .entry-title a:focus),
body.mode-dark.search-results :is(.entry-title a:hover, .entry-title a:focus) {
  color: var(--equicon-section-link-dark-hover, #d7e0ea) !important;
}

body.mode-dark.search :is(.entry-content, .entry-summary, .entry-content p, .entry-summary p),
body.mode-dark.search-results :is(.entry-content, .entry-summary, .entry-content p, .entry-summary p) {
  color: rgba(245, 245, 245, 0.78) !important;
}

body.mode-dark.search :is(.ast-pagination a, .ast-pagination span, .page-numbers),
body.mode-dark.search-results :is(.ast-pagination a, .ast-pagination span, .page-numbers) {
  border-color: var(--equicon-border-color-dark, rgba(245, 245, 245, 0.22)) !important;
  color: var(--equicon-section-text-dark, #f5f5f5) !important;
}

html.mode-dark body.search,
html.mode-dark body.search-results {
  background-color: var(--equicon-body-background-dark, #0f1620) !important;
  color: var(--equicon-section-text-dark, #f5f5f5) !important;
}

html.mode-dark body.search :is(#primary, .site-main, .ast-container, .ast-row),
html.mode-dark body.search-results :is(#primary, .site-main, .ast-container, .ast-row) {
  background-color: var(--equicon-body-background-dark, #0f1620) !important;
}

html.mode-dark body.search :is(.entry-title, .entry-title a, .entry-title a:visited, .entry-content, .entry-summary, .entry-content p, .entry-summary p),
html.mode-dark body.search-results :is(.entry-title, .entry-title a, .entry-title a:visited, .entry-content, .entry-summary, .entry-content p, .entry-summary p) {
  color: var(--equicon-section-text-dark, #f5f5f5) !important;
}

/* Absolute final fallback for Astra search cards in dark mode */
html.mode-dark body.search-results .site-main article,
html.mode-dark body.search .site-main article,
html.mode-dark body.search-results .site-main .ast-article-post,
html.mode-dark body.search .site-main .ast-article-post,
body.mode-dark.search-results .site-main article,
body.mode-dark.search .site-main article {
  background: #1a2634 !important;
  color: #f3f6fb !important;
  border-color: rgba(243, 246, 251, 0.2) !important;
}

html.mode-dark body.search-results .site-main article :is(h1, h2, h3, h4, h5, h6, p, li, span),
html.mode-dark body.search .site-main article :is(h1, h2, h3, h4, h5, h6, p, li, span),
body.mode-dark.search-results .site-main article :is(h1, h2, h3, h4, h5, h6, p, li, span),
body.mode-dark.search .site-main article :is(h1, h2, h3, h4, h5, h6, p, li, span) {
  color: #f3f6fb !important;
  opacity: 1 !important;
}

html.mode-dark body.search-results .site-main article .entry-content,
html.mode-dark body.search-results .site-main article .entry-summary,
html.mode-dark body.search .site-main article .entry-content,
html.mode-dark body.search .site-main article .entry-summary,
body.mode-dark.search-results .site-main article .entry-content,
body.mode-dark.search-results .site-main article .entry-summary,
body.mode-dark.search .site-main article .entry-content,
body.mode-dark.search .site-main article .entry-summary {
  color: rgba(243, 246, 251, 0.9) !important;
}

html.mode-dark body.search-results .site-main article a,
html.mode-dark body.search .site-main article a,
body.mode-dark.search-results .site-main article a,
body.mode-dark.search .site-main article a {
  color: #f3f6fb !important;
}

/* Astra search cards: force inner card + excerpt colors in dark mode */
html.mode-dark body.search-results .ast-separate-container .site-main .ast-article-post .ast-article-inner,
html.mode-dark body.search .ast-separate-container .site-main .ast-article-post .ast-article-inner,
body.mode-dark.search-results .ast-separate-container .site-main .ast-article-post .ast-article-inner,
body.mode-dark.search .ast-separate-container .site-main .ast-article-post .ast-article-inner,
body[data-theme-mode="dark"].search-results .ast-separate-container .site-main .ast-article-post .ast-article-inner,
body[data-theme-mode="dark"].search .ast-separate-container .site-main .ast-article-post .ast-article-inner {
  background-color: #1a2634 !important;
}

html.mode-dark body.search-results .site-main .ast-article-post .post-content,
html.mode-dark body.search .site-main .ast-article-post .post-content,
body.mode-dark.search-results .site-main .ast-article-post .post-content,
body.mode-dark.search .site-main .ast-article-post .post-content,
body[data-theme-mode="dark"].search-results .site-main .ast-article-post .post-content,
body[data-theme-mode="dark"].search .site-main .ast-article-post .post-content {
  color: #f3f6fb !important;
}

html.mode-dark body.search-results .site-main .ast-article-post .ast-excerpt-container,
html.mode-dark body.search .site-main .ast-article-post .ast-excerpt-container,
body.mode-dark.search-results .site-main .ast-article-post .ast-excerpt-container,
body.mode-dark.search .site-main .ast-article-post .ast-excerpt-container,
body[data-theme-mode="dark"].search-results .site-main .ast-article-post .ast-excerpt-container,
body[data-theme-mode="dark"].search .site-main .ast-article-post .ast-excerpt-container {
  color: rgba(243, 246, 251, 0.9) !important;
  opacity: 1 !important;
}

/* Search page dark mode: robust Astra variable + component override */
html.mode-dark body.search,
html.mode-dark body.search-results,
body.mode-dark.search,
body.mode-dark.search-results,
body[data-theme-mode="dark"].search,
body[data-theme-mode="dark"].search-results,
body.astra-dark-mode-enable.search,
body.astra-dark-mode-enable.search-results {
  --ast-global-color-2: #f3f6fb !important;
  --ast-global-color-3: #e6edf6 !important;
  --ast-global-color-4: #1a2634 !important;
  --ast-global-color-5: #121c28 !important;
  --ast-global-color-7: rgba(243, 246, 251, 0.2) !important;
  background-color: #0f1724 !important;
  color: #e6edf6 !important;
}

/* Legal pages: restore readable spacing overridden by the global WPBakery reset. */
body:is(.page-id-240, .page-id-242, .page-id-315, .page-id-319) #info > .vc_row:first-child {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

body:is(.page-id-240, .page-id-242, .page-id-315, .page-id-319) #info > .vc_row:nth-child(2) .wpb_wrapper {
  max-width: 920px;
  font-size: 20px;
  line-height: 1.65;
}

body:is(.page-id-240, .page-id-242, .page-id-315, .page-id-319) #info > .vc_row:nth-child(2) .wpb_wrapper p {
  margin: 0 0 1.5em !important;
}

body:is(.page-id-240, .page-id-242, .page-id-315, .page-id-319) #info > .vc_row:nth-child(2) .wpb_wrapper p:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 921px) {
  body:is(.page-id-240, .page-id-242, .page-id-315, .page-id-319) #info > .vc_row:first-child {
    margin-bottom: 2rem;
  }

  body:is(.page-id-240, .page-id-242, .page-id-315, .page-id-319) #info > .vc_row:nth-child(2) .wpb_wrapper {
    font-size: 18px;
    line-height: 1.6;
  }
}

html.mode-dark body.search .ast-separate-container .ast-article-inner,
html.mode-dark body.search-results .ast-separate-container .ast-article-inner,
body.mode-dark.search .ast-separate-container .ast-article-inner,
body.mode-dark.search-results .ast-separate-container .ast-article-inner,
body[data-theme-mode="dark"].search .ast-separate-container .ast-article-inner,
body[data-theme-mode="dark"].search-results .ast-separate-container .ast-article-inner,
body.astra-dark-mode-enable.search .ast-separate-container .ast-article-inner,
body.astra-dark-mode-enable.search-results .ast-separate-container .ast-article-inner {
  background-color: #1a2634 !important;
}

html.mode-dark body.search :is(.entry-title, .entry-title a, .entry-title a:visited, .ast-excerpt-container, .entry-content, .entry-content p),
html.mode-dark body.search-results :is(.entry-title, .entry-title a, .entry-title a:visited, .ast-excerpt-container, .entry-content, .entry-content p),
body.mode-dark.search :is(.entry-title, .entry-title a, .entry-title a:visited, .ast-excerpt-container, .entry-content, .entry-content p),
body.mode-dark.search-results :is(.entry-title, .entry-title a, .entry-title a:visited, .ast-excerpt-container, .entry-content, .entry-content p),
body[data-theme-mode="dark"].search :is(.entry-title, .entry-title a, .entry-title a:visited, .ast-excerpt-container, .entry-content, .entry-content p),
body[data-theme-mode="dark"].search-results :is(.entry-title, .entry-title a, .entry-title a:visited, .ast-excerpt-container, .entry-content, .entry-content p),
body.astra-dark-mode-enable.search :is(.entry-title, .entry-title a, .entry-title a:visited, .ast-excerpt-container, .entry-content, .entry-content p),
body.astra-dark-mode-enable.search-results :is(.entry-title, .entry-title a, .entry-title a:visited, .ast-excerpt-container, .entry-content, .entry-content p) {
  color: #f3f6fb !important;
  opacity: 1 !important;
}
