/* Default Page Styles (Vibrant Light Version) */
.page-default {
    background: transparent;
    /* Let the global body background show through */
    color: #334155;
    /* Texto Slate-700 para máxima legibilidad */
    font-family: var(--wp--preset--font-family--body);
}

.page-hero {
    position: relative;
    padding: 220px 0 140px;
    background: #0f172a;
    /* Mantenemos el hero oscuro para impacto visual inicial */
    text-align: center;
    overflow: hidden;
}

.page-hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background:
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, #0f172a 100%);
    pointer-events: none;
}

.page-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-family: var(--wp--preset--font-family--heading);
    font-size: var(--wp--preset--font-size--main-title);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.page-content-wrapper {
    padding: 140px 0;
    background: transparent;
    position: relative;
}

/* Sutil gradiente de transición bajo el hero */
.page-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, #0f172a 0%, #f8fafc 100%);
    opacity: 0.05;
}

.page-container {
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.entry-content {
    max-width: 850px;
    margin: 0 auto;
    font-size: var(--wp--preset--font-size--body-text);
    /* Aumentado para mejor legibilidad */
    line-height: 1.7;
    /* Mucho más aireado */
    color: #475569;
    text-align: center;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin-bottom: 3rem;
    text-align: left;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.01em;
}

/* Encabezados más vivos */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    text-align: center;
    color: #0f172a;
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 800;
    line-height: 1.2;
    margin-top: 6rem;
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
}

.entry-content h2 {
    font-size: var(--wp--preset--font-size--main-title);
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.entry-content h3 {
    font-size: var(--wp--preset--font-size--subtitle);
    color: #8b5cf6;
    /* Toque de color corporativo */
    font-weight: 600;
}

.entry-content h4 {
    font-size: var(--wp--preset--font-size--section-heading);
    color: #0f172a;
    font-weight: 600;
}

/* Estilo de enlaces más vibrante solo para texto de cuerpo */
.entry-content p a,
.entry-content li a {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 0 4px;
    z-index: 1;
}

.entry-content p a::after,
.entry-content li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(139, 92, 246, 0.15);
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.entry-content p a:hover,
.entry-content li a:hover {
    color: #5b21b6;
}

.entry-content p a:hover::after,
.entry-content li a:hover::after {
    height: 100%;
    background: rgba(139, 92, 246, 0.25);
}

/* Listas con más espacio */
.entry-content ul,
.entry-content ol {
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

/* Blockquote estilo "Magazine" centrado y elegante */
.entry-content blockquote {
    margin: 6rem auto;
    padding: 4rem;
    background: #ffffff;
    border-radius: 3rem;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.03),
        0 1px 3px rgba(0, 0, 0, 0.02);
    font-style: italic;
    font-size: 1.75rem;
    color: #1e293b;
    line-height: 1.6;
    max-width: 800px;
    position: relative;
}

.entry-content blockquote::before {
    content: '“';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    color: #8b5cf6;
    opacity: 0.1;
    font-family: serif;
}

.is-block-page .entry-content {
    max-width: none;
}

.is-block-page .entry-content>*:not(.alignfull):not(.alignwide) {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 160px 0 100px;
    }

    .page-content-wrapper {
        padding: 80px 0;
    }

    .entry-content {
        font-size: 1.15rem;
    }

    .entry-content h2 {
        font-size: clamp(1.4rem, 7vw, 2.1rem) !important;
        letter-spacing: -0.01em !important;
    }
}