/**
 * SEO article pages — Garage Web Tech (hospedajes)
 * Namespace: gwt-seo-article, gwt-article-*
 */
:root {
  --gwt-accent: #b44a3e;
  --gwt-lime: #b9dd39;
  --gwt-bg: #0b0c10;
  --gwt-panel: #11131a;
  --gwt-soft: #171b27;
  --gwt-txt: #f8fafc;
  --gwt-txt-2: #cbd5e1;
  --gwt-border: rgba(148, 163, 184, 0.22);
}

@media (prefers-color-scheme: light) {
  :root {
    --gwt-bg: #f3f5f7;
    --gwt-panel: #ffffff;
    --gwt-soft: #e8ecf1;
    --gwt-txt: #0f172a;
    --gwt-txt-2: #475569;
    --gwt-border: rgba(15, 23, 42, 0.12);
  }
}

.gwt-seo-article {
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gwt-txt);
  background: var(--gwt-bg);
  padding-top: var(--gwt-site-navbar-offset, 72px);
}

.gwt-seo-article .container {
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
}

.gwt-article-breadcrumb {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--gwt-border);
  background: var(--gwt-panel);
}

.gwt-article-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

.gwt-article-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--gwt-txt-2);
}

.gwt-article-breadcrumb a {
  color: var(--gwt-lime);
  text-decoration: none;
}

.gwt-article-breadcrumb span {
  color: var(--gwt-txt-2);
}

.gwt-article-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--gwt-border);
  background: linear-gradient(145deg, var(--gwt-soft), var(--gwt-bg));
}

.gwt-article-hero__eyebrow {
  color: var(--gwt-lime);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.gwt-article-hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--gwt-txt);
  margin-bottom: 1rem;
}

.gwt-article-hero__lead {
  color: var(--gwt-txt-2);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.gwt-article-hero__img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--gwt-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.gwt-article-content {
  padding: 64px 0;
}

.gwt-article-content section {
  margin-bottom: 3rem;
}

.gwt-article-content h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  color: var(--gwt-txt);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.gwt-article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gwt-txt);
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.gwt-article-content p,
.gwt-article-content li {
  color: var(--gwt-txt-2);
  line-height: 1.78;
  max-width: 42rem;
}

.gwt-article-content ul,
.gwt-article-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.gwt-article-content li {
  margin-bottom: 0.5rem;
}

.gwt-article-toc,
.gwt-article-disclaimer {
  max-width: 42rem;
  margin-bottom: 2rem;
  border: 1px solid var(--gwt-border);
  border-radius: 14px;
  background: var(--gwt-panel);
  padding: 1.25rem 1.4rem;
}

.gwt-article-toc h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.gwt-article-toc ol {
  columns: 2;
  column-gap: 2rem;
  margin: 0;
}

.gwt-article-toc li {
  break-inside: avoid;
}

.gwt-article-toc a,
.gwt-article-sources a {
  color: var(--gwt-lime);
  text-underline-offset: 0.18em;
}

.gwt-article-disclaimer {
  border-color: rgba(185, 221, 57, 0.35);
}

.gwt-article-disclaimer strong {
  display: block;
  color: var(--gwt-txt);
  margin-bottom: 0.4rem;
}

.gwt-article-disclaimer p {
  margin: 0;
}

.gwt-article-html {
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.gwt-article-html p {
  color: var(--gwt-txt-2);
  line-height: 1.78;
  max-width: 42rem;
}

.link-inline {
  color: var(--gwt-lime, #afde00);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.link-inline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12em;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.2s ease;
}

.link-inline:hover {
  color: #ffffff;
}

.link-inline:hover::after {
  width: 100%;
}

.link-inline:focus-visible {
  outline: 2px solid var(--gwt-lime, #afde00);
  outline-offset: 3px;
  border-radius: 3px;
}

.link-inline--small {
  font-size: 0.92em;
}

.link-inline--hero {
  font-size: 1.05em;
  font-weight: 700;
}

.link-inline--article {
  font-weight: 650;
}

.link-inline--footer {
  font-size: 0.95em;
  opacity: 0.85;
}

.link-inline--footer:hover {
  opacity: 1;
}

.light-section .link-inline,
.article-light .link-inline {
  color: #6b8f00;
}

.light-section .link-inline:hover,
.article-light .link-inline:hover {
  color: #0b0c10;
}

@media (prefers-color-scheme: light) {
  .gwt-seo-article .link-inline {
    color: #6b8f00;
  }

  .gwt-seo-article .link-inline:hover {
    color: #0b0c10;
  }
}

.gwt-article-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  border: 1px solid var(--gwt-border);
  border-radius: 12px;
}

.gwt-article-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.gwt-article-table th,
.gwt-article-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gwt-border);
  color: var(--gwt-txt-2);
}

.gwt-article-table th {
  background: var(--gwt-soft);
  color: var(--gwt-txt);
  font-weight: 700;
}

.gwt-article-table tr:last-child td {
  border-bottom: none;
}

.gwt-article-table caption {
  caption-side: bottom;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--gwt-txt-2);
  text-align: left;
}

.gwt-article-flow,
.gwt-article-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.gwt-article-flow > div,
.gwt-article-scenario {
  min-width: 0;
  border: 1px solid var(--gwt-border);
  border-radius: 12px;
  background: var(--gwt-panel);
  padding: 1rem;
}

.gwt-article-flow h3,
.gwt-article-scenario h3 {
  margin-top: 0;
  overflow-wrap: anywhere;
}

.gwt-article-scenario p,
.gwt-article-scenario li {
  max-width: none;
}

.gwt-article-sources ol {
  padding-left: 1.2rem;
}

.gwt-article-sources li {
  margin-bottom: 0.8rem;
  overflow-wrap: anywhere;
}

.gwt-article-sources span {
  display: block;
  font-size: 0.82rem;
}

.gwt-article-panel {
  background: var(--gwt-panel);
  border: 1px solid var(--gwt-border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.gwt-article-panel a:not(.link-inline) {
  color: var(--gwt-accent);
  text-decoration: none;
  font-weight: 600;
}

.gwt-article-panel a:not(.link-inline):hover {
  text-decoration: underline;
}

.gwt-article-cta {
  background: linear-gradient(145deg, var(--gwt-soft), var(--gwt-panel));
  border: 1px solid rgba(185, 221, 57, 0.25);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
}

.gwt-article-cta h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.gwt-article-cta p {
  margin-left: auto;
  margin-right: auto;
}

.btn-gwt-primary {
  background: var(--gwt-accent);
  border-color: var(--gwt-accent);
  color: #fff;
  font-weight: 600;
}

.btn-gwt-primary:hover {
  background: #c25447;
  border-color: #c25447;
  color: #fff;
}

.btn-gwt-outline {
  border: 2px solid var(--gwt-lime);
  color: var(--gwt-lime);
  font-weight: 600;
}

.btn-gwt-outline:hover {
  background: var(--gwt-lime);
  color: #0b0c10;
}

@media (prefers-color-scheme: light) {
  .btn-gwt-outline {
    color: #3d5a0a;
    border-color: #6b8f1e;
  }
  .btn-gwt-outline:hover {
    background: var(--gwt-lime);
    color: #0b0c10;
  }
}

.gwt-related-guides {
  padding: 48px 0 64px;
  border-top: 1px solid var(--gwt-border);
  background: var(--gwt-soft);
}

.gwt-related-guides h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--gwt-txt);
}

.gwt-related-guides ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .gwt-related-guides ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gwt-related-guides a:not(.link-inline) {
  color: var(--gwt-accent);
  font-weight: 600;
  text-decoration: none;
}

.gwt-related-guides a:not(.link-inline):hover {
  text-decoration: underline;
}

.gwt-article-faq .gwt-faq-card {
  background: var(--gwt-panel);
  border: 1px solid var(--gwt-border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}

.gwt-article-faq .gwt-faq-btn {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--gwt-txt);
  font-weight: 700;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.gwt-article-faq .gwt-faq-body {
  color: var(--gwt-txt-2);
  line-height: 1.7;
  padding-top: 0.75rem;
}

.gwt-article-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gwt-border);
}

@media (prefers-color-scheme: light) {
  .gwt-article-footer {
    background: #1e293b;
    color: #e2e8f0;
  }
}

.gwt-article-footer a:not(.link-inline) {
  color: #e2e8f0;
}

@media (max-width: 991.98px) {
  .gwt-article-hero {
    padding: 56px 0 40px;
  }
  .gwt-article-content {
    padding: 48px 0;
  }
}

@media (max-width: 575.98px) {
  .gwt-article-toc ol {
    columns: 1;
  }

  .gwt-article-flow,
  .gwt-article-scenario-grid {
    grid-template-columns: 1fr;
  }

  .gwt-article-table {
    min-width: 620px;
  }
}
