/* style/blog-2026-card-game-beginner-guide.css */

.page-blog-2026-card-game-beginner-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

/* Base styles for sections and containers */
.page-blog-2026-card-game-beginner-guide__section {
  padding: 60px 0;
  box-sizing: border-box;
}

.page-blog-2026-card-game-beginner-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Color contrast classes */
.page-blog-2026-card-game-beginner-guide__dark-bg {
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

.page-blog-2026-card-game-beginner-guide__light-bg {
  background-color: #ffffff; /* Default light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-blog-2026-card-game-beginner-guide__text-contrast-fix {
  color: #333333; /* Ensure dark text on light background */
}


/* Hero Section */
.page-blog-2026-card-game-beginner-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden; /* For image */
  background-color: #0D0E12;
}

.page-blog-2026-card-game-beginner-guide__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for 16:9 at 1200px width */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-2026-card-game-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-2026-card-game-beginner-guide__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-blog-2026-card-game-beginner-guide__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF3E6;
  max-width: 100%;
  box-sizing: border-box;
  font-size: clamp(2rem, 5vw, 3.5rem); /* Use clamp for H1 font size */
}

.page-blog-2026-card-game-beginner-guide__hero-description {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 30px;
  color: #FFF3E6;
}

/* CTA Buttons */
.page-blog-2026-card-game-beginner-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  margin-top: 30px;
}

.page-blog-2026-card-game-beginner-guide__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

.page-blog-2026-card-game-beginner-guide__cta-buttons--large a {
  min-width: 220px;
}

.page-blog-2026-card-game-beginner-guide__btn-primary,
.page-blog-2026-card-game-beginner-guide__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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%; /* For responsive buttons */
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-2026-card-game-beginner-guide__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-2026-card-game-beginner-guide__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-blog-2026-card-game-beginner-guide__btn-secondary {
  background-color: transparent;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A; /* Auxiliary color */
}

.page-blog-2026-card-game-beginner-guide__btn-secondary:hover {
  background-color: rgba(255, 165, 58, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.2);
}

/* Section Titles */
.page-blog-2026-card-game-beginner-guide__section-title {
  font-size: 2.5rem; /* 40px */
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit from section for contrast */
}

.page-blog-2026-card-game-beginner-guide__sub-title {
  font-size: 1.8rem; /* 28.8px */
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit;
}

.page-blog-2026-card-game-beginner-guide__text-block {
  font-size: 1rem; /* 16px */
  margin-bottom: 20px;
  color: inherit;
}

/* Image styles */
.page-blog-2026-card-game-beginner-guide__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-blog-2026-card-game-beginner-guide__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensures max-width works correctly */
  margin: 0 auto;
}

/* Image Grid */
.page-blog-2026-card-game-beginner-guide__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.page-blog-2026-card-game-beginner-guide__grid-item {
  background-color: #17191F; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  color: #FFF3E6;
}

.page-blog-2026-card-game-beginner-guide__grid-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-blog-2026-card-game-beginner-guide__grid-title {
  font-size: 1.25rem; /* 20px */
  font-weight: bold;
  margin-top: 10px;
  padding: 0 15px;
  color: #FFA53A;
}

/* Lists */
.page-blog-2026-card-game-beginner-guide__list,
.page-blog-2026-card-game-beginner-guide__ordered-list {
  list-style-type: disc;
  margin: 20px 0 20px 25px;
  padding: 0;
  color: inherit;
}

.page-blog-2026-card-game-beginner-guide__ordered-list {
  list-style-type: decimal;
}

.page-blog-2026-card-game-beginner-guide__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Video Section */
.page-blog-2026-card-game-beginner-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%; /* Ensure width 100% for desktop */
  background: #000;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-2026-card-game-beginner-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensures max-width works */
}

.page-blog-2026-card-game-beginner-guide__video-caption {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #FFF3E6;
}

/* FAQ Section */
.page-blog-2026-card-game-beginner-guide__faq-list {
  margin-top: 30px;
}

.page-blog-2026-card-game-beginner-guide__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-blog-2026-card-game-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.125rem; /* 18px */
  font-weight: bold;
  cursor: pointer;
  background-color: #FF8C1A; /* Primary color for summary */
  color: #ffffff;
  border-bottom: 1px solid #A84F0C;
  list-style: none; /* For details/summary */
}

.page-blog-2026-card-game-beginner-guide__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-blog-2026-card-game-beginner-guide__faq-item[open] .page-blog-2026-card-game-beginner-guide__faq-question {
  background-color: #D96800; /* Deep Orange when open */
}


.page-blog-2026-card-game-beginner-guide__faq-qtext {
  flex-grow: 1;
}

.page-blog-2026-card-game-beginner-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-2026-card-game-beginner-guide__faq-item[open] .page-blog-2026-card-game-beginner-guide__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-blog-2026-card-game-beginner-guide__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #FFF3E6;
  background-color: #17191F; /* Card BG */
}

.page-blog-2026-card-game-beginner-guide__faq-answer p {
  margin-bottom: 10px;
  color: #FFF3E6;
}
.page-blog-2026-card-game-beginner-guide__faq-answer a {
  color: #FFA53A;
  text-decoration: underline;
}
.page-blog-2026-card-game-beginner-guide__faq-answer a:hover {
  color: #FFB04D;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-2026-card-game-beginner-guide__main-title {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }
  .page-blog-2026-card-game-beginner-guide__section-title {
    font-size: 2rem;
  }
  .page-blog-2026-card-game-beginner-guide__sub-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-blog-2026-card-game-beginner-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-2026-card-game-beginner-guide__section {
    padding: 40px 0;
  }
  .page-blog-2026-card-game-beginner-guide__container {
    padding: 0 15px; /* Add padding for mobile content */
  }
  .page-blog-2026-card-game-beginner-guide__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px;
  }
  .page-blog-2026-card-game-beginner-guide__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-blog-2026-card-game-beginner-guide__main-title {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-blog-2026-card-game-beginner-guide__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-blog-2026-card-game-beginner-guide__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Ensure buttons don't touch edges */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-2026-card-game-beginner-guide__cta-buttons a {
    width: 100% !important; /* Full width for stacked buttons */
    max-width: 100% !important;
  }
  .page-blog-2026-card-game-beginner-guide__btn-primary,
  .page-blog-2026-card-game-beginner-guide__btn-secondary,
  .page-blog-2026-card-game-beginner-guide a[class*="button"],
  .page-blog-2026-card-game-beginner-guide 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;
  }

  /* Images responsive */
  .page-blog-2026-card-game-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-2026-card-game-beginner-guide__section,
  .page-blog-2026-card-game-beginner-guide__card,
  .page-blog-2026-card-game-beginner-guide__container,
  .page-blog-2026-card-game-beginner-guide__image-wrapper,
  .page-blog-2026-card-game-beginner-guide__image-grid,
  .page-blog-2026-card-game-beginner-guide__grid-item,
  .page-blog-2026-card-game-beginner-guide__video-wrapper,
  .page-blog-2026-card-game-beginner-guide__faq-list,
  .page-blog-2026-card-game-beginner-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevents horizontal scroll */
  }
  .page-blog-2026-card-game-beginner-guide__content-area {
    padding: 20px 15px;
  }
  .page-blog-2026-card-game-beginner-guide__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  .page-blog-2026-card-game-beginner-guide__sub-title {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  .page-blog-2026-card-game-beginner-guide__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-blog-2026-card-game-beginner-guide__faq-answer {
    padding: 15px 20px;
  }
  .page-blog-2026-card-game-beginner-guide__grid-image {
    height: 150px; /* Adjust height for mobile */
  }
}