/* Styles for the football logos article */

/* Logo container styling */
.brand-logo-container {
    text-align: center;
    margin: 2.5rem auto;
    max-width: 100%;
    overflow: hidden;
}

/* Logo image styling */
.brand-logo {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
    
}

/* Table of contents styling */
.table-of-contents {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#toc-heading {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

#toc-heading i {
    margin-right: 8px;
    color: var(--accent-color);
}

.toc-list {
    margin: 0;
    padding-left: 1.5rem;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--accent-color);
}

/* Section styling */
.section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-top: 3rem;
}

/* Evolution heading styling */
.article-section h3 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-top: 2rem;
}

/* Period heading styling */
.article-section h4 {
    font-size: 1.2rem;
    color: #333;
    margin-top: 1.5rem;
    font-weight: 600;
}

/* Additional article-specific enhancements */

/* Article intro styling */
.article-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
}

/* Article paragraph styling */
.article-section p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
}

/* Conclusion section styling */
#conclusao {
    margin-top: 3rem;
}

#conclusao p {
    font-size: 1.05rem;
}

#conclusao p:last-child {
    font-weight: 500;
}

/* Author section enhancements */
.article-author {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Responsive layout improvements */
@media (min-width: 768px) {
    .brand-logo {
        max-width: 450px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .brand-logo {
        max-width: 500px;
    }
    
    .article-content {
        padding-right: 1.5rem;
    }
    
    /* Ensure article container properly uses grid layout on desktop */
    .article-container {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .article-content {
        width: auto;
    }
}

/* Ensure sidebar is properly styled */
@media (min-width: 992px) {
    .article-sidebar {
        position: sticky;
        top: 2rem;
        height: fit-content;
    }
}

/* Special styles for history overview logos */
.brand-logo-container img[src*="historia"] {
    max-width: 500px;
}

@media (min-width: 1200px) {
    .brand-logo-container img[src*="historia"] {
        max-width: 600px;
    }
}

/* Mobile optimizations */
@media (max-width: 767px) {
    .brand-logo-container {
        margin: 1.5rem auto;
    }
    
    .brand-logo {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .article-section h3 {
        font-size: 1.3rem;
    }
    
    .article-section h4 {
        font-size: 1.1rem;
    }
    
    .table-of-contents {
        padding: 1rem;
    }
}

/* Extra small device adjustments */
@media (max-width: 400px) {
    .brand-logo-container {
        margin: 1rem auto;
    }
    
    .table-of-contents {
        padding: 0.75rem;
    }
    
    .toc-list {
        padding-left: 1rem;
    }
}

/* Print-friendly adjustments */
@media print {
    .brand-logo {
        max-width: 350px;
        box-shadow: none;
    }
    
    .article-container {
        display: block;
    }
    
    .article-sidebar,
    .back-to-blog,
    .article-share {
        display: none;
    }
}
