/* Shared answer boxes used for concise SEO/AI-overview summaries. */
.seo-answer-block {
  box-sizing: border-box;
  display: block;
  width: min(1120px, calc(100% - 32px));
  max-width: 1120px;
  margin: clamp(24px, 4vw, 44px) auto;
  padding: clamp(22px, 3.5vw, 34px);
  clear: both;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 18, 24, 0.92), rgba(12, 34, 38, 0.84));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
  color: #f7f7fb;
  position: relative;
  z-index: 2;
}

html[data-theme="light"] .seo-answer-block {
  border-color: rgba(0, 0, 0, 0.1);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  color: #111111;
}

.seo-answer-block *,
.seo-answer-block *::before,
.seo-answer-block *::after {
  box-sizing: border-box;
}

.seo-answer-block h2,
.seo-answer-block h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.seo-answer-block p,
.seo-answer-block li {
  margin: 0 0 12px;
  color: rgba(247, 247, 251, 0.86);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  max-width: 78ch;
}

html[data-theme="light"] .seo-answer-block p,
html[data-theme="light"] .seo-answer-block li {
  color: rgba(17, 17, 17, 0.78);
}

.seo-answer-block p:last-child,
.seo-answer-block ul:last-child,
.seo-answer-block ol:last-child {
  margin-bottom: 0;
}

.seo-answer-block a {
  color: inherit;
}

.seo-answer-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  color: #ffb84d;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

html[data-theme="light"] .seo-answer-kicker {
  color: #b54500;
}

.seo-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 0;
}

.seo-answer-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.065);
}

html[data-theme="light"] .seo-answer-card {
  border-color: rgba(0, 0, 0, 0.08);
  background: #f6f7f9;
}

.seo-answer-card strong {
  display: block;
  margin: 0 0 6px;
  color: inherit;
  font-size: 0.98rem;
  line-height: 1.35;
}

.seo-answer-card p {
  margin: 0;
}

.seo-answer-list {
  margin: 18px 0 0 20px;
  padding: 0;
}

.seo-answer-table {
  width: 100%;
  margin: 20px 0 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.seo-answer-table th,
.seo-answer-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
  color: rgba(247, 247, 251, 0.86);
  font-size: 0.95rem;
  line-height: 1.45;
}

.seo-answer-table th {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.seo-answer-table tr:last-child td {
  border-bottom: 0;
}

html[data-theme="light"] .seo-answer-table {
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .seo-answer-table th {
  color: #111111;
  background: #f1f3f5;
}

html[data-theme="light"] .seo-answer-table td {
  color: rgba(17, 17, 17, 0.78);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.seo-answer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.seo-answer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.seo-answer-links a:hover {
  border-color: rgba(255, 184, 77, 0.65);
}

html[data-theme="light"] .seo-answer-links a {
  border-color: rgba(0, 0, 0, 0.12);
  background: #f6f7f9;
  color: #111111;
}

@media (max-width: 860px) {
  .seo-answer-block {
    width: calc(100% - 24px);
    margin: 22px auto;
    padding: 20px;
    border-radius: 12px;
  }

  .seo-answer-grid {
    grid-template-columns: 1fr;
  }

  .seo-answer-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .seo-answer-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .seo-answer-links a {
    justify-content: center;
    width: 100%;
  }
}
