/**
 * Taxonomy Featured Header
 *
 * Original WPCode snippet ID: 13019
 * Original location:          WPCode → CSS, location: site_wide_header
 *
 * Summary: Styles the .taxonomy-featured-header block rendered by the [taxonomy_featured_header] shortcode (was snippet 13018 / modules/taxonomies/taxonomy-featured-header.php).
 */

.taxonomy-featured-header {
  display: flex;
  min-height: 300px; /* Adjust height as needed */
  align-items: stretch;
  background-color: #fff;
  flex-wrap: wrap;
  border-radius: 10px;
}

.taxonomy-header-left,
.taxonomy-header-right {
  flex: 1 1 50%;
}

.taxonomy-header-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.taxonomy-header-left h1 {
  font-size: 40px;
  font-weight: bold;
  color: #1b2559;
  margin-bottom: 10px;
}

.taxonomy-header-left p {
  font-size: 18px;
  color: #4f5a7d;
  margin: 0;
}

.taxonomy-header-right {
  display: flex;
  border-radius: 10px;
}

.taxonomy-header-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 1025px) {
  .taxonomy-header-right img {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}


@media (max-width: 768px) {
  .taxonomy-featured-header {
    flex-direction: column;
  }

  .taxonomy-header-left,
  .taxonomy-header-right {
    flex: 1 1 100%;
  }

  .taxonomy-header-left {
    padding: 15px;
    text-align: center;
  }

  .taxonomy-header-left h1 {
    font-size: 30px;
  }

  .taxonomy-header-left p {
    font-size: 16px;
  }

  .taxonomy-header-right img {
    height: auto;
	border-left: 20px;
  }
}
