/* style/resources-latest-slot-app-tech-trends-2024.css */

/* Định nghĩa biến màu */
:root {
  --primary-color: #FF4500; /* OrangeRed */
  --secondary-color: #FFD700; /* Gold */
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --background-grey: #f9f9f9;
  --border-color: #e0e0e0;
}

/* Đảm bảo nội dung không bị che bởi header cố định */
.page-resources-latest-slot-app-tech-trends-2024__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text-color);
}

.page-resources-latest-slot-app-tech-trends-2024__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-latest-slot-app-tech-trends-2024__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--light-text-color);
}

.page-resources-latest-slot-app-tech-trends-2024__subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.5;
  color: var(--light-text-color);
}

.page-resources-latest-slot-app-tech-trends-2024__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--light-text-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-slot-app-tech-trends-2024__cta-button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-slot-app-tech-trends-2024__cta-button--small {
  padding: 12px 30px;
  font-size: 16px;
}

/* Content Section */
.page-resources-latest-slot-app-tech-trends-2024__content-section {
  padding: 60px 20px;
  background: var(--background-grey);
  color: var(--dark-text-color);
}

.page-resources-latest-slot-app-tech-trends-2024__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-latest-slot-app-tech-trends-2024__article-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
}

.page-resources-latest-slot-app-tech-trends-2024__article-content p {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--dark-text-color);
}

.page-resources-latest-slot-app-tech-trends-2024__article-content strong {
  color: var(--primary-color);
}

.page-resources-latest-slot-app-tech-trends-2024__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
}

.page-resources-latest-slot-app-tech-trends-2024__article-content h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--dark-text-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-latest-slot-app-tech-trends-2024__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-resources-latest-slot-app-tech-trends-2024__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
}

.page-resources-latest-slot-app-tech-trends-2024__list,
.page-resources-latest-slot-app-tech-trends-2024__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--dark-text-color);
}

.page-resources-latest-slot-app-tech-trends-2024__ordered-list {
  list-style-type: decimal;
}

.page-resources-latest-slot-app-tech-trends-2024__list li,
.page-resources-latest-slot-app-tech-trends-2024__ordered-list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.page-resources-latest-slot-app-tech-trends-2024__call-to-action {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: #fdf5e6; /* Light peach background for CTA */
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-latest-slot-app-tech-trends-2024__call-to-action p {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--dark-text-color);
}

.page-resources-latest-slot-app-tech-trends-2024__call-to-action a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-resources-latest-slot-app-tech-trends-2024__call-to-action a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-resources-latest-slot-app-tech-trends-2024__faq-section {
  padding: 60px 20px;
  background: var(--background-grey);
  color: var(--dark-text-color);
}

.page-resources-latest-slot-app-tech-trends-2024__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-latest-slot-app-tech-trends-2024__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-latest-slot-app-tech-trends-2024__faq-item.active .page-resources-latest-slot-app-tech-trends-2024__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-resources-latest-slot-app-tech-trends-2024__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-latest-slot-app-tech-trends-2024__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-latest-slot-app-tech-trends-2024__faq-question:active {
  background: #eeeeee;
}

.page-resources-latest-slot-app-tech-trends-2024__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--dark-text-color);
}

.page-resources-latest-slot-app-tech-trends-2024__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-latest-slot-app-tech-trends-2024__faq-item.active .page-resources-latest-slot-app-tech-trends-2024__faq-toggle {
  color: var(--dark-text-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-latest-slot-app-tech-trends-2024__main-title {
    font-size: 40px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__subtitle {
    font-size: 18px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__section-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-slot-app-tech-trends-2024__hero-banner {
    padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__main-title {
    font-size: 32px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__subtitle {
    font-size: 16px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__content-section,
  .page-resources-latest-slot-app-tech-trends-2024__faq-section {
    padding: 30px 15px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__article-content {
    padding: 25px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__section-title {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__article-content h3 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__article-content p,
  .page-resources-latest-slot-app-tech-trends-2024__list li,
  .page-resources-latest-slot-app-tech-trends-2024__ordered-list li {
    font-size: 15px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__call-to-action {
    padding: 20px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__call-to-action p {
    font-size: 16px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-latest-slot-app-tech-trends-2024__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-latest-slot-app-tech-trends-2024__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-latest-slot-app-tech-trends-2024__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-latest-slot-app-tech-trends-2024__faq-item.active .page-resources-latest-slot-app-tech-trends-2024__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-resources-latest-slot-app-tech-trends-2024 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-latest-slot-app-tech-trends-2024__container,
  .page-resources-latest-slot-app-tech-trends-2024__article-content,
  .page-resources-latest-slot-app-tech-trends-2024__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-latest-slot-app-tech-trends-2024__hero-banner .page-resources-latest-slot-app-tech-trends-2024__hero-container {
    padding-left: 0;
    padding-right: 0;
  }
}