/* 
   FlowNews - Estilos Gerais de Páginas
   Extraído de archive.php, search.php, 404.php e single.php
*/

/* Archive & Search Header */
.archive-header, .search-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-radius: var(--fn-radius-lg, 12px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.archive-title, .search-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.archive-description {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* No Results & 404 */
.no-results, .error-404-content {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: var(--fn-radius-lg, 12px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.no-results h2, .error-404-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #2c3e50;
}

.no-results p, .error-404-content p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Forms in Pages */
.search-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-form-wrapper form {
    display: flex;
    gap: 12px;
}

.search-form-wrapper input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--fn-radius-md, 8px);
    font-size: 16px;
    transition: border-color 0.2s;
}

.search-form-wrapper input:focus {
    border-color: var(--fn-primary);
    outline: none;
}

.search-form-wrapper button {
    padding: 14px 28px;
    background: var(--fn-primary, #0056b3);
    color: #fff;
    border: none;
    border-radius: var(--fn-radius-md, 8px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-form-wrapper button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Single Post Specific Refinement */
.entry-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #334155;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2, .entry-content h3 {
    margin: 1.5em 0 0.8em;
    color: #1e293b;
}

/* Related Posts Fix for Single */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    .archive-title, .search-title { font-size: 24px; }
    .no-results h2, .error-404-content h1 { font-size: 32px; }
}

/* Comments Wrapper */
.fn-comments-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: var(--fn-radius-lg, 12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .fn-comments-wrapper {
        padding: 15px;
/* Table of Contents (ToC) */
.fn-toc-container {
    background: #f1f5f9;
    padding: 20px 25px;
    border-radius: var(--fn-radius-md, 8px);
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    max-width: 100%;
}

.fn-toc-header {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.fn-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fn-toc-item {
    margin-bottom: 8px;
    font-size: 14px;
}

.fn-toc-item a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.fn-toc-item a:hover {
    color: var(--fn-primary, #0056b3);
}

.fn-toc-item.h3 { padding-left: 20px; font-size: 13px; }

@media (max-width: 768px) {
    .fn-toc-container { padding: 15px; }
}
/* Breadcrumbs */
.breadcrumb-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.evte-breadcrumbs {
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: var(--fn-radius-md, 8px);
}

.evte-breadcrumbs a {
    color: var(--fn-primary, #0056b3);
    text-decoration: none;
    font-weight: 500;
}

.evte-breadcrumbs a:hover {
    text-decoration: underline;
}

.evte-breadcrumbs .sep {
    color: #cbd5e1;
    font-size: 12px;
}

.evte-breadcrumbs .current-item {
    color: #1e293b;
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumb-container { margin: 10px auto; }
    .evte-breadcrumbs { font-size: 12px; padding: 8px 12px; }
}
        margin: 20px auto;
    }
}
