/* ============================================================
   SIGUEME.NET — ARTICLE (página de artículo individual)
   ============================================================ */

/* ---------- HERO ---------- */
.sg-article-hero {
    background: linear-gradient(135deg, var(--section-color) 0%, var(--section-color-dark) 100%);
    color: #fff;
    padding: 20px 0 20px;
    position: relative;
    overflow: hidden;
}
.sg-article-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.sg-article-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.sg-article-kicker {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.sg-article-kicker .line {
    width: 40px;
    height: 2px;
    background: var(--brand-accent);
}
.sg-article-hero h1 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.sg-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}
.sg-article-meta .author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.sg-article-meta .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
}
@media (max-width: 700px) {
    .sg-article-hero { padding: 40px 0 32px; }
    .sg-article-hero h1 { font-size: 26px; letter-spacing: -0.5px; }
    .sg-article-meta { font-size: 13px; gap: 10px; }
}

/* ---------- LAYOUT ---------- */
.sg-article-layout-wrap {
    padding: 0 0 60px;
}
.sg-article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
    padding: 32px 0;
}
@media (max-width: 900px) {
    .sg-article-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- CONTENIDO ---------- */
.sg-article-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
@media (max-width: 700px) {
    .sg-article-content { padding: 24px 20px; font-size: 16px; }
}

.sg-article-content p {
    margin-bottom: 20px;
}
.sg-article-content p:last-child {
    margin-bottom: 0;
}

.sg-article-content h2,
.sg-article-content h3,
.sg-article-content h4 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-weight: 900;
    color: var(--brand-primary);
    letter-spacing: -0.5px;
    line-height: 1.25;
}
.sg-article-content h2 { font-size: 26px; }
.sg-article-content h3 { font-size: 22px; }
.sg-article-content h4 { font-size: 19px; }

.sg-article-content blockquote {
    border-left: 4px solid var(--section-color);
    background: var(--section-color-soft);
    padding: 20px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.sg-article-content ul,
.sg-article-content ol {
    margin: 20px 0;
    padding-left: 24px;
}
.sg-article-content ul { list-style: disc; }
.sg-article-content ol { list-style: decimal; }
.sg-article-content li {
    margin-bottom: 8px;
}

.sg-article-content a {
    color: var(--section-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.sg-article-content a:hover {
    color: var(--section-color-dark);
}

.sg-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.sg-article-content strong,
.sg-article-content b {
    font-weight: 700;
    color: var(--text-primary);
}

/* ---------- IMAGEN DESTACADA ---------- */
.sg-article-featured-image {
    margin: 0 0 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #e0e0e0;
}
.sg-article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.sg-article-caption {
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
    padding: 12px 20px;
    background: var(--bg-soft, #f9fafb);
    border-top: 1px solid var(--border);
}

/* ---------- INTRO DESTACADA ---------- */
.sg-article-intro {
    background: var(--section-color-soft);
    border-left: 4px solid var(--section-color);
    padding: 20px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 500;
}
.sg-article-intro p {
    margin-bottom: 12px;
}
.sg-article-intro p:last-child {
    margin-bottom: 0;
}

/* ---------- TEXTO BÍBLICO ---------- */
.sg-article-bible-text {
    background: linear-gradient(135deg, var(--section-color-soft) 0%, #fff 100%);
    border-left: 4px solid var(--section-color);
    padding: 16px 22px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--section-color);
}

/* ---------- FUENTES ---------- */
.sg-article-fuentes {
    background: var(--bg-soft, #f9fafb);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--brand-primary);
    margin: 32px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.sg-article-fuentes strong {
    color: var(--brand-primary);
    display: block;
    margin-bottom: 6px;
}

/* ---------- CAJA DEL AUTOR ---------- */
.sg-author-box {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px 36px 32px 32px;
    margin: 40px 0 0;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--section-color);
}

.sg-author-box-avatar {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
}

.sg-author-box-avatar img,
.sg-author-box-initials {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sg-author-box-initials {
    background: var(--section-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 32px;
    letter-spacing: -0.5px;
}

.sg-author-box-info {
    flex: 1;
    min-width: 0;
}

.sg-author-box-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--section-color);
    font-weight: 800;
    margin-bottom: 2px;   /* ← ANTES 8px, ahora 2px */
}

.sg-author-box-name {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.sg-author-box-name a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.sg-author-box-name a:hover { color: var(--section-color); }

.sg-author-box-bio {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive */
@media (max-width: 560px) {
    .sg-author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 28px 24px;
    }
    .sg-author-box-name { font-size: 22px; }
}

/* ---------- NAVEGACIÓN ANTERIOR/SIGUIENTE ---------- */
.sg-article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0 0;
}
.sg-article-nav-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--border);
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--text-primary);
    display: block;
}
.sg-article-nav-item:hover {
    border-left-color: var(--section-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.sg-article-nav-item .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
}
.sg-article-nav-item .title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--brand-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 560px) {
    .sg-article-nav { grid-template-columns: 1fr; }
}

/* ---------- SIDEBAR ---------- */
.sg-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}
@media (max-width: 900px) {
    .sg-sidebar { position: static; }
}

.sg-sidebar-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.sg-sidebar-card-header {
    padding: 16px 20px;
    border-bottom: 2px solid var(--section-color);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.sg-sidebar-list { list-style: none; }
.sg-sidebar-list li { border-bottom: 1px solid var(--border); }
.sg-sidebar-list li:last-child { border-bottom: none; }
.sg-sidebar-list a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-decoration: none;
}
.sg-sidebar-list a:hover {
    background: var(--section-color-soft);
    color: var(--section-color);
    padding-left: 26px;
}
.sg-sidebar-list-articles a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px;
}
.sg-sidebar-list-articles .rel-title {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sg-sidebar-list-articles a:hover .rel-title { color: var(--section-color); }
.sg-sidebar-list-articles .rel-meta {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ---------- CITA BÍBLICA (Texto base) ---------- */
.sg-article-bible-cita {
    background: linear-gradient(135deg, var(--section-color-soft) 0%, #fff 100%);
    border-radius: var(--radius-md);
    border-left: 5px solid var(--section-color);
    margin: 32px 0;
    overflow: hidden;
}

.sg-article-bible-cita-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.sg-article-bible-cita-header .icon { font-size: 18px; }

.sg-article-bible-cita-header .label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.sg-article-bible-cita-header .ref {
    font-size: 15px;
    font-weight: 800;
    color: var(--section-color);
    text-decoration: none;
    padding: 4px 12px;
    background: #fff;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}
.sg-article-bible-cita-header .ref:hover {
    background: var(--section-color);
    color: #fff;
}

.sg-article-bible-cita-texto {
    margin: 0;
    padding: 22px 28px;
    font-size: 18px;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-primary);
    background: #fff;
}

.sg-article-bible-cita-texto sup {
    font-size: 12px;
    font-weight: 800;
    color: var(--section-color);
    margin-right: 6px;
    font-style: normal;
    vertical-align: super;
}

.sg-article-bible-cita-footer {
    padding: 14px 24px;
    background: rgba(255,255,255,0.6);
    text-align: right;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.sg-article-bible-cita-footer .link {
    font-size: 13px;
    font-weight: 700;
    color: var(--section-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
}
.sg-article-bible-cita-footer .link:hover { gap: 12px; }

/* ---------- GRID 2 COLUMNAS (Jóvenes + Mujeres) ---------- */
.sg-home-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .sg-home-2col {
        grid-template-columns: 1fr;
    }
}