.src-page {
    --src-bg: #0b1016;
    --src-panel: #111922;
    --src-panel-soft: #18212b;
    --src-border: #293541;
    --src-text: #f5f7fa;
    --src-muted: #a9bbcc;
    --src-orange: #ff6427;
    --src-green: #42c66b;
    --src-blue: #3498e5;
    box-sizing: border-box;
    max-width: 1240px !important;
    margin: 0 auto;
    padding: 36px 24px 70px;
    color: var(--src-text);
    background: var(--src-bg);
    line-height: 1.6;
}

.src-page *,
.src-page *::before,
.src-page *::after {
    box-sizing: border-box;
}

.src-page h1,
.src-page h2,
.src-page h3,
.src-page h4 {
    margin-top: 0;
    color: var(--src-text);
    font-weight: 800;
    line-height: 1.12;
}

.src-page h1 {
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: -2px;
}

.src-page h2 {
    font-size: clamp(28px, 4vw, 43px);
}

.src-page h3 {
    font-size: 22px;
}

.src-page p {
    color: var(--src-muted);
}

.src-page a {
    color: var(--src-orange);
}

.src-page .src-kicker {
    margin: 0 0 12px;
    color: var(--src-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.src-page .src-hero {
    position: relative;
    overflow: hidden;
    max-width: none;
    margin: 0 0 26px;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid var(--src-border);
    border-radius: 22px;
    background: linear-gradient(115deg, rgba(17, 25, 34, .98), rgba(42, 26, 25, .92));
}

.src-page .src-hero .src-lead {
    max-width: 760px;
    margin-bottom: 0;
    font-size: 18px;
}

.src-page .src-section {
    max-width: none;
    margin: 26px 0 0;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--src-border);
    border-radius: 20px;
    background: var(--src-panel);
}

.src-page .src-grid {
    gap: 16px;
    margin: 24px 0 0;
}

.src-page .src-card {
    min-width: 0;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--src-border);
    border-radius: 15px;
    background: var(--src-panel-soft);
    transition: transform .18s ease, border-color .18s ease;
}

.src-page .src-card:hover {
    border-color: #435362;
    transform: translateY(-2px);
}

.src-page .src-card-accent {
    border-top: 4px solid var(--src-orange);
}

.src-page .src-card p:last-child {
    margin-bottom: 0;
}

.src-page .src-actions {
    gap: 12px;
    margin-top: 22px;
}

.src-page .src-button .wp-block-button__link {
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid var(--src-orange);
    border-radius: 9px;
    background: var(--src-orange);
    color: #fff;
    font-weight: 800;
    transition: transform .18s ease, background .18s ease;
}

.src-page .src-button .wp-block-button__link:hover {
    background: #ff7845;
    color: #fff;
    transform: translateY(-1px);
}

.src-page .src-button.is-secondary .wp-block-button__link {
    border-color: var(--src-border);
    background: var(--src-panel-soft);
}

.src-page .src-notice {
    max-width: none;
    margin: 22px 0;
    padding: 17px 19px;
    border: 1px solid var(--src-border);
    border-left: 4px solid var(--src-orange);
    border-radius: 9px;
    background: var(--src-panel-soft);
}

.src-page .src-notice p {
    margin: 0;
}

.src-page .src-notice strong {
    color: var(--src-text);
}

.src-page .src-faq-list {
    display: grid;
    max-width: none;
    gap: 12px;
    margin-top: 24px;
}

.src-page .src-faq-item {
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid var(--src-border);
    border-radius: 12px;
    background: var(--src-panel-soft);
    transition: border-color .18s ease, background .18s ease;
}

.src-page .src-faq-item:hover {
    border-color: #435362;
}

.src-page .src-faq-item[open] {
    border-color: rgba(255, 100, 39, .65);
    background: #151e27;
}

.src-page .src-faq-item > summary {
    position: relative;
    display: flex;
    min-height: 62px;
    align-items: center;
    padding: 17px 54px 17px 20px;
    color: var(--src-text);
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.src-page .src-faq-item > summary::-webkit-details-marker {
    display: none;
}

.src-page .src-faq-item > summary::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--src-border);
    border-radius: 50%;
    color: var(--src-orange);
    font-size: 21px;
    font-weight: 400;
    line-height: 25px;
    text-align: center;
    content: "+";
    transform: translateY(-50%);
}

.src-page .src-faq-item[open] > summary::after {
    content: "−";
}

.src-page .src-faq-item > :not(summary) {
    margin-right: 20px;
    margin-left: 20px;
}

.src-page .src-faq-item > p:first-of-type {
    padding-top: 16px;
    border-top: 1px solid var(--src-border);
}

.src-page .src-faq-item > p:last-child {
    margin-bottom: 20px;
}

.src-page code {
    padding: 2px 6px;
    border-radius: 5px;
    background: #0b1117;
    color: #ff9b76;
}

.src-page [id] {
    scroll-margin-top: 120px;
}

/* El editor conserva el fondo oscuro para que la vista previa sea fiel. */
.editor-styles-wrapper .src-page {
    min-height: 300px;
}

@media (max-width: 900px) {
    .src-page .src-grid {
        flex-wrap: wrap !important;
    }

    .src-page .src-grid > .wp-block-column {
        flex-basis: calc(50% - 8px) !important;
    }
}

@media (max-width: 620px) {
    .src-page {
        padding: 22px 14px 50px;
    }

    .src-page h1 {
        letter-spacing: -1px;
    }

    .src-page .src-hero,
    .src-page .src-section {
        padding: 22px 18px;
        border-radius: 15px;
    }

    .src-page .src-grid > .wp-block-column {
        flex-basis: 100% !important;
    }

    .src-page .src-actions {
        flex-direction: column;
    }

    .src-page .src-actions .wp-block-button,
    .src-page .src-actions .wp-block-button__link {
        width: 100%;
    }
}
