:root {
  --primary-color: #007b3e;
  --secondary-color: #ffffff;
  --menu-color: #6b7280;
  --text-color: #6b7280;
  --border-color: rgba(232, 232, 232, 1);
}

body {
  font-family: "Inter", sans-serif;
}

a:visited {
  color: currentColor;
}

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

a {
  text-decoration: none !important;
}

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

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

.topbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.topbar .social-icons a {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background-color: #08551b;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transform: rotate(0deg);
  text-decoration: none;
  color: var(--secondary-color);
}
.topbar .social-icons a i {
  font-size: 12px;
}
.topbar-left a {
  color: var(--secondary-color) !important;
}
.topbar-left a:hover {
  text-decoration: underline;
}
.topbar-left,
.topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--secondary-color);
  font-size: 14px;
}
.currency-rates {
  font-size: 14px;
  display: flex;
  gap: 12px;
}
.currency-rates .text-increase {
  color: #00ff03;
}
.currency-rates .text-decrease {
  color: rgba(227, 30, 36, 1);
}
.currency-rates b {
  color: var(--secondary-color);
  font-weight: 500 !important;
}
.currency-rates span {
  color: #f3f3f3;
}

.header-wrapper {
  padding: 16px 0px 16px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid #d7d7d7;
}

.site-branding {
  max-width: 200px;
}

.main-navigation {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.main-navigation .menu-menu-container {
  width: 100%;
}

.menu-menu-oz-container {
  width: 100%;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: space-between;
}

.main-menu .menu-item a {
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  font-feature-settings: "salt" on;
  color: var(--menu-color);
  text-decoration: none;
  padding: 8px 5px 8px 5px;
}

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 15px;
  color: #6b7280;
  position: relative;
  z-index: 110;
  padding: 0;
}

.search-container {
  position: absolute;
  top: 50%;
  transform: translateX(-150%) translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
  background: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 4px 24px 4px 8px;
  z-index: 120;
  display: flex;
  align-items: center;
  border: 1px solid rgba(232, 232, 232, 1);
  height: 40px;
}

.search-container.active {
  transform: translateX(0) translateY(-50%);
  opacity: 1;
  pointer-events: auto;
  display: flex;
  align-items: center;
}

.search-container input[type="search"] {
  width: 480px;
  border: none;
  font-size: 16px;
  outline: none;
  padding-right: 16px;
}

.search-icon {
  cursor: pointer;
}

.search-icon svg {
  fill: #6b7280;
}

.search-form {
  display: flex;
  align-items: center;
}

.search-form .close-icon {
  position: absolute;
  right: 0px;
  top:5px;
  cursor: pointer;
  color: #888;
}

.post-img {
  border-radius: 8px;
  min-height: 500px;
  object-fit: cover;
  height: auto;
  display: block;
}

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

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

.post-card-link {
  position: relative;
  transition: all 0.3s ease;
  display: block;
}

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

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

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

.post-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #fff;
  margin: 0px 0px 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: 480px;
}

.widget-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #fff;
  margin-bottom: 16px !important;
}

.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: 0px 0px 8px 0px;
  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: 540px;
  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);
}

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

#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: var(--primary-color);
}

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

#secondary .widget-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #000;
  margin-bottom: 16px !important;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.cat-item {
  background-color: #f5f5f5;
  padding: 8px 12px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cat-item a {
  width: 100%;
  display: flex;
}

.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;
}

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

.related-card-link img {
  height: 240px;
  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 0px 0px 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;
}

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

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

.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;
  margin-top: 16px !important;
}

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

.category-card-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}

.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;
}

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

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

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

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

.site-footer {
  padding: 48px 0 32px 0;
  background: rgba(247, 247, 247, 1);
}

.site-description {
  color: var(--text-color);
}

.site-description a {
  color: #333333;
  font-weight: 600;
}

.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: var(--secondary-color);
}

.footer-box .social-icons a:hover {
  background-color: #08551b;
}

.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: 4px;
  border-radius: 4px;
  font-size: 14px;
}

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

.share_telegram a:hover {
  background: #076f1e;
  border-color: #076f1e;
}

.share-btn {
  display: inline-block;
  margin-right: 10px;
  font-size: 20px;
  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: #08551b;
  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: #fff;
}

.custom-language-list li:hover {
  background-color: #07631e;
}

.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;
  background-color: #f9f9f9;
  quotes: "“" "”" "‘" "’";
}
.entry-content blockquote p {
  margin: 0;
}

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

.entry-content blockquote::after {
  content: close-quote;
  font-size: 2em;
  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%;
}

@media (max-width: 768px) {
  .topbar-container {
    padding: 10px 0px;
  }
  .currency-rates,
  .topbar-email-widget {
    display: none;
  }
  .header-wrapper {
    padding: 12px 0px;
  }
  .site-branding {
    max-width: 24 0px;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-left: 16px;
    z-index: 9999999999999;
  }
  .menu-toggle.active {
    position: absolute;
    top: -54px;
  }
  .page-title {
    margin: 12px 0 !important;
    font-size: 14px;
    line-height: 22px;
    padding-bottom: 4px;
  }

  .menu-icon {
    display: none;
  }

  .main-navigation {
    justify-content: end;
    flex-direction: row-reverse;
  }

  .main-navigation.toggled .menu-menu-container {
    display: block;
  }

  .menu-menu-oz-container {
    display: block;
  }

  .search-container {
    top: 50%;
    z-index: 9999999999;
  }

  .menu-menu-container {
    display: none;
  }

  .menu-menu-oz-container {
    display: none;
  }

  .menu-toggle .open-icon {
    display: flex;
    height: 33px;
  }

  .menu-toggle.active .open-icon {
    display: none;
  }

  .menu-toggle.active .close-icon {
    display: flex;
    font-size: 20px;
    padding: 0;
    height: 33px;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
  }

  .main-menu.active {
    display: block;
    padding: 40px 16px !important;
  }

  .main-menu.active .menu-item a {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    margin: 12px 0px;
    transition: all 0.3s ease;
  }

  .main-menu.active .menu-item a:hover {
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    background-color: var(--primary-color);
    color: #fff;
  }

  .search-form .input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .search-form .search-icon,
  .search-form .close-icon {
    flex-shrink: 0;
  }

  .search-form .search-field {
    flex: 1;
    min-width: 0;
  }

  .search-container input[type="search"] {
    width: 260px;
    background-color: #fff;
  }
  .post-img {
    min-height: 320px;
    margin-bottom: 24px;
  }
  .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: 24px 16px 8px 16px;
  }
  .home-title {
    font-size: 18px;
    line-height: 24px;
    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;
  }
  .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: 180px;
  }
  .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: 20px;
    line-height: 26px;
  }
  .post .entry-meta {
    font-size: 10px;
    line-height: 18px;
  }
  .post .post-thumbnail img {
    height: 300px;
  }
  .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;
  }
}
