/* CLICKADIA Blog Articles — shared lightweight styles */
:root {
    --clk-bg: #0b0f19;
    --clk-surface: #101827;
    --tarjeta: #121d2e;
    --clk-text: #17202c;
    --clk-muted: #526171;
    --clk-cyan: #1fb4e2;
    --clk-turquoise: #3fc4c8;
    --clk-green: #8bc34a;
    --clk-border: #dce5ef;
    --clk-light: #f4f7fb;
    --clk-white: #fff;
}

.clk-article-shell {
    font-family: Inter, Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--clk-text);
    background: #fff;
    line-height: 1.75;
    font-size: 17px
}

.clk-article-shell * {
    box-sizing: border-box
}

.clk-article-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse at 85% 10%, rgba(31, 180, 226, .22), transparent 33%), radial-gradient(ellipse at 15% 100%, rgba(63, 196, 200, .14), transparent 38%), var(--clk-bg);
    padding: clamp(48px, 8vw, 100px) 24px;
    color: #fff
}

.clk-article-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .18;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent)
}

.clk-article-hero__inner,
.clk-article {
    width: min(100%, 900px);
    margin-inline: auto
}

.clk-article-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(63, 196, 200, .35);
    border-radius: 999px;
    color: #73e5e3;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .73rem;
    font-weight: 750
}

.clk-article-hero h1 {
    max-width: 850px;
    margin: 20px 0;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.07;
    letter-spacing: -.04em;
    color: #fff
}

.clk-article-deck {
    max-width: 760px;
    color: #c7d3e3;
    font-size: clamp(1.05rem, 2vw, 1.28rem)
}

.clk-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 26px;
    color: #9fb2c7;
    font-size: .9rem
}

.clk-article {
    padding: clamp(26px, 5vw, 60px) 24px 76px
}

.clk-article h2 {
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -.025em;
    color: #111b2b;
    margin: 2.2em 0 .7em
}

.clk-article h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    color: #15283e;
    margin: 1.5em 0 .5em
}

.clk-article p,
.clk-article li {
    color: #334155
}

.clk-article p {
    margin: .85em 0
}

.clk-article a {
    color: #007da6;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px
}

.clk-article a:hover {
    color: #005b79
}

.clk-article ul,
.clk-article ol {
    padding-left: 1.4em
}

.clk-article li {
    padding-left: .2em;
    margin: .45em 0
}

.clk-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: .93rem;
    display: block;
    overflow-x: auto
}

.clk-article th,
.clk-article td {
    padding: 12px 14px;
    text-align: left;
    border: 1px solid var(--clk-border);
    vertical-align: top;
    min-width: 145px
}

.clk-article th {
    background: #eef8fb;
    color: #102335
}

.clk-article blockquote,
.clk-article .clk-note {
    padding: 18px 20px;
    border-left: 3px solid var(--clk-cyan);
    background: #f1f9fc;
    border-radius: 0 12px 12px 0;
    color: #293b4f;
    margin: 1.5em 0
}

.clk-article .clk-article-cta {
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid rgba(31, 180, 226, .28);
    border-radius: 22px;
    background: radial-gradient(ellipse at 100% 0%, rgba(31, 180, 226, .2), transparent 40%), #0b0f19;
    color: #fff;
    box-shadow: 0 20px 55px rgba(11, 15, 25, .13)
}

.clk-article-cta h2 {
    margin: 0 0 .6em;
    color: #fff
}

.clk-article-cta p {
    color: #c7d3e3
}

.clk-article-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: linear-gradient(110deg, #1fb4e2, #3fc4c8);
    color: #06121c !important;
    font-weight: 750;
    text-decoration: none !important;
    transition: all .3s ease
}

.clk-article-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(31, 180, 226, .24);
    filter: saturate(1.12)
}

.clk-article-faq {
    padding-top: 1rem;
    border-top: 1px solid var(--clk-border)
}

.clk-article .clk-article-sources {
    font-size: .95rem;
    background: #f7fafc;
    border: 1px solid var(--clk-border);
    border-radius: 16px;
    padding: 20px
}

.clk-article-footer-cta {
    padding: 40px 24px;
    background: var(--clk-bg);
    color: #fff;
    text-align: center
}

.clk-article-footer-cta p {
    color: #c7d3e3
}

.clk-article a:focus-visible,
.clk-article-btn:focus-visible {
    outline: 3px solid var(--clk-turquoise);
    outline-offset: 4px
}

@media(max-width:640px) {
    .clk-article-shell {
        font-size: 16px
    }

    .clk-article-hero {
        padding-inline: 20px
    }

    .clk-article {
        padding-inline: 20px
    }

    .clk-article-meta {
        gap: 8px 14px
    }

    .clk-article table {
        font-size: .88rem
    }
}

@media(prefers-reduced-motion:reduce) {
    .clk-article-shell * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important
    }
}

/* El contenido editorial mantiene su tipografía propia; la navegación y el pie
   conservan la familia tipográfica global de CLICKADIA en todas las subpáginas. */
.clk-home-header,
.clk-home-header *,
.clk-home-footer,
.clk-home-footer * {
    font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f4f8ff;
}

.clk-home-header .clk-home-nav,
.clk-home-header .clk-home-nav a,
.clk-home-header .clk-home-nav summary,
.clk-home-footer a,
.clk-home-footer p,
.clk-home-footer strong,
.clk-home-footer small {
    font-family: inherit;
}

.clk-article-shell,
.clk-article-shell p,
.clk-article-shell li {
    font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/* Editorial image slots: upload the matching WebP file to /imagenes/blog/. */
.clk-article-image {
    margin: 0 auto 2.25rem;
    width: min(100%, 860px);
}

.clk-article-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 18px;
    background: #eef3f8;
}

.clk-article-image figcaption {
    margin-top: .55rem;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.5;
    text-align: center;
}


/* Espacio editorial accesible: evita solicitudes a imágenes que el propietario aún no ha integrado. */
.clk-article-image__pending {
    display: grid;
    place-items: center;
    min-height: 220px;
    aspect-ratio: 16/9;
    padding: 1.5rem;
    border: 1px dashed rgba(130, 145, 170, .45);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(20, 34, 58, .08), rgba(20, 34, 58, .02));
    color: inherit;
    text-align: center
}

.clk-article-image__pending span {
    max-width: 34rem;
    font-size: .9rem;
    opacity: .75
}

.clk-seo-practical ul {
    padding-left: 1.25rem;
    display: grid;
    gap: .7rem
}

.clk-seo-practical li {
    line-height: 1.65
}

.clk-seo-practical a {
    text-decoration: underline;
    text-underline-offset: .18em
}


/* Bloque editorial de lecturas relacionadas: visible, accesible y responsive. */
.clk-related-box {
    width: min(100% - 32px, 900px);
    margin: 0 auto clamp(42px, 6vw, 76px);
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid #dbe5ef;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(31, 180, 226, .09), transparent 34%),
        linear-gradient(145deg, #f8fbff 0%, #ffffff 72%);
    box-shadow: 0 18px 48px rgba(15, 35, 60, .08);
}
.clk-related-box__intro { max-width: 680px; margin-bottom: 22px; }
.clk-related-box__eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: #087da5;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
}
.clk-related-box .clk-related-box__intro h2 {
    margin: 0 0 9px;
    color: #101d30;
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    line-height: 1.2;
    letter-spacing: -.025em;
}
.clk-related-box__intro p {
    margin: 0;
    color: #526171;
    font-size: .98rem;
    line-height: 1.65;
}
.clk-related-box__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0 !important;
    list-style: none;
}
.clk-related-box__grid li {
    display: flex;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}
.clk-related-box__grid a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 72px;
    padding: 16px 44px 16px 18px;
    border: 1px solid #e0e8f0;
    border-radius: 13px;
    background: rgba(255,255,255,.94);
    color: #17304a !important;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none !important;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.clk-related-box__grid a::after {
    content: "↗";
    position: absolute;
    right: 17px;
    top: 50%;
    color: #0799c5;
    font-size: 1.15rem;
    transform: translateY(-50%);
}
.clk-related-box__grid a:hover {
    transform: translateY(-2px);
    border-color: #8bd8e9;
    background: #f3fbfe;
    box-shadow: 0 9px 22px rgba(15, 75, 105, .08);
    color: #006b91 !important;
}
.clk-related-box__grid a:focus-visible {
    outline: 3px solid rgba(31,180,226,.45);
    outline-offset: 3px;
}
@media (max-width: 640px) {
    .clk-related-box { width: min(100% - 24px, 900px); padding: 21px 17px; border-radius: 17px; }
    .clk-related-box__grid { grid-template-columns: 1fr; gap: 9px; }
    .clk-related-box__grid a { min-height: 62px; }
}
@media (prefers-reduced-motion: reduce) {
    .clk-related-box__grid a { transition: none; }
    .clk-related-box__grid a:hover { transform: none; }
}


/* Bloque final de cada artículo: tarjetas de navegación editorial. */
.clk-related-box{position:relative;isolation:isolate}
.clk-related-box:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:22px 0 0 22px;background:linear-gradient(180deg,#1fb4e2,#3fc4c8)}
.clk-related-box__grid a{box-shadow:0 5px 16px rgba(15,35,60,.045)}
.clk-related-box__grid a:active{transform:translateY(0)}
.clk-related-box__grid li:nth-child(odd) a{background:linear-gradient(135deg,#fff,#f8fcff)}
