/*************************************************

cast-comment-btn

*************************************************/
.cast-comment-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.2rem 1rem;
  background-color: #1E4EB8;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  border-radius: 0.3rem;
  cursor: pointer;
  line-height: 1.5;
  white-space: nowrap;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.cast-comment-btn::before {
  content: "";
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E") no-repeat center/contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.cast-comment-btn:hover {
  opacity: 0.7;
}

.cast-comment-btn--light {
  margin-top: 0;
  margin-left: 1rem;
  vertical-align: middle;
  background-color: #fff;
  color: #1E4EB8;
}
.cast-comment-btn--light::before {
  background-color: #1E4EB8;
}

/*************************************************

cast-modal

*************************************************/
.cast-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.cast-modal-overlay.is-active {
  opacity: 1;
}

.cast-modal {
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: min(100rem, 90vw);
  max-height: 90vh;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 0.8rem;
  padding: 3rem 3rem 4rem;
}
@media screen and (max-width: 767px) {
  .cast-modal {
    width: 90vw;
    padding: 2rem 2rem 3rem;
  }
}

.cast-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 3rem;
  line-height: 1;
  color: #333;
  cursor: pointer;
  z-index: 1;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.cast-modal__close:hover {
  opacity: 0.5;
}

.cast-modal__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 3rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 767px) {
  .cast-modal__body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 2rem;
  }
}

.cast-modal__photo {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 38rem;
}
@media screen and (max-width: 767px) {
  .cast-modal__photo {
    width: 70%;
    max-width: 38rem;
  }
}
.cast-modal__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.4rem;
}

.cast-modal__info {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
}
@media screen and (max-width: 767px) {
  .cast-modal__info {
    text-align: center;
    width: 100%;
  }
}

.cast-modal__role {
  color: #1E4EB8;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cast-modal__name {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.cast-modal__heading {
  color: #1E4EB8;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cast-modal__text {
  text-align: left;
  font-size: 1.7rem;
  line-height: 2;
}