/* ===== Lang Directory — SEO Landing Page =====
 * Requires ld-primitives.css (loaded as a dependency by LD_Assets).
 * =============================================== */

/* ===== Page wrapper ===== */
.ld-landing {
  padding: var(--ld-space-6) 0 var(--ld-space-8);
}

/* ===== Page head ===== */
.ld-landing__head {
  margin-bottom: var(--ld-space-6);
}

.ld-landing__title {
  margin: var(--ld-space-2) 0 var(--ld-space-3);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ld-text);
}

.ld-landing__intro {
  margin: 0 0 var(--ld-space-4);
  font-size: 16px;
  color: var(--ld-muted);
  max-width: 720px;
  line-height: 1.6;
}

/* ===== Bureau list ===== */
.ld-bureau-list {
  display: flex;
  flex-direction: column;
  gap: var(--ld-space-3);
  margin-bottom: var(--ld-space-6);
}

/* ===== Bureau row card ===== */
.ld-bureau-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--ld-space-3);
  align-items: start;
  padding: var(--ld-space-4);
}

.ld-bureau-row__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ld-border);
  color: var(--ld-muted);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.ld-bureau-row__rank--1 { background: #fef3c7; color: #92400e; }
.ld-bureau-row__rank--2 { background: #f1f5f9; color: #475569; }
.ld-bureau-row__rank--3 { background: #fde8d8; color: #9a3412; }

.ld-bureau-row__main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ld-bureau-row__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.ld-bureau-row__title a {
  color: var(--ld-text);
  text-decoration: none;
}
.ld-bureau-row__title a:hover {
  color: var(--ld-primary);
  text-decoration: underline;
}

.ld-bureau-row__desc {
  margin: 0;
  font-size: 14px;
  color: var(--ld-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ld-bureau-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--ld-muted);
}

.ld-bureau-row__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ld-bureau-row__stars {
  color: var(--ld-star);
  letter-spacing: -.05em;
  font-size: 13px;
  line-height: 1;
}

.ld-bureau-row__avg {
  font-weight: 600;
  color: var(--ld-text);
  font-size: 13px;
}

.ld-bureau-row__rev-count {
  color: var(--ld-muted);
  font-size: 13px;
}

.ld-bureau-row__address {
  font-size: 13px;
  color: var(--ld-muted);
}

.ld-bureau-row__phone a {
  color: var(--ld-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.ld-bureau-row__phone a:hover {
  text-decoration: underline;
}

.ld-bureau-row__price {
  font-size: 13px;
  color: var(--ld-muted);
}

.ld-bureau-row__price strong {
  color: var(--ld-text);
  font-weight: 600;
}

/* ===== No bureaus placeholder ===== */
.ld-no-bureaus {
  padding: var(--ld-space-6);
  text-align: center;
  color: var(--ld-muted);
  background: var(--ld-border);
  border-radius: var(--ld-radius-md);
}
.ld-no-bureaus a {
  color: var(--ld-primary);
}

/* ===== Pagination ===== */
.ld-bureau-pagination {
  margin-top: var(--ld-space-4);
}

.ld-bureau-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: var(--ld-radius-sm);
  border: 1px solid var(--ld-border);
  font-size: 14px;
  color: var(--ld-text);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.ld-bureau-pagination .page-numbers:hover {
  background: var(--ld-border);
}
.ld-bureau-pagination .page-numbers.current {
  background: var(--ld-primary);
  border-color: var(--ld-primary);
  color: #fff;
  font-weight: 600;
}
.ld-bureau-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.ld-bureau-pagination ul li {
  display: contents;
}

/* ===== FAQ ===== */
.ld-faq {
  margin: var(--ld-space-6) 0;
}

.ld-faq__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 var(--ld-space-4);
  color: var(--ld-text);
}

.ld-faq__item {
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.ld-faq__item[open] {
  box-shadow: 0 4px 16px rgba(15, 23, 42, .07);
}

.ld-faq__question {
  padding: var(--ld-space-3) var(--ld-space-4);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ld-space-3);
  color: var(--ld-text);
  user-select: none;
  min-height: 44px; /* touch target */
}
.ld-faq__question::-webkit-details-marker { display: none; }
.ld-faq__question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  color: var(--ld-muted);
  transition: transform .2s;
}
.ld-faq__item[open] .ld-faq__question::after {
  content: "−";
}

.ld-faq__answer {
  padding: 0 var(--ld-space-4) var(--ld-space-3);
  font-size: 14px;
  color: var(--ld-muted);
  line-height: 1.6;
}
.ld-faq__answer p:first-child { margin-top: 0; }
.ld-faq__answer p:last-child  { margin-bottom: 0; }

/* ===== Related links ===== */
.ld-related-links {
  margin: var(--ld-space-6) 0;
  padding: var(--ld-space-4) var(--ld-space-4);
  background: #f7faff;
  border-radius: var(--ld-radius-md);
}

.ld-related-links h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 var(--ld-space-3);
  color: var(--ld-text);
}

.ld-related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.ld-related-links li {
  font-size: 14px;
}

.ld-related-links a {
  color: var(--ld-primary);
  text-decoration: none;
}
.ld-related-links a:hover {
  text-decoration: underline;
}

/* ===== Post content area ===== */
.ld-landing__content {
  margin: var(--ld-space-6) 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ld-text);
  max-width: 820px;
}
.ld-landing__content h2 { font-size: 22px; margin: var(--ld-space-6) 0 var(--ld-space-3); }
.ld-landing__content h3 { font-size: 18px; margin: var(--ld-space-4) 0 var(--ld-space-2); }
.ld-landing__content p  { margin: 0 0 var(--ld-space-3); }
.ld-landing__content a  { color: var(--ld-primary); }

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .ld-bureau-row {
    grid-template-columns: 40px 1fr auto;
  }
}
