/* style/blog.css */

/* Base styles for the blog page */
.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-bottom: 60px; /* Ensure space above footer */
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header-offset, so this is just decorative */
  overflow: hidden;
  color: #FFF6D6;
  background-color: #0A0A0A;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px;
  display: block;
  margin-bottom: 40px;
}

.page-blog__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-blog__main-title {
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for emphasis */
  margin-bottom: 15px;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-blog__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Buttons */
.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast */
  border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-blog__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Auxiliary color */
  border: 2px solid #FFD36B;
}

.page-blog__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-blog__btn-tertiary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  background-color: #3A2A12; /* Border color as background */
  color: #FFF6D6;
  border: 1px solid #3A2A12;
  transition: all 0.3s ease;
}

.page-blog__btn-tertiary:hover {
  background-color: #F2C14E;
  color: #111111;
}

/* Articles Grid */
.page-blog__latest-articles-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog__article-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px #FFD36B;
}

.page-blog__article-thumbnail {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.page-blog__article-content {
  padding: 25px;
}

.page-blog__article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__article-title a {
  color: #F2C14E; /* Main color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #FFD36B; /* Auxiliary color */
}

.page-blog__article-meta {
  font-size: 0.9em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__read-more-link {
  color: #FFD36B; /* Auxiliary color */
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  position: relative;
}

.page-blog__read-more-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #FFD36B;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.page-blog__read-more-link:hover::after {
  transform: scaleX(1);
}

.page-blog__button-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog__button-group--center {
  justify-content: center;
}

/* Categories Section */
.page-blog__categories-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}

.page-blog__category-item {
  background-color: #111111; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  color: #FFF6D6; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

.page-blog__category-item:hover {
  transform: translateY(-5px);
  background-color: #3A2A12; /* Border color as hover background */
}

.page-blog__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  object-fit: contain;
}

.page-blog__category-name {
  font-weight: bold;
  font-size: 1.1em;
}

/* Why fb777 Section */
.page-blog__why-fb777-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog__feature-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  transition: box-shadow 0.3s ease;
}

.page-blog__feature-item:hover {
  box-shadow: 0 0 15px #F2C14E;
}

.page-blog__feature-title {
  color: #F2C14E; /* Main color */
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-blog__feature-text {
  color: #FFF6D6; /* Text Main */
}

/* Promotions Section */
.page-blog__promotions-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog__promo-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  transition: box-shadow 0.3s ease;
}

.page-blog__promo-item:hover {
  box-shadow: 0 0 15px #FFD36B;
}

.page-blog__promo-title {
  color: #FFD36B; /* Auxiliary color */
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-blog__promo-text {
  color: #FFF6D6; /* Text Main */
}

/* Getting Started Section */
.page-blog__getting-started-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog__step-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  transition: background-color 0.3s ease;
}