/**
 * Estilos — hub.css (restaurado do template original)
 */
.container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .main-content {
            background: var(--match-card);
            border-radius: 16px;
            box-shadow: var(--match-shadow-lg);
            padding: 2rem;
            margin-bottom: 2rem;
            border: 1px solid var(--match-border);
        }

        .header-section {
            text-align: center;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px solid var(--match-border);
        }

        .logo-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 1.5rem;
            max-height: 200px;
            overflow: hidden;
        }

        .logo-img {
            max-height: 180px;
            max-width: 100%;
            height: auto;
            object-fit: contain;
            border-radius: 12px;
            box-shadow: var(--match-shadow-md);
        }

        .match-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--match-accent);
            margin: 1rem 0 0.5rem 0;
        }

        .match-date {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: linear-gradient(135deg, var(--match-brand), var(--match-brand-dark));
            color: #fff;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            box-shadow: var(--match-shadow-md);
            margin: 1rem 0;
        }

        .match-date i {
            font-size: 1.1rem;
        }

        /* Quick-nav: ver match/layout.css (.match-page--hub) */

        /* Description Content */
        .description-content {
            margin-top: 2rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, var(--match-bg) 0%, var(--match-bg-gradient-end) 100%);
            border-radius: 12px;
            border: 1px solid var(--match-border);
            display: none;
            box-shadow: var(--match-shadow-sm);
            color: var(--match-text);
        }

        .description-content.show {
            display: block;
            animation: fadeInUp 0.5s ease-out;
        }

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

        .description-content p,
        .description-content li,
        .description-content td,
        .description-content th {
            color: var(--match-text);
            line-height: 1.7;
        }

        .description-content p {
            margin-bottom: 1rem;
        }

        .description-content a {
            color: var(--match-accent);
            font-weight: 500;
        }

        .description-content a:hover {
            color: var(--match-accent-dark);
        }

        .description-content ul,
        .description-content ol {
            padding-left: 1.5rem;
            line-height: 1.7;
        }

        .description-content h1,
        .description-content h2,
        .description-content h3,
        .description-content h4 {
            margin-top: 1.5rem;
            margin-bottom: 1rem;
            color: var(--match-text);
            font-weight: 700;
        }

        .description-content blockquote {
            border-left: 4px solid var(--match-brand-border);
            padding-left: 1rem;
            margin: 1rem 0;
            color: var(--match-text-muted);
        }

        .description-content code,
        .description-content pre {
            background: var(--match-brand-soft);
            color: var(--match-text);
            border-radius: 0.375rem;
        }

        .description-content pre {
            padding: 0.75rem 1rem;
            overflow-x: auto;
        }

        .description-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
        }

        .description-content th,
        .description-content td {
            border: 1px solid var(--match-border);
            padding: 0.5rem 0.75rem;
        }

        .description-content th {
            background: var(--match-brand-soft);
        }

        /* Sync Info */
        .sync-info {
            background: linear-gradient(135deg, var(--match-bg) 0%, var(--match-bg-gradient-end) 100%);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 2rem 0;
            border: 1px solid var(--match-border);
            text-align: center;
        }

        .sync-info .text-muted {
            color: var(--match-text-muted) !important;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .sync-info .text-muted b,
        .sync-info .text-muted strong {
            color: var(--match-text);
        }

        .sync-info i {
            color: var(--match-accent);
            margin-right: 0.5rem;
        }

        .sync-info a {
            color: var(--match-accent);
            text-decoration: none;
            font-weight: 600;
        }

        .sync-info a:hover {
            color: var(--match-accent-dark);
            text-decoration: underline;
        }

        /* Back Button */
        .back-button {
            text-align: center;
            margin: 2rem 0;
        }

        .back-button .btn {
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
        }

        .back-button .btn i {
            font-size: 1.1rem;
        }

        /* Active State: ver match/layout.css */

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }

            .main-content {
                padding: 1.5rem;
                border-radius: 12px;
            }

            .match-title {
                font-size: var(--match-text-2xl, 2rem);
            }

            .match-date {
                font-size: 0.9rem;
                padding: 0.6rem 1.2rem;
            }

            .description-content {
                padding: 1.25rem;
            }

            .description-content iframe {
                width: 100%;
                height: auto;
                aspect-ratio: 16 / 9;
                max-width: 100%;
                border: none;
            }
        }

        @media (max-width: 576px) {
            .match-title {
                font-size: var(--match-text-xl, 1.75rem);
            }

            .back-button .btn {
                padding: 0.875rem 1.5rem;
                font-size: 0.95rem;
            }
        }

        /* Footer */
        .footer {
            margin-top: 3rem;
            padding: 2rem 0;
            text-align: center;
            color: var(--text-secondary);
            border-top: 1px solid var(--border-color);
        }

        .footer a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
        }

        .footer a:hover {
            text-decoration: underline;
        }

/* Cards quick-nav — bordas explícitas (carrega após layout/theme; espelha /matches) */
.match-page--hub .quick-nav-item .card {
    background: var(--match-card);
    border: 1px solid var(--match-border) !important;
    --bs-card-border-width: 1px;
    --bs-card-border-color: var(--match-border);
    overflow: visible;
}

.match-page--hub .main-content {
    border: 1px solid var(--match-border);
}
