/* 
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 */
.featured-post-image {
    object-fit: cover;
    min-height: 350px;
    max-height: 550px;
    border-radius: 20px;
    width: 100%;
}

.info-container-post {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0px;
    border-bottom: 1px solid #67676724;
    border-top: 1px solid #67676724;
    margin-bottom: 30px;
}

.info-container-post p {
    font-size: 16px;
    margin-bottom: 0px;
    color: #0D1F46;
}

#post-content {
    padding: 40px 20px;
    max-width: 900px;
}

#post-content .entry-title {
    font-size: 45px;
    margin: 0px 0px 30px;
    padding: 0px;
}

#post-content h2 {
    font-size: 32px;
}

#post-content h3 {
    font-size: 24px;
    color: #0D1F46;
}

#post-content h4 {
    font-size: 22px;
    color: #0D1F46;
}

#post-content {
    color: #0D1F46;
}

#post-content ul {
    margin-bottom: 20px;
}

/* Blog Style */
.grid-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.grid-posts .post {
    border-radius: 12.967px;
    border: 1.081px solid #E8E8EA;
    background: #FFF;
    padding: 18px;
}

.author-date {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    font-size: 18px;
}

.blog .post .entry-title a {
    color: #0D1F46;
}

.featured-post a {
    margin-top: 10px;
}

.featured-post {
    height: 100%;
    margin-bottom: 40px;
    display: grid;
    align-items: center;
    border-bottom: 1px solid #E8E8EA;
    padding-bottom: 55px;
    grid-template-columns: 45% auto;
    gap: 40px;
}

.blog-main,
.post-container {
    max-width: 1320px !important;
    padding: 130px 20px 75px;
}

h2.content-title-blog {
    margin-bottom: 35px;
    font-size: 35px;
}

.blog-pagination .page-numbers {
    display: flex;
    list-style: none;
    gap: 5px;
    justify-content: center;
}

.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
    padding: 12px 18px;
    color: #E8E8EA;
    font-weight: normal;
}

.blog-pagination .current,
.blog-pagination .page-numbers li a:hover {
    border-radius: 8px;
    background: #FFF2E8;
    color: #0D1F46 !important;
}

.blog-pagination {
    margin-top: 50px;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.blog-header h1,
.post-container h1 {
    margin-top: 0px;
}

.post-container {
    margin: auto;
}

.post-container .author-date {
    justify-content: flex-start;
    margin-bottom: 30px;
}

.post-container .page-header img {
    margin-bottom: 20px;
}

.post-container img {
    max-height: 460px;
    object-fit: cover;
    width: 100%;
    border-radius: 12px;
}

.post-nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

a.post-nav-link {
    color: #0D1F46;
}

hr.post-nav-divider {
    border: 1px solid #E8E8EA;
    margin-top: 35px;
    margin-bottom: 25px;
}

.related-posts {
    margin-top: 50px;
}

.entry-title a {
    color: #0D1F46;
}

/* End Blog */

/* 404 Styles */
.not-found-page {
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 100% !important;
    background: linear-gradient(0deg, rgba(20, 22, 36, 0.40) 0%, rgba(20, 22, 36, 0.40) 100%), url(/wp-content/uploads/2026/01/Why-Build-Us-Bg-Image.webp) lightgray -57px -157.381px / 108.676% 170.873% no-repeat;
    background-size: cover;
    background-position: center;
    color: #FFF;
    font-size: 18px;
}

.not-found-page .numbers-text {
    color: #FFF;
    font-weight: bold;
    font-size: 10em;
    margin-bottom: -25px;
    display: block;
    line-height: normal;
}

.not-found-page h1 {
    color: #FFF;
}

.not-found-page .numbers-text {
    color: #FFF;
    font-weight: bold;
}

@media only screen and (max-width: 992px) {
    .header-button {
        display: none;
    }

    .grid-posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 768px) {
    .grid-posts {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .featured-post {
        margin-bottom: 30px;
        padding-bottom: 30px;
        grid-template-columns: 100%;
        gap: 20px;
    }

    .content-title-blog {
        margin-bottom: 20px;
    }

    .blog-main,
    .post-container {
        padding: 110px 20px 60px;
    }

    .blog-header {
        margin-bottom: 30px;
    }

    .post-container img {
        max-height: 300px;
    }

    #post-content .entry-title {
        font-size: 35px;
    }

    .featured-post-image {
        max-height: 350px;
    }

    h2.content-title-blog {
        font-size: 28px;
    }

    .not-found-page .numbers-text {
        font-size: 7em;
    }
}