/* style/index-latest-news.css */
.page-index-latest-news {
    --primary-color: #1A237E;
    --secondary-color: #FFD700;
    --text-color-light: #f5f5f5;
    --text-color-dark: #333;
    --bg-dark-section: #1A237E;
    --bg-light-section: #f0f2f5;
    --btn-primary-bg: var(--secondary-color);
    --btn-primary-text: var(--primary-color);
    --btn-secondary-bg: var(--primary-color);
    --btn-secondary-text: var(--text-color-light);
    --link-color: var(--primary-color);
    --link-hover-color: var(--secondary-color);
}

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

.page-index-latest-news__hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #303F9F 100%);
    color: var(--text-color-light);
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-latest-news__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,subtle]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index-latest-news__hero-section .page-index-latest-news__container {
    position: relative;
    z-index: 1;
}

.page-index-latest-news__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-index-latest-news__hero-description {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-news__hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-news__section {
    padding: 60px 0;
    background-color: #fff;
    color: var(--text-color-dark);
}

.page-index-latest-news__section--dark-bg {
    background-color: var(--bg-dark-section);
    color: var(--text-color-light);
}

.page-index-latest-news__section--light-bg {
    background-color: var(--bg-light-section);
    color: var(--text-color-dark);
}

.page-index-latest-news__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-index-latest-news__section--dark-bg .page-index-latest-news__section-title {
    color: var(--secondary-color);
}

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

.page-index-latest-news__section--dark-bg .page-index-latest-news__section-title::after {
    background-color: var(--text-color-light);
}

.page-index-latest-news__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

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

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

.page-index-latest-news__article {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-news__article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-latest-news__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-latest-news__article-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-index-latest-news__article-text {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-color-light);
    margin-bottom: 20px;
}

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

.page-index-latest-news__guide-item {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-news__guide-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-latest-news__guide-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-index-latest-news__guide-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-latest-news__guide-text {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.page-index-latest-news__list, .page-index-latest-news__benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-index-latest-news__list li, .page-index-latest-news__benefits-list li {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-color-dark);
    border-left: 5px solid var(--secondary-color);
}

.page-index-latest-news__section--dark-bg .page-index-latest-news__list li, 
.page-index-latest-news__section--dark-bg .page-index-latest-news__benefits-list li {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
    border-left-color: var(--secondary-color);
}

.page-index-latest-news__list li strong, .page-index-latest-news__benefits-list li strong {
    color: var(--primary-color);
}

.page-index-latest-news__section--dark-bg .page-index-latest-news__list li strong, 
.page-index-latest-news__section--dark-bg .page-index-latest-news__benefits-list li strong {
    color: var(--secondary-color);
}

.page-index-latest-news__btn {
    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, transform 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.page-index-latest-news__btn--primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.page-index-latest-news__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-index-latest-news__btn--secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 1px solid var(--secondary-color);
}

.page-index-latest-news__btn--secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-index-latest-news__btn--link {
    background: none;
    color: var(--link-color);
    padding: 0;
    border-bottom: 2px solid var(--link-color);
    border-radius: 0;
    font-size: 1em;
}

.page-index-latest-news__section--dark-bg .page-index-latest-news__btn--link {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.page-index-latest-news__btn--link:hover {
    color: var(--link-hover-color);
    border-bottom-color: var(--link-hover-color);
    transform: translateY(0);
}

.page-index-latest-news__btn--large {
    padding: 15px 35px;
    font-size: 1.2em;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index-latest-news__main-title {
        font-size: 2.5em;
    }
    .page-index-latest-news__hero-description {
        font-size: 1.1em;
    }
    .page-index-latest-news__section-title {
        font-size: 2em;
    }
    .page-index-latest-news__article-grid, .page-index-latest-news__guide-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-latest-news__hero-section {
        padding: 60px 0 30px;
    }
    .page-index-latest-news__main-title {
        font-size: 2em;
    }
    .page-index-latest-news__section {
        padding: 40px 0;
    }
    .page-index-latest-news__section-title {
        font-size: 1.8em;
    }
    .page-index-latest-news__text-content, .page-index-latest-news__article-text, .page-index-latest-news__guide-text, .page-index-latest-news__list li {
        font-size: 0.95em;
    }
    .page-index-latest-news__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-index-latest-news__btn--large {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-index-latest-news__main-title {
        font-size: 1.8em;
    }
    .page-index-latest-news__hero-description {
        font-size: 1em;
    }
    .page-index-latest-news__section-title {
        font-size: 1.5em;
    }
    .page-index-latest-news__article-grid, .page-index-latest-news__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-index-latest-news__article, .page-index-latest-news__guide-item {
        padding: 20px;
    }
    .page-index-latest-news__hero-image {
        margin-top: 20px;
    }
}