.blog-list-section {
  padding: 52px 0 76px;
}

.blog-index__header {
  margin-bottom: 30px;
}

.blog-index__title {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.blog-index__intro {
  margin: 0;
  max-width: 860px;
  font-size: 17px;
  line-height: 1.75;
  color: #4b5563;
}

.blog-index__empty {
  font-size: 16px;
  color: #6b7280;
  padding: 18px 0;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #111827 0%, #374151 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 2;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: #d1d5db;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-link:hover {
  text-decoration: none;
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
  border-bottom: 1px solid #eef0f3;
}

.blog-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.04);
}

.blog-card-image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #111827 0%, #1f2937 55%, #374151 100%);
}

.blog-card-image-fallback__label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 24px 24px 22px;
}

.blog-card-top {
  margin-bottom: 14px;
}

.blog-card-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  word-break: keep-all;
}

.blog-card-excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #4b5563;
  min-height: 84px;
  word-break: keep-all;
}

.blog-card-bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eef0f3;
}

.blog-card-date {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #6b7280;
  font-weight: 500;
}

.blog-card-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-card-tags li {
  margin: 0;
  padding: 0;
}

.blog-tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pagination {
  margin-top: 38px;
}

.pagination__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination__item {
  margin: 0;
  padding: 0;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  color: #111827;
  text-decoration: none;
  background: #fff;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.pagination__link:hover {
  border-color: #111827;
}

.pagination__item--active .pagination__link {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

@media (max-width: 1200px) {
  .blog-card-title {
    font-size: 20px;
  }
}

@media (max-width: 1024px) {
  .blog-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-index__title {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .blog-list-section {
    padding: 30px 0 46px;
  }

  .blog-index__header {
    margin-bottom: 22px;
  }

  .blog-index__title {
    font-size: 30px;
  }

  .blog-index__intro {
    font-size: 15px;
    line-height: 1.7;
  }

  .blog-list-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-card-body {
    min-height: auto;
    padding: 18px;
  }

  .blog-card-title {
    font-size: 20px;
  }

  .blog-card-excerpt {
    min-height: auto;
    font-size: 14px;
  }

  .blog-card-bottom {
    margin-top: 14px;
    padding-top: 14px;
  }
}

.blog-home-section {
  padding-top: 40px;
}

.blog-home-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.blog-home-header__main {
  flex: 1;
}

.blog-home-header__side {
  flex-shrink: 0;
}

.blog-home-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.blog-home-more:hover {
  border-color: #111827;
  color: #111827;
}

.blog-home-section-title {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-category-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.home-category-card__body {
  padding: 24px;
}

.home-category-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
}

.home-category-card__desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
}

.home-category-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-category-card__item {
  padding: 14px 0;
  border-top: 1px solid #eef0f3;
}

.home-category-card__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.home-category-card__link {
  display: block;
  color: #111827;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  word-break: keep-all;
}

.home-category-card__link:hover {
  text-decoration: underline;
}

.home-category-card__meta {
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}

.home-category-card__empty {
  font-size: 14px;
  color: #6b7280;
  padding: 6px 0 2px;
}

.home-category-card__footer {
  margin-top: 18px;
}

@media (max-width: 1024px) {
  .home-category-grid {
    grid-template-columns: 1fr;
  }

  .blog-home-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-home-section-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .blog-home-section {
    padding-top: 24px;
  }

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

.rg-hero {
  padding: 52px 0 24px;
}

.rg-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.rg-hero__content,
.rg-hero__panel {
  min-width: 0;
}

.rg-hero__content {
  padding: 10px 0;
}

.rg-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.rg-hero__title {
  margin: 0 0 18px;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #111827;
  word-break: keep-all;
}

.rg-hero__desc {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.85;
  color: #4b5563;
  word-break: keep-all;
}

.rg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.rg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.rg-btn:hover {
  transform: translateY(-1px);
}

.rg-btn--primary {
  background: #111827;
  color: #ffffff;
  border: 1px solid #111827;
}

.rg-btn--primary:hover {
  color: #ffffff;
}

.rg-btn--ghost {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.rg-btn--ghost:hover {
  color: #111827;
  border-color: #111827;
}

.rg-hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
}

.rg-hero__badges li {
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.rg-hero-card {
  height: 100%;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.35), transparent 26%),
    linear-gradient(135deg, #111827 0%, #1f2937 55%, #374151 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.rg-hero-card__label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.rg-hero-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.rg-hero-card__item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(3px);
}

.rg-hero-card__item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}

.rg-hero-card__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1200px) {
  .rg-hero__title {
    font-size: 44px;
  }
}

@media (max-width: 1024px) {
  .rg-hero {
    padding: 36px 0 12px;
  }

  .rg-hero__inner {
    grid-template-columns: 1fr;
  }

  .rg-hero__title {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .rg-hero {
    padding: 22px 0 8px;
  }

  .rg-hero__title {
    font-size: 30px;
    line-height: 1.15;
  }

  .rg-hero__desc {
    font-size: 15px;
    line-height: 1.75;
  }

  .rg-hero-card {
    padding: 18px;
    border-radius: 18px;
  }

  .rg-hero-card__item {
    padding: 14px;
  }

  .rg-hero-card__item h3 {
    font-size: 18px;
  }
}