.hero {
  padding-left: 41px;
  padding-right: 38px;
  padding-top: 138px;
  padding-bottom: 128px;
  background-size: 99.9% 94%;
  margin-top: -108px;
}
.hero__inner{
    display: flex;
    gap: 73px;
    max-width: 1435px;
    margin: 0 auto;
    position: relative;
}

.hero__portrait{
  position: relative;
  box-shadow: -44px -23px 233px rgba(255, 255, 255, 0.12);
  border-radius: 21px;
}


.hero__portrait img {
  border-radius: 20px;
  border: 1px solid #B98C4B;
  background: url(<path-to-image>) lightgray 50% / cover no-repeat;
  box-shadow: 0 0 160.7px 1px rgba(255, 240, 218, 0.20);
}
.hero__content{
    padding-top: 72px;
}

/* Guest Requests */
.guest-requests {
  max-width: var(--maze-max);
  margin: 80px auto 95px;
  padding: 0 38px;
  padding-left: 50px;
}

.guest-requests__title {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 54px;
  color: #fff;
  text-align: center;
  margin: 0 0 16px;
}

.guest-requests__subtitle {
  max-width: 1142px;
  margin: 0 auto;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 28px;
  line-height: 42px;
  color: #fff;
}

.guest-requests__notice {
  margin-bottom: 24px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.guest-requests__notice--success {
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
  max-width: 553px;
  margin: 16px auto;
}

.guest-requests__notice--error {
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.7);
  color: #fecaca;
}

.guest-requests__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 553px;
  margin: 0 auto;
  margin-top: 32px;
}

.guest-requests__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guest-requests__label {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
}

.guest-requests__required {
  color: rgba(199, 0, 54, 1);
  margin-left: 2px;
  font-size: 14px;
  font-weight: 500;
}

.guest-requests__input{
  max-height: 48px;
}

.guest-requests__input,
.guest-requests__textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(249, 250, 251, 0.5);
  background:transparent;
  padding: 13px 13px 12px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: rgba(212, 212, 216, 1);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.guest-requests__input::placeholder,
.guest-requests__textarea::placeholder {
  color: rgba(212, 212, 216, 1) !important;
  opacity: 0.9 !important;
}

.guest-requests__textarea {
  resize: vertical;
  height: 70px;
}

.guest-requests__input::placeholder,
.guest-requests__textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.guest-requests__input:focus,
.guest-requests__textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.guest-requests__actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.guest-requests__submit {
  height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  border: unset;
  background: rgba(249, 250, 251, 1);
  color: #4A5565;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
}

.guest-requests__submit:hover {
  background: #f3f4f6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.guest-requests__submit:active {
  transform: translateY(1px);
}

  /* Episodes section */
.episodes-section {
  max-width: var(--maze-max);
  margin: 0 auto;
  margin-top: -54px;
  position: relative;
  z-index: 10;
  padding-left: 3px;
}

.episodes-section__inner {
  max-width: 100%;
}

.episodes-section__title {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 54px;
  color: #fff;
  margin: 0 0 24px;
}

.episodes-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
}

.episodes-filter__tab {
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  background: transparent;
  border: unset;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  border-radius: 12px; 
  min-width: 109px;
}

.episodes-filter__tab:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.episodes-filter__tab.is-active {
  background: #26325D;
  
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.episodes-grid[data-loading="1"] {
  opacity: 0.6;
  pointer-events: none;
}

/* Episode cards (Mind Snacks page) */

@media (max-width: 1024px) {
    .hero{
        padding: 0;
        background-image: unset;
        position: relative;
        top: -34px;
    }
    .hero.active{
        top: 22px;
    }
   
    .breadcrumb{
        display: none;
    }

    .hero__content{
        position: absolute;
        z-index: 10;
        bottom: 25px;
        padding: 0 20px;
        left: 0;
        right: 0;
    }

    .episodes-section {
        margin-top: 12px;
        padding: 0 20px;
    }
    .episodes-grid{
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .hero__portrait{
        margin: 0 auto;
        width: 100%;
        height: 724px;
    }

    .hero__portrait::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 100%;
      border-radius: 0 0 20px 20px;
      background: rgb(0 0 0 / 25%);
    }

    .hero__portrait img{
        width: 100%;
        height: 100%;
        object-fit: contain;
        border: unset;
        box-shadow: unset;
        background: unset;
    }

    .hero__title{
        text-align: start;
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    .hero__lead{
        max-width: 500px;
        margin: 0 auto;
        text-align: start;
        margin-top: 4px;
    }
    .episodes-filter__tab {
        min-width: 48px;
        font-size: 14px;
        line-height: 20px;
        padding: 10px 15px
    }
    .guest-requests{
        margin: 48px auto 44px;
        padding: 0 20px;
    }
    .guest-requests__title{
        font-size: 24px;
        line-height: 36px;
        text-align: start;
        margin: 0 0 12px;
    }
    .guest-requests__subtitle{
        font-size: 16px;
        line-height: 24px;
        text-align: start;
    }

    .guest-requests__form {
        margin-top: 24px;
    }

    .guest-requests__input, .guest-requests__textarea{
        padding: 7px 9px;
        font-size: 14px;
        line-height: 20px;
    }

    .guest-requests__input::placeholder,
    .guest-requests__textarea::placeholder {
      font-size: 14px;
        line-height: 20px;
    }

    .guest-requests__actions{
        margin-top: 8px;
        
    }
    .guest-requests__submit{
        font-size: 14px;
        line-height: 21px;
        padding: 7px 31.5px 6px;
        font-weight: 600;
        height:33px ;
    }

    .episodes-section__title{
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 20px;
        font-weight: 500;
    }
    .episodes-filter {
      margin-right: -17px;
      gap:12px;
    }
    .site-header.active .site-header__inner {
      padding-top: 110px;
  }
}

@media (max-width: 608px) {
  .episodes-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hero__portrait img{
    object-fit: cover;
  }
}

@media (max-width: 350px) {
    .episodes-grid{
        grid-template-columns: unset;
        justify-content: center;
    }
}
