/* ==============================================
   CENTRAL DE AJUDA - CSS GLOBAL
   ============================================== */

/* Ocultar completamente o menu padrão do sistema */
body.g-sidenav-show aside.sidenav { display: none !important; }
body.g-sidenav-show .main-content { margin-left: 0 !important; width: 100% !important; }
body.g-sidenav-show .main-content > nav.navbar:not(.navbar-help) { display: none !important; }
body.g-sidenav-show .main-content > .navbar-main { display: none !important; }
.sidenav-toggler-inner { display: none !important; }
.fixed-plugin { display: none !important; }
#whatsapp-button { display: none !important; }
.btn-whatsapp-float { display: none !important; }

/* Fix layout width */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}
.main-content {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}
.help-content .container {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}
.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}
.row { margin-left: 0 !important; margin-right: 0 !important; }
.row > * { padding-left: 1rem; padding-right: 1rem; }
.g-4 { --bs-gutter-x: 2rem; }

@media (min-width: 1400px) {
    .help-content .container { max-width: 92%; }
}

/* Hide floating elements (but keep sidebar whatsapp button) */
.whatsapp-float,
#whatsapp-float,
#whatsapp-button,
.btn-whatsapp-float,
.whatsapp-btn-float,
[id*="whatsapp"],
a[href*="wa.me"]:not(.btn-whatsapp),
.fixed-bottom,
div[style*="position: fixed"][style*="bottom"] {
    display: none !important;
}
.sidebar-cta .btn-whatsapp { display: flex !important; }

/* ==============================================
   NAVBAR PREMIUM
   ============================================== */
.navbar-help {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.navbar-help .logo img { max-height: 38px; }
.navbar-help .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.navbar-help .nav-links a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.navbar-help .nav-links a:hover { color: #0f172a; }
.navbar-help .btn-login {
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}
.navbar-help .btn-login:hover {
    background: #1e293b;
    color: white;
}

/* ==============================================
   BREADCRUMB PREMIUM
   ============================================== */
.help-breadcrumb {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    width: 100%;
}
.help-breadcrumb .container {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}
@media (min-width: 1400px) {
    .help-breadcrumb .container { max-width: 92%; }
}
.breadcrumb { margin: 0; background: transparent; padding: 0; font-size: 0.875rem; }
.breadcrumb-item a { color: #64748b; text-decoration: none; transition: color 0.2s; }
.breadcrumb-item a:hover { color: #0f172a; }
.breadcrumb-item.active { color: #0f172a; font-weight: 500; }

/* ==============================================
   HERO SECTION (index only)
   ============================================== */
.help-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    width: 100%;
}
.help-hero-content {
    text-align: center;
}
.help-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
    letter-spacing: -0.025em;
}
.help-hero h1 .material-icons {
    display: none;
}
.help-hero p {
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    color: #64748b;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==============================================
   SEARCH BOX PREMIUM
   ============================================== */
.help-search {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}
.help-search input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 3.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    transition: all 0.2s;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.help-search input:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.08);
}
.help-search input::placeholder {
    color: #94a3b8;
}
.help-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #0f172a;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}
.help-search button:hover {
    background: #1e293b;
}
.help-search button .material-icons {
    font-size: 1.25rem;
}

/* ==============================================
   QUICK LINKS
   ============================================== */
.quick-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.quick-link {
    background: #fff;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}
.quick-link:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* ==============================================
   SEARCH DROPDOWN
   ============================================== */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}
.search-dropdown.show { display: block; }
.search-dropdown a {
    display: block;
    padding: 1rem 1.25rem;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.15s;
}
.search-dropdown a:last-child { border-bottom: none; }
.search-dropdown a:hover { background: #f8fafc; }
.search-dropdown .result-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #0f172a;
}
.search-dropdown .result-excerpt {
    font-size: 0.875rem;
    color: #64748b;
}

/* ==============================================
   MAIN CONTENT
   ============================================== */
.help-content {
    padding: 3.5rem 0;
    background: #fff;
    min-height: 60vh;
    width: 100%;
}

/* ==============================================
   STATS BAR
   ============================================== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}
.stat-label {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.375rem;
    font-weight: 500;
}

/* ==============================================
   SECTION HEADERS
   ============================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}
.section-link {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}
.section-link:hover {
    color: #0f172a;
}

/* ==============================================
   CATEGORY CARDS (Legacy - kept for category pages)
   ============================================== */
.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.2s;
}
.category-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}
.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
}
.category-icon .material-icons {
    font-size: 1.5rem;
    color: #475569;
}
.category-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.category-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.category-count {
    font-size: 0.8125rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.category-count .material-icons {
    font-size: 1rem;
    color: #94a3b8;
}

/* ==============================================
   CATEGORY CAROUSEL - Rolagem Infinita Horizontal
   ============================================== */
.category-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0.75rem 0;
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.category-carousel-wrapper::before,
.category-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.category-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, transparent 100%);
}

.category-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #fff 0%, transparent 100%);
}

.category-carousel {
    overflow: hidden;
}

.category-carousel-track {
    display: flex;
    gap: 0.75rem;
    animation: carouselScrollLeft 25s linear infinite;
    width: max-content;
    will-change: transform;
}

.category-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes carouselScrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.category-carousel-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.875rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    flex-shrink: 0;
    min-width: 160px;
    max-width: 220px;
}

.category-carousel-item:hover {
    background: #fff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
}

.category-carousel-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e2e8f0;
}

.category-carousel-icon .material-icons {
    font-size: 1rem;
    color: #475569;
}

.category-carousel-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0;
}

.category-carousel-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.category-carousel-desc {
    font-size: 0.6875rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.category-carousel-count {
    font-size: 0.625rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.2;
}

/* Mobile adjustments for carousel */
@media (max-width: 768px) {
    .category-carousel-wrapper {
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .category-carousel-wrapper::before,
    .category-carousel-wrapper::after {
        width: 40px;
    }

    .category-carousel-item {
        min-width: 140px;
        max-width: 180px;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .category-carousel-icon {
        width: 28px;
        height: 28px;
    }

    .category-carousel-icon .material-icons {
        font-size: 0.875rem;
    }

    .category-carousel-name {
        font-size: 0.75rem;
    }

    .category-carousel-desc {
        font-size: 0.625rem;
    }
}

/* ==============================================
   ARTICLE CARDS
   ============================================== */
.article-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: all 0.2s;
}
.article-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}
.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #0f172a;
    color: white;
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.article-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 1rem 0 0.5rem;
    line-height: 1.5;
}
.article-card .excerpt {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: #94a3b8;
}
.article-category {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.75rem;
}

/* ==============================================
   ARTICLE LIST CARDS
   ============================================== */
.article-list-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
}
.article-list-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}
.article-list-card .article-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.article-list-card .article-icon .material-icons {
    color: #64748b;
    font-size: 1.25rem;
}
.article-list-card .article-content { flex: 1; }
.article-list-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
}
.article-list-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
.article-list-card .article-meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    flex-shrink: 0;
}

/* ==============================================
   SIDEBAR
   ============================================== */
.sidebar-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}
.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sidebar-title .material-icons { color: #64748b; }

.sidebar-card .input-group input {
    border: 1px solid #e2e8f0;
    border-radius: 8px 0 0 8px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}
.sidebar-card .input-group input:focus {
    border-color: #0f172a;
    box-shadow: none;
    outline: none;
}
.sidebar-card .input-group .btn {
    background: #0f172a;
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1rem;
}
.sidebar-card .input-group .btn:hover { background: #1e293b; }

.category-list-item {
    display: flex;
    align-items: center;
    padding: 0.625rem 0;
    text-decoration: none;
    color: #64748b;
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9375rem;
}
.category-list-item:last-child { border-bottom: none; }
.category-list-item:hover { color: #0f172a; }
.category-list-item.active { color: #0f172a; font-weight: 600; }
.category-list-item .material-icons {
    font-size: 1.125rem;
    margin-right: 0.625rem;
}
.category-list-count {
    margin-left: auto;
    font-size: 0.75rem;
    background: #f1f5f9;
    color: #64748b;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
}
.category-list-item.active .category-list-count {
    background: #0f172a;
    color: white;
}

.sidebar-cta {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.sidebar-cta .sidebar-title {
    color: #0f172a;
    border-bottom-color: #e2e8f0;
}
.sidebar-cta p { color: #64748b; }
.sidebar-cta .btn-whatsapp {
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}
.sidebar-cta .btn-whatsapp:hover { background: #1e293b; color: white; }

/* ==============================================
   ARTICLE LIST ITEM (sidebar)
   ============================================== */
.article-list-item {
    display: flex;
    align-items: center;
    padding: 0.625rem 0;
    text-decoration: none;
    color: #64748b;
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9375rem;
}
.article-list-item:last-child { border-bottom: none; }
.article-list-item:hover { color: #0f172a; }
.article-list-item .material-icons {
    font-size: 1.125rem;
    margin-right: 0.5rem;
    color: #94a3b8;
}

/* ==============================================
   EMPTY STATE
   ============================================== */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
}
.empty-state .material-icons {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}
.empty-state h4, .empty-state h5 {
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.empty-state p { color: #64748b; margin-bottom: 0.5rem; }
.btn-back {
    display: inline-block;
    background: #0f172a;
    color: white;
    border-radius: 8px;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-back:hover { background: #1e293b; color: white; }

/* ==============================================
   FOOTER
   ============================================== */
.help-footer {
    background: #f8fafc;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}
.help-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}
.help-footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.help-footer-links a:hover { color: #0f172a; }
.help-footer .copyright { color: #94a3b8; font-size: 0.8125rem; }

/* ==============================================
   VIDEO TUTORIAL
   ============================================== */
.article-video {
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #0f172a;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

/* Tablet */
@media (max-width: 991px) {
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .help-content .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .help-hero { padding: 2.5rem 0 2rem; }
    .help-hero h1 { font-size: 1.5rem; }
    .help-hero p { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .navbar-help .nav-links { display: none; }
    .stats-bar { flex-direction: row; gap: 2rem; padding: 1rem; }
    .stat-number { font-size: 1.5rem; }
    .quick-links { display: none; }
    .help-footer-links { flex-wrap: wrap; gap: 1rem; }
    .article-list-card { flex-direction: column; text-align: center; }
    .article-list-card .article-meta { margin-left: 0; margin-top: 0.75rem; flex-wrap: wrap; justify-content: center; }
    .help-content .container { padding-left: 1rem; padding-right: 1rem; }

    /* Article Container Mobile */
    .article-container {
        padding: 1.25rem !important;
        border-radius: 12px !important;
    }

    .article-header h1 {
        font-size: 1.4rem !important;
        line-height: 1.35 !important;
        margin-bottom: 1rem !important;
    }

    /* Article Meta - Responsive Grid on Mobile */
    .article-meta {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem 1rem !important;
        align-items: center !important;
    }

    .article-meta-item {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }

    .article-category-badge {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.75rem !important;
        grid-column: 1 / -1 !important;
        justify-self: start !important;
        margin-bottom: 0.25rem !important;
    }

    /* Video Container Mobile - Full Width Edge to Edge */
    .article-video {
        margin: 1.5rem -1.25rem !important;
        width: calc(100% + 2.5rem) !important;
    }

    .video-container {
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* Article Content Mobile */
    .article-content {
        font-size: 1rem !important;
        line-height: 1.75 !important;
    }

    .article-content img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
    }

    .article-content h2 {
        font-size: 1.25rem !important;
        margin-top: 1.5rem !important;
    }

    .article-content h3 {
        font-size: 1.1rem !important;
    }

    /* Sidebar Show Below Content on Mobile */
    .col-lg-4 {
        margin-top: 2rem;
    }

    /* Breadcrumb Mobile */
    .help-breadcrumb {
        padding: 0.75rem 0 !important;
        overflow-x: auto !important;
    }

    .breadcrumb {
        font-size: 0.8rem !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }

    .breadcrumb-item {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 150px !important;
    }

    /* Navbar Mobile */
    .navbar-help {
        padding: 0.75rem 0 !important;
    }

    .navbar-help .logo img {
        height: 32px !important;
    }

    .btn-login {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }

    /* Feedback Section Mobile */
    .article-feedback {
        padding: 1.25rem !important;
        margin-top: 1.5rem !important;
    }

    .article-feedback h4 {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .feedback-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .feedback-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.75rem 1rem !important;
    }

    /* Related Articles Mobile */
    .related-articles {
        padding: 1.25rem !important;
    }

    .related-articles h3 {
        font-size: 1rem !important;
    }

    .related-article-item {
        padding: 0.75rem 0 !important;
        font-size: 0.9rem !important;
    }

    /* Sidebar Cards Mobile */
    .sidebar-card {
        padding: 1.25rem !important;
    }

    .sidebar-title {
        font-size: 1rem !important;
    }

    /* Category List Mobile */
    .sidebar-category-list li a {
        padding: 0.6rem 0 !important;
    }
}

/* Small Mobile (iPhone SE, etc) */
@media (max-width: 480px) {
    .container-fluid {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .article-container {
        padding: 1rem !important;
    }

    .article-header h1 {
        font-size: 1.25rem !important;
    }

    .article-video {
        margin: 1.25rem -1rem !important;
        width: calc(100% + 2rem) !important;
    }

    .article-content {
        font-size: 0.95rem !important;
    }

    /* Meta items stack on very small screens */
    .article-meta {
        grid-template-columns: 1fr !important;
        gap: 0.35rem !important;
    }

    .article-meta-item {
        justify-content: flex-start !important;
    }
}

/* ==============================================
   ANIMATIONS
   ============================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-card, .article-card {
    animation: fadeInUp 0.5s ease-out;
}
