/* ===== Vol.11 — 고정 HERO & Article 3-col 그리드 ===== */

/* HERO: 고정 배너 (carousel 아님) */
.hero.hero--fixed {
  position: relative;
  width: 100%;
  height: clamp(360px, 38vw, 560px);
  overflow: hidden;
}
.hero.hero--fixed .hero__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.hero.hero--fixed .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero.hero--fixed .hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
.hero.hero--fixed .hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 max(20px, calc(50% - 750px + 20px)) 56px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 100%;
}
.hero.hero--fixed .hero__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  line-height: 1.2;
  color: #fff;
  word-break: keep-all;
  max-width: 60%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero.hero--fixed .hero__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 14px 6px 10px;
  border-radius: 9999px;
  font-size: clamp(0.85rem, 1vw, 1rem);
  color: #fff;
}
.hero.hero--fixed .hero__author-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f78e1e;
  display: inline-block;
  flex-shrink: 0;
}

/* Article 3-col 그리드 */
.section-articles {
  padding: 60px 20px 80px;
}
.section-articles .section-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: block;
  border-top: 1px solid #d9d9d9;
  padding-top: 40px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  width: 100%;
}

/* 카드 */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  background: transparent;
}
.article-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f3f3;
  border-radius: 2px;
}
.article-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card__thumb img {
  transform: scale(1.04);
}

.article-card__authors {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.article-card__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f1f3;
  padding: 6px 12px;
  border-radius: 2px;
  width: 100%;
  font-size: 0.875rem;
  color: #222;
}
.article-card__author-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f78e1e;
  flex-shrink: 0;
}
.article-card__author-name {
  font-weight: 500;
  line-height: 1.2;
  color: #333;
}

.article-card__content {
  margin: 0;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: #111;
  word-break: keep-all;

  /* 6줄 말줄임 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-card:hover .article-card__content {
  color: #f78e1e;
}

/* 하단 더 보기 링크 (Awards and Notable Figures 등) */
.articles-more-link {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 48px;
  padding: 18px 24px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #f78e1e;
  background: #fff;
  border: 1.5px solid #f78e1e;
  border-radius: 2px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.articles-more-link:hover,
.articles-more-link:focus-visible {
  background-color: #f78e1e;
  color: #fff;
}
.articles-more-link:focus-visible {
  outline: 2px solid #f78e1e;
  outline-offset: 2px;
}

/* 반응형 */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
}
@media (max-width: 640px) {
  .section-articles {
    padding: 32px 16px 48px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .articles-more-link {
    margin-top: 32px;
    padding: 14px 16px;
    font-size: 0.9375rem;
  }
  .hero.hero--fixed {
    height: clamp(280px, 60vw, 420px);
  }
  .hero.hero--fixed .hero__content {
    padding: 0 20px 32px;
    gap: 12px;
  }
  .hero.hero--fixed .hero__title {
    max-width: 100%;
    font-size: 1.375rem;
  }
}
