/*
Theme Name: VIBEGISTS
Theme URI: https://vibegists.com
Author: VIBEGISTS
Author URI: https://vibegists.com
Description: A premium, production-ready hybrid entertainment news and movie directory theme. Modern, fast, SEO-optimized, and mobile-first.
Version: 1.0.2
Text Domain: vibegists
*/

/* ========== RESET + BASE (FORCED OVERRIDES) ========== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

body {
    background: #05070a !important;
    background-image: radial-gradient(circle at 10% 20%, #11151f, #020304) !important;
    color: #E2E8F0 !important;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6 !important;
}

/* ========== SINGLE POST LAYOUT (FORCED RESPONSIVE) ========== */
.single-post-main {
    padding: 1.5rem !important;
    min-height: 100vh !important;
}

.single-post-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.single-post-grid {
    display: block !important; /* Override flex to force stacking */
    width: 100% !important;
}

/* Main content – full width on all screens */
.single-post-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
}

/* Sidebar – COMPLETELY HIDDEN ON MOBILE AND TABLET */
.single-post-sidebar {
    display: none !important; /* Force hide on all screens */
}

/* Only show sidebar on desktops if you really want (optional, but keep hidden) */
@media (min-width: 992px) {
    .single-post-sidebar {
        display: none !important; /* Keep hidden as per your choice B – uncomment next line if you want it back on desktop */
        /* display: block !important; */
    }
}

/* ========== GLASS CARD (FULL WIDTH, NO BREAKAGE) ========== */
.post-card {
    background: rgba(12, 20, 30, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 28px !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {
    .post-card {
        padding: 2rem !important;
    }
}

/* Category chips */
.post-categories {
    margin-bottom: 0.75rem !important;
}
.post-categories a {
    background: rgba(249, 115, 22, 0.2) !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 30px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #ffb347 !important;
    display: inline-block !important;
    margin-right: 0.5rem !important;
    text-decoration: none !important;
}

/* Post title */
.post-title {
    background: linear-gradient(135deg, #ffffff, #c9d9ff) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
    margin: 0.5rem 0 1rem !important;
    font-size: clamp(1.6rem, 6vw, 2.8rem) !important;
    line-height: 1.2 !important;
}

/* Meta bar */
.post-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    font-size: 0.85rem !important;
    color: #b9c7df !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
}
.post-meta i {
    color: #f97316 !important;
    margin-right: 0.3rem !important;
}

/* Featured image */
.post-featured-image {
    margin: 1.5rem 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}
.post-featured-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Entry content – fluid typography */
.post-entry {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: #E2E8F0 !important;
    width: 100% !important;
    overflow-wrap: break-word !important;
}
.post-entry h2, .post-entry h3 {
    color: white !important;
    margin-top: 2rem !important;
}
.post-entry a {
    color: #f97316 !important;
    text-decoration: underline !important;
}
.post-entry img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 20px !important;
    margin: 1rem 0 !important;
}
.post-entry table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    width: 100% !important;
}

/* Footer (tags + share) */
.post-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}
@media (min-width: 640px) {
    .post-footer {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
}
.post-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    align-items: center !important;
}
.post-tags a {
    background: rgba(255,255,255,0.05) !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 30px !important;
    font-size: 0.75rem !important;
    color: #ccc !important;
    text-decoration: none !important;
}
.post-share {
    display: flex !important;
    gap: 0.75rem !important;
    align-items: center !important;
}
.post-share a {
    background: rgba(255,255,255,0.08) !important;
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    color: white !important;
    transition: 0.2s !important;
}
.post-share a:hover {
    background: #f97316 !important;
    transform: translateY(-2px) !important;
}

/* Author box */
.post-author-box {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    background: rgba(0,0,0,0.3) !important;
    border-radius: 24px !important;
    padding: 1.5rem !important;
    margin: 1.5rem 0 !important;
    align-items: center !important;
}
@media (max-width: 640px) {
    .post-author-box {
        flex-direction: column !important;
        text-align: center !important;
    }
}
.post-author-avatar img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    border: 2px solid #f97316 !important;
}
.post-author-info h4 a {
    color: #ffb347 !important;
}
.post-author-info p {
    margin-bottom: 0 !important;
}

/* Prev/Next */
.post-nav {
    display: flex !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
    flex-wrap: wrap !important;
}
@media (max-width: 640px) {
    .post-nav {
        flex-direction: column !important;
    }
    .post-nav a {
        text-align: center !important;
    }
}
.post-nav a {
    background: rgba(0,0,0,0.4) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 40px !important;
    font-size: 0.85rem !important;
    color: white !important;
    text-decoration: none !important;
}
.post-nav a:hover {
    background: #7C3AED !important;
}

/* ========== COMMENTS SECTION – COMPLETE REDESIGN ========== */
.comments-area {
    margin-top: 2rem !important;
    width: 100% !important;
}
.comments-title {
    font-size: 1.5rem !important;
    color: white !important;
    margin-bottom: 1.5rem !important;
}
.comment-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 2rem 0 !important;
}
.comment {
    background: rgba(0,0,0,0.25) !important;
    border-radius: 20px !important;
    padding: 1.25rem !important;
    margin-bottom: 1rem !important;
}
.comment-body {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}
.comment-author .avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    margin-right: 0 !important;
}
.comment-meta {
    font-size: 0.8rem !important;
    color: #94A3B8 !important;
    margin-bottom: 0.5rem !important;
}
.comment-content p {
    margin-bottom: 0.5rem !important;
}
.reply {
    margin-top: 0.5rem !important;
}
.comment-reply-link {
    background: rgba(124,58,237,0.3) !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 30px !important;
    font-size: 0.7rem !important;
    color: #A78BFA !important;
    text-decoration: none !important;
}
.children {
    list-style: none !important;
    margin-left: 1.5rem !important;
    margin-top: 1rem !important;
}

/* Comment Form */
.comment-respond {
    background: rgba(0,0,0,0.3) !important;
    border-radius: 24px !important;
    padding: 1.5rem !important;
    margin-top: 2rem !important;
}
.comment-reply-title {
    font-size: 1.2rem !important;
    color: white !important;
    margin-bottom: 1rem !important;
}
.comment-form p {
    margin-bottom: 1rem !important;
}
.comment-form label {
    display: block !important;
    margin-bottom: 0.3rem !important;
    font-size: 0.85rem !important;
    color: #CBD5E1 !important;
}
.comment-form input,
.comment-form textarea {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    background: rgba(0,0,0,0.5) !important;
    border-radius: 16px !important;
    color: white !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none !important;
    border-color: #7C3AED !important;
}
.form-submit {
    margin-top: 1rem !important;
}
.submit {
    background: linear-gradient(135deg, #7C3AED, #EC4899) !important;
    border: none !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 40px !important;
    color: white !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}
.submit:hover {
    transform: translateY(-2px) !important;
}
.logged-in-as {
    font-size: 0.8rem !important;
    color: #94A3B8 !important;
}
.comment-notes {
    font-size: 0.75rem !important;
    color: #94A3B8 !important;
}

/* ========== MOBILE FINE-TUNING ========== */
@media (max-width: 768px) {
    .single-post-main {
        padding: 1rem !important;
    }
    .post-card {
        padding: 1rem !important;
    }
    .post-meta {
        font-size: 0.7rem !important;
        gap: 0.7rem !important;
    }
    .post-title {
        font-size: 1.6rem !important;
    }
    .comment-body {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .children {
        margin-left: 0.5rem !important;
    }
}

/* ========== UTILITIES ========== */
img, iframe, video {
    max-width: 100% !important;
    height: auto !important;
}
a, button {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
}