.tax-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

.tax-h2 {
  font-family: sans-serif;
  font-size: 2.25rem;
  color: #03213D;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.tax-p {
  font-family: sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #03213D;
  margin-bottom: 1.25rem;
}

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

.tax-btn:hover {
  transform: translateY(-2px);
}

.tax-hero {
  background-color: #03213D;
  background-image: none;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: #FFFFFF;
}

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

.tax-hero__title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.tax-hero__text {
  font-size: 1.25rem;
  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__img {
  width: 100%;
  height: auto;
  display: block;
}

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

.tax-split--light {
  background-color: #E2EEF4;
}

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

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

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

.tax-testimonial {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.tax-testimonial__img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.tax-testimonial__author {
  font-weight: bold;
  color: #03213D;
  margin-bottom: 10px;
}

.tax-testimonial blockquote {
  font-style: italic;
  color: #03213D;
  margin: 0;
  line-height: 1.5;
  border-left: 4px solid #54ABDF;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .tax-split__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .tax-hero__title {
    font-size: 2.25rem;
  }
  
  .tax-split__content {
    order: 2;
  }
  
  .tax-split__media {
    order: 1;
  }
}

@media (max-width: 640px) {
  .tax-hero {
    padding: 60px 0;
  }
  
  .tax-h2 {
    font-size: 1.75rem;
  }
}

/* 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; }
}
