/*!
Theme Name: Qrowd Child theme
Theme URI: https://bracketweb.com/qrowdwp/
Template: qrowd
Author: Bracket Web
Author URI: https://themeforest.net/user/bracket-web
Description: This is a Child theme for Qrowd WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: qrowd-child
*/

/* Blog/news sidebar: keep only Search and Latest Posts */
.news-details .sidebar .widget-area > section,
.news-sidebar .sidebar .widget-area > section {
    display: none !important;
}

.news-details .sidebar .widget-area > section#block-2,
.news-details .sidebar .widget-area > section#recent-posts-widget-with-thumbnails-1,
.news-sidebar .sidebar .widget-area > section#block-2,
.news-sidebar .sidebar .widget-area > section#recent-posts-widget-with-thumbnails-1 {
    display: block !important;
}

/* Simple Lightbox: hide title area */
.slb_template_tag_item_title,
.slb_data_title {
    display: none !important;
}

/* Header language switcher: Polylang replaces the old GTranslate output */
.gtranslate_wrapper,
.gt_switcher_wrapper,
.gt_float_switcher,
.skiptranslate,
a.glink {
    display: none !important;
}

.renature-language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 0 0 4px 4px;
    background: #183d36;
    color: #ffffff;
    font-family: var(--qrowd-font, inherit);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.renature-language-switcher__link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.renature-language-switcher__link:hover,
.renature-language-switcher__link:focus,
.renature-language-switcher__link.is-active {
    color: #ffffff;
    opacity: 0.72;
}

@media (max-width: 767px) {
    .renature-language-switcher {
        gap: 7px;
        min-height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/* News cards same height + title limit */
.news-page .row {
    display: flex;
    flex-wrap: wrap;
}

.news-page .col-xl-4,
.news-page .col-lg-4,
.news-page .col-md-6 {
    display: flex;
}

.news-page .news-one__single {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.news-page .news-one__content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-page .news-one__title {
    min-height: 70px;
}

.news-page .news-one__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-page .news-one__bottom {
    margin-top: auto;
}
