:root {
    --smt-body-bg: #ffffff;
    --smt-text: #111827;
    --smt-muted: #6b7280;
    --smt-border: rgba(17, 24, 39, 0.12);
    --smt-container: 1180px;
}

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    background: var(--smt-body-bg);
    color: var(--smt-text);    
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    z-index: 99999;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    background: #111827;
    color: #ffffff;
    border-radius: 8px;
}

.smt-site {
    min-height: 45vh;
    display: flex;
    flex-direction: column;
}

.smt-main {
    flex: 1;
}

.smt-container {
    width: min(100% - 32px, var(--smt-container));
    margin-inline: auto;
}

.smt-default-header,
.smt-default-footer {
    padding: 24px 0;
    border-bottom: 1px solid var(--smt-border);
}

.smt-default-footer {
    border-top: 1px solid var(--smt-border);
    border-bottom: 0;
    color: var(--smt-muted);
    font-size: 0.9rem;
}

.smt-default-header__inner,
.smt-default-footer__inner {
    width: min(100% - 32px, var(--smt-container));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.smt-logo {
    font-weight: 800;
    text-decoration: none;
}

.smt-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.smt-nav a {
    color: var(--smt-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.smt-nav a:hover {
    color: var(--smt-text);
}

.smt-content {
    width: min(100% - 32px, var(--smt-container));
    margin: 0 auto;
    padding: 56px 0;
}

.smt-content-full {
    width: 100%;
    padding: 0;
}

.entry-title {
    margin: 0 0 32px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}
/* =========================================================
   Standard content
   Fallback visual para páginas/contenidos no gestionados
   completamente por Smartmind Ultra.
   ========================================================= */

.smt-content {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.smt-content > * {
    max-width: 860px;
    margin-inline: auto;
}

.smt-content > .entry-title {
    max-width: 980px;
    margin-bottom: 48px;
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.smt-content p {
    margin-top: 0;
    margin-bottom: 1.5em;
}

.smt-content h2,
.smt-content h3,
.smt-content h4,
.smt-content h5,
.smt-content h6 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.smt-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.smt-content h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.smt-content h4 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.smt-content h5,
.smt-content h6 {
    font-size: 1.05rem;
}

.smt-content ul,
.smt-content ol {
    margin-top: 0;
    margin-bottom: 1.75em;
    padding-left: 1.4em;
}

.smt-content li + li {
    margin-top: 0.45em;
}

.smt-content a:not([class]) {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.smt-content a:not([class]):hover {
    text-decoration-thickness: 2px;
}

.smt-content blockquote {
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 1.25em 0 1.25em 1.5em;
    border-left: 3px solid var(--smt-text);
    color: var(--smt-muted);
    font-size: 1.1em;
}

.smt-content blockquote > :last-child {
    margin-bottom: 0;
}

.smt-content figure {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

.smt-content figcaption {
    margin-top: 0.75em;
    color: var(--smt-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.smt-content img {
    border-radius: 12px;
}

.smt-content iframe {
    display: block;
    max-width: 100%;
    margin: 2.5em auto;
    border: 0;
}

.smt-content iframe[src*="youtube.com"],
.smt-content iframe[src*="youtu.be"],
.smt-content iframe[src*="vimeo.com"] {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 14px;
}

.smt-content table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.smt-content th,
.smt-content td {
    padding: 0.85em 1em;
    border: 1px solid var(--smt-border);
    text-align: left;
    vertical-align: top;
}

.smt-content th {
    font-weight: 700;
}

.smt-content hr {
    margin: 3em auto;
    border: 0;
    border-top: 1px solid var(--smt-border);
}

/* WordPress alignments */

.smt-content > .alignwide {
    max-width: min(1080px, 100%);
}

.smt-content > .alignfull {
    width: 100%;
    max-width: none;
}

/* Responsive */

@media (max-width: 767px) {

    .smt-content {
        width: min(100% - 40px, var(--smt-container));
        padding: 40px 0;
        font-size: 1rem;
    }

    .smt-content > .entry-title {
        margin-bottom: 32px;
        font-size: clamp(2.25rem, 11vw, 3.5rem);
    }

    .smt-content h2,
    .smt-content h3,
    .smt-content h4,
    .smt-content h5,
    .smt-content h6 {
        margin-top: 1.65em;
    }

    .smt-content iframe[src*="youtube.com"],
    .smt-content iframe[src*="youtu.be"],
    .smt-content iframe[src*="vimeo.com"] {
        border-radius: 10px;
    }

    .smt-default-header__inner,
    .smt-default-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
