@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
.news-hero {
    margin: 90px 0;
    overflow: hidden;
}

.news-hero__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.news-hero__content {
    flex: 1;
    padding: 0 19px;
}

.news-hero__title {
    font-size: 45px;
    font-weight: 700;
    line-height: 1.2;
    color: #383838;
    margin-bottom: 10px;
    font-family: 'Manrope';
}

.news-hero__description {
    font-family: 'Manrope';
    font-size: 18px;
    color: #4A4A4A;
    line-height: 1.7;
    margin-bottom: 30px;
}

.news-hero__buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Secondary Button */
.news-hero__btn--secondary {
    color: #005282;
    background-color: transparent;
}

.news-hero__btn--secondary:hover {
    background: none;
    color: #00bdf2;
    border: 1px solid #00bdf2;
}

.news-hero__arrow {
    font-size: 18px;
}


.news-hero__image {
    flex: 1;
    text-align: right;
}

.news-hero__image img {
    max-width: 100%;
    height: auto;
}
/* ========================================
   NEWS LISTING SECTION
   ======================================== */

.news-listing {
    padding: 80px 0;
    background-color: #EEF9FF;
}


.news-listing {
    padding: 80px 0;
    background-color: #EEF9FF;
    position: relative; 
    overflow: hidden; 
}

/* Common styles for both patterns */
.news-listing::before,
.news-listing::after {
    content: '';
    position: absolute;
    width: 500px; 
    height: 500px;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none; 
    z-index: 0;
}

/* Top Left Corner Image */
.news-listing::before {
    top: 0;
    left: 0;
    background-image: url('../images/pattern-left.png'); 
    background-position: top left;
}


.news-listing::after {
    bottom: 0;
    right: 0;
    background-image: url('../images/pattern-right.png'); 
    background-position: bottom right;
}


.news-listing .container {
    position: relative;
    z-index: 1;
}


.news-listing__tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
    border-bottom: 2px solid #DBF2FF;
    padding-bottom: 0;
}

.news-listing__tab {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #363A36;
    text-decoration: none;
    padding-bottom: 20px;
    position: relative;
    transition: color 0.3s ease;
    background: none;
    border: none;
}

.news-listing__tab:hover {
    color: #005282;
    font-weight: 700;
}

.news-listing__tab--active {
    color: #005282;
    font-weight: 700;
}

.news-listing__tab--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #1e40af;
}

/* News Grid */
.news-listing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-listing__no-posts {
    grid-column: 1 / -1;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    color: #6b7280;
    padding: 40px 0;
}

/* News Card */
.news-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Card Content */
.news-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card__title {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: #363A36;
    margin-bottom: 10px;
}

.news-card__excerpt {
    font-family: 'Manrope', sans-serif;
    color: #7C7C86;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    flex: 1;
    font-weight: 400;
}

.news-card__link {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #005282;
    text-decoration: none;
    margin-bottom: 30px;
    display: inline-block;
    transition: color 0.3s ease;
}

.news-card__link:hover {
    color: #005282;
    text-decoration: underline;
}

/* Card Meta */
.news-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-card__author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 215px;
    width: 100%;
}

.news-card__author .post-single-meta-author-container-image{
    width: 30.98px;
    height: 30.98px;
}

.news-card__avatar {
    width: 30.98px;
    height: 30.98px;
    border-radius: 50%;
    object-fit: cover;
}

.news-card__author-name{
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #828383;
}

.news-card__date {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #96969E;
}

.news-card__read-time {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    background-color: #E8F6FF;
    padding: 6px 14px;
    border-radius: 5px;
    font-weight: 500;
    color: #005282;
}

/* Card Image */
.news-card__image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #1a2332;
}

.news-card__img {
    width: 100%;
    height: 100%;
}

.news-card:hover .news-card__img {
    transform: scale(1.05);
}

.news-listing .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
 
.news-listing .blog-card {
    box-shadow: 2px 5px 18px 0px #0000001A;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    max-width: 412px;
    min-height: 420px;
    height: 100%;
}

.news-listing .blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-listing .blog-grid-item .blog-thumb img {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.news-listing .blog-listing .blog-grid {
    gap: 24px 30px;
}

.news-listing .blog-grid .blog-content {
    margin-top: 0;
    border: 0;
    background: transparent;
    padding: 24px 0 0;
    justify-content: space-between;
    height: 100%;
}

.news-listing .blog-grid-item .blog-title {
    font-weight: 800;
    font-family: "Manrope", sans-serif;
    color: #383838;
    line-height: 1.35;
}

.news-listing .blog-grid-item .blog-title.text-18 {
    font-size: 20px;
}

.news-listing .blog-grid .blog-content .blog-content-title {
    align-items: flex-start;
}

.news-listing .blog-grid .blog-content .icon {
    width: 37.42px;
    height: 37.42px;
}

.news-listing .blog-grid .blog-content .icon svg {
    margin-left: 2px;
}

/* ========================================
   ANNOUNCEMENT / UPCOMING EVENTS SECTION
   ======================================== */

#news-listing-results .announcement-section__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 40px 0 60px;
}

#news-listing-results .announcement-section__image {
    flex: 0 0 auto;
    max-width: 360px;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

#news-listing-results .announcement-section__image img {
    width: 100%;
    height: auto;
    display: block;
}

#news-listing-results .announcement-section__card {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 52px;
    max-width: 600px;
    width: 100%;
    min-height: 371px;
}

#news-listing-results .announcement-section__title {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #1a2a3a;
    margin: 0 0 16px;
    line-height: 1.3;
}

#news-listing-results .announcement-section__content {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: #5a6a7a;
    line-height: 1.75;
    margin: 0 0 32px;
}

#news-listing-results .announcement-section__meta {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

#news-listing-results .announcement-section__meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

#news-listing-results .announcement-section__meta-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

#news-listing-results .announcement-section__meta-text {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #005282;
}

.announcement-slider__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    z-index: 1;
}
.announcement-slider__btn:hover {
    background: #000;
    color: #fff;
}
.announcement-slider {
    flex: 1;
    min-width: 0;
    max-width: 600px;

}
.announcement-slider__track {
    width: 100%;
    min-height: 411px;
}
.announcement-slider__slide {
    width: 100%;
}

.announcement-slider__track .slick-slide {
    margin: 0 30px;
}

.announcement-slider__track .slick-list {
    margin: 0 -10px;
}

.announcement-slider .slick-dots{
    bottom: -35px;
}

.announcement-slider__track .slick-dots {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex !important;
    justify-content: center;
    gap: 10px;
}
.announcement-slider__track .slick-dots li {
    margin: 0;
}
.announcement-slider__track .slick-dots li button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
}
.announcement-slider__track .slick-dots li.slick-active button {
    background: #005282;
}


/* Responsive Design */

@media (max-width: 1400px) and (min-width: 1200px) {
    .news-card__content{
        padding: 15px;
    }

    .news-card__read-time{
        padding: 5px 8px;
    }
}

@media (max-width: 1200px) and (min-width: 991px) {

    .news-hero__image{
        max-width: 300px;
    }
}

@media (max-width: 1200px) {
    .news-listing__grid, .news-listing .blog-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .news-listing__grid > :last-child:nth-child(odd), .news-listing .blog-grid > :last-child:nth-child(odd){
        grid-column: 1 / -1;   
        justify-self: center;  
        max-width: 455px;      
    }

    .news-listing .blog-card{
        max-width: 100%;
    }
    
    .news-listing__tabs {
        gap: 40px;
    }
}

@media (max-width: 991px){
    .news-listing__grid, .news-listing .blog-grid{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .news-card{
        width: 100%;
    }

    .news-listing__grid > :last-child:nth-child(odd), .news-listing .blog-grid > :last-child:nth-child(odd){
        max-width: 100%
    }

    .news-listing .blog-grid{
        justify-content: center;
        max-width: 100%;
    }

    .news-listing .blog-card{
        max-width: 100%;
    }

    #news-listing-results .announcement-section__inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    #news-listing-results .announcement-section__image {
        max-width: 280px;
    }

    #news-listing-results .announcement-section__meta {
        justify-content: center;
    }

    #news-listing-results .announcement-section__card {
        padding: 32px 28px;
    }
}

@media (max-width: 768px) {
    .news-listing {
        padding: 60px 0;
    }
    
    .news-listing__tabs {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .news-listing__tab {
        font-size: 16px;
    }
    
    .news-listing__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card__content {
        padding: 25px;
    }
    
    .news-card__title {
        font-size: 20px;
    }

    .news-card__img{
        object-fit: contain;
    }

    .news-hero__btn{
        width: 100%;
    }

    .announcement-slider {
        max-width: 100%;
        padding: 0 20px;
    }

    #news-listing-results .announcement-section__card{
        padding: 15px;
        text-align: left;
    }

    #news-listing-results .announcement-section__meta{
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .news-listing__tabs {
        gap: 15px;
        overflow-x: auto;
        justify-content: center;
        padding-bottom: 0;
    }
    
    .news-listing__tab {
        font-size: 15px;
        white-space: nowrap;
    }

    #news-listing-results .announcement-section__title {
        font-size: 24px;
    }

    #news-listing-results .announcement-section__meta {
        gap: 20px;
    }

    #news-listing-results .announcement-section__meta-text {
        font-size: 15px;
    }
}

@media (max-width: 425px) {
    .news-card__content{
        padding: 10px;
    }

    .news-card__author {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 10px;
        align-items: center;
        max-width: 100%;
        width: max-content;
    }

    .post-single-meta-author-container-image {
        grid-row: 1 / span 2;
        grid-column: 1;
    }

    .news-card__author-name, .news-card__date{
        width: max-content;
    }
}

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

    .news-hero__wrapper {
        flex-direction: column-reverse;
    }

    .news-hero__image {
        text-align: center;
    }

    .news-hero__buttons {
        flex-wrap: wrap;
    }

    .news-hero__title {
        font-size: 36px;
    }
}

