/* Hide post dates and categories */
.wp-block-post-date,
.wp-block-post-terms,
.taxonomy-category,
.post-date,
.entry-date,
.cat-links,
.posted-on {
  display: none !important;
}

/* Smaller post and page titles */
.wp-block-post-title,
.entry-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem) !important;
  line-height: 1.1 !important;
}

/* Default body text color */
p,
li,
.wp-block-post-excerpt,
.wp-block-post-content,
.entry-content {
  color: #F7E7D3;
}

/* Episodes listing width */
.wp-block-post-template {
  width: min(100% - 40px, 900px) !important;
  max-width: 900px !important;
  margin-inline: auto !important;
}

/* Each episode */
.wp-block-post-template > li {
  width: 100% !important;
  margin-bottom: 45px !important;
}

/* Title above the image and description */
.wp-block-post-template > li > .wp-block-group > .wp-block-post-title {
  text-align: left !important;
  margin: 0 0 18px !important;
}

/* Image left, description right */
.wp-block-post-template
  > li
  > .wp-block-group
  > .wp-block-group.is-layout-constrained {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 30px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
}

/* Episode artwork */
.wp-block-post-template .wp-block-post-featured-image {
  width: 260px !important;
  max-width: 260px !important;
  margin: 0 !important;
}

.wp-block-post-template .wp-block-post-featured-image img {
  display: block !important;
  width: 260px !important;
  height: 260px !important;
  object-fit: cover !important;
}

/* Episode description */
.wp-block-post-template .wp-block-post-excerpt {
  margin: 0 !important;
  text-align: left !important;
}

/* Reduce the theme's spacer */
.wp-block-post-template .wp-block-spacer {
  height: 20px !important;
}

/* Mobile */
@media (max-width: 700px) {
  .wp-block-post-template
    > li
    > .wp-block-group
    > .wp-block-group.is-layout-constrained {
    display: block !important;
  }

  .wp-block-post-template .wp-block-post-featured-image {
    width: min(100%, 300px) !important;
    max-width: 300px !important;
    margin: 0 auto 20px !important;
  }

  .wp-block-post-template .wp-block-post-featured-image img {
    width: 100% !important;
    height: auto !important;
  }
}
/* Slightly smaller episode titles on the listing page */
.wp-block-post-template .wp-block-post-title {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem) !important;
  line-height: 1.08 !important;
}
/* Hide featured image on individual post pages only */
.single-post .wp-block-post-featured-image {
  display: none !important;
}
/* Responsive, full-screen-width homepage banner */
.home .full-bleed-banner {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.home .full-bleed-banner,
.home .full-bleed-banner .elementor-widget-image,
.home .full-bleed-banner .elementor-widget-container {
  display: block !important;
}

.home .full-bleed-banner .elementor-widget-image,
.home .full-bleed-banner .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
}

.home .full-bleed-banner img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
/* Smaller episode artwork on mobile */
@media (max-width: 700px) {
  .wp-block-post-template .wp-block-post-featured-image {
    width: 220px !important;
    max-width: 220px !important;
    margin: 0 auto 20px !important;
  }

  .wp-block-post-template .wp-block-post-featured-image img {
    width: 220px !important;
    height: 220px !important;
    object-fit: cover !important;
  }
}
/* Justify episode excerpt text */
.wp-block-post-template .wp-block-post-excerpt__excerpt {
  text-align: justify !important;
  text-justify: inter-word;
}