/* style/blog-okbet-latest-news.css */
:root {
  --okbet-primary-color: #F2C14E;
  --okbet-secondary-color: #FFD36B;
  --okbet-card-bg: #111111;
  --okbet-background-color: #0A0A0A;
  --okbet-text-main: #FFF6D6;
  --okbet-border-color: #3A2A12;
  --okbet-glow-color: #FFD36B;
  --okbet-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-blog-okbet-latest-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--okbet-text-main); /* Default text color for dark background */
  background-color: var(--okbet-background-color); /* Default background color */
}

.page-blog-okbet-latest-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-blog-okbet-latest-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-blog-okbet-latest-news__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  color: #ffffff;
  margin-top: 80px; /* Adjust based on desired vertical alignment with darkened background */
}

.page-blog-okbet-latest-news__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--okbet-secondary-color);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-blog-okbet-latest-news__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-blog-okbet-latest-news__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-okbet-latest-news__btn-primary,
.page-blog-okbet-latest-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-okbet-latest-news__btn-primary {
  background: var(--okbet-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-okbet-latest-news__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-blog-okbet-latest-news__btn-secondary {
  background: transparent;
  color: var(--okbet-secondary-color);
  border: 2px solid var(--okbet-secondary-color);
}

.page-blog-okbet-latest-news__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-3px);
}

.page-blog-okbet-latest-news__section {
  padding: 60px 20px;
  background-color: var(--okbet-background-color);
  color: var(--okbet-text-main);
}

.page-blog-okbet-latest-news__section--trends,
.page-blog-okbet-latest-news__section--portfolio,
.page-blog-okbet-latest-news__section--community {
  background-color: var(--okbet-background-color);
  color: var(--okbet-text-main);
}

.page-blog-okbet-latest-news__section--platform,
.page-blog-okbet-latest-news__section--future,
.page-blog-okbet-latest-news__section--cta {
  background-color: var(--okbet-card-bg);
  color: var(--okbet-text-main);
}

.page-blog-okbet-latest-news__section--promo {
  background-color: var(--okbet-background-color);
  color: var(--okbet-text-main);
}

.page-blog-okbet-latest-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-okbet-latest-news__section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--okbet-primary-color);
}

.page-blog-okbet-latest-news__subsection-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--okbet-secondary-color);
}

.page-blog-okbet-latest-news__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-blog-okbet-latest-news__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--okbet-border-color);
}

.page-blog-okbet-latest-news__text-center {
  text-align: center;
}

/* FAQ Styles */
.page-blog-okbet-latest-news__faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--okbet-border-color);
}

.page-blog-okbet-latest-news__faq-item {
  border-bottom: 1px solid var(--okbet-border-color);
}

.page-blog-okbet-latest-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--okbet-primary-color);
  transition: color 0.3s ease;
}

.page-blog-okbet-latest-news__faq-question:hover {
  color: var(--okbet-secondary-color);
}

.page-blog-okbet-latest-news__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.page-blog-okbet-latest-news__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: var(--okbet-secondary-color);
}

.page-blog-okbet-latest-news__faq-item.active .page-blog-okbet-latest-news__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-okbet-latest-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

.page-blog-okbet-latest-news__faq-item.active .page-blog-okbet-latest-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 15px 20px 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-okbet-latest-news__hero-content {
    margin-top: 60px;
  }
  .page-blog-okbet-latest-news__hero-title {
    font-size: 3rem;
  }
  .page-blog-okbet-latest-news__section-title {
    font-size: 2.2rem;
  }
  .page-blog-okbet-latest-news__subsection-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-blog-okbet-latest-news {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-okbet-latest-news__hero-section {
    padding-bottom: 40px;
  }
  .page-blog-okbet-latest-news__hero-content {
    margin-top: 40px;
    padding: 15px;
  }
  .page-blog-okbet-latest-news__hero-title {
    font-size: 2.5rem;
  }
  .page-blog-okbet-latest-news__hero-description {
    font-size: 1rem;
  }
  .page-blog-okbet-latest-news__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-blog-okbet-latest-news__btn-primary,
  .page-blog-okbet-latest-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    margin: 0 auto; /* Center buttons when stacked */
  }
  .page-blog-okbet-latest-news__section {
    padding: 40px 15px;
  }
  .page-blog-okbet-latest-news__container {
    padding: 0;
  }
  .page-blog-okbet-latest-news__section-title {
    font-size: 2rem;
  }
  .page-blog-okbet-latest-news__subsection-title {
    font-size: 1.6rem;
  }
  .page-blog-okbet-latest-news__text-block {
    font-size: 1rem;
  }
  .page-blog-okbet-latest-news__image {
    margin: 20px auto;
  }
  /* Mobile image adaptation */
  .page-blog-okbet-latest-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-okbet-latest-news__section,
  .page-blog-okbet-latest-news__container,
  .page-blog-okbet-latest-news__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-okbet-latest-news__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-blog-okbet-latest-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-blog-okbet-latest-news__hero-title {
    font-size: 2rem;
  }
  .page-blog-okbet-latest-news__section-title {
    font-size: 1.8rem;
  }
  .page-blog-okbet-latest-news__subsection-title {
    font-size: 1.4rem;
  }
  .page-blog-okbet-latest-news__faq-question {
    font-size: 1.1rem;
  }
  .page-blog-okbet-latest-news__faq-toggle {
    font-size: 1.5rem;
  }
}