/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.all-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.all-tags-list a {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid #073e47;
    padding: 10px;
    border-radius: 4px;
}

.custom-post-categories {
    flex-direction: column;
    display: flex;
    gap: 10px;
}

.custom-post-categories a {
    color: #073e47;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    gap: 10px;
    align-items: center;
}
span.custom-post-category-icon {
    display: flex;
}
span.custom-post-category-icon img {
   width: 40px;
}
/* =========================================
   LATEST NEWS
========================================= */

.latest-news-wrapper {
    width: 100%;
}

.latest-news-heading {
    margin-bottom: 30px;
}

.latest-news-heading h2 {
    margin: 0 0 18px;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    color: #073e47;
}

.latest-news-heading span {
    display: block;
    width: 75px;
    height: 4px;
    background: #7ac943;
}


/* =========================================
   NEWS ITEM
========================================= */

.latest-news-item {
    display: flex;
    width: 100%;  
    margin-bottom: 35px;
    border: 1px solid #e5e8e8;
    border-radius: 14px;
    overflow: hidden;
    
}


/* =========================================
   IMAGE
========================================= */

.latest-news-image {
    position: relative;
    width: 46%;
    flex: 0 0 46%;
    overflow: hidden;
}

.latest-news-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.latest-news-featured-image {
    height: 100% !important;
    object-fit: cover;
}

.latest-news-image:hover .latest-news-featured-image {
    /*transform: scale(1.03);*/
}


/* =========================================
   FEATURED LABEL
========================================= */

.latest-news-featured {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-block;
    padding: 15px 20px;
    background: #6fcf18;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    border-radius: 6px;
}


/* =========================================
   CONTENT
========================================= */

.latest-news-content {
    width: 54%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-news-date {
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.latest-news-title {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    font-family: "Aptos Bold", Sans-serif;
    font-size: 20px;
    font-weight: bold !important;
    line-height: normal;
    color: #005A61;
}

.latest-news-title a {
    color: #073e47;
    text-decoration: none;
}

.latest-news-title a:hover {
    color: #6fae24;
}

.latest-news-excerpt {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.latest-news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #B8D334 !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.latest-news-read-more span {
    font-size: 26px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.latest-news-read-more:hover {
    color: #073e47;
}

.latest-news-read-more:hover span {
    transform: translateX(5px);
}


/* =========================================
   NO IMAGE
========================================= */

.latest-news-no-image {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #e9eeee;
    color: #073e47;
    font-size: 18px;
    text-decoration: none;
}

.latest-news-load-more-wrapper {
    display: flex;
    justify-content: center;
}

button.latest-news-load-more {
    background-color: #FFFFFF00;
    font-family: "Aptos Bold", Sans-serif;
    font-size: 17px;
    text-transform: uppercase;
    fill: #005A61;
    color: #005A61;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #005A61;
    border-radius: 7px 7px 7px 7px;
}

button.latest-news-load-more:hover{
     background: #005A61;
     color: #fff;
}
/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .latest-news-item {
        min-height: 380px;
    }

    .latest-news-image {
        width: 45%;
        flex-basis: 45%;
    }

    .latest-news-content {
        width: 55%;
        padding: 30px;
    }

    .latest-news-featured-image {
        min-height: 380px;
    }

    .latest-news-title {
        font-size: 27px;
    }

    .latest-news-excerpt {
        font-size: 16px;
    }

}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .latest-news-heading h2 {
        font-size: 32px;
    }

    .latest-news-item {
        display: block;
        min-height: 0;
        margin-bottom: 25px;
    }

    .latest-news-image {
        width: 100%;
        height: 250px;
    }

    .latest-news-featured-image {
        min-height: 250px;
        height: 250px !important;
    }

    .latest-news-content {
        width: 100%;
        padding: 25px;
    }

    .latest-news-date {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .latest-news-title {
        margin-bottom: 15px;
        font-size: 24px;
    }

    .latest-news-excerpt {
        margin-bottom: 18px;
        font-size: 16px;
        line-height: 1.5;
    }

    .latest-news-featured {
        left: 20px;
        bottom: 20px;
        padding: 12px 20px;
        font-size: 15px;
    }

}