.hero-swiper {
  height: calc(100svh - 64px);

  @media (max-width: 767px) {
    /* height: calc(100vw * 1.5); */
    height: auto;
  }
}

.hero-slide-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.swiper-slide {
  position: relative;
}

.swiper-slide a {
  position: absolute;
  inset: 0;
}

.swiper-button-prev::after {
  /* content: ''; */
  color: #fff;
}

.swiper-button-next {
  /* content: ''; */
  color: #fff;
}

.banners {
  padding: 40px 0;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.banners .swiper-pagination {
  position: relative;
  padding: 12px 0;
}

.banners img {
  object-fit: cover;
  aspect-ratio: 16 / 9;
  box-shadow: 0px 6px 12px 0 rgba(0, 0, 0, 0.1);
}

.notice-list {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.notice-list .notice {
  position: relative;
  padding: 8px 16px;
  border-bottom: 1px solid #ccc;
}

.notice-list .notice:first-child {
  border-top: 1px solid #ccc;
}

.notice-list .notice .post-link {
  position: absolute;
  inset: 0;
}

.notice-list .notice .post-title {
  margin: 4px 0;
  word-break: break-all;
}

.notice-list .notice .post-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.notice-list .notice .post-date,
.notice-list .notice .post-type {
  font-size: 0.8rem;
}

.notice-list .notice .post-date {
  min-width: 90px;
}

.notice-list .notice .post-type {
  display: inline-block;
  background-color: #eee;
  padding: 2px 12px;
  letter-spacing: 0.1rem;
  font-size: 10px;
}

.notice .post-meta .post-new {
  font-size: 10px;
  color: transparent;
  display: block;
  position: relative;
}

.notice .post-meta .post-new::before {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  width: 0%;
  color: transparent;
  background-image: linear-gradient(90deg, var(--fanclub-red) 10%, var(--fanclub-red));
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  animation: textSlide 1.4s infinite linear;
  content: 'NEW';
}

@keyframes textSlide {
  50%,
  100% {
    width: 100%;
  }
}

.top-section--title {
  text-align: center;
  text-transform: uppercase;
  font-size: 28px;
}

.top-section.contents {
  /* background: linear-gradient(#e66465, #9198e5); */
  background-color: #eee;

  a.card-link {
    position: absolute;
    z-index: 10;
  }

  .post-img {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
  }
}

.top-section.gallery {
  /* background: linear-gradient(#e66465, #9198e5); */
  /* background-color: #eee; */

  .card.paid-member {
    a.card-link {
      pointer-events: initial;
    }

    .post-img {
      filter: unset;
    }

    span {
      display: none;
    }
  }

  a.card-link {
    position: absolute;
    z-index: 10;
    pointer-events: none;
  }

  .card-thumb {
    position: relative;
    top: 0;
    left: 0;

    .post-img {
      object-fit: cover;
      width: 100%;
      aspect-ratio: 16 / 9;
      border-radius: 4px;
      filter: blur(10px);
    }

    span {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: rgba(255, 255, 255, 0.7);
      font-weight: 600;
    }
  }
}

.section-more {
  margin: 0 auto;
}

.section-more .btn-more {
  padding: 8px 24px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.section-more .btn-more__white {
  border: 1px solid #fff;
  color: #fff;
}

.section-more .btn-more__black {
  border: 1px solid #f5f3f4;
  background-color: #f5f3f4;
  color: #231f20;
}

@media screen and (max-width: 768px) {
  .hero-swiper {
    /* max-height: 600px; */
  }

  .top-section--title {
    font-size: 24px;
  }
}

.top-section {
  .card-thumb {
    box-shadow: 0px 4px 6px 0 rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
  }

  img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/ 9;
    object-fit: cover;
    border-radius: 4px;
    /* box-shadow: 0px 6px 12px 0 rgba(0, 0, 0, 0.1); */
  }

  div.no-thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16 / 9;
    img {
      width: 100px;
      aspect-ratio: unset;
      height: 100%;
      object-fit: unset;
      box-shadow: unset;
      opacity: 0.4;
      filter: grayscale(100%);
    }
  }
}

.top-section.event {
  background-color: #eee;

  .card-thumb {
    display: flex;
    justify-content: center;
  }

  .thumb-tate {
    aspect-ratio: 2 / 3;
    img {
      aspect-ratio: 2 / 3;
    }
  }
}

/* 팝업 외 영역 */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none; /* 기본적으로 숨김 */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* 팝업 박스 스타일 */
.popup {
  background-color: white;
  padding: 60px 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;

  h2 {
    font-size: 18px;
  }

  p {
    text-align: left;
  }

  .popup-btn {
    display: flex;
    gap: 8px;
  }

  .close-btn,
  .link-btn {
    display: block;
    padding: 4px;
    border: 1px solid #eee;
    background-color: #eee;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 16px;
    text-align: center;
    font-size: 14px;

    a {
      display: inline-block;
      width: 100%;
      height: 100%;
    }
  }

  .link-btn {
    background-color: #1a2176;
    border-color: #1a2176;
    color: #fff;
  }
}

/* 체크박스 스타일 */
label {
  font-size: 16px;
}

.card-thumb {
  position: relative;
  top: 0;
  left: 0;

  .post-img {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    filter: blur(10px);
  }
}

.card.paid-member {
  a.card-link {
    pointer-events: initial;
  }

  .post-img {
    filter: unset;
  }

  span {
    display: none;
  }
}
