/* style/blog-latest-game-recommendations.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #EA7C07; /* Màu cam cho nút đăng nhập/CTA phụ */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-white: #ffffff;
  --border-color: #e0e0e0;
}

.page-blog-latest-game-recommendations {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Body background is default white, so text should be dark */
  line-height: 1.6;
  font-size: 16px;
}

.page-blog-latest-game-recommendations__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-latest-game-recommendations__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 padding-top */
  color: var(--text-light);
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, #26A9E0 0%, #1a7fb8 100%);
  overflow: hidden;
}

.page-blog-latest-game-recommendations__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-blog-latest-game-recommendations__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-blog-latest-game-recommendations__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-blog-latest-game-recommendations__hero-content {
  text-align: center;
  width: 100%;
  max-width: 800px;
  color: var(--text-light);
}

.page-blog-latest-game-recommendations__hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-blog-latest-game-recommendations__hero-content p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-blog-latest-game-recommendations__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-blog-latest-game-recommendations__cta-button:hover {
  background: #d46c06;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-blog-latest-game-recommendations__introduction-section,
.page-blog-latest-game-recommendations__why-us-section,
.page-blog-latest-game-recommendations__guide-section,
.page-blog-latest-game-recommendations__faq-section {
  padding: 60px 0;
  background: var(--background-white);
  color: var(--text-dark);
}

.page-blog-latest-game-recommendations__game-categories-section,
.page-blog-latest-game-recommendations__cta-section {
  padding: 60px 0;
  background: var(--primary-color);
  color: var(--text-light);
}

.page-blog-latest-game-recommendations h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-blog-latest-game-recommendations__introduction-section h2,
.page-blog-latest-game-recommendations__why-us-section h2,
.page-blog-latest-game-recommendations__guide-section h2,
.page-blog-latest-game-recommendations__faq-section h2 {
  color: var(--primary-color);
}

.page-blog-latest-game-recommendations__game-categories-section h2,
.page-blog-latest-game-recommendations__cta-section h2 {
  color: var(--text-light);
}

/* Game Categories Section */
.page-blog-latest-game-recommendations__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-latest-game-recommendations__category-card {
  background: var(--background-white);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-blog-latest-game-recommendations__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.page-blog-latest-game-recommendations__category-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-blog-latest-game-recommendations__category-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-blog-latest-game-recommendations__category-card p {
  font-size: 1rem;
  margin-bottom: 25px;
}

.page-blog-latest-game-recommendations__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--background-white);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.page-blog-latest-game-recommendations__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--text-light);
}

/* Why Us Section */
.page-blog-latest-game-recommendations__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog-latest-game-recommendations__benefits-list li {
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-blog-latest-game-recommendations__benefits-list li:hover {
  transform: translateY(-5px);
}

.page-blog-latest-game-recommendations__benefits-list h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-blog-latest-game-recommendations__benefits-list p {
  font-size: 1rem;
}

.page-blog-latest-game-recommendations__benefits-list a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-blog-latest-game-recommendations__benefits-list a:hover {
  text-decoration: underline;
}

/* Guide Section */
.page-blog-latest-game-recommendations__guide-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-blog-latest-game-recommendations__guide-list li {
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 60px;
}

.page-blog-latest-game-recommendations__guide-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  background: var(--primary-color);
  color: var(--text-light);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.page-blog-latest-game-recommendations__guide-list h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-blog-latest-game-recommendations__guide-list a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-blog-latest-game-recommendations__guide-list a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-blog-latest-game-recommendations__faq-list {
  margin-top: 40px;
}

details.page-blog-latest-game-recommendations__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--background-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

details.page-blog-latest-game-recommendations__faq-item summary.page-blog-latest-game-recommendations__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;
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 600;
}

details.page-blog-latest-game-recommendations__faq-item summary.page-blog-latest-game-recommendations__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-latest-game-recommendations__faq-item summary.page-blog-latest-game-recommendations__faq-question:hover {
  background: var(--background-light);
}

.page-blog-latest-game-recommendations__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-blog-latest-game-recommendations__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.2s ease;
}

details.page-blog-latest-game-recommendations__faq-item[open] .page-blog-latest-game-recommendations__faq-toggle {
  transform: rotate(45deg);
}

details.page-blog-latest-game-recommendations__faq-item .page-blog-latest-game-recommendations__faq-answer {
  padding: 0 25px 20px;
  background: var(--background-light);
  border-radius: 0 0 8px 8px;
  color: var(--text-dark);
}

.page-blog-latest-game-recommendations__faq-answer p {
  margin-bottom: 0;
  font-size: 1rem;
}

.page-blog-latest-game-recommendations__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-blog-latest-game-recommendations__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-blog-latest-game-recommendations__cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 20px;
  border-radius: 12px;
  background: var(--primary-color);
  background-image: linear-gradient(135deg, #26A9E0 0%, #1a7fb8 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-blog-latest-game-recommendations__cta-content {
  flex: 1;
  text-align: left;
  color: var(--text-light);
}

.page-blog-latest-game-recommendations__cta-content h2 {
  text-align: left;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-blog-latest-game-recommendations__cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-blog-latest-game-recommendations__cta-image {
  flex-shrink: 0;
  max-width: 40%;
  border-radius: 8px;
  overflow: hidden;
}

.page-blog-latest-game-recommendations__cta-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-latest-game-recommendations__hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-blog-latest-game-recommendations__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog-latest-game-recommendations {
    font-size: 15px;
  }
  .page-blog-latest-game-recommendations__container {
    padding: 0 15px;
  }
  .page-blog-latest-game-recommendations__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-latest-game-recommendations__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-blog-latest-game-recommendations__hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-blog-latest-game-recommendations__hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-blog-latest-game-recommendations__cta-button {
    padding: 12px 30px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-latest-game-recommendations__introduction-section,
  .page-blog-latest-game-recommendations__game-categories-section,
  .page-blog-latest-game-recommendations__why-us-section,
  .page-blog-latest-game-recommendations__guide-section,
  .page-blog-latest-game-recommendations__faq-section,
  .page-blog-latest-game-recommendations__cta-section {
    padding: 40px 0;
  }
  .page-blog-latest-game-recommendations h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 30px;
  }
  .page-blog-latest-game-recommendations__category-card {
    padding: 25px;
  }
  .page-blog-latest-game-recommendations__category-card h3 {
    font-size: 1.2rem;
  }
  .page-blog-latest-game-recommendations__benefits-list,
  .page-blog-latest-game-recommendations__guide-list {
    gap: 20px;
  }
  .page-blog-latest-game-recommendations__benefits-list li,
  .page-blog-latest-game-recommendations__guide-list li {
    padding: 25px;
    padding-left: 55px;
  }
  .page-blog-latest-game-recommendations__guide-list li::before {
    left: 15px;
    top: 25px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  details.page-blog-latest-game-recommendations__faq-item summary.page-blog-latest-game-recommendations__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-blog-latest-game-recommendations__faq-qtext {
    font-size: 1rem;
  }
  .page-blog-latest-game-recommendations__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-blog-latest-game-recommendations__faq-item .page-blog-latest-game-recommendations__faq-answer {
    padding: 0 20px 15px;
  }
  .page-blog-latest-game-recommendations__cta-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }
  .page-blog-latest-game-recommendations__cta-content {
    text-align: center;
  }
  .page-blog-latest-game-recommendations__cta-content h2 {
    text-align: center;
    font-size: clamp(1.6rem, 5vw, 2rem);
  }
  .page-blog-latest-game-recommendations__cta-image {
    max-width: 80%;
    margin-top: 30px;
  }

  /* Mobile image and button responsiveness */
  .page-blog-latest-game-recommendations img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-latest-game-recommendations__section,
  .page-blog-latest-game-recommendations__card,
  .page-blog-latest-game-recommendations__container,
  .page-blog-latest-game-recommendations__cta-buttons,
  .page-blog-latest-game-recommendations__button-group,
  .page-blog-latest-game-recommendations__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-latest-game-recommendations__cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure buttons stack vertically */
    gap: 10px;
  }
  .page-blog-latest-game-recommendations__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}