/* 유콘 플랫폼 블로그 목록 */

body.page-blog {
  background: #fff;
}

/* 마이페이지(/intro/mypage) 히어로와 제목·상단 여백 통일 */
body.page-blog .blog-hero {
  padding-top: clamp(20px, 3.6vw, 42px);
}

body.page-blog .blog-hero h1 {
  font-size: clamp(28px, 3.5vw, 35px);
  margin-bottom: clamp(4px, 1.1vw, 10px);
}

.blog-page {
  padding-bottom: 80px;
  background: #fff;
}

.blog-hero {
  padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 64px);
  background: transparent;
}

.blog-hero .container {
  position: relative;
}

.blog-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-1, #e4334c);
}

.blog-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #0b1220;
}

.blog-hero__lead {
  margin: 0;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.72);
}

.blog-listing {
  padding: 0 0 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  scroll-margin-top: calc(var(--topnav-h, 80px) + var(--renewal-banner-h, 44px) + 16px);
}

.blog-card__media {
  display: block;
  width: 100%;
  line-height: 0;
  outline: none;
}

.blog-card__media:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(228, 51, 76, 0.35);
}

.blog-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 20px 20px;
  min-height: 0;
}

.blog-card__meta {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-1, #e4334c);
}

.blog-card__title {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.25vw, 19px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #0b1220;
}

.blog-card__excerpt {
  margin: 0 0 18px;
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.55);
}

.blog-card__cta {
  margin-top: auto;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-1, #e4334c);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.blog-card__cta:hover {
  opacity: 0.9;
  color: #000000;
}

.blog-card__cta:focus-visible {
  outline: 2px solid var(--brand-1, #e4334c);
  outline-offset: 3px;
}

.blog-card__cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.blog-card__cta:hover .blog-card__cta-arrow {
  transform: translateX(3px);
}

.blog-footnote {
  margin: clamp(32px, 4vw, 44px) auto 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.5);
  text-align: center;
}

.blog-footnote a {
  color: var(--brand-1, #e4334c);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-footnote a:hover {
  color: #000000;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
