/* 
Theme Name: Hello Child
Theme URI: https://elementor-site.ir/
Description: 
Author: Elementor Site
Author URI: https://elementor-site.ir/
Template: hello-elementor
Version: 1.0.1
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
*/

 .news-primary-category a {
    color: #006b68;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.news-primary-category a:hover {
    color: #e63946;
}


/* =========================
   News Meta Row
========================= */

.news-meta-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    direction: rtl;
}

/* Shortcode widgets */

.news-meta-row .elementor-widget-shortcode {
    width: auto !important;
    flex: 0 0 auto;
    margin: 0 !important;
}

/* Category */

.news-meta-row .news-primary-category a {
    color: #006b68;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* Separator */

.news-meta-row .news-primary-category::after {
    content: "|";
    display: inline-block;
    color: #a0a0a0;
    margin: 0 10px;
    font-weight: 400;
}

/* Relative Date */

.news-meta-row .news-relative-date {
    color: #888;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* Category Hover */

.news-meta-row .news-primary-category a:hover {
    color: #e63946;
}



/* News Title */

.elementor-element-1fe776d .jet-listing-dynamic-field__content {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Excerpt */

.txt_chekide_lastnews .jet-listing-dynamic-field__content {
    font-size: 12px;
    line-height: 1.9;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =====================================
   News Grid - Vertical Separators
   Desktop: 3 columns
===================================== */

.news-grid .jet-listing-grid__item {
    position: relative;
}

/* خطوط جداکننده در دسکتاپ */
@media (min-width: 1025px) {

    .news-grid .jet-listing-grid__item:not(:nth-child(3n)) {
        border-left: 1px solid #d9e0df;
    }

}

/* =====================================
   Tablet: 2 columns
===================================== */

@media (min-width: 768px) and (max-width: 1024px) {

    .news-grid .jet-listing-grid__item:not(:nth-child(2n)) {
        border-left: 1px solid #d9e0df;
    }

}

/* =====================================
   Mobile: 1 column
===================================== */

@media (max-width: 767px) {

    .news-grid .jet-listing-grid__item {
        border-left: none !important;
    }

}
