/* style/index-latest-announcements.css */
:root {
    --page-index-latest-announcements-primary-color: #0A192F;
    --page-index-latest-announcements-accent-color: #FFD700;
    --page-index-latest-announcements-text-light: #F8F8F8;
    --page-index-latest-announcements-text-dark: #2C3E50;
    --page-index-latest-announcements-background-dark: #0A192F;
    --page-index-latest-announcements-background-light: #EFEFEF;
    --page-index-latest-announcements-card-bg: #1A2A40;
    --page-index-latest-announcements-border-color: #3A4F6A;
}

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

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

.page-index-latest-announcements__hero-section {
    background: linear-gradient(135deg, var(--page-index-latest-announcements-primary-color) 0%, #1A2A40 70%, var(--page-index-latest-announcements-accent-color) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-latest-announcements__hero-title {
    font-size: 3.5em;
    color: var(--page-index-latest-announcements-accent-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    line-height: 1.2;
}

.page-index-latest-announcements__hero-subtitle {
    font-size: 1.4em;
    color: var(--page-index-latest-announcements-text-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-index-latest-announcements__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-latest-announcements__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-index-latest-announcements__btn--primary {
    background-color: var(--page-index-latest-announcements-accent-color);
    color: var(--page-index-latest-announcements-primary-color);
}

.page-index-latest-announcements__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
}

.page-index-latest-announcements__btn--secondary {
    background-color: transparent;
    color: var(--page-index-latest-announcements-accent-color);
    border: 2px solid var(--page-index-latest-announcements-accent-color);
}

.page-index-latest-announcements__btn--secondary:hover {
    background-color: var(--page-index-latest-announcements-accent-color);
    color: var(--page-index-latest-announcements-primary-color);
    transform: translateY(-3px);
}

.page-index-latest-announcements__hero-image {
    position: absolute;
    bottom: -50px;
    right: 0;
    max-width: 300px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.page-index-latest-announcements__announcement-overview {
    padding: 60px 0;
    background-color: #0F2038;
    text-align: center;
}

.page-index-latest-announcements__section-title {
    font-size: 2.5em;
    color: var(--page-index-latest-announcements-accent-color);
    margin-bottom: 40px;
    text-align: center;
}

.page-index-latest-announcements__text-content {
    font-size: 1.1em;
    color: var(--page-index-latest-announcements-text-light);
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-latest-announcements__feature-item {
    background-color: var(--page-index-latest-announcements-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-latest-announcements__feature-item:hover {
    transform: translateY(-5px);
}

.page-index-latest-announcements__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-index-latest-announcements-accent-color));
}

.page-index-latest-announcements__feature-title {
    font-size: 1.5em;
    color: var(--page-index-latest-announcements-accent-color);
    margin-bottom: 15px;
}

.page-index-latest-announcements__feature-description {
    font-size: 1em;
    color: var(--page-index-latest-announcements-text-light);
}

.page-index-latest-announcements__detailed-announcements {
    padding: 60px 0;
    background-color: var(--page-index-latest-announcements-background-dark);
}

.page-index-latest-announcements__announcement-card {
    background-color: var(--page-index-latest-announcements-card-bg);
    border-radius: 12px;
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-latest-announcements__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid var(--page-index-latest-announcements-border-color);
}

.page-index-latest-announcements__card-content {
    padding: 30px;
}

.page-index-latest-announcements__card-title {
    font-size: 2em;
    color: var(--page-index-latest-announcements-accent-color);
    margin-bottom: 15px;
}

.page-index-latest-announcements__card-date {
    font-size: 0.9em;
    color: #AAAAAA;
    margin-bottom: 15px;
}

.page-index-latest-announcements__card-description {
    font-size: 1.1em;
    color: var(--page-index-latest-announcements-text-light);
    margin-bottom: 20px;
}

.page-index-latest-announcements__card-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-index-latest-announcements__card-list li {
    margin-bottom: 10px;
    font-size: 1em;
    color: var(--page-index-latest-announcements-text-light);
    position: relative;
    padding-left: 25px;
}

.page-index-latest-announcements__card-list li::before {
    content: '•';
    color: var(--page-index-latest-announcements-accent-color);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: -2px;
}

.page-index-latest-announcements__btn--small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-index-latest-announcements__stay-updated {
    background-color: #0F2038;
    padding: 60px 0;
    text-align: center;
}

.page-index-latest-announcements__update-list {
    list-style: none;
    padding-left: 0;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-index-latest-announcements__update-list li {
    background-color: var(--page-index-latest-announcements-card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: var(--page-index-latest-announcements-text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-latest-announcements__inline-link {
    color: var(--page-index-latest-announcements-accent-color);
    text-decoration: none;
    font-weight: bold;
}

.page-index-latest-announcements__inline-link:hover {
    text-decoration: underline;
}

.page-index-latest-announcements__full-width-banner {
    width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.page-index-latest-announcements__cta-section {
    background-color: var(--page-index-latest-announcements-primary-color);
    padding: 80px 0;
    text-align: center;
}

.page-index-latest-announcements__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-index-latest-announcements__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-index-latest-announcements__announcement-card {
        flex-direction: row;
    }

    .page-index-latest-announcements__card-image {
        width: 40%;
        height: auto;
        border-bottom: none;
        border-right: 2px solid var(--page-index-latest-announcements-border-color);
    }

    .page-index-latest-announcements__card-content {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .page-index-latest-announcements__hero-title {
        font-size: 2.5em;
    }

    .page-index-latest-announcements__hero-subtitle {
        font-size: 1.1em;
    }

    .page-index-latest-announcements__section-title {
        font-size: 2em;
    }

    .page-index-latest-announcements__card-title {
        font-size: 1.5em;
    }

    .page-index-latest-announcements__hero-actions, .page-index-latest-announcements__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-latest-announcements__btn {
        width: 100%;
    }

    .page-index-latest-announcements__hero-image {
        display: none;
    }
}