/* Регулярний шрифт 'Bandera Pro' */
@font-face {
  font-family: 'Bandera Pro';
  src: url('assets/font/BanderaPro.woff2') format('woff2'),
    url('assets/font/BanderaPro.woff') format('woff'),
    url('assets/font/BanderaPro.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Жирний шрифт 'Bandera Pro' */
@font-face {
  font-family: 'Bandera Pro';
  src: url('assets/font/BanderaPro-Bold.woff2') format('woff2'),
    url('assets/font/BanderaPro-Bold.woff') format('woff'),
    url('assets/font/BanderaPro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Fonts */
:root {
  font-family: 'Bandera Pro', sans-serif;
  --font-primary: 'Bandera Pro', sans-serif;
}

/* Colors */
:root {
  --color-default: #000000;
  --color-primary: #004F92;
  --color-primary-2: #76B7DD;
  --color-secondary: #E1EEF6;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
  # General
  --------------------------------------------------------------*/
body {
  font-family: var(--font-primary);
  color: var(--color-default);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-2);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
}

.time {
  color: #373737;
  font-size: 0.7rem;
}

h4 {
  font-size: 0.9rem;
}

a {
  color: var(--color-default);
}

a:hover {
  color: var(--color-primary);
}

#left-container, #right-container {
  opacity: 0; /* Встановити прозорість елементів у 0 */
  visibility: hidden; /* Спочатку елементи невидимі */
  transition: opacity 1s ease, visibility 1s ease; /* Плавна зміна прозорості і видимості */
}

.popular-title {
  font-size: .8rem;
}


/*logo section*/
.logo-container h1 {
  color: white;
}

@media screen and (max-width : 320px) {
  .logo-container h1 {
    font-size: .62rem;
  }
}

@media (min-width : 320.5px) and (max-width : 575.5px) {
  .logo-container h1 {
    font-size: .81rem;
  }
}

@media (min-width : 575.5px) and (max-width : 991.5px) {
  .logo-container h1 {
    font-size: .73rem;
  }
}

@media (min-width : 991.5px) and (max-width : 1199.5px) {
  .logo-container h1 {
    font-size: .62rem;
  }
}

@media (min-width : 1199.5px) and (max-width : 1399.5px) {
  .logo-container h1 {
    font-size: .79rem;
  }
}

@media (min-width : 1399.5px) {
  .logo-container h1 {
    font-size: .95rem;
  }
}
/*
.meteoprog-informer {
  width: 100% !important;
}

.constructor__city-body-0 {
  display: none;
}

.constructor__city-body-1 {
  filter: brightness(0) invert(1);
}

.constructor__dashed-border.minimal-theme.medium .constructor__city-body-2 {
  padding: 0px!important;
  font-size: 18px!important;
}
  */

  /* погода */

  .meteogovua-informer-size-small {
        background-color:rgba(255, 255, 255, 0);
        border: none;
    }

    meteogovua-informer {
      width: 100%!important;
      min-width: 100%!important;
      max-width: 100%!important;
      display: block;
      position: relative;
      padding: 0px!important;
    }

    meteogovua-informer-header {
        display: none!important;
    }

    meteogovua-informer-cw-p {
        display: none!important;
    }

    meteogovua-informer-cw {
        border: none!important;
        justify-content: space-evenly;
    }

    meteogovua-informer-pr {
        display: none!important;
    }

    meteogovua-informer-footer {
        display: none!important;
    }

    meteogovua-informer-cw-i {
        width: 40px!important;
        height: 40px!important;
        min-width: 40px!important;
        min-height: 40px!important;
        max-width: 40px!important;
        max-height: 40px!important;
    }

    meteogovua-informer-cw-t {
    font-size: 1.2em!important;
    margin-left: 5px!important;
    }

    .meteo_cop {
      position: relative;
      margin-top: -10px!important;
    }

    .meteo_cop a {
      color: white!important;
      font-size: 12px;
    }

  /* погода */

/* курс валют */

#IUAfinance1 * {
  margin: 0;
  padding: 0;
}

#IUAfinance1 a,
#IUAfinance1 a:hover {
  border: none;
  text-decoration: underline;
  color: inherit;
}

#IUAfinance1 .IUAfinance_title {
  display: none;
}

#IUAfinance1 .IUAfinance_title i {
  display: none;
}

#IUAfinance1 .IUAfinance_content,
#IUAfinance1 .IUAfinance_content:hover {
  display: block;
  background: transparent;
  text-decoration: none;
  color: inherit;
}

#IUAfinance1 .IUAfinance_head_title {
  display: none;
}

#IUAfinance1 .IUAfinance_item,
#IUAfinance1 .IUAfinance_head {
  padding: 4px 0;
}

#IUAfinance1 .IUAfinance_item:last-child {
  padding-bottom: 0;
}

#IUAfinance1 .IUAfinance_item {
  border-top: 1px dotted #DDD;
  font-size: 12px;
  font-family: var(--font-primary);
}

#IUAfinance1 .IUAfinance_item_title,
#IUAfinance1 .IUAfinance_item_data {
  display: inline-block;
  vertical-align: top;
  width: 42%;
  text-align: right;
}

#IUAfinance1 .IUAfinance_item_title:first-child,
#IUAfinance1 .IUAfinance_item_data:first-child {
  width: 16%;
  text-align: left;
}

#IUAfinance1 .IUAfinance-increase:before {
  content: "\25B2";
  color: #40983c;
  font-size: 11px;
}

#IUAfinance1 .IUAfinance-decrease:before {
  content: "\25BC";
  color: #ed482e;
  font-size: 11px;
}

.IUAfinance_title, #IUAfinanceLink {
  display: none;
}

#IUAfinance1 {
  position: relative;
  width: 100% !important;
  min-width: 100% !important;
  padding: 0px 0px;
}

#IUAfinance1 .IUAfinance_content, #IUAfinance1 .IUAfinance_content:hover {
  padding: 0px;
  margin-bottom: 0px;
}

#IUAfinance1 .IUAfinance_block {
  overflow: hidden;
  padding: 4px;
  font-family: var(--font-primary);
  font-size: 10px;
  background: transparent;
  border: none;
  color: #fff;
}

/* курс валют */

.logo-section {
  background-color: var(--color-primary);
  min-height: 120px;
}

.top-news-desc {
  color: white;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 0px;
}

.top-news-desc:hover {
  color: var(--color-secondary);
}

.social-icons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.social-icon {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0 3px;
  transition: background-color 0.3s ease;
}

.social-icon-author {
  width: 20px;
  height: 20px;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

.social-icon-author i {
  font-size: 20px;
}

.social-icon a {
  color: white;
  font-size: 15px;
}

.social-icon:hover {
  background-color: var(--color-primary);
}

.social-icon:hover a {
  color: var(--color-primary-2);
}

/*end logo section*/


/*menu section*/
.spectema-nav {
  color: white;
  font-size: 6px;
  background-color: #000000;
  padding: 2px;
  letter-spacing: .8px;
  font-weight: 100;
  top: -14px;
  position: relative;
}

.menu-section {
  background-color: var(--color-secondary);
  min-height: 45px;
}

.navbar {
  padding-top: 0px;
  padding-bottom: 0px;
}

.menu-item {
  font-weight: 700;
}

.menu-item a {
  color: var(--color-primary);
  text-transform: uppercase;
}

.menu-item a:hover {
  border-bottom: 3px solid;
  padding-bottom: 0px;
}

.current_page_item a {
  color: var(--color-default);
}

.menu-item a {
  padding-right: var(--bs-navbar-nav-link-padding-x);
  padding-left: var(--bs-navbar-nav-link-padding-x);

}


.uanews-btn {
  border: 0;
  background-color: var(--color-primary);
  min-height: 45px;
  padding-left: 10px;
  padding-right: 10px;
}

.uanews-btn a {
  color: white!important;
  font-weight: 700;
}

.uanews-btn a:hover {
  color: var(--color-secondary)!important;
  font-weight: 700;
}

.uanews-section-nav a {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
}

.author-btn a {
  color: var(--color-primary);
  font-weight: 700;
}

#mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  /* Приховуємо меню за лівим боком екрану */
  width: 80%;
  /* Ширина меню */
  height: 100%;
  transition: left 0.3s ease;
  /* Анімація переходу */
}

#mob-menu-btn {
  transition: 0.3s ease;
}

#mobile-nav.open {
  left: 0;
  /* Показуємо меню на екрані */
  z-index: 9999999;
}

#nav-toggle-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#nav-toggle-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#nav-toggle-btn .bar1,
#nav-toggle-btn .bar2,
#nav-toggle-btn .bar3 {
  display: block;
  width: 20px;
  height: 1px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.3s;
}

#nav-toggle-btn.open .bar1 {
  transform: rotate(-45deg) translate(-4px, 4.5px);
}

#nav-toggle-btn.open .bar2 {
  opacity: 0;
}

#nav-toggle-btn.open .bar3 {
  transform: rotate(45deg) translate(-4px, -4.5px);
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

#mobile-nav-btn-container {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: rgba(248, 249, 250, 0.75);
}

#mobile-nav {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: rgba(248, 249, 250, 0.75);
}

#mobile-nav {
  border: 1px solid #efefef;
  -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.05);
}

.mr-top-55 {
  margin-top: 55px !important;
}

.custom-nav-dd .dropdown-link {
  color: #fff;
  display: inline-block;
  padding: 10px 10px;
  border-radius: 4px;
  border: 1px solid transparent !important;
}

.custom-nav-dd .dropdown-link:hover {
  border: 1px solid #efefef;
  -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.05);
}

.custom-nav-dd .dropdown-item {
  color: #fff;
  padding: 5px 10px;
}

.custom-nav-dd .dropdown-item:hover {
  font-weight: 700;
  color: var(--color-primary);
  padding: 5px 10px;
  border-bottom: none;
  padding-bottom: 5px;
}

.custom-nav-dd .dropdown-menu {
  border: 1px solid transparent;
  -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
  -webkit-transition: margin-top .3s ease, opacity 0.3s ease;
  -o-transition: margin-top .3s ease, opacity 0.3s ease;
  transition: margin-top .3s ease, opacity 0.3s ease;
  margin-top: -7px;
  min-width: 200px;
  background-color: var(--color-primary);
}

.mabile-menu {
  padding: 15px 15px;
}

/*menu section*/



/*top-4*/

.top-4-bg {
  background-color: var(--color-primary);
  padding-top: 15px;
  padding-bottom: 15px;
}

.top-4-title {
  text-transform: uppercase;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
}

.top-4-url a {
  color: white;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.top-4-url a:hover {
  color: var(--color-secondary);
  text-transform: uppercase;
  font-size: 0.7rem;
}

.top-4-url span {
  color: var(--color-secondary);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
}

.top-4-news-title h3 {
  font-size: 0.8rem;
  color: white;
  margin-bottom: .5rem;
}

.top-4-news-title h3:hover {
  color: var(--color-secondary);
}

.top-4-date {
  color: white;
  font-size: 0.7rem;
}

/*end top-4*/

/* news line */

.news-line h2 {
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.1rem;
}

.news-line ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.news-line .time {
  color: #373737;
  font-size: 0.9rem;
}

.news-line a {
  color: var(--color-default);
  font-size: 0.9rem;
}

.news-line a:hover {
  color: var(--color-primary-2);
  font-size: 0.9rem;
}

.news-line p {
  line-height: 1;
}

.news-line .blue-news a {
  font-weight: 700;
  color: var(--color-primary);
}

.news-line .blue-news a:hover {
  font-weight: 700;
  color: var(--color-primary-2);
}


.news-line .black-news a {
  font-weight: 700;
  color: var(--color-default);
}

.news-line .black-news a:hover {
  font-weight: 700;
  color: var(--color-primary-2);
}

.news-widget-img {
  width: 100%;
  height: 70px;
  overflow: hidden;
}

.widget_media_image img {
	width:100%;
	height:auto;
}

/* end news line */

/* top 1 news */

.top-1-news h3 {
  font-size: 1.3rem;
}

.top-1-news a {
  color: var(--color-default);
}

.top-1-news a:hover {
  color: var(--color-primary);
}

.top-1-news .time {
  color: #373737;
  font-size: 0.8rem;
}

.top-news-second {
  font-size: 0.9rem !important;
}

.time-second-news {
  font-size: 0.7rem;
  color: #373737;
}

.homepage-top1-thumb {
  max-width: 700px;
  max-height: 290px;
  overflow: hidden;
}

.homepage-top2-thumb {
  max-width: 420px;
  max-height: 160px;
  overflow: hidden;
}

.homepage-top2-thumb-red {
  max-width: 112px;
  max-height: 65px;
  overflow: hidden;
}

.home-second-news {
  font-size: 1rem;
}

.homepage-kur-thumb {
  max-width: 196px;
  max-height: 191px;
  min-height: 191px;
  overflow: hidden;
}

.homepage-kur-thumb img {
  object-fit: cover;
}

/* top 1 news */

/* tv-box */

.tv-box {
  border-radius: 20px;
  border-width: 2px;
  border-color: var(--color-primary);
  border-style: solid;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 20px;
}

.tv-box h2 span {
  color: var(--color-primary);
}

.tv-box h2 {
  font-size: 1.25rem;
}


.video-js {
  width: 100% !important;
  height: auto;
}

/* end tv-box */

/* 4 sq news */

.cat-title {
  text-transform: uppercase;
}

.cat-title h2{
  font-size: 1.25rem;
  font-weight: 700;
}

.cat-title div{
  font-size: 1.25rem;
  font-weight: 700;
}

.cat-link,
.blog-link a {
  font-size: 0.7rem !important;
  color: var(--color-default) !important;
  font-weight: 700;
}

.cat-link,
.blog-link a:hover {
  font-size: 0.7rem !important;
  color: var(--color-primary-2) !important;
  font-weight: 700;
}

.cat-link,
.blog-link span {
  font-size: 0.7rem !important;
  color: var(--color-primary) !important;
  font-weight: 700;
}

.news-4 .time {
  color: #373737;
  font-size: 0.7rem;
}

.news-4 h3 {
  font-size: 0.9rem;
}

.news-4 a {
  color: var(--color-default);
}

.news-4 a:hover {
  color: var(--color-primary);
}

/* end 4 sq news */

/* war rf */
.war-title {
  color: var(--color-primary) !important;
}

.orks {
  color: var(--color-default);
  font-size: 1.1rem;
  text-transform: lowercase;
  text-decoration: line-through;
}

.orks-nav {
  color: var(--color-default);
  text-transform: lowercase;
  text-decoration: line-through;
  font-weight: 300;
}

/*end war rf */

/* blog */



.blog-text p {
  font-size: 12px;
}

.author_blog_index {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary);
}

.author_blog_index:hover {
  color: var(--color-primary-2);
}

.author-activity {
  font-size: 0.7rem;
}

.author-posts-author-page {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
}

.author-posts-author-page:hover {
  color: var(--color-default);
}

.rozd {
  min-height: 15px;
}

/*end blog */

.one-category-post-title {
  min-height: 55px;
  font-size: 1rem;
  font-weight: 700;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 350px;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}

/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}

/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0;
  /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1rem;
    font-size: .7rem;
    line-height: 1.4;
  }

  .carousel-caption h3 {
    margin-bottom: 1.3rem;
    font-size: 1.4rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

/* footer */
.footer {
  background-color: var(--color-primary);
  color: white;
  min-height: 240px;
  width: 100%;
  margin-top: 100px;
}

.footer-desc {
  font-size: 12px;
}

.footer-nav ul li {
  display: inline-block;
  margin-left: 20px;
  margin-right: 20px;
}


.footer-nav ul {
  flex-direction: row;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .footer-nav ul {
    margin-top: 15px;
    flex-direction: column !important;
  }
}

.footer-nav .menu-item a {
  color: white;
  font-size: 14px;
  padding-bottom: 5px;
}

.footer-nav .menu-item a:hover {
  text-decoration: underline;
  border-bottom: none;
  padding-bottom: 5px;
}

.footer-nav .menu-item {
  font-weight: 300;
}

.footer .social-icons-row {
  justify-content: end;
}

.footer .social-icon a {
  font-size: 20px;
}

.footer .social-icon {
  margin: 0 5px;
}

.scroll-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* end footer */

/* single post */

.adv-post {
  padding: 3px 5px 3px 5px;
  color: var(--color-secondary);
  background-color: var(--color-primary);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.wp-audio-shortcode {
  margin-top: 15px;
}

.google-news {
  border-radius: 10px;
  padding: 10px;
  background-color: var(--color-primary);
  margin-bottom: 1rem;
}

.google-news:hover {
  background-color: #003d70;
}

.google-news span{
  font-size: 25px;
  font-weight: 700;
  color: white;
}

@media (max-width: 767.98px) {
  .google-news span{
    font-size: 20px;
    font-weight: 700;
  }
}

.subscribe-img {
  width: 30px!important;
  height: auto;
  margin-right: 15px;
}

.telegram {
  border-radius: 10px;
  padding: 10px;
  background-color: #169ddf;
}

.telegram:hover {
  background-color: #1586bf;
}

.telegram span{
  font-size: 25px;
  font-weight: 700;
  color: white;
}

@media (max-width: 767.98px) {
  .telegram span{
    font-size: 20px;
    font-weight: 700;
  }
}

.single-head h1 {
  color: var(--color-primary);
  font-size: 55px;
  line-height: 1.1;
}

@media (max-width: 767.98px) {
  .single-head h1 {
    color: var(--color-primary);
    font-size: 35px;
    line-height: 1.1;
  }
}

.single-head h2 {
  color: var(--color-primary-2);
  font-size: 20px;
  margin-top: 35px;
  line-height: 1.1;
}

.thumbnail-container {
  max-width: 700px;
  max-height: 240px;
  overflow: hidden;
	margin-bottom: 0px;
}


.home-thumbnail-container {
  max-width: 700px;
  max-height: 290px;
  overflow: hidden;
}

.category-thumbnail-container {
  max-width: 700px;
  max-height: 200px;
  overflow: hidden;
}

.share-text {
  font-size: 13px;
}

.share-btn-row {
  display: flex;
  align-items: center;
}

.share-btn {
  text-align: center;
  float: right;
  margin: 1px;

}

.share-btn a {
  color: #b9b9b9;
  text-align: center;
  padding: 5px 10px 5px 10px;
}

.share-btn a:hover {
  color: var(--color-primary);
}

.viber-btn {
  fill: #b9b9b9;
}

.viber-btn :hover {
  fill: var(--color-primary);
}

.gray-text {
  color: #b9b9b9;
}

/* Позиціонування зображень lightbox */
.glightbox {
  display: block;
  /* Забезпечити блоковий вигляд для зображення */
  margin: 0 auto;
  /* Вирівняти по центру горизонтально */
  max-width: 100%;
  /* Максимальна ширина зображення */
  height: auto;
  /* Автоматична висота зображення */
}

img.aligncenter {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 100%;
  height: auto;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 100%;
  height: auto;
  margin: 5px auto 1.25em;
}

.alignright {
  float: right;
  margin: 0 0 1em 1em
}

.alignleft {
  float: left;
  margin: 0 1em 1em 0
}

img.alignright {
  float: right;
  margin: 0 0 1em 1em
}

img.alignleft {
  float: left;
  margin: 0 1em 1em 0
}

a img.alignright {
  float: right;
  margin: 0 0 1em 1em
}

a img.alignleft {
  float: left;
  margin: 0 1em 1em 0
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto
}

.single-content p {
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
}

.single-content iframe {
  max-width: 100%;
}

.single-content  h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
}


.single-content {
  overflow: hidden;
}



.single-content h2 {
  font-size: 2.2rem;
  color: var(--color-default);
}

.single-content h3 {
  font-size: 2rem;
  color: var(--color-default);
}

.single-content h4 {
  font-size: 1.8rem;
  color: var(--color-default);
}

.single-content h5 {
  font-size: 1.6rem;
  color: var(--color-default);
}

.single-content h6 {
  font-size: 1.4rem;
  color: var(--color-default);
}

.single-content img {
  max-width: 100%;
}

.single-content ul li {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.single-content ol li {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.single-content ul, ol {
  margin-bottom: 1rem;
}

.single-content a {
  color: var(--color-primary);
}

.single-content a:hover {
  color: var(--color-primary-2);
}

.single-content table {
  display: inline-block;
  overflow-x: auto;
  margin: 0.5em 0 2.5em;
  max-width: 100%;
  width: auto;
  border-spacing: 0;
  border-collapse: collapse;
  font-display: swap;
  white-space: nowrap;
  vertical-align: top;
}


.single-content table tr:nth-child(odd) {
  background-color: var(--color-secondary);
}

.single-content table td {
  padding: 6px 12px;
  border: var(--color-secondary) 1px solid;
}

.see-also-container {
  margin-bottom: 2.2rem;
}

.see-also-ul {
  list-style-type: none;
}

.see-also-ul {
  padding-left: 1rem;
  padding-right: 1rem;
}

.see-also-ul li {
  margin-top: 10px;
}

.see-also-ul li i {
  margin-right: 10px;
}

.see-also-ul li a {
  font-weight: 600;
  color: var(--color-primary);
}

.see-also-ul li a:hover {
  font-weight: 600;
  color: var(--color-primary-2);
}

figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: #808080;
}

blockquote {
  border-left: 5px solid var(--color-primary);
  padding: 15px 15px 1px 15px;
  border-radius: 5px;
  background-color: var(--color-secondary);
  margin-bottom: 2.2rem;
  margin-top: 2.2rem;
}

[style*="--aspect-ratio"]> :first-child {
  width: 100%;
}

[style*="--aspect-ratio"]>img {
  height: auto;
}

@supports (--custom:property) {
  [style*="--aspect-ratio"] {
    position: relative;
  }

  [style*="--aspect-ratio"]::before {
    content: "";
    display: block;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
  }

  [style*="--aspect-ratio"]> :first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
}

.wp-video {
  width: 100%!important;
}

.our-social-box-show {
  margin-top: 30px;
}

.our-social-box-show p {
  font-size: 1rem;
}

.our-social-box-show a {
  color: var(--color-primary);
}

.our-social-box-show a:hover {
  color: var(--color-primary-2);
}

.content-link-before,
.content-link-after {
  position: fixed;
  top: 200px;
  max-width: 200px;
}

.content-link-before a,
.content-link-after a {
  display: flex;
  height: 100%;
  /* Наповнити весь блок */
}

.content-link-before img,
.content-link-after img {
  width: 100%;
  /* Розміри зображень */
  height: auto;
  /* Автоматична висота для збереження пропорцій */
}

.advert {
  width: 100%;
  height: 100%;
  position: fixed;
}

#single-news {
  background-color: white;
}

.carousel-item img {
  filter: blur(2px);
}

.img-fon {
  background-color: rgba(0, 0, 0, .5);
  height: 100%;
  position: absolute;
  width: 100%;
}

/* Zoom In */
.zoom-img figure img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

.zoom-img figure:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Медіа-запит для малих екранів */
@media only screen and (max-width: 1367px) {

  .content-link-before,
  .content-link-after {
    display: none;
    /* Приховати на малих екранах */
  }
}

/* gallery in post */
/* Стилізує контейнер галереї */
.gallery {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Стилізує кожен елемент галереї */
.gallery-item {
  padding: 5px;
  flex-grow: 1;
  box-sizing: border-box;
}

/* Стилізує посилання у галереї */
.gallery-item a {
  display: block;
  overflow: hidden;
  position: relative;
}

/* Стилізує зображення у галереї */
.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  display: block;
}

/* Ефект наведення для зображень */
.gallery-item img:hover {
  transform: scale(1.05);
}

/* Медіа-запити для адаптивної галереї */
@media (max-width: 800px) {
  .gallery-item {
      width: 50%;
  }
}

@media (max-width: 500px) {
  .gallery-item {
      width: 100%;
  }
}

/* Додаємо прозорість до зображень, які не є наведеними */
.gallery-item img {
  opacity: 0.8;
}

.gallery-item img:hover {
  opacity: 1;
}

/* gallery post end */

/* gallery post */
.owl-pagination {
  text-align: center;
  /* Центруємо точки */
  margin-top: -40px;
  margin-bottom: 20px;
}

.owl-page {
  display: inline-block;
  /* Робимо точки блоками */
  width: 10px;
  /* Задаємо ширину точок */
  height: 10px;
  /* Задаємо висоту точок */
  margin: 0 5px;
  /* Задаємо відступи між точками */
  background-color: var(--color-secondary);
  /* Колір точок */
  border-radius: 50%;
  /* Округлюємо кути для створення круглих точок */
}

.owl-page.active {
  background-color: var(--color-primary);
  /* Колір активної точки */
}


#uan-owl .item img {
  display: block;
  width: 100%;
  height: auto;
}

.post-slider-container {
  border-radius: 10px;
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  min-height: 500px;
  padding-top: 56.25%;
  /* Пропорції 16:9 */
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .gallery-thumb {
    display: none;
  }

  .post-slider-container {
    min-height: 300px;
    margin-bottom: 40px;
  }

  .image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    display: flex;
    /* Використовуємо flexbox для центрування */
    justify-content: center;
    /* Центруємо по горизонталі */
    align-items: center;
    /* Центруємо по вертикалі */
  }

  .image-wrapper img {
    min-width: 100%;
    /* Зображення буде мати мінімальну ширину 100% */
    min-height: 100%;
    /* Зображення буде мати мінімальну висоту 100% */
    object-fit: cover;
  }
}

.image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-wrapper img {
  width: 100%;
  /* Заповнює всю ширину контейнера */
  height: auto;
  /* Автоматична висота, щоб зберігти пропорції зображення */
  display: block;
  /* Встановлює зображення як блоковий елемент */
  position: absolute;
  /* Позиціонує зображення відносно контейнера */
  top: 50%;
  /* Позиція зверху на 50% відносно контейнера */
  left: 50%;
  /* Позиція зліва на 50% відносно контейнера */
  transform: translate(-50%, -50%);
  /* Зміщує зображення на 50% в обидва напрямки */
}

.owl-carousel {
  overflow: hidden;
  max-width: 100%;
}

/* Стилі для кнопок-стрілок */
.owl-prev,
.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  /* ширина стрілок */
  height: 40px;
  /* висота стрілок */
  border-radius: 50%;
  /* круглі стрілки */
  color: #fff;
  /* колір стрілок */
  opacity: 0.5;
  font-size: 35px;
  /* розмір іконок стрілок */
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 9999;
  /* забезпечити відображення поверх зображень */
}

.owl-prev:hover,
.owl-next:hover {
  opacity: 1;
}

.owl-prev {
  left: 10px;
  /* відступ для стрілки вліво */
}

.owl-next {
  right: 10px;
  /* відступ для стрілки вправо */
}

/* end single post */

/* сторінка архіву постів */
.archive-title {
  background-color: var(--color-secondary);
  margin-top: 50px;
  min-height: 100px;
  display: flex;
}

.border-left {
  border-left: var(--color-primary) 5px solid;
}

.item-photo-title {
  font-size: 1.2rem;
}

.category-post-meta {
  color: #808080;
  font-size: 10px;
}

.cat-namees {
  color: var(--color-primary);
}

.pagination .page-item .page-link {
  border-radius: 0%;
  border-color: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
}

.active>.page-link {
  color: #fff !important;
  background-color: var(--color-primary);
}


.blog-post {
  position: relative;
  background-color: var(--color-secondary);
  min-height: 300px;
  padding: 24px;
}

.blog-post .archive-post-excerpt {
  font-size: 16px;
}

.blog-post a {
  color: var(--color-primary);
}

.blog-post a:hover {
  color: var(--color-primary-2);
}

.blog-post .post-date {
  font-size: 10px;
}

.blog-post .post-author {
  margin-bottom: 0px;
}

.blog-post .post-author-img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.blog-post h3 {
  font-size: 1.4em;
}
/* сторінка архіву кінець */

/* Найпопулярніше */
.top-title div{
  font-size: 1.25rem;
}

.top-title span{
  color: var(--color-primary);
}

.pupular-number {
  color: var(--color-primary-2);
  font-weight: 700;
  font-size: 2rem;
}

.pupular-title h2 {
  font-size: .8rem;
  line-height: 1.2;}
/* Найпопулярніше кінець */