.acf-consultant-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  max-width: 700px;
  min-height: 200px;
  width: 100%;
  border: 1px solid var(--wdtBorderColor);
}

.consultant-photo-wrap {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
  background: #f2eaec;
}

.consultant-photo-rect {
  width: 175px;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  margin: 15px 0;
}

.consultant-info-rect {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.consultant-name-rect {
  font-size: 1.35em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--e-global-color-text);
}

.consultant-label {
  font-size: 0.95em;
  color: #b0b0b0;
  margin-top: 10px;
  margin-bottom: 2px;
  font-weight: 500;
  color: #54304d99;
}

.consultant-value {
  font-size: 1.05em;
  font-weight: 600;
  color: #222;
  margin-bottom: 2px;
  word-break: break-all;
  color: var(--e-global-color-text);
}

.consultant-value a {
  color: var(--e-global-color-text);
}

.consultant-cta-rect {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 16px;
  border: 1px solid var(--wdtBorderColor);
  border-radius: 30px;
  background: #fff;
  font-weight: 600;
  font-size: 1em;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.consultant-cta-rect:hover {
  background: var(--e-global-color-text);
  color: #fff;
}

@media (max-width: 800px) {
  .acf-consultant-card {
    height: auto;
    flex-direction: column;
    align-items: center;
    min-height: unset;
    max-width: 100%;
  }
  .consultant-photo-wrap {
    width: 100%;
    justify-content: center;
    padding: 16px 0 0 0;
  }
  .consultant-photo-rect {
    width: 80vw;
    max-width: 320px;
    height: 220px;
    margin: 0 0 12px 0;
  }
  .consultant-info-rect {
    text-align: center;
    padding: 20px 16px 28px 16px;
    width: 80%;
  }
}

.consultants-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.consultants-slider .swiper-slide {
  display: flex;
  height: auto;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  font-size: 18px !important;
  font-weight: 700 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 16px !important;
  color: white;
}

.swiper-button-next:hover:after,
.swiper-rtl .swiper-button-prev:hover:after,
.swiper-button-prev:hover:after,
.swiper-rtl .swiper-button-next:hover:after {
  color: var(--wdtPrimaryColor);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  box-shadow: inset 0 0 0 2px var(--wdtPrimaryColor);
}

.swiper-pagination-bullet {
  padding: 4px !important;
  background-color: var(--e-global-color-primary) !important;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: -6px !important;
}

.faq-button {
  width: fit-content !important;
  display: block !important;
  margin: 0 auto !important;
  margin-bottom: 20px !important;
}

/* FAQ Styles */

.acf-faq-questions {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.acf-faq-question-block {
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  transition: all 0.3s ease;
}

.acf-faq-question-block:last-child {
  border-bottom: none;
}

.acf-faq-question-block.active {
  background: #ffeee9;
}

.acf-faq-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.acf-faq-question-header:hover {
  background-color: #ffeee9;
}

.acf-faq-question {
  font-weight: 600;
  color: var(--e-global-color-text);
  flex: 1;
  margin-right: 1rem;
}

.acf-faq-toggle-icon {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--wdtPrimaryColor);
  transition: transform 0.3s ease;
  min-width: 20px;
  text-align: center;
}

.acf-faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.acf-faq-answer {
  padding: 18px 24px;
  color: var(--e-global-color-text);
  line-height: 1.6;
}

.acf-faq-question-block.active > .acf-faq-question-header {
  border-bottom: 1px solid #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .acf-faq-question-header {
    padding: 0.75rem 1rem;
  }

  .acf-faq-answer {
    padding: 0 1rem 0.75rem 1rem;
  }

  .acf-faq-question {
    font-size: 0.9rem;
  }
}

/* CTA Banner Styles */
.acf-cta-banner {
  background: #ffeee9;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 2rem 2.5rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

body h4.acf-cta-title {
  font-weight: 700;
  color: var(--wdtPrimaryColor);
  margin-bottom: 0.25rem;
}

.acf-cta-subtitle {
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .acf-cta-banner {
    padding: 1.2rem 1rem;
  }

  .acf-cta-title {
    font-size: 1.1rem;
  }

  .acf-cta-subtitle {
    font-size: 0.95rem;
  }
}

.licenses-slider-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #f9f9ff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 32px;
  min-height: 220px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.04);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.licenses-slider-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 249, 255, 0.82);
  z-index: 1;
  border-radius: 12px;
  pointer-events: none;
}

.licenses-slider-content {
  position: relative;
  z-index: 2;
}

body .licenses-slider-explore-btn.wdt-button {
  position: relative;
  z-index: 2;
  margin-top: auto;
  align-self: flex-start;
  box-shadow: 0 1px 4px rgba(30, 64, 175, 0.08);
}

.licenses-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.licenses-slider .swiper-slide {
  display: flex;
  height: auto;
}

.licenses-slider-post-title {
  margin: 10px 0 4px;
}

.licenses-slider-post-title a {
  text-decoration: none;
  color: var(--e-global-color-text);
}

.acf-licenses-title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.acf-licenses-subtitle {
  font-size: 1.02rem;
  color: #334155;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .licenses-slider-card {
    padding: 1rem 0.5rem;
  }

  .acf-licenses-title {
    font-size: 1.05rem;
  }

  .acf-licenses-subtitle {
    font-size: 0.95rem;
  }
}

.acf-contact-form-section {
  background: #ffeee9;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 12px rgba(30, 64, 175, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}
body h2.acf-contact-form-title {
  margin: 0;
  color: var(--wdtPrimaryColor);
}
.acf-contact-form-subtitle {
  margin: 0;
}
.acf-contact-form-wrap {
  width: 100%;
}
@media (max-width: 600px) {
  .acf-contact-form-section {
    padding: 1.2rem 0.7rem;
  }
}

.featured-post-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #ffeee9;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 32px;
  border: 1px solid var(--wdtBorderColor);
  min-height: 200px;
  width: 100%;
}

.featured-posts-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.featured-posts-swiper .swiper-slide {
  display: flex;
  height: auto;
}

.featured-post-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.featured-post-title {
  font-size: 1.6rem;
  margin: 12px 0 6px;
}

.featured-post-title a {
  color: #333;
  text-decoration: none;
}

.post-flag-image {
  border-radius: 4px;
}

.featured-post-excerpt {
  font-size: 0.9rem;
  color: #666;
}

.acf-consultants-subtitle {
  margin-bottom: 16px;
}

.featured-post-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-acf-field.post-license {
  margin-bottom: 10px;
}

#text-2:has(.wpcf7) .widgettitle {
  color: var(--wdtPrimaryColor);
}

.wpcf7 input:not(.wpcf7-submit),
.wpcf7 textarea {
  background-color: #fff;
}

@media (max-width: 767px) {
  .mobile-toc .widget {
    border-radius: var(--wdtRadius_3X);
  }
}

#secondary aside.widget,
.mobile-toc .widget {
  background: var(--e-global-color-c26118a);
}

#secondary aside.widget a,
.mobile-toc .widget a {
  color: #fff;
}

#secondary aside.widget a:hover,
.mobile-toc .widget a:hover {
  color: var(--wdtPrimaryColor);
}

#secondary .widgettitle,
.mobile-toc .widget-title {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  margin-bottom: 4px;
}

#secondary #text-2:has(.wpcf7) {
  background: #ffeee9;
}

body input[type="submit"]:hover {
  box-shadow: inset 0 0 0 2px var(--wdtPrimaryColor);
  color: var(--wdtPrimaryColor);
}

.featured-post-card .featured-post-title {
  margin: 0;
}
.featured-post-card .post-license {
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
  align-self: center;
}
.featured-post-card .post-advantages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.featured-post-card .post-advantages ul {
  margin: 0;
}
.featured-post-card .post-advantages ul li {
  display: flex;
  gap: 10px;
  padding: 0 0 0 10px;
  margin: 0;
}
.featured-post-card .post-advantages ul li span {
  display: flex;
  flex: 1;
}
.featured-post-card .post-advantages ul li::before {
  content: "";
  display: flex;
  width: 3px;
  height: 3px;
  background: #54304D;
  margin: 11px 0 0;
  position: relative;
  inset: auto;
}
.featured-post-card .post-acf-fields {
  margin: auto 0 0;
  padding: 30px 0 0;
  display: flex;
  gap: 8px;
  width: 100%;
  align-items: end;
}
.featured-post-card .post-acf-fields .post-acf-field {
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  flex: 1 1 0;
  text-align: left;
  min-width: 0;
  margin: 0;
  height: 35px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.featured-post-card .post-acf-field.post-timeframe-block {
  background: transparent;
  color: var(--e-global-color-text);
  border: 2px solid var(--e-global-color-text);
}
.featured-post-card .post-acf-field.post-taxes-block {
  border: 2px solid var(--e-global-color-text);
  background: var(--e-global-color-text);
  color: #fff;
}

/* === Consultant Portrait Card (New) === */
.acf-consultant-card-portrait {
  position: relative;

  aspect-ratio: 3/4;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  background: #f2eaec;
  display: flex;
  align-items: flex-end;
  margin-bottom: 30px;
}

.consultant-photo-portrait-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.consultant-photo-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  display: block;
  border-radius: 18px;
  transition: transform 0.3s ease;
}

.consultant-card-link {
  display: block;
  text-decoration: none;
  height: 100%;
  width: 100%;
}

.consultant-card-link:hover .consultant-photo-portrait {
  transform: scale(1.05);
}

.consultant-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    0deg,
    rgba(84, 48, 77, 0.78) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  padding: 22px 14px 14px 14px;
  box-sizing: border-box;
  z-index: 2;
}

.consultant-name-overlay {
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: 7px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.consultant-desc-overlay {
  font-size: 1em;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

@media (max-width: 800px) {
  .acf-consultant-card-portrait {
    /*     width: 80vw; */
    /*     max-width: 320px; */
    min-width: 180px;
  }
}
/* ===== ГЛОБАЛЬНІ СТИЛІ ДЛЯ СЛАЙДЕРІВ З НАВІГАЦІЄЮ ===== */

/* Заголовок з кнопками навігації - ГЛОБАЛЬНИЙ */
.slider-header-row,
.consultants-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 0;
}

/* Підзаголовки - ГЛОБАЛЬНИЙ */
.slider-subtitle,
.acf-consultants-subtitle,
.acf-licenses-subtitle {
  margin-bottom: 18px;
  margin-top: 8px;
}

/* Контейнер для кнопок навігації - ГЛОБАЛЬНИЙ */
.slider-arrows,
.consultants-arrows {
  display: flex;
  gap: 8px;
}

/* Стилі для кнопок навігації - ГЛОБАЛЬНИЙ */
.slider-arrows .swiper-button-next,
.slider-arrows .swiper-button-prev,
.consultants-arrows .swiper-button-next,
.consultants-arrows .swiper-button-prev {
  position: relative;
  margin: 0;
  transform: none;
  top: auto;
  left: auto;
  padding: 22px;
  right: 0;
  left: 0;
}

/* Приховування стандартних кнопок навігації всередині слайдерів - ГЛОБАЛЬНИЙ */
.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  display: none;
}

#secondary .widget {
  padding: 20px;
}

#secondary .widget p {
  line-height: 130%;
}

#secondary .widgettitle {
  margin-bottom: 10px;
}

body #secondary .wpcf7-form input:not([type="submit"]) {
  margin-bottom: 10px;
}

.toc {
  max-height: 320px; /* Висота для ~10 елементів */
  overflow-y: auto;
}

#secondary aside.widget .toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  padding-right: 16px;
}

#secondary aside.widget .toc li {
  position: relative; /* Needed for the pseudo-element */
}

#secondary aside.widget .toc a {
  text-decoration: none;
  display: block;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

#secondary aside.widget .toc a:hover {
  color: var(--wdtPrimaryColor);
}

#secondary aside.widget .toc a.active {
  color: var(--wdtPrimaryColor);
  padding-left: 14px; /* Extra space for active state */
}

/* Alternative: Line from the very left edge */
#secondary aside.widget .toc a.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--wdtPrimaryColor);
  border-radius: 10px;
  opacity: 0.8;
}

/* Use either ::before OR ::after, not both - remove one */

/* Smooth scroll для TOC */
#secondary aside.widget .toc {
  scroll-behavior: smooth;
}

/* Posts Grid Mode */
.featured-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.grid-post-item {
  width: 100%;
  min-width: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .featured-posts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (min-width: 769px) and (max-width: 1279px) {
  .featured-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .featured-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.featured-post-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

.grid-post-item > .featured-post-card {
  height: 100%;
}

.featured-post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* mobile default */
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 600px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr); /* tablet */
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr); /* desktop */
    grid-template-rows: repeat(2, 1fr);
  }
}

.advantage-item {
  padding: 16px;
  border: 1px solid #54304d26;
  border-radius: 8px;
  background: #ffeee9;
}

.advantage-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.advantages-grid .advantage-icon {
  padding: 6px;
  border-radius: 6px;
  background-color: var(--wdtPrimaryColor);
}

.advantage-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 8px;
}

.advantage-header h4 {
  position: relative;
  padding-left: 12px; /* відступ для лінії */
  margin: 0;
  font-size: 36px;
  display: flex;
  align-items: center;
  line-height: 100%;
}

.advantage-header h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--wdtPrimaryColor);
  border-radius: 4px;
}

.advantage-text {
  margin-bottom: 0;
  line-height: 1;
}

body .blog-single-entry.post-minimal .post-meta {
  margin-bottom: 0;
}

body #secondary.secondary-sidebar {
  margin-bottom: 48px;
}

.banks-page.container {
  margin-bottom: 48px;
}

.main {
  margin-bottom: 48px;
}

#main .container {
  margin-bottom: 48px;
}

/*.post-flag-title-flex a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}*/


.with-spinner {
  width: 100%;
}

.consultants-arrows {
  display: none;
}

.consultant-card-link {
  margin-bottom: 32px;
}

.entry-title h4 a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}

.widget .recent-posts-widget li .entry-title h4 {
  margin-top: 0;
  margin-bottom: 0;
}

.widget .recent-posts-widget li {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.widget .recent-posts-widget li .thumb svg {
  width: 100%;
  border-radius: var(--wdtRadius_1X);
  -webkit-border-radius: var(--wdtRadius_1X);
  height: 100%;
}

#secondary .widgettitle {
  margin-bottom: 20px;
}

.widget .recent-posts-widget li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
.widget .recent-posts-widget.hub-post li {
  margin-bottom: 20px;
}

.widget .recent-posts-widget.hub-post {
  border-bottom: 1px solid transparent;
  border-image: repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3) 4px,
      transparent 4px,
      transparent 8px
    )
    1 100%;
  border-image-slice: 1;
  margin-bottom: 20px;
}

body .swiper-pagination-bullet {
  border-radius: var(--wdtRadius_Part);
}

.recommendations-slider .swiper-slide {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: stretch;
}

.recommendations-slider .card {
  position: relative; /* щоб можна було абсолютно позиціонувати блок з кавичками */
  background: var(--e-global-color-text);
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 32px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.recommendations-slider .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8f8f8;
  border-radius: 8px;
}

/* Блок з кавичками */
.recommendations-slider .quote-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--e-global-color-text);
  color: var(--e-global-color-accent, #fff);
  border-radius: 10px 0 8px 0;
  padding: 13px 35px;
  font-size: 60px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Для планшетів (максимум 768px) */
@media (max-width: 768px) {
  .recommendations-slider .quote-badge {
    padding: 10px 25px;
    font-size: 45px;
    right: 10px;
    bottom: 10px;
    border-radius: 9px 0 7px 0;
  }
}

/* Для мобільних (максимум 480px) */
@media (max-width: 480px) {
  .recommendations-slider .quote-badge {
    padding: 8px 20px;
    font-size: 36px;
    right: 8px;
    bottom: 8px;
    border-radius: 8px 0 6px 0;
  }
}

.our-partners-section {
  max-width: 1200px;
  margin: 0 auto;
}

/* Сітка логотипів */
.our-partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; /* зменшили відступ */
  align-items: center;
  justify-items: center;
}

.partner-logo img {
  max-height: 100px; /* збільшили розмір */
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(90%);
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

.partner-logo img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

@media only screen and (max-width: 767px) {
  .blog-single-entry.post-minimal
    .post-meta
    > [class*="meta"]
    div[class*="entry-"],
  .blog-single-entry.post-minimal .single-entry-author {
    flex-direction: column;
  }

  .advantage-header h4 {
    font-size: 30px !important;
  }
}

.table-banks td {
  text-align: center;
}

.table-banks th:first-child {
  text-align: left;
}

.table-banks td.table-banks-title {
  width: 30%;
  text-align: left;
}

.table-banks-btn {
}

.table-banks-type {
  width: 25%;
}

.table-banks-srok {
  width: 20%;
}

.table-banks-price {
  width: 15%;
}

/* Add border radius to sticky tables */
.sticky-table {
  border-radius: 10px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

/* Ensure corners are rounded on first and last cells */
.sticky-table thead tr:first-child th:first-child,
.sticky-table thead tr:first-child td:first-child {
  border-top-left-radius: 10px;
}

.sticky-table thead tr:first-child th:last-child,
.sticky-table thead tr:first-child td:last-child {
  border-top-right-radius: 10px;
}

.sticky-table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.sticky-table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

body .blog-single-entry.post-minimal .post-meta > [class*="meta"] a:hover {
  color: var(--wdtBodyTxtColor);
}

body .wdt-header-menu .wdt-primary-nav > li > a {
  margin: 6px 0;
}

body
  .wdt-header-menu-link-list.elementor-widget
  .elementor-icon-list-item
  a:hover {
  background-color: var(--wdtPrimaryColor);
  background-image: none;
  color: white;
}

body
  header
  .elementor-widget.elementor-widget-icon-list
  .elementor-icon-list-text {
  color: white !important;
}

body header a.wdt-button:hover,
body .sticky-header-simplified a.wdt-button:hover {
  color: white;
}

body .mobile-menu ul li.menu-item > a:hover {
  color: white;
}

body .wdt-template-filled .wdt-button > div.wdt-button-text > span {
  white-space: nowrap;
}

body .widget .recent-posts-widget li .entry-title h4 {
  letter-spacing: 0;
}

body .swiper-button-next,
body .swiper-button-prev {
  z-index: 3;
}

/* Desktop / Mobile visibility */
.desktop-section {
  display: block;
}
.mobile-section {
  display: none;
}

@media (max-width: 767px) {
  .desktop-section {
    display: none;
  }
  .mobile-section {
    display: block;
  }
}

.swiper-pagination-bullet-active {
  scale: 1.2;
}

/* Smooth expand/collapse */
#toc-mobile {
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  opacity: 0;
}

#toc-mobile.expanded {
  opacity: 1;
  overflow-y: auto; /* allow scroll when expanded */
}

/* Limit height on mobile */
@media (max-width: 768px) {
  #toc-mobile {
    max-height: 0;
  }
}

/* Arrow animation */
.toc-widget-toggle .toc-toggle-icon {
  transition: transform 0.3s ease;
  transform: rotate(90deg); /* down by default */
}

.toc-widget-toggle:not(.collapsed) .toc-toggle-icon {
  transform: rotate(-90deg); /* up when expanded */
}

body .blog-single-entry.post-minimal .post-meta {
  border-radius: var(--wdtRadius_2X);
}

.bread-mobile {
  display: none;
}

@media (max-width: 768px) {
  .bread-mobile {
    display: block;
  }

  .bread-desc {
    display: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: none !important;
}

.entry-title h4 {
  font-weight: 400;
  font-size: 16px;
}

.wpml-custom-dropdown {
  position: relative;
  display: inline-block;
}

#wpml-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: 24px;
  color: #fff;
  margin: 0;
  padding: 10px;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
}

.wpml-dropdown-toggle img {
  width: 18px;
  height: auto;
}

.wpml-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: max-content;
  background-color: #ffeee9;
  list-style: none;
  padding: 4px 2px;
  margin: 6px 0 0;
  border-radius: 10px;
  border: 1px solid;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.wpml-custom-dropdown.open .wpml-dropdown-list {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wpml-dropdown-list li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 6px;
  font-family: "Roboto Condensed", sans-serif;
}

.wpml-dropdown-list li a:hover {
  background-color: var(--wdtPrimaryColor);
  color: #fff;
}

.wpml-dropdown-toggle {
  position: relative;
  padding-right: 18px;
}

.wpml-dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-width: 0 1px 1px 0;
  border-style: solid;
  border-color: currentColor;
  display: inline-block;
  transition: transform 0.25s ease;
}

.wpml-custom-dropdown.open .wpml-dropdown-toggle::after {
  transform: translateY(-50%) rotate(-135deg);
}
