/* ==========================================================================
   SEO EXPRESS by Blue Design Worldwide - Frontend Styles
   ========================================================================== */

.seo-express-author-signature {
  margin: 48px 0 24px 0;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.seo-express-author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.seo-express-author-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0066ff;
}

.seo-express-author-avatar.placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0f172a;
  color: #00c2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
}

.seo-express-author-details {
  flex: 1;
}

.seo-express-author-header {
  margin-bottom: 6px;
}

.seo-express-author-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.seo-express-author-name a,
.seo-express-author-name a:visited,
.seo-express-author-signature a,
.seo-express-author-signature a:visited {
  color: #0f172a;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.seo-express-author-name a:hover,
.seo-express-author-name a:focus,
.seo-express-author-signature a:hover,
.seo-express-author-signature a:focus {
  color: #0066ff;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.seo-express-author-role {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

.seo-express-author-bio {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

/* Enlaces enriquecidos */
a.seo-express-backlink {
  color: #0066ff;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

a.seo-express-backlink:hover {
  color: #0052cc;
}

a.seo-express-internal-link {
  color: #0f172a;
  font-weight: 600;
  border-bottom: 2px solid #00c2ff;
  text-decoration: none;
}

a.seo-express-internal-link:hover {
  color: #0066ff;
  border-bottom-color: #0066ff;
}

/* ==========================================================================
   Tabla de Contenidos Interactiva (TOC) & Anclas SEO
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

h2[id], h3[id] {
  scroll-margin-top: 85px;
}

.seo-express-toc {
  margin: 32px 0 36px 0;
  padding: 22px 26px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  clear: both;
}

.seo-express-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.seo-express-toc-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-express-toc-icon {
  font-size: 18px;
  line-height: 1;
}

.seo-express-toc-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.seo-express-toc-toggle {
  background: none;
  border: none;
  color: #0066ff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer !important;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  box-shadow: none !important;
  text-decoration: none !important;
}

.seo-express-toc-toggle:hover {
  background-color: #e0f2fe;
  color: #0052cc;
}

.seo-express-toc-nav {
  margin-top: 10px;
}

.seo-express-toc-list {
  margin: 0;
  padding: 0 0 0 22px;
  list-style-type: decimal;
}

.seo-express-toc-list li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

.seo-express-toc-list li:last-child {
  margin-bottom: 0;
}

.seo-express-toc-list a,
.seo-express-toc-list a:visited,
.seo-express-toc a,
.seo-express-toc a:visited {
  color: #1e293b;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
  font-weight: 500;
  transition: color 0.2s;
}

.seo-express-toc-list a:hover,
.seo-express-toc-list a:focus,
.seo-express-toc a:hover,
.seo-express-toc a:focus {
  color: #0066ff;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.seo-express-toc.is-collapsed .seo-express-toc-nav {
  display: none !important;
}

.seo-express-toc.is-collapsed .seo-express-toc-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

