/* ── Shared Article Styles for Claudia Ramírez Blog ── */
:root {
    --gold: #B89A6A;
    --night: #0F1A24;
    --ink: #1E1B18;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: 'Inter', sans-serif;
    background: #FAF8F4;
    color: #1E1B18
}

#read-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gold);
    width: 0%;
    z-index: 9999;
    transition: width .1s linear
}

.art-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    background: #FAF8F4;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: .75rem
}

.art-nav .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #1E1B18;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0
}

.art-nav .logo em {
    font-style: italic;
    color: var(--gold)
}

.art-nav-back {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6B6260;
    text-decoration: none;
    transition: color .2s
}

.art-nav-back:hover {
    color: var(--gold)
}

.art-hero {
    background: var(--night);
    color: #fff;
    padding: 6rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden
}

.art-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(184, 154, 106, .08) 0%, transparent 70%);
    pointer-events: none
}

.art-cat {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem
}

.art-h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.15;
    max-width: 780px;
    margin: 0 auto 2rem;
    color: #fff
}

.art-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .65);
    max-width: 600px;
    margin: 0 auto 2.5rem
}

.art-meta {
    font-size: .8rem;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .05em
}

.art-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem
}

.art-body p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #2a2724;
    margin-bottom: 1.8rem
}

.art-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--night);
    margin: 3.5rem 0 1.2rem
}

.art-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--night);
    margin: 2.5rem 0 1rem
}

.art-body ul,
.art-body ol {
    padding-left: 1.4rem;
    margin-bottom: 1.8rem
}

.art-body li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2a2724;
    margin-bottom: .5rem
}

.art-body strong {
    font-weight: 600;
    color: var(--night)
}

.art-body blockquote {
    border-left: 3px solid var(--gold);
    background: #f2ede4;
    padding: 1.8rem 2rem 1.8rem 2.2rem;
    margin: 2.5rem 0;
    position: relative;
    border-radius: 0 4px 4px 0
}

.art-body blockquote::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    color: var(--gold);
    opacity: .2;
    position: absolute;
    top: .2rem;
    left: 1rem;
    line-height: 1;
    pointer-events: none
}

.art-body blockquote p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--night);
    margin: 0;
    position: relative;
    z-index: 1
}

.art-divider {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 3rem auto;
    opacity: .5
}

.art-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    border-left: 3px solid var(--gold);
    margin: 4rem 0 3rem
}

.art-author-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--night);
    overflow: hidden;
    flex-shrink: 0
}

.art-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left 10%
}

.art-author-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--night);
    margin-bottom: .2rem
}

.art-author-bio {
    font-size: .9rem;
    line-height: 1.6;
    color: #6B6260
}

.art-cta {
    background: var(--night);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
    margin-top: 4rem
}

.art-cta h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 1rem
}

.art-cta p {
    color: rgba(255, 255, 255, .6);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.7
}

.btn-gold-art {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: #1E1B18;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: opacity .2s;
    animation: gold-pulse 2.5s ease-in-out infinite
}

.btn-gold-art:hover {
    opacity: .85
}

@keyframes gold-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 154, 106, .7), 0 8px 32px rgba(184, 154, 106, .3)
    }

    60% {
        box-shadow: 0 0 0 14px rgba(184, 154, 106, 0), 0 8px 48px rgba(184, 154, 106, .5)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(184, 154, 106, 0), 0 8px 32px rgba(184, 154, 106, .3)
    }
}

.art-related {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem
}

.art-related h4 {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #6B6260;
    margin-bottom: 2rem
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem
}

.related-card {
    padding: 1.8rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .04);
    text-decoration: none;
    transition: transform .3s, box-shadow .3s
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .06)
}

.related-cat {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: .8rem
}

.related-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--night);
    line-height: 1.35
}

.art-footer {
    background: var(--night);
    text-align: center;
    padding: 2rem;
    font-size: .75rem;
    color: rgba(255, 255, 255, .3)
}

.art-footer a {
    color: var(--gold);
    text-decoration: none
}

@media(max-width:640px) {
    .art-nav {
        padding: 1rem 1.2rem
    }

    .related-grid {
        grid-template-columns: 1fr
    }

    /* Reducir padding del hero del artículo */
    .art-hero {
        padding: 4rem 1.5rem 3rem
    }

    /* Reducir font del título */
    .art-h1 {
        font-size: clamp(1.8rem, 7vw, 2.8rem)
    }

    /* Reducir padding del cuerpo */
    .art-body {
        padding: 3rem 1.5rem 3rem
    }

    /* Reducir padding del CTA final */
    .art-cta {
        padding: 3.5rem 1.5rem
    }

    /* Reducir padding de artículos relacionados */
    .art-related {
        padding: 2rem 1.5rem 3rem
    }

    /* Artículo autor en columna en pantallas muy pequeñas */
    .art-author {
        flex-direction: column;
        padding: 1.8rem;
        gap: 1rem
    }

    /* Asegurar que blockquote no desborde */
    .art-body blockquote {
        padding: 1.4rem 1.2rem 1.4rem 1.5rem;
        margin: 2rem 0
    }
}