/* ===== Blog Page Styles ===== */
.page-blog {
  color: #FFF3E6;
  background-color: #0D0E12;
}

/* Hero Section */
.page-blog__hero {
  padding: 10px 16px 0;
}
.page-blog__hero-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}
.page-blog__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 17/5;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.page-blog__hero-title {
  color: #FF8C1A;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 700px;
  margin: 16px 0 8px;
}
.page-blog__hero-subtitle {
  color: #FFF3E6;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 0 16px;
}
.page-blog__hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-blog__btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}
.page-blog__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #17191F;
  border-color: #A84F0C;
}
.page-blog__btn--primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: scale(1.02);
}
.page-blog__btn--secondary {
  background-color: #17191F;
  color: #FFFF;
  border-color: #FFA53A;
  color: #FFF3E6;
}
.page-blog__btn--secondary:hover {
  border-color: #FFB04D;
}

/* Latest Posts Section */
.page-blog__latest {
  padding: 24px 16px;
  max-width: 1020px;
  margin: 0 auto;
}
.page-blog__section-header {
  text-align: center;
  margin-bottom: 20px;
}
.page-blog__section-title {
  color: #FF8C1A;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}
.page-blog__section-subtitle {
  color: #D0DDE7;
  opacity: 0.7;
  margin: 0;
  font-size: 1rem;
}
.page-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.page-blog__card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-blog__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(255, 176, 77, 0.3);
}
.page-blog__card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-bottom: 2px solid #FF8C1A;
  display: block;
}
.page-blog__card-content {
  padding: 16px;
}
.page-blog__card-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #FFFFFF;
  font-weight: 600;
  line-height: 1.4;
}
.page-blog__card-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s;
}
.page-blog__card-title a:hover {
  color: #FF8C1A;
}
.page-blog__card-excerpt {
  color: #D0DDE7;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.page-blog__card-link {
  color: #FFA53A;
  font-weight: 600;
  text-decoration: none;
}
.page-blog__card-link:hover {
  color: #FFB04D;
  text-decoration: underline;
}

/* Guide Section */
.page-blog__guide {
  padding: 16px 16px 32px;
}
.page-blog__guide-inner {
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}
.page-blog__guide-title {
  color: #FF8C1A;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}
.page-blog__guide-description {
  color: #D0DDE7;
  margin-top: 4px;
}
.page-blog__guide-figure {
  margin: 16px 0 0;
}
.page-blog__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 8px;
}
.page-blog__guide-caption {
  color: #FFA53A;
  font-size: 0.9rem;
  margin: 8px 0 16px;
  text-align: center;
}
.page-blog__guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  margin: 24px 0 16px;
}
.page-blog__guide-step {
  background: #17191F;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #A84F0C;
}
.page-blog__guide-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #17191F;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.page-blog__guide-step-title {
  color: #FFA53A;
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 1.05rem;
}
.page-blog__guide-step-content {
  color: #FFFFFF;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.page-blog__guide-cta {
  display: inline-block;
  padding: 10px 26px;
  margin: 4px;
  border-radius: 6px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #17191F;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #A84F0C;
}
.page-blog__guide-cta:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .page-blog__hero {
    padding-top: 8px;
  }
  .page-blog__hero-image {
    aspect-ratio: 21/9;
  }
  .page-blog__hero-subtitle {
    font-size: 0.95rem;
  }
  .page-blog__latest {
    padding: 20px 12px;
  }
  .page-blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-blog__card-excerpt {
    font-size: 0.9rem;
  }
  .page-blog__guide {
    padding: 16px 12px;
  }
  .page-blog__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-blog__btn, .page-blog__guide-cta {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-blog__hero-actions {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog__hero-actions .page-blog__btn {
    margin: 4px 0;
  }
  .page-blog img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-blog__grid {
    grid-template-columns: 1fr;
  }
  .page-blog__hero-actions {
    flex-direction: column;
  }
}