.afcc-carousel {
  --afcc-duration: 350ms;
  --afcc-column-gap: 69px;
  --afcc-left-padding: 144px;
  --afcc-right-padding: 144px;
  --afcc-media-ratio: 1 / 1;
  --afcc-media-default-height: 520px;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  background: #f1f1f1;
  color: #00263e;
  padding: 96px var(--afcc-right-padding) 96px var(--afcc-left-padding);
}
.afcc-carousel *, .afcc-carousel *::before, .afcc-carousel *::after { box-sizing: border-box; }
.afcc-editor-notice { padding: 16px 20px; border-left: 4px solid #00a3e0; background: #f1f1f1; color: #00263e; font-size: 14px; }
.afcc-debug { margin: 0 0 12px; padding: 12px 16px; border-left: 4px solid #00a3e0; background: #eef8fc; color: #00263e; font-size: 13px; }
.afcc-debug summary { cursor: pointer; font-weight: 600; }
.afcc-debug pre { max-height: 320px; margin: 12px 0 0; overflow: auto; white-space: pre-wrap; }
.afcc-carousel.afcc-full-bleed { width: 100vw !important; max-width: 100vw !important; margin-right: calc(50% - 50vw) !important; margin-left: calc(50% - 50vw) !important; }
.afcc-inner { position: relative; width: 100%; max-width: none; margin: 0 auto; }
.afcc-section-title { margin: 0 0 30px; font-size: 36px; font-weight: 600; line-height: 1.15; }
.afcc-stage { position: relative; }
.afcc-slide { display: none; opacity: 0; }
.afcc-slide.is-active { display: block; opacity: 1; animation: afcc-reveal var(--afcc-duration) ease both; }
.afcc-slide-grid { display: flex; align-items: stretch; justify-content: flex-start; gap: var(--afcc-column-gap); }
.afcc-media { flex: 0 1 var(--afcc-media-width, 520px); width: var(--afcc-media-width, 520px); max-width: 100%; height: var(--afcc-media-height, auto); aspect-ratio: var(--afcc-media-ratio); overflow: hidden; background: rgba(0,0,0,.06); }
.afcc-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.afcc-media-size-height_auto_width .afcc-media { flex: 0 1 auto; width: auto; height: var(--afcc-media-height, var(--afcc-media-default-height)); aspect-ratio: var(--afcc-intrinsic-media-ratio, var(--afcc-media-ratio)); }
.afcc-media-size-height_auto_width .afcc-media img { object-fit: contain; }
.afcc-editor-placeholder .afcc-media { background: linear-gradient(135deg, rgba(0,38,62,.07), rgba(0,163,224,.12)); }
.afcc-editor-placeholder .afcc-slide-title,
.afcc-editor-placeholder .afcc-description { opacity: .42; }
.afcc-copy { display: flex; flex: 1 1 0; flex-direction: column; justify-content: space-between; width: auto; min-width: 0; }
.afcc-text { display: flex; flex-direction: column; gap: 24px; }
.afcc-slide-title { margin: 0; font-size: 36px; font-weight: 600; line-height: 1.15; }
.afcc-description { font-size: 20px; line-height: 1.25; opacity: .83; }
.afcc-description > :first-child { margin-top: 0; }
.afcc-description > :last-child { margin-bottom: 0; }
.afcc-copy-bottom { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: flex-start; margin-top: 32px; }
.afcc-arrows { display: flex; gap: 18px; align-items: center; }
.afcc-arrow { display: grid; width: 72px; height: 72px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #00263e; cursor: pointer; place-items: center; transition: background-color .2s ease, color .2s ease, opacity .2s ease; }
.afcc-arrow svg { display: block; width: 24px; height: 24px; fill: currentColor; }
.afcc-arrow i { display: block; width: auto; height: auto; font-size: 24px; line-height: 1; }
.afcc-arrow:disabled { cursor: default; opacity: .45; }
.afcc-button { display: inline-flex; gap: 12px; align-items: center; justify-content: center; padding: 16px 24px 16px 30px; border-radius: 24px; background: #00a3e0; color: #fff; font-size: 20px; line-height: 1; text-decoration: none; box-shadow: -3px 7px 18px -2px rgba(13,59,102,.12); }
.afcc-button-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; line-height: 1; }
.afcc-button-icon svg { display: block; width: 1em; height: 1em; fill: currentColor; }
.afcc-button-icon i { display: block; font-size: 1em; line-height: 1; }
.afcc-button--placeholder { cursor: default; }
.afcc-pagination { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 28px; padding: 8px; }
.afcc-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,38,62,.18); cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.afcc-dot.is-active { background: #00a3e0; }
.afcc-media-right .afcc-media { order: 2; }
.afcc-media-right .afcc-copy { order: 1; }
.afcc-carousel.afcc-theme-dark { background: #0d3b66; }
body .afcc-carousel.afcc-theme-dark .afcc-section-title,
body .afcc-carousel.afcc-theme-dark .afcc-slide-title,
body .afcc-carousel.afcc-theme-dark .afcc-description { color: #fff; }
body .afcc-carousel.afcc-theme-dark .afcc-dot { background: rgba(255,255,255,.22); }
body .afcc-carousel.afcc-theme-dark .afcc-dot.is-active { background: #fff; }
body .afcc-carousel.afcc-theme-dark .afcc-arrow:disabled { background: rgba(255,255,255,.28); color: rgba(0,38,62,.72); }

/* Split presets: Figma 639:768 and 1654:4120. */
.afcc-layout-split .afcc-copy-bottom { margin-top: auto; padding-top: 32px; }
.afcc-layout-split.afcc-media-left .afcc-pagination { position: absolute; right: 0; bottom: 0; justify-content: flex-end; margin: 0; }
.afcc-layout-split.afcc-media-right .afcc-pagination { position: absolute; bottom: 0; left: 0; justify-content: flex-start; margin: 0; }
.afcc-layout-split.afcc-controls-media .afcc-pagination { position: static; justify-content: flex-start; }

/* Feature preset: Figma 799:1275. */
.afcc-layout-feature .afcc-slide-grid { align-items: stretch; }
.afcc-layout-feature { --afcc-column-gap: 40px; --afcc-media-ratio: 774 / 509; --afcc-media-default-height: 509px; padding-top: 128px; padding-bottom: 128px; }
.afcc-layout-feature .afcc-media { --afcc-media-width: 774px; }
.afcc-layout-feature .afcc-arrow { width: 64px; height: 64px; }
.afcc-layout-feature .afcc-slide-title { display: none; }
.afcc-layout-feature .afcc-pagination { justify-content: flex-start; width: var(--afcc-media-width, 774px); margin-top: 0; }
.afcc-layout-feature .afcc-copy-bottom { justify-content: flex-start; }

/* Story preset: Figma 2438:4368. */
.afcc-layout-story { --afcc-column-gap: 72px; --afcc-left-padding: 72px; --afcc-right-padding: 72px; --afcc-media-default-height: 400px; }
.afcc-layout-story .afcc-inner { max-width: 970px; }
.afcc-layout-story .afcc-section-title { margin-bottom: 44px; }
.afcc-layout-story .afcc-media { --afcc-media-width: 400px; }
.afcc-layout-story .afcc-slide-title { font-size: 30px; }
.afcc-layout-story .afcc-copy-bottom { align-items: flex-start; }
.afcc-layout-story .afcc-pagination { margin-top: 20px; }

.afcc-controls-bottom .afcc-copy-bottom { align-items: center; justify-content: center; }
.afcc-controls-bottom .afcc-arrows { position: absolute; left: 50%; bottom: -72px; transform: translateX(-50%); }
.afcc-controls-bottom .afcc-pagination { margin-top: 84px; }
.afcc-controls-media .afcc-copy-bottom { justify-content: flex-start; }
.afcc-controls-media .afcc-pagination { justify-content: flex-start; width: var(--afcc-media-width, 520px); }
.afcc-media-right.afcc-controls-media .afcc-pagination { justify-content: flex-end; margin-left: auto; }
.afcc-media-left.afcc-controls-copy .afcc-pagination { justify-content: flex-end; width: 100%; padding-left: calc(var(--afcc-media-width, 520px) + var(--afcc-column-gap)); }
.afcc-media-right.afcc-controls-copy .afcc-pagination { justify-content: flex-start; width: 100%; padding-right: calc(var(--afcc-media-width, 520px) + var(--afcc-column-gap)); }

@keyframes afcc-reveal { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .afcc-slide.is-active { animation: none; } }

@media (max-width: 1024px) {
  .afcc-carousel { --afcc-left-padding: 48px; --afcc-right-padding: 48px; }
  .afcc-slide-grid { gap: min(var(--afcc-column-gap), 36px); }
  .afcc-media { flex: 0 1 calc((100% - min(var(--afcc-column-gap), 36px)) / 2); width: calc((100% - min(var(--afcc-column-gap), 36px)) / 2); }
  .afcc-media-size-height_auto_width .afcc-media { flex: 0 1 auto; width: auto; }
  .afcc-copy { flex: 1 1 0; width: auto; }
}
@media (max-width: 767px) {
  .afcc-carousel { --afcc-left-padding: 20px; --afcc-right-padding: 20px; padding-top: 56px; padding-bottom: 56px; }
  .afcc-section-title { font-size: 28px; }
  .afcc-slide-grid { flex-direction: column; gap: 28px; }
  .afcc-media, .afcc-copy, .afcc-layout-feature .afcc-media, .afcc-layout-feature .afcc-copy, .afcc-layout-story .afcc-media, .afcc-layout-story .afcc-copy { flex-basis: auto; width: 100%; }
  .afcc-media-size-height_auto_width .afcc-media { width: auto; max-width: 100%; }
  .afcc-media-right .afcc-media { order: 0; }
  .afcc-media-right .afcc-copy { order: 1; }
  .afcc-slide-title { font-size: 28px; }
  .afcc-description { font-size: 17px; }
  .afcc-layout-feature .afcc-slide-title { display: block; }
  .afcc-layout-split .afcc-pagination, .afcc-layout-feature .afcc-pagination { position: static; justify-content: center; width: 100%; margin-top: 24px; padding-right: 8px; padding-left: 8px; }
  .afcc-copy-bottom { margin-top: 28px !important; padding-top: 0 !important; }
  .afcc-controls-bottom .afcc-arrows { position: static; transform: none; }
  .afcc-controls-bottom .afcc-pagination { margin-top: 24px; }
}
