/* ── Experts & organizations listing ── */
@import url('expert-list-card.css');

.xl-page {
  padding: 1.75rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34, 197, 94, 0.08), transparent),
    var(--bg);
  min-height: calc(100dvh - var(--site-header-h, var(--nav-h)));
}

body.xl-body {
  --page-canvas: var(--bg);
}

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

.xl-wrap {
  width: min(1280px, 100% - 2rem);
}

.xl-bc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.xl-bc a {
  color: var(--teal-700);
  text-decoration: none;
}

.xl-bc a:hover {
  text-decoration: underline;
}

.xl-bc .seo-bc__sep {
  color: var(--slate-300);
}

.xl-layout {
  display: grid;
  grid-template-columns: minmax(0, 272px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

/* Filters sidebar */
.xl-filter-actions {
  display: none;
  width: 100%;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.xl-filters-mobile {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.xl-filters {
  position: sticky;
  top: calc(var(--site-header-h, var(--nav-h)) + 1.25rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.xl-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, var(--slate-50));
}

.xl-filters__head h2 {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.xl-filters__head h2 svg {
  width: 18px;
  height: 18px;
  color: var(--teal-600);
}

.xl-filters__clear {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-700);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.xl-filters__clear:hover {
  background: var(--teal-100);
  color: var(--teal-900);
}

.xl-filters__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.xl-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  margin-bottom: 0.45rem;
}

.xl-field select,
.xl-field input[type="search"],
.xl-field input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
}

.xl-field select {
  cursor: pointer;
}

.xl-field select:focus,
.xl-field input[type="search"]:focus,
.xl-field input[type="text"]:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.xl-filters__submit {
  margin-top: 0.25rem;
}

/* Main area */
.xl-main {
  min-width: 0;
}

.xl-page-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
  color: var(--ink, #1e2d3d);
}

.xl-page-lead {
  margin: -0.35rem 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--slate-600);
  max-width: 52rem;
}

.xl-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.xl-active-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-800);
  background: var(--teal-50, #f0fdf4);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.xl-active-filters__chip:hover {
  background: #fff;
  border-color: var(--teal-400, #4ade80);
}

.xl-active-filters__x {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.65;
}

.xl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
  padding: 0.85rem 1.15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.xl-count {
  font-size: 0.92rem;
  color: var(--slate-600);
  font-weight: 500;
}

.xl-count strong {
  color: var(--teal-800);
  font-weight: 700;
}

.xl-sort {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.xl-sort label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-500);
  white-space: nowrap;
}

.xl-sort select {
  min-width: 180px;
  padding: 0.55rem 2rem 0.55rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--slate-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  appearance: none;
  cursor: pointer;
  transition: var(--transition);
}

.xl-sort select:focus {
  outline: none;
  border-color: var(--teal-400);
  background-color: #fff;
}

/* Card grid */
.xl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.xl-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}

.home-section--experts .xl-grid--featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Ana sayfa — 2 öne çıkan diyetisyen, sağ-sol zigzag */
.home-section--experts .xl-grid--featured-zigzag {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
}

.home-section--experts .xl-grid--featured-zigzag .xl-card--expert {
  width: min(100%, 440px);
}

.home-section--experts .xl-grid--featured-zigzag .xl-card--expert:nth-child(odd) {
  margin-right: auto;
}

.home-section--experts .xl-grid--featured-zigzag .xl-card--expert:nth-child(even) {
  margin-left: auto;
}

.home-section--removed {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 88% 0%, rgba(22, 163, 74, 0.08), transparent 55%),
    radial-gradient(ellipse 55% 45% at 8% 100%, rgba(21, 128, 61, 0.06), transparent 50%),
    #fff;
}

.home-section--removed::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 163, 74, 0.1) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.28;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.home-section--removed .container {
  position: relative;
  z-index: 1;
}

.home-section--removed .xl-grid--featured-zigzag {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
}

.home-section--removed .xl-grid--featured-zigzag .xl-card--corp {
  width: min(100%, 440px);
}

.home-section--removed .xl-grid--featured-zigzag .xl-card--corp:nth-child(odd) {
  margin-right: auto;
}

.home-section--removed .xl-grid--featured-zigzag .xl-card--corp:nth-child(even) {
  margin-left: auto;
}

.home-section--popular .xl-grid--popular {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
}

.xl-card--more {
  display: flex;
  min-height: 100%;
  border: 2px dashed var(--border);
  background: linear-gradient(160deg, rgba(22, 163, 74, 0.04), rgba(22, 163, 74, 0.01));
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.xl-card--more:hover {
  border-color: var(--teal-400);
  background: linear-gradient(160deg, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0.02));
  transform: translateY(-2px);
}

.xl-card__more-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1.5rem 1rem;
  text-align: center;
}

.xl-card__more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--teal-600);
}

.xl-card__more-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.xl-card__more-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

.xl-card__more-hint {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.4;
}

.xl-card--more .xl-card__cta {
  margin-top: 0.35rem;
}

.xl-grid--removed {
  margin-bottom: 2rem;
}

.xl-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.25rem 0 1rem;
}

.xl-section-head--experts {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.xl-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
}

.xl-section-title svg {
  color: var(--teal-600);
}

.xl-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-700);
  text-decoration: none;
  white-space: nowrap;
}

.xl-section-link:hover {
  color: var(--teal-800);
}

/* Cards — uzmanlar listesi: gereksiz dikey boşluk olmasın */
.xl-body .xl-card {
  min-height: 0;
  height: auto;
}

.xl-body .xl-card--expert .xl-card__media {
  height: 168px;
}

.xl-body .xl-card__tag-stack {
  margin-top: 0.35rem;
}

.xl-body .xl-card__foot {
  margin-top: 0.5rem;
}

/* Cards */
.xl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 24rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
  box-shadow: var(--shadow-sm);
}

.xl-card--expert {
  border-radius: calc(var(--radius-lg) + 2px);
  border-color: rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 28px rgba(15, 23, 42, 0.06);
}

.xl-card--expert:hover {
  transform: translateY(-6px);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 22px 44px rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.4);
}

.xl-card--corp:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34, 197, 94, 0.35);
}

.xl-card__media {
  position: relative;
  height: 148px;
  background: linear-gradient(155deg, #fff 0%, #f0fdf4 30%, #ecfdf5 55%, #d1fae5 100%);
  overflow: hidden;
}

.xl-card--expert .xl-card__media {
  height: 220px;
}

.xl-card--corp .xl-card__media {
  height: 260px;
}

.xl-card--expert .xl-card__photo {
  object-position: center 20%;
}

.xl-card--expert .xl-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.22));
  pointer-events: none;
}

.xl-card__media--photo {
  background: linear-gradient(155deg, #fff 0%, #f0fdf4 40%, #ecfdf5 100%);
}

.xl-card__media--organization {
  background: linear-gradient(160deg, #fff 0%, #f7fef9 42%, #f3fbf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.xl-card--corp .xl-card__photo-fallback {
  align-items: center;
  justify-content: center;
  padding: 0;
}

.xl-card--corp .xl-card__photo-fallback .avatar-initials--block {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.xl-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.xl-card:hover .xl-card__photo {
  transform: scale(1.04);
}

.xl-card__photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.xl-card__photo-fallback--organization {
  background: transparent;
}

.xl-card__organization-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.xl-card__organization-icon svg {
  width: 30px;
  height: 30px;
}

.xl-card__verified {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  color: var(--teal-800);
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.xl-card__verified svg {
  width: 12px;
  height: 12px;
  color: var(--emerald-500);
}

.xl-card--expert .xl-card__verified {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
}

.xl-card__featured {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #92400e;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.xl-card__featured svg {
  width: 12px;
  height: 12px;
  color: #d97706;
}

.xl-card__verified--organization {
  color: #15803d;
}

.xl-card__verified--organization svg {
  color: #16a34a;
}

.xl-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 0;
  padding: 1rem 1.15rem 0.75rem;
}

.xl-card--expert .xl-card__body {
  padding: 1rem 1.2rem 0.75rem;
}

.xl-card__rating-count--muted {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.xl-card__honorific {
  font-weight: 600;
  color: var(--muted);
}

.xl-card__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 0;
  color: var(--slate-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
}

.xl-card--expert .xl-card__name {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.xl-card__title {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.35;
  min-height: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xl-card__excerpt {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.xl-card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.15rem;
  margin-bottom: 0;
}

.xl-card__rating--empty {
  display: none;
}

.xl-card__rating-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-800);
}

.xl-card__rating-count {
  font-size: 0.78rem;
  color: var(--muted);
}

.xl-card__tag-stack {
  margin-top: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding-top: 0.15rem;
}

.xl-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-content: flex-start;
}

.xl-card__tags--meta {
  flex-shrink: 0;
  flex-wrap: nowrap;
  max-height: 1.5rem;
  overflow: hidden;
}

.xl-card__tags--spec {
  flex-shrink: 0;
  flex-wrap: nowrap;
  max-height: 1.28rem;
  overflow: hidden;
  margin-top: 0;
}

.xl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.22rem 0.52rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-600);
  line-height: 1.15;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xl-pill--spec {
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.6rem;
  padding: 0.16rem 0.42rem;
  background: rgba(34, 197, 94, 0.08);
  color: var(--teal-900);
  border: 1px solid rgba(34, 197, 94, 0.18);
}

.xl-pill--more {
  flex: 0 0 auto;
  padding: 0.16rem 0.38rem;
  font-size: 0.58rem;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--slate-500);
}

.xl-pill svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.xl-pill--city {
  background: var(--teal-100);
  color: var(--teal-900);
}

.xl-pill--online {
  background: var(--sky-50);
  color: #15803d;
}

.xl-pill--person {
  background: var(--emerald-50);
  color: #15803d;
}

.xl-pill--organization {
  background: rgba(21, 128, 61, 0.1);
  color: #15803d;
}

.xl-card__foot {
  margin-top: auto;
  flex-shrink: 0;
  padding: 0.85rem 1.2rem 1.1rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, var(--slate-50));
}

.xl-card--expert .xl-card__foot {
  padding: 0.9rem 1.25rem 1.15rem;
  background: linear-gradient(180deg, #fff 0%, rgba(248, 250, 252, 0.95) 100%);
}

.xl-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal-700);
  transition: gap 0.2s, background 0.2s;
}

.xl-card--expert .xl-card__cta {
  width: 100%;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  color: var(--teal-800);
}

.xl-card:hover .xl-card__cta {
  gap: 0.55rem;
}

.xl-card--expert:hover .xl-card__cta {
  background: var(--teal-100);
}

.xl-card__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.xl-card:hover .xl-card__cta svg {
  transform: translateX(2px);
}

/* Stars (listing) */
.xl-card .xp-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.xl-card .xp-star {
  display: inline-flex;
  line-height: 0;
  color: var(--slate-300);
}

.xl-card .xp-star--on {
  color: var(--amber-500);
}

.xl-card .xp-star svg {
  width: var(--star-size, 14px);
  height: var(--star-size, 14px);
}

.xl-card .xp-star svg polygon {
  fill: none;
}

.xl-card .xp-star--on svg polygon {
  fill: currentColor;
}

/* Empty state */
.xl-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.xl-empty svg {
  width: 48px;
  height: 48px;
  color: var(--slate-300);
  margin: 0 auto 1rem;
}

.xl-empty p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .xl-layout {
    grid-template-columns: 1fr;
  }

  .xl-filter-actions {
    display: flex;
  }

  .xl-filters-mobile {
    display: inline-flex;
  }

  .xl-filters-mobile--solo {
    flex: 1 1 100%;
    width: 100%;
  }

  .xl-filters__nearby {
    margin-bottom: 0.65rem;
  }

  .xl-filters {
    display: none;
    position: static;
    margin-bottom: 0.5rem;
  }

  .xl-filters.is-open {
    display: block;
  }

  .xl-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .xl-sort {
    justify-content: space-between;
  }

  .xl-sort select {
    flex: 1;
    min-width: 0;
  }

  .xl-grid:not(.xl-grid--featured) {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .xl-grid:not(.xl-grid--featured) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .home-section--experts .xl-grid--featured:not(.xl-grid--featured-zigzag) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-section--popular .xl-grid--popular {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .home-section--popular .xl-grid--popular {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .xl-grid--featured:not(.xl-grid--featured-zigzag),
  .home-section--experts .xl-grid--featured:not(.xl-grid--featured-zigzag),
  .home-section--popular .xl-grid--popular {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .home-section--experts .xl-grid--featured-zigzag .xl-card--expert {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-section--removed .xl-grid--featured-zigzag .xl-card--corp {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .xl-card--expert .xl-card__media,
  .xl-card--corp .xl-card__media {
    height: 220px;
  }
}

@media (max-width: 560px) {
  .home-section--experts .xl-grid--featured:not(.xl-grid--featured-zigzag) {
    grid-template-columns: 1fr;
  }

  .home-section--experts .xl-card--expert .xl-card__media,
  .home-section--experts .xl-card--corp .xl-card__media {
    height: 280px;
  }

  /* Uzmanlar listesi: mobilde 2 sütun */
  .xl-body .xl-grid--experts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .xl-body .xl-wrap {
    width: min(1280px, 100% - 1.25rem);
  }

  .xl-body .xl-card--expert .xl-card__media,
  .xl-body .xl-card--corp .xl-card__media {
    height: clamp(108px, 32vw, 140px);
  }

  .xl-body .xl-card__verified {
    top: 0.4rem;
    right: 0.4rem;
    padding: 0.18rem 0.38rem;
    font-size: 0.58rem;
    gap: 0.2rem;
  }

  .xl-body .xl-card__verified svg {
    width: 10px;
    height: 10px;
  }

  .xl-body .xl-card__body,
  .xl-body .xl-card--expert .xl-card__body {
    padding: 0.65rem 0.55rem 0.5rem;
  }

  .xl-body .xl-card__name,
  .xl-body .xl-card--expert .xl-card__name {
    font-size: 0.82rem;
    line-height: 1.25;
    margin-bottom: 0.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .xl-body .xl-card__title {
    font-size: 0.68rem;
    margin-bottom: 0.4rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .xl-body .xl-card__excerpt {
    display: none;
  }

  .xl-body .xl-card__rating {
    margin-bottom: 0.4rem;
    gap: 0.2rem;
    flex-wrap: wrap;
  }

  .xl-body .xl-card .xp-star svg {
    width: 11px;
    height: 11px;
  }

  .xl-body .xl-card__rating-num {
    font-size: 0.72rem;
  }

  .xl-body .xl-card__rating-count {
    font-size: 0.65rem;
  }

  .xl-body .xl-card__tags--meta {
    min-height: 0;
    max-height: 1.28rem;
  }

  .xl-body .xl-card__tags--spec {
    min-height: 0;
    max-height: 1.12rem;
  }

  .xl-body .xl-card__tags {
    gap: 0.22rem;
  }

  .xl-body .xl-pill {
    padding: 0.16rem 0.38rem;
    font-size: 0.58rem;
  }

  .xl-body .xl-pill--spec {
    font-size: 0.55rem;
    padding: 0.14rem 0.34rem;
  }

  .xl-body .xl-pill--spec {
    font-size: 0.55rem;
    padding: 0.12rem 0.32rem;
  }

  .xl-body .xl-pill--more {
    font-size: 0.52rem;
    padding: 0.12rem 0.3rem;
  }

  .xl-body .xl-pill svg {
    width: 9px;
    height: 9px;
  }

  .xl-body .xl-card__foot,
  .xl-body .xl-card--expert .xl-card__foot {
    padding: 0.5rem 0.55rem 0.6rem;
  }

  .xl-body .xl-card__cta,
  .xl-body .xl-card--expert .xl-card__cta {
    font-size: 0.68rem;
    gap: 0.2rem;
    padding: 0.42rem 0.5rem;
  }

  .xl-body .xl-card__cta svg {
    width: 11px;
    height: 11px;
  }
}

/* ─────────────────────────────────────────────────────────────
   /uzmanlar liste kartları — DAHA KOMPAKT (Google zengin-sonuç tarzı)
   Kartlar + fotoğraflar küçültüldü, "Randevu Al" ufaltıldı, satırlar hizalı.
   Bu dosya sürümlü (?v=) yüklenir → değişiklikler önbelleğe takılmaz.
   Yalnızca liste (.xl-grid--experts); ana sayfa kartları ETKİLENMEZ.
   ───────────────────────────────────────────────────────────── */

/* Masaüstünde SABİT 4 sütun (yan yana 4 kart). Çok geniş ekranda 5. */
@media (min-width: 700px) {
  .xl-grid--experts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
  .xl-grid--experts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Fotoğraf: kare + kompakt (portre yerine) */
.xl-grid--experts .pk-home-expert__media { aspect-ratio: 1 / 1; }

/* Gövde: daha sıkı + TAM SİMETRİ (isim/rol/uzmanlık/konum satırları hizalı) */
.xl-grid--experts .pk-home-expert__body { gap: 0.16rem; padding: 0.55rem 0.6rem 0.4rem; }
.xl-grid--experts .pk-home-expert__name { font-size: 0.8rem; -webkit-line-clamp: 1; min-height: 1.3em; }
.xl-grid--experts .pk-home-expert__role { font-size: 0.7rem; -webkit-line-clamp: 2; min-height: 2.4em; }
.xl-grid--experts .pk-home-expert__spec { font-size: 0.7rem; min-height: 1.3em; }
.xl-grid--experts .pk-home-expert__rating { font-size: 0.7rem; min-height: 1.15em; }
.xl-grid--experts .pk-home-expert__loc  { font-size: 0.64rem; min-height: 1.2em; }

/* "Randevu Al" barı daha küçük */
.xl-grid--experts .pk-home-expert__cta--bar {
  padding: 0.48rem 0.6rem;
  font-size: 0.72rem;
  margin-top: 0.22rem;
}

/* Rozet/etiketleri de kartla orantılı küçült */
.xl-grid--experts .pk-home-expert__badge,
.xl-grid--experts .pk-home-expert__live {
  font-size: 0.55rem;
  padding: 0.2rem 0.4rem;
  top: 0.45rem;
}
.xl-grid--experts .pk-home-expert__badge { left: 0.45rem; }
.xl-grid--experts .pk-home-expert__live { right: 0.45rem; }

/* Liste sayfası SEO related links (eski Laravel seo-links) */
.xl-main .pk-seo-links {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--pk-border, #e2e8f0);
  padding-bottom: 0.5rem;
}
.xl-main .pk-seo-links__group {
  margin-bottom: 1.5rem;
}
.xl-main .pk-seo-links__title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--pk-text, #0f172a);
}
.xl-main .pk-seo-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.xl-main .pk-seo-links__list a {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pk-primary-dark, #15803d);
  background: var(--pk-primary-light, #dcfce7);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.xl-main .pk-seo-links__list a:hover {
  background: var(--pk-primary, #16a34a);
  color: #fff;
}
