/* ------------------------------------------------------------------
   SEO landing pages: only the blocks the site does not have yet.
   Uses the site's own values: blue #0060fe, title #0f1529,
   section background #f5f7ff, 28px cards, Playfair Display + Karla.
------------------------------------------------------------------- */

/* Preview banner (admin preview only) */
.seo-preview-banner {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #111729;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  padding: 7px 16px;
}

/* Breadcrumb (replaces the sub-navigation tabs) */
.seo-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: 14px;
  color: #5b6478;
}
.seo-breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: #9aa3b5;
}
.seo-breadcrumb a {
  color: #0060fe;
  text-decoration: none;
}
.seo-breadcrumb a:hover { text-decoration: underline; }
.seo-breadcrumb [aria-current] { color: #0f1529; font-weight: 600; }
@media (max-width: 991.98px) {
  .seo-breadcrumb ol { justify-content: center; }
}

/* Recommended plan in the pricing table */
.seo-landing .plan.plan-recommended {
  outline: 2px solid #0060fe;
  outline-offset: -2px;
  box-shadow: 0 24px 60px rgba(0, 96, 254, .18);
  position: relative;
}
.seo-landing .plan.plan-recommended::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 4px 12px;
  border-radius: 999px;
  background: #0060fe;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.seo-landing .plan.plan-recommended:not([data-badge])::before { content: none; }

/* SEO text: one guide card in the style of the site's FAQ block (.faq-glass from style.css).
   Section headings on the left, the chosen section on the right; an accordion below 992px.
   Without JavaScript (.is-ready missing) every section is shown. */
.seo-guide-section {
  padding: 90px 0;
  background: #ffffff;
}
.seo-guide-section .fcard-head { margin-bottom: 40px; }
.seo-guide-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
}
.seo-guide-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 26px;
  border-right: 1px solid rgba(0, 96, 254, .1);
  background: rgba(0, 96, 254, .02);
}
.seo-guide:not(.is-ready) .seo-guide-nav { display: none; }
.seo-guide:not(.is-ready) .seo-guide-layout { grid-template-columns: minmax(0, 1fr); }
.seo-guide-tab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 15px;
  border: 1px solid rgba(0, 96, 254, .1);
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.seo-guide-tab:hover:not(.active) { background: rgba(0, 96, 254, .04); border-color: rgba(0, 96, 254, .2); }
.seo-guide-tab.active {
  background: linear-gradient(135deg, rgba(0, 96, 254, .08) 0%, rgba(124, 58, 237, .06) 100%);
  border-color: rgba(0, 96, 254, .3);
  box-shadow: 0 10px 25px rgba(0, 96, 254, .08);
}
.seo-guide-tab:focus-visible { outline: 2px solid #0060fe; outline-offset: 2px; }
.seo-guide-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 96, 254, .05);
  border: 1px solid rgba(0, 96, 254, .12);
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}
.seo-guide-tab.active .seo-guide-num {
  background: #0060fe;
  border-color: #0060fe;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 96, 254, .35);
}
.seo-guide-tab-title {
  padding-top: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b;
}
.seo-guide-tab.active .seo-guide-tab-title { color: #0060fe; }

.seo-guide-panels { padding: 44px 56px; min-width: 0; }
.seo-guide.is-ready .seo-guide-panel:not(.active) { display: none; }
.seo-guide:not(.is-ready) .seo-guide-panel + .seo-guide-panel { margin-top: 40px; }
.seo-guide-title {
  margin: 0 0 18px;
  font-family: var(--primary-font);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  color: #0e1525;
}
.seo-guide-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  pointer-events: none;
}
/* bundle.css gives every span the body font at weight 400 */
.seo-guide-toggle > span { font-family: inherit; font-weight: inherit; }
.seo-guide-plus { display: none; }

/* Text inside a section (also used by the AI text in other blocks) */
.seo-text-body {
  font-family: var(--secondary-font);
  font-size: 17px;
  line-height: 1.75;
  color: #3d4459;
}
.seo-text-body p,
.seo-text-body li { font-size: inherit; line-height: inherit; }
.seo-text-body p { margin: 0 0 14px; }
.seo-text-body > :last-child { margin-bottom: 0; }
.seo-text-body strong { color: #0f1529; }
.seo-text-body a {
  color: #0060fe;
  text-decoration: underline;
  text-decoration-color: rgba(0, 96, 254, .35);
  text-underline-offset: 3px;
}
.seo-text-body a:hover { text-decoration-color: #0060fe; }
.seo-text-body ul,
.seo-text-body ol { margin: 4px 0 16px; padding-left: 22px; }
.seo-text-body ul { list-style: disc; }
.seo-text-body ol { list-style: decimal; }
.seo-text-body li { padding-left: 4px; }
.seo-text-body li + li { margin-top: 6px; }
.seo-text-body li::marker { color: #0060fe; font-weight: 700; }
.seo-text-body code,
.seo-howto-body code {
  background: #f1f5ff;
  border: 1px solid rgba(0, 96, 254, .15);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: .9em;
  color: #1e2140;
}

@media (max-width: 1199.98px) {
  .seo-guide-layout { grid-template-columns: 300px minmax(0, 1fr); }
  .seo-guide-panels { padding: 36px 36px; }
  .seo-guide-title { font-size: 26px; }
}
/* Phones and tablets: an accordion (the panel headings become the buttons) */
@media (max-width: 991.98px) {
  .seo-guide-section { padding: 60px 0; }
  .seo-guide-section .fcard-head { margin-bottom: 28px; }
  .seo-guide-layout { grid-template-columns: minmax(0, 1fr); }
  .seo-guide-nav { display: none; }
  .seo-guide-panels { padding: 6px 20px; }
  .seo-guide.is-ready .seo-guide-panel:not(.active) { display: block; }
  .seo-guide-panel + .seo-guide-panel { border-top: 1px solid rgba(0, 96, 254, .1); }
  .seo-guide:not(.is-ready) .seo-guide-panel + .seo-guide-panel { margin-top: 0; }
  .seo-guide-title { margin: 0; font-size: 19px; line-height: 1.35; }
  .seo-guide-toggle { padding: 18px 0; pointer-events: auto; cursor: pointer; }
  .seo-guide-plus {
    display: block;
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 96, 254, .08);
  }
  .seo-guide-plus::before,
  .seo-guide-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: #0060fe;
    transition: transform .2s ease;
  }
  .seo-guide-plus::after { transform: rotate(90deg); }
  .seo-guide-panel.active .seo-guide-plus::after { transform: rotate(0deg); }
  .seo-guide.is-ready .seo-guide-panel:not(.active) .seo-guide-body { display: none; }
  .seo-guide-body { padding-bottom: 20px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .seo-guide-tab, .seo-guide-num, .seo-guide-plus::before, .seo-guide-plus::after { transition: none; }
}

/* How-to steps */
.seo-howto-section {
  padding: 80px 0;
  background: #f5f7ff;
}
.seo-howto-steps {
  counter-reset: step;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
}
.seo-howto-step {
  counter-increment: step;
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 64px 26px 26px;
  box-shadow: 0 12px 36px rgba(15, 21, 41, .06);
  min-width: 0;
}
.seo-howto-step::before {
  content: counter(step);
  position: absolute;
  top: 22px;
  left: 26px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 96, 254, .1);
  border: 1px solid rgba(0, 96, 254, .2);
  color: #0060fe;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
}
.seo-howto-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f1529;
  margin: 0 0 8px;
}
.seo-howto-body { font-size: 15px; line-height: 1.65; color: #3d4459; }
.seo-howto-body p { margin: 0; }

/* FAQ without the category sidebar */
.seo-faq .seo-faq-content { width: 100%; max-width: 900px; margin: 0 auto; }
.seo-faq .q-h .text { font-size: 17px; margin: 0; }

/* Related topics */
.seo-related-section {
  padding: 80px 0 40px;
  background: #ffffff;
}
.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.seo-related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #f5f7ff;
  border: 1px solid rgba(0, 96, 254, .12);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.seo-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 96, 254, .35);
  box-shadow: 0 14px 34px rgba(0, 96, 254, .12);
  text-decoration: none;
}
.seo-related-name { font-weight: 800; color: #0060fe; font-size: 16px; }
.seo-related-title { color: #3d4459; font-size: 14px; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .seo-related-card { transition: none; }
}
