body {
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  line-height: 1.6;
  background-color: #E9E9D1;
  font-size: 18px;
}
.left-aligned {
  margin-left: auto;
}

.bg-dark {
  background-color: #343a40 !important;
}

.bg-hero {
  background-color: #45b06cff;
}

/* Layout Variables */
:root {
  --beige-01: #E9E9D1;
  --beige-02: #FBFBED;
  --navbar-offset: clamp(4rem, 6vw, 5.2rem);
}

.layout-standard {
  padding-top: var(--navbar-offset);
}

.layout-home {
  padding-top: var(--navbar-offset);
}

/* Only styles that Bootstrap cannot do */
.custom-image-bg {
  background: url('./temporary_images_test_folder/BackgroundAlgaeImage.png') center/cover no-repeat;
  display: block;
}
.algae-forest-image-bg {
  background: url('./temporary_images_test_folder/SoraAlgae1.png') center/cover no-repeat;
}

.custom-text-stroke {
  -webkit-text-stroke: 10px var(--beige-01);
}

.custom-gradient {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0.56%, var(--beige-01) 100%);
}

.bg-beige-01 {
  background-color: var(--beige-01) !important;
}

.bg-beige-02 {
  background-color: var(--beige-02) !important;
}

.border-beige-01 {
  border-color: var(--beige-01) !important;
}

.font-poppins {
  font-family: 'Poppins', sans-serif !important;
}

/* CALLOUT */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: .25rem;
  border-radius: .25rem
}

.bd-callout h4 {
  margin-bottom: 1.25rem
}

.bd-callout p:last-child {
  margin-bottom: 0
}

.bd-callout code {
  border-radius: .25rem
}

.bd-callout+.bd-callout {
  margin-top: -.25rem
}

.bd-callout-info {
  border-left-color: #5bc0de
}

.bd-callout-warning {
  border-left-color: #f0ad4e
}

.bd-callout-danger {
  border-left-color: #d9534f
}

/* footer */
footer a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}


.footer {
  background: #943001;
  color: #ffffff;
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.35);
}

.footer-sponsor-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(1);
}

.footer-logo-tall {
  height: 90px;
}

.footer-logo-eth {
  height: 35px;
}

.footer-divider {
  display: inline-block;
  width: 2px;
  height: 48px;
  background: rgba(255, 255, 255, 0.35);
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
  background: #943001;
  color: #fff;
  margin-bottom: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-btn svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
}

.footer-social-btn:hover,
.footer-social-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(148, 48, 1, 0.35);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.footer-contact-address {
  display: flex;
  flex-direction: column;
  font-style: normal;
  color: #ffffff;
}

.footer-contact-address span+span {
  margin-top: 0.15rem;
}

.footer-contact-links a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.footer-contact-links a:hover {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .footer-sponsor-logo {
    height: 44px;
  }

  .footer-logo-tall {
    height: 66px;
  }

  .footer-logo-eth {
    height: 40px;
  }

  .footer-divider {
    display: none;
  }

    .footer-contact-address span+span {
    margin-top: 0.1rem;
  }

  .footer-social-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
  }

  .footer-social-btn svg {
    width: 1.4rem;
    height: 1.4rem;
  }
}


.section-gold {
  background: #f0d8a8;
  color: #1a1d29;
}

.section-gold .section-heading {
  color: #1a1d29;
}

.info-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  height: 100%;
}

.info-card--translucent {
  background: rgba(255, 255, 255, 0.5);
}

.info-card--translucent .info-card--paired-text {
  background: transparent;
}

.info-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.info-card p {
  color: #1a1d29;
}

.info-card--paired {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card--paired-text {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.5);
}

.info-card--paired-image {
  flex: 1;
}

.info-card--paired-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

@media (min-width: 768px) {
  .info-card--paired {
    flex-direction: row;
    align-items: center;
  }
}

.section-gold .image-zoom-trigger {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

.info-image {
  background: #ffffff;
  border-radius: 18px;
  padding: 0.5rem;
  height: 100%;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.sustainability-tagline {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a1d29;
}

.section-red {
  background: #943001;
  color: #fef3e2;
}

.section-red .section-heading {
  color: #ffffff;
}

.impact-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.impact-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
}

.impact-card p {
  color: #fbeede;
}

.section-red .text-normal {
  color: #fbeede;
}

.section-red .red-mud-slider figure {
  border-radius: 18px;
  overflow: hidden;
}

.section-red .red-mud-caption {
  color: #ffffff;
}

.section-green {
  background: #215f42;
  color: #f1f8f5;
}

.section-green .section-heading {
  color: #f1f8f5;
}

.solution-card {
  background: linear-gradient(145deg, #2f7c57, #266047);
  color: #f1f8f5;
  border-radius: 18px;
  padding: 2rem 2.5rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.solution-card p {
  color: inherit;
}

.section-green img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.section-green .text-normal {
  color: #1a1d29;
}

.goal-card {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: flex-start;
  text-align: left;
}


/* Basis-Text-Einstellungen */
/* Section Title */
.section-title {
  font-size: 30px;
  font-weight: 800;
}

/* Normaler Text */
.text-normal {
  font-size: 18px;
  font-weight: 400;
}

.link-inherit {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.link-inherit:hover,
.link-inherit:focus {
  color: inherit;
  text-decoration: underline;
}

/* Subsection Title */
.subsection-title {
  font-size: 20px;
  font-weight: 700;
}

/* Offset anchored headings so the fixed navbar doesn't cover them */
.section-title,
.subsection-title,
.layout-standard h2,
.layout-standard h3,
.layout-standard h4,
.layout-standard h5,
.layout-standard h6 {
  scroll-margin-top: 110px;
}

.subtext {
  font-size: 12px;
  font-weight: 200;
  padding: 12px;
}

.full-width-game {
  width: 100%;
}

.full-width-game canvas {
  display: block;
  width: 100%;
  height: auto;
}

/* Embedded PDF container */
.pdf-preview {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f8faf9;
  border: 1px solid rgba(8, 108, 28, 0.15);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.pdf-preview__frame {
  display: block;
  width: 100%;
  height: clamp(22rem, 60vh, 36rem);
  border: none;
  background: transparent;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up.delay-1,
.fade-in-left.delay-1,
.fade-in-right.delay-1 {
  transition-delay: 0.15s;
}

.home-section {
  position: relative;
}

.team-members {}

.team-members-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #1a1d29;
  margin-bottom: 0.75rem;
}

.team-members-subheading {
  color: #4a525f;
  font-size: 1.05rem;
  margin: 0;
}

.team-members-grid {
  display: grid;
  gap: 2rem;
}

.team-member-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.team-member-portrait {
  flex-shrink: 0;
  width: 140px;
}

.team-member-portrait img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  background: #f5f5f0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.team-member-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.team-member-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #1a1d29;
}

.team-member-role {
  font-size: 1.05rem;
  color: #6b7585;
  margin: 0;
}

.team-member-summary {
  margin: 0;
  color: #323949;
  font-size: 0.98rem;
}

.team-members-grid>.team-member-card:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 50%;
  width: 100%;
}

@media (min-width: 768px) {
  .team-members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .team-member-card {
    flex-direction: column;
    text-align: center;
  }

  .team-member-portrait {
    width: 120px;
  }

    .team-members-grid>.team-member-card:last-child {
      max-width: 100%;
  }
}

.team-fun-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-fun-gallery-heading {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #1a1d29;
  margin-bottom: 0.35rem;
}

.team-fun-gallery-subheading {
  color: #4a525f;
  margin: 0;
  font-size: 1.05rem;
}

.fun-gallery-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.fun-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f5f5f0;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fun-gallery-item::after {
  content: '';
  display: block;
  padding-bottom: 66%;
}

.fun-gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.fun-gallery-item:hover,
.fun-gallery-item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.16);
}

.fun-gallery-item:hover img,
.fun-gallery-item:focus-within img {
  transform: scale(1.05);
}

@media (max-width: 575px) {
  .fun-gallery-grid {
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}


.image-zoom-trigger {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-radius: 16px;
}

.image-zoom-trigger:hover {
  transform: scale(1.03);
}

.home-card {
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  background: #fbfbfb;
}

.fact-card {
  background: #fbfbfb;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.fact-text {
  font-size: 2.6rem;
  font-weight: 600;
  text-align: center;
  color: #1a1d29;
}

.fact-heading {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  text-align: center;
  color: #1a1d29;
  line-height: 1.25;
}

.hero-heading-image {
  width: clamp(260px, 45vw, 520px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.home-hero-section {
  background: #943001;
  color: #ffffff;
  margin: 0;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.home-hero-section .fact-heading {
  color: #ffffff;
}

.home-card.problem {
  background: linear-gradient(145deg, #2d2f36, #14151a);
  color: #f6f6f6;
}

.home-card.problem p,
.home-card.problem h3,
.home-card.problem h4,
.home-card.problem a {
  color: inherit;
}

.home-card.solution {
  background: linear-gradient(145deg, #f5fbff, #fff4ed);
}

.workflow-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.75rem 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.workflow-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1d29;
}

.workflow-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-top: auto;
}

.image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(233, 233, 209, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.image-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.image-overlay img {
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.image-overlay button {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 1.75rem;
  width: 3rem;
  height: 3rem;
  line-height: 1;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.image-overlay button:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.red-mud-slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
  max-width: 100%;
}

.red-mud-slider figure {
  position: relative;
  margin: 0;
  width: 100%;
  padding-top: 66%;
  overflow: hidden;
}

.red-mud-slider figure img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.red-mud-slide {
  display: none;
  transition: opacity 0.6s ease;
}

.red-mud-slide.active {
  display: block;
}

.red-mud-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.75) 100%);
  color: #f7f7f7;
  opacity: 1;
  padding: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.red-mud-caption strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.red-mud-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.red-mud-slider button:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.05);
}

.red-mud-slider button[data-slider-prev] {
  left: 1rem;
}

.red-mud-slider button[data-slider-next] {
  right: 1rem;
}

.possible-applications-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2.5rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
}

.possible-applications-card h3 {
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.home-closing {
  text-align: center;
  padding: 4rem 0 5rem;
}

.home-closing h2 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.home-closing p {
  font-size: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.section-heading {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.closing-lead {
  font-size: 1.9rem;
  font-weight: 600;
  max-width: 780px;
  margin: 0 auto;
}

.closing-title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 0;
}

/* Red Mud stand-alone page */
.red-mud-page {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #E9E9D1;
  padding-top: 0;
}

.red-mud-stage {
  position: relative;
  min-height: max(900px, calc(100vw * 4.87));
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: #E9E9D1;
  background-size: 100% auto, 100% auto;
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
  display: block;
}

.red-mud-stage::after {
  content: none;
}

.red-mud-block {
  position: absolute;
  z-index: 2;
  top: var(--redmud-top, 0);
  left: var(--redmud-left, auto);
  right: var(--redmud-right, auto);
  width: var(--redmud-width, auto);
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  color: var(--beige-02);
  text-align: var(--redmud-align, left);
}

.red-mud-block.red-mud-block-left,
.red-mud-block.red-mud-block-right {
  text-align: var(--redmud-align, inherit);
}

.red-mud-block h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.red-mud-block p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 992px) {
  .red-mud-stage {
    min-height: calc(100vw * 4.87);
  }

  .red-mud-block {
    width: var(--redmud-width, 80vw);
  }
}

.workflow-illustration {
  max-width: min(100%, 960px);
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.bioreactor-hero {
  position: relative;
  margin: 0 auto;
  max-width: 720px;
  border-radius: 1.25rem;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.18), transparent 60%),
    radial-gradient(circle at 80% 10%, rgba(25, 135, 84, 0.15), transparent 65%),
    rgba(11, 15, 25, 0.92);
  box-shadow: 0 20px 42px rgba(11, 15, 25, 0.3);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.bioreactor-hero img {
  width: 100%;
  display: block;
  border-radius: inherit;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bioreactor-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), rgba(13, 110, 253, 0.24) 42%, transparent 72%);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.6s ease;
  pointer-events: none;
}

.bioreactor-hero__hint {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(10, 15, 25, 0.7);
  color: #f8fafc;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.bioreactor-hero:hover,
.bioreactor-hero:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(11, 15, 25, 0.36);
}

.bioreactor-hero:hover img,
.bioreactor-hero:focus-within img {
  transform: scale(1.04);
  filter: brightness(1.05) contrast(1.06);
}

.bioreactor-hero:hover .bioreactor-hero__glow,
.bioreactor-hero:focus-within .bioreactor-hero__glow {
  opacity: 1;
  transform: scale(1.05);
}

.bioreactor-hero:hover .bioreactor-hero__hint,
.bioreactor-hero:focus-within .bioreactor-hero__hint {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 576px) {
  .bioreactor-hero {
    border-radius: 1rem;
  }

  .bioreactor-hero__hint {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    bottom: 0.9rem;
    right: 0.9rem;
  }
}
.heading-inline {
  text-align: left;
  display: block;
}

.home-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  margin: 3rem auto 2.5rem;
  max-width: 960px;
}

.sources-section {
  max-width: 960px;
  margin: 0 auto;
}

.sources-dropdown {
  border: none;
  border-radius: 14px;
  background: transparent;
  padding: 1.25rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}

.sources-dropdown[open] {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.sources-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: -0.25rem 0;
  cursor: pointer;
  list-style: none;
}

.sources-summary:focus,
.sources-summary:focus-visible {
  outline: none;
}

.sources-summary::-webkit-details-marker {
  display: none;
}

.sources-summary::marker {
  content: '';
}

.sources-summary::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid currentColor;
  transition: transform 0.2s ease;
}

.sources-dropdown[open] .sources-summary::after {
  transform: rotate(180deg);
}

.sources-list {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #1a1d29;
  text-align: left;
}

.sources-list li {
  padding-left: 0.25rem;
}

.sources-list li+li {
  margin-top: 0.75rem;
}

.sources-pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: #1a1d29;
}

@media (max-width: 576px) {
  .sources-dropdown {
    padding: 1rem 1.25rem;
  }

  .sources-summary {
    font-size: 1.25rem;
  }
}

sup a,
sup a:visited {
  color: #000;
}

sup a:hover,
sup a:focus {
  color: #000;
  text-decoration: underline;
}

.fact-card sup a,
.fact-card sup a:visited {
  color: #d6d6d6;
}

.fact-card sup a:hover,
.fact-card sup a:focus {
  color: #f0f0f0;
}

.custom-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1080;
  background: #943001;
  padding: 0.85rem 0;
  font-family: 'Poppins', sans-serif;
}

.custom-navbar .navbar-brand {
  padding: 0;
  margin-right: 2rem;
}

.navbar-logo {
  height: 56px;
  width: auto;
  display: block;
}

.custom-navbar .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  line-height: 1;
  padding: 0.45rem 0.9rem;
  transition: opacity 0.2s ease;
}

.custom-navbar .dropdown-menu {
  border-radius: 18px;
  border: none;
  padding: 0.75rem;
  background: #943001;
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.35);
}

.custom-navbar .dropdown-item {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: none;
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.08);
}

.custom-navbar .dropdown-toggle::after {
  display: none;
}

.dropdown-icon {
  font-size: 0.75em;
  opacity: 0.75;
  color: inherit;
  transition: transform 0.2s ease;
}

.custom-navbar .nav-link.show .dropdown-icon,
.custom-navbar .nav-link[aria-expanded="true"] .dropdown-icon {
  transform: rotate(180deg);
}

.custom-navbar .navbar-toggler {
  border: none;
  padding: 0.35rem 0.5rem;
}

.custom-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.custom-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(233,233,209,0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 991px) {
  .navbar-logo {
    height: 48px;
  }

  .custom-navbar .nav-link {
    padding: 0.35rem 0.6rem;
  }


  .custom-navbar .dropdown-menu {
    background: #943001;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
  }
}

@media (max-width: 991px) {
  .workflow-card img {
    height: 160px;
  }

  .home-card {
    padding: 2rem 1.5rem;
  }
}

.fade-in-up.delay-2,
.fade-in-left.delay-2,
.fade-in-right.delay-2 {
  transition-delay: 0.3s;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .fade-in-left {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .fade-in-right {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.explore-links-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.explore-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.explore-link-card:hover,
.explore-link-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.explore-link-card span {
  display: block;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .explore-link-card {
    transition: none;
  }

  .explore-link-card:hover,
  .explore-link-card:focus {
    transform: none;
  }
}