/* ==========================================
   Hustle Big Network - Socialite-Style Design
   Modern, clean layout matching mockup designs
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* HBIG Logo Colors */
    --hbn-primary: #7B3FF2;
    --hbn-primary-hover: #6B2FA7;
    --hbn-secondary: #FF8C00;
    --hbn-secondary-hover: #E67E00;
    --hbn-accent: #F5E6D3;
    --hbn-success: #42b72a;
    --hbn-danger: #dc3545;
    
    /* Light Mode Grays */
    --hbn-gray-50: #f8f9fa;
    --hbn-gray-100: #f1f3f5;
    --hbn-gray-200: #e9ecef;
    --hbn-gray-300: #dee2e6;
    --hbn-gray-400: #ced4da;
    --hbn-gray-500: #adb5bd;
    --hbn-gray-600: #6c757d;
    --hbn-gray-700: #495057;
    --hbn-gray-800: #343a40;
    --hbn-gray-900: #212529;
    
    /* Shadows & Radius */
    --hbn-shadow: 0 1px 2px rgba(0,0,0,0.1);
    --hbn-shadow-lg: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --hbn-radius: 12px;
    --hbn-radius-sm: 8px;
}

/* Dark Mode - HBIG Color Scheme */
@media (prefers-color-scheme: dark) {
    :root {
        --hbn-primary: #A855F7;
        --hbn-primary-hover: #9333EA;
        --hbn-secondary: #FFA500;
        --hbn-secondary-hover: #FF8C00;
        --hbn-accent: #E8DCC8;
        
        /* Dark Mode Grays */
        --hbn-gray-50: #1a1a1a;
        --hbn-gray-100: #2d2d2d;
        --hbn-gray-200: #3f3f3f;
        --hbn-gray-300: #525252;
        --hbn-gray-400: #656565;
        --hbn-gray-500: #787878;
        --hbn-gray-600: #9ca3af;
        --hbn-gray-700: #d1d5db;
        --hbn-gray-800: #e5e7eb;
        --hbn-gray-900: #f3f4f6;
    }
}

/* ==========================================
   HBN Reactions System (Facebook-style)
   Reusable, uncoupled from PeepSo
   ========================================== */

.hbn-reactions-bar {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hbn-gray-200);
    background: #fff;
}

.hbn-reactions-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--hbn-gray-600);
}

.hbn-reactions-icons {
    display: flex;
    align-items: center;
}

.hbn-reaction-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 14px;
    margin-right: -4px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hbn-reaction-icon:first-child {
    z-index: 3;
}

.hbn-reaction-icon:nth-child(2) {
    z-index: 2;
}

.hbn-reaction-icon:nth-child(3) {
    z-index: 1;
}

.hbn-reactions-count {
    font-weight: 500;
    color: var(--hbn-gray-700);
    margin-left: 4px;
}

.hbn-reactions-empty {
    color: var(--hbn-gray-500);
    font-size: 13px;
}

.hbn-reactions-actions {
    position: relative;
}

.hbn-react-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: var(--hbn-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--hbn-gray-600);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
}

.hbn-react-button:hover {
    background: var(--hbn-gray-100);
}

.hbn-react-button.has-reaction {
    color: var(--hbn-primary);
}

.hbn-react-button.loading {
    opacity: 0.6;
    pointer-events: none;
}

.hbn-current-reaction {
    font-size: 18px;
    line-height: 1;
}

.hbn-reaction-label {
    line-height: 1;
}

.hbn-reactions-picker {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%) translateX(8px);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 100;
    white-space: nowrap;
}

.hbn-reactions-picker.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(12px);
}

.hbn-picker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s;
    font-size: 24px;
    padding: 0;
}

.hbn-picker-item:hover {
    transform: scale(1.3) translateY(-4px);
    background: var(--hbn-gray-100);
}

.hbn-picker-item.active {
    background: var(--hbn-gray-200);
}

.hbn-picker-emoji {
    line-height: 1;
}

@media (max-width: 768px) {
    .hbn-reactions-bar {
        padding: 10px 16px;
    }
    
    .hbn-react-button {
        padding: 8px 12px;
        min-height: 44px;
    }
    
    .hbn-picker-item {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    
    .hbn-reactions-picker {
        /* Position above the button on mobile, centered */
        position: fixed;
        left: 50%;
        top: auto;
        bottom: 80px;
        transform: translateX(-50%);
        padding: 8px 12px;
        gap: 4px;
        border-radius: 28px;
        box-shadow: 0 6px 24px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.05);
    }
    
    .hbn-reactions-picker.visible {
        transform: translateX(-50%);
    }
}

/* ==========================================
   Post Meta & View Count (YouTube-style)
   ========================================== */

.post-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--hbn-gray-500);
}

.post-meta-row .post-timestamp {
    color: var(--hbn-gray-500);
}

.post-meta-row .post-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--hbn-gray-500);
}

.post-meta-row .post-views::before {
    content: '·';
    margin-right: 4px;
    color: var(--hbn-gray-400);
}

.post-meta-row .views-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* ==========================================
   Global Typography
   ========================================== */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* ==========================================
   Blog Post Single Page Styling
   ========================================== */

.single-post .site-content,
.single .site-content {
    background: var(--hbn-gray-50);
}

.single-post article.post,
.single article.post,
article.type-post {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow);
    margin-bottom: 24px;
    overflow: hidden;
}

.single-post .entry-header,
.single .entry-header {
    padding: 24px 24px 16px;
}

.single-post .entry-title,
.single .entry-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--hbn-gray-900);
    line-height: 1.3;
    margin-bottom: 16px;
}

.single-post .entry-meta,
.single .entry-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--hbn-gray-600);
    font-size: 14px;
    flex-wrap: wrap;
}

.single-post .entry-meta a,
.single .entry-meta a {
    color: var(--hbn-primary);
    text-decoration: none;
}

.single-post .entry-meta a:hover,
.single .entry-meta a:hover {
    text-decoration: underline;
}

/* Featured Image */
.single-post .post-thumbnail,
.single .post-thumbnail,
.wp-post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.single-post .wp-post-image,
.single .wp-post-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* Post Content */
.single-post .entry-content,
.single .entry-content {
    padding: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--hbn-gray-800);
}

.single-post .entry-content p,
.single .entry-content p {
    margin-bottom: 16px;
}

.single-post .entry-content h2,
.single .entry-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--hbn-gray-900);
}

.single-post .entry-content h3,
.single .entry-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--hbn-gray-900);
}

/* YouTube/Video Embeds - No border radius */
.single-post .entry-content iframe,
.single .entry-content iframe,
.wp-block-embed__wrapper iframe {
    border-radius: 0;
    max-width: 100%;
}

.wp-block-embed {
    margin: 24px 0;
}

/* Remove border-radius from all embeds and uploaded videos */
.ps-media,
.ps-media iframe,
.ps-media video,
.ps-media--video,
.ps-media--video iframe,
.ps-media--video video,
.ps-media--embed,
.ps-media--embed iframe,
.ps-media--embed .wp-block-embed__wrapper,
.ps-oembed,
.ps-oembed iframe,
.ps-oembed video,
.video-thumbnail,
.video-thumbnail video,
.video-thumbnail iframe,
iframe[src*="spotify"],
iframe[src*="youtube"],
iframe[src*="vimeo"],
iframe[src*="rumble"],
iframe[src*="open.spotify.com"],
.wp-block-embed iframe,
.wp-block-embed-spotify iframe,
.ps-post__content iframe,
.ps-post__content video,
.ps-post__attachment,
.ps-post__attachment iframe,
.ps-post__attachment video,
.ps-post__media,
.ps-post__media iframe,
.ps-post__media video,
.ps-media-body,
.ps-media-body iframe,
.ps-media-body video,
.ps-post__content .wp-block-embed,
.ps-post__content .wp-block-embed iframe,
[class*="ps-media"] iframe,
[class*="ps-media"] video,
[class*="ps-oembed"] iframe,
[class*="ps-oembed"] video,
.ps-stream-body iframe,
.ps-stream-body video {
    border-radius: 0 !important;
}

/* Force no border-radius on embed containers */
.ps-media,
.ps-media--embed,
.ps-media--video,
.ps-oembed,
.ps-post__attachment,
.ps-post__media,
.ps-media-body,
[class*="ps-media"],
[class*="ps-oembed"] {
    border-radius: 0 !important;
    overflow: visible !important;
}

/* ==========================================
   Author Box
   ========================================== */

.author-box,
.entry-author {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--hbn-gray-50);
    border-radius: var(--hbn-radius);
    margin: 24px;
}

.author-box .avatar,
.entry-author .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box .author-name,
.entry-author .author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--hbn-gray-900);
    margin-bottom: 4px;
}

.author-box .author-bio,
.entry-author .author-description {
    font-size: 14px;
    color: var(--hbn-gray-600);
    line-height: 1.5;
}

/* ==========================================
   Comments Section
   ========================================== */

.comments-area,
#comments {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow);
    padding: 24px;
    margin-top: 24px;
}

.comments-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--hbn-gray-900);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hbn-gray-200);
}

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

.comment {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hbn-gray-100);
}

.comment:last-child {
    border-bottom: none;
}

.comment .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    color: var(--hbn-gray-900);
    font-size: 14px;
}

.comment-author a {
    color: inherit;
    text-decoration: none;
}

.comment-meta {
    font-size: 12px;
    color: var(--hbn-gray-500);
    margin-top: 2px;
}

.comment-content {
    margin-top: 8px;
    background: var(--hbn-gray-50);
    padding: 12px 16px;
    border-radius: 0 var(--hbn-radius) var(--hbn-radius) var(--hbn-radius);
    font-size: 14px;
    line-height: 1.5;
    color: var(--hbn-gray-800);
}

.comment-content p {
    margin: 0;
}

.reply a {
    font-size: 12px;
    color: var(--hbn-primary);
    text-decoration: none;
    font-weight: 500;
}

.reply a:hover {
    text-decoration: underline;
}

/* Comment Form */
.comment-respond {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--hbn-gray-200);
}

.comment-reply-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--hbn-gray-900);
    margin-bottom: 16px;
}

.comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--hbn-gray-700);
    margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--hbn-gray-300);
    border-radius: var(--hbn-radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--hbn-primary);
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .submit {
    background: var(--hbn-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--hbn-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-form .submit:hover {
    background: var(--hbn-primary-hover);
}

/* ==========================================
   Sidebar Widgets
   ========================================== */

.widget {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--hbn-gray-900);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hbn-gray-200);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--hbn-gray-100);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--hbn-primary);
    text-decoration: none;
    font-size: 14px;
}

.widget a:hover {
    text-decoration: underline;
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: 8px;
}

.widget_search .search-field {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--hbn-gray-300);
    border-radius: var(--hbn-radius-sm);
    font-size: 14px;
}

.widget_search .search-submit {
    background: var(--hbn-primary);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: var(--hbn-radius-sm);
    cursor: pointer;
    font-weight: 500;
}

/* ==========================================
   IMPORTANT: Do NOT style .ps-post, .ps-post__*, .ps-reaction, etc. here.
   Those are PeepSo activity feed classes and styling them breaks the feed.
   
   Only style WordPress blog post pages using our custom .hbn-* classes
   or scoped selectors like .single-post, .socialite-*
   ========================================== */

/* ==========================================
   IMPORTANT: Do NOT style .ps-comments, .ps-comment*, .ps-media-video, etc.
   Those are PeepSo activity feed classes and styling them breaks the feed.
   ========================================== */

/* ==========================================
   Peepso Login Widget
   ========================================== */

.ps-widget-login {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow);
    overflow: hidden;
}

.ps-widget-login__header {
    padding: 20px;
    text-align: center;
}

.ps-widget-login__form {
    padding: 0 20px 20px;
}

.ps-widget-login input[type="text"],
.ps-widget-login input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--hbn-gray-300);
    border-radius: var(--hbn-radius-sm);
    font-size: 14px;
    margin-bottom: 12px;
}

.ps-widget-login button,
.ps-widget-login input[type="submit"] {
    width: 100%;
    background: var(--hbn-primary);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: var(--hbn-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ps-widget-login button:hover,
.ps-widget-login input[type="submit"]:hover {
    background: var(--hbn-primary-hover);
}

/* ==========================================
   Mobile Responsive
   ========================================== */

@media (max-width: 768px) {
    .single-post .entry-title,
    .single .entry-title {
        font-size: 22px;
    }
    
    .single-post .entry-content,
    .single .entry-content {
        padding: 16px;
    }
    
    .comments-area,
    #comments {
        padding: 16px;
        margin: 16px 0;
        border-radius: var(--hbn-radius-sm);
    }
    
    .widget {
        padding: 16px;
        border-radius: var(--hbn-radius-sm);
    }
    
    /* Note: Do NOT style .ps-post__* here - those are PeepSo feed classes */
    
    .author-box,
    .entry-author {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        margin: 16px;
    }
    
    /* Touch-friendly buttons - only for non-PeepSo elements */
    .reply a,
    .widget a,
    button,
    input[type="submit"] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    /* Prevent iOS zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="url"],
    textarea,
    select {
        font-size: 16px;
    }
}

/* ==========================================
   Archive/Blog List Page
   ========================================== */

.blog article.post,
.archive article.post {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow);
    margin-bottom: 24px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.blog article.post:hover,
.archive article.post:hover {
    box-shadow: var(--hbn-shadow-lg);
}

.blog .entry-header,
.archive .entry-header {
    padding: 20px 20px 0;
}

.blog .entry-title,
.archive .entry-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog .entry-title a,
.archive .entry-title a {
    color: var(--hbn-gray-900);
    text-decoration: none;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
    color: var(--hbn-primary);
}

.blog .entry-summary,
.archive .entry-summary,
.blog .entry-content,
.archive .entry-content {
    padding: 16px 20px 20px;
    color: var(--hbn-gray-600);
    font-size: 14px;
    line-height: 1.6;
}

/* Read More Link */
.read-more,
.more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hbn-primary);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}

.read-more:hover,
.more-link:hover {
    text-decoration: underline;
}

/* ==========================================
   Socialite Blog Post Template Styles
   ========================================== */

.hbn-article-box {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow);
    overflow: hidden;
    margin-bottom: 24px;
}

.hbn-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.hbn-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hbn-article-content {
    padding: 24px;
}

.hbn-article-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--hbn-gray-900);
    line-height: 1.3;
    margin: 0 0 24px 0;
}

.hbn-author-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hbn-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hbn-author-info {
    flex: 1;
    min-width: 0;
}

.hbn-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hbn-gray-900);
    text-decoration: none;
    display: block;
}

.hbn-author-name:hover {
    color: var(--hbn-primary);
}

.hbn-post-time {
    font-size: 12px;
    color: var(--hbn-gray-500);
    margin-top: 2px;
}

.hbn-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--hbn-gray-500);
}

.hbn-category {
    color: var(--hbn-gray-600);
}

.hbn-date {
    color: var(--hbn-gray-400);
}

.hbn-article-body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--hbn-gray-800);
}

.hbn-article-body p {
    margin-bottom: 16px;
}

.hbn-article-body p:last-child {
    margin-bottom: 0;
}

.hbn-article-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--hbn-gray-200);
}

.hbn-tags {
    font-size: 14px;
    color: var(--hbn-gray-600);
}

.hbn-tags-label {
    font-weight: 500;
    margin-right: 8px;
}

.hbn-tags a {
    color: var(--hbn-primary);
    text-decoration: none;
}

.hbn-tags a:hover {
    text-decoration: underline;
}

/* ==========================================
   Socialite Video Post Template Styles
   ========================================== */

.hbn-video-box {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow);
    overflow: hidden;
    margin-bottom: 24px;
}

.hbn-video-player {
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
    border-radius: 0;
    overflow: hidden;
}

.hbn-video-embed {
    position: relative;
    width: 100%;
    height: 100%;
}

.hbn-video-embed iframe,
.hbn-video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hbn-video-no-embed {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--hbn-gray-800);
    color: var(--hbn-gray-400);
    font-size: 16px;
}

.hbn-video-content {
    padding: 16px 24px 24px;
}

.hbn-video-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
}

.hbn-video-header .hbn-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hbn-video-header .hbn-author-info {
    flex: 1;
    min-width: 0;
}

.hbn-video-header .hbn-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hbn-gray-900);
    text-decoration: none;
    display: block;
}

.hbn-video-header .hbn-author-name:hover {
    color: var(--hbn-primary);
}

.hbn-video-date {
    font-size: 12px;
    color: var(--hbn-gray-500);
    margin-top: 2px;
}

.hbn-video-more {
    flex-shrink: 0;
}

.hbn-more-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.hbn-more-btn:hover {
    background: var(--hbn-gray-100);
}

.hbn-more-btn svg {
    width: 20px;
    height: 20px;
    color: var(--hbn-gray-600);
}

.hbn-video-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--hbn-gray-700);
    padding: 16px 0;
}

.hbn-video-description p {
    margin-bottom: 12px;
}

.hbn-video-description p:last-child {
    margin-bottom: 0;
}

.hbn-video-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--hbn-gray-100);
}

.hbn-action-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hbn-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--hbn-radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--hbn-gray-600);
    background: var(--hbn-gray-100);
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.hbn-action-btn svg {
    width: 18px;
    height: 18px;
}

.hbn-action-btn:hover {
    background: var(--hbn-gray-200);
    color: var(--hbn-gray-900);
}

.hbn-like-btn:hover,
.hbn-like-btn.active {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.hbn-send-btn,
.hbn-share-btn {
    margin-left: auto;
    padding: 8px;
}

.hbn-dot {
    color: var(--hbn-gray-400);
}

/* Related Videos Section */
.hbn-related-videos {
    padding: 24px;
    background: var(--hbn-gray-50);
    border-top: 1px solid var(--hbn-gray-200);
}

.hbn-related-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--hbn-gray-900);
    margin: 0 0 16px 0;
}

.hbn-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.hbn-video-card {
    background: #fff;
    border-radius: var(--hbn-radius-sm);
    overflow: hidden;
    box-shadow: var(--hbn-shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}

.hbn-video-card:hover {
    box-shadow: var(--hbn-shadow-lg);
    transform: translateY(-2px);
}

.hbn-video-card-link {
    display: block;
    text-decoration: none;
}

.hbn-video-card-media {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--hbn-gray-200);
    overflow: hidden;
}

.hbn-video-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbn-video-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hbn-gray-200), var(--hbn-gray-300));
}

.hbn-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.2s;
}

.hbn-video-card:hover .hbn-card-overlay {
    opacity: 1;
}

.hbn-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.hbn-video-card:hover .hbn-card-play {
    opacity: 1;
}

.hbn-video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.hbn-video-card-body {
    padding: 12px;
}

.hbn-video-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--hbn-gray-900);
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hbn-video-card a {
    text-decoration: none;
}

.hbn-video-card-author {
    margin: 0 0 4px 0;
}

.hbn-video-card-author a {
    font-size: 13px;
    color: var(--hbn-gray-600);
}

.hbn-video-card-author a:hover {
    color: var(--hbn-primary);
}

.hbn-video-card-meta {
    font-size: 12px;
    color: var(--hbn-gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

/* Mobile Responsive for Socialite Templates */
@media (max-width: 768px) {
    .hbn-hero {
        height: 200px;
    }
    
    .hbn-article-content,
    .hbn-video-content {
        padding: 16px;
    }
    
    .hbn-article-title {
        font-size: 20px;
    }
    
    .hbn-video-title {
        font-size: 18px;
    }
    
    .hbn-author-strip {
        flex-wrap: wrap;
    }
    
    .hbn-post-meta {
        width: 100%;
        justify-content: flex-start;
        margin-top: 8px;
    }
    
    .hbn-video-meta-strip {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hbn-video-actions {
        margin-left: 0;
        width: 100%;
        margin-top: 12px;
    }
    
    .hbn-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .hbn-related-videos {
        padding: 16px;
    }
    
    .hbn-action-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hbn-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Sidebar Related Videos Widget Styles
   ========================================== */

.hbn-sidebar-related {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow);
    padding: 20px;
}

.hbn-sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--hbn-gray-900);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hbn-gray-100);
}

.hbn-sidebar-videos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hbn-sidebar-video-item {
    display: flex;
    gap: 12px;
}

.hbn-sidebar-video-thumb {
    position: relative;
    width: 130px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--hbn-radius-sm);
    overflow: hidden;
    background: var(--hbn-gray-200);
}

.hbn-sidebar-video-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.hbn-sidebar-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbn-sidebar-video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hbn-gray-300), var(--hbn-gray-200));
}

.hbn-play-icon-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.hbn-sidebar-video-thumb:hover .hbn-play-icon-small {
    opacity: 1;
}

.hbn-play-icon-small svg {
    width: 12px;
    height: 12px;
    color: var(--hbn-gray-900);
    margin-left: 2px;
}

.hbn-video-time {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 11px;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

.hbn-sidebar-video-info {
    flex: 1;
    min-width: 0;
}

.hbn-sidebar-video-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--hbn-gray-900);
    line-height: 1.3;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hbn-sidebar-video-info a {
    text-decoration: none;
    color: inherit;
}

.hbn-sidebar-video-info a:hover h4 {
    color: var(--hbn-primary);
}

.hbn-sidebar-video-author {
    display: block;
    font-size: 12px;
    color: var(--hbn-gray-600);
    margin-bottom: 2px;
}

.hbn-sidebar-video-meta {
    font-size: 11px;
    color: var(--hbn-gray-500);
}

@media (max-width: 992px) {
    .hbn-sidebar-video-thumb {
        width: 100px;
        height: 60px;
    }
    
    .hbn-sidebar-video-info h4 {
        font-size: 12px;
    }
}

/* ==========================================
   Mobile Edge-to-Edge Layout
   ========================================== */
@media (max-width: 768px) {
    /* Remove Top Gap Between Header and Media - MOBILE ONLY */
    body.single #main.main--single,
    body.single .main,
    body.single .main--single,
    body.single .content,
    body.single .gc-content,
    body.single-post #main.main--single,
    body.single-post .main,
    body.single-post .main--single,
    body.single-post .content,
    body.single-post .gc-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body.single .socialite-video-post:first-of-type,
    body.single .socialite-blog-post:first-of-type,
    body.single-post .socialite-video-post:first-of-type,
    body.single-post .socialite-blog-post:first-of-type {
        margin-top: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    /* GECKO THEME SPECIFIC - Kill all padding */
    .gc-body,
    .gc-body__inner,
    .gc-body__content,
    .gc-body__main,
    .gc-body--sidenav .gc-body__inner,
    .gc-content,
    .gc-content__inner,
    .gc-container,
    .gc-widgets,
    .gc-widgets__inner,
    .content,
    .main,
    .main--single {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Video frame - no gaps */
    .videoFrame,
    .socialite-video-post .videoFrame {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Remove ALL container padding on mobile for true edge-to-edge */
    body.single,
    body.single-post,
    .main,
    .main--single,
    .main--left,
    .main--right,
    .main--both,
    .content,
    .g-container,
    .site-content,
    .site-main,
    .content-area,
    .single .site-main,
    .single-post .site-main,
    .single #primary,
    .single-post #primary,
    .ps-page-content,
    .gecko-content-area,
    #main,
    #primary,
    #content,
    .wrapper,
    .container,
    .page-wrapper,
    .entry-content,
    .post-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Override grid layout gaps - keep grid, just remove gaps */
    .main,
    .gc-body__content {
        grid-gap: 0 !important;
        gap: 0 !important;
    }
    
    /* Post articles edge-to-edge - NO borders, margins, or padding */
    .single-post article.post,
    .single article.post,
    article.type-post,
    article.socialite-video-post,
    article.socialite-blog-post,
    .post,
    .hentry {
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #fff !important;
    }
    
    /* Comments box edge-to-edge */
    .comments-box,
    #comments {
        border-radius: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid #e5e7eb !important;
    }
    
    /* WordPress default comment form */
    .comment-respond {
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid #e5e7eb !important;
    }
    
    /* Media blocks full width - absolutely no gaps */
    .videoFrame,
    .post-featured-image,
    .socialite-video-post .videoFrame,
    .socialite-blog-post .post-featured-image,
    .wp-block-embed,
    .wp-block-embed__wrapper,
    .wp-block-video,
    iframe,
    .post-thumbnail,
    .wp-post-image {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    
    /* Content text still needs padding */
    .post-info-section {
        padding: 12px 16px !important;
        margin: 0 !important;
        border-top: none !important;
    }
    
    /* Edit post link styling */
    .edit-link,
    .post-edit-link {
        display: block !important;
        padding: 12px 16px !important;
        margin: 0 !important;
        width: 100% !important;
        border-top: 1px solid #e5e7eb !important;
    }
    
    /* Navigation links padding */
    .post-navigation,
    .nav-links {
        padding: 16px !important;
        margin: 0 !important;
        border-top: 1px solid #e5e7eb !important;
    }
    
    /* Sidebar stacks below content on mobile - keep visible */
    body.single .gc-widgets,
    body.single-post .gc-widgets,
    body.single aside,
    body.single-post aside {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        margin: 0 !important;
    }
}

/* ==========================================
   Archive & Category Page Styles
   Socialite-style card layout for listings
   ========================================== */

.page__header--category {
    margin-bottom: 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--hbn-primary) 0%, #9333EA 100%);
    border-radius: var(--hbn-radius);
    color: #fff;
}

.page__header--category .page-title {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.page__header--category .page__header-desc {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 0;
}

.content__posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.socialite-archive-post {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.socialite-archive-post:hover {
    box-shadow: 0 8px 16px rgba(123, 63, 242, 0.15);
    transform: translateY(-2px);
}

.socialite-archive-post .archive-post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.socialite-archive-post .archive-post-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--hbn-gray-100);
}

.socialite-archive-post .archive-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.socialite-archive-post:hover .archive-post-thumbnail img {
    transform: scale(1.02);
}

.socialite-archive-post .archive-post-content {
    padding: 16px 20px 20px;
}

.socialite-archive-post .archive-post-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.socialite-archive-post .archive-author-avatar {
    flex-shrink: 0;
}

.socialite-archive-post .archive-author-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.socialite-archive-post .archive-author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.socialite-archive-post .archive-author-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--hbn-gray-900);
}

.socialite-archive-post .archive-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--hbn-gray-500);
}

.socialite-archive-post .archive-post-views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.socialite-archive-post .archive-post-views svg {
    opacity: 0.8;
}

.socialite-archive-post .archive-post-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--hbn-gray-900);
    margin: 0 0 8px 0;
    line-height: 1.4;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.socialite-archive-post .archive-post-excerpt {
    font-size: 14px;
    color: var(--hbn-gray-600);
    line-height: 1.5;
    margin-bottom: 12px;
}

.socialite-archive-post .archive-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.socialite-archive-post .archive-category-tag {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(123, 63, 242, 0.1), rgba(255, 140, 0, 0.1));
    color: var(--hbn-primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 16px;
}

.socialite-archive-post.no-thumbnail .archive-post-content {
    padding-top: 20px;
    border-top: 4px solid var(--hbn-primary);
}

@media (prefers-color-scheme: dark) {
    .socialite-archive-post {
        background: #2d2d2d;
    }
    
    .socialite-archive-post .archive-post-thumbnail {
        background: #1a1a1a;
    }
    
    .socialite-archive-post .archive-author-name,
    .socialite-archive-post .archive-post-title {
        color: #f3f4f6;
    }
    
    .socialite-archive-post .archive-post-excerpt {
        color: #9ca3af;
    }
    
    .socialite-archive-post .archive-category-tag {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(255, 165, 0, 0.2));
        color: #A855F7;
    }
    
    .socialite-archive-post:hover {
        box-shadow: 0 8px 16px rgba(168, 85, 247, 0.2);
    }
    
    .page__header--category {
        background: linear-gradient(135deg, #7B3FF2 0%, #9333EA 100%);
    }
}

@media (max-width: 768px) {
    .page__header--category {
        margin: 0 -16px 16px;
        border-radius: 0;
        padding: 16px;
    }
    
    .page__header--category .page-title {
        font-size: 1.5rem;
    }
    
    .socialite-archive-post {
        border-radius: 0;
        margin: 0 -16px;
    }
    
    .content__posts {
        gap: 12px;
    }
    
    .socialite-archive-post .archive-post-content {
        padding: 14px 16px 16px;
    }
    
    .socialite-archive-post .archive-post-title {
        font-size: 1rem;
    }
}

/* ==========================================
   Search Page Specific Styles
   ========================================== */

.page__header--search .page-title span {
    color: var(--hbn-secondary);
    font-style: italic;
}

.archive-type-tag {
    background: var(--hbn-secondary) !important;
    color: #fff !important;
}

/* ==========================================
   No Results / Empty State Styles
   ========================================== */

.socialite-no-results {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow-lg);
    padding: 48px 24px;
    text-align: center;
    margin: 24px 0;
}

.socialite-no-results .no-results-icon {
    color: var(--hbn-primary);
    opacity: 0.6;
    margin-bottom: 16px;
}

.socialite-no-results .no-results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hbn-gray-900);
    margin: 0 0 12px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.socialite-no-results .no-results-content {
    color: var(--hbn-gray-600);
    font-size: 15px;
    line-height: 1.6;
}

.socialite-no-results .no-results-content a {
    color: var(--hbn-primary);
    font-weight: 500;
}

.socialite-no-results .no-results-search {
    margin-top: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.socialite-no-results .search-form {
    display: flex;
    gap: 8px;
}

.socialite-no-results .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--hbn-gray-200);
    border-radius: var(--hbn-radius-sm);
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.socialite-no-results .search-field:focus {
    outline: none;
    border-color: var(--hbn-primary);
}

.socialite-no-results .search-submit {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--hbn-primary), #9333EA);
    color: #fff;
    border: none;
    border-radius: var(--hbn-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.socialite-no-results .search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 63, 242, 0.3);
}

/* ==========================================
   404 Page Styles
   ========================================== */

.main--404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.content--404 {
    width: 100%;
    max-width: 500px;
}

.e404 {
    background: #fff;
    border-radius: var(--hbn-radius);
    box-shadow: var(--hbn-shadow-lg);
    padding: 48px 32px;
    text-align: center;
}

.e404__title h1 {
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--hbn-primary), var(--hbn-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 16px 0;
    line-height: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.e404__content h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--hbn-gray-600);
    margin: 0 0 24px 0;
}

.e404__button .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--hbn-primary), #9333EA);
    color: #fff;
    border: none;
    border-radius: var(--hbn-radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.e404__button .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(123, 63, 242, 0.35);
    color: #fff;
}

@media (prefers-color-scheme: dark) {
    .socialite-no-results,
    .e404 {
        background: #2d2d2d;
    }
    
    .socialite-no-results .no-results-title,
    .e404__title h1 {
        color: #f3f4f6;
    }
    
    .socialite-no-results .no-results-content,
    .e404__content h3 {
        color: #9ca3af;
    }
    
    .socialite-no-results .search-field {
        background: #1a1a1a;
        border-color: #3f3f3f;
        color: #f3f4f6;
    }
}

@media (max-width: 768px) {
    .socialite-no-results {
        margin: 16px -16px;
        border-radius: 0;
        padding: 32px 16px;
    }
    
    .e404 {
        margin: 0 -16px;
        border-radius: 0;
        padding: 32px 16px;
    }
    
    .e404__title h1 {
        font-size: 4rem;
    }
}
