/* style/blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo.css */
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo {
    font-family: Arial, sans-serif;
    color: var(--Text-Main);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Carousel Section */
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top margin, assuming shared handles body padding-top */
    background: var(--Deep-Navy);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slider {
    position: relative;
    width: 100%;
    height: 400px; /* Default height */
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slide.is-active {
    opacity: 1;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--Text-Main);
    padding: 20px;
    max-width: 800px;
    background: rgba(17, 59, 122, 0.7); /* Use brand color with opacity */
    border-radius: 8px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-title {
    font-size: clamp(2em, 5vw, 2.8em);
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--Text-Main);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--Text-Secondary);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slider-prev,
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5em;
    border-radius: 4px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slider-prev { left: 10px; }
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slider-next { right: 10px; }

/* Guide Box Section */
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-section {
    padding: 40px 0;
    background: var(--Deep-Navy);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-box {
    padding: 16px 20px 24px;
    background: var(--Card-B-G);
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    align-items: flex-start;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card {
    flex: 0 0 calc(20% - 8px);
    max-width: calc(20% - 8px);
    text-align: center;
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card img {
    aspect-ratio: 250 / 350;
    object-fit: contain; /* Ensure the full image content is visible */
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card:hover img {
    transform: scale(1.05);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card--pos-1, .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card--pos-5 {
    padding-top: 50px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card--pos-2, .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card--pos-4 {
    padding-top: 25px;
}

/* Main Content Area */
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__content-area {
    padding: 40px 0;
    background: var(--Deep-Navy);
    color: var(--Text-Main);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__home-content-box {
    max-width: 91%; /* Adjust for container padding */
    margin: 0 auto;
    padding: 10px 16px;
    border: 5px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 0 20px var(--Glow);
    height: 700px; /* Fixed height for desktop */
    background: var(--Card-B-G);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__home-content-inner {
    height: 100%;
    overflow-y: auto; /* Enable scrolling for desktop */
    padding-right: 10px; /* Space for scrollbar */
    color: var(--Text-Secondary);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__home-content-inner::-webkit-scrollbar {
    width: 8px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__home-content-inner::-webkit-scrollbar-thumb {
    background-color: var(--Gold);
    border-radius: 4px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__home-content-inner::-webkit-scrollbar-track {
    background-color: var(--Divider);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__section-title {
    font-size: 2.2em;
    color: var(--Text-Main);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__sub-title {
    font-size: 1.8em;
    color: var(--Text-Main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__home-content-inner p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__home-content-inner strong {
    color: var(--Gold);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__figure {
    margin: 20px 0;
    text-align: center;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__figure-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__figure figcaption {
    font-size: 0.9em;
    color: var(--Text-Secondary);
    margin-top: 10px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__list,
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__list-ordered {
    margin: 20px 0 20px 25px;
    list-style-type: disc;
    color: var(--Text-Secondary);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__list-ordered {
    list-style-type: decimal;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__list li,
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__list-ordered li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__home-content-inner a {
    color: var(--Gold);
    text-decoration: underline;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__cta-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--Divider);
}

/* Blog Section */
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-section {
    padding: 40px 0;
    background: #f8f9fa; /* Light background for this section */
    color: #333333; /* Dark text for light background */
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-section .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__section-title {
    color: #333333; /* Ensure dark text on light background */
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-card-content {
    padding: 15px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-card-title {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333333;
    font-weight: bold;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-card-date {
    font-size: 0.9em;
    color: #777777;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__view-all-button-container {
    text-align: center;
    margin-top: 40px;
}

/* General Buttons */
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__btn-primary,
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    border: none;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__btn-secondary {
    background: #ffffff;
    color: var(--Primary-Color);
    border: 2px solid var(--Primary-Color);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__btn-secondary:hover {
    background: var(--Primary-Color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Contrast Fixes */
.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__dark-bg {
  background: var(--Deep-Navy);
  color: var(--Text-Main);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__light-bg {
  background: #f8f9fa;
  color: #333333;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slider {
        height: 350px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-title {
        font-size: clamp(1.8em, 4.5vw, 2.5em);
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card {
        flex: 0 0 calc(20% - 8px);
        max-width: calc(20% - 8px);
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__container {
        padding: 15px;
    }

    /* Hero Carousel */
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-carousel-section {
        padding-top: 10px !important;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slider {
        height: 250px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-content {
        padding: 15px;
        max-width: 90%;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-description {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slider-prev,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-slider-next {
        padding: 8px 12px;
        font-size: 1.2em;
    }

    /* Guide Box */
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-box {
        padding: 10px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 5px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card {
        padding-top: 0 !important; /* Reset padding-top for mobile */
        flex: unset;
        max-width: unset;
        border-radius: 5px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card--pos-1,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card--pos-2 {
        grid-column: span 3;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card--pos-3,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card--pos-4,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__guide-card--pos-5 {
        grid-column: span 2;
    }

    /* Home Content Box */
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__home-content-box {
        max-width: 100%;
        height: auto; /* Auto height for mobile */
        padding: 10px;
        border-width: 3px;
        box-shadow: 0 0 10px var(--Glow);
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__home-content-inner {
        height: auto; /* Auto height for mobile */
        overflow: visible; /* Disable scrolling for mobile */
        padding-right: 0;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__sub-title {
        font-size: 1.5em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__cta-bottom {
        flex-direction: column;
    }

    /* Blog Section */
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__blog-card-image {
        height: 180px;
    }

    /* General Image and Button Adaptaion */
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__section,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__card,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__btn-primary,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__btn-secondary,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo a[class*="button"],
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo 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;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__hero-cta-buttons,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-sun52-khong-the-bo-lo__cta-buttons {
        display: flex;
        flex-direction: column; /* Mobile vertical stacking */
    }
}