/* ==========================================================================
   HUB DLL - Tipografia de Artigos & Componentes
   ========================================================================== */

/* Corpo do artigo */
.hub-article h2 {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    color: var(--dll-blue);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
    line-height: 1.3;
}
.hub-article h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dll-blue);
    margin-top: 28px;
    margin-bottom: 10px;
}
.hub-article p {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 16px;
}
.hub-article a {
    color: var(--dll-red);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.hub-article a:hover {
    text-decoration: underline;
}
.hub-article ul, .hub-article ol {
    margin-bottom: 16px;
    padding-left: 0;
    list-style: none;
}
.hub-article li {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}
.hub-article li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--dll-red);
}
.hub-article strong {
    color: var(--dll-blue);
    font-weight: 700;
}
.hub-article-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    font-weight: 500;
    margin-bottom: 24px;
    border-left: 4px solid var(--dll-red);
    padding-left: 20px;
}

/* Callout box */
.hub-callout {
    background: #f8fafc;
    border-left: 4px solid var(--dll-red);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 28px 0;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}
.hub-callout strong {
    color: var(--dll-blue);
    display: block;
    margin-bottom: 4px;
}

/* Card do Hub */
.hub-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 9, 63, 0.1);
    border-color: #d1d5db;
}
.hub-card:hover .hub-card-img {
    transform: scale(1.05);
}
.hub-card-img {
    transition: transform 0.5s ease;
}

/* Badge de categoria */
.hub-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

/* Paginacao */
.hub-pagination a,
.hub-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.hub-pagination a {
    background: white;
    color: var(--dll-blue);
    border: 1px solid #e5e7eb;
}
.hub-pagination a:hover {
    border-color: var(--dll-red);
    color: var(--dll-red);
}
.hub-pagination .active {
    background: var(--dll-red);
    color: white;
    border: 1px solid var(--dll-red);
}

/* Sidebar */
.hub-sidebar-section {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    margin-bottom: 20px;
}
.hub-sidebar-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--dll-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

/* Share buttons */
.hub-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    background: white;
    cursor: pointer;
}
.hub-share-btn:hover {
    border-color: var(--dll-red);
    color: var(--dll-red);
    transform: translateY(-2px);
}

/* Filtros de categoria */
.hub-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    background: white;
    white-space: nowrap;
}
.hub-filter-btn:hover,
.hub-filter-btn.active {
    background: var(--dll-blue);
    color: white;
    border-color: var(--dll-blue);
}

/* Toast notification */
.hub-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--dll-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 99999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}
.hub-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
