:root {
    --accent-purple: #7B54A6;
    --accent-orange: #CC8B50;
    --text-dark: #1A1A1A;
    --bg-white: #FFFFFF;
}

/* Block: News Section */
.news-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;

    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.news-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Element: Title */
.news-section__title {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Element: Nav Buttons (Custom) */
.news-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.news-nav-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.news-nav-btn:active {
    transform: scale(0.95);
}

.news-nav-btn--prev {
    background-color: var(--accent-orange);
}

.news-nav-btn--next {
    background-color: var(--accent-purple);
}

/* Block: News Card */
.news-card {
    width: 100%;
    cursor: pointer;
}

.news-card__image-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    background-color: #f0f0f0;
}

/* Parallax Background in Card */
.news-card__bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Scaling up to allow movement without whitespace */
    transform: scale(1.1);
    transition: transform 0.1s linear;
}

.news-card__date {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 12px;
}

.news-card__title {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--text-dark);
    margin: 0;
    /* Truncate text after 3 lines if needed */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .news-card__title {
    color: var(--accent-purple);
}

/* Block: CTA Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-purple);
    padding: 16px 16px 16px 32px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta__text {
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #fff;
    text-transform: uppercase;
    margin-right: 16px;
}

.btn-cta__icon {
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-cta:hover {
    box-shadow: 0 10px 20px rgba(123, 84, 166, 0.3);
    transform: translateY(-2px);
}

.btn-cta:hover .btn-cta__icon {
    transform: translateX(4px);
}

.btn-cta:active {
    transform: scale(0.98);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .news-section__title {
        font-size: 2rem;
    }
    .news-card__image-wrapper {
        height: 200px;
    }
}