/* Modern news listing scoped to the news page. */
.news-page {
    padding: 72px 0 82px;
    background:
        radial-gradient(circle at 12% 8%, rgba(50, 198, 220, 0.08), transparent 28%),
        linear-gradient(180deg, #f5f9fb 0%, #fff 100%) !important;
}

.news-page .row {
    row-gap: 30px;
}

.news-page .news-card {
    display: flex;
}

.news-page .news-card .post-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce8ee;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(7, 44, 70, 0.09);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-page .news-card .post-wrapper:hover {
    border-color: rgba(50, 198, 220, 0.55);
    box-shadow: 0 24px 58px rgba(7, 44, 70, 0.14);
    transform: translateY(-6px);
}

.news-page .news-card .blog-img {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #dceaf0;
}

.news-page .news-card .blog-img::before {
    z-index: 2;
    height: 100%;
    background: linear-gradient(180deg, transparent 55%, rgba(3, 29, 50, 0.32));
    opacity: 1;
    pointer-events: none;
}

.news-page .news-card .blog-img a,
.news-page .news-card .blog-img img {
    display: block;
    width: 100%;
    height: 100%;
}

.news-page .news-card .blog-img img {
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-page .news-card .post-wrapper:hover .blog-img img {
    transform: scale(1.045);
}

.news-page .news-card .blog-meta {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px 28px 28px !important;
}

.news-page .news-card .blog-meta .post-meta {
    position: static !important;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    opacity: 1 !important;
}

.news-page .news-card .blog-meta .author-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
    margin-left: 0 !important;
}

.news-page .news-card .author-meta h6,
.news-page .news-card .author-meta p {
    margin: 0 !important;
}

.news-page .news-card .author-meta h6 a {
    color: #143d56 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.news-page .news-card .author-meta p {
    color: #628093 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 13px;
}

.news-page .news-card .post-content h2 {
    margin: 0 0 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: clamp(22px, 2.15vw, 29px) !important;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.news-page .news-card .post-content h2 a {
    color: #082d49 !important;
    transition: color 0.25s ease;
}

.news-page .news-card .post-content h2 a:hover {
    color: #118aa5 !important;
}

.news-page .news-card .post-content p {
    margin-bottom: 22px;
    color: #5e7889 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

.news-page .news-card .blog-links {
    margin-top: auto;
    padding-top: 4px;
}

.news-page .news-card .blog-links > a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 17px;
    border: 1px solid #cfe4eb;
    border-radius: 12px;
    background: #edf8fa;
    color: #087f99 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.news-page .news-card .blog-links > a:hover {
    border-color: #21aeca;
    background: #21aeca;
    color: #fff !important;
}

.newsletter-style-1 {
    position: relative;
    padding: 64px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, #07304e 0%, #08718b 100%) !important;
}

.newsletter-style-1 .container > .row {
    margin: 0;
    padding: 34px 32px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 20px 48px rgba(0, 20, 35, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.newsletter-style-1 .newsletter-content-wrapper h3 {
    margin-bottom: 9px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: clamp(27px, 2.5vw, 36px);
    font-weight: 750 !important;
    letter-spacing: -0.5px;
}

.newsletter-style-1 .newsletter-content-wrapper p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.newsletter-style-1 .newsletter-form-wrapper .input-group {
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-style-1 .newsletter-form-wrapper .input-group .form-control-custom {
    height: 52px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 11px 0 0 11px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #173b52;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 52px !important;
    transform: none !important;
}

.newsletter-style-1 .newsletter-form-wrapper .input-group .input-group-append button {
    height: 52px;
    padding: 0 30px;
    border: 0;
    border-radius: 0 11px 11px 0;
    background: linear-gradient(135deg, #31c4d9, #1695b0);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: filter 0.25s ease;
}

.newsletter-style-1 .newsletter-form-wrapper .input-group .input-group-append button:hover,
.newsletter-style-1 .newsletter-form-wrapper .input-group .input-group-append button:focus {
    filter: brightness(1.08);
}

@media (max-width: 991px) {
    .news-page {
        padding: 58px 0 68px;
    }

    .news-page .news-card .blog-img {
        height: 230px;
    }

    .news-page .news-card .blog-meta {
        padding: 22px !important;
    }

    .newsletter-style-1 .container > .row {
        padding: 28px 24px;
    }
}

@media (max-width: 767px) {
    .news-page {
        padding: 44px 0 54px;
    }

    .news-page .row {
        row-gap: 22px;
    }

    .news-page .news-card .post-wrapper {
        border-radius: 17px;
    }

    .news-page .news-card .blog-img {
        height: 220px;
    }

    .news-page .news-card .post-content h2 {
        font-size: 23px !important;
    }

    .newsletter-style-1 {
        padding: 44px 0;
    }

    .newsletter-style-1 .container > .row {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .newsletter-style-1 .newsletter-form-wrapper .input-group .input-group-append button {
        padding: 0 18px;
    }
}
