/* Taxonomy Page Styles */
.tax-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

.tax-hero {
  background-color: #03213D;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.tax-hero__content {
  max-width: 800px;
  margin: 0 auto 40px;
}

.tax-hero__title {
  font-family: sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.tax-hero__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #FFFFFF;
}

.tax-hero__media {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tax-hero__gif {
  width: 100%;
  height: auto;
  display: block;
}

.tax-split {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.tax-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tax-split__media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(3, 33, 61, 0.1);
}

.tax-heading {
  font-family: sans-serif;
  font-size: 2rem;
  color: #03213D;
  margin-bottom: 24px;
  line-height: 1.2;
}

.tax-split__text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #03213D;
  margin-bottom: 20px;
}

.tax-feature {
  padding: 100px 0;
  background-color: #E2EEF4;
}

.tax-feature__card {
  background: #FFFFFF;
  padding: 60px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.tax-feature__content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #03213D;
  margin-bottom: 20px;
  text-align: left;
}

.tax-action {
  margin-top: 40px;
}

.tax-btn {
  display: inline-block;
  background-color: #FF8A3D;
  color: #03213D;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.tax-btn:hover {
  background-color: #FF7A2F;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .tax-hero {
    padding: 60px 0;
  }
  .tax-hero__title {
    font-size: 2rem;
  }
  .tax-split__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tax-split {
    padding: 60px 0;
  }
  .tax-feature {
    padding: 60px 0;
  }
  .tax-feature__card {
    padding: 40px 20px;
  }
}

@media (max-width: 640px) {
  .tax-hero__title {
    font-size: 1.75rem;
  }
  .tax-heading {
    font-size: 1.5rem;
  }
  .tax-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* Taxonomy example: a photo, its hierarchy and the resulting asset tags. */
main .tax-photo { margin: 0; color: #03213D; text-align: left; scroll-margin-top: 110px; font-family: 'Open Sans', sans-serif; }
main .tax-photo__stage { position: relative; border-radius: 8px 8px 0 0; overflow: hidden; }
main .tax-photo__stage > img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; border-radius: 0; box-shadow: none; }
main .tax-photo__tree { position: absolute; right: 20px; top: 20px; width: 180px; padding: 18px; background: #fff; border-radius: 6px; box-shadow: 0 8px 28px rgba(3,33,61,.14); }
main .tax-photo__label { margin: 0 0 14px; color: #50697A; font: 600 12px/1.5 'Open Sans', sans-serif; }
main .tax-photo__tree ul { list-style: none; padding: 0; margin: 0; }
main .tax-photo__tree li > ul { margin-left: 8px; padding-left: 14px; border-left: 1px solid #BBD0DC; }
main .tax-photo__tree li { margin: 8px 0; }
main .tax-photo__tree li > span { display: block; font: 600 14px/1.5 'Open Sans', sans-serif; }
main .tax-photo__chosen > span { padding: 5px 8px; background: #B7FF3C; border-radius: 3px; }
main .tax-photo__chosen b { float: right; margin-left: 4px; }
main .tax-photo__other { color: #50697A; }
main .tax-photo__tree .tax-photo__other > span { font-weight: 400; }
main .tax-photo__result { background: #E2EEF4; padding: 20px 24px; border-radius: 0 0 8px 8px; }
main .tax-photo__result ul { display: flex; flex-wrap: wrap; gap: 16px 24px; margin: 0; padding: 0; list-style: none; }
main .tax-photo__result li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
main .tax-photo__result strong { display: inline-block; padding: 5px 12px; font: 600 16px/1.4 'Open Sans', sans-serif; color: #03213D; background: #fff; border-radius: 3px; }
main .tax-photo__result strong.tax-photo__direct { background: #B7FF3C; }
main .tax-photo__result li > span { color: #50697A; font: 400 12px/1.5 'Open Sans', sans-serif; }
main .tax-photo figcaption { margin-top: 14px; color: #50697A; font: 400 13px/1.6 'Open Sans', sans-serif; }
main .tax-photo__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  main .tax-photo__stage { overflow: visible; }
  main .tax-photo__stage > img { border-radius: 8px 8px 0 0; }
  main .tax-photo__tree { position: static; width: auto; margin: 0; border-radius: 0; padding: 20px 24px; box-shadow: none; border: 1px solid #E2EEF4; }
  main .tax-photo__tree li > ul { margin-left: 12px; padding-left: 18px; }
  main .tax-photo__tree .tax-photo__chosen > span { max-width: 120px; }
  main .tax-photo__result ul { gap: 16px; }
  main .tax-photo__result { padding: 20px; }
}
