/*
 * VDS expert directory UI
 * Shared by the three Elementor expert-finder page templates.
 */
.vds-expert-directory,
.vds-expert-directory * {
  box-sizing: border-box;
}

.vds-expert-directory {
  --vds-expert-primary: #006764;
  --vds-expert-primary-strong: #00504d;
  --vds-expert-soft: #c4e6e3;
  --vds-expert-surface: #fbf9f8;
  --vds-expert-surface-low: #f6f3f2;
  --vds-expert-white: #fff;
  --vds-expert-ink: #1b1c1c;
  --vds-expert-muted: #53615f;
  --vds-expert-line: #d8dfde;
  width: 100%;
  padding: 96px 0 110px !important;
  background: var(--vds-expert-surface);
  color: var(--vds-expert-ink);
  font-family: "Noto Sans KR", sans-serif;
}

.vds-expert-directory > .e-con-inner,
.vds-expert-directory.vds-expert-directory {
  max-width: none;
}

.vds-expert-directory .vds-expert-shell {
  width: min(1200px, calc(100% - 128px)) !important;
  max-width: 1200px !important;
  margin-inline: auto !important;
  padding: 0 !important;
  gap: 0 !important;
}

.vds-expert-directory .vds-expert-style {
  display: none !important;
}

.vds-expert-directory .elementor-widget-spacer {
  display: none !important;
}

.vds-expert-directory .vds-expert-title {
  margin: 0 !important;
  text-align: center;
}

.vds-expert-directory .vds-expert-top-widget,
.vds-expert-directory .vds-expert-top {
  width: 100%;
}

.vds-expert-directory .vds-expert-top .vds-eyebrow {
  margin: 0 0 10px;
  color: var(--vds-expert-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}

.vds-expert-directory .vds-expert-title .elementor-heading-title {
  margin: 0;
  color: var(--vds-expert-ink) !important;
  font-family: "Noto Serif KR", serif !important;
  font-size: clamp(34px, 4vw, 48px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.045em !important;
}

.vds-expert-directory .vds-expert-title-divider {
  width: 74px !important;
  margin: 22px auto 38px !important;
}

.vds-expert-directory .vds-expert-title-divider .elementor-divider {
  padding: 0 !important;
}

.vds-expert-directory .vds-expert-title-divider .elementor-divider-separator {
  width: 74px !important;
  border-block-start: 3px solid var(--vds-expert-primary) !important;
}

.vds-expert-directory .vds-expert-intro {
  margin: 0 0 48px !important;
}

.vds-expert-directory .vds-expert-intro > .elementor-widget-container {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--vds-expert-line);
  border-radius: 12px;
  background: var(--vds-expert-white);
  box-shadow: 0 16px 42px rgba(27, 28, 28, .055);
}

.vds-expert-directory .vds-expert-intro,
.vds-expert-directory .vds-expert-intro p,
.vds-expert-directory .vds-expert-intro li {
  color: var(--vds-expert-muted);
  font-size: 15px;
  line-height: 1.85;
  word-break: keep-all;
}

.vds-expert-directory .vds-expert-intro p {
  margin: 0 0 14px;
}

.vds-expert-directory .vds-expert-intro img.emoji {
  display: inline-block !important;
  width: 1em !important;
  min-width: 1em !important;
  max-width: 1em !important;
  height: 1em !important;
  min-height: 1em !important;
  max-height: 1em !important;
  margin: 0 .12em !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: -.12em !important;
  object-fit: contain !important;
  box-shadow: none !important;
}

.vds-expert-directory .vds-expert-intro p:first-child {
  margin-bottom: 18px;
  color: var(--vds-expert-primary);
  font-size: 13px;
  letter-spacing: .04em;
}

.vds-expert-directory .vds-expert-intro strong {
  color: var(--vds-expert-ink);
  font-weight: 700;
}

.vds-expert-directory .vds-expert-intro h5 {
  margin: 28px 0 12px;
  color: var(--vds-expert-primary);
  font-family: "Noto Serif KR", serif;
  font-size: 19px;
  text-decoration: none !important;
}

.vds-expert-directory .vds-expert-intro h5 span {
  text-decoration: none !important;
}

.vds-expert-directory .vds-expert-intro ul {
  display: grid;
  margin: 0 0 18px;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  list-style: none;
}

.vds-expert-directory .vds-expert-intro li {
  position: relative;
  margin: 0;
  padding-left: 17px;
}

.vds-expert-directory .vds-expert-intro li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vds-expert-primary);
  font-weight: 700;
}

.vds-expert-directory .vds-expert-intro hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--vds-expert-line);
}

.vds-expert-directory .vds-expert-intro blockquote {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 0;
  border-left: 4px solid var(--vds-expert-primary);
  border-radius: 0 8px 8px 0;
  background: var(--vds-expert-surface-low);
}

.vds-expert-directory .vds-expert-intro blockquote p {
  margin: 0;
}

.vds-expert-directory .vds-expert-tabs {
  width: 100%;
  margin: 0 !important;
}

.vds-expert-directory .vds-expert-tabs .e-n-tabs-heading {
  display: flex !important;
  width: 100%;
  margin: 0 0 34px;
  padding: 6px;
  gap: 6px;
  overflow-x: auto;
  border: 1px solid var(--vds-expert-line);
  border-radius: 12px;
  background: var(--vds-expert-white);
  scrollbar-width: thin;
  scrollbar-color: var(--vds-expert-soft) transparent;
}

.vds-expert-directory .vds-expert-tabs .e-n-tab-title {
  flex: 1 0 auto;
  min-width: 112px;
  min-height: 48px;
  padding: 10px 18px !important;
  justify-content: center;
  border: 0 !important;
  border-radius: 8px;
  background: transparent !important;
  color: var(--vds-expert-muted) !important;
  font-family: "Noto Sans KR", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.vds-expert-directory .vds-expert-tabs .e-n-tab-title:hover {
  background: var(--vds-expert-surface-low) !important;
  color: var(--vds-expert-primary) !important;
}

.vds-expert-directory .vds-expert-tabs .e-n-tab-title[aria-selected="true"],
.vds-expert-directory .vds-expert-tabs .e-n-tab-title.e-active {
  background: var(--vds-expert-primary) !important;
  color: #fff !important;
}

.vds-expert-directory .vds-expert-region {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  background: transparent !important;
}

.vds-expert-directory .vds-expert-region-title {
  margin: 0 !important;
}

.vds-expert-directory .vds-expert-region-title .elementor-heading-title {
  margin: 0;
  color: var(--vds-expert-ink) !important;
  font-family: "Noto Serif KR", serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -.035em !important;
}

.vds-expert-directory .vds-expert-region-divider {
  margin: 14px 0 28px !important;
}

.vds-expert-directory .vds-expert-region-divider .elementor-divider {
  padding: 0 !important;
}

.vds-expert-directory .vds-expert-region-divider .elementor-divider-separator {
  width: 100% !important;
  border-block-start: 1px solid var(--vds-expert-line) !important;
}

.vds-expert-directory .vds-expert-grid {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.vds-expert-directory .vds-expert-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  align-self: stretch;
  animation: none !important;
}

.vds-expert-directory .vds-expert-card > .elementor-widget-container {
  height: 100%;
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-wrapper {
  display: flex;
  position: relative;
  height: 100%;
  min-height: 220px;
  padding: 28px;
  flex-direction: column;
  border: 1px solid var(--vds-expert-line);
  border-top: 3px solid var(--vds-expert-primary);
  border-radius: 10px;
  background: var(--vds-expert-white);
  box-shadow: 0 10px 30px rgba(27, 28, 28, .045);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-wrapper:hover {
  transform: translateY(-3px);
  border-color: var(--vds-expert-primary);
  box-shadow: 0 18px 40px rgba(0, 103, 100, .09);
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-content {
  display: inline-flex;
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: fit-content;
  max-width: calc(100% - 44px);
  margin: 0 !important;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--vds-expert-soft);
  color: var(--vds-expert-primary) !important;
  font-family: "Noto Sans KR", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: .05em !important;
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-content:empty {
  display: none !important;
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-meta {
  display: flex;
  margin-top: auto;
  align-items: center;
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-meta-inner {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 18px;
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-image {
  flex: 0 0 85px;
  width: 85px !important;
  min-width: 85px !important;
  height: 85px !important;
  min-height: 85px !important;
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-image img {
  width: 85px !important;
  min-width: 85px !important;
  max-width: 85px !important;
  height: 85px !important;
  min-height: 85px !important;
  max-height: 85px !important;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--vds-expert-line);
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-details {
  min-width: 0;
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-name {
  margin-bottom: 7px;
  color: var(--vds-expert-ink) !important;
  font-family: "Noto Serif KR", serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: -.025em !important;
  text-transform: none !important;
}

.vds-expert-directory .vds-expert-card .elementor-testimonial-job {
  color: var(--vds-expert-muted) !important;
  font-family: "Noto Sans KR", sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .vds-expert-directory {
    padding: 78px 0 88px !important;
  }

  .vds-expert-directory .vds-expert-shell {
    width: min(100% - 48px, 720px) !important;
  }

  .vds-expert-directory .vds-expert-tabs .e-n-tab-title {
    flex-grow: 0;
  }
}

@media (max-width: 767px) {
  .vds-expert-directory {
    padding: 64px 0 72px !important;
  }

  .vds-expert-directory .vds-expert-shell {
    width: calc(100% - 40px) !important;
  }

  .vds-expert-directory .vds-expert-title-divider {
    margin-bottom: 30px !important;
  }

  .vds-expert-directory .vds-expert-intro {
    margin-bottom: 36px !important;
  }

  .vds-expert-directory .vds-expert-intro > .elementor-widget-container {
    padding: 24px 20px;
  }

  .vds-expert-directory .vds-expert-intro,
  .vds-expert-directory .vds-expert-intro p,
  .vds-expert-directory .vds-expert-intro li {
    font-size: 14px;
    word-break: normal;
  }

  .vds-expert-directory .vds-expert-intro ul {
    grid-template-columns: 1fr;
  }

  .vds-expert-directory .vds-expert-tabs .e-n-tabs-heading {
    margin-bottom: 28px;
  }

  .vds-expert-directory .vds-expert-tabs .e-n-tab-title {
    min-width: 104px;
    min-height: 44px;
    padding: 9px 14px !important;
    font-size: 13px !important;
  }

  .vds-expert-directory .vds-expert-region-title .elementor-heading-title {
    font-size: 24px !important;
  }

  .vds-expert-directory .vds-expert-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .vds-expert-directory .vds-expert-card .elementor-testimonial-wrapper {
    min-height: 0;
    padding: 23px 20px;
  }

  .vds-expert-directory .vds-expert-card .elementor-testimonial-meta-inner {
    align-items: flex-start;
    gap: 14px;
  }

  .vds-expert-directory .vds-expert-card .elementor-testimonial-image {
    flex-basis: 85px;
  }

  .vds-expert-directory .vds-expert-card .elementor-testimonial-name {
    font-size: 18px !important;
  }
}

/* Standalone HTML-widget structure used by the portable JSON templates. */
.vds-expert-directory .vds-expert-title h1 {
  margin: 0;
  color: var(--vds-expert-ink);
  font-family: "Noto Serif KR", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.045em;
}

.vds-expert-directory .vds-expert-title-divider {
  height: 3px;
  background: var(--vds-expert-primary);
}

.vds-expert-directory .vds-expert-intro {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--vds-expert-line);
  border-radius: 12px;
  background: var(--vds-expert-white);
  box-shadow: 0 16px 42px rgba(27, 28, 28, .055);
}

.vds-expert-directory .vds-expert-tablist {
  display: flex;
  width: 100%;
  margin: 0 0 34px;
  padding: 6px;
  gap: 6px;
  overflow-x: auto;
  border: 1px solid var(--vds-expert-line);
  border-radius: 12px;
  background: var(--vds-expert-white);
  scrollbar-width: thin;
  scrollbar-color: var(--vds-expert-soft) transparent;
}

.vds-expert-directory .vds-expert-tab-button {
  flex: 1 0 auto;
  min-width: 112px;
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--vds-expert-muted);
  font: 700 14px/1.4 "Noto Sans KR", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.vds-expert-directory .vds-expert-tab-button:hover {
  background: var(--vds-expert-surface-low);
  color: var(--vds-expert-primary);
}

.vds-expert-directory .vds-expert-tab-button[aria-selected="true"] {
  background: var(--vds-expert-primary);
  color: #fff;
}

.vds-expert-directory .vds-expert-region[hidden] {
  display: none !important;
}

.vds-expert-directory .vds-expert-region-title h2 {
  margin: 0;
  color: var(--vds-expert-ink);
  font-family: "Noto Serif KR", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.vds-expert-directory .vds-expert-region-divider {
  height: 1px;
  background: var(--vds-expert-line);
}

.vds-expert-directory article.vds-expert-card {
  display: block;
}

.vds-expert-directory .vds-expert-card-inner {
  display: flex;
  position: relative;
  height: 100%;
  min-height: 220px;
  padding: 28px;
  flex-direction: column;
  border: 1px solid var(--vds-expert-line);
  border-top: 3px solid var(--vds-expert-primary);
  border-radius: 10px;
  background: var(--vds-expert-white);
  box-shadow: 0 10px 30px rgba(27, 28, 28, .045);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.vds-expert-directory .vds-expert-card-inner:hover {
  transform: translateY(-3px);
  border-color: var(--vds-expert-primary);
  box-shadow: 0 18px 40px rgba(0, 103, 100, .09);
}

.vds-expert-directory .vds-expert-badge {
  display: inline-flex;
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: fit-content;
  max-width: calc(100% - 44px);
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--vds-expert-soft);
  color: var(--vds-expert-primary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .05em;
}

.vds-expert-directory .vds-expert-profile {
  display: flex;
  margin-top: auto;
  align-items: center;
  gap: 18px;
}

.vds-expert-directory .vds-expert-photo {
  flex: 0 0 85px;
  width: 85px;
  min-width: 85px;
  max-width: 85px;
  height: 85px;
  min-height: 85px;
  max-height: 85px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--vds-expert-line);
}

.vds-expert-directory .vds-expert-info {
  min-width: 0;
}

.vds-expert-directory .vds-expert-name {
  margin: 0 0 7px;
  color: var(--vds-expert-ink);
  font-family: "Noto Serif KR", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.025em;
}

.vds-expert-directory .vds-expert-job {
  color: var(--vds-expert-muted);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .vds-expert-directory .vds-expert-tablist {
    margin-bottom: 28px;
  }

  .vds-expert-directory .vds-expert-tab-button {
    flex-grow: 0;
    min-width: 104px;
    min-height: 44px;
    padding: 9px 14px;
    font-size: 13px;
  }

  .vds-expert-directory .vds-expert-region-title h2 {
    font-size: 24px;
  }

  .vds-expert-directory .vds-expert-card-inner {
    min-height: 0;
    padding: 23px 20px;
  }

  .vds-expert-directory .vds-expert-profile {
    align-items: flex-start;
    gap: 14px;
  }

  .vds-expert-directory .vds-expert-photo {
    flex-basis: 85px;
  }

  .vds-expert-directory .vds-expert-name {
    font-size: 18px;
  }
}
/* ==========================================================================
   Final overrides matched to Elementor's rendered Nested Tabs/Testimonial DOM
   ========================================================================== */
.vds-expert-directory img.emoji,
.vds-expert-directory .elementor-widget-text-editor img.emoji {
  display: inline-block !important;
  width: 1em !important;
  min-width: 1em !important;
  max-width: 1em !important;
  height: 1em !important;
  min-height: 1em !important;
  max-height: 1em !important;
  margin: 0 .12em !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: -.12em !important;
  object-fit: contain !important;
  box-shadow: none !important;
}

/* Region tabs */
.vds-expert-directory .elementor-widget-n-tabs .e-n-tabs-heading {
  display: flex !important;
  width: 100% !important;
  margin: 0 0 34px !important;
  padding: 6px !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  overflow-x: auto !important;
  border: 1px solid var(--vds-expert-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

.vds-expert-directory .elementor-widget-n-tabs .e-n-tab-title {
  flex: 1 0 auto !important;
  min-width: 112px !important;
  min-height: 48px !important;
  padding: 10px 18px !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--vds-expert-muted) !important;
  font-family: "Noto Sans KR", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.vds-expert-directory .elementor-widget-n-tabs .e-n-tab-title:hover {
  background: var(--vds-expert-surface-low) !important;
  color: var(--vds-expert-primary) !important;
}

.vds-expert-directory .elementor-widget-n-tabs .e-n-tab-title[aria-selected="true"] {
  background: var(--vds-expert-primary) !important;
  color: #fff !important;
}

/* Expert card and certificate badge */
.vds-expert-directory .elementor-widget-testimonial .elementor-testimonial-wrapper {
  position: relative !important;
  overflow: visible !important;
}

.vds-expert-directory .elementor-widget-testimonial .elementor-testimonial-content {
  display: inline-flex !important;
  position: absolute !important;
  z-index: 3 !important;
  top: 20px !important;
  right: 20px !important;
  width: auto !important;
  max-width: calc(100% - 40px) !important;
  margin: 0 !important;
  padding: 6px 11px !important;
  align-items: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--vds-expert-primary) !important;
  color: #fff !important;
  font-family: "Noto Sans KR", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
  box-shadow: 0 6px 16px rgba(0, 103, 100, .18) !important;
}

.vds-expert-directory .elementor-widget-testimonial .elementor-testimonial-content:empty {
  display: none !important;
}

/* Only cards that actually contain a badge reserve overlap protection. */
.vds-expert-directory .elementor-widget-testimonial .elementor-testimonial-wrapper:has(> .elementor-testimonial-content) .elementor-testimonial-meta {
  padding-top: 34px !important;
}

.vds-expert-directory .elementor-widget-testimonial .elementor-testimonial-image {
  width: 85px !important;
  min-width: 85px !important;
  height: 85px !important;
  min-height: 85px !important;
}

.vds-expert-directory .elementor-widget-testimonial .elementor-testimonial-image img {
  width: 85px !important;
  min-width: 85px !important;
  max-width: 85px !important;
  height: 85px !important;
  min-height: 85px !important;
  max-height: 85px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

@media (max-width: 767px) {
  .vds-expert-directory .elementor-widget-n-tabs .e-n-tabs-heading {
    margin-bottom: 28px !important;
  }

  .vds-expert-directory .elementor-widget-n-tabs .e-n-tab-title {
    flex-grow: 0 !important;
    min-width: 104px !important;
    min-height: 44px !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
  }

  .vds-expert-directory .elementor-widget-testimonial .elementor-testimonial-content {
    top: 16px !important;
    right: 16px !important;
  }
}
