/* ========== BLOG ========== */

body.blog-page {
  color: #3b3b3b;
  background: #fcfcfc;
}

.blog-page .page {
  color: #3b3b3b;
  padding-bottom: 80px;
}

.blog-main {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
}

.blog-hero {
  padding: 32px 0 24px;
  text-align: left;
}

.blog-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.04px;
  line-height: 1.1;
  color: #12131a;
}

.blog-hero p {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #5b5b5b;
  white-space: nowrap;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  padding-bottom: 40px;
}

.blog-filters__btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(59, 59, 59, 0.16);
  background: #fff;
  color: #5b5b5b;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.blog-filters__btn:hover {
  border-color: rgba(221, 174, 116, 0.6);
  color: #12131a;
}

.blog-filters__btn.is-active {
  background: #12131a;
  border-color: #12131a;
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 80px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(59, 59, 59, 0.08);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.blog-card:hover {
  box-shadow: 0 16px 48px rgba(18, 19, 26, 0.08);
  transform: translateY(-2px);
  border-color: rgba(221, 174, 116, 0.35);
}

.blog-card.is-hidden {
  display: none;
}

.blog-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f3ece0;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

.blog-card__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #12131a;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  gap: 10px;
}

.blog-card__date {
  font-size: 13px;
  font-weight: 600;
  color: #8a8a8a;
}

.blog-card h2 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: #12131a;
}

.blog-card p {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: #5b5b5b;
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-text);
  transition: gap 0.2s ease;
}

.blog-card:hover .blog-card__read {
  gap: 12px;
}

.blog-card__read img {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__read img {
  transform: translateX(2px);
}

.blog-cta {
  padding: 56px 64px;
  border-radius: 40px;
  background: #12131a;
  color: #fff;
  text-align: center;
}

.blog-cta h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.72px;
  line-height: 1.15;
}

.blog-cta p {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.blog-cta .btn-gold {
  margin-top: 28px;
  width: min(100%, 360px);
  height: 90px;
  font-size: 16px;
}

.blog-cta__note {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

/* ========== ARTICLE ========== */

.article-layout {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  padding: 24px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.article-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.article-main {
  min-width: 0;
  max-width: 760px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
}

.article-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(59, 59, 59, 0.12);
  background: #fff;
  color: #5b5b5b;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.article-breadcrumb a:hover {
  border-color: rgba(221, 174, 116, 0.5);
  color: #12131a;
  background: rgba(221, 174, 116, 0.08);
}

.article-breadcrumb a img {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.article-breadcrumb__sep {
  color: rgba(59, 59, 59, 0.25);
  user-select: none;
}

.article-breadcrumb__current {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(221, 174, 116, 0.15);
  color: #785726;
  font-weight: 700;
}

.article-header h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.88px;
  color: #12131a;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #8a8a8a;
}

.article-meta__item img {
  width: 16px;
  height: 16px;
  opacity: 0.55;
}

.article-meta__topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(221, 174, 116, 0.45);
  background: rgba(221, 174, 116, 0.12);
  font-size: 13px;
  font-weight: 700;
  color: #785726;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.article-meta__topic img {
  width: 16px;
  height: 16px;
}

.article-meta__topic:hover {
  background: rgba(221, 174, 116, 0.22);
  border-color: rgba(221, 174, 116, 0.7);
  transform: translateY(-1px);
}

.article-cover {
  margin: 24px 0 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f3ece0;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-lead {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #5b5b5b;
}

.article-body h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.48px;
  color: #12131a;
}

.article-body h2:first-child {
  margin-top: 32px;
}

.article-body p {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #3b3b3b;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 20px;
}

.article-body li {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: #3b3b3b;
}

.article-body strong {
  font-weight: 700;
  color: #12131a;
}

.article-body a {
  color: var(--gold-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: #785726;
}

.article-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-sidebar__heading {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.article-toc {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(59, 59, 59, 0.08);
}

.article-toc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-toc__link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #5b5b5b;
  transition: background 0.15s, color 0.15s;
}

.article-toc__link:hover {
  background: rgba(221, 174, 116, 0.12);
  color: #12131a;
}

.article-toc__link.is-active {
  background: rgba(221, 174, 116, 0.22);
  color: #12131a;
}

.article-subscribe {
  padding: 20px;
  border-radius: 20px;
  background: #fbf8f2;
  border: 1px solid rgba(59, 59, 59, 0.06);
}

.article-subscribe__text {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #5b5b5b;
}

.article-subscribe .cta-card__btn {
  width: 100%;
  margin-top: 0;
}

.article-more h2 {
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.56px;
  color: #12131a;
}

.article-cta h2 {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.56px;
  color: #12131a;
}

.article-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-more__card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(59, 59, 59, 0.08);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.article-more__card:hover {
  border-color: rgba(221, 174, 116, 0.45);
  box-shadow: 0 12px 32px rgba(18, 19, 26, 0.06);
  transform: translateY(-2px);
}

.article-more__image {
  height: 140px;
  overflow: hidden;
  background: #f3ece0;
}

.article-more__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-more__card:hover .article-more__image img {
  transform: scale(1.05);
}

.article-more__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  flex: 1;
}

.article-more__tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-text);
}

.article-more__card h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: #12131a;
}

.article-more__card p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #5b5b5b;
}

.article-cta {
  padding: 48px 56px;
  border-radius: 32px;
  background: #fbf8f2;
  text-align: center;
}

.article-cta p {
  font-size: 16px;
  font-weight: 600;
  color: #5b5b5b;
}

.article-cta .btn-gold {
  margin-top: 24px;
  width: min(100%, 320px);
  height: 80px;
  font-size: 16px;
}

@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-content {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .article-toc,
  .article-subscribe {
    flex: 1;
    min-width: 240px;
  }

  .article-more__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .blog-hero p {
    white-space: normal;
    font-size: 15px;
  }

  .blog-grid,
  .article-more__grid {
    grid-template-columns: 1fr;
  }

  .blog-cta,
  .article-cta {
    padding: 40px 24px;
  }

  .article-sidebar {
    flex-direction: column;
  }
}
