/*!
* Typography v1.0.0
* Created by Framber Silva 
* License Mit
*/
.typography :where(p, hr, figure, img, blockquote, ul, ol, pre, table, video, audio, iframe, details, div[class*=typo-]):not(:where(video[class], audio[class], :last-child, :where(figure, blockquote) :last-of-type)) {
    margin-bottom: 1.5rem
}

.typography :where(h1) {
    font-size: clamp(var(--size-h3), 5vw, var(--size-h1))
}

.typography :where(h2) {
    font-size: clamp(var(--size-h4), 5vw, var(--size-h2))
}

.typography :where(h3) {
    font-size: clamp(var(--size-h4), 5vw, var(--size-h3))
}

.typography :where(h2) {
    padding-top: 1rem
}

.typography :where(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.5
}

.typography :where(p) {
    text-wrap: pretty
}

.typography :where(ul, ol) {
    padding-inline-start: 1.5rem
}

.typography :where(ul) {
    list-style-type: circle
}

.typography :where(ol) {
    list-style-type: decimal
}

.typography :where(table) {
    border-collapse: collapse
}

.typography :where(tr>*) {
    padding: var(--typo-table-cell-padding);
    border: 1px solid var(--typo-border-color);
    word-break: normal
}

.typography :where(blockquote) {
    border-inline-start: 3px solid var(--typo-border-color);
    padding-inline-start: var(--typo-spacing)
}

.typography :where(figcaption) {
    text-align: center;
    margin-top: var(--typo-caption-spacing);
    font-size: var(--typo-caption-size)
}

.typography :where(img, video, iframe, figure) {
    display: block;
    max-width: 100%;
    height: auto
}

.typography :where(audio) {
    width: 100%
}

.typography :where(iframe[src*=vimeo i], iframe[src*=youtube i], video) {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto
}

.typography>:not(:where(:last-child)) {
    margin-bottom: 1.5rem
}

/* ==========================================================================
   ESTILOS DEL ACORDEÓN (FAQ)
   ========================================================================== */
.typography-spoiler {
    padding: 1.2rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .03);
    transition: background-color 0.3s ease;
}

.typography-spoiler:hover {
    background-color: rgba(0, 0, 0, 0.01);
    /* Leve feedback visual al pasar el ratón */
}

.typography-spoiler :where(summary) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    outline: none;
    /* Quita el borde azul al hacer clic en algunos navegadores */
}

/* Ocultar flecha nativa */
.typography-spoiler :where(summary)::-webkit-details-marker {
    display: none;
}

.typography-spoiler :where(summary)::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 300;
    color: inherit;
}

.typography-spoiler:where([open])> :where(summary) {
    margin-bottom: 1rem;
}

.typography-spoiler:where([open])> :where(summary)::after {
    content: "−";
    /* Signo menos tipográfico */
}

/* Colapso de bordes dobles si hay varios seguidos */
.typography-spoiler:where([name]):where(:has(+ .typography-spoiler)),
.mainter-faq-wrapper .typography-spoiler+.typography-spoiler {
    border-top: 0;
}

/* 🌟 MAGIA UI: Animación de entrada suave para la respuesta */
.typography-spoiler[open] summary~* {
    animation: spoilerFadeSlide 0.3s ease-out forwards;
}

@keyframes spoilerFadeSlide {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   BLOQUE: LLAMADA A LA ACCIÓN (CALLOUT)
   ========================================================================== */
.callout {
    background-color: var(--body-bg);
    /* Fallback por si la variable no carga en el editor */
    align-items: flex-start;
    gap: var(--typography-spacing, 1.5rem);
    padding: 1.5rem;
    display: flex;
    border-radius: 8px;
    /* Un toque moderno opcional */
}

.callout-content {
    --typography-spacing: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.callout-content h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.callout-content p {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.callout img {
    margin: 0;
    border-radius: 8px;
}

.callout> :not(.callout-content) {
    flex: none;
}

/* Responsivo */
@media (max-width: 575px) {
    .callout {
        flex-direction: column;
        align-items: center;
        /* Centra el contenido en móviles */
        text-align: center;
    }

    .callout-content {
        align-items: center;
    }
}

.full-width-layout-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 50px;
    overflow: hidden
}

.app-store-header {
    position: relative;
    background-color: #050505;
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
    margin-bottom: 0
}

.app-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.35);
    transform: scale(1.2);
    z-index: 1;
    pointer-events: none
}

.app-store-container {
    position: relative;
    z-index: 2
}

.app-grid {
    display: flex;
    align-items: center;
    gap: 50px
}

.app-poster {
    flex-shrink: 0;
    width: 260px;
    aspect-ratio: 2/3;
    border-radius: 15px;
    overflow: hidden;
    background: #222;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .8), 0 0 0 1px hsla(0, 0%, 100%, .1);
    transform: rotate(-2deg);
    transition: transform .3s ease
}

.app-poster:hover {
    transform: rotate(0) scale(1.02)
}

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

.app-info {
    flex-grow: 1
}

.app-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px
}

.badge-new {
    background: #00e676;
    color: #000;
    padding: 6px 12px;
    border-radius: 6px
}

.badge-cat {
    background: hsla(0, 0%, 100%, .15);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    backdrop-filter: blur(5px);
    border: 1px solid hsla(0, 0%, 100%, .1)
}

.app-title {
    font-size: clamp(1rem, 5vw, 2.65rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px 0;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .5)
}

@media(max-width: 900px) {
    .app-store-header {
        padding: 50px 0
    }

    .app-grid {
        flex-direction: column;
        text-align: center;
        gap: 30px
    }

    .app-poster {
        width: 200px;
        transform: rotate(0);
        margin: 0 auto
    }

    .app-title {
        font-size: 2.2rem
    }

    .app-actions,
    .app-badges {
        justify-content: center
    }
}

.single-hero-header {
    height: 40vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: #000;
    color: #fff
}

.single-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1
}

.single-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .7
}

.single-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2
}

.single-hero-container {
    position: relative;
    z-index: 3
}

.single-hero-title {
    font-size: clamp(1rem, 5vw, 2.65rem);
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    color: #fff
}

.hero-cat {
    background: #e25822;
    padding: 5px 15px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .8rem;
    display: inline-block;
    margin-bottom: 15px
}

@media(max-width: 768px) {
    .app-grid {
        flex-direction: column;
        text-align: center
    }

    .app-poster {
        width: 180px;
        margin: 0 auto
    }
}

.entry-header {
    margin-bottom: 30px
}

.entry-header .post-thumbnail {
    margin-top: 20px
}

.entry-header .post-thumbnail img {
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 10px
}

.post-author-meta {
    display: flex;
    align-items: center;
    margin-bottom: 25px
}

.author-avatar-wrap .author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    display: block
}

.author-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2
}

.author-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--keycolor)
}

.by-text {
    font-weight: 400;
    color: var(--text-main)
}

.verified-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px
}

.post-date-row {
    font-size: .85rem;
    color: var(--text-main);
    margin-top: 3px
}

.entry-footer-tags {
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px
}

@media(max-width: 768px) {
    .entry-footer-tags {
        justify-content: center
    }
}

.author-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px
}

.author-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: color .3s ease, transform .2s;
    text-decoration: none
}

.author-social-links a:hover {
    color: #e25822;
    transform: translateY(-2px)
}

.author-social-links svg {
    width: 20px;
    height: 20px
}

.mainter-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 0 5px 0;
    font-size: .85rem;
    color: #6b7280;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden
}

.mainter-breadcrumbs .separator,
.mainter-breadcrumbs a {
    flex-shrink: 0
}

.mainter-breadcrumbs .current-item,
.mainter-breadcrumbs span:last-child {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
    font-weight: 500
}

.mainter-breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4
}

.crumb-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .5px
}

.crumb-link:hover {
    color: var(--keycolor);
    text-decoration: underline
}

.sep {
    color: #d1d5db;
    font-size: 10px;
    user-select: none
}

.crumb-current {
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px
}

@media(max-width: 600px) {
    .mainter-breadcrumbs {
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, .03)
    }

    .mainter-breadcrumbs .container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: none;
        -ms-overflow-style: none
    }

    .mainter-breadcrumbs .container::-webkit-scrollbar {
        display: none
    }

    .crumb-current {
        max-width: none;
        color: #374151;
        padding-right: 15px
    }
}

.mainter-toc-container {
    margin: 40px 0;
    clear: both
}

.mainter-toc {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    min-width: 320px;
    max-width: 100%;
    border: 2px solid rgba(0, 0, 0, .05);
    border-top: 2px solid var(--keycolor)
}

.toc-header {
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f2f4f8;
    border-bottom: 2px solid #f3f4f6;
    transition: background .2s;
    list-style: none;
    color: #111827
}

.toc-header::-webkit-details-marker {
    display: none
}

.toc-toggle-icon {
    font-size: .8rem;
    transition: transform .3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%
}

.toc-toggle-icon svg {
    transition: transform .5s;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--keycolor);
    fill: none
}

.mainter-toc[open] .toc-toggle-icon {
    transform: rotate(180deg)
}

.toc-list-wrapper {
    padding: 25px;
    background: #fff;
    counter-reset: h2counter
}

.toc-list-wrapper ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.toc-list-wrapper li {
    margin-bottom: 12px;
    line-height: 1.5;
    display: flex;
    align-items: baseline
}

.toc-list-wrapper li::before {
    font-weight: 700;
    font-size: .85rem;
    min-width: 35px
}

.toc-item {
    counter-increment: h2counter;
    counter-reset: h3counter
}

.toc-item::before {
    content: counter(h2counter) "."
}

.toc-subitem {
    counter-increment: h3counter;
    margin-left: 20px;
    font-size: .95rem
}

.toc-subitem::before {
    content: counter(h2counter) "." counter(h3counter);
    color: var(--keycolor);
    box-shadow: none
}

.toc-list-wrapper a {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: color .2s;
    border-bottom: 2px solid rgba(0, 0, 0, 0)
}

.toc-list-wrapper a:hover {
    color: var(--keycolor, #e25822);
    border-bottom-color: var(--keycolor)
}

body.dark-mode .mainter-toc,
body.dark-mode .toc-header,
body.dark-mode .toc-list-wrapper {
    background: #1f2937;
    border-color: #374151;
    color: #f3f4f6
}

body.dark-mode .toc-header {
    border-bottom-color: #374151
}

body.dark-mode .toc-toggle-icon {
    color: #e5e7eb
}

body.dark-mode .mainter-toc[open] .toc-toggle-icon {
    color: #fff
}

body.dark-mode .toc-list-wrapper a {
    color: #d1d5db
}

body.dark-mode .toc-list-wrapper a:hover {
    color: var(--keycolor)
}

body.dark-mode .toc-subitem::before {
    background-color: #374151
}

pre {
    --copy-text: "Copy";
    --copied-text: "Copied!";
    --code-bg: #2a2833;
    --code-color: #9a92be;
    --code-color-comment: #787878;
    --code-color-string: #ffcd81;
    --code-color-selector: #a38eff;
    --code-color-property: #a38eff;
    --code-color-tag: #6a6684;
    --code-color-tag-name: #eeebfe;
    --code-color-attr: #c3b6ff;
    --code-color-class: #eeebff;
    --code-color-number: #ffcd95;
    position: relative;
    font-family: SFMono-Regular, monospace
}

pre>code {
    background-color: var(--code-bg);
    color: var(--code-color);
    display: block;
    overflow-x: auto;
    white-space: pre;
    padding: 1.5rem;
    border-radius: .5rem
}

.hljs-copy {
    position: absolute;
    border: 0 none;
    inset: .5rem .5rem auto auto;
    padding: .5rem .75rem;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    cursor: pointer;
    border-radius: .5rem;
    transition: .3s background-color;
    font-size: 14px
}

.hljs-copy:hover {
    background-color: rgba(0, 0, 0, .75)
}

.hljs-copy::before {
    content: var(--copy-text)
}

.hljs-copy.is-copied::before {
    content: var(--copied-text)
}

.hljs-name,
.hljs-section {
    color: var(--code-color-tag-name)
}

.hljs-tag {
    color: var(--code-color-tag)
}

.hljs-selector-class {
    color: var(--code-color-class)
}

.hljs-number {
    color: var(--code-color-number)
}

.hljs-comment,
.hljs-meta {
    color: var(--code-color-comment)
}

.hljs-emphasis,
.hljs-quote,
.hljs-string,
.hljs-strong,
.hljs-template-variable,
.hljs-variable {
    color: var(--code-color-string)
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
    color: var(--code-color-selector)
}

.hljs-attribute,
.hljs-bullet,
.hljs-literal,
.hljs-symbol {
    color: var(--code-color-property)
}

.hljs-attr,
.hljs-selector-attr,
.hljs-selector-id,
.hljs-selector-pseudo,
.hljs-title {
    color: var(--code-color-attr)
}

.mainter-share-section {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, .05)
}

.share-title {
    font-size: var(--size-h4);
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 15px
}

.btn-fb {
    background-color: #1877f2
}

.btn-x {
    background-color: #000
}

.btn-wa {
    background-color: #25d366
}

.btn-li {
    background-color: #0a66c2
}

.btn-pinterest {
    background-color: #bd081c
}

.btn-reddit {
    background-color: #ff4500
}

.btn-telegram {
    background-color: #08c
}

.btn-email {
    background-color: #6c757d
}

.related-grid-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media(max-width: 576px) {
    .related-grid-wrapper {
        grid-template-columns: 1fr
    }

    .related-grid-wrapper .post-card .style-overlay {
        height: 220px
    }
}

.mainter-related-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin: 35px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .03);
    transition: all .3s ease
}

.mainter-related-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    transform: translateY(-2px)
}

.related-card-image {
    flex: 0 0 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden
}

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

.related-card-content {
    flex: 1
}

.related-card-title {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4
}

.related-card-title a {
    color: var(--color-link);
    text-decoration: none;
    border-bottom: 1px dashed #3b82f6
}

.related-card-title a:hover {
    opacity: .8;
    border-bottom-style: solid
}

.related-card-meta {
    font-size: .85rem;
    color: #6b7280
}

body.dark-mode .mainter-related-card {
    background-color: #1f2937;
    border-color: #374151
}

body.dark-mode .related-card-meta {
    color: #9ca3af
}

@media(max-width: 600px) {
    .mainter-related-card {
        flex-direction: column;
        text-align: center
    }

    .related-card-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 200px;
        margin: 0 auto
    }
}

.author-box-simple {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid rgba(0, 0, 0, .05);
    margin-top: 2rem
}

.author-simple-avatar img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    border: 4px solid #fff;
    box-shadow: var(--sh-ui)
}

.author-simple-content {
    flex: 1
}

.author-simple-name {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    line-height: 1.3
}

.author-simple-name .small-label {
    font-size: .8rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 2px
}

.author-simple-name a {
    font-weight: 800;
    text-decoration: none;
    color: inherit
}

.author-simple-bio {
    font-size: .95rem;
    line-height: 1.6;
    color: #555
}

@media(max-width: 600px) {
    .author-box-simple {
        flex-direction: column;
        text-align: center;
        padding: 25px
    }

    .author-simple-name {
        margin-top: 15px
    }
}

body.dark-mode .author-box-simple {
    background: var(--bg-light);
    border-color: #374151
}

body.dark-mode .author-simple-bio {
    color: #ccc
}

.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 30px
}

.comment-form {
    background: var(--card-bg, #fff);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    margin-bottom: 50px
}

.comment-notes,
.logged-in-as {
    font-size: .9rem;
    color: var(--text-main);
    margin-bottom: 20px
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: .9rem
}

.comment-form input[type=email],
.comment-form input[type=text],
.comment-form input[type=url],
.comment-form textarea {
    width: 100%;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 12px;
    font-size: 1rem;
    transition: all .3s ease;
    color: var(--text-main)
}

.comment-form input:focus,
.comment-form textarea:focus {
    background: #fff;
    border-color: var(--keycolor);
    outline: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05)
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical
}

.comment-form .submit {
    background: var(--keycolor) !important;
    color: #fff !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 700;
    margin-top: 10px;
    width: auto;
    cursor: pointer;
    border: none;
    transition: opacity .3s
}

.comment-form .submit:hover {
    opacity: .9
}

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

.comment-body {
    background: var(--card-bg, #fff);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    margin-bottom: 25px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, .05);
    transition: transform .3s ease
}

.comment-body:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08)
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative
}

.avatar {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--keycolor);
    padding: 2px
}

.fn {
    font-style: normal;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main)
}

.fn a {
    color: inherit;
    text-decoration: none
}

.comment-metadata {
    margin-left: auto;
    font-size: .85rem;
    color: #888
}

.comment-metadata a {
    color: #888;
    text-decoration: none
}

.comment-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-main)
}

.reply {
    text-align: right
}

.comment-reply-link {
    display: inline-block;
    background: var(--keycolor);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .3s ease
}

.comment-reply-link:hover {
    background: #333;
    color: #fff
}

.children {
    list-style: none;
    padding-left: 0;
    margin-left: 20px
}

@media(min-width: 768px) {
    .children {
        margin-left: 50px
    }
}

.comment-author {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem
}

body.dark-mode .comment-form input,
body.dark-mode .comment-form textarea {
    background: #1f2937;
    color: #fff;
    border-color: #374151
}

body.dark-mode .comment-form input:focus,
body.dark-mode .comment-form textarea:focus {
    border-color: var(--keycolor);
    background: #111827
}

.has-text-align-center {
    text-align: center
}

/* ==========================================================================
   BLOQUE PRESENTACIÓN PRO (INDEPENDIENTE Y ELEGANTE)
   ========================================================================== */
.mainter-presentation-section {
    padding: 60px 0;
    width: 100%;
    overflow: hidden;
}

.mainter-presentation-section .pres-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    /* Por defecto centrado */
    gap: 70px;
}

/* Modificadores dinámicos */
.mainter-presentation-section.is-reverse .pres-container {
    flex-direction: row-reverse;
}

.mainter-presentation-section.align-top .pres-container {
    align-items: flex-start;
    /* Alinea el texto con la parte alta de la imagen */
}

.mainter-presentation-section .pres-media {
    flex: 0 0 var(--img-width, 50%);
}

.mainter-presentation-section .pres-content {
    flex: 1;
    min-width: 0;
}

/* Imagen estilo "Macbook/Dashboard" */
.pres-main-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    display: block;
}

/* Etiqueta / Copete */
.pres-top-badge {
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* * NOTA: La tipografía del H2 y el Párrafo es controlada 
 * directamente por los InnerBlocks de Gutenberg (core/heading y core/paragraph), 
 * así que heredarán los estilos que le dimos en el JS o los globales de tu tema.
 */

/* RESPONSIVO (Móvil y Tablets) */
@media (max-width: 991px) {

    .mainter-presentation-section .pres-container,
    .mainter-presentation-section.is-reverse .pres-container {
        flex-direction: column !important;
        gap: 40px;
        padding: 0 20px;
    }

    .mainter-presentation-section .pres-media {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* ==========================================================================
   TABLA DE PRECIOS MAINTER (DARK MODE READY)
   ========================================================================== */
.mainter-pricing-section {
    padding: 60px 0;
    width: 100%;
}

/* --- TOGGLE MENSUAL / ANUAL --- */
.pricing-toggle-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-switch {
    display: inline-flex;
    align-items: center;
    background-color: var(--body-bg);
    border: 1px solid rgba(150, 150, 150, 0.2);
    border-radius: 50px;
    padding: 5px;
    cursor: pointer;
    position: relative;
}

.pricing-switch input {
    display: none;
}

.switch-label {
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    z-index: 2;
    transition: color 0.3s;
    opacity: 0.6;
}

.switch-label.active {
    opacity: 1;
}

.pricing-switch .slider {
    position: absolute;
    top: 5px;
    left: 5px;
    bottom: 5px;
    width: calc(50% - 5px);
    background-color: var(--theme-color-brand, #3b82f6);
    border-radius: 50px;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
}

.pricing-switch input:checked~.slider {
    transform: translateX(100%);
}

.pricing-discount {
    color: var(--theme-color-brand, #3b82f6);
    font-size: 14px;
    font-weight: 700;
    margin-top: 15px;
}

/* --- GRID Y TARJETAS --- */
.mainter-pricing-grid {
    display: grid;
    max-width: 1100px;
    margin: 0 auto;
    gap: 30px;
}

.mainter-pricing-card {
    background-color: var(--body-bg);
    border: 1px solid rgba(150, 150, 150, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mainter-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.plan-price-wrap {
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
}

.plan-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.plan-period {
    font-size: 16px;
    color: var(--text-main);
    opacity: 0.6;
    margin-left: 5px;
}

/* Características (Checkmarks SVG vía CSS) */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.plan-features li {
    font-size: 16px;
    color: var(--text-main);
    opacity: 0.8;
    margin-bottom: 18px;
    padding-left: 32px;
    position: relative;
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    background-color: #10b981;
    /* Verde éxito */
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Botón (CTA) */
.plan-cta {
    display: block;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.plan-cta:hover {
    background-color: var(--text-main);
    color: var(--body-bg);
}

/* --- TARJETA DESTACADA (FEATURED) --- */
.mainter-pricing-card.is-featured {
    border-color: var(--theme-color-brand, #3b82f6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--theme-color-brand, #3b82f6);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mainter-pricing-card.is-featured .plan-cta {
    background-color: var(--theme-color-brand, #3b82f6);
    color: #fff;
    border-color: var(--theme-color-brand, #3b82f6);
}

.mainter-pricing-card.is-featured .plan-cta:hover {
    opacity: 0.9;
}

/* Responsivo */
@media (max-width: 991px) {
    .mainter-pricing-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   MURO DE TESTIMONIOS (DARK MODE READY)
   ========================================================================== */
.mainter-testimonials-grid {
    padding: 60px 0;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.testi-grid-container {
    display: grid;
    gap: 30px;
    align-items: start;
}

/* Efecto Muro (Masonry) - Desplazamos las tarjetas pares hacia abajo */
@media (min-width: 769px) {
    .testi-grid-container .mainter-testimonial-card:nth-child(even) {
        transform: translateY(40px);
    }
}

.mainter-testimonial-card {
    background-color: var(--body-bg);
    color: var(--text-main);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(150, 150, 150, 0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mainter-testimonial-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

/* Modo oscuro específico para la sombra */
body.dark-mode .mainter-testimonial-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Columna Izquierda (Avatar) */
.testi-avatar-col {
    flex-shrink: 0;
}

.testi-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--body-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testi-avatar-placeholder {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

/* Columna Derecha (Contenido) */
.testi-content-col {
    flex-grow: 1;
}

.testi-text {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 15px 0;
}

.testi-stars {
    margin-bottom: 10px;
}

.star-icon {
    color: #fbbf24;
    /* Amarillo estrellas */
    font-size: 16px;
    margin-right: 2px;
}

/* --- ESTILOS DEL NOMBRE CON EL @ --- */
.testi-author-wrapper {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-top: 5px;
}

.testi-at-symbol {
    color: #64748b;
    /* Gris sutil */
    font-weight: 800;
    font-size: 15px;
}

.testi-author {
    font-size: 15px;
    font-weight: 800;
}

/* Responsivo */
@media (max-width: 768px) {
    .testi-grid-container {
        grid-template-columns: 1fr !important;
    }

    .testi-grid-container .mainter-testimonial-card:nth-child(even) {
        transform: translateY(0);
        /* Quitamos el offset en móvil */
    }
}

/* --- ESTILOS DEL ENLACE AL PERFIL (@) --- */
a.testi-author-wrapper.has-link {
    text-decoration: none;
    color: var(--text-main);
    /* Hereda color normal */
    transition: opacity 0.2s, color 0.2s;
}

a.testi-author-wrapper.has-link .testi-at-symbol {
    color: var(--theme-color-brand, #3b82f6);
    /* Hacemos el @ de color marca para insinuar clic */
}

a.testi-author-wrapper.has-link:hover {
    opacity: 0.7;
    color: var(--theme-color-brand, #3b82f6);
    /* Todo el nombre se pinta al pasar el mouse */
}

/* ==========================================================================
   ENCABEZADO MAINTER
   ========================================================================== */
.mainter-custom-heading {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* Le da un toque muy moderno a los títulos */
    clear: both;
}

/* Responsivo: Reducimos ligeramente los tamaños y márgenes extremos en móvil */
@media (max-width: 768px) {
    .mainter-custom-heading {
        /* Usamos clamp para que el texto nunca sea más pequeño de 24px en móviles */
        font-size: clamp(24px, 8vw, inherit) !important;
    }
}