/* =========================================================
   LAMiC NEWS PAGE
========================================================= */


/* =========================================================
   NEWS HERO
========================================================= */

.news-hero {

    position: relative;

    min-height: 520px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(18,39,71,.97),
            rgba(24,50,91,.88)
        ),
        url("../images/news-hero.jpg");

    background-size: cover;

    background-position: center;

    color: #ffffff;

}


.news-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(0,166,81,.18),
            transparent 35%
        );

    pointer-events: none;

}


.news-hero-content {

    position: relative;

    max-width: 820px;

    padding: 90px 0;

}


.news-breadcrumb {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 35px;

    font-size: 14px;

}


.news-breadcrumb a {

    color: rgba(255,255,255,.75);

    text-decoration: none;

    transition: .3s ease;

}


.news-breadcrumb a:hover {

    color: #ffffff;

}


.news-breadcrumb i {

    font-size: 10px;

    color: #00A651;

}


.news-breadcrumb span {

    color: #ffffff;

}


.news-hero-label {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: #00A651;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

}


.news-hero-label::before {

    content: "";

    width: 35px;

    height: 2px;

    background: #00A651;

}


.news-hero h1 {

    max-width: 800px;

    margin: 0 0 24px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1.5px;

}


.news-hero h1 strong {

    display: block;

    color: #00A651;

    font-weight: 700;

}


.news-hero p {

    max-width: 700px;

    margin: 0;

    color: rgba(255,255,255,.82);

    font-size: 18px;

    line-height: 1.8;

}


/* =========================================================
   NEWS INTRO
========================================================= */

.news-intro {

    padding-bottom: 45px;

}


.news-intro .section-heading {

    max-width: 720px;

    margin: auto;

}


/* =========================================================
   FEATURED NEWS
========================================================= */

.featured-news {

    padding: 30px 0 100px;

}


.featured-news-grid {

    display: grid;

    grid-template-columns: 1.05fr .95fr;

    min-height: 500px;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 20px 55px rgba(18,39,71,.10);

}


.featured-news-image {

    position: relative;

    min-height: 500px;

    overflow: hidden;

}


.featured-news-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .6s ease;

}


.featured-news-grid:hover
.featured-news-image img {

    transform: scale(1.04);

}


.featured-badge {

    position: absolute;

    top: 25px;

    left: 25px;

    padding: 9px 16px;

    background: #00A651;

    color: #ffffff;

    border-radius: 5px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.2px;

}


.featured-news-content {

    padding: 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.news-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin-bottom: 20px;

}


.news-meta span {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #777;

    font-size: 13px;

}


.news-meta i {

    color: #00A651;

}


.featured-news-content h2 {

    margin: 0 0 22px;

    color: #18325B;

    font-size: 36px;

    line-height: 1.2;

}


.featured-news-content p {

    margin-bottom: 15px;

    color: #666;

    line-height: 1.8;

    font-size: 15px;

}


.news-read-more {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 20px;

    color: #18325B;

    font-weight: 700;

    text-decoration: none;

    transition: .3s ease;

}


.news-read-more i {

    color: #00A651;

    transition: transform .3s ease;

}


.news-read-more:hover {

    color: #00A651;

}


.news-read-more:hover i {

    transform: translateX(5px);

}


/* =========================================================
   NEWS LIST SECTION
========================================================= */

.news-list-section {

    background: #f7f9fb;

}


.news-toolbar {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 45px;

}


.news-toolbar h2 {

    margin: 8px 0 0;

    color: #18325B;

    font-size: 34px;

}


.news-filter {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}


.news-filter-btn {

    padding: 10px 18px;

    border: 1px solid #dfe4e8;

    background: #ffffff;

    color: #555;

    border-radius: 30px;

    cursor: pointer;

    font-size: 13px;

    font-weight: 600;

    transition: .3s ease;

}


.news-filter-btn:hover,
.news-filter-btn.active {

    background: #18325B;

    border-color: #18325B;

    color: #ffffff;

}


/* =========================================================
   NEWS GRID
========================================================= */

.news-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

}


/* =========================================================
   NEWS CARD
========================================================= */

.news-card {

    background: #ffffff;

    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 10px 35px rgba(18,39,71,.07);

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}


.news-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(18,39,71,.13);

}


.news-card-image {

    position: relative;

    height: 245px;

    overflow: hidden;

}


.news-card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;

}


.news-card:hover
.news-card-image img {

    transform: scale(1.06);

}


.news-category {

    position: absolute;

    bottom: 15px;

    left: 15px;

    padding: 7px 13px;

    background: #00A651;

    color: #ffffff;

    border-radius: 4px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .7px;

}


.news-card-content {

    padding: 27px;

}


.news-date {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 12px;

    color: #888;

    font-size: 12px;

}


.news-date i {

    color: #00A651;

}


.news-card h3 {

    margin: 0 0 14px;

    color: #18325B;

    font-size: 21px;

    line-height: 1.35;

}


.news-card p {

    margin: 0 0 20px;

    color: #6d6d6d;

    font-size: 14px;

    line-height: 1.7;

}


.news-card-content > a {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #18325B;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition: .3s ease;

}


.news-card-content > a i {

    color: #00A651;

    transition: transform .3s ease;

}


.news-card-content > a:hover {

    color: #00A651;

}


.news-card-content > a:hover i {

    transform: translateX(5px);

}


/* =========================================================
   PAGINATION
========================================================= */

.news-pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin-top: 60px;

}


.news-pagination a,
.news-pagination span {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 6px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

}


.news-pagination a {

    background: #ffffff;

    color: #18325B;

    border: 1px solid #e0e5e9;

    transition: .3s ease;

}


.news-pagination a:hover,
.news-pagination a.active {

    background: #18325B;

    color: #ffffff;

    border-color: #18325B;

}


.news-pagination span {

    color: #777;

}


.news-pagination .pagination-arrow {

    color: #00A651;

}


/* =========================================================
   NEWSLETTER
========================================================= */

.news-newsletter {

    padding: 80px 0;

    background: #ffffff;

}


.newsletter-inner {

    display: grid;

    grid-template-columns: auto 1fr 1.1fr;

    align-items: center;

    gap: 30px;

    padding: 45px 50px;

    border-radius: 15px;

    background:
        linear-gradient(
            120deg,
            #18325B,
            #122747
        );

    box-shadow: 0 18px 45px rgba(18,39,71,.15);

}


.newsletter-icon {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(0,166,81,.15);

    color: #00A651;

    font-size: 25px;

}


.newsletter-content span {

    display: block;

    margin-bottom: 8px;

    color: #00A651;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.newsletter-content h2 {

    margin: 0 0 8px;

    color: #ffffff;

    font-size: 27px;

}


.newsletter-content p {

    margin: 0;

    color: rgba(255,255,255,.68);

    font-size: 14px;

    line-height: 1.6;

}


.newsletter-form {

    display: flex;

    gap: 10px;

}


.newsletter-form input {

    flex: 1;

    min-width: 0;

    height: 52px;

    padding: 0 18px;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 5px;

    outline: none;

    background: rgba(255,255,255,.09);

    color: #ffffff;

    font-size: 14px;

}


.newsletter-form input::placeholder {

    color: rgba(255,255,255,.55);

}


.newsletter-form input:focus {

    border-color: #00A651;

}


.newsletter-form button {

    height: 52px;

    padding: 0 22px;

    border: 0;

    border-radius: 5px;

    background: #00A651;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s ease;

}


.newsletter-form button:hover {

    background: #008d45;

}


.newsletter-form button i {

    margin-left: 8px;

}


/* =========================================================
   NEWS CTA
========================================================= */

.news-cta {

    padding: 75px 0;

    background: #00A651;

}


.news-cta-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;

}


.news-cta-inner > div {

    max-width: 700px;

}


.news-cta-inner span {

    display: block;

    margin-bottom: 10px;

    color: rgba(255,255,255,.75);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.news-cta-inner h2 {

    margin: 0 0 15px;

    color: #ffffff;

    font-size: 38px;

    line-height: 1.2;

}


.news-cta-inner p {

    margin: 0;

    color: rgba(255,255,255,.8);

    line-height: 1.7;

}


.news-cta-inner .btn {

    flex-shrink: 0;

}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1100px) {

    .news-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .newsletter-inner {

        grid-template-columns:
            auto 1fr;

    }


    .newsletter-form {

        grid-column: 1 / -1;

    }

}


@media (max-width: 900px) {

    .featured-news-grid {

        grid-template-columns: 1fr;

    }


    .featured-news-image {

        min-height: 380px;

    }


    .featured-news-content {

        padding: 40px;

    }


    .news-toolbar {

        flex-direction: column;

        align-items: flex-start;

    }


    .news-hero {

        min-height: 470px;

    }

}


@media (max-width: 700px) {

    .news-hero-content {

        padding: 70px 0;

    }


    .news-hero h1 {

        font-size: 40px;

    }


    .news-hero p {

        font-size: 16px;

    }


    .featured-news {

        padding-bottom: 70px;

    }


    .featured-news-content {

        padding: 30px;

    }


    .featured-news-content h2 {

        font-size: 29px;

    }


    .news-grid {

        grid-template-columns: 1fr;

    }


    .newsletter-inner {

        grid-template-columns: 1fr;

        padding: 35px 25px;

    }


    .newsletter-icon {

        width: 60px;

        height: 60px;

    }


    .newsletter-form {

        display: flex;

        flex-direction: column;

    }


    .newsletter-form input,
    .newsletter-form button {

        width: 100%;

    }


    .news-cta-inner {

        flex-direction: column;

        align-items: flex-start;

    }


    .news-cta-inner h2 {

        font-size: 30px;

    }

}


@media (max-width: 480px) {

    .news-breadcrumb {

        margin-bottom: 25px;

    }


    .news-hero h1 {

        font-size: 34px;

    }


    .news-card-image {

        height: 220px;

    }


    .news-card-content {

        padding: 22px;

    }


    .news-toolbar h2 {

        font-size: 28px;

    }


    .news-filter {

        width: 100%;

    }


    .news-filter-btn {

        padding: 8px 14px;

    }

}