/* style/resources-abc8-link-latest-updates.css */

/* Base styles for the page content */
.page-resources-abc8-link-latest-updates {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Explicitly set for light background */
}

/* Fixed header offset */
.page-resources-abc8-link-latest-updates__hero-section {
    padding-top: var(--header-offset, 120px);
}

/* Hero Section */
.page-resources-abc8-link-latest-updates__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #ffffff; /* White text for dark background */
}

.page-resources-abc8-link-latest-updates__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-abc8-link-latest-updates__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-abc8-link-latest-updates__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.page-resources-abc8-link-latest-updates__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-resources-abc8-link-latest-updates__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-resources-abc8-link-latest-updates__hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* General Section Styles */
.page-resources-abc8-link-latest-updates__section {
    padding: 60px 20px;
    transition: background-color 0.3s ease;
}

.page-resources-abc8-link-latest-updates__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-resources-abc8-link-latest-updates__dark-bg {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
}

.page-resources-abc8-link-latest-updates__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-resources-abc8-link-latest-updates__container--reverse {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
}

.page-resources-abc8-link-latest-updates__section-title {
    font-size: 2.5em;
    color: inherit;
    margin-bottom: 30px;
    text-align: center;
}

.page-resources-abc8-link-latest-updates__sub-title {
    font-size: 1.8em;
    color: inherit;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-abc8-link-latest-updates__paragraph {
    margin-bottom: 15px;
    color: inherit;
}

.page-resources-abc8-link-latest-updates__paragraph a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-resources-abc8-link-latest-updates__dark-bg .page-resources-abc8-link-latest-updates__paragraph a {
    color: #ffffff;
}

.page-resources-abc8-link-latest-updates__highlight {
    font-weight: bold;
    color: #26A9E0;
}
.page-resources-abc8-link-latest-updates__dark-bg .page-resources-abc8-link-latest-updates__highlight {
    color: #ffffff;
}


.page-resources-abc8-link-latest-updates__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: inherit;
}

.page-resources-abc8-link-latest-updates__list--columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-left: 0;
    list-style: none;
}

.page-resources-abc8-link-latest-updates__list-item {
    margin-bottom: 10px;
    color: inherit;
}

/* Image & Content Blocks */
.page-resources-abc8-link-latest-updates__content-block {
    flex: 1;
}

.page-resources-abc8-link-latest-updates__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-abc8-link-latest-updates__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;
}

.page-resources-abc8-link-latest-updates__image--card {
    margin-bottom: 20px;
}

.page-resources-abc8-link-latest-updates__image--bottom {
    margin-top: 40px;
}

/* Grid Layout for Advantages Section */
.page-resources-abc8-link-latest-updates__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.page-resources-abc8-link-latest-updates__grid-item {
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-resources-abc8-link-latest-updates__dark-bg .page-resources-abc8-link-latest-updates__grid-item {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.page-resources-abc8-link-latest-updates__btn-primary,
.page-resources-abc8-link-latest-updates__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-abc8-link-latest-updates__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-abc8-link-latest-updates__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-resources-abc8-link-latest-updates__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-abc8-link-latest-updates__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-resources-abc8-link-latest-updates__login-btn {
    background-color: #EA7C07;
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-resources-abc8-link-latest-updates__login-btn:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-resources-abc8-link-latest-updates__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-resources-abc8-link-latest-updates__faq-list {
    margin-top: 30px;
}

.page-resources-abc8-link-latest-updates__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-resources-abc8-link-latest-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-resources-abc8-link-latest-updates__faq-question::-webkit-details-marker {
    display: none;
}

.page-resources-abc8-link-latest-updates__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-abc8-link-latest-updates__faq-qtext {
    flex-grow: 1;
}

.page-resources-abc8-link-latest-updates__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    width: 20px;
    text-align: center;
}

.page-resources-abc8-link-latest-updates__faq-answer {
    padding: 0 20px 15px 20px;
    color: #555555;
    background-color: #f9f9f9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-abc8-link-latest-updates__hero-title {
        font-size: 2.5em;
    }
    .page-resources-abc8-link-latest-updates__hero-description {
        font-size: 1em;
    }
    .page-resources-abc8-link-latest-updates__section-title {
        font-size: 2em;
    }
    .page-resources-abc8-link-latest-updates__sub-title {
        font-size: 1.5em;
    }
    .page-resources-abc8-link-latest-updates__container--reverse {
        flex-direction: column;
    }
    .page-resources-abc8-link-latest-updates__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-resources-abc8-link-latest-updates {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-abc8-link-latest-updates__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        height: auto;
        min-height: 400px;
    }

    .page-resources-abc8-link-latest-updates__hero-title {
        font-size: 2em;
    }
    .page-resources-abc8-link-latest-updates__hero-description {
        font-size: 0.9em;
    }
    .page-resources-abc8-link-latest-updates__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-resources-abc8-link-latest-updates__section {
        padding: 40px 15px;
    }
    .page-resources-abc8-link-latest-updates__container {
        padding: 0;
    }
    .page-resources-abc8-link-latest-updates__section-title {
        font-size: 1.8em;
    }
    .page-resources-abc8-link-latest-updates__sub-title {
        font-size: 1.3em;
    }

    /* Images responsiveness */
    .page-resources-abc8-link-latest-updates img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers that might hold images or other content */
    .page-resources-abc8-link-latest-updates__section,
    .page-resources-abc8-link-latest-updates__card,
    .page-resources-abc8-link-latest-updates__container,
    .page-resources-abc8-link-latest-updates__content-block,
    .page-resources-abc8-link-latest-updates__image-block,
    .page-resources-abc8-link-latest-updates__grid-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    
    /* Buttons responsiveness */
    .page-resources-abc8-link-latest-updates__btn-primary,
    .page-resources-abc8-link-latest-updates__btn-secondary,
    .page-resources-abc8-link-latest-updates a[class*="button"],
    .page-resources-abc8-link-latest-updates 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-resources-abc8-link-latest-updates__cta-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-abc8-link-latest-updates__list--columns {
        grid-template-columns: 1fr;
    }
}