/*
Theme Name: Astra Child
Template: astra
Description: Tema hijo para PixelRush — blog gaming SEO multijuego.
Version: 1.0.0
*/

/* =========================
   1. VARIABLES
========================= */

:root {
    --pr-accent: #6b35ff;
    --pr-accent-soft: #a78bff;
    --pr-dark: #111;
    --pr-text: #3a3a45;
    --pr-muted: #6f6f7a;
    --pr-bg: #ffffff;
    --pr-bg-alt: #f1f0f6;
    --pr-radius: 18px;
    --pr-radius-sm: 12px;
    --pr-shadow: 0 16px 40px rgba(20, 16, 40, 0.08);
    --pr-shadow-lg: 0 22px 60px rgba(20, 16, 40, 0.12);
    --pr-max-width: 1120px;
    --pr-content-width: 720px;
}

/* =========================
   2. LAYOUT GENERAL DEL POST
========================= */

.pr-single-post {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--pr-bg);
}

.pr-post-wrapper {
    max-width: var(--pr-max-width);
    margin: 0 auto;
    padding: 10px 24px 72px
}

/* =========================
   3. BREADCRUMBS
========================= */

.pr-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--pr-muted);
}

.pr-breadcrumbs a {
    color: var(--pr-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pr-breadcrumbs a:hover {
    color: var(--pr-dark);
}

.pr-breadcrumbs .pr-breadcrumb-sep {
    font-size: 10px;
    opacity: 0.5;
}

.pr-breadcrumbs .pr-breadcrumb-current {
    color: var(--pr-dark);
    font-weight: 600;
}

/* =========================
   4. HEADER DEL POST
========================= */

.pr-post-header {
    max-width: 100%;
    margin-bottom: 32px;
}

.pr-post-title {
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.pr-post-subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: var(--pr-muted);
}

/* =========================
   5. METADATOS DEL POST
========================= */

.pr-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    font-size: 13px;
    color: var(--pr-muted);
}

.pr-post-meta-cat {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--pr-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}

.pr-post-meta-cat:hover {
    opacity: 0.85;
    color: #fff;
}

.pr-post-meta-reading {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =========================
   6. HERO / IMAGEN PRINCIPAL
========================= */

.pr-post-hero {
    margin: 0 0 36px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--pr-shadow-lg);
}

.pr-post-hero img {
    width: 100%;
    display: block;
}

/* =========================
   7. CONTENIDO PRINCIPAL
========================= */

.pr-post-intro {
    font-size: 18px;
    line-height: 1.7;
    margin: 32px 0;
    color: var(--pr-text);
}

.pr-post-content {
    font-size: 17px;
    line-height: 1.85;
    max-width: var(--pr-content-width);
}

.pr-post-content h2 {
    font-size: 28px;
    margin-top: 42px;
    margin-bottom: 14px;
}

.pr-post-content h3 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 10px;
}

.pr-post-content p {
    margin-bottom: 18px;
}

.pr-post-content ul {
    margin: 16px 0;
    padding-left: 20px;
}

.pr-post-content li {
    margin-bottom: 8px;
}

.pr-post-secondary-image {
    margin: 40px 0;
    border-radius: var(--pr-radius);
    overflow: hidden;
}

.pr-post-secondary-image img {
    width: 100%;
    display: block;
}

/* =========================
   8. BLOQUES: TIP / ADVERTENCIA / PASOS / FAQ
========================= */

/* =========================
   OPCIÓN A — Card con ícono lateral
========================= */

.pr-tip-a,
.pr-warning-a {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px 26px;
    border-radius: var(--pr-radius-sm);
    margin: 20px 0;
}

.pr-tip-a {
    background: #f3f0ff;
    border-left: 4px solid var(--pr-accent);
}

.pr-warning-a {
    background: #fff8f0;
    border-left: 4px solid #ff9800;
}

.pr-tip-a .pr-block-icon,
.pr-warning-a .pr-block-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

.pr-tip-a .pr-block-label,
.pr-warning-a .pr-block-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.pr-tip-a .pr-block-label {
    color: var(--pr-accent);
}

.pr-warning-a .pr-block-label {
    color: #e65100;
}

.pr-tip-a .pr-block-text,
.pr-warning-a .pr-block-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--pr-text);
}


/* Pasos */
.pr-steps {
    margin: 40px 0;
    counter-reset: pr-step;
}

.pr-step {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
    align-items: center;
}

.pr-step::before {
    counter-increment: pr-step;
    content: counter(pr-step);
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pr-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.pr-step-body h4 {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.3;
}

.pr-step-body p {
    margin: 0;
    font-size: 15px;
    color: var(--pr-text);
    line-height: 1.6;
}

.pr-step-body h4:last-child,
.pr-step-body p:only-child {
    margin: 0;
}

/* FAQ */
.pr-faq {
    margin: 48px 0;
}

.pr-faq h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.pr-faq-item {
    border-bottom: 1px solid #e8e8ee;
    padding: 18px 0;
}

.pr-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: var(--pr-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pr-faq-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 400;
    color: var(--pr-muted);
    transition: transform 0.2s ease;
}

.pr-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.pr-faq-item p {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--pr-text);
}

/* =========================
   9. ADS
========================= */

.pr-post-ad {
    margin: 44px 0;
    padding: 24px;
    text-align: center;
    background: var(--pr-bg-alt);
    border-radius: 14px;
    color: #777;
}

/* =========================
   10. RELATED POSTS
========================= */

.pr-post-related {
    margin-top: 52px;
}

.pr-post-related h3 {
    font-size: 28px;
    margin-bottom: 22px;
}

.pr-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pr-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--pr-radius);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--pr-shadow);
    transition: all 0.25s ease;
}

.pr-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(20, 16, 40, 0.14);
}

.pr-related-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.pr-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pr-related-content {
    padding: 14px 16px 18px;
}

.pr-related-content h4 {
    font-size: 15px;
    line-height: 1.4;
    color: var(--pr-dark);
    margin: 0;
    font-weight: 600;
}

/* =========================
   11. CTA FINAL
========================= */

.pr-post-cta {
    display: block;
    margin-top: 56px;
    padding: 34px 32px;
    border-radius: var(--pr-radius);
    background: #fff;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 14px 50px rgba(14, 165, 233, 0.14), 0 4px 16px rgba(14, 165, 233, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.pr-post-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.2), 0 6px 20px rgba(14, 165, 233, 0.1);
}

.pr-post-cta .pr-cta-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--pr-dark);
    max-width: 560px;
    margin: 0 auto;
}

/* =========================
   12. NAVEGACIÓN ANTERIOR / SIGUIENTE
========================= */

.pr-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #e8e8ee;
}

.pr-post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border-radius: var(--pr-radius-sm);
    text-decoration: none;
    background: var(--pr-bg-alt);
    transition: background 0.2s ease;
}

.pr-post-nav-link:hover {
    background: #e8e6f0;
}

.pr-post-nav-link--next {
    text-align: right;
}

.pr-post-nav-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pr-muted);
}

.pr-post-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--pr-dark);
    line-height: 1.35;
}

/* =========================
   13. RESPONSIVE — SINGLE POST
========================= */

@media (max-width: 768px) {
    .pr-post-wrapper {
        padding: 10px 18px 48px;
    }
    .pr-archive-wrapper {
        padding: 10px 18px 80px;
    }
    .pr-post-title {
        font-size: 32px;
    }

    .pr-post-subtitle {
        font-size: 16px;
    }

    .pr-home-wrapper {
        padding: 0px 18px 60px;
    }

    .pr-post-meta {
        gap: 10px;
    }

    .pr-related-grid {
        grid-template-columns: 1fr;
    }

    .pr-post-nav {
        grid-template-columns: 1fr;
    }

    .pr-post-nav-link--next {
        text-align: left;
    }

    .pr-step {
        gap: 14px;
    }
}

/* =========================
   14. PIXELRUSH HOME
========================= */

.pr-home {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--pr-bg);
}

.pr-home-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0px 24px 80px;
}

/* HERO TEXT */

.pr-home-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.pr-home-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pr-accent);
}

.pr-home-heading h1,
.pr-home-heading h2 {
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 16px;
    color: var(--pr-dark);
}

.pr-home-heading p {
    max-width: 640px;
    font-size: 18px;
    line-height: 1.65;
    color: #62626f;
    margin: 0;
}

/* FEATURED GRID */

.pr-home-featured-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 22px;
}

.pr-featured-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: var(--pr-dark);
    text-decoration: none;
    box-shadow: var(--pr-shadow-lg);
}

.pr-featured-card-large {
    grid-row: span 2;
}

.pr-featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    opacity: 0.7;
}

.pr-featured-card:hover img {
    transform: scale(1.04);
}

.pr-featured-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 26px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.35), transparent);
}

.pr-featured-overlay span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c7b8ff;
}

.pr-featured-overlay h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.pr-featured-card-large .pr-featured-overlay h2 {
    font-size: 34px;
}

/* AD */

.pr-home-ad {
    margin: 42px 0;
    padding: 26px;
    text-align: center;
    background: #efedf6;
    border-radius: 16px;
    color: #81818c;
}

/* SECTION HEADER */

.pr-section-header {
    margin-bottom: 22px;
    margin-top: 3em;
}

.pr-section-header h2 {
    margin: 0 0 6px;
    font-size: 32px;
    letter-spacing: -0.03em;
}

.pr-section-header p {
    margin: 0;
    color: #71717c;
}

/* POST GRID */

.pr-home-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pr-home-post-card {
    display: block;
    background: #fff;
    border-radius: var(--pr-radius);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--pr-shadow);
    transition: all 0.25s ease;
}

.pr-home-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(20, 16, 40, 0.13);
}

.pr-home-post-image {
    height: 170px;
    overflow: hidden;
}

.pr-home-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pr-home-post-content {
    padding: 18px;
}

.pr-home-post-content span {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pr-accent);
}

.pr-home-post-content h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    color: var(--pr-dark);
}

/* =========================
   15. HOME ZONE CAROUSEL
========================= */

.pr-zone-carousel {
    background-color: rgb(13 13 18 / 92%);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    position: relative;
}

.pr-zone-stage {
    position: relative;
    height: 410px;
    max-width: 1280px;
    margin: 0 auto;
}

.pr-zone-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 620px;
    height: 340px;
    border-radius: 28px;
    background: #0f1016;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.82);
    transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
    box-shadow: 0 24px 80px rgba(20, 16, 40, 0.18);
}

.pr-zone-slide.is-active {
    opacity: 1;
    z-index: 4;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.pr-zone-slide.is-prev {
    opacity: 0.42;
    z-index: 2;
    filter: grayscale(0.4);
    transform: translate(calc(-50% - 500px), -50%) scale(0.82);
}

.pr-zone-slide.is-next {
    opacity: 0.42;
    z-index: 2;
    filter: grayscale(0.4);
    transform: translate(calc(-50% + 500px), -50%) scale(0.82);
}

.pr-zone-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.16);
    pointer-events: none;
}

.pr-zone-art {
    position: absolute;
    right: 34px;
    bottom: 28px;
    width: 230px;
    max-width: 36%;
    max-height: 46%;
    object-fit: contain;
    opacity: 0.38;
    z-index: 2;
    pointer-events: none;
}

.pr-zone-content {
    position: relative;
    z-index: 3;
    max-width: 430px;
    padding: 44px;
    color: #fff;
}

.pr-zone-content span {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pr-accent-soft);
}

.pr-zone-content h1 {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
}

.pr-zone-content p {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 900;
}

.pr-zone-content a {
    display: inline-block;
    padding: 13px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--pr-dark);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pr-zone-content a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.pr-zone-arrow,
button.pr-zone-arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 6 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 0 !important;
    max-width: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #fff !important;
    cursor: pointer !important;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
    transition: background 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-size: 0 !important;
}

.pr-zone-arrow:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
}

.pr-zone-arrow::before {
    content: "" !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.pr-zone-arrow-prev::before {
    transform: rotate(-135deg) !important;
    margin-left: 3px !important;
}

.pr-zone-arrow-next::before {
    transform: rotate(45deg) !important;
    margin-right: 3px !important;
}

.pr-zone-arrow-prev {
    left: calc(50% - 330px);
}

.pr-zone-arrow-next {
    right: calc(50% - 330px);
}

/* =========================
   16. GAME ICON NAV
========================= */

.pr-game-icon-nav {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    z-index: 8;
    display: flex;
    justify-content: center;
    background: #15151d;
    overflow-x: auto;
    box-shadow: 0 24px 70px rgba(20, 16, 40, 0.22);
    scrollbar-width: none;
}

.pr-game-icon-nav::-webkit-scrollbar {
    display: none;
}

.pr-game-icon-item {
    flex: 1 0 140px;
    max-width: 190px;
    min-height: 96px;
    padding: 18px 18px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pr-game-icon-item:hover {
    background: #202130;
    color: #fff;
}

.pr-game-icon-item img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}

.pr-game-icon-item span {
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* =========================
   17. RESPONSIVE — HOME
========================= */

@media (max-width: 900px) {

    .pr-home-heading h1,
    .pr-home-heading h2 {
        font-size: 38px;
    }

    .pr-home-featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .pr-featured-card,
    .pr-featured-card-large {
        height: 260px;
        grid-row: auto;
    }

    .pr-home-post-grid {
        grid-template-columns: 1fr;
    }

    /* Carousel mobile */
    .pr-zone-carousel {
        padding: 18px 14px 0;
    }

    .pr-zone-stage {
        height: auto;
        min-height: 424px;
        padding-bottom: 76px;
        max-width: none;
    }

    .pr-footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 24px 32px;
    }

    .pr-footer-brand {
        max-width: 100%;
    }

    .pr-zone-slide,
    .pr-zone-slide.is-active,
    .pr-zone-slide.is-prev,
    .pr-zone-slide.is-next {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        min-height: 344px;
        opacity: 0;
        transform: none;
        pointer-events: none;
        display: none;
        filter: none;
    }

    .pr-zone-slide.is-active {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .pr-zone-content {
        max-width: none;
        padding: 30px 28px 60px;
    }

    .pr-zone-content span {
        font-size: 11px;
    }

    .pr-zone-content h1 {
        font-size: 36px;
    }

    .pr-zone-content p {
        font-size: 16px;
        line-height: 1.58;
    }

    .pr-zone-art {
        right: 24px;
        bottom: 22px;
        width: 150px;
        max-width: 44%;
        max-height: 32%;
        opacity: 0.34;
    }

    .pr-zone-arrow,
    button.pr-zone-arrow {
        top: auto !important;
        bottom: 14px !important;
        transform: none !important;
        width: 40px !important;
        height: 40px !important;
    }

    .pr-zone-arrow:hover {
        transform: none !important;
    }

    .pr-zone-arrow-prev {
        left: calc(50% - 50px) !important;
    }

    .pr-zone-arrow-next {
        right: calc(50% - 50px) !important;
    }

    /* Game icon nav mobile */
    .pr-game-icon-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: initial;
        overflow: visible;
    }

    .pr-game-icon-item {
        flex: none;
        max-width: none;
        min-height: 112px;
        padding: 20px 14px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .pr-game-icon-item img {
        width: 44px;
        height: 44px;
        margin-bottom: 10px;
    }

    .pr-game-icon-item span {
        font-size: 13px;
    }
}


/* =========================
   18. ARCHIVE / CATEGORÍA
========================= */

.pr-archive {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--pr-bg);
}

.pr-archive-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 24px 80px;
}

/* Header */
.pr-archive-header {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 40px;
    padding: 48px 36px;
    background: var(--pr-bg-alt);
}

.pr-archive-header--has-banner {
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    background: #0f1016;
}

.pr-archive-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.4;
}

.pr-archive-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.25), transparent);
}

.pr-archive-header-content {
    position: relative;
    z-index: 2;
}

.pr-archive-header--has-banner .pr-archive-header-content {
    color: #fff;
}

.pr-archive-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 14px;
    border-radius: 12px;
}

.pr-archive-title {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

.pr-archive-header--has-banner .pr-archive-title {
    color: #fff;
}

.pr-archive-desc {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 12px;
    max-width: 560px;
    opacity: 0.85;
}

.pr-archive-count {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.6;
}

/* Grid */
.pr-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Empty */
.pr-archive-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--pr-muted);
    font-size: 17px;
}

/* =========================
   19. PAGINACIÓN
========================= */

.pr-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pr-pagination-item a,
.pr-pagination-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pr-pagination-item a {
    background: var(--pr-bg-alt);
    color: var(--pr-dark);
}

.pr-pagination-item a:hover {
    background: var(--pr-dark);
    color: #fff;
}

.pr-pagination-item span.current {
    background: var(--pr-dark);
    color: #fff;
}

/* =========================
   20. RESPONSIVE — ARCHIVE
========================= */

@media (max-width: 900px) {
    .pr-archive-wrapper {
        padding: 10px 18px 80px;
    }

    .pr-archive-header {
        padding: 36px 24px;
        border-radius: 16px;
    }

    .pr-archive-header--has-banner {
        min-height: 220px;
    }

    .pr-archive-title {
        font-size: 30px;
    }

    .pr-archive-logo {
        width: 44px;
        height: 44px;
    }

    .pr-archive-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================
   21. HEADER / NAV
========================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

.pr-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.pr-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
}

/* --- DARK THEME --- */
.pr-header--dark {
    background: #0f0f18;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- LIGHT THEME --- */
.pr-header--light {
    background: #fff;
    border-bottom: 1px solid #e8e8ee;
}

/* --- LOGO --- */
.pr-header-logo {
    font-family: 'Russo One', 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: 0.01em;
    text-transform: none;
    text-decoration: none !important;
    flex-shrink: 0;
    line-height: 1.3;
    background: linear-gradient(135deg, #fff 0%, var(--pr-accent-soft) 50%, var(--pr-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- NAV DESKTOP --- */
.pr-header-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.pr-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pr-nav-list a,
.pr-nav-list button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 8px 14px !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.pr-header--dark .pr-nav-list a,
.pr-header--dark .pr-nav-list button {
    color: rgba(255, 255, 255, 0.7) !important;
}

.pr-header--dark .pr-nav-list a:hover,
.pr-header--dark .pr-nav-list button:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.pr-header--light .pr-nav-list a,
.pr-header--light .pr-nav-list button {
    color: var(--pr-muted) !important;
}

.pr-header--light .pr-nav-list a:hover,
.pr-header--light .pr-nav-list button:hover {
    color: var(--pr-dark) !important;
    background: var(--pr-bg-alt) !important;
}

/* Dropdown arrow — only on buttons */
.pr-nav-has-children>.pr-nav-toggle::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.pr-nav-has-children.is-open .pr-nav-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown */
.pr-nav-has-children {
    position: relative;
}

.pr-nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    border-radius: 12px;
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.pr-nav-has-children.is-open .pr-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pr-header--dark .pr-nav-dropdown {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-header--light .pr-nav-dropdown {
    background: #fff;
    border: 1px solid #e8e8ee;
    box-shadow: var(--pr-shadow);
}

.pr-nav-dropdown li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    border-radius: 8px;
}

.pr-nav-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.pr-header--dark .pr-nav-dropdown li a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.pr-header--dark .pr-nav-dropdown li a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.pr-header--light .pr-nav-dropdown li a {
    color: var(--pr-text) !important;
}

.pr-header--light .pr-nav-dropdown li a:hover {
    color: var(--pr-dark) !important;
    background: var(--pr-bg-alt) !important;
}

/* --- ACTIONS --- */
.pr-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    flex-shrink: 0;
}

/* --- SEARCH BUTTON --- */
.pr-header-search-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    cursor: pointer;
    border-radius: 8px;
    padding: 0 !important;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.pr-header-search-btn::before {
    content: "" !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.pr-header-search-btn:hover {
    opacity: 1;
}

/* --- HAMBURGER --- */
.pr-header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    cursor: pointer;
    padding: 10px 8px;
}

.pr-header-burger span {
    display: block;
    height: 2px;
    background: #fff !important;
    background-color: #fff !important;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.pr-header-burger.is-active {
    background: none !important;
    background-color: transparent !important;
}

.pr-header-burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #fff !important;
}

.pr-header-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.pr-header-burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #fff !important;
}

/* --- SEARCH OVERLAY --- */
.pr-search-overlay {
    display: none;
    padding: 16px 24px;
}

.pr-search-overlay.is-open {
    display: block;
}

.pr-header--dark .pr-search-overlay {
    background: #0f0f18;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pr-header--light .pr-search-overlay {
    background: #fff;
    border-top: 1px solid #e8e8ee;
}

.pr-search-form {
    display: flex;
    gap: 10px;
    max-width: 1120px;
    margin: 0 auto;
}

.pr-search-input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
}

.pr-header--dark .pr-search-input {
    background: #1a1a2e;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pr-header--dark .pr-search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.pr-header--light .pr-search-input {
    background: var(--pr-bg-alt);
    color: var(--pr-dark);
    border: 1px solid #e8e8ee;
}

.pr-header--light .pr-search-input::placeholder {
    color: var(--pr-muted);
}

.pr-search-input,
.pr-search-input:focus,
.pr-search-input:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.pr-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none !important;
    background: none !important;
    cursor: pointer;
    border-radius: 10px;
}

.pr-search-submit::before {
    content: "" !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

/* --- MOBILE MENU --- */
.pr-mobile-menu {
    display: none;
    padding: 16px 24px 24px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.pr-mobile-menu.is-open {
    display: block;
}

.pr-header--dark .pr-mobile-menu {
    background: #0f0f18;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pr-header--light .pr-mobile-menu {
    background: #fff;
    border-top: 1px solid #e8e8ee;
}

.pr-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pr-mobile-list>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pr-header--light .pr-mobile-list>li {
    border-bottom: 1px solid #e8e8ee;
}

.pr-mobile-list>li>a,
.pr-mobile-list>li>button {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 14px 0 !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    cursor: pointer;
    text-decoration: none !important;
    text-align: left !important;
    transition: color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.pr-header--dark .pr-mobile-list>li>a,
.pr-header--dark .pr-mobile-list>li>button {
    color: rgba(255, 255, 255, 0.7) !important;
}

.pr-header--dark .pr-mobile-list>li>a:hover,
.pr-header--dark .pr-mobile-list>li>button:hover {
    color: #fff !important;
}

.pr-header--light .pr-mobile-list>li>a,
.pr-header--light .pr-mobile-list>li>button {
    color: var(--pr-text) !important;
}

.pr-header--light .pr-mobile-list>li>a:hover,
.pr-header--light .pr-mobile-list>li>button:hover {
    color: var(--pr-dark) !important;
}

.pr-mobile-toggle::after {
    content: "+";
    font-size: 20px;
    font-weight: 400;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.pr-mobile-has-children.is-open .pr-mobile-toggle::after {
    transform: rotate(45deg);
}

.pr-mobile-dropdown {
    list-style: none;
    margin: 0;
    padding: 0 0 12px 16px;
    display: none;
}

.pr-mobile-has-children.is-open .pr-mobile-dropdown {
    display: block;
}

.pr-mobile-dropdown li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    text-align: left !important;
    transition: color 0.2s ease;
}

.pr-header--dark .pr-mobile-dropdown li a {
    color: rgba(255, 255, 255, 0.5) !important;
}

.pr-header--dark .pr-mobile-dropdown li a:hover {
    color: #fff !important;
}

.pr-header--light .pr-mobile-dropdown li a {
    color: var(--pr-muted) !important;
}

.pr-header--light .pr-mobile-dropdown li a:hover {
    color: var(--pr-dark) !important;
}

/* --- RESPONSIVE NAV --- */
@media (max-width: 900px) {
    .pr-header-nav {
        display: none;
    }

    .pr-header-burger {
        display: flex;
    }

    .pr-header-logo {
        font-size: 20px;
    }

    .pr-header-inner {
        justify-content: space-between;
    }

    .pr-header-actions {
        margin-left: auto;
    }
}


/* =========================
   22. FOOTER
========================= */

.pr-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #0f0f18;
  color: rgba(255,255,255,0.6);
}

.pr-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 35px 20px 20px;
}

/* Brand */
.pr-footer-brand {
  max-width: 320px;
}

.pr-footer-logo {
  font-family: 'Russo One', 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none !important;
  display: inline-block;
  margin-bottom: 0px;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff 0%, var(--pr-accent-soft) 50%, var(--pr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pr-footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* Columns */
.pr-footer-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin: 0 0 16px;
}

.pr-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pr-footer-list li {
  margin-bottom: 10px;
}

.pr-footer-list a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px;
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.pr-footer-list a:hover {
  color: #fff !important;
}

.pr-footer-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Bottom */
.pr-footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pr-footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgb(255 255 255 / 55%);
    text-align: center;
}


/* =========================
   24. PAGE CONTENT
========================= */

.pr-page-content {
  font-size: 17px;
  line-height: 1.85;
  max-width: 100%;
}

.pr-page-content h2 {
  font-size: 28px;
  margin-top: 42px;
  margin-bottom: 14px;
}

.pr-page-content h3 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 10px;
}

.pr-page-content p {
  margin-bottom: 18px;
}

.pr-page-content ul {
  margin: 16px 0;
  padding-left: 20px;
}

.pr-page-content li {
  margin-bottom: 8px;
}

.pr-page-content a {
  color: var(--pr-accent);
  text-decoration: none;
}

.pr-page-content a:hover {
  text-decoration: underline;
}
