/*!
 * Template-specific styles (extracted from PHP inline <style> blocks)
 *
 * @package VideoHub
 * @version 1.1.0
 */

/* ══════════════════════════════════════════════════════
   Author Page
   ══════════════════════════════════════════════════════ */
.author-header {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid var(--border-color);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.author-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.author-meta svg {
    color: var(--accent-primary);
}

/* ══════════════════════════════════════════════════════
   Sidebar / Widget Area
   ══════════════════════════════════════════════════════ */
.widget-area {
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.widget {
    margin-bottom: 32px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ══════════════════════════════════════════════════════
   Search Results
   ══════════════════════════════════════════════════════ */
.search-results {
    padding: 32px 0;
}

.page-header {
    margin-bottom: 32px;
    text-align: center;
}

.search-query {
    color: var(--accent-primary);
    font-weight: 600;
}

.search-results-count {
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ══════════════════════════════════════════════════════
   Author Page (continued)
   ══════════════════════════════════════════════════════ */
.author-description {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.author-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.author-videos-section {
    margin-top: 32px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.section-title svg {
    color: var(--accent-primary);
}

.no-videos-found {
    text-align: center;
    padding: 80px 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
    grid-column: 1 / -1;
}

.no-videos-found svg {
    margin: 0 auto 24px;
    color: var(--text-muted);
    opacity: 0.5;
}

.no-videos-found h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.no-videos-found p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

/* Dark Mode */
[data-theme="dark"] .author-header {
    background: var(--bg-secondary);
}

[data-theme="dark"] .author-avatar img {
    border-color: var(--border-color);
}

/* Author Responsive */
@media (max-width: 767px) {
    .author-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }
    
    .author-meta {
        justify-content: center;
    }
    
    .author-name {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .no-videos-found {
        padding: 48px 24px;
    }
}

/* ══════════════════════════════════════════════════════
   Sidebar / Widget Area (continued)
   ══════════════════════════════════════════════════════ */
.widget a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.widget a:hover {
    color: var(--accent-primary);
}

@media (max-width: 1024px) {
    .widget-area {
        margin-top: 32px;
    }
}

/* ══════════════════════════════════════════════════════
   Search Results (continued)
   ══════════════════════════════════════════════════════ */
.no-results svg {
    margin: 0 auto 24px;
    color: var(--text-muted);
}

.no-results h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.search-suggestions-text {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    text-align: left;
}

.search-suggestions-text h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.search-suggestions-text ul {
    list-style: disc;
    padding-left: 24px;
    margin: 0;
}

.search-suggestions-text li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.no-results-actions {
    margin-top: 32px;
}

.no-results svg {
    margin: 0 auto 24px;
    color: var(--text-muted);
}
