/*
Theme Name: Newsxo
Theme URI: https://themeansar.com/free-themes/newsxo-free-magazine-blog-wordpress-theme/
Author: Themeansar
Author URI: http://themeansar.com
Description: Newsxo is a fast, clean, modern-looking Best Responsive News Magazine WordPress theme. The theme is fully widgetized, so users can manage the content by using easy to use widgets. Newsxo is suitable for dynamic news, newspapers, magazine, publishers, blogs, editors, online and gaming magazines, newsportals,personal blogs, newspaper, publishing or review siteand any creative website. Newsxo is SEO friendly, WPML,Gutenberg, translation and RTL ready. Live preview : https://demos.themeansar.com/newsxo and documentation at https://docs.themeansar.com/docs/newsxo/
Version: 1.0.2
Tested up to: 6.7
Requires PHP: 7.4
Requires at least: 5.4
Tags: two-columns, three-columns, left-sidebar, right-sidebar, translation-ready, custom-background, custom-logo, featured-images, footer-widgets, full-width-template, blog, e-commerce, entertainment
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl.html
Text Domain: newsxo
*/
.bs-latest-ticker-news {
    display: none !important;
}

/* Убираем обрезку заголовков */
.multi-post-widget .bs-blog-post.three.bsm .title,
.mainfeatured .small-post .title,
.bs-slide .inner .title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
}

/* Стили ссылки в заголовке */
.multi-post-widget .bs-blog-post.three.bsm .title a,
.mainfeatured .small-post .title a,
.bs-slide .inner .title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Подсветка при наведении */
.multi-post-widget .bs-blog-post.three.bsm .title a:hover,
.mainfeatured .small-post .title a:hover,
.bs-slide .inner .title a:hover {
  color: red;
  text-decoration: none;
}

.bs-blog-meta span.bs-blog-date {
  font-size: 10px !important;
}

h4.entry-title.title {
  display: block !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
}

.bs-blog-post p {
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #333 !important; /* можно изменить при необходимости */
  margin-top: 5px;
}

.bs-blog-category {
    display: none !important;
}

/* Убрать обрезку заголовков и задать размер шрифта */
.bs-blog-post .title-wrap .title,
.bs-blog-post .title-wrap .title a,
.bs-blog-post .title.bsm,
.bs-blog-post .title.bsm a {
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

.bs-widget .small-post-content .title {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    font-size: 14px !important; /* 👈 Размер шрифта здесь можно изменить */
    line-height: 1.4;
}

/* Увеличиваем высоту изображения только на странице одной новости */
.single .bs-blog-post.bshre .bs-blog-thumb {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.single .bs-blog-post .bs-blog-thumb img {
    height: 100% !important;
    width: auto !important;
    object-fit: cover !important;
}

.bs-menu-full .logo {
    width: auto !important; 
    padding: 10px 0;
  }

.language-switcher a {
  text-decoration: none;
  color: #000;
  padding: 3px 8px;
  border-radius: 4px;
  transition: 0.2s;
}

.language-switcher a:hover,
.language-switcher a.active {
  background: #f1f1f1;
  color: #d40000;
}