/*
Theme Name: Magezix Child
Theme URI:  https://themexriver.com/wp/magezix
Author: cmsmasters
Author URI: https://themeforest.net/user/themexriver
Description: Magezix - Child Theme
Template: magezix
Version: 1.0.5
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: magezix-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.header .dark-logo img {
    width: 220px;
    margin-top: -20px;
}

.theme-switch-box-wrap {
    display: none;
}

.footer__logo img {
    width: 80%;
}

.max-400 {
    max-width: 400px;
}

.max-450 {
    max-width: 450px;
}

.term-description,
.post-information {
    margin: 0;
    background-color: #ffebeb;
    padding: 20px;
    padding-left: 100px;
    position: relative;
    height: auto;
}

.term-description:only-child,
.post-information:only-child {
    height: 100%;
}

.term-description h3:before,
.post-information:before {
    position: absolute;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    content: "\f05a";
    top: 25px;
    left: 20px;
    font-size: 4em;
    color: #cf2e2e;
}

.term-description {
    padding-left: 20px;
    background-color: transparent;
}

.term-description p,
.post-information p {
    margin-bottom: 5px !important;
}

.term-description h3 {
    margin-top: 0.2em;
    margin-bottom: 1em;
    padding-left: 55px;
}

.term-description h3:before {
    font-size: 40px;
    top: 20px;
}

.term-description strong {
    margin-top: 0.2em;
    display: inline-block;
}

.term-description ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.post-information .highlight {
    color: #cf2e2e;
    background: #fff6f6;
    padding: 3px 10px;
    box-shadow: inset 0 0 2px #790c0c;
}

.post-thumb {
    text-align: center;
}

.ad-container {
    background-color: #FF01750D;
}

.category__icon {
    color: #cb72f0;
}

a.category__search {
    background: #cb72f0;
    color: #ffffff;
}

#custom_html-2 {
    margin-left: -13px;
}

.header__main {
    justify-content: center !important;
}

.header__right {
    margin-left: 30px !important;
}

.header--2 .header__social {
    display: block !important;
    margin-left: 25px;
}

.home .post-cat {
    display: none;
}

.featured__post .post-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    background-size: 0% 0% !important;
}

.featured__post .post-content {
    padding: 10px 30px;
}

.featured__post-single .post-meta {
    margin-top: 10px;
}

.post-meta__author .avatar img {
    background-color: transparent;
}

.max-width {
    max-width: 1690px;
}

.tx-section-heading.title-center {
    max-width: 600px;
}

#secondary.blog-sidebar.mt-50 {
    margin-top: 30px;
}

.hlg-350 {
    height: auto !important;
    min-height: 300px;
}

.featured__post .post-thumb::before {
    height: calc(100% - 60%) !important;
}

body:not(.single) .breadcrumb-area {
    padding: 0;
    text-align: center;
}

body.single .magezix-single-post {
    margin-top: 50px;
}

body.single .post-details > .breadcrumb-area {
    padding: 0;
    margin: -12px 0 15px;
}

body.single .post-details > .breadcrumb-area .container {
    padding-left: 0;
    padding-right: 0;
}

body.single .post-details > .breadcrumb-area .magezix-breadcrumb,
body.single .post-details > .breadcrumb-area .magezix-breadcrumb a,
body.single .post-details > .breadcrumb-area .magezix-breadcrumb span {
    font-size: 0.85rem;
}

.full-height {
    min-height: calc(100vh - 350px);
}

.full-height .widget {
    border: none;
    display: flex;
    justify-content: center;
    margin-top: 5%;
}

/* Pixibb category grid shortcode */
.pixibb-catgrid {
    width: 100%;
    padding: 12px 0;
}

.pixibb-catgrid__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pixibb-catgrid__card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 18px 12px 16px;
    text-align: center;
    text-decoration: none;
    color: #27223b;
    box-shadow: 0 8px 18px rgba(26, 18, 64, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pixibb-catgrid__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(26, 18, 64, 0.14);
}

.pixibb-catgrid__icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.pixibb-catgrid__title {
    margin: 4px 0 0;
    font-size: 15px;
    font-weight: 600;
}

.pixibb-catgrid__count {
    font-size: 13px;
    color: #7c7892;
}

.pixibb-catgrid__btn {
    margin-top: 4px;
    background: #cb72f0;
    color: #fff;
    padding: 6px 23px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.pixibb-catgrid__btn i {
    margin-left: 10px;
}

@media (min-width: 640px) {
    .pixibb-catgrid__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .pixibb-catgrid__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.full-height .widget-title {
    display: none;
}

.full-height .widget form {
    width: 100%;
    max-width: 600px;
}

.full-height .widget__search input {
    border: 2px solid var(--color-primary);
    background-color: #f9e9ff;
    color: var(--color-primary);
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    font-size: 1em;
    line-height: 1.4;
    height: auto;
    width: 100%;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-shadow: 0 8px 8px -4px rgb(203, 114, 240, 0.2);
}

.full-height .widget__search input:focus,
.full-height .widget__search input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgb(203, 114, 240, 0.2);
}

.full-height .widget__search input::placeholder {
    color: var(--color-primary);
    text-align: center;
}

.full-height .widget__search button {
    color: var(--color-primary);
    right: 0.5rem;
    font-size: 1.3rem;
}

.full-height .elementor-heading-title {
    font-size: 1.5rem;
    color: var(--color-primary) !important;
    margin-bottom: 2rem;
}

.full-height .thm-btn__main {
    font-size: 1.5rem;
}

.magezix-single-post .wp-block-buttons .wp-block-button__link {
    max-width: 300px;
}

@media (max-width: 991px) {
    .header__right .header__btn {
        display: none;
    }

    .header__right {
        margin-left: 0px !important;
        margin-top: 25px !important;
    }
}

@media (max-width: 767px) {
    #elementor_page_builder {
        max-width: 540px;
        width: 100%;
        padding-right: var(--bs-gutter-x, .75rem);
        padding-left: var(--bs-gutter-x, .75rem);
        margin-right: auto;
        margin-left: auto;
        overflow: hidden;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1500px) {
    .ad-container {
        margin-left: 40px;
    }
}



/**
** Search
**/
:root {
    --fsb-accent: #2563eb;
    --fsb-surface: #ffffff;
    --fsb-text: #0b0c0f;
    --fsb-muted: #6b7280;
    --fsb-outline: #e5e7eb;
    --fsb-shadow: 0 10px 30px rgba(0, 0, 0, .2), 0 6px 12px rgba(0, 0, 0, .08);
    --fsb-focus: rgba(37, 99, 235, .35);
}

@media (prefers-color-scheme: dark) {
    :root {
        --fsb-surface: #0f1115;
        --fsb-text: #e5e7eb;
        --fsb-outline: #1f2430;
        --fsb-shadow: 0 20px 40px rgba(0, 0, 0, .55), 0 6px 12px rgba(0, 0, 0, .35);
    }
}

.progress-wrap {
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff;
}

.fsb-fab,
#fsb-dialog,
#fsb-dialog * {
    box-sizing: border-box;
}

/* Visually hidden utility */
.fsb-visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* --------------------- Floating Action Button --------------------- */
.fsb-fab {
    position: fixed;
    inset: auto 30px 80px auto;
    z-index: 99990;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-primary);
    border-radius: 9999px;
    background: #fff;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: inset 0 0 0 2px rgba(255, 24, 78, 0.15);
    transition: transform .12s ease, box-shadow .2s ease, opacity .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.fsb-fab svg {
    width: 26px;
    height: 26px;
    pointer-events: none;
}

.fsb-fab:hover {
    transform: translateY(-1px);
}

.fsb-fab:active {
    transform: translateY(0) scale(.98);
}

.fsb-fab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--fsb-focus), var(--fsb-shadow);
}

/* -------------------------- Overlay Root -------------------------- */
#fsb-dialog[hidden] {
    display: none !important;
}

#fsb-dialog {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    grid-template-rows: auto 1fr;
}

/* Backdrop */
#fsb-dialog .fsb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(4px);
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: contain;
}

/* Panel */
#fsb-dialog .fsb-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: min(9vh, 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: fsb-panel-in .22s ease both;
}

@keyframes fsb-panel-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #fsb-dialog .fsb-panel {
        animation: none;
    }
}

/* --------------------------- Search Bar --------------------------- */
.fsb-search {
    position: relative;
    width: min(760px, calc(100vw - 32px));
}

.fsb-search input[type="search"] {
    width: 100%;
    appearance: none;
    outline: none;
    font-size: clamp(18px, 3.5vw, 22px);
    font-weight: 520;
    padding: 18px 56px 18px 20px;
    border-radius: 14px;
    border: 1px solid var(--fsb-outline);
    background: var(--fsb-surface);
    color: var(--fsb-text);
    box-shadow: var(--fsb-shadow);
}

.fsb-search input::placeholder {
    color: var(--fsb-muted);
    font-weight: 450;
}

/* Close button */
.fsb-search .fsb-close {
    position: absolute;
    right: 6px;
    top: 12px;
    height: 44px;
    width: 44px;
    border-radius: 10px;
    border: 1px solid var(--fsb-outline);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.fsb-search .fsb-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--fsb-focus);
}

.fsb-search .fsb-close svg {
    width: 22px;
    height: 22px;
    margin-top: -2px;
}

/* --------------------------- Results Box -------------------------- */
.fsb-results {
    width: min(760px, calc(100vw - 32px));
    max-height: 70vh;
    overflow: auto;
}

.fsb-hint {
    margin: 6px 2px 0;
    color: #fff;
    font-size: 14px;
}

/* Optional: style links if you add them later */
.fsb-results a.fsb-result-item {
    display: block;
    padding: 10px 12px;
    margin: 8px 0;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--fsb-outline);
    border-radius: 12px;
    transition: transform .08s ease;
}

.fsb-results a.fsb-result-item:hover {
    transform: translateY(-1px);
}

.post-cat {
    padding: 0px 10px;
    font-size: 12px;
    line-height: 20px;
}

@media (max-width: 468px) {
    .hide-468 {
        display: none !important;
    }
}

/* Footer sticky mobile - only visible on mobile */
.footer-sticky-mobile {
    display: none;
}

@media (max-width: 768px) {
    .footer-sticky-mobile {
        display: block;
    }
}

/* --------------------------- Post Tags Styling --------------------------- */
.post-information .tags {
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* subtle separator */
    padding-top: 15px;
}

/* Fix for h5 inside ul structure */
.post-information .tags ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    /* Space between tags */
    margin: 0;
    padding: 0;
}

.post-information .tags .title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    margin-right: 8px;
    color: #555;
    display: inline-block;
}

.post-information .tags ul li {
    list-style: none;
    margin: 0;
}

.post-information .tags ul li a {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: #fff;
    /* White background */
    border: 1px solid #e0e0e0;
    border-radius: 100px;
    /* Pill shape */
    font-size: 12px;
    color: #666;
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.post-information .tags ul li a:hover {
    background-color: #cb72f0;
    /* Theme purple */
    border-color: #cb72f0;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(203, 114, 240, 0.25);
}


/* ===================== Inline Video Section (Single Post) ===================== */

.pixibb-inline-videos {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pixibb-inline-videos-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #27223b;
}

.pixibb-inline-videos-heading i {
    color: #cb72f0;
    margin-right: 6px;
}

.pixibb-inline-player {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.pixibb-inline-player-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.pixibb-inline-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* More Videos Toggle */
.pixibb-more-videos {
    margin-top: 8px;
}

.pixibb-more-videos-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f0fa;
    border: 1px solid #e8d8f4;
    color: #7c3aad;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
}

.pixibb-more-videos-toggle:hover {
    background: linear-gradient(135deg, #cb72f0, #9b4dca);
    border-color: #cb72f0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(203, 114, 240, .3);
}

.pixibb-toggle-icon {
    font-size: 12px;
    transition: transform .2s ease;
}

.pixibb-more-videos-list {
    margin-top: 12px;
}

.pixibb-more-video-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all .15s ease;
}

.pixibb-more-video-item:hover {
    background: #f5f0fa;
    border-color: #cb72f0;
}

.pixibb-more-video-item .fa-play {
    margin-left: auto;
    color: #cb72f0;
    font-size: 14px;
}

.pixibb-more-video-num {
    background: #cb72f0;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.pixibb-more-video-label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}


/* ===================== Video List Page (/videos) ===================== */

.pixibb-videos-section {
    min-height: 60vh;
}

.pixibb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7c3aad;
    background: #f5f0fa;
    border: 1px solid #e8d8f4;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all .3s ease;
}

.pixibb-back-link:hover {
    background: linear-gradient(135deg, #cb72f0, #9b4dca);
    border-color: #cb72f0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(203, 114, 240, .3);
}

.pixibb-videos-section .breadcrumb-area {
    padding: 0;
    margin: -8px 0 20px;
}

.pixibb-videos-section .breadcrumb-area .container {
    padding-left: 0;
    padding-right: 0;
}

.pixibb-videos-section .breadcrumb-area .magezix-breadcrumb,
.pixibb-videos-section .breadcrumb-area .magezix-breadcrumb a,
.pixibb-videos-section .breadcrumb-area .magezix-breadcrumb span {
    font-size: 0.85rem;
}

.pixibb-videos-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #27223b;
}

.pixibb-videos-heading i {
    color: #cb72f0;
    margin-right: 8px;
}

.pixibb-no-videos {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.pixibb-no-videos i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

/* Player Area */
.pixibb-player-area {
    background: #0b0c0f;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
}

.pixibb-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #151720;
}

.pixibb-player-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.pixibb-player-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .15s ease;
}

.pixibb-player-close:hover {
    background: rgba(255, 255, 255, .1);
}

.pixibb-player-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.pixibb-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video Grid */
.pixibb-videos-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .pixibb-videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .pixibb-videos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Video Card */
.pixibb-video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    border: 2px solid transparent;
}

.pixibb-video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(203, 114, 240, .15);
}

.pixibb-video-card.active {
    border-color: #cb72f0;
    box-shadow: 0 8px 24px rgba(203, 114, 240, .2);
}

.pixibb-video-preview {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #1a1c24;
}

.pixibb-video-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pixibb-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
    display: grid;
    place-items: center;
    transition: background .2s ease;
    z-index: 2;
    cursor: pointer;
}

.pixibb-video-card:hover .pixibb-video-overlay {
    background: rgba(0, 0, 0, .45);
}

.pixibb-video-overlay i {
    font-size: 28px;
    color: #fff;
    background: rgba(203, 114, 240, .85);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.pixibb-video-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}

.pixibb-video-number {
    background: #cb72f0;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.pixibb-video-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #27223b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Recent Videos Sidebar */
.pixibb-videos-sidebar {
    padding-top: 8px;
}

.pixibb-videos-sidebar-title {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    color: #27223b;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0e8f9;
}

.pixibb-videos-sidebar-title i {
    color: #cb72f0;
}

.pixibb-recent-video-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    transition: all .25s ease;
}

.pixibb-recent-video-card:hover {
    background: #faf5ff;
    box-shadow: 0 4px 12px rgba(203, 114, 240, .15);
    transform: translateY(-1px);
}

.pixibb-recent-video-thumb {
    position: relative;
    flex: 0 0 160px;
    width: 160px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    background: #1a1c24;
    display: grid;
    place-items: center;
}

.pixibb-recent-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pixibb-recent-video-thumb > i {
    font-size: 24px;
    color: #555;
}

.pixibb-recent-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: rgba(203, 114, 240, .85);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: all .25s ease;
}

.pixibb-recent-video-play i {
    font-size: 14px;
    color: #fff;
    margin-left: 2px;
}

.pixibb-recent-video-card:hover .pixibb-recent-video-play {
    background: rgba(203, 114, 240, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.pixibb-recent-video-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #27223b;
    line-height: 1.4;
    max-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.pixibb-recent-video-empty {
    color: #888;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 991px) {
    .pixibb-videos-sidebar {
        margin-top: 40px;
    }
}


/* ===================== Video Archive Page ===================== */

.pixibb-video-archive-card .post-thumb {
    position: relative;
}

.pixibb-video-archive-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(203, 114, 240, .85);
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 2;
    transition: all .3s ease;
}

.pixibb-video-archive-play i {
    font-size: 22px;
    color: #fff;
    margin-left: 3px;
}

.pixibb-video-archive-card:hover .pixibb-video-archive-play {
    background: rgba(203, 114, 240, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 24px rgba(203, 114, 240, .5);
}

.pixibb-video-archive-nothumb {
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: #1a1c24;
    display: grid;
    place-items: center;
}

.pixibb-video-archive-nothumb i {
    font-size: 48px;
    color: rgba(255, 255, 255, .2);
}

article.post .entry-content .wp-block-image,
article.post .entry-content .wp-block-image img {
    width: 100%;
}

/* ─── Download Page ──────────────────────────────────────── */

.pixibb-download-section {
    min-height: 60vh;
    margin-top: 20px;
    margin-bottom: 60px;
}

.pixibb-download-error {
    background: #3a1c1c;
    border: 1px solid #dc3545;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    color: #f8d7da;
    font-size: 14px;
}

.pixibb-download-error p {
    margin: 0;
}

.pixibb-download-premium-badge {
    background: linear-gradient(135deg, #1a3a2a, #1a2a3a);
    border: 1px solid #22c55e;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #86efac;
    font-weight: 600;
    font-size: 14px;
}

.pixibb-download-btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pixibb-download-btn:hover {
    opacity: 0.9;
}

.pixibb-download-btn .fa-arrow-right {
    margin-left: 8px;
    font-size: 0.85em;
    transition: transform 0.2s ease;
}

.pixibb-download-btn:hover .fa-arrow-right {
    transform: translateX(4px);
}

.pixibb-download-btn-premium {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
}

.pixibb-download-subtitle {
    text-align: center;
    color: #666;
    font-size: 12px;
    margin-top: 8px;
}

.pixibb-download-promo {
    background: linear-gradient(135deg, #2a1a4a, #1a2a4a);
    border: 1px solid #6c3fb5;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.pixibb-download-promo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pixibb-download-promo-header i {
    color: #c084fc;
    font-size: 18px;
}

.pixibb-download-promo-header h3 {
    margin: 0;
    color: #c084fc;
    font-size: 15px;
}

.pixibb-download-promo-benefits {
    margin: 0 0 12px 0;
    padding-left: 20px;
    color: #ccc;
    font-size: 13px;
    line-height: 1.8;
}

.pixibb-download-btn-premium-link {
    background: #7c3aed;
    color: #fff !important;
    font-size: 16px;
}

.pixibb-download-free {
    border: 1px solid #333;
    border-radius: 10px;
    padding: 16px;
}

.pixibb-download-free h4 {
    margin: 0 0 8px 0;
    color: #999;
    font-size: 14px;
}

.pixibb-download-free p {
    margin: 0 0 12px 0;
    color: #666;
    font-size: 13px;
}

.pixibb-download-btn-free {
    background: #333;
    color: #ccc;
    border: 1px solid #555;
    font-size: 16px;
}