.page-blog {
  font-family: Arial, sans-serif;
  color: #333333; /* Deep dark grey for text on light background */
  background-color: #ffffff;
}

.page-blog__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-blog__hero-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-blog__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-blog__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-blog__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog__btn-primary:hover {
  background-color: #1e87c0;
}

.page-blog__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-blog__btn-secondary:hover {
  background-color: #f0f8ff;
  border-color: #1e87c0;
  color: #1e87c0;
}

.page-blog__section {
  padding: 50px 0;
  background-color: #f9f9f9;
  margin-bottom: 30px;
}

.page-blog__section:nth-of-type(odd) {
  background-color: #ffffff;
}

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

.page-blog__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-blog__section-description {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-blog__article-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__article-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__article-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #26A9E0;
}

.page-blog__arrow {
  margin-left: 8px;
  transition: margin-left 0.3s ease;
}

.page-blog__article-card:hover .page-blog__arrow {
  margin-left: 12px;
}

.page-blog__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.page-blog__market-analysis .page-blog__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-blog__text-block {
  flex: 2;
}

.page-blog__image-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-blog__content-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__content-subtitle:first-of-type {
  margin-top: 0;
}

.page-blog__market-analysis p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-blog__analysis-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: block;
}

.page-blog__btn-block {
  width: 100%;
  padding: 15px 20px;
}

.page-blog__faq-section {
  background-color: #f0f2f5;
  padding-bottom: 80px;
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
}

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: #f5f5f5;
}

.page-blog__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-blog__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  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 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-blog__faq-answer p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-image {
    height: 400px;
  }
  .page-blog__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-blog__market-analysis .page-blog__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-blog__image-block {
    order: -1; /* Image block moves to top on smaller screens */
    width: 100%;
  }
  .page-blog__text-block {
    flex: none;
    width: 100%;
  }
  .page-blog__analysis-image {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    margin-bottom: 20px;
  }
  .page-blog__hero-image {
    height: 300px;
    margin-bottom: 20px;
  }
  .page-blog__hero-image img {
    object-fit: contain !important; /* HERO mobile: object-fit: contain */
    aspect-ratio: unset !important;
  }
  .page-blog__main-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .page-blog__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Add margin for stacked buttons */
  }
  .page-blog__button-group {
    flex-direction: column !important; /* Buttons stack vertically */
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog__section {
    padding: 30px 0;
  }
  .page-blog__section-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .page-blog__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr; /* Single column for articles */
    gap: 20px;
    padding: 0 15px; /* Ensure content padding */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog__article-image {
    height: 180px;
  }
  .page-blog__article-title {
    font-size: 1.15rem;
  }
  .page-blog__content-subtitle {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .page-blog p,
  .page-blog li {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .page-blog__faq-section {
    padding-bottom: 40px;
  }
  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-blog__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 20px 15px;
  }
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog__container,
  .page-blog__content-wrapper,
  .page-blog__text-block,
  .page-blog__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__featured-news .page-blog__articles-grid,
  .page-blog__strategy-tips .page-blog__articles-grid {
    overflow-x: hidden; /* Prevent horizontal scroll on article grids */
  }
}