/* --------- 대표 유행어 --------- */
#quotes {
  background-image: url('../../assets/images/background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

#quotes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 75%);
  z-index: 0;
}

#quotes .container {
  position: relative;
  z-index: 1;
}

#quotes .section-title {
  color: white;
}

.catchphrase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.catchphrase-card {
  padding: 32px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 12px;
}

.catchphrase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
}

.catchphrase-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 20px;
  padding-right: 60px;
}

.catchphrase-content {
  display: grid;
  gap: 16px;
  font-size: 1.2rem;
}

.catchphrase-section {
  line-height: 1.7;
}

.catchphrase-section strong {
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.catchphrase-section p {
  margin: 0;
  color: var(--txt);
  font-size: 1.2rem;
  line-height: 1.5;
}

.catchphrase-section p strong {
  display: inline;
  color: var(--txt);
  font-weight: 600;
}

/* --------- 반응형 --------- */

/* 태블릿 */
@media (width <= 1024px) {
  .works-scroll {
    padding: 20px calc((100% - 280px) / 2);
  }

  .work-card {
    flex: 0 0 280px;
  }

  .work-poster {
    width: 280px;
    height: 400px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* 모바일 */
@media (width <= 768px) {
  .section-title {
    text-align: center !important;
  }

  .works-scroll {
    padding: 20px calc((100% - 220px) / 2);
    gap: 16px;
  }

  .slider-arrow {
    display: none;
  }

  .work-card {
    flex: 0 0 220px;
  }

  .work-poster {
    width: 220px;
    height: 330px;
  }

  .work-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
    bottom: 10px;
    left: 10px;
  }

  .work-title {
    font-size: 15px;
  }

  .work-meta {
    font-size: 13px;
  }

  .catchphrase-card {
    padding: 24px;
  }

  .catchphrase-title {
    font-size: clamp(18px, 4vw, 22px);
    padding-right: 50px;
  }

  .catchphrase-section p {
    font-size: 14px;
  }
}
