/* style/blog-latest-news.css */

/* Base styles for the page */
.page-blog-latest-news {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-blog-latest-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-blog-latest-news__section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-blog-latest-news__section:nth-of-type(even) {
    background-color: #f2f7fc; /* Lighter background for contrast */
}

.page-blog-latest-news__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-blog-latest-news__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00;
    border-radius: 2px;
}

.page-blog-latest-news__text {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.page-blog-latest-news__text--note {
    font-style: italic;
    color: #003366;
    text-align: center;
    font-weight: bold;
}

.page-blog-latest-news__sub-section-title {
    font-size: 1.8em;
    color: #003366;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFCC00;
    padding-left: 15px;
}

/* Hero Section */
.page-blog-latest-news__hero {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Darker gradient */
    color: #fff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    min-height: 450px;
    text-align: center;
}

.page-blog-latest-news__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 20px;
}

.page-blog-latest-news__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFCC00;
    line-height: 1.2;
}

.page-blog-latest-news__subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-blog-latest-news__hero-cta {
    display: inline-block;
    background-color: #FFCC00;
    color: #003366;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-latest-news__hero-cta:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.page-blog-latest-news__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 20px;
}

.page-blog-latest-news__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Grid for cards */
.page-blog-latest-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-latest-news__grid--2-col {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

/* Card styles */
.page-blog-latest-news__card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-blog-latest-news__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-blog-latest-news__card-title {
    font-size: 1.5em;
    color: #003366;
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-blog-latest-news__card-text {
    font-size: 1em;
    color: #666;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-blog-latest-news__card-link {
    display: inline-block;
    color: #FFCC00;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 20px;
    align-self: flex-start;
    transition: color 0.3s ease;
}

.page-blog-latest-news__card-link:hover {
    color: #003366;
}

/* Buttons */
.page-blog-latest-news__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-align: center;
    margin-top: 10px;
    margin-right: 15px;
    white-space: nowrap;
}

.page-blog-latest-news__btn--primary {
    background-color: #003366;
    color: #fff;
    border: 2px solid #003366;
}

.page-blog-latest-news__btn--primary:hover {
    background-color: #001a33;
    border-color: #001a33;
    transform: translateY(-2px);
}

.page-blog-latest-news__btn--secondary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-blog-latest-news__btn--secondary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    transform: translateY(-2px);
}

.page-blog-latest-news__btn--white {
    background-color: #fff;
    color: #003366;
    border: 2px solid #fff;
}

.page-blog-latest-news__btn--white:hover {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    transform: translateY(-2px);
}

/* List styles */
.page-blog-latest-news__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555;
}

.page-blog-latest-news__list li {
    margin-bottom: 10px;
}

.page-blog-latest-news__promotion-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-blog-latest-news__promotion-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
}

.page-blog-latest-news__promotion-list li::before {
    content: '⭐'; /* Star icon */
    position: absolute;
    left: 0;
    color: #FFCC00;
    font-size: 1.2em;
    top: 0;
}

/* Image styles */
.page-blog-latest-news__image--full-width {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-latest-news__image--responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Step cards for guide section */
.page-blog-latest-news__step-card {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 10px;
    padding-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-blog-latest-news__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 20px;
}

.page-blog-latest-news__step-card .page-blog-latest-news__card-title {
    padding: 0 20px 10px;
}

.page-blog-latest-news__step-card .page-blog-latest-news__list {
    margin-left: 40px;
    padding-right: 20px;
    list-style: decimal inside;
    color: #333;
}

.page-blog-latest-news__step-card .page-blog-latest-news__list li {
    margin-bottom: 8px;
}

.page-blog-latest-news__step-card .page-blog-latest-news__btn {
    margin-left: 20px;
    margin-top: 20px;
}

/* FAQ Section */
.page-blog-latest-news__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    transition: background-color 0.3s ease;
}

.page-blog-latest-news__faq-item:hover {
    background-color: #f0f5fa;
}

.page-blog-latest-news__faq-question {
    font-size: 1.3em;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-blog-latest-news__faq-answer {
    font-size: 1em;
    color: #666;
}

.page-blog-latest-news__faq-answer a {
    color: #003366;
    text-decoration: underline;
}

.page-blog-latest-news__faq-answer a:hover {
    color: #FFCC00;
}

/* Call to Action Banner */
.page-blog-latest-news__cta-banner {
    background: linear-gradient(90deg, #003366, #1a4d80);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 8px;
    margin: 40px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-blog-latest-news__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFCC00;
}

.page-blog-latest-news__cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* Floating CTA */
.page-blog-latest-news__floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.page-blog-latest-news__floating-btn {
    background-color: #FFCC00;
    color: #003366;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog-latest-news__floating-btn:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.page-blog-latest-news__floating-icon {
    margin-right: 8px;
    font-size: 1.4em;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-blog-latest-news__hero {
        flex-direction: column;
        text-align: center;
    }

    .page-blog-latest-news__hero-content,
    .page-blog-latest-news__hero-image-wrapper {
        max-width: 100%;
    }

    .page-blog-latest-news__title {
        font-size: 2.8em;
    }

    .page-blog-latest-news__subtitle {
        font-size: 1.2em;
    }

    .page-blog-latest-news__section-title {
        font-size: 2em;
    }

    .page-blog-latest-news__grid--2-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-blog-latest-news__section {
        padding: 40px 0;
    }

    .page-blog-latest-news__title {
        font-size: 2.2em;
    }

    .page-blog-latest-news__subtitle {
        font-size: 1em;
    }

    .page-blog-latest-news__section-title {
        font-size: 1.8em;
    }

    .page-blog-latest-news__card-title {
        font-size: 1.3em;
    }

    .page-blog-latest-news__text {
        font-size: 1em;
    }

    .page-blog-latest-news__cta-title {
        font-size: 2em;
    }

    .page-blog-latest-news__cta-text {
        font-size: 1.1em;
    }

    .page-blog-latest-news__grid {
        grid-template-columns: 1fr;
    }

    .page-blog-latest-news__floating-cta {
        bottom: 15px;
        right: 15px;
    }

    .page-blog-latest-news__floating-btn {
        padding: 10px 15px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-blog-latest-news__hero {
        padding: 60px 0;
    }

    .page-blog-latest-news__title {
        font-size: 1.8em;
    }

    .page-blog-latest-news__subtitle {
        font-size: 0.9em;
    }

    .page-blog-latest-news__hero-cta {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-blog-latest-news__section-title {
        font-size: 1.5em;
    }

    .page-blog-latest-news__btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-blog-latest-news__faq-question {
        font-size: 1.1em;
    }

    .page-blog-latest-news__cta-title {
        font-size: 1.6em;
    }

    .page-blog-latest-news__cta-text {
        font-size: 0.9em;
    }
}