#ahi-impulse,
#ahi-impulse * {
  box-sizing: border-box;
}

#ahi-impulse {
  --ahi-blue: #0b5ea8;
  --ahi-blue-dark: #083f72;
  --ahi-gold: #d79a32;
  --ahi-ink: #172033;
  --ahi-text: #4b5565;
  --ahi-muted: #6b7280;
  --ahi-line: #dce5ec;
  --ahi-soft: #f5f8fa;
  --ahi-white: #ffffff;
  --ahi-shadow: 0 18px 48px rgba(22, 44, 70, 0.08);
  width: 100%;
  margin: 0;
  color: var(--ahi-text);
  background: var(--ahi-white);
  font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#ahi-impulse img,
#ahi-impulse video,
#ahi-impulse iframe {
  display: block;
  max-width: 100%;
}

#ahi-impulse a {
  color: var(--ahi-blue);
  text-underline-offset: 3px;
}

#ahi-impulse a:focus-visible,
#ahi-impulse button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ahi-blue) 30%, transparent);
  outline-offset: 3px;
}

.ahi-wrap {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.ahi-kicker {
  margin: 0 0 12px;
  color: var(--ahi-blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ahi-lead,
.ahi-subtitle {
  max-width: 780px;
  margin: 22px 0 0;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.55;
}

.ahi-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--ahi-blue);
  border-radius: 12px;
  background: var(--ahi-blue);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.ahi-button:hover {
  transform: translateY(-1px);
  background: var(--ahi-blue-dark);
  border-color: var(--ahi-blue-dark);
}

.ahi-button-ghost {
  background: transparent;
  color: var(--ahi-blue) !important;
}

.ahi-button-ghost:hover {
  background: color-mix(in srgb, var(--ahi-blue) 8%, white);
}

.ahi-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ahi-blue) !important;
  text-decoration: none !important;
  font-weight: 800;
}

.ahi-text-link span {
  transition: transform .2s ease;
}

.ahi-text-link:hover span {
  transform: translateX(4px);
}

.ahi-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.ahi-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ahi-blue) 11%, white);
  color: var(--ahi-blue-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}

.ahi-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ahi-muted);
  font-size: 14px;
  line-height: 1.4;
}

.ahi-meta-row span + span::before {
  content: "•";
  margin-right: 18px;
  color: var(--ahi-gold);
}

.ahi-media-fallback {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 82% 12%, rgba(255,255,255,.22), transparent 32%),
    linear-gradient(135deg, var(--ahi-blue-dark), var(--ahi-blue));
  color: rgba(255,255,255,.9);
}

.ahi-media-fallback span {
  font-size: 24px;
  font-weight: 850;
}

/* Übersicht */
.ahi-archive-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.15), transparent 28%),
    linear-gradient(135deg, #073e70 0%, var(--ahi-blue) 56%, #2b91cb 100%);
  color: #fff;
}

.ahi-archive-hero::before,
.ahi-archive-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}

.ahi-archive-hero::before {
  width: 520px;
  height: 520px;
  top: -270px;
  right: -150px;
}

.ahi-archive-hero::after {
  width: 320px;
  height: 320px;
  left: -180px;
  bottom: -220px;
}

.ahi-archive-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(78px, 10vw, 126px) 0 clamp(82px, 10vw, 132px);
}

.ahi-archive-hero .ahi-kicker {
  color: #dceefa;
}

.ahi-archive-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 900;
}

.ahi-archive-hero .ahi-lead {
  color: rgba(255,255,255,.9);
}

.ahi-archive-main {
  padding: 44px 0 110px;
}

.ahi-topic-filter {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin-bottom: 42px;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}

.ahi-topic-filter a {
  flex: 0 0 auto;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--ahi-line);
  border-radius: 999px;
  background: var(--ahi-white);
  color: var(--ahi-ink) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
}

.ahi-topic-filter a:hover,
.ahi-topic-filter a.is-active {
  border-color: var(--ahi-blue);
  background: color-mix(in srgb, var(--ahi-blue) 10%, white);
  color: var(--ahi-blue-dark) !important;
}

.ahi-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: 52px;
  border: 1px solid var(--ahi-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--ahi-shadow);
}

.ahi-featured-media {
  min-height: 520px;
  overflow: hidden;
  background: var(--ahi-soft);
}

.ahi-featured-media img,
.ahi-card-media img,
.ahi-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.ahi-featured:hover .ahi-featured-media img,
.ahi-card:hover .ahi-card-media img,
.ahi-related-card:hover .ahi-related-media img {
  transform: scale(1.025);
}

.ahi-featured-copy {
  align-self: center;
  padding: clamp(34px, 5vw, 66px);
}

.ahi-featured-copy h2,
.ahi-card h2,
.ahi-related-card h3 {
  margin: 0;
  color: var(--ahi-ink);
  letter-spacing: -.025em;
}

.ahi-featured-copy h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.08;
}

.ahi-featured-copy h2 a,
.ahi-card h2 a,
.ahi-related-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.ahi-featured-copy > p {
  margin: 22px 0;
  font-size: 18px;
  line-height: 1.72;
}

.ahi-featured-copy .ahi-text-link {
  margin-top: 24px;
}

.ahi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ahi-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ahi-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 44, 70, .055);
}

.ahi-card-media {
  height: 250px;
  display: block;
  overflow: hidden;
  background: var(--ahi-soft);
}

.ahi-card-body {
  padding: 24px;
}

.ahi-card h2 {
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.16;
}

.ahi-card-body > p {
  margin: 15px 0 18px;
  font-size: 16px;
  line-height: 1.65;
}

.ahi-card-body .ahi-text-link {
  margin-top: 18px;
}

.ahi-pagination {
  margin-top: 52px;
}

.ahi-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ahi-pagination a,
.ahi-pagination span {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--ahi-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ahi-ink) !important;
  text-decoration: none !important;
}

.ahi-pagination .current {
  border-color: var(--ahi-blue);
  background: var(--ahi-blue);
  color: #fff !important;
}

.ahi-empty {
  padding: 54px;
  border: 1px solid var(--ahi-line);
  border-radius: 20px;
  background: var(--ahi-soft);
  text-align: center;
}

/* Einzelartikel */
.ahi-reading-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.ahi-reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ahi-gold);
}

.ahi-single-hero {
  position: relative;
  min-height: min(820px, 82vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.13), transparent 32%),
    linear-gradient(135deg, #073e70, var(--ahi-blue) 58%, #2b91cb);
}

.ahi-single-hero.is-typographic {
  min-height: 620px;
}

.ahi-single-hero-media,
.ahi-single-hero-shade {
  position: absolute;
  inset: 0;
}

.ahi-single-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ahi-single-hero-shade {
  background: linear-gradient(180deg, rgba(8,18,29,.18) 0%, rgba(8,22,35,.44) 46%, rgba(8,22,35,.9) 100%);
}

.ahi-single-hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 12vw, 150px) 0 clamp(56px, 8vw, 92px);
}

.ahi-single-hero .ahi-badges span {
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.13);
  color: #fff;
  backdrop-filter: blur(8px);
}

.ahi-single-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 7.6vw, 92px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 900;
}

.ahi-single-hero .ahi-subtitle {
  color: rgba(255,255,255,.9);
}

.ahi-meta-hero {
  margin-top: 26px;
  color: rgba(255,255,255,.78);
}

.ahi-article-shell {
  padding: clamp(58px, 8vw, 96px) 0 110px;
}

.ahi-article-content {
  width: min(100%, 820px);
  margin: 0 auto;
}

.ahi-prose {
  color: var(--ahi-text);
  font-size: 19px;
  line-height: 1.78;
}

.ahi-prose > * {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

.ahi-prose p {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.ahi-prose h2,
.ahi-prose h3,
.ahi-prose h4 {
  color: var(--ahi-ink);
  font-weight: 900;
  letter-spacing: -.028em;
}

.ahi-prose h2 {
  margin-top: 2.2em;
  margin-bottom: .75em;
  font-size: clamp(32px, 4.3vw, 46px);
  line-height: 1.15;
}

.ahi-prose h3 {
  margin-top: 1.9em;
  margin-bottom: .7em;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.25;
}

.ahi-prose h4 {
  margin-top: 1.7em;
  margin-bottom: .65em;
  font-size: 22px;
  line-height: 1.3;
}

.ahi-prose ul,
.ahi-prose ol {
  margin-top: 1.1em;
  margin-bottom: 1.7em;
  padding-left: 1.4em;
}

.ahi-prose li {
  margin-bottom: .65em;
}

.ahi-prose blockquote,
.ahi-pullquote {
  max-width: 980px;
  margin: clamp(42px, 7vw, 72px) auto;
  padding: clamp(26px, 4.5vw, 44px);
  border: 0;
  border-left: 5px solid var(--ahi-gold);
  border-radius: 0 18px 18px 0;
  background: #fff8e9;
  color: #4d3d2a;
  font-size: clamp(25px, 3.3vw, 36px);
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: -.02em;
}

.ahi-pullquote p,
.ahi-prose blockquote p {
  margin: 0;
}

.ahi-sensitive-note {
  margin: 0 0 42px;
  padding: 24px 26px;
  border: 1px solid #bdd8ea;
  border-radius: 16px;
  background: #eaf4fb;
}

.ahi-sensitive-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ahi-blue-dark);
}

.ahi-sensitive-note p {
  margin: 0;
}

.ahi-video {
  width: min(100vw - 42px, 1100px);
  margin: 0 50% 58px;
  transform: translateX(-50%);
  overflow: hidden;
  border-radius: 22px;
  background: #071726;
  box-shadow: var(--ahi-shadow);
}

.ahi-video iframe,
.ahi-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.ahi-inline-gallery {
  width: min(100vw - 42px, 1120px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(48px, 8vw, 74px) 50%;
  transform: translateX(-50%);
}

.ahi-gallery-item {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--ahi-soft);
  cursor: zoom-in;
}

.ahi-gallery-item:nth-child(3n + 1) {
  grid-column: span 2;
  min-height: 520px;
}

.ahi-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.ahi-gallery-item:hover img {
  transform: scale(1.025);
}

.ahi-gallery-item span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(7,23,38,.76);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  backdrop-filter: blur(7px);
}

.ahi-external-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 58px 0;
  padding: 24px;
  border: 1px solid var(--ahi-line);
  border-radius: 20px;
  background: var(--ahi-soft);
}

.ahi-external-card img {
  width: 170px;
  height: 118px;
  object-fit: cover;
  border-radius: 13px;
}

.ahi-external-card h2 {
  margin: 0 0 8px;
  color: var(--ahi-ink);
  font-size: 25px;
  line-height: 1.2;
}

.ahi-external-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.ahi-author-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 28px;
  margin-top: 70px;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--ahi-line);
  border-radius: 22px;
  background: linear-gradient(145deg, #f5f8fa, #fff);
  box-shadow: 0 14px 38px rgba(22,44,70,.055);
}

.ahi-author-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ahi-blue-dark);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.ahi-author-card h2 {
  margin: 0;
  color: var(--ahi-ink);
  font-size: clamp(25px, 3.4vw, 36px);
  line-height: 1.2;
}

.ahi-author-card > div > p:not(.ahi-kicker) {
  margin: 16px 0 0;
}

.ahi-author-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ahi-related {
  padding: clamp(64px, 9vw, 110px) 0;
  background: linear-gradient(180deg, var(--ahi-soft), #fff);
}

.ahi-related > .ahi-wrap > h2 {
  max-width: 780px;
  margin: 0 0 38px;
  color: var(--ahi-ink);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 900;
}

.ahi-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ahi-related-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ahi-line);
  border-radius: 18px;
  background: #fff;
}

.ahi-related-media {
  height: 190px;
  display: block;
  overflow: hidden;
  background: var(--ahi-soft);
}

.ahi-related-card > div {
  padding: 20px;
}

.ahi-related-card h3 {
  font-size: 21px;
  line-height: 1.22;
}

.ahi-related-card p {
  margin: 12px 0 16px;
  font-size: 15px;
  line-height: 1.55;
}

.ahi-lightbox[hidden] {
  display: none;
}

.ahi-lightbox {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(4,13,22,.94);
}

.ahi-lightbox img {
  max-width: min(94vw, 1600px);
  max-height: 84vh;
  object-fit: contain;
}

.ahi-lightbox p {
  max-width: 900px;
  margin: 14px auto 0;
  color: rgba(255,255,255,.82);
  text-align: center;
}

.ahi-lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 34px;
  cursor: pointer;
}

.ahi-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}

.ahi-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .ahi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ahi-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  #ahi-impulse {
    font-size: 17px;
  }
  .ahi-featured {
    grid-template-columns: 1fr;
  }
  .ahi-featured-media {
    min-height: 420px;
  }
  .ahi-external-card {
    grid-template-columns: 1fr;
  }
  .ahi-external-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 680px) {
  .ahi-wrap {
    width: min(100% - 24px, 1180px);
  }
  .ahi-archive-hero-inner {
    padding: 68px 0 74px;
  }
  .ahi-archive-hero h1 {
    font-size: 44px;
  }
  .ahi-archive-main {
    padding: 26px 0 76px;
  }
  .ahi-topic-filter {
    margin-bottom: 26px;
  }
  .ahi-featured {
    margin-bottom: 30px;
    border-radius: 18px;
  }
  .ahi-featured-media {
    min-height: 290px;
  }
  .ahi-featured-copy {
    padding: 26px 20px 30px;
  }
  .ahi-featured-copy h2 {
    font-size: 34px;
  }
  .ahi-grid,
  .ahi-related-grid,
  .ahi-inline-gallery {
    grid-template-columns: 1fr;
  }
  .ahi-card-media,
  .ahi-related-media {
    height: 230px;
  }
  .ahi-card-body {
    padding: 21px;
  }
  .ahi-single-hero,
  .ahi-single-hero.is-typographic {
    min-height: 620px;
  }
  .ahi-single-hero h1 {
    font-size: 45px;
    line-height: 1.06;
  }
  .ahi-single-hero-copy {
    padding: 92px 0 50px;
  }
  .ahi-article-shell {
    padding: 46px 0 76px;
  }
  .ahi-prose {
    font-size: 17.5px;
    line-height: 1.75;
  }
  .ahi-prose h2 {
    font-size: 32px;
  }
  .ahi-prose h3 {
    font-size: 25px;
  }
  .ahi-pullquote,
  .ahi-prose blockquote {
    margin: 38px 0;
    padding: 24px 20px;
    font-size: 24px;
  }
  .ahi-video,
  .ahi-inline-gallery {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    transform: none;
  }
  .ahi-inline-gallery {
    gap: 12px;
  }
  .ahi-gallery-item,
  .ahi-gallery-item:nth-child(3n + 1) {
    grid-column: auto;
    min-height: 280px;
  }
  .ahi-author-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }
  .ahi-author-actions {
    display: grid;
  }
  .ahi-related {
    padding: 58px 0 72px;
  }
  .ahi-related > .ahi-wrap > h2 {
    font-size: 36px;
  }
  .ahi-related-grid {
    gap: 14px;
  }
  .ahi-related-media {
    height: 230px;
  }
  .ahi-meta-row span + span::before {
    margin-right: 10px;
  }
  .ahi-lightbox {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ahi-impulse *,
  #ahi-impulse *::before,
  #ahi-impulse *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .ahi-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Automatisch gewählte Artikelvarianten */
.ahi-layout-short .ahi-single-hero,
.ahi-layout-short .ahi-single-hero.is-typographic {
  min-height: 540px;
}

.ahi-layout-short .ahi-prose {
  font-size: 21px;
  line-height: 1.82;
}

.ahi-layout-feature .ahi-article-content {
  width: min(100%, 920px);
}

.ahi-layout-feature .ahi-prose > * {
  max-width: 76ch;
}

.ahi-layout-video .ahi-single-hero,
.ahi-layout-video .ahi-single-hero.is-typographic {
  min-height: 600px;
}

.ahi-layout-gallery .ahi-article-content {
  width: min(100%, 960px);
}

.ahi-layout-gallery .ahi-prose > * {
  max-width: 74ch;
}


/* Version 1.1: Der neueste Beitrag steht klar im Mittelpunkt */
.ahi-featured {
  position: relative;
  grid-template-columns: minmax(0, 1.36fr) minmax(360px, .64fr);
  min-height: 620px;
  margin-bottom: 78px;
  border-radius: 30px;
  box-shadow: 0 26px 80px rgba(19,52,79,.14);
}

.ahi-featured-media {
  min-height: 620px;
}

.ahi-featured-copy {
  padding: clamp(42px, 5.5vw, 78px);
}

.ahi-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--ahi-blue-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ahi-featured-label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ahi-gold);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--ahi-gold) 14%, transparent);
}

.ahi-featured-copy h2 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.ahi-featured-copy > p {
  max-width: 38rem;
  margin: 26px 0;
  font-size: 19px;
  line-height: 1.78;
}

.ahi-more-heading {
  max-width: 760px;
  margin: 0 0 30px;
}

.ahi-more-heading h2 {
  margin: 5px 0 10px;
  color: var(--ahi-ink);
  font-size: clamp(31px, 3.8vw, 46px);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.ahi-more-heading > p:last-child {
  max-width: 650px;
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
}

.ahi-grid {
  gap: 22px;
}

.ahi-card {
  box-shadow: 0 10px 28px rgba(22,44,70,.045);
}

.ahi-card-media {
  height: 220px;
}

.ahi-card-body {
  padding: 22px;
}

.ahi-card h2 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.22;
}

.ahi-prose {
  font-size: 19px;
  line-height: 1.82;
}

.ahi-prose > * {
  max-width: 760px;
}

.ahi-prose p {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.ahi-prose h2 {
  margin-top: 2.15em;
  margin-bottom: .75em;
  line-height: 1.24;
}

.ahi-prose h3 {
  margin-top: 1.8em;
  margin-bottom: .65em;
  line-height: 1.3;
}

@media (max-width: 980px) {
  .ahi-featured { grid-template-columns: 1fr; min-height: 0; }
  .ahi-featured-media { min-height: 470px; }
}

@media (max-width: 680px) {
  .ahi-featured { margin-bottom: 58px; border-radius: 22px; }
  .ahi-featured-media { min-height: 330px; }
  .ahi-featured-copy { padding: 30px 24px 34px; }
  .ahi-featured-copy h2 { font-size: clamp(34px, 10vw, 48px); line-height: 1.15; }
  .ahi-featured-copy > p { font-size: 17px; line-height: 1.74; }
  .ahi-card-media { height: 235px; }
  .ahi-prose { font-size: 18px; line-height: 1.8; }
}

/* Version 1.2: ruhige Nunito Typografie, sichere Titel und horizontale Beitragskarussells */
#ahi-impulse {
  --ahi-soft-warm: #f7f6f2;
  --ahi-soft-green: color-mix(in srgb, var(--ahi-blue) 9%, white);
  --ahi-orange-soft: color-mix(in srgb, var(--ahi-gold) 10%, white);
  font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.76;
}

#ahi-impulse h1,
#ahi-impulse h2,
#ahi-impulse h3,
#ahi-impulse h4,
#ahi-impulse p,
#ahi-impulse a,
#ahi-impulse span {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.ahi-archive-hero {
  overflow: visible;
  background: linear-gradient(180deg, #fff 0%, var(--ahi-soft-warm) 100%);
  color: var(--ahi-ink);
}

.ahi-archive-hero::before,
.ahi-archive-hero::after {
  display: none;
}

.ahi-archive-hero-inner {
  padding: clamp(54px, 7vw, 92px) 0 clamp(34px, 5vw, 62px);
}

.ahi-archive-hero .ahi-kicker {
  color: var(--ahi-gold);
}

.ahi-archive-hero h1 {
  max-width: 880px;
  color: var(--ahi-ink);
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.ahi-archive-hero .ahi-lead {
  color: var(--ahi-text);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.68;
}

.ahi-archive-main {
  padding-top: 18px;
}

.ahi-featured {
  grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr);
  grid-template-areas: "copy media";
  min-height: 560px;
  border-color: color-mix(in srgb, var(--ahi-blue) 18%, var(--ahi-line));
  background: linear-gradient(145deg, #fff 0%, var(--ahi-soft-warm) 100%);
  box-shadow: 0 22px 62px rgba(46, 62, 42, .10);
}

.ahi-featured-media {
  grid-area: media;
  min-width: 0;
  min-height: 560px;
}

.ahi-featured-copy {
  grid-area: copy;
  min-width: 0;
  align-self: center;
  padding: clamp(42px, 5vw, 72px);
  container-type: inline-size;
}

.ahi-featured-label {
  color: var(--ahi-gold);
}

.ahi-featured-copy h2 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.18;
  letter-spacing: -.028em;
  text-wrap: balance;
}

@supports (font-size: 10cqi) {
  .ahi-featured-copy h2 {
    font-size: clamp(34px, 10cqi, 58px);
  }
}

.ahi-featured-copy > p {
  margin: 25px 0;
  font-size: 18px;
  line-height: 1.82;
}

.ahi-topic-filter a.is-active,
.ahi-topic-filter a:hover {
  background: var(--ahi-soft-green);
}

.ahi-badges span {
  background: var(--ahi-soft-green);
}

.ahi-carousel {
  position: relative;
}

.ahi-carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  padding: 6px 2px 20px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--ahi-blue) 45%, transparent) transparent;
}

.ahi-carousel-track::-webkit-scrollbar {
  height: 8px;
}

.ahi-carousel-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--ahi-blue) 38%, transparent);
}

.ahi-grid.ahi-carousel-track {
  grid-template-columns: none;
}

.ahi-grid.ahi-carousel-track .ahi-card {
  flex: 0 0 clamp(285px, 31vw, 365px);
  scroll-snap-align: start;
}

.ahi-related-grid.ahi-carousel-track {
  grid-template-columns: none;
}

.ahi-related-grid.ahi-carousel-track .ahi-related-card {
  flex: 0 0 clamp(250px, 25vw, 320px);
  scroll-snap-align: start;
}

.ahi-card,
.ahi-related-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ahi-card:hover,
.ahi-related-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ahi-blue) 28%, var(--ahi-line));
  box-shadow: 0 18px 42px rgba(46, 62, 42, .10);
}

.ahi-card h2,
.ahi-related-card h3 {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.ahi-carousel-button {
  position: absolute;
  z-index: 4;
  top: 42%;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--ahi-blue) 25%, var(--ahi-line));
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--ahi-blue-dark);
  box-shadow: 0 10px 28px rgba(34, 48, 31, .14);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

.ahi-carousel-button:hover {
  transform: translateY(-2px);
  background: var(--ahi-soft-green);
}

.ahi-carousel-button:disabled {
  opacity: .28;
  cursor: default;
  transform: none;
}

.ahi-carousel-prev { left: -25px; }
.ahi-carousel-next { right: -25px; }

/* Einzelartikel: Titel und Medium stehen sauber nebeneinander */
.ahi-single-hero,
.ahi-single-hero.is-typographic {
  min-height: 0;
  display: block;
  overflow: visible;
  padding: clamp(62px, 8vw, 108px) 0 clamp(54px, 7vw, 90px);
  color: var(--ahi-ink);
  background: linear-gradient(180deg, #fff 0%, var(--ahi-soft-warm) 100%);
}

.ahi-single-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
}

.ahi-single-hero-copy {
  min-width: 0;
  padding: 0;
  container-type: inline-size;
}

.ahi-single-hero .ahi-badges span {
  border: 0;
  background: var(--ahi-soft-green);
  color: var(--ahi-blue-dark);
  backdrop-filter: none;
}

.ahi-single-hero h1 {
  max-width: 100%;
  margin: 0;
  color: var(--ahi-ink);
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

@supports (font-size: 10cqi) {
  .ahi-single-hero h1 {
    font-size: clamp(42px, 10cqi, 76px);
  }
}

.ahi-single-hero .ahi-subtitle {
  max-width: 680px;
  color: var(--ahi-text);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.7;
}

.ahi-meta-hero {
  color: var(--ahi-muted);
}

.ahi-single-hero-media {
  position: relative;
  inset: auto;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ahi-soft);
  box-shadow: 0 22px 58px rgba(43, 57, 39, .14);
}

.ahi-single-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ahi-single-hero-shade {
  display: none;
}

.ahi-article-shell {
  padding-top: clamp(52px, 7vw, 84px);
}

.ahi-article-content {
  width: min(100%, 850px);
}

.ahi-prose {
  font-size: 19px;
  line-height: 1.88;
}

.ahi-prose p {
  margin-bottom: 1.55em;
}

.ahi-prose h2 {
  margin-top: 2.35em;
  line-height: 1.28;
}

.ahi-prose h3 {
  line-height: 1.34;
}

.ahi-pullquote,
.ahi-prose blockquote {
  border-left-color: var(--ahi-gold);
  background: var(--ahi-orange-soft);
}

.ahi-related {
  background: linear-gradient(180deg, var(--ahi-soft-warm), #fff);
}

.ahi-related > .ahi-wrap > h2 {
  line-height: 1.18;
  text-wrap: balance;
}

@media (max-width: 1080px) {
  .ahi-featured {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  }
  .ahi-single-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr);
  }
}

@media (max-width: 860px) {
  .ahi-featured {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "copy";
    min-height: 0;
  }
  .ahi-featured-media {
    min-height: 400px;
  }
  .ahi-single-hero-grid {
    grid-template-columns: 1fr;
  }
  .ahi-single-hero-media {
    max-width: 720px;
    width: 100%;
  }
  .ahi-carousel-prev { left: 8px; }
  .ahi-carousel-next { right: 8px; }
}

@media (max-width: 680px) {
  .ahi-wrap {
    width: min(100% - 30px, 1180px);
  }
  .ahi-archive-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.16;
  }
  .ahi-featured-copy {
    padding: 30px 24px 36px;
  }
  .ahi-featured-copy h2 {
    font-size: clamp(32px, 9.5vw, 46px);
    line-height: 1.2;
  }
  .ahi-featured-media {
    min-height: 300px;
  }
  .ahi-single-hero {
    padding-top: 48px;
  }
  .ahi-single-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.18;
  }
  .ahi-single-hero-grid {
    gap: 32px;
  }
  .ahi-single-hero-media {
    border-radius: 18px;
  }
  .ahi-carousel-button {
    top: auto;
    bottom: -18px;
    width: 44px;
    height: 44px;
  }
  .ahi-carousel-prev { left: calc(50% - 52px); }
  .ahi-carousel-next { right: calc(50% - 52px); }
  .ahi-carousel-track {
    padding-bottom: 52px;
  }
  .ahi-grid.ahi-carousel-track .ahi-card {
    flex-basis: min(82vw, 330px);
  }
  .ahi-related-grid.ahi-carousel-track .ahi-related-card {
    flex-basis: min(78vw, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahi-carousel-track {
    scroll-behavior: auto;
  }
  .ahi-card,
  .ahi-related-card,
  .ahi-carousel-button {
    transition: none;
  }
}


/* Version 1.2.3: vollbreite Videobühne */
.ahi-video-stage-wrap {
  width: 100%;
  margin: 0;
  background: #07121c;
  overflow: hidden;
}

#ahi-impulse .ahi-video.ahi-video-stage {
  width: 100vw;
  max-width: none;
  margin: 0 50%;
  transform: translateX(-50%);
  border-radius: 0;
  box-shadow: none;
  background: #07121c;
}

#ahi-impulse .ahi-video.ahi-video-stage iframe,
#ahi-impulse .ahi-video.ahi-video-stage video {
  display: block;
  width: 100%;
  height: min(82vh, 900px);
  min-height: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #07121c;
}

@media (max-width: 760px) {
  #ahi-impulse .ahi-video.ahi-video-stage iframe,
  #ahi-impulse .ahi-video.ahi-video-stage video {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
}

/* Version 2.0.0: Teilen, Abonnement und QR-Code */
.ahi-share-block,
.ahi-subscribe-box {
  margin: clamp(34px, 6vw, 72px) 0;
  border: 1px solid rgba(49, 71, 45, .16);
  border-radius: 26px;
  background: linear-gradient(145deg, #f6f3ed, #fff);
  box-shadow: 0 18px 50px rgba(49, 71, 45, .08);
  padding: clamp(24px, 5vw, 42px);
  color: #1f2d24;
}

.ahi-share-block h2,
.ahi-subscribe-box h2 {
  margin: 5px 0 8px;
  color: #1f2d24;
  font-size: clamp(25px, 3.2vw, 38px);
  line-height: 1.16;
}

.ahi-share-block > div:first-child > p:last-child,
.ahi-subscribe-copy > p:last-child {
  margin: 0;
  color: #5e685f;
}

.ahi-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ahi-share-actions a,
.ahi-share-actions button,
.ahi-subscribe-form button {
  appearance: none;
  border: 1px solid rgba(49, 71, 45, .2);
  border-radius: 999px;
  background: #fff;
  color: #263b2d;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ahi-share-actions a:hover,
.ahi-share-actions button:hover,
.ahi-subscribe-form button:hover {
  transform: translateY(-1px);
  border-color: var(--ahi-blue);
  box-shadow: 0 8px 22px rgba(49, 71, 45, .12);
}

.ahi-share-actions .ahi-share-primary,
.ahi-subscribe-form button {
  border-color: var(--ahi-blue);
  background: var(--ahi-blue);
  color: #fff;
}

.ahi-share-feedback {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-weight: 750;
  color: var(--ahi-blue-dark);
}

.ahi-archive-subscribe {
  margin-top: clamp(56px, 8vw, 100px);
}

.ahi-subscribe-box.is-compact {
  margin-block: clamp(32px, 5vw, 60px);
}

.ahi-subscribe-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.ahi-subscribe-form > label:not(.ahi-consent) {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.ahi-subscribe-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(49, 71, 45, .24);
  border-radius: 14px;
  background: #fff;
  color: #1f2d24;
  padding: 12px 15px;
  font: inherit;
  box-sizing: border-box;
}

.ahi-subscribe-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin: 0;
  border: 0;
  padding: 0;
}

.ahi-subscribe-form legend {
  width: 100%;
  margin-bottom: 9px;
  font-weight: 850;
}

.ahi-subscribe-form fieldset label,
.ahi-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #465149;
}

.ahi-subscribe-form input[type="checkbox"] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--ahi-blue);
}

.ahi-subscribe-form button {
  justify-self: start;
  min-width: 190px;
}

.ahi-subscribe-form small {
  color: #6d766e;
}

.ahi-subscribe-notice {
  margin: 18px 0 0;
  border-radius: 12px;
  background: #e9f3e4;
  color: #27472d;
  padding: 12px 14px;
  font-weight: 750;
}

.ahi-subscribe-notice.is-error,
.ahi-subscribe-notice.is-invalid {
  background: #fff0ed;
  color: #8b2b24;
}

.ahi-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ahi-qr-dialog {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 24, 18, .82);
  backdrop-filter: blur(8px);
}

.ahi-qr-box {
  position: relative;
  width: min(100%, 400px);
  border-radius: 24px;
  background: #fff;
  color: #1f2d24;
  padding: 30px;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.ahi-qr-box strong {
  display: block;
  padding-inline: 24px;
  font-size: 21px;
  line-height: 1.25;
}

.ahi-qr-box p {
  margin: 8px 0 18px;
  color: #687268;
}

.ahi-qr-box canvas {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto 16px;
}

.ahi-qr-box a {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ahi-blue-dark);
  font-size: 13px;
}

.ahi-qr-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #1f2d24;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 600px) {
  .ahi-share-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ahi-share-actions a,
  .ahi-share-actions button {
    width: 100%;
    padding-inline: 10px;
  }
  .ahi-share-actions .ahi-share-primary {
    grid-column: 1 / -1;
  }
  .ahi-subscribe-form fieldset {
    display: grid;
  }
  .ahi-subscribe-form button {
    width: 100%;
  }
}

@media print {
  .ahi-reading-progress,
  .ahi-share-block,
  .ahi-subscribe-box,
  .ahi-related,
  .ahi-author-actions,
  .ahi-carousel-button,
  header.et-l,
  footer.et-l {
    display: none !important;
  }
  .ahi-single,
  .ahi-single article,
  .ahi-article-content,
  .ahi-prose {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
}


/* Version 2.0.2: Gewählte Kategorien zeigen alle Beiträge offen im Raster. */
.ahi-topic-results-grid {
  margin-top: 8px;
  margin-bottom: 18px;
}

.ahi-topic-results-grid .ahi-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ahi-topic-results-grid .ahi-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ahi-topic-results-grid .ahi-card-body .ahi-text-link {
  margin-top: auto;
  padding-top: 18px;
}

/* Version 2.0.3: klare Beitragsliste statt verstecktem Karussell und Seitenpunkten. */
.ahi-archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ahi-archive-list .ahi-card {
  min-width: 0;
  height: 100%;
}

.ahi-topic-filter {
  flex-wrap: wrap;
  overflow: visible;
}

.ahi-topic-filter a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ahi-topic-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ahi-blue-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.ahi-load-more-wrap {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 34px 0 8px;
}

.ahi-load-status {
  margin: 0;
  color: var(--ahi-muted);
  font-size: 15px;
  font-weight: 700;
}

.ahi-load-more {
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid var(--ahi-blue);
  border-radius: 14px;
  background: #fff;
  color: var(--ahi-blue-dark);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(42, 68, 92, .08);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.ahi-load-more:hover,
.ahi-load-more:focus-visible {
  background: var(--ahi-blue);
  color: #fff;
  transform: translateY(-1px);
}

.ahi-load-more[hidden],
.ahi-load-status[hidden],
.ahi-card[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .ahi-archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ahi-archive-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ahi-topic-filter {
    gap: 9px;
  }

  .ahi-topic-filter a {
    min-height: 44px;
    padding: 10px 13px;
  }

  .ahi-load-more {
    width: 100%;
  }
}

/* Version 2.0.4: klare Rückmeldungen und Abo-Verwaltung */
.ahi-subscription-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 28px 0 34px;
  border: 1px solid rgba(49, 113, 64, .24);
  border-radius: 18px;
  background: #edf7ef;
  color: #21482a;
  padding: 18px 20px;
  box-shadow: 0 12px 34px rgba(49, 71, 45, .08);
}

.ahi-subscription-banner.is-error,
.ahi-subscription-banner.is-invalid {
  border-color: rgba(139, 43, 36, .22);
  background: #fff0ed;
  color: #7d2822;
}

.ahi-subscription-banner-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  font-weight: 900;
  font-size: 20px;
}

.ahi-subscription-banner strong {
  display: block;
  margin-bottom: 3px;
  font-size: 17px;
}

.ahi-subscription-banner p {
  margin: 0;
  line-height: 1.55;
}

.ahi-subscribe-notice.is-success,
.ahi-subscribe-notice.is-check_email,
.ahi-subscribe-notice.is-confirmed,
.ahi-subscribe-notice.is-unsubscribed,
.ahi-subscribe-notice.is-manage_email {
  background: #e9f3e4;
  color: #27472d;
}

.ahi-subscribe-form button:disabled,
.ahi-manage-form button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.ahi-subscription-manage {
  margin-top: 24px;
  border-top: 1px solid rgba(49, 71, 45, .14);
  padding-top: 20px;
}

.ahi-subscription-manage summary {
  cursor: pointer;
  color: var(--ahi-blue-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ahi-subscription-manage > p {
  max-width: 720px;
  margin: 14px 0;
  color: #5e685f;
  line-height: 1.6;
}

.ahi-manage-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  max-width: 760px;
}

.ahi-manage-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.ahi-manage-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(49, 71, 45, .24);
  border-radius: 14px;
  background: #fff;
  color: #1f2d24;
  padding: 12px 15px;
  font: inherit;
  box-sizing: border-box;
}

.ahi-manage-form button {
  min-height: 52px;
  border: 1px solid var(--ahi-blue);
  border-radius: 999px;
  background: #fff;
  color: var(--ahi-blue-dark);
  cursor: pointer;
  padding: 10px 18px;
  font: inherit;
  font-weight: 850;
}

@media (max-width: 680px) {
  .ahi-subscription-banner {
    margin: 20px 0 26px;
    padding: 16px;
  }

  .ahi-manage-form {
    grid-template-columns: 1fr;
  }

  .ahi-manage-form button {
    width: 100%;
  }
}
