/* ═══════════════════════════════════════════════
   home.css — Homepage Article & Extra Styles
   ═══════════════════════════════════════════════ */

/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.lang-link {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #94a3b8;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.lang-link:hover {
    color: #c4b5fd;
    border-color: rgba(132, 94, 194, 0.4);
    background: rgba(132, 94, 194, 0.1);
}

.lang-link.active {
    color: #c4b5fd;
    border-color: rgba(132, 94, 194, 0.5);
    background: rgba(132, 94, 194, 0.15);
    font-weight: 800;
}


/* ── HEADER BADGE ── */
.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(132, 94, 194, 0.15);
    border: 1px solid rgba(132, 94, 194, 0.35);
    color: #c4b5fd;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

/* ── MAIN WRAPPER ── */
main {
    position: relative;
    z-index: 1;
}

/* ── SITE FOOTER ── */
.site-footer {
    text-align: center;
    padding: 2.5rem 2rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════
   HOME ARTICLE
   ══════════════════════════════════════════════ */
.home-article {
    position: relative;
    z-index: 1;
    padding: 0 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-inner {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ── Article Header ── */
.article-header {
    padding: 3.5rem 3.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(132, 94, 194, 0.08) 0%, rgba(255, 107, 107, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.article-tag {
    display: inline-block;
    background: rgba(132, 94, 194, 0.2);
    color: #c4b5fd;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(132, 94, 194, 0.3);
}

.article-header h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #94a3b8;
    max-width: 800px;
}

.article-lead strong {
    color: #c4b5fd;
    font-weight: 600;
}

/* ── Article Grid (two-column content) ── */
.article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
}

.article-section {
    padding: 2.5rem 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    line-height: 1.8;
    transition: background 0.3s ease;
}

.article-section:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.article-section:last-child,
.article-section:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.article-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(132, 94, 194, 0.3);
    display: inline-block;
}

.article-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #a78bfa;
    margin: 1.4rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-section p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.article-section p:last-child {
    margin-bottom: 0;
}

.article-section strong {
    color: #e2e8f0;
    font-weight: 600;
}

.article-section em {
    color: #c4b5fd;
    font-style: italic;
}

/* ── Info Box ── */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(132, 94, 194, 0.08);
    border: 1px solid rgba(132, 94, 194, 0.25);
    border-radius: 14px;
    padding: 1.1rem 1.3rem;
    margin-top: 1.4rem;
}

.info-box-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #c4b5fd;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-box p {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* ── Card days badge enhancement ── */
.animal-card .card-days {
    font-size: 0.78rem;
    color: #845EC2;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    position: relative;
    z-index: 1;
    background: rgba(132, 94, 194, 0.12);
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    border: 1px solid rgba(132, 94, 194, 0.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-section:nth-child(odd) {
        border-right: none;
    }

    .article-section:last-child {
        border-bottom: none;
    }

    .article-section:nth-last-child(2):nth-child(odd) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

@media (max-width: 768px) {
    .home-article {
        padding: 0 1rem 4rem;
    }

    .article-inner {
        border-radius: 20px;
    }

    .article-header {
        padding: 2rem 1.5rem 1.8rem;
    }

    .article-header h2 {
        font-size: 1.5rem;
    }

    .article-lead {
        font-size: 0.95rem;
    }

    .article-section {
        padding: 2rem 1.5rem;
    }

    .article-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 1.5rem 1.2rem;
    }

    .article-section {
        padding: 1.5rem 1.2rem;
    }

    .info-box {
        flex-direction: column;
        gap: 0.6rem;
    }
}