/*
 Theme Name:   Salient Child
 Description: An Ultra Responsive Multi-Purpose Theme.
 Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
 Author:      ThemeNectar
 Author URI:  https://themeforest.net/user/themenectar
 License:     Custom license
 License URI: https://themeforest.net/licenses/terms/regular
 Text Domain: salient
 Template:     salient
 Version:      1.0.0
*/

/* Import parent theme styles */
@import url("../salient/style.css");


.meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.meta-top .fn,
.meta-top .meta-date {
    display: inline-block;
}

.content a.style-underline-custom, a.accent-color {
    position: relative;
    text-decoration: none !important;
    color: inherit;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.3s ease-in-out;
}

.content a.style-underline-custom:hover, a.accent-color:hover {
    background-size: 100% 1px;
}

.content .meta-category a {
    font-weight: 500;
    line-height: 1.1em;
}

.custom-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-post {
    background: #fff;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

.custom-post .thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.custom-post .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-post .meta-top {
    font-size: 13px;
    color: #333;
    margin-top: 20px;
}

.custom-post .category {
    margin-right: 8px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-post .category:hover {
    color: #f60;
}

.custom-post .post-title {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
    color: #000;
}

.custom-post .post-author {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.custom-post.col-3 {
    width: calc(33.333% - 13.33px);
}

.custom-post.col-2 {
    width: calc(50% - 10px);
}

@media (max-width: 768px) {
    .custom-post.col-3,
    .custom-post.col-2 {
        width: 100%;
    }

    .custom-post.col-3:not(:last-child),
    .custom-post.col-2:not(:last-child) { 
        margin-bottom: 25px;
    }
}

.custom-post .thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.custom-post .thumb a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.custom-post .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-post .thumb:hover img {
    transform: scale(1.05);
}

.meta-author-w {
    width: 100%;
}

.nectar-link-underline-effect {
    margin-bottom: 10px;
}

.addtoany_list a, .widget .addtoany_list a:first-child {
    padding-left: 0 !important;
    margin-right: 10px;
}

.custom-card-shadow {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 20px;
    background: #fff;

}

.custom-card-shadow p {
    margin: 0;
    width: 100% !important;
    max-width: 100% !important;
}

#pagination a, #pagination span.page-numbers {
    text-decoration: none;
}

.custom-grid-wrapper {
    margin-bottom: 40px;
}

.featured-media-under-header__featured-media {
    margin-top: 25px !important;
}

.single-post .post-content p, .single-post .post-content .wp-block-heading {
    max-width: 60%;
    margin: 0 auto;
}


.single-post .post-content h2 {
    text-align: left;
    margin-bottom: 24px !important;
}


body.single-post .content-inner > .post-tags {
    margin-top: 40px;
}

.related-title {
    margin-bottom: 0;
}

#author-bio .span_12 {
    display: flex;
    justify-content: center;
}

.post-content .content-inner {
    padding-bottom: 40px;
}

.addtoany_list a.a2a_button_facebook_messenger {
    margin-right: 15px;
    margin-left: 10px;
}

.addtoany_list a img {
    width: 30px;
    height: 30px
}

.featured-media-under-header__meta-wrap {
    margin-bottom: 25px;
}

.blog-archive-header.color-bg h1 {
    color: #982c1f !important;
}

.category h1, .section-title h1 {
    color: #982c1f !important;
    font-size: 90px !important;
}

.container-wrap {
    padding-top: 0 !important;
}

.content a {
    color: #000;
}

a.wpp-post-title {
    margin-top: 5px;
    margin-bottom: 5px;
}


#more-stories {
    padding: 0 !important;
    background-color: transparent !important;
    color: #982c1f !important;
    font-size: 18px;
    width: fit-content ;
}

.page-header-no-bg {
    padding: 40px 0 !important;
}

.row .col.section-title {
    margin: 0;
    padding: 40px 0;
    border: 0 !important;
}

.nectar-post-grid-wrap:not([data-style=content_overlaid]) .nectar-post-grid .nectar-post-grid-item .content {
    padding-top: 15px;
}

body #page-header-bg h1, html body .row .col.section-title h1, .nectar-box-roll .overlaid-content h1, .featured-media-under-header h1 {
    line-height: 1.3 !important;
}

@media only screen and (max-width: 690px) {
    body .featured-media-under-header h1 {
        font-size: 24.75px;
        line-height: 36.85px;
    }

    .single-post .post-content p, .wp-block-heading {
        max-width: 100% !important;
    }

    .blog-archive-header h1, .section-title h1 {
        font-size: 45px !important;
    }

    .wp-block-heading {
        margin-bottom: 15px !important;
    }

}

.primary-color {
    color: #982c1f !important;
}

.primary-color a {
    text-decoration: none;
}

#footer-widgets .container div.row {
    border-top: 1.4px solid #982c1f;
}

body .widget h4, body #footer-outer .widget h4 {
    font-weight: bold !important;
}

.mobile {
    display: none;
}

.story .wpb_wrapper .clear{
    margin-bottom: 0 !important;
}


@media screen and (max-width: 1024px) {
  

    .story .wpb_wrapper {
        display: flex;
        flex-direction: column; /* nếu bạn muốn theo trục dọc như block */
    }

    .story .wpb_wrapper > div:last-child {
        order: 2;
    }


    .trending {
        order: 1;
    }
}

.wpb_row.full-width-content,.wpb_row.full-width-section,body.material .wpb_row.full-width-content,body.material .wpb_row.full-width-section {
    padding-bottom: 0 !important;
}

.desktop{
    display: block;
}

@media screen and  (max-width: 1024px)  {
   

    .divider-border{
        display: none;
    }
}
@media screen and (max-width: 767.98px) {
#more-stories {

    width: 100%;
    text-align: center;
}
}

@media only screen and (min-width: 1000px) {
    .container,body[data-header-format="left-header"] .container,.woocommerce-tabs .full-width-content .tab-container,.nectar-recent-posts-slider .flickity-page-dots,.post-area.standard-minimal.full-width-content .post .inner-wrap,.material #search-outer #search {
        width: 92%;
        margin: 0 auto;
        padding: 0 110px;
    }
}

@media screen and (max-width: 820px) {
    .mobile {
        display: block;
    }
    
     .desktop{
        display: none;
    }
}