/**
 * Artículo / bloque legal (/teoria/{ley}/{slug})
 */

.ta-page {
    padding-bottom: 3rem;
}

.ta-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: #94a3b8;
}

.ta-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
}

.ta-breadcrumb a:hover {
    color: #fff;
}

.ta-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
}

.ta-hero-meta a {
    color: #93c5fd;
    text-decoration: none;
}

.ta-body {
    padding: 2.5rem 0 1rem;
    background: #f8fafc;
}

.ta-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
}

.ta-main {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 2rem;
}

.ta-texto {
    color: #1e293b;
    line-height: 1.75;
    font-size: 0.98rem;
}

.ta-texto p {
    margin: 0 0 1rem;
}

.ta-texto p.articulo {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.05rem;
    margin-top: 1.5rem;
}

.ta-texto p.parrafo {
    text-align: justify;
}

.ta-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.ta-pager-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ta-pager-link:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    color: inherit;
}

.ta-pager-link.next {
    text-align: right;
}

.ta-pager-link.disabled {
    visibility: hidden;
}

.ta-pager-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.ta-pager-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #2563eb;
}

.ta-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 88px;
}

.ta-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
}

.ta-panel h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 12px;
}

.ta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.ta-btn-primary {
    background: #2563eb;
    color: #fff;
}

.ta-btn-outline {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
}

@media (max-width: 991px) {
    .ta-layout {
        grid-template-columns: 1fr;
    }

    .ta-aside {
        position: static;
    }
}
