:root {
  --primary-color: #264DB1;
  --bg-color: #262e3a;
  --menu-color: #6b7280;
  --text-color: #6b7280;
  --border-color: rgba(232, 232, 232, 1);
}


@font-face {
  font-family: 'Font Awesome 5 Free';
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Font Awesome 5 Brands';
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}



body {
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
}

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

.primary-menu .menu-item a:visited {
  color: var(--primary-color);
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 8px 0 !important;
}

a {
  text-decoration: none !important;
}

ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

li {
  list-style: none;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="submit"] {
  height: 48px;
  outline: none;
}


.topbar-container {
  background-color: var(--primary-color);
  padding: 8px 10px;
}

/* Header css  */
.primary-menu-nav li a:hover {
  color: var(--primary-color) !important;
}

.entry-header {
  position: inherit;
  top: 0;
  box-shadow: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile {
  display: none;
}

.menu-item {
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
  color: var(--primary-color);
}

.custom-html-widget {
  font-size: 18px;
  line-height: 28px;
}

.topbar-menu .menu-item a::after {
  background-color: #fff;
  height: 2px;
  width: 100%;
  content: "";
  display: block;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}

.topbar-menu .menu-item a:hover:after {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  transition: all 0.25s ease-out;
}

.desktop-menu .menu-item a::after {
  background-color: var(--primary-color);
  height: 2px;
  width: 100%;
  content: "";
  display: block;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}

.desktop-menu .menu-item a:hover:after {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  transition: all 0.25s ease-out;
}

.topbar-menu .current-menu-item>a {
  color: #fff;
}

.current-menu-item>a {
  color: var(--primary-color);
}

.current-menu-item a::after {
  color: #fff !important;
}

.top-bar {
  background: var(--primary-color);
  height: 56px;
  display: flex;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}

.top-bar-left img {
  max-width: 180px;
}

.top-bar-right {
  display: flex;
  align-items: center;
}

.top-bar-right .menu-item {
  color: #fff;
  height: 50px;
  display: flex;
  align-items: center;
  font-size: 18px;
  justify-content: center;
}

.scrolled .top-bar-right .menu-item a:hover {
  background-color: #820000;
}

.top-bar-right .menu-item a {
  color: #fff;
  font-size: 16px;
}

.topbar-menu {
  display: flex;
  gap: 15px;
  margin: 0;
}

.topbar-menu .menu-item {
  font-weight: 400;
}

.topbar-menu a:hover {
  color: #fff;
}

#lang_choice_1 {
  padding: 6px !important;
}

.scrolled .search-btn:hover {
  background-color: #820000;
}

.search-btn {
  background: none;
  border: none !important;
  font-size: 16px;
  color: #fff;
  padding: 12px;
  border: 1px solid #b9b9b9;
  height: 50px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.scrolled .top-bar .menu-item a::after {
  background-color: transparent;
}

.scrolled .menu-item a::after {
  background-color: var(--primary-color);
}

#menu-topbar-menu li a {
  padding: 12px 8px;
}

#menu-topbar-menu-ru li a {
  padding: 12px 8px;
}

#menu-topbar-menu-en li a {
  padding: 12px 8px;
}

#menu-topbar-menu li a:hover {
  background-color: #820000;
}

#menu-topbar-menu-ru li a:hover {
  background-color: #820000;
}

#menu-topbar-menu-en li a:hover {
  background-color: #820000;
}

.search-btn:hover {
  color: var(--text-color);
  background-color: var(--primary-color);
}

.dropdown-menu {
  min-width: 114px;
  padding: 4px !important;
  border-radius: 8px;
}

.dropdown-toggle {
  border: 1px solid #fff;
  border-radius: 8px;
  background: none;
  padding: 10px;
  color: #fff;
  align-items: center;
  display: flex;
  gap: 6px;
  font-size: 16px;
}

.dropdown-toggle:hover {
  background-color: #fff;
  color: var(--primary-color);
}

.dropdown-toggle.show {
  background-color: #fff;
  color: var(--primary-color);
}

.dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 18px;
  border-radius: 8px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 8px;
}

/* Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.search-overlay-content {
  width: 100%;
  max-width: 600px;
}

/* Input styling */
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.search-form .search-field {
  border-radius: 6px !important;
  padding: 0 12px !important;
  width: 500px;
}

.search-form .search-submit {
  border-radius: 6px !important;
  background-color: var(--primary-color) !important;
  color: #fff;
  padding: 0 20px !important;
}

.search-form .search-submit:hover {
  background-color: #033c79 !important;
}

.search-form .form-control:focus {
  outline: none;
  box-shadow: none;
}

.primary-menu {
  background: #fff;
  padding: 8px 0;
}

.desktop-menu {
  width: 100%;
}

.primary-menu-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.primary-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
}

.close-mobile-menu {
  background: none;
  border: none;
  font-size: 26px;
  padding: 0 0;
  line-height: normal;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
}

.close-mobile-menu-text {
  color: #fff;
  font-size: 14px;
}

.close-mobile-menu-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wp-block-search__button {
  border-radius: 0 !important;
  background-color: var(--primary-color) !important;
  color: #fff !important;
  padding: 0 20px !important;
  border-color: #fff !important;
}

.wp-block-search__input {
  border-radius: 0 !important;
  border-color: var(--primary-color);
}

.primary-menu-overlay.show {
  transform: translateY(0);
}

#closeMenu {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 480px;
  background: #fff;
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 0px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu-footer {
  display: flex;
  align-items: center;
  padding: 0 10px !important;
  background-color: #f4f4f4;
  justify-content: space-between;
  width: 100%;
  border-bottom: 1px solid var(--primary-color);
}

.mobile-menu-footer .menu-item {
  color: #000 !important;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-menu-nav {
  list-style: none;
  text-align: center;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px !important;
}

.mobile-menu-nav li {
  padding: 12px 0;
  font-size: 14px;
  width: 50%;
  border: 1px solid #ccc;
  border-bottom: 1px solid transparent;
}

.mobile-menu-nav li:last-child {
  border-bottom: 1px solid #ccc;
}

.mobile-menu-nav li:nth-last-child(2) {
  border-bottom: 1px solid #ccc;
}

.mobile-menu-nav li a {
  text-decoration: none;
  color: #000;
}

.mobile-logo-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  background-color: var(--primary-color);
}

.mobile-menu-logo {
  width: 160px;
}

.mobile-menu-search {
  width: 100%;
  padding: 8px;
}

.cstinput {
  padding: 0 16px !important;
  border-radius: none !important;
}

.input-group-mobile {
  position: absolute !important;
  right: 0px;
  top: 5px;
  color: #333;
  font-size: 18px;
}

.mobile-menu-nav li:nth-of-type(2n) {
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
}

.mobile-menu-nav li:nth-of-type(odd) {
  border-right: 1px solid #ccc;
  border-left: 1px solid transparent;
}

/* Hamburger Icon */
.navbar-toggler {
  display: none;
  font-size: 14px;
  margin-left: auto;
  padding: 6px;
  border: none !important;
  filter: invert(1) brightness(3);
}

.navbar-toggler svg {
  font-size: 14px;
  width: 14px;
}

.primary-menu .navbar-toggler {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  filter: none !important;
}

.primary-menu .navbar-toggler svg {
  width: 14px !important;
  fill: #fff !important;
  stroke: #fff !important;
  color: #fff !important;
  filter: none !important;
  opacity: 1 !important;
}

.primary-menu .navbar-toggler svg path {
  fill: #fff !important;
  stroke: #fff !important;
  color: #fff !important;
  filter: none !important;
}

.primary-menu .navbar-toggler .navbar-text {
  color: #fff !important;
}


/* End header css  */
.post-img {
  border-radius: 8px;
  min-height: 480px;
  object-fit: cover;
  height: auto;
  display: block;
}

.card-image-top {
  min-height: 228px;
  object-fit: cover;
  border-radius: 8px;
  height: auto;
  display: block;
}

.card-image-bottom {
  min-height: 210px;
  max-height: 210px;
  object-fit: cover;
  border-radius: 8px;
  height: auto;
  display: block;
  border: 1px solid var(--border-color);
}

.post-card-link {
  position: relative;
  transition: all 0.3s ease;
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.post-card-link:hover .overlay-content {
  padding: 16px 12px;
}

.post-card-link:hover img {
  transform: scale(1.02);
}

.post-card-link img {
  transition: transform 0.3s ease;
}

.post-card-swiper {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 8px;
  display: block;
}

.post-card-swiper .content {
  padding: 12px 8px 0 8px;
}

.post-card-swiper .post-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: var(--primary-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-card-swiper .post-date {
  font-size: 14px;
  font-weight: 400;
  color: var(--primary-color);
}

.overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all 0.3s ease;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.8) 80%,
      rgba(0, 0, 0, 1) 100%);
  padding: 8px 12px;
  border-radius: 0 0 8px 8px;
  width: 100%;
}

.first-post-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
  color: #fff;
  margin: 0 0 8px 0;
}

.post-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #fff;
  margin: 0 0 8px 0px !important;
}

.post-date {
  font-size: 12px;
  color: #fff;
  text-align: end;
}

.widget-popular-week {
  background: var(--primary-color);
  padding: 12px 16px;
  border-radius: 8px;
  min-height: 100%;
}

.widget-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  color: #fff;
}

#primary .widget-title,
#secondary .widget-title {
  color: #000;
}

#categories-2 .widget-title {
  color: #fff;
}

.list-post {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.list-post-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.list-post-item:last-child {
  border-bottom: none;
}

.list-post-meta {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f5f5f5;
}

.list-post-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #fff;
  margin: 0 0 8px 0;
  text-decoration: none;
}

.list-post-title:visited {
  color: #fff;
}

.list-post-title:hover {
  color: #f5f5f5;
}

.title-box {
  border-bottom: 1px solid var(--primary-color);
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  align-items: center;
}

.home-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  color: var(--primary-color);
}

.title-link {
  font-size: 14px;
  line-height: 20px;
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.title-link:hover {
  margin-right: 4px;
}

.title-link:hover i {
  transform: rotate(360deg);
}

.title-link i {
  transform: rotate(320deg);
  color: var(--primary-color);
}

.center-title-box {
  border-bottom: 1px solid #fff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  align-items: center;
}

.center-home-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  color: #fff;
}

.eror-page-title {
  font-size: 240px;
}

.center-title-link {
  font-size: 14px;
  line-height: 20px;
  color: #fff !important;
  transition: all 0.3s ease;
}

.center-title-link:hover {
  margin-right: 4px;
}

.center-title-link:hover i {
  transform: rotate(360deg);
}

.center-title-link i {
  transform: rotate(320deg);
  color: #fff;
}

.post.type-post {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px 24px;
}

.post.type-post .post-views {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 14px;
  line-height: 14px;
}

.post .entry-title {
  font-size: 34px;
  line-height: 40px;
  margin-bottom: 8px !important;
}

.post .post-thumbnail img {
  height: 640px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 16px;
}

.third-section {
  padding: 24px 0;
  background-color: var(--primary-color);
  margin: 8px 0 32px 0;
}

.post .entry-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-color);
}

.post .entry-meta .cat-links a {
  color: var(--primary-color);
}

.post .entry-meta .cat-links a:hover {
  color: #333;
  border-bottom: 1px solid #333;
  padding-top: 2px;
}

.cst-content {
  text-align: justify;
}

.cst-content .post-views.content-post {
  display: none !important;
}

#primary.widget-area {
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.wp-block-heading {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 8px !important;
  font-weight: 500;
}

.widget-area a {
  font-size: 16px;
  line-height: 22px;
  color: #000;
}

.widget-area a:hover {
  color: #111;
  border-bottom: 1px solid var(--primary-color);
}

.wp-block-latest-posts__list li {
  margin: 8px 0;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}


#secondary.widget-area {
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.wp-block-heading {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 8px !important;
  font-weight: 500;
}

.widget-area a {
  font-size: 16px;
  line-height: 22px;
  color: #000;
}

.widget-area a:hover {
  color: #111;
  border-bottom: 1px solid var(--primary-color);
}

.wp-block-latest-posts__list li {
  margin: 8px 0;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}



.widget_categories {
  background-color: var(--primary-color);
  padding: 12px;
  color: #fff;
  border-radius: 8px;
}



.cat-item a {
  background-color: #f5f5f5;
  padding: 8px 12px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  width: 100%;
  display: flex;
  border: 1px solid #fff;
}

.cat-item a:hover {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid #fff;
}





.cat-item a {
  background-color: #f5f5f5;
  padding: 8px 12px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  width: 100%;
  display: flex;
  border: 1px solid #fff;
}

.cat-item a:hover {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid #fff;
}

.topbar .textwidget p {
  margin: 0 !important;
}

.wp-block-heading {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.wp-block-search__label {
  display: none;
}

.tags-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags-links a {
  padding: 4px 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-color);
  background-color: #fff;
  font-size: 12px;
  line-height: 18px;
}

.entry-footer {
  margin-top: 24px;
  padding: 16px 0 8px 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 24px;
  align-items: center;
}

.author-avatar img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  padding: 4px;
}


#post_views_counter_list_widget-3 li {
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}

#post_views_counter_list_widget-3 li .post-title {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: #000;
}

.wp-block-search__inside-wrapper input[type="search"] {
  border-radius: 8px !important;
}

.wp-block-search__inside-wrapper button {
  border-radius: 8px !important;
}

.yandex-widget {
  overflow: hidden !important;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px 24px;
}

.related-posts {
  margin-top: 24px;
  padding: 24px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 48px;
}

.related-card-link img {
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
}

.related-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 30px;
  color: #000;
  margin: 0 0 24px 0px !important;
}

.related-card-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #000;
  margin: 16px 0 0 0 !important;
}

.related-card-title a {
  color: #000;
}

.related-card-title a:visited {
  color: #000;
}

.entry-title-search {
  color: #000;
  font-size: 32px;
  line-height: 38px;
}

.related-card-meta {
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-color);
  margin: 8px 0 24px 0;
}

.page-title {
  margin: 24px 0 !important;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--primary-color);
  font-size: 24px;
  line-height: 30px;
}

.category-card {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.category-card:hover .category-card-title,
.category-card:hover .seventh-card-title {
  color: var(--primary-color);
}

.seventh-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 0;
  width: calc(100% - 180px);
}

.category-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 0;
}

.category-card-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #000;
}

.category-card-title a {
  color: #000;
}

.seventh-card-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #000;
}

.seventh-card-title a {
  color: #000;
}

.category-card-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.seventh-card-img {
  width: 160px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
}

.error-404.not-found {
  min-height: 400px;
}

.category-card-meta {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-color);
  margin: 8px 0;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.archive-card-meta {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-color);
  margin-bottom: 0;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.load-more {
  margin: 24px 0 16px 0;
  padding: 8px 24px;
  border-radius: 8px;
  color: #fff;
  background-color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  border: 1px solid var(--primary-color);
}

.load-more:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: #fff;
}

.footer-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}


.mobile-footer-icon {
  padding: 16px 0;
}

.mobile-footer-icon .social-icons a {
  background: var(--primary-color);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid #fff;
}

.mobile-footer-icon .social-icons a i {
  color: #fff;
  font-size: 14px;
}

.mobile-footer-icon .social-icons a:hover {
  background: #4426ee;
}

.social-icons a {
  background: #ffffff29;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid #fff;
}

.social-icons a i {
  color: #fff;
  font-size: 14px;
}

.social-icons a:hover {
  background: #fff;
}

.social-icons a:hover i {
  color: var(--primary-color);
}

.footer-logo {
  max-width: 200px;
}

.site-copyright {
  margin: 24px 0 0 0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
}

.site-copyright-right {
  display: flex;
  gap: 16px;
}

.site-copyright-right a {
  color: var(--primary-color);
}

.site-footer {
  padding: 48px 0 32px 0;
  background: var(--primary-color);
}

.footer-widgets {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.footer-section:nth-child(1) {
  width: 24%;
}

.footer-section {
  width: 19%;
}

.footer-second-menu li a {
  color: #fff;
}

.footer-second-menu .menu-item a:hover {
  text-decoration: underline !important;
}

.footer-title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 6px;
}

.custom-html-widget {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin-top: 16px;
}

.footer-section .menu-item a {
  font-weight: 400;
}

.contact-list {
  color: #fff
}

.contact-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-list li a {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left-bottom {

  display: flex;
  gap: 12px;
}

.footer-left-bottom li a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.footer-copy {
  color: #fff;
  margin: 0 !important;
  font-size: 14px;
}



.page {
  margin: 0px !important;
}

.footer-box .social-icons a {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background-color: var(--primary-color);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transform: rotate(0deg);
  text-decoration: none;
  color: #fff;
}

.footer-box .social-icons a:hover {
  background-color: #fff;
  color: var(--primary-color);
}

.footer-box .social-icons a i {
  font-size: 14px;
}

.wp-block-search__button.wp-element-button {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  padding: 16px !important;
  border-radius: 4px;
  font-size: 14px;
}

.share_telegram a {
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 16px;
  text-align: center;
  margin-top: 24px;
  color: #fff!important;
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: center;
}

.share_telegram a:hover {
  background: #fff;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.share-btn {
  display: inline-block;
  margin-right: 10px;
  padding: 3px;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  transition: 0.3s ease;
  background: #f5f5f5;
}

.post-share a {
  border-radius: 50%;
  border: 1px solid var(--border-color);
  text-align: center;
  margin: 0 auto;
}

.post-share a i {
  color: var(--primary-color);
  font-size: 16px;
}

.share-btn:hover {
  opacity: 0.8;
}

.custom-language-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
}

.custom-language-list li {
  background-color: #fff;
  border-radius: 5px;
  padding: 4px 10px;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.custom-language-list li a {
  color: var(--bg-color);
}

.custom-language-list li:hover {
  background-color: var(--bg-color);
}

.custom-language-list li:hover a {
  color: #fff;
}

.custom-language-list img {
  width: 20px;
  height: auto;
}

.swiper-pagination {
  position: relative !important;
  margin-top: 8px;
}

.entry-content ul {
  list-style-type: disc !important;
  margin-left: 1.5em;
  padding-left: 1em;
}

.entry-content ol {
  list-style-type: decimal;
  margin-left: 1.5em;
  padding-left: 1em;
}

.entry-content li {
  list-style-type: disc !important;
  margin-bottom: 0.5em;
}

.entry-content blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1em;
  color: #555;
  font-style: italic;
  margin: 1.5em 0;
}

.entry-content blockquote p {
  margin: 0;
}

.entry-content blockquote::before {
  content: open-quote;
  font-size: 40px;
  line-height: 0;
  margin-right: 0.25em;
  vertical-align: -0.4em;
  color: #ccc;
}

.entry-content blockquote::after {
  content: close-quote;
  font-size: 40px;
  line-height: 0;
  margin-left: 0.25em;
  vertical-align: -0.4em;
  color: #ccc;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
}

.center-posts .swiper-pagination-bullet-active {
  background: #fff !important;
}

.center-posts .swiper-wrapper {
  margin-bottom: 24px;
}

.custom-search-form {
  position: relative;
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-field {
  width: 100%;
  padding: 10px 48px 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  height: 40px;
}

.search-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #666;
  padding: 0;
}

.search-icon:hover {
  color: #000;
}

.ajax_box {
  width: 26%;
}

.ajax_content {
  width: 74%;
}

.category-text {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 13px;
  text-align: left;
}

.about-page-thumbnail img {
  height: 600px;
  object-fit: cover;
}

.border-box ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-left: 40px !important;
}

.border-box ul li {
  list-style-type: disc;
}

.border-box {
  padding: 24px 16px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  margin: 40px 0;
}


/* Table  */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

thead {
  background-color: #2c3e50;
  color: white;
}

th {
  padding: 15px;
  text-align: left;
  font-weight: bold;
  border: 1px solid #bdc3c7;
}

td {
  padding: 12px 15px;
  border: 1px solid #bdc3c7;
  vertical-align: top;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f0f0f0;
}

.section-header {
  background-color: #34495e;
  color: white;
  font-weight: bold;
  padding: 15px;
  text-align: left;
}

.number {
  background-color: #ecf0f1;
  font-weight: bold;
  text-align: center;
  width: 50px;
  min-width: 50px;
}

.goal {
  background-color: #ecf0f1;
}

em {
  color: #555;
  font-style: italic;
}

.small-num {
  font-size: 14px;
  color: #666;
}

/* ONLINE SUBMIT FORM */

.form-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: white;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}


#recent-posts-2 li {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
  margin-top: 10px;
}



@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-container label {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-container input,
.form-container select,
.form-container textarea {
  padding: 14px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  font-size: 14px;
  transition: border-color 0.3s;
  outline: none;
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
  border-color: #002e60;
}

input[type="file"] {
  padding: 12px;
  border: 2px dashed #cbd5e1;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.form-terms {
  font-size: 0.75rem;
  color: #94a3b8;
}

.form-terms a {
  text-decoration: underline;
  color: #94a3b8;
}

input[type="file"] {
  display: block;
  border: 2px dashed #cbd5e1 !important;
  border-radius: 12px;
  width: 100%;
}

input[type="file"]::file-selector-button {
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin-right: 10px;
  transition: all 0.3s;
}

input[type="file"]::file-selector-button:hover {
  opacity: 0.9;
}

.form-footer .btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: none !important;
  padding: 12px 24px !important;
}

.form-footer .btn-primary:hover {
  opacity: 0.8;
}

.ftsection {
  background: #f8fafc;
  padding: 40px 0px;
}

.sidebar-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: white;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sidebar-card:first-child {
  margin-bottom: 16px;
}

.sidebar-card ul {
  list-style: disc;
  padding-left: 20px !important;
  margin-top: 8px !important;
}

.send-title {
  font-size: 32px;
  color: #002e60;
  font-weight: 600;
}

.send-description {
  color: #64748b;
  margin-bottom: 32px;
}

.contact-box {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.icon-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.box-icon {
  background-color: #fff;
  border-radius: 50%;
  padding: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 48px;
  height: 48px;
}

.icon-box i {
  font-size: 20px;
  color: var(--primary-color, #007b3e);
}

.icon-box h6 {
  margin: 0 !important;
  font-weight: 600;
}

.icon-box p {
  margin: 0;
  color: #555;
}

.icon-box a {
  color: inherit;
  text-decoration: none;
}

.icon-box.social-icons i {
  font-size: 20px;
  margin-right: 10px;
  transition: 0.3s;
}

.icon-box.social-icons i:hover {
  color: var(--primary-color, #007b3e);
}

.footer-menu {
  display: flex;
  gap: 16px;
  text-decoration: underline;
  margin: 0 !important;
}

.swiper-wrapper .swiper-slide .card-image-bottom {
  height: 280px;
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .col-xl-4.col-md-1 {
    display: none;
  }

  .bottom-posts .mobile:nth-child(n + 3) {
    display: none;
  }



  .desktop .desktop-menu {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }


  .desktop .primary-menu-nav {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 6px;
    padding: 0;
    margin: 0;
  }

  .desktop ul.main-menu li {
    flex: 0 0 auto;
  }

  .desktop .primary-menu-nav li a {
    display: inline-block;
    padding: 10px 5px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
  }

  .desktop .desktop-menu::-webkit-scrollbar {
    height: 1px;
  }

  .desktop .desktop-menu::-webkit-scrollbar-track {
    background: transparent;
  }

  .desktop .desktop-menu::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 5px;
  }

  .desktop .desktop-menu {
    scrollbar-color: var(--primary-color) transparent;
    scrollbar-width: thin;
  }

  .header-wrapper {
    align-items: center;
    justify-content: space-between;
  }

  .col-md-12.col-sm-12.hide-on-mobile {
    display: none;
  }

  .bottom-posts .col-xl-4:nth-child(n + 3) {
    display: none;
  }

  .widget-popular-week {
    min-height: 100%;
    margin-bottom: 0 !important;
  }

  .post-img {
    min-height: 400px;
  }

  .footer-title {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-page-thumbnail img {
    height: 400px;
  }

  .post .entry-title {
    font-size: 24px;
    line-height: 30px;
  }

  .swiper-wrapper .swiper-slide .card-image-bottom {
    height: 160px;
  }

  .post-card-swiper .post-title {
    font-size: 14px;
    line-height: 20px;
  }

  .preschool .seventh-card-img {
    width: 140px;
    height: 114px;
  }

  .preschool .seventh-card-body {
    width: calc(100% - 140px);
  }

  .container,
  .container-md,
  .container-sm {
    max-width: 760px;
  }

  .desktop .desktop-menu {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }


  .desktop .primary-menu-nav {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 6px;
    padding: 0;
    margin: 0;
  }

  .desktop ul.main-menu li {
    flex: 0 0 auto;
  }

  .desktop .primary-menu-nav li a {
    display: inline-block;
    padding: 10px 5px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
  }

  .desktop .desktop-menu::-webkit-scrollbar {
    height: 1px;
  }

  .desktop .desktop-menu::-webkit-scrollbar-track {
    background: transparent;
  }

  .desktop .desktop-menu::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 5px;
  }

  .desktop .desktop-menu {
    scrollbar-color: var(--primary-color) transparent;
    scrollbar-width: thin;
  }

  .header-wrapper {
    align-items: center;
    justify-content: space-between;
  }


  .widget-popular-week {
    min-height: 100%;
    margin-bottom: 0 !important;
  }

  .col-md-12.col-sm-12.hide-on-mobile {
    display: none;
  }

  .bottom-posts .col-xl-4:nth-child(n + 3) {
    display: none;
  }


  .card-image-bottom {
    min-height: 160px;
  }

  .post-img {
    min-height: 320px;
  }

  .topbar-menu {
    gap: 8px;
  }

  .top-bar-left img {
    max-width: 160px;
  }

  .search-btn {
    font-size: 14px;
    padding: 6px 8px !important;
  }

  .top-bar-right .menu-item a {
    font-size: 14px;
  }

  .dropdown-toggle {
    font-size: 14px;
    padding: 8px 6px;
    gap: 4px;
    border-radius: 4px;
  }

  .widget-title {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 8px !important;
  }

  .col-xl-4.col-md-1 {
    display: none;
  }

  .list-post-item {
    margin: 4px 0;
  }

  .widget-popular-week {
    padding: 8px 8px;
  }

  .topbar-left,
  .topbar-right {
    gap: 10px;
  }

  .currency-rates {
    gap: 8px;
  }

  .overlay-content {
    padding: 4px 8px;
  }

  .category-card-title {
    font-size: 14px;
    line-height: 20px;
  }

  .category-card-meta {
    font-size: 12px;
    line-height: 18px;
  }

  .seventh-card-title {
    font-size: 14px;
    line-height: 20px;
    margin-top: 0 !important;
  }

  .bottom-posts .mobile:nth-child(n + 3) {
    display: none;
  }

  .category-card-img {
    width: 88px;
    height: 88px;
  }

  .related-posts {
    margin: 16px 0;
  }

  .post .entry-title {
    font-size: 24px;
    line-height: 32px;
  }

  .post .post-thumbnail img {
    height: 320px;
  }

  .widget-area a {
    font-size: 14px;
    line-height: 18px;
  }

  #primary.widget-area {
    padding: 12px;
  }

  .post.type-post {
    padding: 12px;
  }

  .footer-title {
    font-size: 15px;
    line-height: 22px;
  }

  .footer-widgets {
    gap: 16px;
  }
}

@media (max-width: 767px) {

  .mobile-icon {
    display: none;
  }

  /* Header css  */
  .menu-item a {
    font-size: 14px;
  }

  .cstinput {
    border-radius: 32px !important;
  }

  .mobile-menu-nav {
    margin-top: 0 !important;
  }

  .close-mobile-menu-text {
    margin-top: 4px;
    line-height: 20px;
  }

  .top-bar-right .menu-item {
    font-size: 14px;
  }

  .top-bar-right .menu-item a {
    font-size: 14px;
    line-height: 20px;
    color: var(--primary-color) !important;
  }

  .mobile-menu-logo {
    max-width: 140px;
  }

  .dropdown-toggle {
    font-size: 14px;
    padding: 8px;
    gap: 4px;
    border-radius: 4px;
  }

  .desktop {
    display: none !important;
  }

  .language-switcher {
    display: none;
  }

  .primary-menu.navbar {
    display: block;
    background-color: transparent;
  }

  .site-title {
    font-size: 20px;
    line-height: 26px;
  }

  .search-btn {
    padding: 4px !important;
    font-size: 14px;
  }

  .eror-page-title {
    font-size: 120px;
  }

  .side-filter-card {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
  }

  .topbar-menu {
    display: none;
  }

  .photo-item {
    width: 50%;
    padding: 8px;
  }

  .adm-wrapper a {
    font-size: 14px;
  }

  .page-template-home-page .scrolled .primary-menu {
    padding: 0;
  }

  .page-template-home-page .scrolled .primary-menu {
    background: transparent;
  }

  .photo-item img {
    height: 140px;
  }

  .search-form .search-field {
    max-width: 260px;
  }

  .search-form .search-submit {
    padding: 0 12px !important;
  }

  .desktop-menu {
    display: none;
  }

  .hide-on-mobile {
    display: none;
  }

  .top-bar-left img {
    max-width: 140px;
  }

  .widget-popular-week {
    min-height: auto;
    margin-bottom: 0 !important;
  }

  .navbar-toggler {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .primary-menu {
    padding: 10px 0;
  }

  .primary-menu.navbar .container {
    padding: 0;
  }

  .top-bar .container {
    padding: 6px 10px;
  }

  #menu-mobile-menu .menu-item {
    justify-content: center;
  }

  .photo-item {
    width: 50%;
    padding: 8px;
  }

  .adm-wrapper a {
    font-size: 14px;
  }

  .photo-item img {
    height: 140px;
  }

  .category-text {
    font-size: 12px;
  }

  .post-img {
    min-height: 240px;
    margin-bottom: 12px;
  }

  .seventh-card-body {
    width: calc(100% - 140px);
  }

  .first-post-title {
    font-size: 20px;
    line-height: 26px;
  }

  .widget-title {
    font-size: 18px;
    line-height: 24px;
  }

  .mobile {
    display: none;
  }

  .title-box {
    padding-bottom: 8px;
  }

  .related-posts {
    margin: 16px 0;
    padding: 20px 10px 8px 10px;
  }

  .home-title {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 0 !important;
  }

  .category-card-title {
    font-size: 14px;
    line-height: 20px;
  }

  .seventh-card-img {
    width: 120px;
    height: 100px;
  }

  .seventh-card-title {
    margin: 0 !important;
    font-size: 14px;
    line-height: 20px;
  }

  .category-card-body,
  .seventh-card-body {
    justify-content: space-around;
  }

  .category-card-meta {
    margin: 0 !important;
    font-size: 12px;
  }

  .site-description {
    font-size: 14px;
    line-height: 20px;
    text-align: justify;
  }

  .site-copyright {
    flex-direction: column;
    gap: 16px;
    font-size: 12px;
  }

  .site-copyright-right {
    justify-content: end;
    width: 100%;
  }

  .footer-logo {
    max-width: 160px;
  }

  .load-more {
    margin: 16px 0;
  }

  .archive .related-posts .col-md-3 {
    margin-bottom: 16px;
  }

  .site-main {
    margin-bottom: 40px;
  }

  .post.type-post {
    padding: 16px;
  }

  .post .entry-title {
    font-size: 16px;
    line-height: 20px;
  }

  .post .entry-meta {
    font-size: 10px;
    line-height: 18px;
  }

  .post .post-thumbnail img {
    height: 230px;
  }

  .related-title {
    font-size: 18px;
    line-height: 24px;
  }

  .wp-block-search__input {
    height: 44px;
  }

  .wp-block-search__button.wp-element-button {
    padding: 4px 14px;
    font-size: 16px;
  }

  .card-image-bottom {
    height: 300px;
    object-fit: cover;
  }

  .custom-search-form {
    display: none;
  }

  .no-results .page-content {
    margin: 0 !important;
  }

  .entry-title-search {
    color: #000;
    font-size: 18px;
    line-height: 24px;
  }

  .ajax_box {
    width: 30%;
  }

  .ajax_content {
    width: 72%;
  }

  .eror-page-title {
    font-size: 120px;
  }

  .eror-title {
    font-size: 16px;
  }

  .single-post .entry-footer {
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
  }



  .footer-title {
    font-size: 18px;
    line-height: 24px;
  }

  .footer-widgets {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-section:nth-child(1) {
    width: 100% !important;
  }

  .footer-section:nth-child(1) img {
    max-width: 240px !important;
  }

  .contact-list li a {
    font-size: 14px;
  }

  .footer-section {
    width: 48% !important;
    margin-bottom: 12px;
  }

  .contact-list li {
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }

  .site-footer {
    padding: 24px 0;
  }
}