/*
Theme Name: IVB Webtemplate
Description: Prototyp für Invalidenverband beider Basel – wird zu WordPress-Theme
Version: 1.0.0
Text Domain: ivb
*/

/* ============================================================
   IVB Theme – Anpassungen & Seiten-spezifische Styles
   Lädt nach assets/css/base.css und überschreibt bei Bedarf.
   ============================================================ */

/* --- Buttons --- */
.btn-primary:hover { transform: none; }
.btn-services { background: #000; color: #fff; }
.btn-donation-forms {
  background: transparent;
  padding: 0;
  display: block;
  font-size: 19px;
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 10000;
  padding: 0.75em 1.25em;
  background: #000;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  left: 1rem;
  top: 0.5rem;
  outline: 3px solid #fbcc27;
  outline-offset: 2px;
}

.meta-nav a:focus-visible,
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.nav-hamburger:focus-visible,
.meta-search-toggle:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid #fbcc27;
  outline-offset: 2px;
}

.meta-search-form input[type="search"]:focus-visible,
.form-group select:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.search-modal__close:focus-visible,
.search-modal__submit:focus-visible,
.search-modal__backdrop:focus-visible,
.flyouts__activator:focus-visible,
.flyouts__panel-link:focus-visible,
.site-footer a:focus-visible,
.c-nav-grid__link:focus-visible,
.nav-link--has-children:focus-visible {
  outline: 3px solid #fbcc27;
  outline-offset: 2px;
}

.mobile-nav .mn-link:focus-visible,
.mobile-nav .mn-back:focus-visible,
.mobile-nav .mn-close:focus-visible {
  outline: 3px solid #fbcc27;
  outline-offset: -2px;
  background: #f8f8f8;
}

/* --- Header & Navigation --- */
.site-header {
  position: relative;
  border: 0;
  padding-top: 0;
}

.meta-nav-bar {
  justify-content: flex-end;
  max-width: 100%;
  padding: 0 2.5rem;
  padding-top: 0.25em;
  border-bottom: 1px solid #ececec;
}

.meta-nav {
  gap: 0;
  align-items: stretch;
}

.meta-nav a {
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  margin-right: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  border-bottom: 3px solid transparent;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: .01em;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.meta-nav a + a { margin-left: 4px; }
.meta-phone__menu a { margin-left: 0px !important; }

.meta-nav a:hover {
  border-bottom-color: #fbcc27;
  color: #000;
  font-weight: 500;
  background: transparent;
}

.meta-nav-bar .active,
.meta-nav-bar .active:hover {
  background: transparent;
  color: #000;
  padding: 12px 14px;
  border-radius: 0;
  border-bottom: 3px solid #fbcc27;
  font-weight: 600;
}

.meta-nav-divider {
  align-self: center;
  width: 1px;
  height: 16px;
  margin: 0 10px;
  background: #d4d4d4;
  opacity: 1;
}

.meta-search { position: relative; display: inline-flex; align-items: center; }

.meta-search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  margin-left: 4px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1em;
  font-weight: 500;
  color: #000;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.meta-search-toggle:hover { border-bottom-color: #fbcc27; color: #000; }
.meta-search-toggle .meta-search-icon { width: 16px; height: 16px; }

.meta-search-icon { width: 16px; height: 16px; }

/* ============================================================
   SUCH-MODAL (Overlay + zentrierter Such-Card)
   ============================================================ */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 24px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-modal[hidden] { display: none; }

.search-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.72);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.search-modal__panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 16px;
  padding: 48px 56px 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(-12px);
  transition: transform 0.3s cubic-bezier(.22,1,.36,1);
}

.search-modal.is-open .search-modal__panel { transform: translateY(0); }

.search-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #000;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-modal__close:hover { background: #f3f4f6; }

.search-modal__title {
  margin: 0 0 24px;
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 700;
  color: #000;
}

.search-modal__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 18px;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-modal__field:focus-within {
  border-color: #fbcc27;
  box-shadow: 0 0 0 3px rgba(251, 204, 39, 0.35);
}

.search-modal__icon { color: #666; flex-shrink: 0; }

.search-modal__field input[type="search"] {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 4px;
  font-family: var(--font-primary);
  font-size: 17px;
  color: #000;
}

.search-modal__field input[type="search"]::placeholder { color: #888; }

.search-modal__submit {
  flex-shrink: 0;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-modal__submit:hover { background: #fbcc27; color: #000; }

@media (max-width: 600px) {
  .search-modal__panel { padding: 40px 24px 28px; }
  .search-modal__title { font-size: 24px; margin-bottom: 18px; }
  .search-modal__field { flex-wrap: wrap; padding: 6px 6px 6px 14px; }
  .search-modal__submit { width: 100%; padding: 12px 16px; }
}

.nav-inner {
  max-width: 100%;
  height: auto;
  padding: 14px 2.5rem 14px;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  margin-top: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  height: 64px;
  width: auto;
  max-width: 320px;
}

.nav-links {
  gap: 4px;
  margin-left: auto;
  margin-right: 24px;
}

.nav-links a,
.nav-links .nav-link {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  background: transparent;
  padding: 8px 14px;
  margin-right: 0;
  border-radius: 0;
  color: #000;
  border-bottom: 3px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.nav-links a::after,
.nav-links .nav-link::after { display: none; }

.nav-links a:hover,
.nav-links .nav-link:hover {
  background: transparent;
  border-bottom-color: #fbcc27;
  color: #000;
}

.nav-links .nav-link[aria-current="page"],
.nav-links .nav-link.is-active {
  border-bottom-color: #fbcc27;
  font-weight: 600;
}

.nav-chevron {
  width: 10px;
  height: 7px;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.nav-item--dropdown {
  position: relative;
}

.nav-item--dropdown.is-open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1000;
}

.nav-item--dropdown.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown li { margin: 0; }

/* Mobile Overlay – Dropdown-Untergruppe */
.nav-overlay-group { width: 100%; }

.nav-overlay-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.nav-overlay-toggle-label { font-weight: 700; }

.nav-overlay-chevron {
  width: 14px;
  height: 9px;
  margin-left: 12px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.nav-overlay-toggle[aria-expanded="true"] .nav-overlay-chevron {
  transform: rotate(180deg);
}

.nav-overlay-toggle:focus-visible {
  outline: 2px solid #fbcc27;
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-overlay-sub {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0 0 0 20px;
  border-left: 2px solid #ececec;
  overflow: hidden;
}

.nav-overlay-sub[hidden] { display: none; }
.nav-overlay-sub li { margin: 4px 0; }

.nav-overlay-sub a {
  display: block;
  padding: 8px 0;
  font-size: 18px;
  color: #000;
  text-decoration: none;
}

.nav-overlay-sub a em { font-style: normal; opacity: 0.7; }
.nav-overlay-sub a:hover { color: #555; }

.nav-cta {
  font-size: 1.15em;
  padding: 10px 20px;
  font-weight: 600;
}

#btnfahrten {
  background: #fbcc27;
  color: #000;
  font-weight: 500;
  transition: background 0.3s ease;
}

#btnfahrten:hover {
  background: #fbcc27;
  color: #000;
}

/* Dropdown: eigene Link-Styles, nicht von .nav-links a erben */
.nav-link--has-children {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  background: transparent;
  color: #000;
  font-size: 1.25em;
  font-weight: 500;
  font-family: var(--font-primary), sans-serif;
  line-height: 1.3;
  white-space: nowrap;
  margin-right: 0;
  border-bottom: 0;
  transition: background 0.15s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: #f2f2f2;
}

.nav-dropdown a:focus-visible {
  outline: 2px solid #fbcc27;
  outline-offset: 1px;
}

/* --- Hero --- */
.hero {
  padding-top: 0;
  background: #fff;
  height: auto;
}

.hero h1 { font-weight: 500; }

.hero-image-wrapper {
  padding: 0 40px 60px;
  min-height: 48em;
}

.hero img { border-radius: 30px; }

.hero-content {
  display: grid;
  padding: 0 40px 80px;
  max-width: 100%;
  grid-template-columns: 1fr 1fr;
}

.hero-content--block {
  display: block;
  margin-top: 0;
}

.hero-content--block-offset {
  display: block;
  margin-top: 3em;
}

.hero-content .hero-text { max-width: 600px; }
.hero-content .hero-text p { font-size: 20px; }
.hero-text .btn-primary { padding-left: 0; font-size: 19px; }

@media (min-width: 1025px) {
  #home.hero .hero-content--block {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    padding-right: 80px;
  }
  #home.hero .hero-content--block > .animate-on-scroll:first-child { flex: 0 0 auto; }
  #home.hero .hero-content--block .hero-text {
    flex: 0 1 600px;
    margin-left: auto;
    margin-right: 0;
    text-align: left;
  }
}

#hero_subpage .hero-image-wrapper {
  background: #efefef;
  padding: 0;
  border: 0;
  border-radius: 0;
}

#hero_subpage .hero-image-wrapper img,
#hero_subpage .hero-slideshow .hero-slides,
#hero_subpage .hero-slideshow .hero-slide {
  border: 0;
  border-radius: 30px;
}

/* --- About / Services / Portfolio --- */
.about-text p { font-size: 20px; }
.about-grid .btn-secondary { padding-left: 0; border: 0; font-size: 20px; }

#spenden-intro .btn-secondary { padding-left: 25px; background: #fff; }
#spenden-intro .btn-secondary:hover { background: var(--color-bg); }

.services-header { display: block; }
.services-header p { font-size: 20px; line-height: 1.5; }
.services-header p.leadtext {
  font-size: 1.4em;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1em;
  font-family: 'Manrope', sans-serif;
}

.service-card .btn-secondary { padding-left: 0; border: 0; font-size: 20px; }
.service-card .btn-secondary:hover { background: none; }
.service-card h3 { font-weight: 700; }
.service-card p { font-size: 20px; }

.portfolio-card-category { text-transform: none; }
.portfolio-card-info h3 { font-size: 32px; line-height: 1.2; font-weight: 600; }
.portfolio-header p { font-size: 20px; line-height: 1.5; }
.portfolio-card-info p { font-size: 20px; }
.portfolio-card-info .btn-primary { padding-left: 0; font-size: 19px; }
.about-image--square video,
.about-image video,
.portfolio-card-image video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-card-image {
  position: relative;
  height: 600px;
}

.rnw-paylink-wrapper--spaced {
  margin-top: 1.5em;
}

/* --- Testimonial --- */
.testimonial { padding-top: 3em; padding-bottom: 4em; }
.testimonial-inner { max-width: 600px; }
.testimonial-inner svg { height: 100px; width: 100px; color: #000; transform: rotate(180deg); margin-bottom: 0; }
.testimonial-quote-icon { opacity: 1; }
.testimonial-author-name { font-size: 18px; }
.testimonial-author-location { font-size: 18px; }

/* --- FAQ --- */
.faq-question { font-weight: 700; padding: 30px 24px 30px 0; }
.faq-answer-inner { padding-left: 0; }
.faq-answer-inner p { max-width: 600px; }
.faq-chevron { transform: rotate(180deg); }
.faq-item.is-open .faq-chevron { transform: rotate(0deg); }

/* --- Stats --- */
.stat-card { background: #f2e6d9; }
.stat-card:hover { background: rgb(240, 248, 255); }
.stat-card h3 { font-size: 20px; }
.stat-card p { font-size: 19px; }
.stat-icon { width: 81px; height: 81px; }

/* --- Footer --- */
.site-footer {
  padding-bottom: 0;
  background: #fff;
  border-top: 1px solid #b2b2b2;
}

.footer-container {
  max-width: 100%;
  padding-top: 60px;
}

.footer-logo img { height: 87px; }
.footer-column h4,
.footer-column__title { font-size: 19px; margin: 0 0 0.5em; }
.footer-column a { font-size: 19px; }
.footer-top { gap: 240px; margin-bottom: 6em; }
.footer-columns { gap: 10px; }
.footer-bottom { font-size: 16px; }
.footer-social { display: inline-flex; align-items: center; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; color: #000; transition: opacity 0.2s ease; }
.footer-social a:hover { opacity: 0.75; }
.footer-social svg { display: block; }
.footer-legal { display: inline-flex; align-items: center; gap: 8px; }
.footer-legal a { color: #000; }
.footer-legal__sep { color: #000; opacity: 0.5; }

/* --- Typografie & Utilities --- */
.eyebrow { font-weight: 600; font-size: 18px; }
.eyebrow--spaced { margin-bottom: 10px; }

h1.contacth1 {
  font-size: clamp(3.5rem, 3.5vw, 42px);
  margin-top: 0;
  margin-bottom: 16px;
}

.headline { font-size: 20px; font-weight: 400; }

.leadtext {
  font-size: 1.6em;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1em;
  font-family: 'Manrope', sans-serif;
}

.leadtext--full { max-width: 100%; }

.section-title {
  font-size: 30px;
  margin-bottom: 2em;
}

.section-heading { margin-bottom: 2em; }
.section-heading--spaced { margin: 4em 0 2em; }

.greybg { background: #efefef; }
.yellowbg { background: #ffe480; }
.yellowbg--fahrten { background: #e1e1e1; }

.row--content { max-width: 1200px; }

.infopanels > .row--content,
.infopanels .row.row--content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.row--content > .column > .content-block .row {
  margin-left: 0;
  margin-right: 0;
}
.content-block { margin-top: 1em; }

p { -webkit-font-smoothing: antialiased; }

/* --- Formulare --- */
.form-group select {
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-icon);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition);
  cursor: pointer;
}

#contactform input,
#contactform textarea,
#contactform select {
  width: 100%;
  max-width: 100%;
  background: #fff;
  font-size: 20px;
}

#contactform textarea { min-height: 220px; }

#contactform button {
  background: #000;
  padding: 0 25px;
  color: #fff;
}

#contactform .form-group { width: 100%; max-width: 100%; }

#contactform .contact-info {
  display: block;
  font-style: normal;
  font-size: 20px;
  margin-bottom: 50px;
  color: #000;
}

#contactform .contact-info a { display: inline; width: auto; max-width: none; }
#contactform .form-group label { display: block; font-size: 18px; color: #000; }
#contactform .required-star { color: #c0392b; margin-left: 2px; }
#contactform .form-hint { font-size: 14px; color: #555; display: block; margin-top: 4px; }
#contactform #contact-form-hint { margin-bottom: 16px; }
#contactform .form-status { font-size: 16px; margin-top: 16px; min-height: 1.4em; }

#contactform input:focus-visible,
#contactform textarea:focus-visible,
#contactform select:focus-visible,
#contactform button:focus-visible {
  outline: 3px solid #fbcc27;
  outline-offset: 2px;
}

#contactform input:invalid:not(:placeholder-shown),
#contactform textarea:invalid:not(:placeholder-shown) {
  border-color: #e1e1e1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

html { caret-color: transparent; }

input,
textarea,
select,
[contenteditable=""],
[contenteditable="true"] {
  caret-color: auto;
}

/* --- Breadcrumb --- */
.breadcrumb-bar {
  background: #fbcc27;
  padding: 14px 40px;
  border-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  font-size: 15px;
  font-family: var(--font-body);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #555;
  font-size: 18px;
}

.breadcrumb-item a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #555;
  text-decoration: none;
  padding: 0;
  font-size: 18px;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus-visible {
  color: #000;
  font-size: 18px;
}

.breadcrumb-item a:focus-visible {
  outline: 2px solid #fbcc27;
  outline-offset: 2px;
}

.breadcrumb-home {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #000;
  font-size: 18px;
  line-height: 1;
  margin: 0 2px 2px;
}

.breadcrumb-item[aria-current="page"] {
  color: #000;
  font-weight: 600;
  padding: 4px 10px;
}

/* Seiten-Hintergrund via $breadcrumbBg (inline) oder Modifier-Klasse */
.breadcrumb-bar--white { background: #fff; }
.breadcrumb-bar--grey { background: #efefef; }
.breadcrumb-bar--blue { background: #e3f1fe; }
.breadcrumb-bar--yellow { background: #ffe480; }
.breadcrumb-bar--muted { background: #e1e1e1; }
.breadcrumb-bar--themenaz { background: #cacaca; }

/* --- Infopanels / Nav-Grid --- */
.infopanels {
  background: #e3f1fe;
  padding: 3em 0 8em;
}

.infopanels--themenaz {
  background: #cacaca;
}

.infopanels--themenaz .large-4 {
  flex: 0 0 23.9%;
  max-width: 23.9%;
}

.infopanels h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 1em;
  padding-top: 2em;
}

.infopanels ul { list-style-type: none; }

.infopanels .row {
  display: flex;
  flex-flow: row wrap;
  max-width: 1392px;
  margin: 0 auto;
  margin-right: -1.6rem;
  margin-left: -1.6rem;
}

.infopanels .small-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.infopanels .large-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.c-nav-grid__item {
  padding-right: 5px;
  padding-left: 5px;
  margin-bottom: 10px;
}

.infopanels .c-nav-grid__link {
  hyphens: auto;
  word-break: break-word;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #000;
  background: #fffefe;
  border: 1px solid transparent;
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1.33333;
  text-align: left;
  min-height: 192px;
  padding: 16.5px 64px 16.5px 24px;
  position: relative;
  width: 100%;
  border-radius: 10px;
}

.infopanels .c-nav-grid__link:hover { background: #fbcc27; }

.infopanels .c-nav-grid__sub {
  display: block;
  margin-top: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}

/* --- Mobile Navigation (bk.admin.ch-Style) --- */
@media (max-width: 1024px) {
  .site-header .nav-links,
  .site-header .nav-inner > .nav-cta,
  .site-header .meta-nav-bar {
    display: none;
  }

  .site-header .nav-hamburger {
    display: flex;
  }

  .nav-inner {
    padding: 0 12px 0;
    height: 64px;
    align-items: center;
  }

  .nav-logo { margin-top: 0; flex-shrink: 0; }

  .nav-logo picture,
  .nav-logo img {
    display: block;
    width: auto;
    max-width: 120px;
    height: auto;
    margin: 0;
  }

  .nav-hamburger {
    flex-shrink: 0;
    margin: 0;
  }

  .mobile-nav.nav-overlay { top: 64px; }
}

@media (min-width: 1025px) {
  .mobile-nav.nav-overlay { display: none; }
}

.mobile-nav.nav-overlay {
  padding: 0;
  align-items: stretch;
  justify-content: flex-start;
  background: #fff;
  gap: 0;
}

.mobile-nav .mn-stage {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.mn-panel {
  display: none;
  flex-direction: column;
  position: absolute;
  inset: 0;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: mn-slide-in .3s cubic-bezier(.22,1,.36,1);
}

.mn-panel.is-active { display: flex; }

@keyframes mn-slide-in {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.mn-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  min-height: 56px;
}

.mn-bar-spacer { display: block; }

.mn-back,
.mn-close {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: transparent;
  border: 0;
  color: #000;
  font-family: var(--font-primary, inherit);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.mn-back:hover,
.mn-close:hover { background: #f3f4f6; }

.mn-back svg,
.mn-close svg { display: block; }

.mn-close { justify-self: end; }

.mn-title {
  justify-self: center;
  margin: 0;
  font-family: var(--font-primary, inherit);
  font-size: 17px;
  font-weight: 600;
  color: #000;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw;
}

.mn-title--logo { color: #6b7280; font-weight: 500; }

.mn-list {
  list-style: none;
  margin: 0;
  padding: 8px 0 32px;
}

.mn-item { margin: 0; }

.mobile-nav .mn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  font-family: var(--font-primary, inherit);
  font-size: 18px;
  font-weight: 500;
  color: #000;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.mobile-nav .mn-link:hover,
.mobile-nav .mn-link:focus-visible {
  background: #f8f8f8;
}

.mobile-nav .mn-link span { flex: 1; }
.mobile-nav .mn-chevron { flex-shrink: 0; color: #6b7280; }

.mobile-nav .mn-item--cta { padding: 16px 24px 8px; }

.mobile-nav .mn-item--cta .mn-link {
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #fbcc27;
  color: #000;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 16px;
  gap: 10px;
}

.mobile-nav .mn-item--cta .mn-link .btn-icon {
  flex-shrink: 0;
  display: block;
}

.mobile-nav .mn-item--cta .mn-link:hover {
  background: #000;
  color: #fff;
}

/* --- RaiseNow Paylink (Third-Party) --- */
.rnw-paylink-wrapper { display: inline-block; }

.rnw-paylink-wrapper button,
.rnw-paylink-wrapper [role="button"] {
  font-family: var(--font-primary, inherit);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rnw-paylink-wrapper button:hover,
.rnw-paylink-wrapper [role="button"]:hover { opacity: 0.85; }

/* --- Fahrtenbestellung --- */
.order-choice { margin-top: 2.5em; margin-bottom: 1.5em; }

.order-choice--inline {
  display: inline-flex;
  gap: 15px;
}

.order-choice__col {
  max-width: 44%;
}

.form-hint[hidden] {
  display: none;
}

.form-note {
  margin-top: 15px;
}

.order-card {
  background: #feefb9;
  border-radius: 12px;
  padding: 2em 2em 2.25em;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.order-card h2 { margin-top: 0; margin-bottom: 0.5em; font-size: 1.6rem; }
.order-card p { margin-bottom: 1.5em; flex-grow: 1; }
.order-card .btn-primary { align-self: flex-start; background: #fbcc27; }

.fahrtenbestellung .infopanels h2 {
  padding-top: 0;
  font-size: 2em;
}

/* --- Spenden / Themen A-Z --- */
.donation-hero,
.themenaz-hero {
  background: #e3f1fe;
  padding: 4em 40px 8em;
}

.donation-hero-inner,
.themenaz-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.donation-hero .leadtext,
.themenaz-hero .leadtext {
  max-width: 100%;
}

.donation-hero .btn-primary,
.themenaz-hero .btn-primary {
  padding-left: 0;
  font-size: 19px;
}

.donation-hero .btn-primary:hover,
.themenaz-hero .btn-primary:hover {
  background: #000;
  color: #fff;
}

#themenaz-intro {
  background: #cacaca;
  padding-bottom: 50em;
}

.donation-card {
  background: #f2e6d9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donation-card:hover {
  transform: translateY(0);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  background: #f7cb9c;
}

.donation-card h3 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 24px;
  text-transform: none;
}

.donation-card p { font-size: 20px; line-height: 1.55; }

.donation-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #000;
}

.donation-card a:hover {
  color: #000;
  text-decoration: none;
}

.donation-info { background: #f7f7f7; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 2em;
}

.info-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #ececec;
  min-height: 17em;
}

.info-card-icon {
  width: 36px;
  height: 36px;
  color: #000;
  display: block;
  margin-bottom: 16px;
}

.info-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Manrope', sans-serif;
}

.info-card p { font-size: 17px; line-height: 1.55; color: #2a2a2a; }
.info-card a { text-decoration: underline; text-underline-offset: 3px; }

.donation-accounts {
  background: #fff;
  padding: 5em 40px 4em;
}

.donation-accounts--extended { padding-bottom: 10em; }

.donation-accounts-inner { max-width: 1200px; margin: 0 auto; }

.donation-accounts .services-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  margin-bottom: 0.5em;
}

.donation-accounts .services-header p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 820px;
}

.account-block { margin-top: 3em; }

.account-block h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.account-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background: #fff;
  min-width: 640px;
}

.account-table thead { background: #f2f2f2; }

.account-table th,
.account-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid #ececec;
  vertical-align: middle;
}

.account-table th {
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
}

.account-table tbody tr:last-child td { border-bottom: 0; }
.account-table tbody tr:hover { background: #fafafa; }
.account-table .account-highlight { background: #fff8d9; }
.account-table .account-highlight:hover { background: #ffefa8; }

.iban {
  font-family: 'Manrope', monospace, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.donation-cta {
  background: #efefef;
  color: #000;
  padding: 5em 40px;
}

.donation-cta--cta { padding-bottom: 6em; background: #fff7db; }

.donation-cta--cta .donation-cta-text { color: #2a2a2a; }

.donation-cta p { color: #000; }

.donation-cta-inner { max-width: 960px; margin: 0 auto; text-align: center; }

.donation-cta-eyebrow {
  font-size: 20px;
  text-transform: none;
  color: #fbcc27;
  margin-bottom: 1em;
  font-weight: 600;
}

.donation-cta h2 {
  color: #000;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.donation-cta-text {
  font-size: 18px;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 2.5em;
  color: #d8d8d8;
}

.donation-cta-card {
  background: #fff;
  color: #000;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.donation-cta-card--transparent { background: transparent; }

.donation-cta-iban { display: flex; flex-direction: column; gap: 6px; }

.donation-cta-label {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #555;
  font-weight: 600;
}

.iban-large { font-size: clamp(20px, 2.4vw, 28px); }

.donation-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.donation-cta .btn-primary {
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
}

.donation-cta .btn-primary:hover {
  background: #fbcc27;
  color: #000;
}

.btn-donation-forms--cta {
  padding: 1em 2em;
  margin-top: 2em;
  text-decoration: none;
}

.donation-forms--grey { background: #efefef; }
.donation-forms--white { background: #fff; }
.donation-info--blue { background: #e3f1fe; }
.faq--yellow { background: #fff7db; }

/* --- Vorstand / Personen-Grid --- */
.vorstand-foto {
  display: block;
  margin: 0 0 1.25em;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
}

.vorstand-foto--leer { background: #cfd5dc; }

.vorstand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75em;
}


.vorstand-grid .service-card {
  min-height: auto;
  /*
  background: linear-gradient(160deg, #ffffff 0%, #eef3f9 100%);
  */
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}


/* Oberer Bereich mit Porträtfotos: Bild randlos, volle Breite, keine Minus-Margins */
.vorstand-grid:has(.vorstand-foto) .service-card {
  padding: 0 0 1.75em;
  border: none;
}

.vorstand-grid:has(.vorstand-foto) .service-card h3,
.vorstand-grid:has(.vorstand-foto) .service-card p {
  padding-left: 1.75em;
  padding-right: 1.75em;
}

.vorstand-grid:has(.vorstand-foto) .service-card:hover {
  border-color: transparent;
}

.vorstand-grid .service-card:hover {
  transform: translateY(0px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.13);
  border-color: #c9d6e8;
  background: linear-gradient(160deg, #ffffff 0%, #eef3f9 100%);
}

.vorstand-grid .service-card h3 {
  position: relative;
  padding-bottom: 0;
  margin-bottom: 0.75em;
}

.vorstand-grid .service-card.donation-card h3 {
  margin-bottom: 0.75em;
}

.vorstand-grid .service-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.2em;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: #f7a600;
}

.vorstand-grid:has(.vorstand-foto) .service-card h3::after {
  left: 1.75em;
}

/* --- IVB Listen-Grid (Tätigkeiten etc.) --- */
.ivb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75em;
}

.ivb-grid .service-card {
  min-height: auto;
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 2em 0;
  margin-top: 0;
  border-bottom: 1px solid #000;
  box-shadow: none;
}

.ivb-grid .service-card:hover {
  transform: none;
  box-shadow: none;
  background: #fff;
}

.ivb-grid .service-card h2 {
  position: relative;
  padding-bottom: 0.6em;
  margin-bottom: 0.6em;
}

.ivb-grid .service-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: #f7a600;
}

/* --- Mitgliedschaft (Fliesstext, kein Card-Layout) --- */
.mitgliedschaft-content {
  max-width: 820px;
}

.mitgliedschaft-block + .mitgliedschaft-block {
  margin-top: 2.5em;
  padding-top: 2.5em;
  border-top: 1px solid #d4d4d4;
}

.mitgliedschaft-block h3 {
  position: relative;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  margin-bottom: 0.75em;
  padding-bottom: 0;
}

.mitgliedschaft-block h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 0.35em;
  border-radius: 3px;
  background: #f7a600;
}

.mitgliedschaft-block p {
  font-size: 20px;
  line-height: 1.55;
}

.mitgliedschaft-block p + p {
  margin-top: 0.75em;
}

.mitgliedschaft-block ul.mitgliedschaft-list {
  list-style: disc;
  padding-left: 1.25em;
  margin-top: 0.75em;
  font-size: 20px;
  line-height: 1.55;
}

.mitgliedschaft-block ul.mitgliedschaft-list li + li {
  margin-top: 0.35em;
}

.mitgliedschaft-block a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Startseite / Sektionen --- */
.about--white { background: #fff; padding-top: 10em; }

.about-image--square {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.about-image--square img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#spenden-intro {
  background: #efefef;
  padding-top: 14em;
  padding-bottom: 15em;
}

#spenden-intro .about-grid {
  grid-template-columns: 1fr;
}

.about-grid--single {
  grid-template-columns: 1fr;
}

.services-header--flex {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.services-header__intro {
  flex: 1 1 320px;
}

.portfolio-text--wide {
  max-width: 1000px;
}

/* --- Diashow --- */
.dia-slideshow .dia-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  will-change: opacity;
  animation: diaFade 48s ease-in-out infinite;
}

.dia-slideshow .dia-slide:nth-child(1) { animation-delay: 0s; }
.dia-slideshow .dia-slide:nth-child(2) { animation-delay: -8s; }
.dia-slideshow .dia-slide:nth-child(3) { animation-delay: -16s; }
.dia-slideshow .dia-slide:nth-child(4) { animation-delay: -24s; }
.dia-slideshow .dia-slide:nth-child(5) { animation-delay: -32s; }
.dia-slideshow .dia-slide:nth-child(6) { animation-delay: -40s; }

@keyframes diaFade {
  0%     { opacity: 0; }
  8.33%  { opacity: 1; }
  16.66% { opacity: 1; }
  25%    { opacity: 0; }
  100%   { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .animate-on-scroll.animate-image > img {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dia-slideshow .dia-slide { animation: none; }
  .dia-slideshow .dia-slide:nth-child(1) { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1399px) {
  .vorstand-grid,
  .services-grid.vorstand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .breadcrumb-bar { padding: 10px 20px; }
  .breadcrumb { font-size: 14px; }
  .info-grid { grid-template-columns: 1fr; gap: 20px; }
  .donation-hero,
  .themenaz-hero { padding: 3em 20px 2em; }
  .donation-accounts { padding: 3em 20px 2em; }
  .donation-cta { padding: 3em 20px; }
  .donation-cta-card { padding: 24px; }
}

@media (max-width: 809px) {
  .hero-content { display: block; }
  .order-choice .column + .column .order-card { margin-top: 1.25em; }
  .vorstand-grid,
  .services-grid.vorstand-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1399px) {
  .hero-image-wrapper {
    min-height: 35em;
    padding: 20px;
  }

  #hero_subpage .hero-image-wrapper {
    padding: 0;
    min-height: 38em;
  }

  .hero-content {
    padding: 20px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 { margin-bottom: 1em; }

  .faq {
    padding: 0;
    background: #efefef;
  }

  .faq-inner {
    padding: 60px 20px;
    background: #efefef;
  }

  .faq-question { background: #efefef; }
  .faq-answer { background: #efefef; }
  .faq-item { border-top: 1px solid #bababa; }

  .portfolio { padding-bottom: 25px; }
  .services { padding-bottom: 25px; }

  .footer-top { gap: 60px; }
  .footer-columns { gap: 60px; }
  .footer-bottom { flex-direction: unset; }

  .portfolio-card-image { height: 50vh; }

  .infopanels .large-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .infopanels .small-12 {
    margin: 0 0 20px;
  }

  .c-nav-grid { padding: 10px; }

  .infopanels h2 {
    padding: 60px 20px 0;
    margin-bottom: 0;
  }

  .infopanels .c-nav-grid__link {
    font-weight: 600;
    min-height: 200px;
  }

  .infopanels { padding-bottom: 0; }

  .nav-links a,
  .nav-links .nav-link {
    font-size: 1em;
  }

}

@media (min-width: 1400px) {
  .services { padding-bottom: 10em; }
  .about { padding-bottom: 10em; }
  .portfolio { padding-bottom: 12em; }

  .nav-links a,
  .nav-links .nav-link {
    font-size: 1.35em;
  }

}

.meta-nav-bar .active, .meta-nav-bar .active:hover {
  background: transparent;
  color: #000;
  padding: 12px 12px;
  border-radius: 0;
  border-bottom: 3px solid #fbcc27;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid #e1e1e1;
}

/* Weitere Inhalte zum Thema (Linkliste) */
#inhalte-thema-liste .mitgliedschaft-content {
  max-width: 100%;
}

.themen-linkliste-label {
  margin: 0 0 0.75em;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.themen-linkliste {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d4d4d4;
}

.themen-linkliste li {
  border-bottom: 1px solid #d4d4d4;
  margin: 0;
}

.themen-linkliste a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 1em 0.25em;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.themen-linkliste a:hover {
  color: #000;
}

.themen-linkliste a:hover .themen-linkliste__arrow {
  transform: translateX(4px);
}

.themen-linkliste__arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

/* Mobile-Menü: Flyouts in der mn-bar (nur Root, ≤768px) */
.mn-flyouts {
  display: none;
}

@media (max-width: 768px) {
  .flyouts { display: none; }
  .hero-image-wrapper { padding: 0px !important; border-radius: 0px; }
  #hero_subpage .hero-image-wrapper { padding: 0px !important; border-radius: 0px; }

  /* Ausnahme: Schnellzugriff in der Mobile-Menü-Leiste */
  .mn-bar--with-flyouts .mn-flyouts {
    display: block;
  }

  /* Scroll auf die Liste legen, damit Flyout-Panels nicht abgeschnitten werden */
  .mobile-nav .mn-stage:has(.mn-bar--with-flyouts) {
    overflow: visible;
  }

  .mn-panel:has(.mn-bar--with-flyouts) {
    overflow: visible;
  }

  .mn-panel:has(.mn-bar--with-flyouts) .mn-list {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }

  .mn-bar--with-flyouts .mn-title {
    display: none;
  }

  .mn-bar--with-flyouts {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 12px;
    min-height: 72px;
  }

  .mn-bar--with-flyouts .mn-bar-spacer {
    display: none;
  }

  .mn-bar--with-flyouts .mn-flyouts {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    pointer-events: auto;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__inner {
    display: flex;
    flex-direction: row;
    width: 100%;
    box-shadow: none;
    gap: 8px;
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__item {
    position: relative;
    border-bottom: none;
    flex: 1 1 0;
    min-width: 0;
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__activator {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 10px 8px;
    border-radius: 10px;
    background: #f3f4f6;
    font-size: 12px;
    gap: 6px;
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__item:first-child > .flyouts__activator,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__item:last-child > .flyouts__activator {
    border-radius: 10px;
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__icon,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__item--order .flyouts__icon,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__item--kbb .flyouts__icon,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__item--donate .flyouts__icon {
    width: 26px;
    height: 26px;
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__icon-svg,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__item--order .flyouts__icon-svg,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__item--kbb .flyouts__icon-svg,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__item--donate .flyouts__icon-svg {
    width: 24px;
    height: 24px;
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__label {
    font-size: 12px;
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__panel {
    top: calc(100% + 8px);
    right: auto;
    left: 50%;
    width: min(373px, calc(100vw - 24px));
    transform: translateX(-50%) translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__item.is-open .flyouts__panel {
    transform: translateX(-50%) translateY(0);
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__item--contact .flyouts__panel {
    left: 0;
    transform: translateX(0) translateY(-8px);
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__item--contact.is-open .flyouts__panel {
    transform: translateX(0) translateY(0);
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__panel-text,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__panel-text a,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__panel-link,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__panel a {
    font-size: 16px !important;
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__panel-link,
  .mn-bar--with-flyouts .mn-flyouts .flyouts__panel-link:hover {
    color: #000 !important;
  }

  .mn-bar--with-flyouts .mn-flyouts .flyouts__panel-link {
    padding-left: 20px;
    padding-right: 20px;
  }

  #hero_subpage .hero-image-wrapper img {
    border-radius: 0px !important;
  }

}

@media (min-width: 1025px) {
  #home.hero .hero-content--block {
      display: flex;
      flex-direction: row;
      align-items: flex-end;
      justify-content: space-between;
      gap: 60px;
      padding-right: 80px;
      max-width: 1440px;
  }
}