/* Base styles for the blog-latest-trends page */
.page-blog-latest-trends {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-blog-latest-trends__section {
  padding: 60px 0;
}

.page-blog-latest-trends__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-latest-trends__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-latest-trends__text-block a {
  color: #FFA53A;
  text-decoration: none;
}

.page-blog-latest-trends__text-block a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-blog-latest-trends__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
  overflow: hidden;
}

.page-blog-latest-trends__hero-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-blog-latest-trends__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop */
  display: block;
}

.page-blog-latest-trends__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-blog-latest-trends__main-title {
  font-size: 48px;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-latest-trends__subtitle {
  font-size: 20px;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-blog-latest-trends__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-blog-latest-trends__btn-primary,
.page-blog-latest-trends__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: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-latest-trends__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-blog-latest-trends__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #A84F0C 100%);
  transform: translateY(-2px);
}

.page-blog-latest-trends__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-blog-latest-trends__btn-secondary:hover {
  background: rgba(255, 165, 58, 0.1);
  color: #FFB04D;
  border-color: #FFB04D;
  transform: translateY(-2px);
}

/* General Image Styling */
.page-blog-latest-trends__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* List Styles */
.page-blog-latest-trends__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-blog-latest-trends__list-item {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-latest-trends__list-title {
  font-size: 22px;
  color: #FFB04D; /* Glow */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-latest-trends__list-item p {
  color: #FFF3E6;
  font-size: 16px;
}

/* Features Grid */
.page-blog-latest-trends__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-latest-trends__feature-card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.page-blog-latest-trends__feature-card:hover {
  transform: translateY(-5px);
}

.page-blog-latest-trends__feature-card .page-blog-latest-trends__card-title {
  font-size: 24px;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-blog-latest-trends__feature-card p {
  color: #FFF3E6;
  font-size: 16px;
}

/* Products Grid (Game Showcase) */
.page-blog-latest-trends__products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
  gap: 30px;
  margin-top: 40px;
}

.page-blog-latest-trends__product-card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  text-align: center;
}

.page-blog-latest-trends__product-card:hover {
  transform: translateY(-5px);
}

.page-blog-latest-trends__product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog-latest-trends__product-card .page-blog-latest-trends__card-title {
  font-size: 20px;
  color: #FFB04D; /* Glow */
  margin: 15px 0 10px;
  padding: 0 15px;
}

.page-blog-latest-trends__product-card .page-blog-latest-trends__card-title a {
  color: #FFB04D;
  text-decoration: none;
}

.page-blog-latest-trends__product-card .page-blog-latest-trends__card-title a:hover {
  text-decoration: underline;
}

.page-blog-latest-trends__product-card p {
  color: #FFF3E6;
  font-size: 15px;
  padding: 0 15px 20px;
}

/* FAQ Section */
details.page-blog-latest-trends__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
}
details.page-blog-latest-trends__faq-item summary.page-blog-latest-trends__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog-latest-trends__faq-item summary.page-blog-latest-trends__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-latest-trends__faq-item summary.page-blog-latest-trends__faq-question:hover {
  background: rgba(255, 165, 58, 0.1);
}
.page-blog-latest-trends__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-blog-latest-trends__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-latest-trends__faq-item .page-blog-latest-trends__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 165, 58, 0.05); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

/* Responsive Design */

/* Tablet and smaller desktops (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-blog-latest-trends__main-title {
    font-size: 40px;
  }

  .page-blog-latest-trends__subtitle {
    font-size: 18px;
  }

  .page-blog-latest-trends__section-title {
    font-size: 32px;
  }

  .page-blog-latest-trends__features-grid,
  .page-blog-latest-trends__products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
  .page-blog-latest-trends__section {
    padding: 40px 0;
  }

  .page-blog-latest-trends__container {
    padding: 0 15px; /* Add padding to prevent content overflow */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section Mobile */
  .page-blog-latest-trends__hero-section {
    min-height: 400px;
    padding-top: 10px; /* Small top padding, body handles header offset */
  }
  .page-blog-latest-trends__hero-image-wrap {
    overflow: hidden;
  }
  .page-blog-latest-trends__hero-image {
    object-fit: contain !important; /* Contain for mobile to prevent cropping */
    aspect-ratio: unset !important; /* Remove aspect ratio if set */
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-latest-trends__hero-content {
    padding: 20px;
  }

  .page-blog-latest-trends__main-title {
    font-size: clamp(28px, 8vw, 36px); /* Responsive font size for H1 */
    margin-bottom: 15px;
  }

  .page-blog-latest-trends__subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-blog-latest-trends__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Ensure button container has padding */
  }

  .page-blog-latest-trends__btn-primary,
  .page-blog-latest-trends__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-latest-trends__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-blog-latest-trends__text-block {
    font-size: 16px;
  }

  /* General Image Styling for Mobile */
  .page-blog-latest-trends img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-blog-latest-trends__image-content {
    margin: 30px auto;
  }

  /* Features Grid Mobile */
  .page-blog-latest-trends__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Products Grid Mobile (2 columns) */
  .page-blog-latest-trends__products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-blog-latest-trends__product-card {
    padding-bottom: 15px; /* Adjust padding for mobile cards */
  }

  .page-blog-latest-trends__product-image {
    height: 150px;
  }

  .page-blog-latest-trends__product-card .page-blog-latest-trends__card-title {
    font-size: 18px;
  }

  .page-blog-latest-trends__product-card p {
    font-size: 14px;
  }

  /* FAQ Section Mobile */
  details.page-blog-latest-trends__faq-item summary.page-blog-latest-trends__faq-question {
    padding: 15px;
  }
  .page-blog-latest-trends__faq-qtext {
    font-size: 16px;
  }
  .page-blog-latest-trends__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-blog-latest-trends__faq-item .page-blog-latest-trends__faq-answer {
    padding: 0 15px 15px;
  }

  /* Long article body / text block for mobile */
  .page-blog-latest-trends__trends-overview .page-blog-latest-trends__text-block,
  .page-blog-latest-trends__cwin01-advantages .page-blog-latest-trends__text-block,
  .page-blog-latest-trends__game-showcase .page-blog-latest-trends__text-block,
  .page-blog-latest-trends__security-responsibility .page-blog-latest-trends__text-block,
  .page-blog-latest-trends__join-us .page-blog-latest-trends__text-block,
  .page-blog-latest-trends__community-section .page-blog-latest-trends__text-block {
    padding: 0 5px; /* Slightly reduce inner padding for text blocks */
    text-align: left; /* Align text to left for better readability on mobile */
  }
}