/* Base styles for the page */
.page-blog-khuyen-mai-moi-nhat-ph88 {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background: #F5F7FA; /* Body background from custom colors */
}

.page-blog-khuyen-mai-moi-nhat-ph88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-khuyen-mai-moi-nhat-ph88__section {
    padding: 60px 0;
    position: relative;
}

.page-blog-khuyen-mai-moi-nhat-ph88__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #E53935; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-blog-khuyen-mai-moi-nhat-ph88__section-title--light {
    color: #ffffff;
}

.page-blog-khuyen-mai-moi-nhat-ph88__sub-title {
    font-size: 28px;
    font-weight: 600;
    color: #333333;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.page-blog-khuyen-mai-moi-nhat-ph88__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-khuyen-mai-moi-nhat-ph88__text-block--light {
    color: #ffffff;
}

.page-blog-khuyen-mai-moi-nhat-ph88__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-khuyen-mai-moi-nhat-ph88__list li {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333333;
}

.page-blog-khuyen-mai-moi-nhat-ph88__list--check {
    list-style: none;
    padding-left: 0;
}

.page-blog-khuyen-mai-moi-nhat-ph88__list--check li {
    position: relative;
    padding-left: 30px;
}

.page-blog-khuyen-mai-moi-nhat-ph88__list--check li::before {
    content: '✓';
    color: #E53935;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.5;
}

.page-blog-khuyen-mai-moi-nhat-ph88__numbered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-khuyen-mai-moi-nhat-ph88__numbered-list li {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333333;
}

/* Button styles */
.page-blog-khuyen-mai-moi-nhat-ph88__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-khuyen-mai-moi-nhat-ph88__btn-primary,
.page-blog-khuyen-mai-moi-nhat-ph88__btn-secondary,
.page-blog-khuyen-mai-moi-nhat-ph88__card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog-khuyen-mai-moi-nhat-ph88__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-blog-khuyen-mai-moi-nhat-ph88__btn-primary:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

.page-blog-khuyen-mai-moi-nhat-ph88__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

.page-blog-khuyen-mai-moi-nhat-ph88__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.2);
}

/* Image styles */
.page-blog-khuyen-mai-moi-nhat-ph88 img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* HERO Section */
.page-blog-khuyen-mai-moi-nhat-ph88__hero-section {
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    padding-bottom: 60px;
    background-color: #F5F7FA;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
}

.page-blog-khuyen-mai-moi-nhat-ph88__hero-image {
    width: 100%;
    max-height: 500px; /* Limit height for desktop hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-blog-khuyen-mai-moi-nhat-ph88__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* Hero image usually full width, no rounded corners */
}

.page-blog-khuyen-mai-moi-nhat-ph88__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-blog-khuyen-mai-moi-nhat-ph88__main-title {
    font-size: clamp(32px, 4.5vw, 48px); /* Responsive font size */
    font-weight: 800;
    color: #E53935;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-blog-khuyen-mai-moi-nhat-ph88__lead-text {
    font-size: 20px;
    color: #333333;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Promo Types Section */
.page-blog-khuyen-mai-moi-nhat-ph88__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-blog-khuyen-mai-moi-nhat-ph88__promo-card {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-blog-khuyen-mai-moi-nhat-ph88__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-blog-khuyen-mai-moi-nhat-ph88__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card images */
    object-fit: cover;
    border-radius: 0; /* Image corners handled by card border-radius */
}

.page-blog-khuyen-mai-moi-nhat-ph88__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog-khuyen-mai-moi-nhat-ph88__card-title {
    font-size: 22px;
    font-weight: 700;
    color: #E53935;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-blog-khuyen-mai-moi-nhat-ph88__card-description {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog-khuyen-mai-moi-nhat-ph88__card-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    margin-top: auto;
}

/* Dark background section */
.page-blog-khuyen-mai-moi-nhat-ph88__dark-bg {
    background: #E53935; /* Main brand color */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.page-blog-khuyen-mai-moi-nhat-ph88__dark-bg .page-blog-khuyen-mai-moi-nhat-ph88__section-title {
    color: #ffffff;
}

.page-blog-khuyen-mai-moi-nhat-ph88__dark-bg .page-blog-khuyen-mai-moi-nhat-ph88__text-block {
    color: #f0f0f0;
}

.page-blog-khuyen-mai-moi-nhat-ph88__cta-final {
    padding-bottom: 60px;
    padding-top: 0;
}

.page-blog-khuyen-mai-moi-nhat-ph88__cta-image-wrapper {
    margin-top: 40px;
    width: 100%;
    max-width: 800px; /* Constrain image width within dark bg */
    margin-left: auto;
    margin-right: auto;
}

.page-blog-khuyen-mai-moi-nhat-ph88__cta-image {
    object-fit: contain; /* Ensure full image is visible */
    border-radius: 8px;
}

/* FAQ Section - Using <details> */
details.page-blog-khuyen-mai-moi-nhat-ph88__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-blog-khuyen-mai-moi-nhat-ph88__faq-item summary.page-blog-khuyen-mai-moi-nhat-ph88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Slightly more padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog-khuyen-mai-moi-nhat-ph88__faq-item summary.page-blog-khuyen-mai-moi-nhat-ph88__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-khuyen-mai-moi-nhat-ph88__faq-item summary.page-blog-khuyen-mai-moi-nhat-ph88__faq-question:hover {
  background: #f5f5f5;
}
.page-blog-khuyen-mai-moi-nhat-ph88__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-blog-khuyen-mai-moi-nhat-ph88__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #E53935; /* Brand color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px; /* Larger hit area */
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
details.page-blog-khuyen-mai-moi-nhat-ph88__faq-item .page-blog-khuyen-mai-moi-nhat-ph88__faq-answer {
  padding: 0 25px 25px; /* Consistent padding */
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #555555;
}

/* --- Responsive Styles --- */

/* HERO Main Image Specific Rule for <849px */
@media (max-width: 849px) {
    .page-blog-khuyen-mai-moi-nhat-ph88__hero-image img {
        object-fit: contain !important; /* Ensure image is fully visible, not cropped */
        aspect-ratio: unset !important; /* Remove fixed aspect ratio */
        height: auto !important; /* Allow height to adjust */
        max-height: 400px; /* Max height for tablets */
    }
}

@media (max-width: 768px) {
    /* General Mobile Adaptations */
    .page-blog-khuyen-mai-moi-nhat-ph88 {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-khuyen-mai-moi-nhat-ph88__container {
        padding: 0 15px;
    }

    .page-blog-khuyen-mai-moi-nhat-ph88__section {
        padding: 40px 0;
    }

    /* HERO Section */
    .page-blog-khuyen-mai-moi-nhat-ph88__hero-section {
        padding-top: 10px; /* Still small padding, body handles main offset */
        padding-bottom: 40px;
    }

    .page-blog-khuyen-mai-moi-nhat-ph88__hero-image {
        margin-bottom: 20px;
        max-height: 300px; /* Adjust max height for mobile hero */
    }
    
    .page-blog-khuyen-mai-moi-nhat-ph88__hero-image img {
        object-fit: contain !important; /* Force contain for mobile */
        aspect-ratio: unset !important;
        height: auto !important;
    }

    .page-blog-khuyen-mai-moi-nhat-ph88__main-title {
        font-size: clamp(28px, 8vw, 36px); /* More aggressive clamp for mobile */
        margin-bottom: 15px;
    }

    .page-blog-khuyen-mai-moi-nhat-ph88__lead-text {
        font-size: 16px;
        margin-bottom: 20px;
        text-align: left; /* Align left for better readability on small screens */
    }

    /* Buttons */
    .page-blog-khuyen-mai-moi-nhat-ph88__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-khuyen-mai-moi-nhat-ph88__btn-primary,
    .page-blog-khuyen-mai-moi-nhat-ph88__btn-secondary,
    .page-blog-khuyen-mai-moi-nhat-ph88__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    /* Promo Types Grid (Products Grid equivalent) */
    .page-blog-khuyen-mai-moi-nhat-ph88__promo-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
        margin-bottom: 40px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__promo-card {
        box-sizing: border-box; /* Ensure padding/border is included in width */
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__card-image {
        height: 200px; /* Adjust card image height for mobile */
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__card-content {
        padding: 20px;
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__card-title {
        font-size: 20px;
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__card-description {
        font-size: 15px;
    }

    /* Section Titles and Text Blocks (Long Article SEO Area equivalent) */
    .page-blog-khuyen-mai-moi-nhat-ph88__section-title {
        font-size: clamp(24px, 7vw, 32px); /* Responsive font size for mobile titles */
        margin-bottom: 30px;
        text-align: center; /* Keep centered */
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__sub-title {
        font-size: 24px;
        margin-top: 30px;
        text-align: left;
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__text-block,
    .page-blog-khuyen-mai-moi-nhat-ph88__list,
    .page-blog-khuyen-mai-moi-nhat-ph88__numbered-list {
        font-size: 16px;
        padding-left: 15px;
        margin-left: 0; /* Align lists left */
        margin-right: 0;
        max-width: 100%; /* Ensure content doesn't overflow */
        box-sizing: border-box;
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__list li,
    .page-blog-khuyen-mai-moi-nhat-ph88__numbered-list li {
        font-size: 16px;
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__list--check li::before {
        font-size: 18px;
    }

    /* General Images and Containers */
    .page-blog-khuyen-mai-moi-nhat-ph88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover; /* Default to cover for general images */
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__cta-image {
        object-fit: contain !important; /* Explicitly for CTA image */
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__container,
    .page-blog-khuyen-mai-moi-nhat-ph88__dark-bg {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 0; /* Remove border-radius on full-width mobile sections */
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__dark-bg {
        padding: 40px 15px;
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__cta-image-wrapper {
        margin-top: 30px;
    }

    /* FAQ Section */
    details.page-blog-khuyen-mai-moi-nhat-ph88__faq-item summary.page-blog-khuyen-mai-moi-nhat-ph88__faq-question {
        padding: 15px 20px;
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__faq-qtext {
        font-size: 16px;
    }
    .page-blog-khuyen-mai-moi-nhat-ph88__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    details.page-blog-khuyen-mai-moi-nhat-ph88__faq-item .page-blog-khuyen-mai-moi-nhat-ph88__faq-answer {
        padding: 0 20px 20px;
        font-size: 15px;
    }
}