/*Página de requisitos*/

/* ==========================================================
   GUÍA DE LANZAMIENTO GTA VI — Estilos del artículo
   ========================================================== */

:root {
  --night-1: #0b0417;
  --night-2: #1a0b30;
  --surface: #150827;
  --magenta: #ff2f9e;
  --orange: #ff7a3d;
  --violet: #7a3dff;
  --text-hi: #f6efff;
  --text-mid: #d5c8ec;
  --text-lo: #b8a7d9;
  --line: rgba(246, 239, 255, 0.14);

  --font-display: 'Anton', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--night-1);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================
   Barra de progreso de lectura
   ========================================================== */
.reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 9999;
  background: linear-gradient(90deg, var(--magenta), var(--orange));
}

/* ==========================================================
   Cabecera
   ========================================================== */
.post__header {
  padding: 160px 24px 56px;
  background:
    radial-gradient(ellipse 70% 60% at 30% 0%, rgba(255, 47, 158, 0.18), transparent 65%),
    linear-gradient(180deg, var(--night-2), var(--night-1));
  border-bottom: 1px solid var(--line);
}

.post__header-inner {
  max-width: 900px;
  margin: 0 auto;
}

.post__kicker {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #ffd9f0;
  background: rgba(255, 47, 158, 0.08);
  border: 1px solid rgba(255, 47, 158, 0.55);
  box-shadow: 0 0 12px rgba(255, 47, 158, 0.3);
}

.post__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.02;
  margin: 0 0 22px;
  background: linear-gradient(100deg, var(--magenta) 5%, var(--orange) 55%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.post__standfirst {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-lo);
  margin: 0 0 28px;
  max-width: 62ch;
}

@media (max-width: 470px) {
	.post__meta {
		flex-wrap: wrap;
	}
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-lo);
}

.post__meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-lo);
  opacity: 0.5;
}

/* Contador compacto */
.post__countdown {
  margin-top: 36px;
  padding: 22px 26px;
  border-radius: 10px;
  background: rgba(11, 4, 23, 0.6);
  border: 1px solid var(--line);
}

.pc__timer {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.pc__unit {
  display: flex;
  flex-direction: column;
}

.pc__value {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--text-hi);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(255, 47, 158, 0.35);
}

.pc__label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-lo);
}

.pc__note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-lo);
}

/* ==========================================================
   Layout: índice + contenido
   ========================================================== */
.post__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 780px);
  gap: 56px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  justify-content: center;
}

/* Índice lateral */
.toc {
  position: sticky;
  top: 32px;
  align-self: start;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.toc__title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-hi);
}

.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  border-left: 1px solid var(--line);
}

.toc__list li { counter-increment: toc; }

.toc__list a {
  display: block;
  padding: 7px 0 7px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-lo);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.toc__list a:hover { color: var(--text-hi); }

.toc__list a.is-current {
  color: var(--magenta);
  border-left-color: var(--magenta);
  font-weight: 700;
}

/* ==========================================================
   Contenido
   ========================================================== */
.post__content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.12;
  color: var(--text-hi);
  margin: 64px 0 20px;
  scroll-margin-top: 28px;
}

.post__content h2:first-of-type { margin-top: 24px; }

.post__content h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-hi);
  margin: 40px 0 14px;
}

.post__content h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-hi);
  margin: 0 0 10px;
}

.post__content p { margin: 0 0 20px; }

.post__content strong { color: var(--text-hi); font-weight: 700; }

.post__content em { color: var(--text-hi); }

/* Aviso de afiliados */
.disclosure {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-lo);
  background: rgba(122, 61, 255, 0.07);
  border: 1px solid rgba(122, 61, 255, 0.28);
}

/* ==========================================================
   Cajas destacadas
   ========================================================== */
.callout {
  margin: 32px 0;
  padding: 22px 26px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
}

.callout__title {
  margin: 0 0 10px !important;
  font-weight: 800;
  color: var(--text-hi);
}

.callout p:last-child { margin-bottom: 0 !important; }

.callout--alert { border-left-color: var(--magenta); }
.callout--tip   { border-left-color: var(--orange); }

/* ==========================================================
   Plataformas
   ========================================================== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.platform {
  padding: 22px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.platform h3 {
  margin: 0 0 10px !important;
  font-size: 17px;
}

.platform p {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================
   Ediciones
   ========================================================== */
.editions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 30px 0;
  align-items: start;
}

.edition {
  position: relative;
  padding: 26px 24px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.edition--featured {
  border-color: rgba(255, 47, 158, 0.5);
  box-shadow: 0 0 34px rgba(255, 47, 158, 0.13);
}

.edition__badge {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--night-1);
  background: linear-gradient(100deg, var(--magenta), var(--orange));
}

.edition__head { margin-bottom: 16px; }

.edition h3 {
  margin: 0 0 6px !important;
  font-size: 20px;
}

.edition__price {
  margin: 0 !important;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--magenta);
}

.edition__price span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-lo);
}

.edition__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.edition__list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}

.edition__list li:last-child { border-bottom: none; }

.edition__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
}

.edition__note {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-lo);
}

/* ==========================================================
   Tabla
   ========================================================== */
.table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

.table thead th {
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-hi);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.table tbody tr:last-child td { border-bottom: none; }

/* ==========================================================
   Checklist
   ========================================================== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 26px 0 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 18px;
  cursor: pointer;
  background: var(--surface);
  font-size: 15px;
  line-height: 1.55;
  transition: background 0.15s ease;
}

.check:hover { background: #1c0d33; }

.check input {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--magenta);
  cursor: pointer;
}

.check input:checked + span {
  color: var(--text-lo);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 47, 158, 0.6);
}

.checklist__progress {
  font-size: 14px;
  font-weight: 700;
  color: var(--magenta) !important;
}

/* ==========================================================
   Fichas de producto
   ========================================================== */
.product {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.product__body { padding: 24px; }

.product--featured {
  margin: 32px 0;
  border-color: rgba(255, 47, 158, 0.5);
  box-shadow: 0 0 40px rgba(255, 47, 158, 0.14);
}

.product__tag {
  display: block;
  padding: 9px 24px;
  font-size: 12px;
  font-weight: 800;
  color: var(--night-1);
  background: linear-gradient(100deg, var(--magenta), var(--orange));
}

.product__name {
  margin: 0 0 12px !important;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-hi);
}

.product--featured .product__name { font-size: 26px; }

.product__why {
  margin: 0 0 14px !important;
  font-size: 15px;
  line-height: 1.65;
}

.product__caveat {
  margin: 0 0 18px !important;
  padding: 12px 15px;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-lo);
  background: rgba(122, 61, 255, 0.08);
  border-left: 2px solid var(--violet);
}

.product__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  color: var(--night-1);
  background: linear-gradient(100deg, var(--magenta), var(--orange));
  transition: filter 0.15s ease, transform 0.15s ease;
}

.product__cta:hover {
  filter: brightness(1.09);
  transform: translateY(-1px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.product-grid .product__body { padding: 22px; }

.product-grid .product__why { font-size: 14.5px; }

.product-grid .product__cta {
  padding: 10px 20px;
  font-size: 14px;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq {
  margin: 26px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.faq__item {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.faq__item:last-child { border-bottom: none; }

.faq__item summary {
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-hi);
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--magenta);
}

.faq__item[open] summary::after { content: "\2013"; }

.faq__item p {
  margin: 0 !important;
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================
   Cierre
   ========================================================== */
.closing {
  margin-top: 72px;
  padding: 40px 34px;
  border-radius: 14px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255, 47, 158, 0.16), transparent 70%),
    var(--surface);
  border: 1px solid rgba(255, 47, 158, 0.35);
}

.closing h2 {
  margin: 0 0 16px !important;
  background: linear-gradient(100deg, var(--magenta), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.closing p { max-width: 56ch; margin-left: auto; margin-right: auto; }

.closing__cta {
  display: inline-flex;
  margin-top: 10px;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  color: var(--night-1);
  background: linear-gradient(100deg, var(--magenta), var(--orange));
  transition: filter 0.15s ease;
}

.closing__cta:hover { filter: brightness(1.09); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 980px) {
  .post__layout {
    grid-template-columns: minmax(0, 780px);
    gap: 0;
  }
  .toc { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }

  .post__header { padding: 120px 20px 40px; }

  .post__layout { padding: 40px 20px 72px; }

  .pc__timer { gap: 20px; }

  .pc__value { font-size: 28px; }

  .post__countdown { padding: 18px 20px; }

  .callout, .product__body, .closing { padding-left: 20px; padding-right: 20px; }
}

/* Accesibilidad */
a:focus-visible,
summary:focus-visible,
.check:focus-within {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }

/*Integración con el sitio - Codigo cristofer*/

.page-id-1675 .ast-primary-header-bar {
	background-color: transparent;
  border: unset;
	max-height: 87px;
}

.page-id-1675 #content .ast-container {
	max-width: unset;
    padding: 0;
    margin-top: -94px;
}

.page-id-1675 #content .ast-container article.post {
	background-color: #0b0417;
}

/*Adaptaciones del header de escritorio*/

.ast-main-header-wrap .site-header-primary-section-left .site-logo-img .custom-logo-link img {
	max-width: 130px;
  width: 130px;
}

.ast-main-header-wrap .site-header-primary-section-right button.menu-toggle {
	background: #fd08e18f;
  border: 1px solid #eb9fff;
}

.ast-main-header-wrap .site-header-primary-section-right button.menu-toggle .mobile-menu-toggle-icon span svg {
	fill: #ffffff;
}

@media (min-width: 922px) and (max-width: 1000px) {
	.main-header-menu .menu-link {
		padding: 0 .45em;
    font-size: .9em;
	}
}

@media (min-width: 1001px) and (max-width: 1050px) {
	.main-header-menu .menu-link {
		padding: 0 .7em;
    font-size: .9em;
	}
}

@media (min-width: 1051px) and (max-width: 1120px) {
	.main-header-menu .menu-link {
		padding: 0 .9em;
    font-size: .9em;
	}
}