/* style/blog-phan-tich-keo-bong-da.css */

:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --page-bg-color: #F5F7FA;
  --border-color: #E0E0E0;
}

.page-blog-phan-tich-keo-bong-da {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Body background is light, so use dark text */
  background-color: var(--page-bg-color);
}

.page-blog-phan-tich-keo-bong-da__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Top Section */
.page-blog-phan-tich-keo-bong-da__hero-section {
  padding-top: 10px; /* Rely on body padding-top for header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--card-bg-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.page-blog-phan-tich-keo-bong-da__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-phan-tich-keo-bong-da__description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-phan-tich-keo-bong-da__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-blog-phan-tich-keo-bong-da__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-phan-tich-keo-bong-da__btn--primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  border: 2px solid var(--primary-color);
}

.page-blog-phan-tich-keo-bong-da__btn--primary:hover {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-blog-phan-tich-keo-bong-da__btn--secondary {
  background-color: var(--card-bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-phan-tich-keo-bong-da__btn--secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.2);
}

/* Article Section */
.page-blog-phan-tich-keo-bong-da__article-section {
  padding: 30px 0;
  background-color: var(--card-bg-color);
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-blog-phan-tich-keo-bong-da__article-wrap {
  max-width: 900px; /* Narrower for readability */
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-phan-tich-keo-bong-da__article-content h2 {
  font-size: 2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.page-blog-phan-tich-keo-bong-da__article-content h3 {
  font-size: 1.5em;
  color: var(--text-main-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-phan-tich-keo-bong-da__article-content p {
  margin-bottom: 1em;
  color: var(--text-main-color);
}

.page-blog-phan-tich-keo-bong-da__figure {
  margin: 30px 0;
  text-align: center;
}

.page-blog-phan-tich-keo-bong-da__figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}

.page-blog-phan-tich-keo-bong-da__figcaption {
  font-size: 0.9em;
  color: #777;
  margin-top: 10px;
}

.page-blog-phan-tich-keo-bong-da__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1.5em;
}

.page-blog-phan-tich-keo-bong-da__list-item {
  margin-bottom: 0.5em;
  color: var(--text-main-color);
}

.page-blog-phan-tich-keo-bong-da__promo-box {
  background-color: var(--page-bg-color);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.page-blog-phan-tich-keo-bong-da__promo-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-blog-phan-tich-keo-bong-da__promo-text {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 25px;
}

/* CTA Bottom Section */
.page-blog-phan-tich-keo-bong-da__cta-bottom-section {
  padding: 50px 0;
  text-align: center;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  margin-bottom: 30px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

.page-blog-phan-tich-keo-bong-da__cta-bottom-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-blog-phan-tich-keo-bong-da__cta-bottom-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.9);
}

/* Related Articles */
.page-blog-phan-tich-keo-bong-da__related-articles {
  padding: 30px 0 60px;
  background-color: var(--card-bg-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-blog-phan-tich-keo-bong-da__related-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-phan-tich-keo-bong-da__article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-phan-tich-keo-bong-da__card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-phan-tich-keo-bong-da__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.page-blog-phan-tich-keo-bong-da__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog-phan-tich-keo-bong-da__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-phan-tich-keo-bong-da__card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog-phan-tich-keo-bong-da__card-title a {
  color: var(--text-main-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-phan-tich-keo-bong-da__card-title a:hover {
  color: var(--primary-color);
}

.page-blog-phan-tich-keo-bong-da__card-text {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog-phan-tich-keo-bong-da__card-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.page-blog-phan-tich-keo-bong-da__card-link:hover {
  border-color: var(--primary-color);
}

/* Footer */
.page-blog-phan-tich-keo-bong-da__footer {
  padding: 20px 0;
  text-align: center;
  background-color: var(--text-main-color);
  color: #ffffff;
  font-size: 0.9em;
}

.page-blog-phan-tich-keo-bong-da__copyright {
  margin: 0;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-blog-phan-tich-keo-bong-da__main-title {
    font-size: 2.2em;
  }

  .page-blog-phan-tich-keo-bong-da__description {
    font-size: 1em;
  }

  .page-blog-phan-tich-keo-bong-da__article-wrap {
    max-width: 768px;
  }

  .page-blog-phan-tich-keo-bong-da__article-content h2 {
    font-size: 1.8em;
  }

  .page-blog-phan-tich-keo-bong-da__article-content h3 {
    font-size: 1.3em;
  }

  .page-blog-phan-tich-keo-bong-da__cta-bottom-title {
    font-size: 2em;
  }

  .page-blog-phan-tich-keo-bong-da__cta-bottom-description {
    font-size: 1.1em;
  }

  .page-blog-phan-tich-keo-bong-da__related-title {
    font-size: 1.8em;
  }

  .page-blog-phan-tich-keo-bong-da__article-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* 1. Top Section Title + CTA */
  .page-blog-phan-tich-keo-bong-da__hero-section {
    padding-top: 10px !important; /* Specific top padding */
    padding-bottom: 30px;
  }

  .page-blog-phan-tich-keo-bong-da__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-blog-phan-tich-keo-bong-da__description {
    font-size: 0.95em;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .page-blog-phan-tich-keo-bong-da__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-blog-phan-tich-keo-bong-da__btn {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. Single Column Long Text Container */
  .page-blog-phan-tich-keo-bong-da__article-wrap {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-phan-tich-keo-bong-da__article-content h2 {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog-phan-tich-keo-bong-da__article-content h3 {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-phan-tich-keo-bong-da__article-content p,
  .page-blog-phan-tich-keo-bong-da__list-item {
    font-size: 15px;
  }

  .page-blog-phan-tich-keo-bong-da__promo-box {
    padding: 20px;
    margin-top: 30px;
  }

  .page-blog-phan-tich-keo-bong-da__promo-title {
    font-size: 1.5em;
  }

  .page-blog-phan-tich-keo-bong-da__promo-text {
    font-size: 1em;
  }

  /* 3. Generic Images and Figure */
  .page-blog-phan-tich-keo-bong-da img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-phan-tich-keo-bong-da__figure {
    margin: 20px 0;
  }

  .page-blog-phan-tich-keo-bong-da__figcaption {
    font-size: 0.85em;
  }

  /* Containers with images */
  .page-blog-phan-tich-keo-bong-da__article-section,
  .page-blog-phan-tich-keo-bong-da__related-articles {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-phan-tich-keo-bong-da__container {
    padding: 0 15px;
  }

  /* 4. Buttons and Button Containers (already covered in top section, reinforcing here) */
  .page-blog-phan-tich-keo-bong-da__cta-bottom-section .page-blog-phan-tich-keo-bong-da__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-blog-phan-tich-keo-bong-da__cta-bottom-section .page-blog-phan-tich-keo-bong-da__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 5. Article Cards (Related Articles) */
  .page-blog-phan-tich-keo-bong-da__related-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .page-blog-phan-tich-keo-bong-da__article-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-blog-phan-tich-keo-bong-da__card-image {
    height: 180px;
  }

  .page-blog-phan-tich-keo-bong-da__card-title {
    font-size: 1.2em;
  }

  .page-blog-phan-tich-keo-bong-da__card-text {
    font-size: 0.9em;
  }

  /* CTA Bottom Section */
  .page-blog-phan-tich-keo-bong-da__cta-bottom-section {
    padding: 40px 0;
  }

  .page-blog-phan-tich-keo-bong-da__cta-bottom-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-blog-phan-tich-keo-bong-da__cta-bottom-description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-blog-phan-tich-keo-bong-da__footer {
    padding: 15px 0;
    font-size: 0.85em;
  }
}