.afcea-icon-card{--afcea-bg:#004b8d;display:flex;flex-direction:column;min-height:230px;border:1px solid #d9e1e9;border-radius:9px;overflow:hidden;text-decoration:none!important;color:inherit;box-shadow:0 1px 2px #12263b14;transition:box-shadow .2s,transform .2s;font-family:Barlow,Arial,sans-serif;box-sizing:border-box}
.afcea-icon-card.afcea-color-dialog{--afcea-bg:#0066b3}.afcea-icon-card.afcea-color-teal{--afcea-bg:#008c91}.afcea-icon-card.afcea-color-violet{--afcea-bg:#6655a4}.afcea-icon-card.afcea-color-navy{--afcea-bg:#17365d}
.afcea-card-top{position:relative;background:linear-gradient(125deg,var(--afcea-bg),color-mix(in srgb,var(--afcea-bg),#001b37 20%));color:#fff;min-height:174px;padding:30px 34px 23px;display:flex;align-items:flex-start;gap:12px;flex:1;box-sizing:border-box;isolation:isolate}
.afcea-card-network{position:absolute;inset:0;opacity:.22;pointer-events:none;z-index:-1;background-image:radial-gradient(circle at 76% 22%,#22b8ed 0 4px,transparent 5px),radial-gradient(circle at 64% 54%,#22b8ed 0 4px,transparent 5px),radial-gradient(circle at 88% 78%,#22b8ed 0 4px,transparent 5px),linear-gradient(23deg,transparent 55%,#39b2ed55 55.2%,transparent 55.6%),linear-gradient(154deg,transparent 58%,#39b2ed55 58.2%,transparent 58.6%),linear-gradient(75deg,transparent 68%,#39b2ed55 68.2%,transparent 68.6%)}
.afcea-card-copy{flex:1;min-width:0}.afcea-card-copy h3{font-family:inherit!important;font-weight:650;font-size:clamp(23px,2.1vw,34px);line-height:1.14;color:#fff!important;margin:0 0 16px!important}.afcea-card-copy p{font-family:inherit!important;color:#fff!important;font-size:17px;line-height:1.5;margin:0!important}.afcea-card-icon{flex:0 0 76px;color:#fff}.afcea-card-icon svg{max-width:100%;height:auto}
.afcea-card-footer{background:#fff;display:flex;gap:12px;align-items:center;padding:16px 34px;color:#004b8d;font-weight:650;font-size:17px;min-height:59px;box-sizing:border-box}.afcea-card-arrow{font-size:26px;line-height:1}
a.afcea-icon-card:hover{box-shadow:0 7px 20px #12263b24;transform:translateY(-2px)}a.afcea-icon-card:focus-visible{outline:3px solid #ffbf47;outline-offset:3px}
@media(max-width:600px){.afcea-card-top{padding:24px;min-height:155px}.afcea-card-footer{padding:15px 24px}.afcea-card-icon{flex-basis:56px}.afcea-card-copy h3{font-size:25px}.afcea-card-copy p{font-size:16px}}
@media(prefers-reduced-motion:reduce){.afcea-icon-card{transition:none}}

/* AFCEA IconCard v1.1: individuell einstellbare Design-Tokens */
.afcea-icon-card{width:var(--afcea-card-width,100%);min-height:var(--afcea-card-height,230px);max-width:100%;}
.afcea-icon-card .afcea-card-top{padding:var(--afcea-card-padding,40px);gap:22px;}
.afcea-icon-card .afcea-card-copy h3{font-size:var(--afcea-title-size,28px);max-width:var(--afcea-heading-width,100%);white-space:normal;line-height:1.2;margin-bottom:var(--afcea-text-gap,22px)!important;overflow-wrap:anywhere;}
.afcea-icon-card .afcea-card-copy p{font-size:var(--afcea-description-size,17px);}
.afcea-icon-card .afcea-card-icon{flex:0 0 var(--afcea-icon-size,64px);width:var(--afcea-icon-size,64px);}
.afcea-icon-card .afcea-card-icon svg,.afcea-icon-card .afcea-card-icon img{width:100%;height:auto;display:block;}
.afcea-icon-card .afcea-card-footer{padding:18px var(--afcea-card-padding,40px);}
@media(max-width:600px){.afcea-icon-card .afcea-card-top{padding:clamp(16px,5vw,var(--afcea-card-padding,40px));}.afcea-icon-card .afcea-card-footer{padding-left:clamp(16px,5vw,var(--afcea-card-padding,40px));padding-right:clamp(16px,5vw,var(--afcea-card-padding,40px));}}

/* Agenda AFCEA */
.afcea-agenda {
  --afcea-signal-red: #8C1723;
  --afcea-agenda-blue: #173b72;
  box-sizing: border-box;
  width: 100%;
  padding: 22px 0 22px 32px;
  border-left: 7px solid var(--afcea-signal-red);
  background: #fff;
  color: #172033;
  font-family: Barlow, Arial, sans-serif;
}
.afcea-agenda-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 14px;
}
.afcea-agenda-header h2,
.em.pixelbones .afcea-agenda-header h2 {
  margin: 0 !important;
  color: var(--afcea-signal-red) !important;
  font-family: inherit !important;
  font-size: clamp(24px, 2vw, 30px) !important;
  font-weight: 700;
  line-height: 1.15;
}
.afcea-agenda-note {
  color: #68758a;
  font-size: 14px;
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
}
.afcea-agenda-list {
  width: 100%;
}
.afcea-agenda-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 165px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-height: 46px;
  padding: 11px 0 10px;
  border-bottom: 1px solid #cdd5df;
  box-sizing: border-box;
}
.afcea-agenda-row:first-child {
  border-top: 1px solid #cdd5df;
}
.afcea-agenda-time {
  color: var(--afcea-agenda-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}
.afcea-agenda-point {
  min-width: 0;
  color: #172033;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.afcea-agenda-point strong {
  color: var(--afcea-agenda-blue);
  font-weight: 700;
}
.afcea-agenda-point em {
  color: #68758a;
}
.afcea-agenda-editor-actions {
  position: absolute;
  z-index: 2;
  top: 4px;
  right: 0;
  display: none;
  padding: 2px;
  border: 1px solid #d6dce3;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 8px #1720331a;
}
.block-editor-block-list__block .afcea-agenda-row:hover .afcea-agenda-editor-actions,
.block-editor-block-list__block .afcea-agenda-row:focus-within .afcea-agenda-editor-actions {
  display: flex;
}
.afcea-agenda-add {
  margin-top: 16px !important;
}
@media (max-width: 600px) {
  .afcea-agenda {
    padding: 18px 0 18px 20px;
    border-left-width: 5px;
  }
  .afcea-agenda-row {
    grid-template-columns: minmax(90px, 112px) minmax(0, 1fr);
    gap: 14px;
  }
  .afcea-agenda-time,
  .afcea-agenda-point {
    font-size: 15px;
  }
}

/* Innenabstand zwischen Signalbalken und Agenda-Inhalt */
.afcea-agenda > .afcea-agenda-header,
.afcea-agenda > .afcea-agenda-list {
  box-sizing: border-box;
  padding-left: 28px;
  padding-right: 12px;
}
@media (max-width: 600px) {
  .afcea-agenda > .afcea-agenda-header,
  .afcea-agenda > .afcea-agenda-list {
    padding-left: 18px;
    padding-right: 8px;
  }
}

/* Veranstaltungs-Download und leere Kartenbereiche */
.single-event section.em-event-location:has(em:empty),
.single-event section.em-event-location:empty {
  display: none !important;
}
.afcea-event-download {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 2px solid #8C1723;
}
.afcea-event-download a {
  color: #004b8d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Einheitliche AFCEA-Anmeldung */
.afcea-registration-fields {
  border: 0;
  margin: 28px 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}
.afcea-registration-fields legend {
  grid-column: 1 / -1;
  color: #004b8d;
  font-size: clamp(1.6rem, 2vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 4px;
  padding: 0;
}
.afcea-registration-field { margin: 0; }
.afcea-registration-field label {
  display: block;
  color: #141936;
  font-weight: 700;
  margin-bottom: 7px;
}
.afcea-registration-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #aeb6c5;
  border-radius: 2px;
  background: #fff;
  padding: 10px 12px;
}
.em-booking-form tr:has(input[name="user_name"]),
.em-booking-form tr:has(input[name="dbem_phone"]),
.em-booking-form tr:has(input[name="user_email"]) {
  display: none;
}
.em-booking-form .em-booking-submit,
.em-booking-form .em-booking-button,
.em-booking-form button[type="submit"] {
  min-width: 220px;
}
@media (max-width: 700px) {
  .afcea-registration-fields { grid-template-columns: 1fr; }
}


/* Monatsübersicht Veranstaltungen */
.afcea-event-overview { width: 100%; }
.afcea-event-year {
  color: #004b8d;
  font-size: 20px;
  margin: 24px 0 10px;
}
.afcea-event-month { margin: 0 0 18px; }
.afcea-event-month-title {
  color: #004b8d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 7px;
}
.afcea-event-empty {
  min-height: 28px;
  background: #fff;
  border-radius: 4px;
}
.afcea-event-month-list {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8dee9;
  border-radius: 10px;
}
.afcea-event-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(240px,1fr) 166px 140px;
  gap: 20px;
  align-items: center;
  min-height: 98px;
  background: #fff;
  padding: 14px 20px;
}
.afcea-event-row + .afcea-event-row { border-top: 1px solid #004b8d; }
.afcea-event-category-stripe {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--afcea-category-color,#5389d1);
}
.afcea-event-date-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 62px;
  height: 70px;
  border-radius: 6px;
  background: #075596;
  color: #fff;
  line-height: 1;
}
.afcea-event-day { font-size: 24px; font-weight: 700; }
.afcea-event-badge-month {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
}
.afcea-event-details { min-width: 0; }
.afcea-event-title {
  color: #004b8d;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 5px;
}
.afcea-event-title a { color: inherit; text-decoration: none; }
.afcea-event-details time,
.afcea-event-location {
  display: block;
  color: #566174;
  font-size: 14px;
  line-height: 1.35;
}
.afcea-event-location { margin-top: 3px; }
.afcea-event-status {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 166px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #e4e7ec;
  color: #5e6675;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.afcea-event-status.is-open { background: #e7f0f8; color: #004b8d; }
.afcea-event-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 140px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #075596;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
}
.afcea-event-action:hover,
.afcea-event-action:focus { background: #004b8d; }
body.page-id-2024 .entry-header { display: none; }
body.page-id-2024 .entry-content > .wp-block-group > h1 {
  font-size: 38px;
  line-height: 1.15;
}
body.page-id-2024 .entry-content > .wp-block-group > p {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
@media (max-width: 900px) {
  .afcea-event-row {
    grid-template-columns: 62px minmax(200px,1fr) 150px;
    gap: 16px;
  }
  .afcea-event-status { width: 150px; }
  .afcea-event-action {
    grid-column: 2 / 4;
    width: 100%;
  }
}
@media (max-width: 620px) {
  .afcea-event-row {
    grid-template-columns: 62px 1fr;
    padding: 14px 16px;
  }
  .afcea-event-status,
  .afcea-event-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}


/* Fix: Zusatzangaben, Status und Aktion bleiben in einer kompakten Zeile */
.afcea-event-row {
  grid-template-columns: 64px minmax(240px, 1fr) minmax(0, 150px) 166px 140px;
  gap: 16px;
}
.afcea-event-features {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  color: #566174;
  font-size: 14px;
  line-height: 1.35;
}
@media (max-width: 900px) and (min-width: 621px) {
  .afcea-event-row { grid-template-columns: 62px minmax(0, 1fr) 150px; }
  .afcea-event-features { grid-column: 2; }
  .afcea-event-status { grid-column: 3; grid-row: 1; width: 150px; }
  .afcea-event-action { grid-column: 2 / 4; width: 100%; }
}

.afcea-event-feature-link {
  color: #004b8d;
  font-weight: 700;
  text-decoration: none;
}
.afcea-event-feature-link:hover,
.afcea-event-feature-link:focus-visible {
  color: #8C1723;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* AFCEA: einheitliche Breite für Dreier-Kachelreihen – passend zu den blauen Inhaltsbereichen. */
@media (min-width: 782px) {
  .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* AFCEA News: einheitliches Primärblau für die Textflächen der Beitragskarten. */
.afcea-news-card,
.afcea-news-card > .wp-block-group {
  background-color: #004B8D !important;
}
.afcea-news-card .wp-block-post-date,
.afcea-news-card .wp-block-post-title,
.afcea-news-card .wp-block-post-title a {
  color: #ffffff !important;
}

/* Vorstand: Detailinformationen als Overlay statt als langer Bereich unter den Karten. */
.page-id-2006 .entry-content > .wp-block-group[id^="info-"] {
  display: none;
}
.page-id-2006 .entry-content > h2:has(+ p + .wp-block-group[id^="info-"]),
.page-id-2006 .entry-content > h2:has(+ p + .wp-block-group[id^="info-"]) + p {
  display: none;
}
.page-id-2006 .entry-content > .wp-block-group[id^="info-"]:target {
  display: block;
  position: fixed;
  z-index: 100001;
  top: 5vh;
  left: 50%;
  width: min(900px, calc(100vw - 32px));
  max-height: 90vh;
  margin: 0 !important;
  overflow-y: auto;
  transform: translateX(-50%);
  border-top-color: #5389d1 !important;
  box-shadow: 0 0 0 100vmax rgba(10, 24, 48, 0.72), 0 24px 60px rgba(10, 24, 48, 0.28);
}
.page-id-2006 .entry-content > .wp-block-group[id^="info-"]:target .wp-block-buttons {
  position: sticky;
  bottom: 0;
  padding-top: 14px;
  background: #ffffff;
}

/* Höhere Spezifität gegenüber seiteninternen Query-Block-Stilen. */
body .entry-content .afcea-news-card > .wp-block-group {
  background: #004B8D !important;
  background-color: #004B8D !important;
}

/* Vorstandsdetails liegen in Spalten: Layout entfernen, Inhalte nur als Ziel-Overlay zeigen. */
.page-id-2006 .entry-content > .wp-block-group:has(+ .wp-block-columns .wp-block-group[id^="info-"]) {
  display: none;
}
.page-id-2006 .entry-content > .wp-block-columns:has(.wp-block-group[id^="info-"]),
.page-id-2006 .entry-content > .wp-block-columns:has(.wp-block-group[id^="info-"]) > .wp-block-column {
  display: contents;
}
.page-id-2006 .entry-content .wp-block-group[id^="info-"] {
  display: none;
}
.page-id-2006 .entry-content .wp-block-group[id^="info-"]:target {
  display: block;
  position: fixed;
  z-index: 100001;
  top: 5vh;
  left: 50%;
  width: min(900px, calc(100vw - 32px));
  max-height: 90vh;
  margin: 0 !important;
  overflow-y: auto;
  transform: translateX(-50%);
  border-top-color: #5389d1 !important;
  box-shadow: 0 0 0 100vmax rgba(10, 24, 48, 0.72), 0 24px 60px rgba(10, 24, 48, 0.28);
}


/* AFCEA Fachausstellung 2027 – Messe-Landingpage */
.page-id-2246 .entry-header,
.page-id-2246 .ast-single-post-order {
  display: none !important;
}
.page-id-2246 .site-content .ast-container,
.page-id-2246 .entry-content {
  padding-top: 0 !important;
}
.page-id-2246 .afcea-fa-subnav {
  position: sticky;
  top: 0;
  z-index: 40;
  max-width: 1200px !important;
  box-shadow: 0 4px 14px rgba(13,45,95,.16);
}
.admin-bar.page-id-2246 .afcea-fa-subnav { top: 32px; }
.page-id-2246 .afcea-fa-subnav .wp-block-buttons {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 0 !important;
  width: 100%;
}
.page-id-2246 .afcea-fa-subnav .wp-block-button,
.page-id-2246 .afcea-fa-subnav .wp-block-button__link {
  width: 100%;
}
.page-id-2246 .afcea-fa-subnav .wp-block-button__link {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  white-space: nowrap;
  text-align: center;
}
.page-id-2246 .afcea-fa-subnav .wp-block-button__link:hover,
.page-id-2246 .afcea-fa-subnav .wp-block-button__link:focus-visible {
  background: #004b8d !important;
  color: #fff !important;
}
.page-id-2246 .afcea-fa-hero,
.page-id-2246 .entry-content > .wp-block-group,
.page-id-2246 .entry-content > .wp-block-cover {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.page-id-2246 #themen,
.page-id-2246 #programm,
.page-id-2246 #mitmachen,
.page-id-2246 #besuchen,
.page-id-2246 #ueber-uns {
  scroll-margin-top: 88px;
}
.page-id-2246 .afcea-fa-placeholder {
  box-sizing: border-box;
}
@media (max-width: 921px) {
  .page-id-2246 .afcea-fa-subnav { position: relative; top: auto; }
  .admin-bar.page-id-2246 .afcea-fa-subnav { top: auto; }
  .page-id-2246 .afcea-fa-subnav .wp-block-buttons {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .page-id-2246 .afcea-fa-subnav .wp-block-button:last-child {
    grid-column: 1 / -1;
  }
  .page-id-2246 .afcea-fa-subnav .wp-block-button__link {
    white-space: normal;
    padding: 15px 10px !important;
    font-size: 13px !important;
  }
  .page-id-2246 .afcea-fa-hero {
    min-height: 540px !important;
    padding: 54px 28px !important;
  }
  .page-id-2246 .afcea-fa-hero h1 {
    font-size: clamp(38px, 10vw, 52px) !important;
  }
}
@media (max-width: 782px) {
  .admin-bar.page-id-2246 .afcea-fa-subnav { top: auto; }
}


/* Fachausstellung 2027: kompakter Abstand in der Kennzahlenleiste */
.page-id-2246 .afcea-fa-hero + .wp-block-group .wp-block-column > p {
  margin-top: 8px !important;
}


/* Fachausstellung 2027: sechs Menüpunkte in einer Zeile */
@media (min-width: 922px) {
  .page-id-2246 .afcea-fa-subnav .wp-block-buttons {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 921px) {
  .page-id-2246 .afcea-fa-subnav .wp-block-button:last-child {
    grid-column: auto;
  }
}


/* Für Aussteller: großes, mitlaufendes Untermenü wie auf der Fachausstellungsseite */
body.page-id-2054 .afcea-fa-subnav {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  max-width: 1200px !important;
  box-shadow: 0 8px 18px rgba(13, 45, 95, .16);
}
body.admin-bar.page-id-2054 .afcea-fa-subnav {
  top: 32px;
}
body.page-id-2054 .afcea-fa-subnav .wp-block-buttons {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 !important;
  width: 100%;
}
body.page-id-2054 .afcea-fa-subnav .wp-block-button,
body.page-id-2054 .afcea-fa-subnav .wp-block-button__link {
  width: 100%;
}
body.page-id-2054 .afcea-fa-subnav .wp-block-button__link {
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 20px 14px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
body.page-id-2054 .afcea-fa-subnav .wp-block-button__link:hover,
body.page-id-2054 .afcea-fa-subnav .wp-block-button__link:focus-visible {
  background: #004b8d !important;
}
body.page-id-2054 #allgemeine-informationen,
body.page-id-2054 #termine,
body.page-id-2054 #bestehende-aussteller,
body.page-id-2054 #neue-interessenten,
body.page-id-2054 #preise,
body.page-id-2054 #agb-sonderagb,
body.page-id-2054 #downloads,
body.page-id-2054 #standplaene,
body.page-id-2054 #ausstellerverzeichnis,
body.page-id-2054 #e-kompetenzmatrix,
body.page-id-2054 #webapp,
body.page-id-2054 #links {
  scroll-margin-top: 170px;
}
@media (max-width: 921px) {
  body.page-id-2054 .afcea-fa-subnav .wp-block-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.page-id-2054 .afcea-fa-subnav .wp-block-button__link {
    padding: 15px 10px !important;
    font-size: 13px !important;
    white-space: normal;
  }
}
@media (max-width: 782px) {
  body.admin-bar.page-id-2054 .afcea-fa-subnav {
    top: 46px;
  }
}


/* Für Aussteller: sichere Sprungmarken unter dem zweizeiligen Sticky-Menü */
body.page-id-2054 .afcea-anchor-offset {
  position: relative;
  top: -210px;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  scroll-margin-top: 0 !important;
  visibility: hidden;
  pointer-events: none;
}


/* AFCEA Hinweisbanner – kompakter, gut lesbarer Lauftext */
.afcea-info-ticker {
  --afcea-ticker-blue: #004b8d;
  --afcea-ticker-red: #8c1723;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch;
  box-sizing: border-box;
  width: min(1200px, 100%);
  min-height: 54px;
  margin: 18px auto 30px;
  overflow: hidden;
  border: 1px solid #d7e0ea;
  border-radius: 4px;
  background: #f6f9fc;
  color: #14233f;
  box-shadow: 0 3px 12px rgba(16, 45, 78, .08);
  font-family: Barlow, Arial, sans-serif;
}
.afcea-info-ticker-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--afcea-ticker-red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.afcea-info-ticker-viewport {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}
.afcea-info-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: max-content;
  will-change: transform;
  animation: afcea-info-ticker-scroll var(--afcea-ticker-duration, 24s) linear infinite;
}
.afcea-info-ticker-copy {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 20px;
  padding: 0 44px 0 30px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}
.afcea-info-ticker-copy::after {
  content: '•';
  margin-left: 24px;
  color: #5389d1;
}
.afcea-info-ticker-link {
  color: var(--afcea-ticker-blue) !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.afcea-info-ticker:hover .afcea-info-ticker-track,
.afcea-info-ticker:focus-within .afcea-info-ticker-track {
  animation-play-state: paused;
}
@keyframes afcea-info-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.block-editor-block-list__block .afcea-info-ticker-track {
  animation: none;
  transform: none;
}
.block-editor-block-list__block .afcea-info-ticker-copy:nth-child(2) {
  display: none;
}
@media (max-width: 620px) {
  .afcea-info-ticker {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 50px;
    margin-bottom: 24px;
  }
  .afcea-info-ticker-label {
    padding: 10px 12px;
    font-size: 12px;
  }
  .afcea-info-ticker-copy {
    padding-left: 22px;
    padding-right: 34px;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .afcea-info-ticker-track {
    width: 100%;
    min-width: 0;
    animation: none;
    transform: none;
  }
  .afcea-info-ticker-copy {
    min-width: 0;
    white-space: normal;
  }
  .afcea-info-ticker-copy:nth-child(2) {
    display: none;
  }
  .afcea-info-ticker-copy::after {
    display: none;
  }
}


/* Aussteller-Unterseiten: weiße Überschriften im blauen Kopfbereich */
.entry-content .wp-block-group[style*="background-color:#004b8d"] h1 {
  color: #ffffff !important;
  margin-top: 12px !important;
  margin-bottom: 22px !important;
}


/* Aussteller-Unterseiten: Theme-Seitentitel ausblenden, da der blaue Kopf den Titel enthält */
body.parent-pageid-2054 .entry-header,
body.parent-pageid-2054 .ast-single-post-order {
  display: none !important;
}


/* Aussteller-Navigation: klares dreizeiliges Raster und aktive Bereiche */
body.page-id-2054 .entry-content > nav:first-child,
body.parent-pageid-2054 .entry-content > nav:first-child {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 0 !important;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 !important;
  overflow: hidden;
}
body.page-id-2054 .entry-content > nav:first-child > a,
body.parent-pageid-2054 .entry-content > nav:first-child > a {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 58px;
  padding: 12px 10px;
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  line-height: 1.2;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  font-size: 14px;
  transition: background-color .18s ease;
}
body.page-id-2054 .entry-content > nav:first-child > a:hover,
body.parent-pageid-2054 .entry-content > nav:first-child > a:hover,
body.page-id-2054 .entry-content > nav:first-child > a:focus-visible,
body.parent-pageid-2054 .entry-content > nav:first-child > a:focus-visible {
  background: #075596 !important;
}
body.page-id-2054 .entry-content > nav:first-child a[href$="/fuer-aussteller-fa/"],
body.page-id-2596 .entry-content > nav:first-child a[href$="/anmeldung-standbuchung/"],
body.page-id-2598 .entry-content > nav:first-child a[href$="/termine/"],
body.page-id-2600 .entry-content > nav:first-child a[href$="/preise/"],
body.page-id-2602 .entry-content > nav:first-child a[href$="/standplaene/"],
body.page-id-2604 .entry-content > nav:first-child a[href$="/standbau/"],
body.page-id-2606 .entry-content > nav:first-child a[href$="/logistikdienstleister/"],
body.page-id-2613 .entry-content > nav:first-child a[href$="/catering/"],
body.page-id-2615 .entry-content > nav:first-child a[href$="/konferenzraeume-fuer-aussteller/"],
body.page-id-2617 .entry-content > nav:first-child a[href$="/industrievortraege/"],
body.page-id-2619 .entry-content > nav:first-child a[href$="/recruiting/"],
body.page-id-2621 .entry-content > nav:first-child a[href$="/start-ups-bewerbung/"],
body.page-id-2623 .entry-content > nav:first-child a[href$="/hotels-uebernachtungen/"],
body.page-id-2625 .entry-content > nav:first-child a[href$="/ausstellerverzeichnis/"],
body.page-id-2627 .entry-content > nav:first-child a[href$="/ausstellerbesprechung/"],
body.page-id-2629 .entry-content > nav:first-child a[href$="/leistungen-services/"],
body.page-id-2631 .entry-content > nav:first-child a[href$="/agb-downloads/"],
body.page-id-2633 .entry-content > nav:first-child a[href$="/digitale-services/"],
body.page-id-2650 .entry-content > nav:first-child a[href$="/anfahrt-parken/"] {
  background: #5389d1 !important;
  box-shadow: inset 0 -4px 0 #ffffff;
}
body.page-id-2246 #primary-site-navigation-desktop a[href*="/fachaustellung/afcea-fachausstellung-2027/"],
body.page-id-2054 #primary-site-navigation-desktop a[href*="/fachaustellung/afcea-fachausstellung-2027/"],
body.parent-pageid-2054 #primary-site-navigation-desktop a[href*="/fachaustellung/afcea-fachausstellung-2027/"] {
  background: #004b8d !important;
  color: #ffffff !important;
}
@media (max-width: 921px) {
  body.page-id-2054 .entry-content > nav:first-child,
  body.parent-pageid-2054 .entry-content > nav:first-child {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body.page-id-2054 .entry-content > nav:first-child > a,
  body.parent-pageid-2054 .entry-content > nav:first-child > a {
    grid-column: span 1 !important;
  }
}
@media (max-width: 600px) {
  body.page-id-2054 .entry-content > nav:first-child,
  body.parent-pageid-2054 .entry-content > nav:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    position: relative !important;
    top: auto !important;
  }
  body.page-id-2054 .entry-content > nav:first-child > a,
  body.parent-pageid-2054 .entry-content > nav:first-child > a {
    min-height: 52px;
    padding: 10px 8px;
    font-size: 13px;
  }
}


/* Aussteller-Navigation: luftiges Messe-Menü wie in der Referenz, in drei Reihen */
@media (min-width: 922px) {
  body.page-id-2054 .entry-content > nav:first-child,
  body.parent-pageid-2054 .entry-content > nav:first-child {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch;
    gap: 0 !important;
    padding: 20px 24px !important;
    overflow: visible;
    background: #14356b !important;
  }
  body.page-id-2054 .entry-content > nav:first-child > a,
  body.parent-pageid-2054 .entry-content > nav:first-child > a {
    flex: 0 0 calc(100% / 7);
    min-height: 82px;
    padding: 18px 12px !important;
    border: 0 !important;
    background: transparent;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  body.page-id-2054 .entry-content > nav:first-child > a:hover,
  body.parent-pageid-2054 .entry-content > nav:first-child > a:hover,
  body.page-id-2054 .entry-content > nav:first-child > a:focus-visible,
  body.parent-pageid-2054 .entry-content > nav:first-child > a:focus-visible {
    background: rgba(83,137,209,.18) !important;
  }
}


/* Aussteller-Navigation: kompakte Kategorienavigation für Desktop und Mobil */
body.page-id-2054 .afcea-exhibitor-nav,
body.parent-pageid-2054 .afcea-exhibitor-nav{
  position:sticky;top:0;z-index:1000;box-sizing:border-box;width:100%;max-width:1200px;margin:0 auto;background:#14356b;box-shadow:0 8px 18px rgba(13,45,95,.16);font-family:Barlow,Arial,sans-serif
}
body.admin-bar.page-id-2054 .afcea-exhibitor-nav,
body.admin-bar.parent-pageid-2054 .afcea-exhibitor-nav{top:32px}
.afcea-exhibitor-desktop{display:grid;grid-template-columns:.8fr repeat(5,1fr);align-items:stretch;min-height:58px}
.afcea-exhibitor-desktop>a,
.afcea-exhibitor-desktop details>summary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:58px;padding:10px 14px;color:#fff!important;font-size:14px;font-weight:750;line-height:1.2;letter-spacing:.045em;text-align:center;text-decoration:none!important;cursor:pointer;list-style:none}
.afcea-exhibitor-desktop details>summary::-webkit-details-marker{display:none}
.afcea-exhibitor-desktop details{position:relative;margin:0}
.afcea-exhibitor-desktop details>summary::after{content:'⌄';margin-left:8px;font-size:13px;color:#9fc0e9}
.afcea-exhibitor-desktop>a:hover,
.afcea-exhibitor-desktop>a:focus-visible,
.afcea-exhibitor-desktop details>summary:hover,
.afcea-exhibitor-desktop details>summary:focus-visible,
.afcea-exhibitor-desktop details[open]>summary,
.afcea-exhibitor-desktop details:has(a[aria-current='page'])>summary{background:#075596!important}
.afcea-exhibitor-panel{position:absolute;z-index:1100;top:100%;left:0;width:280px;padding:10px;background:#fff;border-top:4px solid #5389d1;box-shadow:0 12px 30px rgba(8,31,68,.22)}
.afcea-exhibitor-desktop details:nth-last-child(-n+2) .afcea-exhibitor-panel{right:0;left:auto}
.afcea-exhibitor-panel a{display:block;padding:11px 13px;color:#14356b!important;font-size:15px;font-weight:650;line-height:1.25;text-decoration:none!important;border-bottom:1px solid #e4ebf3}
.afcea-exhibitor-panel a:last-child{border-bottom:0}
.afcea-exhibitor-panel a:hover,
.afcea-exhibitor-panel a:focus-visible,
.afcea-exhibitor-panel a[aria-current='page']{background:#e8f1fa;color:#004b8d!important}
.afcea-exhibitor-mobile{display:none}
@media(max-width:921px){
 body.page-id-2054 .afcea-exhibitor-nav,body.parent-pageid-2054 .afcea-exhibitor-nav{position:sticky;top:0}
 body.admin-bar.page-id-2054 .afcea-exhibitor-nav,body.admin-bar.parent-pageid-2054 .afcea-exhibitor-nav{top:46px}
 .afcea-exhibitor-desktop{display:none}
 .afcea-exhibitor-mobile{display:block;margin:0}
 .afcea-exhibitor-mobile>summary{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;min-height:54px;padding:13px 18px;color:#fff;font-size:16px;font-weight:750;letter-spacing:.04em;cursor:pointer;list-style:none}
 .afcea-exhibitor-mobile>summary::-webkit-details-marker{display:none}
 .afcea-exhibitor-mobile>summary::after{content:'+';font-size:24px;font-weight:400}
 .afcea-exhibitor-mobile[open]>summary::after{content:'–'}
 .afcea-exhibitor-mobile-body{max-height:min(68vh,620px);overflow-y:auto;padding:8px 14px 18px;background:#fff;box-shadow:0 12px 24px rgba(8,31,68,.18)}
 .afcea-exhibitor-mobile-body h3{margin:14px 8px 5px!important;color:#004b8d!important;font-size:13px!important;letter-spacing:.08em;text-transform:uppercase}
 .afcea-exhibitor-mobile-body a{display:block;padding:10px 12px;color:#14356b!important;font-size:15px;font-weight:650;text-decoration:none!important;border-bottom:1px solid #e4ebf3}
 .afcea-exhibitor-mobile-body a[aria-current='page']{background:#e8f1fa;color:#004b8d!important}
}
@media(max-width:782px){body.admin-bar.page-id-2054 .afcea-exhibitor-nav,body.admin-bar.parent-pageid-2054 .afcea-exhibitor-nav{top:46px}}


/* Kompakte Aussteller-Navigation: alte Dreizeilen-Regeln vollständig überschreiben */
body.page-id-2054 .entry-content > nav.afcea-exhibitor-nav:first-child,
body.parent-pageid-2054 .entry-content > nav.afcea-exhibitor-nav:first-child{
  display:block !important;
  padding:0 !important;
  overflow:visible !important;
}
@media (min-width:922px){
 body.page-id-2054 .entry-content > nav.afcea-exhibitor-nav:first-child,
 body.parent-pageid-2054 .entry-content > nav.afcea-exhibitor-nav:first-child{
   display:block !important;
   padding:0 !important;
 }
}


/* Ausstellerseiten mobil: lange Titel sauber umbrechen */
@media (max-width:600px){
 body.page-id-2054 .entry-content .wp-block-group[style*="background-color:#004b8d"] h1,
 body.parent-pageid-2054 .entry-content .wp-block-group[style*="background-color:#004b8d"] h1{
   font-size:clamp(30px,9vw,36px) !important;
   line-height:1.12 !important;
   overflow-wrap:normal !important;
   word-break:normal !important;
   hyphens:none;
 }
}


/* Interne Fachausstellungs-Termine: bewusst schlicht und ohne Buchungselemente */
.afcea-fair-dates{display:grid;gap:12px;margin:24px 0 0}
.afcea-fair-date{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:center;gap:24px;padding:18px 22px;border:1px solid #d8e1eb;border-radius:6px;background:#fff;box-shadow:0 2px 8px rgba(16,38,74,.05)}
.afcea-fair-date time{display:flex;flex-direction:column;color:#536176;font-size:14px;line-height:1.35}
.afcea-fair-date time strong{color:#004b8d;font-size:17px}
.afcea-fair-date h3{margin:0!important;color:#10264a!important;font-size:19px!important;line-height:1.3}
.afcea-status-note{margin:22px 0;padding:18px 20px;border-left:5px solid #5389d1;background:#f2f6fb;color:#10264a}
body.page-id-2054 .afcea-info-ticker{display:none}
@media(max-width:600px){.afcea-fair-date{grid-template-columns:1fr;gap:8px;padding:16px}.afcea-fair-date h3{font-size:17px!important}}

.afcea-faq{display:grid;gap:10px;margin:22px 0 38px}.afcea-faq details{border:1px solid #d8e1eb;border-radius:5px;background:#fff}.afcea-faq summary{padding:16px 18px;color:#004b8d;cursor:pointer}.afcea-faq details p{padding:0 18px 18px;margin:0;color:#26354d}


/* Aussteller-Menü: Hauptnavigation bleibt immer sichtbar */
body.page-id-2054 #masthead,
body.parent-pageid-2054 #masthead,
body.page-id-2054 .site-header,
body.parent-pageid-2054 .site-header{
  position:relative;
  z-index:2000;
}
body.page-id-2054 .afcea-exhibitor-nav,
body.parent-pageid-2054 .afcea-exhibitor-nav{
  z-index:30;
}
