/*
Theme Name: OliveLoaded
Theme URI: https://oliveloaded.com
Author: OliveLoaded
Description: Music, Entertainment & News - Professional WordPress Theme
Version: 5.0
*/

/* ==============================================
   TABLE OF CONTENTS
   1. Root Variables & Reset
   2. Base Styles
   3. Header & Navigation
   4. Top Bar
   5. Category Bar & Icons
   6. Sidebar Styles
   7. Single Post Styles
   8. Author Box
   9. Related Posts
   10. Comments Section
   11. Pagination
   12. Footer
   13. Responsive Styles
   14. Dark Mode
   15. Print Styles
   ============================================== */

/* ==============================================
   1. ROOT VARIABLES & RESET
   ============================================== */
:root {
    --primary: #1a56db;
    --primary-dark: #1e3a8a;
    --secondary: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ==============================================
   2. BASE STYLES
   ============================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ==============================================
   3. HEADER & NAVIGATION
   ============================================== */
.top-bar {
    background: #0a2e0a;
    color: #b8d9b8;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-left span i {
    color: var(--secondary);
    margin-right: 5px;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-right a {
    color: #b8d9b8;
    text-decoration: none;
}

.top-right a i {
    margin-right: 5px;
}

.top-right a:hover {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.site-header {
    background: var(--bg-white);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-light);
    display: block;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 8px;
}

.primary-menu a {
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.primary-menu a i {
    font-size: 13px;
    color: var(--primary);
}

.primary-menu a:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions::before,
.header-actions::after,
.search-btn::before,
.search-btn::after,
.theme-btn::before,
.theme-btn::after {
    display: none !important;
    content: none !important;
}

.search-btn, .theme-btn {
    background: var(--bg-gray);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover, .theme-btn:hover {
    background: var(--primary);
    color: white;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==============================================
   4. CATEGORY BAR
   ============================================== */
.category-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 80px;
    z-index: 99;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
}

.category-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-list a i {
    font-size: 13px;
    color: var(--primary);
}

.category-list a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.category-list .active a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ==============================================
   5. SIDEBAR STYLES - FIXED AND IMPROVED
   ============================================== */
.widget-area {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-md);
}

.widget-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    background: #f8fafc;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: var(--primary);
}

/* Search Widget */
.search-widget .sidebar-search-form {
    display: flex;
    padding: 20px;
}

.search-widget input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 40px 0 0 40px;
    font-size: 14px;
    outline: none;
}

.search-widget input:focus {
    border-color: var(--primary);
}

.search-widget button {
    background: var(--primary);
    border: none;
    padding: 0 20px;
    border-radius: 0 40px 40px 0;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.search-widget button:hover {
    background: var(--primary-dark);
}

/* Trending Widget */
.trending-posts-list {
    padding: 10px 0;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.trending-item:hover {
    background: var(--bg-gray);
}

.trending-number {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

.trending-content {
    flex: 1;
}

.trending-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.trending-title:hover {
    color: var(--primary);
}

.trending-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-light);
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    border-bottom: 1px solid var(--border);
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #475569;
    transition: var(--transition);
}

.categories-list a:hover {
    background: var(--bg-gray);
    color: var(--primary);
    padding-left: 25px;
}

.cat-name {
    font-weight: 500;
}

.cat-count {
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
}

/* Recent Posts Widget */
.recent-posts-list {
    padding: 10px 0;
}

.recent-item {
    display: flex;
    gap: 15px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.recent-item:hover {
    background: var(--bg-gray);
}

.recent-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.recent-title:hover {
    color: var(--primary);
}

.recent-date {
    font-size: 11px;
    color: var(--text-light);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.newsletter-widget .widget-header {
    background: transparent;
    border-bottom-color: rgba(255,255,255,0.2);
}

.newsletter-widget .widget-title,
.newsletter-widget .widget-subtitle {
    color: white;
}

.newsletter-widget .widget-title i {
    color: white;
}

.newsletter-content {
    padding: 20px;
}

.newsletter-content p {
    font-size: 13px;
    color: white;
    opacity: 0.9;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 16px;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    background: #0f172a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #000000;
}

/* Social Widget */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 40px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.social-link i {
    font-size: 16px;
    width: 20px;
}

.social-link span {
    font-size: 13px;
    font-weight: 500;
}

.social-link.fb { background: #1877f2; }
.social-link.tw { background: #1da1f2; }
.social-link.ig { background: linear-gradient(45deg, #f09433, #d62976, #962fbf); }
.social-link.yt { background: #ff0000; }

.social-link:hover {
    transform: translateY(-2px);
    filter: brightness(0.95);
}

/* ==============================================
   6. SINGLE POST STYLES - FIXED SIDEBAR LAYOUT
   ============================================== */
.single-post-container {
    padding: 40px 0;
}

.single-post-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.single-post-content {
    flex: 2.5;
    min-width: 0;
}

.single-post-sidebar {
    flex: 1.2;
    min-width: 280px;
}

/* Breadcrumbs */
.post-breadcrumbs {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.post-breadcrumbs a {
    color: var(--primary);
}

/* Post Header */
.post-header {
    margin-bottom: 25px;
}

.post-category-wrapper {
    margin-bottom: 15px;
}

.cat-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--primary);
    color: white;
}

.post-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    margin: 15px 0 20px;
    color: var(--text-dark);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.post-meta-left, .post-meta-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.author-info-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name-meta {
    font-weight: 600;
    color: var(--text-dark);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.meta-item i {
    color: var(--primary);
}

/* Featured Image */
.post-featured-image {
    margin: 25px 0;
    border-radius: 20px;
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Social Share */
.social-share-section {
    margin: 25px 0;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.share-facebook { background: #1877f2; color: white; }
.share-twitter { background: #1da1f2; color: white; }
.share-whatsapp { background: #25d366; color: white; }
.share-linkedin { background: #0077b5; color: white; }
.share-copy { background: #e2e8f0; color: #334155; }

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Post Body */
.post-body {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}

.post-body p {
    margin-bottom: 1.5em;
}

.post-body h2, .post-body h3, .post-body h4 {
    margin: 1.5em 0 0.5em;
    color: var(--text-dark);
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.post-body blockquote {
    background: var(--bg-gray);
    border-left: 4px solid var(--primary);
    padding: 20px 25px;
    margin: 20px 0;
    font-style: italic;
    border-radius: 12px;
}

/* Post Tags */
.post-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.tags-label {
    font-weight: 600;
    margin-right: 10px;
    color: #475569;
}

.post-tags a {
    display: inline-block;
    background: #f1f5f9;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    text-decoration: none;
    color: #475569;
    margin: 0 5px 5px 0;
    transition: var(--transition);
}

.post-tags a:hover {
    background: var(--primary);
    color: white;
}

/* ==============================================
   7. AUTHOR BOX
   ============================================== */
.author-box-pro {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    gap: 30px;
    border: 1px solid var(--border);
}

.author-avatar-pro {
    flex-shrink: 0;
    text-align: center;
}

.author-avatar-pro img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    padding: 3px;
}

.author-info-pro {
    flex: 1;
}

.author-name-pro {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px;
}

.author-bio-pro {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 15px;
}

.author-stats-pro {
    display: flex;
    gap: 25px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
}

/* ==============================================
   8. RELATED POSTS
   ============================================== */
.related-posts-pro {
    margin: 50px 0 40px;
}

.related-title-pro {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.related-title-pro i {
    color: var(--primary);
    margin-right: 8px;
}

.related-grid-pro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card-pro {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.related-card-pro:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-image-link {
    display: block;
    overflow: hidden;
}

.related-image-link img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: var(--transition);
}

.related-card-pro:hover .related-image-link img {
    transform: scale(1.05);
}

.related-content-pro {
    padding: 16px;
}

.related-title-sm {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.related-title-sm a {
    color: var(--text-dark);
    text-decoration: none;
}

.related-title-sm a:hover {
    color: var(--primary);
}

/* ==============================================
   9. COMMENTS SECTION
   ============================================== */
.comments-section-pro {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid var(--border);
}

.comments-title-pro {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.comments-title-pro i {
    color: var(--primary);
    margin-right: 8px;
}

/* Comment List */
.comment-list-pro {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
}

.comment-item-pro {
    margin-bottom: 25px;
}

.comment-body-pro {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: 16px;
}

.comment-avatar-pro {
    flex-shrink: 0;
}

.comment-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content-pro {
    flex: 1;
}

.comment-meta-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.comment-author-name {
    font-weight: 700;
    color: var(--text-dark);
}

.comment-date-pro {
    font-size: 12px;
    color: var(--text-light);
}

.comment-text-pro {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 10px;
}

.comment-actions-pro {
    display: flex;
    gap: 15px;
}

.comment-reply-pro, .comment-edit-pro {
    font-size: 12px;
    text-decoration: none;
    color: var(--text-light);
}

.comment-reply-pro:hover, .comment-edit-pro:hover {
    color: var(--primary);
}

.children {
    list-style: none;
    margin-left: 70px;
    padding-left: 20px;
    border-left: 2px solid var(--border);
}

/* Comment Form */
.comment-form-pro-wrapper {
    background: var(--bg-gray);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-form .comment-form-author input,
.comment-form .comment-form-email input,
.comment-form .comment-form-url input {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
}

.comment-form .comment-form-comment {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-form textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.form-submit {
    margin-top: 10px;
}

.submit-comment-pro {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-comment-pro:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.comment-respond .logged-in-as,
.comment-respond .comment-notes {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ==============================================
   10. PAGINATION
   ============================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 50px 0;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==============================================
   11. FOOTER
   ============================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-widget a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

/* ==============================================
   12. RESPONSIVE STYLES
   ============================================== */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .single-post-wrapper {
        flex-direction: column;
    }
    
    .widget-area {
        position: static;
        margin-top: 30px;
    }
    
    .related-grid-pro {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .category-bar {
        display: none;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .post-title {
        font-size: 28px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .author-box-pro {
        flex-direction: column;
        text-align: center;
    }
    
    .author-stats-pro {
        justify-content: center;
    }
    
    .comment-body-pro {
        flex-direction: column;
        gap: 12px;
    }
    
    .children {
        margin-left: 20px;
        padding-left: 15px;
    }
    
    .comment-meta-pro {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .search-modal-content {
        padding: 20px;
    }
    
    .search-modal-header h3 {
        font-size: 18px;
    }
    
    .search-modal-form input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .search-modal-form button {
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {
    .post-title {
        font-size: 24px;
    }
    
    .related-grid-pro {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-btn span {
        display: none;
    }
    
    .share-btn {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .logo-text span {
        display: none;
    }
}

/* ==============================================
   13. DARK MODE
   ============================================== */
body.dark-mode {
    --bg-white: #1e293b;
    --bg-gray: #0f172a;
    --text-dark: #f1f5f9;
    --text-light: #94a3b8;
    --border: #334155;
}

body.dark-mode .logo-text h1 {
    color: var(--secondary);
}

body.dark-mode .search-modal-content {
    background: #1e293b;
}

body.dark-mode .sidebar-widget,
body.dark-mode .related-card-pro,
body.dark-mode .author-box-pro {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .widget-header {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .trending-item,
body.dark-mode .categories-list li,
body.dark-mode .recent-item {
    border-color: #334155;
}

body.dark-mode .trending-item:hover,
body.dark-mode .categories-list a:hover,
body.dark-mode .recent-item:hover {
    background: #334155;
}

body.dark-mode .trending-number,
body.dark-mode .cat-count {
    background: #334155;
    color: #94a3b8;
}

body.dark-mode .search-widget input,
body.dark-mode .comment-form input,
body.dark-mode .comment-form textarea {
    background: #0f172a;
    border-color: #334155;
    color: white;
}

body.dark-mode .comment-body-pro {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .comment-text-pro {
    color: #cbd5e1;
}

body.dark-mode .comment-form-pro-wrapper {
    background: #1e293b;
}

body.dark-mode .post-body blockquote {
    background: #1e293b;
}

/* ==============================================
   14. PRINT STYLES
   ============================================== */
@media print {
    .top-bar,
    .header-actions,
    .category-bar,
    .mobile-sidebar,
    .overlay,
    .search-modal,
    .sidebar,
    .single-post-sidebar,
    .related-posts-pro,
    .post-comments,
    .site-footer,
    .share-buttons {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        padding: 0;
        max-width: 100%;
    }
    
    .single-post-content {
        width: 100%;
    }
}
/* ==============================================
   PROFESSIONAL AUTHOR BOX - ENHANCED
   ============================================== */

.author-box {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 30px;
    margin: 40px 0 30px;
    display: flex;
    gap: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.author-box:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #1a56db;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a56db;
    padding: 3px;
    background: white;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.author-info h4:after {
    content: "Verified Writer";
    font-size: 11px;
    font-weight: 500;
    background: #10b981;
    color: white;
    padding: 3px 10px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.author-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 15px;
}

.author-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.author-stats span {
    font-size: 13px;
    color: #1a56db;
    background: #e0e7ff;
    padding: 5px 14px;
    border-radius: 30px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.author-stats span:first-child:before {
    content: "\f15c";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    font-size: 12px;
}

.author-stats span:last-child:before {
    content: "\f06e";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    font-size: 12px;
}

/* Author Bio Section Enhancement */
.author-bio-full {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.author-social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.author-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f1f5f9;
    border-radius: 30px;
    font-size: 12px;
    text-decoration: none;
    color: #475569;
    transition: all 0.2s;
}

.author-social-links a:hover {
    background: #1a56db;
    color: white;
}

/* ==============================================
   HIDE SIDEBAR ON MOBILE
   ============================================== */

/* Hide sidebar on tablets and mobile devices */
@media (max-width: 992px) {
    .single-post-sidebar,
    .widget-area,
    .sidebar {
        display: none !important;
    }
    
    .single-post-content {
        width: 100% !important;
        flex: 1 !important;
    }
}

/* ==============================================
   DARK MODE SUPPORT FOR AUTHOR BOX
   ============================================== */

body.dark-mode .author-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
}

body.dark-mode .author-info h4 {
    color: #f1f5f9;
}

body.dark-mode .author-info p {
    color: #cbd5e1;
}

body.dark-mode .author-stats span {
    background: #334155;
    color: #94a3b8;
}

body.dark-mode .author-social-links a {
    background: #334155;
    color: #94a3b8;
}

body.dark-mode .author-social-links a:hover {
    background: #1a56db;
    color: white;
}

body.dark-mode .author-info h4:after {
    background: #059669;
}

/* ==============================================
   RESPONSIVE AUTHOR BOX
   ============================================== */

@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .author-stats {
        justify-content: center;
    }
    
    .author-info h4 {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .author-box {
        padding: 20px;
    }
    
    .author-avatar img {
        width: 70px;
        height: 70px;
    }
    
    .author-info h4 {
        font-size: 18px;
    }
    
    .author-stats span {
        font-size: 11px;
        padding: 4px 10px;
    }
}