/*
Theme Name: RLSBB Release Blog
Theme URI: https://rlsbb.to
Author: RLSBB Team
Author URI: https://rlsbb.to
Description: A fast, lightweight WordPress theme for scene release blogs. Designed for TV shows, movies, games, and music releases with direct download links.
Version: 1.0.0
License: GPL v2 or later
Text Domain: rlsbb
Tags: blog, two-columns, right-sidebar, custom-colors, theme-options

RLSBB WordPress Theme, (C) 2026 RLSBB
RLSBB is distributed under the terms of the GNU GPL v2 or later.
*/

:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --dark: #1a1a1a;
    --fileq: #0077b6;
    --viking: #ffd700;
    --viking-text: #1a1a1a;
    --gofile: #10b981;
    --buzz: #8b5cf6;
    --bg: #faf9f6;
    --card: #ffffff;
    --border: #e8e5df;
    --text: #1a1a1a;
    --text-light: #6b6560;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: var(--bg);
    font-family: 'Inter', 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.site-wrap {
    background: var(--card);
    max-width: 1140px;
    margin: 0 auto;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

/* Header */
.site-header {
    background: var(--dark);
    padding: 1.2rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo {
    width: 40px;
    height: 40px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 900;
}

.site-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.site-title span {
    color: var(--primary);
}

.site-description {
    font-size: 0.6rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 2px 0 0;
}

.header-meta {
    font-size: 0.7rem;
    color: #999;
    font-weight: 500;
}

.header-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.header-stats {
    background: rgba(255,255,255,0.08);
    padding: 0.35rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
    color: #ccc;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Layout */
.content-area {
    display: flex;
    flex-wrap: wrap;
}

.main-content {
    width: 68%;
    padding: 1.5rem;
}

.sidebar {
    width: 32%;
    background: #fdfcf9;
    padding: 1.25rem;
    border-left: 1px solid var(--border);
}

/* Section Title */
.section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.section-title-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    display: inline-block;
}

/* Post Cards */
.post-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.3rem;
    margin-bottom: 0.75rem;
    transition: all 0.15s ease;
}

.post-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(255,107,53,0.08);
}

.entry-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    text-align: center;
}

.entry-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.15s;
}

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

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.meta-tag {
    background: #f5f5f0;
    padding: 3px 10px;
    font-size: 0.66rem;
    color: var(--text-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
	line-height: 2
}

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

.imdb-badge {
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    padding: 2px 7px;
    font-size: 0.62rem;
}

/* Movie Poster */
.movie-poster {
    width: 229px;
    height: 330px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #2d1b3d, #4a0e2e);
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.poster-accent {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

.poster-accent.top { top: -15px; right: -15px; }
.poster-accent.bottom { bottom: -10px; left: -10px; width: 35px; height: 35px; }

.poster-shine {
    position: absolute;
    top: 0; left: 0; right: 0; height: 30%;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
    z-index: 1;
}

.poster-title {
    position: relative;
    z-index: 3;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    padding: 10px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* TV Banner */
.tv-banner {
    width: 100%;
    max-width: 570px;
    height: 170px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1a2e, #1a2744, #0d1b36);
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
}


.tv-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.banner-stripe-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0.8;
    z-index: 3;
}

.banner-stripe-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    opacity: 0.4;
    z-index: 3;
}

.banner-accent {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    right: -20px;
    top: -20px;
    z-index: 1;
}

.banner-shine {
    position: absolute;
    top: 0; left: 0; right: 0; height: 35%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    z-index: 1;
}

.banner-title {
    position: relative;
    z-index: 3;
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

/* Entry Description */
.entry-description {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.6;
}

/* Release Rows */
.release-row {
    background: #fafaf7;
    border: 1px solid #eeeeea;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.35rem;
    transition: 0.12s;
    border-left: 2px solid transparent;
}

.release-row:hover {
    background: #fff;
    border-color: #ddddd5;
    border-left-color: var(--primary);
}

.release-row:last-child {
    margin-bottom: 0;
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.release-filename {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    word-break: break-all;
}

.release-meta-info {
    font-size: 0.65rem;
    color: var(--text-light);
    font-family: 'SF Mono', 'Consolas', monospace;
    white-space: nowrap;
}

.release-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.release-dl-label {
    font-size: 0.6rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 0.25rem;
}

/* Download Buttons */
.dl-btn {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.38rem 0.8rem;
    font-size: 0.68rem;
    font-weight: 600;
    transition: 0.13s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.dl-btn:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.dl-btn i {
    font-size: 0.6rem;
}

.dl-btn.fileq i { color: var(--fileq); }
.dl-btn.viking i { color: var(--viking); }
.dl-btn.gofile i { color: var(--gofile); }
.dl-btn.buzz i { color: var(--buzz); }
.dl-btn:hover i { color: #fff !important; }

.more-link {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.more-link:hover {
    color: var(--primary-dark);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1.75rem;
}

.page-numbers {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    text-decoration: none;
    transition: 0.12s;
}

.page-numbers.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-numbers:not(.current):hover {
    background: #fff5f0;
    border-color: var(--primary);
    color: var(--primary);
}

.page-numbers.next,
.page-numbers.prev {
    width: auto;
    padding: 0 1rem;
}

/* Sidebar Widgets */
.widget {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.widget-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-title i {
    color: var(--primary);
    font-size: 0.7rem;
}

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

.widget ul li {
    padding: 0.35rem 0;
}

.widget ul li a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.12s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.widget ul li .count {
    background: #f5f5f0;
    padding: 2px 8px;
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 600;
}

.widget select,
.widget input[type="text"],
.widget input[type="search"] {
    width: 100%;
    border: 1px solid var(--border);
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
}

.widget select:focus,
.widget input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.site-footer {
    background: var(--dark);
    padding: 1rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #999;
}

.footer-brand {
    font-weight: 700;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: 0.12s;
    font-weight: 500;
}

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

/* Single Post */
.single .entry-description {
    text-align: left;
}

.single .entry-title {
    text-align: left;
    font-size: 1.3rem;
}

.single .entry-meta {
    justify-content: flex-start;
}

/* Search & Archive */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* 404 */
.error-404 {
    text-align: center;
    padding: 3rem 1rem;
}

.error-404 h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    margin: 0;
}

.error-404 p {
    color: var(--text-light);
    margin: 0.5rem 0 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    .main-content,
    .sidebar {
        width: 100%;
    }
    .sidebar {
        border-left: none;
        border-top: 1px solid var(--border);
    }
    .movie-poster {
        width: 100%;
        max-width: 229px;
        height: 300px;
    }
    .tv-banner {
        height: 120px;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 1rem;
    }
    .main-content {
        padding: 1rem;
    }
    .post-card {
        padding: 1rem;
    }
    .entry-title {
        font-size: 0.95rem;
    }
    .release-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Category Filter Tabs */
.category-tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cat-tab {
    padding: 0.4rem 1.1rem;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-light);
    text-decoration: none;
    transition: 0.13s;
    letter-spacing: 0.3px;
}

.cat-tab.active,
.cat-tab:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Post metadata line */
.post-meta-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* No results */
.no-results {
    text-align: center;
    padding: 2rem;
}

.no-results h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-light);
}

/* Section Header - flex row with title left and tabs right */
.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.section-header .section-title {
    margin-bottom: 0;
}

.section-tabs {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

/* Tab buttons */
.tab-btn {
    padding: 0.4rem 1.1rem;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-light);
    text-decoration: none;
    transition: 0.13s;
    letter-spacing: 0.3px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Remove old category-tabs if not needed elsewhere */
.category-tabs {
    display: none;
}

/* ============================================
   SIDEBAR STYLES
   ============================================ */

.sidebar {
    width: 32%;
    background: #fdfcf9;
    padding: 1.25rem;
    border-left: 1px solid var(--border);
}

.sidebar-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.sidebar-title {
    font-weight: 700;
    color: var(--text);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title i {
    color: var(--primary);
    font-size: 0.7rem;
}

/* Search */
.search-wrap {
    position: relative;
}

.search-wrap .search-input {
    width: 100%;
    border: 1px solid var(--border);
    padding: 0.6rem 2.5rem 0.6rem 0.75rem;
    font-size: 0.75rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    transition: 0.15s;
}

.search-wrap .search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-wrap .search-input::placeholder {
    color: #999;
    font-weight: 500;
}

.search-wrap .search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 0;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: 0.12s;
}

.category-link:hover {
    color: var(--primary);
    padding-left: 4px;
}

.category-link .count {
    background: #f5f5f0;
    padding: 2px 8px;
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Latest Posts List */
.latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-list li {
    padding: 0;
    margin-bottom: 0.6rem;
}

.latest-list li:last-child {
    margin-bottom: 0;
}

.latest-list a {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: 0.12s;
    display: block;
    line-height: 1.4;
}

.latest-list a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
    .sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border);
    }
}

/* View All Downloads Button */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    color: var(--primary);
    padding: 0.35rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.15s;
    border: 1.5px solid var(--primary);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.view-all-btn:hover {
    background: var(--primary);
    color: #fff;
}

.view-all-btn i {
    font-size: 0.6rem;
    transition: transform 0.15s;
}

.view-all-btn:hover i {
    transform: translateX(3px);
}

.responsive-poster {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Ad */
.responsive-ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.responsive-ad-container iframe,
.responsive-ad-container ins,
.responsive-ad-container > div {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}