/* Mobile-first polish on top of assets/vi/css/podcast.css */

section#player {
  color: #fff;
  padding: 1em 0;
  position: relative;
  bottom: 0;
  width: 100%;
  z-index: 9;
}

section#player h5 {
  margin-bottom: 0;
}

.green-audio-player {
  background-color: transparent !important;
}

.podcast-layout .banner-podcast {
  background-image: url("../vi/css/../images/podcast/bg-podcast.png"),
    linear-gradient(115deg, #cb5e94 0%, #371385 55%, #1a0a4a 100%);
  background-size: cover;
  background-position: center;
}

.podcast-layout .banner-podcast {
  background-image: linear-gradient(115deg, #cb5e94 0%, #371385 55%, #1a0a4a 100%);
}

@supports (background-image: url("/wp-content/uploads/smartkarrot/vi/images/podcast/bg-podcast.png")) {
  .podcast-layout .banner-podcast {
    background-image: url("/wp-content/uploads/smartkarrot/vi/images/podcast/bg-podcast.png"),
      linear-gradient(115deg, #cb5e94 0%, #371385 55%, #1a0a4a 100%);
  }
}

.podcast-layout .resources-insights-section {
  padding: 0 0 50px !important;
}

.podcast-layout .pagination-sec .pagination ul li a,
.podcast-layout .pagination-sec .pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 38px;
  min-height: 38px;
  min-width: 38px;
  border-radius: 50px;
  padding: 9px 7px;
  background: transparent;
  border: none;
  color: #000044;
  font-weight: 600;
  margin: 0 2px;
  text-decoration: none;
}

.podcast-layout .pagination-sec .pagination ul li .current {
  background: #f9f5ff;
  color: #7327cc;
}

.podcast-layout .episode-detail-heading a {
  text-decoration: none;
}

.podcast-layout .episode-detail-heading a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .podcast-layout .banner-podcast {
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
    padding: 40px 0 30px;
  }

  .podcast-layout .banner-podcast-single .person-detail {
    margin-top: 24px;
  }

  .podcast-layout .col-md-6.col-lg-5 .ms-xl-5 {
    margin-left: 0 !important;
    margin-top: 32px;
  }

  .podcast-layout .episode-list-each .row > [class*="col-"] {
    margin-bottom: 12px;
  }

  .podcast-layout .episode-list-guest.bl-line {
    border-left: 0;
    padding-top: 8px;
  }
}

@media (max-width: 767px) {
  .podcast-layout .episode-each {
    flex-direction: column;
  }

  .podcast-layout .episode-each .play-div {
    min-width: 100%;
    max-width: 100%;
    min-height: 200px;
    max-height: none;
  }

  .podcast-layout .episode-each .play-div img.new-img,
  .podcast-layout .episode-each .play-div img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .podcast-layout .episode-each .episode-detail {
    padding-left: 0 !important;
    margin-top: 16px;
    width: 100%;
  }

  .podcast-layout .episode-list-each {
    padding: 16px 12px;
  }

  .podcast-layout .episode-list-each .d-flex.align-items-center {
    flex-wrap: wrap;
  }

  .podcast-layout .meet-the-host .mh-left-content {
    padding: 28px 20px;
  }

  .podcast-layout .dont-miss-sec {
    border-radius: 40px !important;
  }

  .podcast-layout .banner-left-title {
    font-size: 28px !important;
    line-height: 1.25;
  }

  section#player .col-8,
  section#player .col-4 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  section#player .col-4 {
    margin-top: 12px;
  }
}

/* Keep notify / CF7 visible on podcast pages even if global form CSS hides them. */
.podcast-layout .podcast-notify-form,
.podcast-layout .podcast-notify-form .book-demo-input,
.podcast-layout .podcast-notify-form form,
.podcast-layout .newsletter-section .wpcf7form,
.podcast-layout .newsletter-section .book-demo-input {
  display: block !important;
}

.podcast-layout .newsletter-section .book-demo-input {
  display: flex !important;
}

.podcast-layout .bottom-10 {
  bottom: 0;
}

.podcast-layout .left-5 {
  left: 0;
}

@media (max-width: 575px) {
  .podcast-layout .play-latest-sec {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .podcast-layout .play-latest-sec .btn {
    width: 100%;
    justify-content: center;
    margin-right: 0 !important;
    margin-bottom: 16px;
  }

  .podcast-layout .links-list {
    width: 100%;
    justify-content: flex-start;
  }

  .podcast-layout .episode-list-each .d-flex.align-items-center.h-100 {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .podcast-layout .episode-list-guest.bl-line {
    border-left: 0 !important;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
  }

  .podcast-layout .episode-list-right {
    padding-left: 0 !important;
  }

  .podcast-layout .person-detail {
    padding: 24px 0;
  }

  .podcast-layout .share-episode .d-flex {
    gap: 8px;
  }
}
