/* News Hero Section */
.news-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.news-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                url('../images/placeholder.webp') center/cover;
    z-index: -1;
}

.news-hero__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.news-hero__subtitle {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
}

/* News Content Section */
.news-content {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.news-content .container {
    max-width: none;
    width: 100%;
    padding: 0;
}

/* Featured News - Full Width */
.featured-news {
    display: grid;
    grid-template-columns: 1fr 1.32fr;
    gap: 0;
    align-items: center;
    margin-bottom: 80px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 2rem 0;
}

.featured-news__content {
    padding-left: 60px;
}

.news-tag {
    display: inline-block;
    color: #E95624;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: "Montserrat", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.featured-news__title {
    font-family: "Montserrat", Sans-serif;
    font-size: 46px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-news__description {
    font-size: 24px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn2 {
    display: inline-block;
    padding: 16px 32px;
    border: 1px;
    border-radius: 0px;
    font-family: "Open Sans", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    margin-bottom: 1rem;
}

.btn--news {
    background-color: #467FF7;
    color: white;
    padding: 15px 60px;
    border: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--news:hover {
    color: #467FF7;
    background-color: #fff;
    border: 1px solid #467FF7;
}

.featured-news__image {
    height: 770px;
    padding: 1rem 3rem;
    overflow: hidden;
}

.featured-news__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* News Grid - Full Width */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    background-color: #fff;
}

.news-card__title {
    font-family: "Open Sans", Sans-serif;
    font-size: 23px;
    font-weight: 700;
}

.news-item {
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-item__image {
    height: 300px;
    overflow: hidden;
}

.news-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item__image img {
    transform: scale(1.05);
}

.news-item__content {
    padding: 40px;
    min-height: 150px;
}

.news-item__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card__more {
    font-size: 12px;
    color: #33f;
    line-height: 1.6;
}

.news-card__date {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

/* Empty news item placeholder */
.news-item--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    min-height: 450px;
}

.news-item__placeholder {
    text-align: center;
    color: #999;
    font-size: 16px;
    font-weight: 500;
}

/* News CTA Section */
.cta__news {
    background-color: #fff;
    /*background: linear-gradient(rgba(228, 239, 253, 0.8), rgba(228, 239, 253, 0.8)), url('../images/home_page_1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: 20px;
    background-position-x: center;*/
    color: #333;
    position: relative;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-hero__title {
        font-size: 36px;
    }
    
    .news-hero__subtitle {
        font-size: 16px;
    }
    
    .featured-news {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .featured-news__content {
        padding: 30px;
        text-align: center;
    }
    
    .featured-news__title {
        font-size: 24px;
    }
    
    .featured-news__image {
        height: 300px;
    }

    .news-grid-container {
        padding: 0 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-item {
        border-right: none;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .news-item__image {
        height: 200px;
    }
    
    .news-item__content {
        padding: 20px;
        min-height: auto;
    }
    
    .news-cta__content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .news-cta__title {
        font-size: 28px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-item--empty {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

h2, h4 {
    font-size: 1.5em;
    font-weight: 700;
}

h2 {
    font-weight: 700;
    font-family: "Montserrat", Sans-serif;
}

h4 {
    font-family: "Open Sans", Sans-serif;
}

.elementor-section-news {
    position: relative;
    padding: 400px 0 0 0;
    overflow: hidden;
}

.elementor-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    height: 100%;
}

.elementor-background-slideshow__slide__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.elementor-background-overlay-news {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

    background-color: transparent;
    background-image: linear-gradient(240deg, #FFFFFF00 0%, #031E3AB0 100%);
    opacity: 0.05;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.elementor-container {
    position: absolute;
    top: 2.4rem;
    left: 19.5%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    min-height: 164px;
}

.text-container {
    text-align: center;
    max-width: 900px;
}

.elementor-heading-title-news {
    color: white;
    text-shadow: -1px 0px 6px rgba(7.808662570888461, 7.757608695652168, 19.499999999999982, 0.27);
    text-align: left;
}

.elementor-heading-title-news:nth-child(1) {
    transform: translateY(0);
    opacity: 1;
    margin: -25px 0;
    font-family: "Montserrat", Sans-serif;
    font-size: 36px;
}

.elementor-heading-title-news:nth-child(2) {
    transform: translateY(0);
    opacity: 1;
    margin: 37px 0;
    font-family: "DM Sans", Sans-serif;
    font-size: 1.5em;
    line-height: 28px;
    width: 80%;
}

.elementor-heading-title-news:last-child {
    animation: slideDown 1.5s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .elementor-heading-title-news {
        font-size: 1.5em !important;
    }
    .elementor-heading-title-news:nth-child(2) {
        font-size: 1em !important;
        width: 60%;
    }
    .elementor-container {
        top: 20%;
        left: 0%;
    }
}

.line-container {
    width: 100px;
    margin: 0.72rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.line-container img {
    max-width: 100%;
    height: auto;
}
