/* style/news-game-guides.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-color: #C30808;
  --login-color: #C30808;
  --register-login-font-color: #FFFF00;
  --background-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #FFFFFF;
}

.page-news-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-color);
}

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

/* Fixed Header Offset */
.page-news-game-guides__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-news-game-guides__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
}

.page-news-game-guides__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-news-game-guides__hero-section .page-news-game-guides__container {
  position: relative;
  z-index: 2;
}

.page-news-game-guides__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-news-game-guides__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-news-game-guides__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-news-game-guides__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.page-news-game-guides__dark-bg .page-news-game-guides__section-title {
  color: var(--text-light);
}

.page-news-game-guides__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-news-game-guides__dark-bg .page-news-game-guides__section-text {
  color: var(--text-light);
}

.page-news-game-guides__section-text--small {
  font-size: 0.9em;
  margin-top: 20px;
}

.page-news-game-guides__intro-section,
.page-news-game-guides__detailed-strategies,
.page-news-game-guides__download-guide,
.page-news-game-guides__faq-section {
  padding: 80px 0;
}

.page-news-game-guides__game-types,
.page-news-game-guides__general-tips,
.page-news-game-guides__video-section,
.page-news-game-guides__final-cta {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-news-game-guides__light-bg {
  background-color: var(--background-color);
  color: var(--text-dark);
}

.page-news-game-guides__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-news-game-guides__btn-primary,
.page-news-game-guides__btn-secondary,
.page-news-game-guides__btn-text {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-news-game-guides__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-news-game-guides__btn-primary:hover {
  background-color: #005a2b;
  border-color: #005a2b;
}

.page-news-game-guides__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-news-game-guides__hero-cta .page-news-game-guides__btn-secondary {
  color: var(--text-light);
  border-color: var(--text-light);
}

.page-news-game-guides__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-news-game-guides__hero-cta .page-news-game-guides__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.page-news-game-guides__btn-text {
  background: none;
  border: none;
  color: var(--primary-color);
  padding: 0;
  margin-top: 15px;
  display: block;
  font-size: 1em;
}

.page-news-game-guides__btn-text:hover {
  text-decoration: underline;
}

.page-news-game-guides__btn-register {
  background-color: var(--register-color);
  color: var(--register-login-font-color);
  border-color: var(--register-color);
}

.page-news-game-guides__btn-register:hover {
  background-color: #a30707;
  border-color: #a30707;
}

.page-news-game-guides__btn-login {
  background-color: var(--login-color);
  color: var(--register-login-font-color);
  border-color: var(--login-color);
}

.page-news-game-guides__btn-login:hover {
  background-color: #a30707;
  border-color: #a30707;
}

.page-news-game-guides__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 8px;
}

.page-news-game-guides__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-news-game-guides__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-news-game-guides__card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-news-game-guides__dark-bg .page-news-game-guides__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.page-news-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-news-game-guides__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-news-game-guides__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-news-game-guides__card-title a:hover {
  text-decoration: underline;
}

.page-news-game-guides__card-text {
  font-size: 0.95em;
  line-height: 1.5;
  flex-grow: 1;
}

.page-news-game-guides__strategy-item {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-news-game-guides__strategy-subtitle {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
}

.page-news-game-guides__strategy-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-news-game-guides__strategy-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="%23017439" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.5;
}

.page-news-game-guides__tip-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  color: var(--text-light);
  text-align: center;
}

.page-news-game-guides__tip-title {
  font-size: 1.5em;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-news-game-guides__tip-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-news-game-guides__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-news-game-guides__download-step {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-news-game-guides__download-image {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-news-game-guides__download-subtitle {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-news-game-guides__download-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-news-game-guides__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 12px;
}

.page-news-game-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

.page-news-game-guides__faq-list {
  margin-top: 40px;
}

.page-news-game-guides__faq-item {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-news-game-guides__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: var(--primary-color);
}

.page-news-game-guides__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-news-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--primary-color);
}

.page-news-game-guides__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
  border-top: 1px solid #eee;
}

.page-news-game-guides__final-cta .page-news-game-guides__btn-primary,
.page-news-game-guides__final-cta .page-news-game-guides__btn-secondary {
  min-width: 250px;
}

.page-news-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news-game-guides__copyright-info {
  padding: 30px 0;
  text-align: center;
  font-size: 0.9em;
  color: var(--text-dark);
  border-top: 1px solid #eee;
  background-color: var(--background-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-game-guides__hero-title {
    font-size: 2.8em;
  }

  .page-news-game-guides__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-news-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-news-game-guides__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }

  .page-news-game-guides__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-news-game-guides__hero-description {
    font-size: 1.1em;
    margin-bottom: 25px;
  }

  .page-news-game-guides__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-news-game-guides__btn-primary,
  .page-news-game-guides__btn-secondary,
  .page-news-game-guides__cta-button,
  .page-news-game-guides a[class*="button"],
  .page-news-game-guides a[class*="btn"] {
    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;
  }

  .page-news-game-guides__cta-buttons,
  .page-news-game-guides__button-group,
  .page-news-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-news-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-news-game-guides__section-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-news-game-guides__intro-section,
  .page-news-game-guides__game-types,
  .page-news-game-guides__detailed-strategies,
  .page-news-game-guides__general-tips,
  .page-news-game-guides__download-guide,
  .page-news-game-guides__video-section,
  .page-news-game-guides__faq-section,
  .page-news-game-guides__final-cta {
    padding: 50px 0;
  }

  .page-news-game-guides__container {
    padding: 0 15px;
  }

  .page-news-game-guides__grid-3-cols,
  .page-news-game-guides__grid-2-cols {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-news-game-guides__card-image {
    height: 180px;
  }

  .page-news-game-guides__strategy-item {
    padding: 30px;
  }

  .page-news-game-guides__strategy-subtitle {
    font-size: 1.5em;
  }

  .page-news-game-guides__strategy-list li {
    font-size: 1em;
    margin-bottom: 10px;
    padding-left: 25px;
  }

  .page-news-game-guides__tip-card {
    padding: 25px;
  }

  .page-news-game-guides__tip-title {
    font-size: 1.3em;
  }

  .page-news-game-guides__download-image {
    width: 200px;
    height: 200px;
  }

  .page-news-game-guides__video-wrapper {
    margin: 30px auto;
  }

  .page-news-game-guides__faq-item summary {
    padding: 18px 20px;
    font-size: 1.05em;
  }

  .page-news-game-guides__faq-answer {
    padding: 12px 20px 15px 20px;
  }

  .page-news-game-guides__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  /* Mobile image and video responsiveness */
  .page-news-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news-game-guides video,
  .page-news-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news-game-guides__section,
  .page-news-game-guides__card,
  .page-news-game-guides__container,
  .page-news-game-guides__video-section,
  .page-news-game-guides__video-container,
  .page-news-game-guides__video-wrapper,
  .page-news-game-guides__cta-buttons,
  .page-news-game-guides__button-group,
  .page-news-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}

@media (max-width: 480px) {
  .page-news-game-guides__hero-title {
    font-size: 1.8em;
  }

  .page-news-game-guides__hero-description {
    font-size: 1em;
  }

  .page-news-game-guides__section-title {
    font-size: 1.5em;
  }

  .page-news-game-guides__faq-item summary {
    font-size: 1em;
    padding: 15px 18px;
  }

  .page-news-game-guides__faq-answer {
    padding: 10px 18px 12px 18px;
  }
}