/* Shared F14 SEO shell — RSI-style cards + accordion, full-bleed */
.ta-seo-wrap {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 1.25rem 0 0.5rem;
  padding: 0;
}

.ta-seo-wrap .seo-description-section,
.ta-seo-shell.seo-description-section {
  width: 100%;
  max-width: none;
  margin: 0 0 1.15rem;
}

.ta-seo-wrap .card,
.ta-seo-shell .card {
  width: 100%;
  max-width: none;
  background: #141b26;
  border: 1px solid #2a3544;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  color: #94a3b8;
}

.ta-seo-wrap .card::before,
.ta-seo-shell .card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #1d4ed8, #06b6d4, #a855f7);
}

.ta-seo-wrap .card-body,
.ta-seo-shell .card-body {
  padding: 1.35rem 1.45rem 1.4rem;
}

.ta-seo-wrap h2,
.ta-seo-shell .card-body > h2 {
  color: #f1f5f9;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(96, 165, 250, 0.25);
}

.ta-seo-wrap h2::before,
.ta-seo-shell .card-body > h2::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.55rem;
  color: #60a5fa;
}

.ta-seo-wrap h2.accordion-header,
.ta-seo-wrap .accordion-header {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
}

.ta-seo-wrap h2.accordion-header::before,
.ta-seo-wrap .accordion-header::before {
  content: none;
}

.ta-seo-wrap h3,
.ta-seo-shell .card-body > h3 {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 700;
  margin: 1.1rem 0 0.4rem;
}

.ta-seo-wrap p,
.ta-seo-shell .card-body > p {
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 0.7rem;
  max-width: none;
  font-size: 0.94rem;
}

.ta-seo-wrap ul,
.ta-seo-wrap ol,
.ta-seo-shell ul,
.ta-seo-shell ol {
  margin: 0.2rem 0 0.85rem 1.15rem;
  padding: 0;
  max-width: none;
}

.ta-seo-wrap li,
.ta-seo-shell li {
  margin: 0.32rem 0;
  color: #94a3b8;
  line-height: 1.55;
  font-size: 0.92rem;
}

.ta-seo-wrap a,
.ta-seo-shell a {
  color: #60a5fa;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(96, 165, 250, 0.45);
}

.ta-seo-wrap a:hover,
.ta-seo-shell a:hover {
  color: #93c5fd;
  border-bottom-style: solid;
}

/* Accordion (match RSI) */
.ta-seo-wrap .accordion-item,
.ta-seo-shell .accordion-item {
  background: #141b26;
  border: 1px solid #2a3544;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.ta-seo-wrap .ta-seo-guide-card .accordion-item {
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ta-seo-wrap .accordion-button,
.ta-seo-shell .accordion-button {
  background: #0c1219;
  color: #f1f5f9;
  box-shadow: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.1rem;
}

.ta-seo-wrap .ta-seo-guide-card > .accordion > .accordion-item > .accordion-header > .accordion-button {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 1.1rem 1.25rem;
  background: #141b26;
}

.ta-seo-wrap .accordion-button:not(.collapsed),
.ta-seo-shell .accordion-button:not(.collapsed) {
  background: #1a2332;
  color: #60a5fa;
}

.ta-seo-wrap .accordion-button::after,
.ta-seo-shell .accordion-button::after {
  filter: brightness(0) invert(0.72);
}

.ta-seo-wrap .accordion-button:focus,
.ta-seo-shell .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.ta-seo-wrap .accordion-body,
.ta-seo-shell .accordion-body {
  background: #141b26;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 0.85rem 1.1rem 1.05rem;
}

.ta-seo-wrap .ta-seo-guide-card .accordion-body {
  padding: 0.35rem 1.35rem 1.35rem;
}

.ta-seo-wrap .ta-seo-guide-card .accordion-body h3 {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 700;
  margin: 1.1rem 0 0.4rem;
}

.ta-seo-wrap .ta-seo-guide-card .accordion-body p {
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 0.7rem;
  font-size: 0.94rem;
}

/* Legacy plain shell fallback */
.ta-seo-shell:not(.seo-description-section):not(.ta-seo-wrap) {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 1.25rem 0;
  padding: 0 20px 1.25rem;
}

@media (max-width: 768px) {
  .ta-seo-wrap .card-body,
  .ta-seo-shell .card-body {
    padding: 1.05rem 1rem 1.1rem;
  }

  .ta-seo-wrap .ta-seo-guide-card > .accordion > .accordion-item > .accordion-header > .accordion-button {
    padding: 0.95rem 1rem;
  }
}
