:root {
  --primary-color: #FF4500; /* Cam đỏ sôi động */
  --secondary-color: #00BFFF; /* Xanh da trời công nghệ */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #2c3e50;
  --button-hover-bg: #e63900;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
}

.page-index-latest-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.page-index-latest-promotions .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-index-latest-promotions .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
}

.page-index-latest-promotions .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-latest-promotions .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-latest-promotions .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-latest-promotions .hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-index-latest-promotions .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-index-latest-promotions .cta-button:hover {
  background: var(--button-hover-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-index-latest-promotions section {
  padding: 80px 0;
  text-align: center;
}

.page-index-latest-promotions section:nth-of-type(even) {
  background-color: var(--bg-light);
}

.page-index-latest-promotions section:nth-of-type(odd) {
  background-color: var(--card-bg);
}

.page-index-latest-promotions h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-index-latest-promotions h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-index-latest-promotions p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-dark);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-promotions .button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-latest-promotions .button:hover {
  background: #008cc0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Overview Section */
.page-index-latest-promotions .overview-section {
  background-color: var(--card-bg);
  padding: 60px 0;
}

/* Quick Links Section */
.page-index-latest-promotions .quick-links-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0;
}

.page-index-latest-promotions .quick-links-section h2 {
  color: var(--text-light);
}

.page-index-latest-promotions .link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index-latest-promotions .quick-link-button {
  display: block;
  padding: 20px 15px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions .quick-link-button:hover {
  background-color: var(--button-hover-bg);
  transform: translateY(-3px);
}

/* Detailed Promotions Section */
.page-index-latest-promotions .detailed-promotions-section {
  background-color: var(--bg-light);
}

.page-index-latest-promotions .promotion-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-index-latest-promotions .promotion-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-latest-promotions .promotion-card h3 {
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index-latest-promotions .promotion-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-latest-promotions .promotion-card h3 a:hover {
  color: var(--secondary-color);
}

.page-index-latest-promotions .promotion-card p {
  font-size: 1.05em;
  color: var(--text-dark);
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-index-latest-promotions .promotion-card .button {
  align-self: flex-start;
  background-color: var(--primary-color);
}

.page-index-latest-promotions .promotion-card .button:hover {
  background-color: var(--button-hover-bg);
}

/* Offer Types Section */
.page-index-latest-promotions .offer-types-section ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-index-latest-promotions .offer-types-section li {
  background-color: var(--card-bg);
  border-left: 5px solid var(--secondary-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

.page-index-latest-promotions .offer-types-section li:hover {
  transform: translateY(-5px);
}

.page-index-latest-promotions .offer-types-section li strong {
  color: var(--primary-color);
}

/* Safety & Support Section */
.page-index-latest-promotions .safety-support-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-index-latest-promotions .safety-support-section h2,
.page-index-latest-promotions .safety-support-section h3 {
  color: var(--text-light);
}

.page-index-latest-promotions .safety-support-section p {
  color: #cccccc;
}

.page-index-latest-promotions .safety-support-section .button {
  background-color: var(--primary-color);
}

.page-index-latest-promotions .safety-support-section .button:hover {
  background-color: var(--button-hover-bg);
}

/* FAQ Section */
.page-index-latest-promotions .faq-section {
  background-color: var(--bg-light);
}

.page-index-latest-promotions .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-index-latest-promotions .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-index-latest-promotions .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--secondary-color);
}

.page-index-latest-promotions .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--text-dark);
  text-align: left;
}

.page-index-latest-promotions .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-index-latest-promotions .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-index-latest-promotions .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-index-latest-promotions .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-index-latest-promotions .faq-answer p {
  margin: 0;
  color: var(--text-dark);
  text-align: left;
}

/* News Section */
.page-index-latest-promotions .news-section {
  background-color: var(--card-bg);
}

.page-index-latest-promotions .article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-latest-promotions .article-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-index-latest-promotions .article-card:hover {
  transform: translateY(-5px);
}

.page-index-latest-promotions .article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-latest-promotions .article-card .card-content {
  padding: 25px;
}

.page-index-latest-promotions .article-card h3 {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index-latest-promotions .article-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-latest-promotions .article-card h3 a:hover {
  color: var(--primary-color);
}

.page-index-latest-promotions .article-card p {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 15px;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-index-latest-promotions .article-date {
  font-size: 0.85em;
  color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-latest-promotions .hero-content h1 {
    font-size: 2.8em;
  }
  .page-index-latest-promotions .hero-content p {
    font-size: 1.2em;
  }
  .page-index-latest-promotions h2 {
    font-size: 2em;
  }
  .page-index-latest-promotions h3 {
    font-size: 1.6em;
  }
  .page-index-latest-promotions p {
    font-size: 1em;
  }
  .page-index-latest-promotions .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-index-latest-promotions .quick-link-button {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions .hero-section {
    padding: 40px 15px;
  }
  .page-index-latest-promotions .hero-image img {
    border-radius: 8px;
  }
  .page-index-latest-promotions .hero-content h1 {
    font-size: 2.2em;
  }
  .page-index-latest-promotions .hero-content p {
    font-size: 1em;
  }
  .page-index-latest-promotions .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index-latest-promotions section {
    padding: 50px 0;
  }
  .page-index-latest-promotions h2 {
    font-size: 1.8em;
  }
  .page-index-latest-promotions h3 {
    font-size: 1.4em;
  }
  .page-index-latest-promotions .link-grid {
    grid-template-columns: 1fr;
  }
  .page-index-latest-promotions .promotion-card {
    padding: 20px;
  }
  .page-index-latest-promotions .promotion-card img {
    height: 200px;
  }
  .page-index-latest-promotions .promotion-card h3 {
    font-size: 1.5em;
  }
  .page-index-latest-promotions .offer-types-section ul {
    grid-template-columns: 1fr;
  }
  .page-index-latest-promotions .faq-question {
    padding: 15px 20px;
  }
  .page-index-latest-promotions .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index-latest-promotions .faq-answer {
    padding: 0 20px;
  }
  .page-index-latest-promotions .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-index-latest-promotions .article-card img {
    height: 180px;
  }
  .page-index-latest-promotions .article-card h3 {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-index-latest-promotions .hero-content h1 {
    font-size: 1.8em;
  }
  .page-index-latest-promotions .hero-content p {
    font-size: 0.9em;
  }
  .page-index-latest-promotions .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index-latest-promotions h2 {
    font-size: 1.5em;
  }
  .page-index-latest-promotions .quick-link-button {
    font-size: 0.9em;
    padding: 15px 10px;
  }
  .page-index-latest-promotions .promotion-card h3 {
    font-size: 1.2em;
  }
  .page-index-latest-promotions .button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index-latest-promotions .faq-question h3 {
    font-size: 1em;
  }
  .page-index-latest-promotions .faq-toggle {
    font-size: 20px;
  }
  .page-index-latest-promotions .article-card h3 {
    font-size: 1.1em;
  }
}