body:not(.dark-mode) .icon-dark {
  display: none;
}
body.dark-mode .icon-light {
  display: none;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.bg-body {
  background: var(--bg-body);
}

.text-body {
  fill: var(--text-body);
  color: var(--text-body);
  stroke: var(--text-body);
}
body.dark-mode p.darkness {
  color: #ffffff !important;
}
body.dark-mode h1.darkness,
body.dark-mode h2.darkness,
body.dark-mode h3.darkness,
body.dark-mode h4.darkness,
body.dark-mode h5.darkness,
body.dark-mode h6.darkness {
  color: #ffffff !important;
}

.fs-7 {
  font-size: 14px;
}
.fs-8 {
  font-size: 12px;
}
.fs-9 {
  font-size: 10px;
}
.reseta {
  text-decoration: none;
}
a {
  text-decoration: none;
  color: unset;
  transition: all 0.3s ease;
}
button a {
  text-decoration: none;
  color: var(--btn-text);
  transition: all 0.3s ease;
}

#calltaggle {
  background-color: var(--bg-body-re);
}
.post-title:after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100px;
  height: 3px;
  background-color: var(--main-color) !important;
}
.post-title {
  margin-bottom: 20px;
  padding-bottom: 15px;
  position: relative;
}
body.dark-mode .logo-img-xtrim img,
body.dark-mode .footer-logo a img,
body.dark-mode .xtrim-loader-logo img,
body.dark-mode .xtrim-anim-fade-logo img {
  filter: brightness(0) invert(1);
}

#theme-toggle {
  background: var(--btn-bg);
  border: 1px solid rgba(124, 58, 237, 0.2);
  margin-left: 10px;
  padding: 7px 12px;
  border-radius: 8px;
}
#theme-toggle svg {
  width: 20px;
  color: var(--btn-text);
}
#theme-toggle:hover {
  border-color: var(--border-color);
}
.btn-xtrim {
  background: var(--btn-bg);
  border: 1px solid rgba(124, 58, 237, 0.055);
  padding: 9px 12px;
  border-radius: 8px;
}
.btn-xtrim:hover {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
  border-color: var(--border-color);
}
.btn-xtrim a {
  color: var(--btn-text) !important;
}
.xtrim-header {
  box-shadow: 0 1px 4px 0 rgba(135, 139, 142, 0.32);
  height: 70px;
  background: var(--bg-header);
}

.progress-wrap {
  position: fixed;
  right: 50px;
  bottom: 50px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap::after {
  position: absolute;
  content: "\ea76";
  font-family: "remixicon" !important;
  text-align: center;
  line-height: 46px;
  font-size: 20px;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 1;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.progress-wrap svg path {
  fill: none;
}

.progress-wrap svg.progress-circle path {
  stroke: var(--main-color);
  stroke-width: 4;
  box-sizing: border-box;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
svg.progress-circle path {
  stroke-width: 4;
  box-sizing: border-box;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.size-img-fix {
  max-height: 130px;
  width: 100px;
}

.enamad-img-wrap:hover {
  scale: 1.05;
  transition: ease-in-out 0.2s;
}

ul#primary-menu {
  display: flex;
  gap: 30px;
  height: 65px;
  padding: 0 30px;
  margin: 0;
  list-style: none;
}

ul#primary-menu li {
  height: 100%;
  display: flex;
  align-content: center;
  align-items: center;
  list-style: none;
  position: relative;
}

ul#primary-menu > li > a {
  text-decoration: none;
  color: var(--text-menu, black);
  font-size: 16px;
  display: flex;
  height: 100%;
  align-items: center;
  position: relative;
}

ul#primary-menu > li > a:after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 100px;
  position: absolute;
  background: #e6ebee;
  right: -15px;
  top: calc(50% - 3px);
  transition: all 0.3s;
}

ul#primary-menu > li:hover > a:after {
  transform: scale(1.2);
  background: var(--main-color) !important;
}

ul#primary-menu ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--bg-menu, #fff);
  min-width: 230px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color, #eee);
  border-radius: 11px;
  z-index: 9999;
  list-style: none;
  padding: 10px 0;
  flex-direction: column;
}

ul#primary-menu li:hover > ul.sub-menu {
  display: flex;
}

ul#primary-menu ul.sub-menu li {
  width: 100%;
  height: auto;
  display: block;
}

ul#primary-menu ul.sub-menu li a {
  padding: 10px 20px;
  color: var(--text-submenu, #333) !important;
  font-size: 14px;
  display: block;
  width: 100%;
  position: relative;
  text-decoration: none;
}

ul#primary-menu ul.sub-menu li a:hover {
  opacity: 0.8;
}

ul#primary-menu ul.sub-menu li a:after {
  display: none !important;
}

ul#primary-menu ul.sub-menu a::before {
  content: "";
  background-color: #d5d2d2;
  width: 5px;
  height: 5px;
  position: absolute;
  right: 8px;
  top: calc(50% - 2.5px);
  border-radius: 22px;
}

ul#primary-menu ul.sub-menu a:hover::before {
  background-color: #7e1313;
  transition: background-color 0.3s ease;
}

ul#primary-menu ul.sub-menu ul.sub-menu {
  top: 0;
  right: 100%;
  margin-top: 0;
  flex-direction: column;
}

.tj-comments__container {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.tj-comments__wrap {
  background-color: var(--bg-body);
}

.tj-comments__wrap h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-body);
  position: relative;
  padding-bottom: 15px;
}

.tj-comments__wrap h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--main-color);
  border-radius: 2px;
}

.commenent-title {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border-color);
  justify-content: flex-start;
  position: relative;
}

.commenent-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 3px;
  background: var(--main-color, #7c3aed);
  border-radius: 3px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list > li {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.comment-list > li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.comment-body {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.comment-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.comment-content {
  width: 100%;
}
.comments-title {
  display: none;
}
.comment-author {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 5px;
  display: block;
}
.comment-author img {
  border-radius: 11px;
  margin: 0 10px;
  border: 1px solid var(--main-color);
}

.comment-author a {
  color: var(--text-body);
  text-decoration: none;
}

.comment-author a:hover {
  color: var(--main-color);
}

.comment-meta {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-date {
  font-size: 13px;
  color: var(--tj-grey-1, #747779);
  margin-left: 10px;
}

.comment-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 15px;
}

.reply {
  margin-top: 10px;
}

.comment-reply-link {
  font-size: 13px;
  color: var(--main-color);
  text-decoration: none;
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid var(--main-color);
  border-radius: 4px;
  transition: all 0.3s;
}

.comment-reply-link:hover {
  background-color: var(--main-color);
  color: #fff;
}

.comment-list .children {
  list-style: none;
  margin-left: 40px;
  margin-top: 20px;
  padding-top: 20px;
  border-left: 2px solid var(--border-color);
}

.comment-respond {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.comment-respond h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-body);
}

.comment-form p {
  margin-bottom: 15px;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-body);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--hover-bg);
  color: var(--text-body);
  font-size: 14px;
  transition: all 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--main-colo);
  background-color: var(--bg-body);
  box-shadow: 0 0 0 3px rgba(135, 80, 247, 0.1);
}

.comment-form textarea {
  height: 120px;
  resize: vertical;
}

.comment-form input[type="submit"] {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 15px;
}

.comment-form input[type="submit"]:hover {
  background-color: #6a3bc4;
  transform: translateY(-2px);
}

.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comment-form .comment-form-cookies-consent input {
  margin-top: 5px;
}

.comment-form .comment-form-cookies-consent label {
  font-weight: 400;
  font-size: 13px;
  color: var(--tj-grey-1, #747779);
  margin-bottom: 0;
}

.widget {
  background-color: var(--bg-body);
  margin-bottom: 40px;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

body.dark-mode .widget {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.widget_title,
h3.widget-title,
h4.widget-title {
  font-size: 16px !important;
  font-weight: 400;
  color: var(--text-body);
  margin-bottom: 20px;
  padding-bottom: 15px;
  position: relative;
}

.widget_title::after,
h3.widget-title::after,
h4.widget-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100px;
  height: 2px;
  background-color: var(--main-color);
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-body);
  transition: all 0.3s;
}

.widget ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget ul li a {
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget ul li a:hover {
  color: var(--main-color);
  padding-right: 5px;
}

.widget ul li a::before {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: var(--main-color);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}

.widget ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.widget ul li .count {
  background-color: var(--hover-bg);
  color: var(--text-body);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  min-width: 25px;
  text-align: center;
}

.widget ul li a:hover .count {
  background-color: var(--main-color);
  color: #fff;
}

.widget_recent_entries ul li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.widget_recent_entries ul li:last-child {
  border-bottom: none;
}

.widget_recent_entries .recent-post_thumb {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.widget_recent_entries .recent-post_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.widget_recent_entries .recent-post_thumb a:hover img {
  transform: scale(1.1);
}

.widget_recent_entries .recent-post_content {
  flex-grow: 1;
}

.widget_recent_entries .recent-post_title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 5px 0;
}

.widget_recent_entries .recent-post_title a {
  color: var(--text-body);
}

.widget_recent_entries .recent-post_title a:hover {
  color: var(--main-color);
}
h2.wp-block-heading {
  font-size: 14px;
}
.widget_recent_entries .recent-post_date {
  font-size: 12px;
  color: var(--tj-grey-1, #747779);
  display: flex;
  align-items: center;
  gap: 5px;
}

.modern-card {
  background: #ffffff;
  border: none;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  position: relative;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.modern-card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.modern-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.modern-card:hover .modern-card-img-wrapper img {
  transform: scale(1.08);
}

.card-badge-floating {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0d6efd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.modern-card-body {
  padding: 1.75rem;
}

.modern-card-title {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.modern-card:hover .modern-card-title a {
  color: #0d6efd !important;
}

.modern-card-text {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-modern-read {
  background: transparent;
  border: 2px solid #e9ecef;
  color: #333;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-modern-read:hover {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  transform: translateX(5px);
}

.btn-modern-read i {
  transition: transform 0.3s ease;
}

.btn-modern-read:hover i {
  transform: translateX(3px);
}

@keyframes memorial-shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.shimmer-text {
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;

  background-image: linear-gradient(
    135deg,
    rgb(147, 197, 253) 0%,
    rgb(56, 189, 248) 50%,
    rgb(129, 140, 248) 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: memorial-shimmer 5s linear infinite;
}

.footer-social-wrapper {
  margin: 30px 0 20px;
  padding: 10px 0;
}

.social-buttons-group {
  gap: 1rem !important;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--bg-menu, #ffffff);
  border-radius: var(--social-border-radius, 50px);
  padding: 0 12px;
  width: 48px;
  height: 48px;
  color: var(--text-menu, #4c1d95);
  text-decoration: none;
  font-size: 22px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid var(--border-color, #e9d5ff);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-custom-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.social-btn i {
  flex-shrink: 0;
}

.social-btn .social-text {
  font-size: 14px;
  font-weight: 500;
  max-width: 0;
  opacity: 0;
  transform: translateX(10px);
  transition:
    max-width 0.4s ease,
    opacity 0.3s ease,
    transform 0.4s ease;
  padding-right: 0;
  display: inline-block;
}

.social-btn-active {
  width: auto;
  max-width: 200px;
  padding: 0 20px;
  background: var(--btn-bg, #7c3aed);
  color: var(--btn-text, #ffffff);
  border-color: var(--btn-bg, #7c3aed);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.2);
}

.social-btn-active .social-text {
  max-width: 150px;
  opacity: 1;
  transform: translateX(0);
  padding-right: 8px;
}

.social-buttons-group:hover .social-btn-active {
  width: 48px;
  max-width: 48px;
  padding: 0 12px;
  background: var(--bg-menu, #ffffff);
  color: var(--text-menu, #4c1d95);
  border-color: var(--border-color, #e9d5ff);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-buttons-group:hover .social-btn-active .social-text {
  max-width: 0;
  opacity: 0;
  transform: translateX(10px);
  padding-right: 0;
}

.social-buttons-group .social-btn:hover {
  width: auto !important;
  max-width: 200px !important;
  padding: 0 20px !important;
  background: var(--main-color, #7c3aed) !important;
  color: var(--btn-text, #ffffff) !important;
  border-color: var(--main-color, #7c3aed) !important;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.25) !important;
}

.social-buttons-group .social-btn:hover .social-text {
  max-width: 150px !important;
  opacity: 1 !important;
  transform: translateX(0) !important;
  padding-right: 8px !important;
}

body.dark-mode .social-btn {
  background: var(--bg-menu);
  color: var(--text-menu);
  border-color: var(--border-color);
}

body.dark-mode .social-btn-active {
  background: var(--main-color);
  color: var(--bg-body);
  border-color: var(--main-color);
}

@media (max-width: 768px) {
  .social-btn,
  .social-btn-active,
  .social-buttons-group:hover .social-btn-active,
  .social-buttons-group .social-btn:hover {
    width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    font-size: 20px !important;
    background: var(--bg-menu) !important;
    color: var(--text-menu) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
  }

  .social-btn .social-text,
  .social-btn-active .social-text,
  .social-buttons-group:hover .social-btn-active .social-text,
  .social-buttons-group .social-btn:hover .social-text {
    display: none !important;
    max-width: 0 !important;
    opacity: 0 !important;
  }

  .social-custom-img {
    width: 20px;
    height: 20px;
  }
}

.license-item .enamad-img-wrap img {
  max-height: 130px !important;
  width: auto;
}

@media (max-width: 767px) {
  .xtrim-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .xtrim-header > .btn-sm {
    order: 1;
    flex: 0 0 auto;
    margin: 0;
  }
  .xtrim-header > .logo-img-xtrim {
    order: 2;
    margin: 0 auto;
    flex: 0 0 auto;
  }
  .xtrim-header > .d-flex.gap-3 {
    order: 3;
    flex: 0 0 auto;
    margin: 0;
    gap: 0.5rem !important;
    align-self: center;
    height: auto !important;
  }
  .xtrim-header > .d-flex.gap-3 .reseta.d-none.d-lg-flex {
    display: none !important;
  }
  .xtrim-header > .d-flex.gap-3 .btn-xtrim a {
    font-size: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .xtrim-header > .d-flex.gap-3 .btn-xtrim,
  .xtrim-header > .d-flex.gap-3 #theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    padding: 0;
  }
  .xtrim-header > .d-flex.gap-3 .btn-xtrim a i {
    margin: 0;
    font-size: 20px;
  }

  .xtrim-header > .d-flex.gap-3 .call-icon-header {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.xtrim-slider-card {
  border: 1px solid var(--border-color, #e0e0e0);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.xtrim-slider-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--main-color, #0665ff);
}
.xtrim-slider-thumb img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0;
  animation: fadeInImage 0.5s ease forwards;
}

@keyframes fadeInImage {
  to {
    opacity: 1;
  }
}

.xtrim-slider-card:hover .xtrim-slider-thumb img {
  transform: scale(1.1);
}

.xtrim-single-elegant {
  background: var(--bg-body);
  padding: 3rem 0;
  direction: rtl;
}

.xtrim-single-elegant-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.xtrim-single-elegant-grid {
  display: flex;
  gap: 2rem;
}

.xtrim-single-elegant-main {
  flex: 1;
  min-width: 0;
}

.xtrim-single-elegant-sidebar {
  width: 320px;
  flex-shrink: 0;
}

.xtrim-single-elegant-grid.no-sidebar .xtrim-single-elegant-main {
  flex: 0 0 100%;
  max-width: 100%;
}

.xtrim-single-elegant-card {
  background: var(--bg-menu);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  box-shadow: 0 20px 35px -12px rgba(124, 58, 237, 0.05);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.xtrim-single-elegant-card:hover {
  box-shadow: 0 25px 40px -14px rgba(124, 58, 237, 0.12);
}

body.dark-mode .xtrim-single-elegant-card {
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.4);
}

body.dark-mode .xtrim-single-elegant-card:hover {
  box-shadow: 0 25px 40px -14px rgba(0, 0, 0, 0.55);
}

.xtrim-single-elegant-breadcrumb {
  padding: 2rem 2.5rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--text-body);
  opacity: 0.7;
  text-align: right;
}

.xtrim-single-elegant-breadcrumb a {
  color: var(--main-color);
  text-decoration: none;
}

.xtrim-single-elegant-breadcrumb a:hover {
  text-decoration: underline;
}

.xtrim-single-elegant-cover {
  position: relative;
  margin: 1.5rem 2.5rem 0 2.5rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.15);
}

.xtrim-single-elegant-thumb {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.xtrim-single-elegant-cover:hover .xtrim-single-elegant-thumb {
  transform: scale(1.03);
}

.xtrim-single-elegant-cover-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(15, 5, 29, 0.3), transparent);
  pointer-events: none;
}

.xtrim-single-elegant-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 2rem 2.5rem 1rem 2.5rem;
  background: linear-gradient(
    135deg,
    var(--heading-special),
    var(--main-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  text-align: right;
}

.xtrim-single-elegant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 2.5rem 2rem 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
  justify-content: flex-start;
  position: relative;
}

.xtrim-single-elegant-meta::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(270deg, var(--main-color), transparent);
  border-radius: 3px;
}

.xtrim-single-elegant-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-body);
  opacity: 0.8;
}

.xtrim-single-elegant-meta i {
  color: var(--main-color);
  font-size: 1.1rem;
}

.xtrim-single-elegant-content {
  padding: 0 2.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  text-align: right;
}

.xtrim-single-elegant-content h1,
.xtrim-single-elegant-content h2,
.xtrim-single-elegant-content h3,
.xtrim-single-elegant-content h4,
.xtrim-single-elegant-content h5,
.xtrim-single-elegant-content h6 {
  color: var(--heading-special);
  margin-top: 2.2em;
  margin-bottom: 0.8em;
  font-weight: 700;
  line-height: 1.4;
}

.xtrim-single-elegant-content h2 {
  font-size: 1.8rem;
  border-right: 4px solid var(--main-color);
  padding-right: 14px;
}

.xtrim-single-elegant-content h3 {
  font-size: 1.5rem;
}

.xtrim-single-elegant-content p {
  margin-bottom: 1.5rem;
}

.xtrim-single-elegant-content img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 1.8rem 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.xtrim-single-elegant-content blockquote {
  background: linear-gradient(135deg, var(--hover-bg), transparent);
  border-right: 4px solid var(--main-color);
  padding: 1.2rem 1.8rem;
  margin: 2rem 0;
  border-radius: 16px;
  color: var(--text-body);
}

.xtrim-single-elegant-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin: 2.5rem 2.5rem 1.5rem 2.5rem;
  padding-top: 1.5rem;
  position: relative;
  border-top: 1px solid var(--border-color);
}

.xtrim-single-elegant-tags {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.xtrim-tags-label {
  background: linear-gradient(135deg, var(--main-color), #a855f7);
  color: var(--btn-text);
  padding: 0.35rem 1.1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.15);
}

.xtrim-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.xtrim-tags-list a {
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--text-body);
  transition: all 0.25s ease;
}

.xtrim-tags-list a:hover {
  background: var(--main-color);
  color: var(--btn-text);
  border-color: var(--main-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(124, 58, 237, 0.2);
}

.xtrim-single-elegant-share {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.xtrim-share-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--heading-special);
}

.xtrim-share-buttons {
  display: flex;
  gap: 0.5rem;
}

.xtrim-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  transition: all 0.25s ease;
  text-decoration: none;
  font-size: 1.1rem;
}

.xtrim-share-link:hover {
  background: linear-gradient(135deg, var(--main-color), #a855f7);
  color: var(--btn-text);
  border-color: var(--main-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.25);
}

.xtrim-single-elegant-comments {
  margin: 2rem 2.5rem 2.5rem 2.5rem;
  padding-top: 2rem;
}

.xtrim-single-elegant-comments .comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.xtrim-single-elegant-comments .comment-body {
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.25s ease;
}

.xtrim-single-elegant-comments .comment-body:hover {
  transform: translateX(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.xtrim-single-elegant-comments .comment-author {
  font-weight: 700;
  color: var(--heading-special);
}

.xtrim-single-elegant-comments .reply a {
  background: linear-gradient(135deg, var(--main-color), #a855f7);
  color: var(--btn-text);
  padding: 0.3rem 1.3rem;
  border-radius: 40px;
  font-size: 0.75rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.xtrim-single-elegant-comments .reply a:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.xtrim-single-elegant-comments .comment-respond {
  margin-top: 3rem;
}

.xtrim-single-elegant-comments .comment-reply-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading-special);
  margin-bottom: 1.5rem;
}

.xtrim-single-elegant-comments .comment-form input,
.xtrim-single-elegant-comments .comment-form textarea {
  background: var(--bg-menu);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.8rem 1.4rem;
  color: var(--text-body);
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
  outline: none;
}

.xtrim-single-elegant-comments .comment-form input:focus,
.xtrim-single-elegant-comments .comment-form textarea:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.xtrim-single-elegant-comments .comment-form .submit {
  background: linear-gradient(135deg, var(--main-color), #7c3aed);
  color: var(--btn-text);
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.xtrim-single-elegant-comments .comment-form .submit:hover {
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.2);
}

@media (max-width: 992px) {
  .xtrim-single-elegant-grid {
    flex-direction: column;
  }
  .xtrim-single-elegant-sidebar {
    width: 100%;
  }
  .xtrim-single-elegant-card {
    border-radius: 20px;
  }
  .xtrim-single-elegant-title {
    font-size: 1.9rem;
    margin: 1.5rem 1.5rem 0.75rem 1.5rem;
  }
  .xtrim-single-elegant-breadcrumb {
    padding: 1.5rem 1.5rem 0 1.5rem;
  }
  .xtrim-single-elegant-cover {
    margin: 1.2rem 1.5rem 0 1.5rem;
    border-radius: 16px;
  }
  .xtrim-single-elegant-meta {
    margin: 0 1.5rem 1.5rem 1.5rem;
  }
  .xtrim-single-elegant-content {
    padding: 0 1.5rem;
  }
  .xtrim-single-elegant-footer {
    margin: 2rem 1.5rem 1.5rem 1.5rem;
  }
  .xtrim-single-elegant-comments {
    margin: 1.5rem 1.5rem 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .xtrim-single-elegant-title {
    font-size: 1.6rem;
  }
  .xtrim-single-elegant-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

.xtrim-widget-toc {
  background-color: var(--bg-menu);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.03);
  position: sticky;
  top: 100px;
  transition: all 0.3s ease;
}

body.dark-mode .xtrim-widget-toc {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.xtrim-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
}

.xtrim-toc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-special);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.xtrim-toc-title i {
  color: var(--main-color);
  font-size: 20px;
}

.xtrim-toc-toggle-btn {
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.xtrim-toc-toggle-btn:hover {
  background: var(--main-color);
  color: var(--btn-text);
  border-color: var(--main-color);
}

.xtrim-widget-toc.collapsed .xtrim-toc-toggle-btn i {
  transform: rotate(180deg);
}

.xtrim-toc-container {
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.xtrim-widget-toc.collapsed .xtrim-toc-container {
  max-height: 0;
}

.xtrim-toc-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xtrim-toc-container ul li {
  position: relative;
  transition: all 0.2s ease;
}

.xtrim-toc-container ul li.toc-h3 {
  padding-right: 15px;
}

.xtrim-toc-link {
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.25s ease;
  display: inline-block;
  opacity: 0.85;
  max-width: 100%;
}

.xtrim-toc-link:hover {
  color: var(--main-color);
  opacity: 1;
  padding-right: 5px;
}

.xtrim-toc-truncate .xtrim-toc-link {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

@media (max-width: 992px) {
  .xtrim-widget-toc {
    position: static;
    margin-bottom: 20px;
    border-radius: 16px;
  }
}

.under-sectionn .bubble {
  position: absolute;
  bottom: 0;
  background: rgba(130, 20, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  animation: floatUp 4s infinite linear;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.under-sectionn .b1 {
  left: 25%;
  width: 8px;
  height: 8px;
  animation-duration: 3.5s;
  animation-delay: 0s;
}

.under-sectionn .b2 {
  left: 45%;
  width: 14px;
  height: 14px;
  animation-duration: 5s;
  animation-delay: 1.5s;
}

.under-sectionn .b3 {
  left: 65%;
  width: 10px;
  height: 10px;
  animation-duration: 4s;
  animation-delay: 0.7s;
}

.under-sectionn .b4 {
  left: 80%;
  width: 6px;
  height: 6px;
  animation-duration: 4.5s;
  animation-delay: 2.2s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-80px) scale(1.2);
    opacity: 0;
  }
}

.logo-shine {
  vertical-align: middle;
  -webkit-mask: linear-gradient(
      -60deg,
      #ffffff 30%,
      rgba(0, 0, 0, 0.33),
      #ffffff 70%
    )
    right center / 200% 100%;
  mask: linear-gradient(-60deg, #ffffff 30%, rgba(0, 0, 0, 0.33), #ffffff 70%)
    right center / 200% 100%;
  animation: Rwshine 3s ease-in-out infinite;
}
@keyframes Rwshine {
  0% {
    -webkit-mask-position: 150% 0;
    mask-position: 150% 0;
  }
  100% {
    -webkit-mask-position: -50% 0;
    mask-position: -50% 0;
  }
}

.icon-color-header-call::before {
  color: var(--btn-text) !important;
}

.mobile-menu {
  background-color: var(--bg-menu);
  border-radius: 12px;
  padding: 10px;
  margin: 10px 0;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-list li {
  position: relative;
}

.mobile-menu-list a {
  display: block;
  padding: 10px 15px;
  color: var(--text-menu);
  background-color: var(--hover-bg);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-menu-list a:hover {
  background-color: var(--main-color);
  color: var(--btn-text);
  padding-right: 20px;
}

.mobile-menu-list ul.sub-menu {
  list-style: none;
  padding-right: 20px;
  margin-top: 5px;
  display: none;
}

.mobile-menu-list li:hover > ul.sub-menu {
  display: block;
}

.mobile-menu-list .menu-item-has-children > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-list .menu-item-has-children > a::after {
  font-family: "remixicon" !important;
  content: "\ea4e";
  font-size: 18px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.mobile-menu-list .menu-item-has-children.open > a::after {
  transform: rotate(180deg);
}

button.btn-close.text-reset {
  left: 0 !important;
  position: absolute !important;
  padding: 10px !important;
  margin-top: 30px !important;
  color: #fff !important;
  border: 1px solid var(--main-color) !important;
  margin-left: 10px !important;
}

/* Archive */
.archive-title {
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
  margin-bottom: 30px;
}

.archive-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.archive-title:hover::after {
  width: 180px;
}

/* related */

.xtrim-related-posts {
  padding: 50px 0;
  direction: rtl;
}
.xtrim-related-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.xtrim-related-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  margin-bottom: 4rem;
  justify-content: flex-start;
  position: relative;
}

.xtrim-related-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 3px;
  background: var(--main-color, #7c3aed);
  border-radius: 3px;
}

.xtrim-post-card {
  background: var(--bg-menu, #ffffff);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color, #e9d5ff);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.xtrim-post-card:hover {
  transform: translateY(-5px);
  border-color: var(--main-color, #7c3aed);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.xtrim-post-img {
  height: 200px;
  overflow: hidden;
}
.xtrim-post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.xtrim-post-card:hover .xtrim-post-thumb {
  transform: scale(1.05);
}
.xtrim-post-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.xtrim-post-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.4;
}
.xtrim-post-title a {
  text-decoration: none;
  color: var(--text-body, #1a0636);
  transition: color 0.2s;
}
.xtrim-post-title a:hover {
  color: var(--main-color, #7c3aed);
}
.xtrim-post-meta {
  display: flex;
  gap: 15px;
  font-size: 0.75rem;
  color: #7c7c8a;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.xtrim-post-meta i {
  font-size: 0.85rem;
  margin-left: 4px;
}
.xtrim-post-excerpt {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-body, #1a0636);
  opacity: 0.8;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xtrim-post-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--main-color, #7c3aed);
  padding: 8px 0;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s;
  margin-top: auto;
  width: fit-content;
}
.xtrim-post-link i {
  transition: transform 0.25s;
}
.xtrim-post-link:hover {
  gap: 10px;
  color: color-mix(in srgb, var(--main-color) 70%, black);
}
.xtrim-post-link:hover i {
  transform: translateX(-4px);
}

body.dark-mode .xtrim-post-card {
  background: var(--bg-menu, #1e1135);
  border-color: var(--border-color, #3b0764);
}
body.dark-mode .xtrim-post-title a,
body.dark-mode .xtrim-post-excerpt {
  color: var(--text-body, #f3e8ff);
}

@media (max-width: 768px) {
  .xtrim-related-heading {
    font-size: 1.5rem;
  }
  .xtrim-post-img {
    height: 180px;
  }
}

/* 404 */
.error-404-section {
  background-color: var(--bg-body);
  color: var(--text-body);
  padding: 100px 20px;
  text-align: center;
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  min-height: 70vh;
}

.error-404-container {
  max-width: 750px;
  margin: 0 auto;
}

.error-404-image {
  max-width: 100%;
  height: auto;
  max-height: 380px;
  margin-bottom: 45px;
  animation: floatAnimation 4s ease-in-out infinite;
  object-fit: contain;
}

.error-404-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--heading-special);
  margin-bottom: 20px;
  line-height: 1.4;
}

.error-404-desc {
  font-size: 1.15rem;
  color: var(--text-body);
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.error-404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-bg);
  color: var(--btn-text) !important;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
}

.error-404-btn:hover {
  background-color: var(--main-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.25);
}

.error-404-btn:active {
  transform: translateY(-1px);
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 768px) {
  .error-404-section {
    padding: 60px 15px;
  }
  .error-404-title {
    font-size: 1.85rem;
  }
  .error-404-desc {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .error-404-image {
    max-height: 280px;
    margin-bottom: 30px;
  }
  .error-404-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* theme need */
.header-1 {
  background: rgba(255, 255, 255, 0.28) !important;
  border-radius: 16px;
  box-shadow: 0 4px 20px #d0d4dd80;
  backdrop-filter: blur(6.9px);
  -webkit-backdrop-filter: blur(6.9px);
  margin-top: 20px;
  animation: glassMorph 4s infinite ease-in-out;
}
.shadow-1 {
  box-shadow: 0 4px 20px #d0d4dd80;
}
.dark-mode.shadow-1 {
  box-shadow: 0 4px 20px #0f101080;
}

span.elementor-icon-list-text {
  font-family: "Xtrim" !important;
}
