:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --light-bg-color: #ffffff;
  --dark-text-color: #333333;
}

.page-blog {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color);
  background-color: var(--background-color);
  line-height: 1.6;
  font-size: 16px;
}

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

.page-blog__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-blog__light-bg {
  background-color: var(--light-bg-color);
  color: var(--dark-text-color);
}

.page-blog__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 15px;
}

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.page-blog__section-description {
  text-align: center;
  margin-bottom: 50px;
  font-size: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color);
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, main offset from body */
  background-color: var(--background-color);
}

.page-blog__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-blog__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-blog__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-blog__main-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-blog__hero-description {
  font-size: 20px;
  color: var(--text-main-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-blog__cta-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

/* Intro Section */
.page-blog__intro-section {
  padding: 80px 0;
}

.page-blog__intro-section p {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--text-main-color);
  text-align: justify;
}

/* Articles Section */
.page-blog__articles-section {
  padding: 80px 0;
}

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

.page-blog__article-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-blog__article-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

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

.page-blog__article-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__article-excerpt {
  font-size: 16px;
  color: var(--text-main-color);
  margin-bottom: 15px;
  line-height: 1.5;
}

.page-blog__article-date {
  font-size: 14px;
  color: #aaa;
}

.page-blog__view-all {
  text-align: center;
  margin-top: 60px;
}

/* Category Section */
.page-blog__category-section {
  padding: 80px 0;
}

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

.page-blog__category-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__category-card img {
  width: 100%;
  
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.page-blog__category-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-blog__category-description {
  font-size: 15px;
  color: var(--text-main-color);
  text-align: center;
  padding: 0 15px;
}

/* Expert Section */
.page-blog__expert-section {
  padding: 80px 0;
}

.page-blog__expert-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 50px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__expert-content img {
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.2);
}

.page-blog__expert-text {
  flex: 1;
}

.page-blog__expert-text p {
  font-size: 17px;
  color: var(--text-main-color);
  margin-bottom: 20px;
  text-align: justify;
}

/* Promo Section */
.page-blog__promo-section {
  padding: 80px 0;
}

.page-blog__promo-content {
  text-align: center;
  margin-bottom: 50px;
}

.page-blog__promo-content .page-blog__section-title {
  color: var(--secondary-color);
}

.page-blog__promo-description {
  font-size: 18px;
  color: var(--text-main-color);
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 80px 0;
}

.page-blog__faq-list {
  margin-top: 50px;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-blog__faq-item summary.page-blog__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}

.page-blog__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}

.page-blog__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--primary-color), 0.05);
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color);
  font-size: 16px;
}

.page-blog__faq-answer p {
  margin: 0;
  color: var(--text-main-color);
}

/* Floating CTA Button */
.page-blog__floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 5px 20px rgba(255, 211, 107, 0.5);
  z-index: 1000;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-blog__floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: 42px;
  }
  .page-blog__section-title {
    font-size: 32px;
  }
  .page-blog__expert-content {
    flex-direction: column;
    align-items: center;
    padding: 30px;
  }
  .page-blog__expert-content img {
    width: 60%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-blog img,
  .page-blog__article-card img,
  .page-blog__category-card img,
  .page-blog__expert-content img,
  .page-blog__promo-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__hero-section,
  .page-blog__intro-section,
  .page-blog__articles-section,
  .page-blog__category-section,
  .page-blog__expert-section,
  .page-blog__promo-section,
  .page-blog__faq-section {
    padding: 40px 0;
  }

  .page-blog__container,
  .page-blog__expert-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-blog__main-title {
    font-size: 36px;
  }

  .page-blog__hero-description {
    font-size: 18px;
  }

  .page-blog__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-blog__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-blog__articles-grid,
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__article-card img {
    height: 200px;
  }

  .page-blog__article-title {
    font-size: 20px;
  }

  .page-blog__category-card img {
    
  }

  .page-blog__expert-content img {
    width: 100%;
  }

  .page-blog__cta-button,
  .page-blog__floating-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-blog__floating-cta {
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 8px;
    text-align: center;
  }

  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px;
  }

  .page-blog__faq-qtext {
    font-size: 16px;
  }

  .page-blog__faq-toggle {
    font-size: 24px;
    width: 24px;
  }

  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: 32px;
  }
  .page-blog__hero-description {
    font-size: 16px;
  }
  .page-blog__section-title {
    font-size: 24px;
  }
  .page-blog__article-title {
    font-size: 18px;
  }
  .page-blog__category-title {
    font-size: 20px;
  }
}