/**
 * HOT 4K - Pages & Components Stylesheet
 * Styles for all page templates and reusable components
 */

/* ==========================================================================
   Page Breadcrumbs
   ========================================================================== */

.page-breadcrumbs {
    padding: 20px 0;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.breadcrumbs {
    font-size: 14px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--accent-orange);
}

.breadcrumb-item.active span {
    color: var(--text-primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
    opacity: 0.5;
    margin-left: 8px;
}

/* ==========================================================================
   Page Hero
   ========================================================================== */

.page-hero {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(247, 147, 30, 0.1);
    border: 1px solid rgba(247, 147, 30, 0.3);
    border-radius: 50px;
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Channels Page
   ========================================================================== */

/* Channel Stats Bar */
.channel-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
}

.channel-stat {
    text-align: center;
}

.channel-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-orange);
}

.channel-stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .channel-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-info {
    margin-bottom: 12px;
}

.category-info h3 {
    font-size: 1.25rem;
    margin: 0 0 5px;
}

.category-count {
    font-size: 14px;
    color: var(--accent-orange);
    font-weight: 600;
}

.category-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.category-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Countries Grid */
.country-search-wrapper {
    max-width: 400px;
    margin: 0 auto 40px;
}

.country-search {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 12px 20px;
}

.country-search .search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    margin-right: 12px;
}

.country-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
}

.country-search input::placeholder {
    color: var(--text-muted);
}

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

.country-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: all 0.2s;
}

.country-card:hover {
    border-color: var(--accent-orange);
    background: rgba(247, 147, 30, 0.05);
}

.country-flag {
    font-size: 32px;
}

.country-info h4 {
    font-size: 14px;
    margin: 0 0 4px;
}

.country-count {
    font-size: 12px;
    color: var(--accent-orange);
    font-weight: 600;
}

.countries-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Sports Leagues Grid */
.sports-leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.league-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}

.league-icon {
    font-size: 28px;
}

.league-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.league-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* PPV Banner */
.sports-ppv-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 40px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 100%);
    border-radius: 16px;
}

.ppv-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ppv-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
}

.ppv-badge svg {
    width: 24px;
    height: 24px;
}

.ppv-text h3 {
    margin: 0 0 5px;
    font-size: 1.25rem;
}

.ppv-text p {
    margin: 0;
    opacity: 0.9;
}

.sports-ppv-banner .btn {
    background: #fff;
    color: var(--accent-orange);
}

@media (max-width: 768px) {
    .sports-ppv-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .ppv-content {
        flex-direction: column;
    }
}

/* 24/7 Channels Section */
.channels-247-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(247, 147, 30, 0.1);
    border: 1px solid rgba(247, 147, 30, 0.3);
    border-radius: 50px;
    color: var(--accent-orange);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.channels-247-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.channels-247-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

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

.channels-247-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-muted);
}

.channels-247-list li svg {
    color: var(--accent-green);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.visual-item {
    padding: 20px 15px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    transition: all 0.2s;
}

.visual-item:hover {
    border-color: var(--accent-orange);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .channels-247-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Quality Grid */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quality-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 100%);
    border-radius: 12px;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 20px;
}

.quality-badge svg {
    width: 28px;
    height: 28px;
}

.quality-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.quality-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 992px) {
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .quality-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Reseller Page
   ========================================================================== */

.reseller-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.highlight-item {
    text-align: center;
}

.highlight-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-orange);
}

.highlight-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent-orange);
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Reseller Tiers */
.reseller-tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tier-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
}

.tier-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tier-popular {
    border-color: var(--accent-orange);
    transform: scale(1.05);
}

.tier-popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--accent-orange);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.tier-header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid;
}

.tier-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.tier-credits {
    font-size: 14px;
    color: var(--text-muted);
}

.tier-price {
    text-align: center;
    margin-bottom: 20px;
}

.tier-price-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.tier-price-per {
    font-size: 14px;
    color: var(--text-muted);
}

.tier-margin {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.tier-features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-tier {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

.tiers-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 1200px) {
    .reseller-tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tier-popular {
        transform: none;
    }
}

@media (max-width: 576px) {
    .reseller-tiers-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.posts-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .posts-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .posts-grid,
    .posts-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Post Card */
.post-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.post-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.post-thumbnail {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
}

.post-thumbnail-placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    opacity: 0.3;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.post-category {
    padding: 4px 10px;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 20px;
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
}

.post-category:hover {
    background: var(--accent-orange);
    color: #fff;
}

.post-date {
    color: var(--text-muted);
}

.post-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--accent-orange);
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
}

.post-read-more {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-orange);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.post-read-more:hover {
    gap: 8px;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 50px;
}

.blog-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.blog-pagination a,
.blog-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination a:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.blog-pagination .current {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border-radius: 16px;
}

.no-posts svg {
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 20px;
}

.no-posts h3 {
    margin-bottom: 10px;
}

.no-posts p {
    color: var(--text-muted);
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.single-post-header {
    padding: 60px 0 40px;
    background: var(--bg-dark);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.single-post-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    margin-bottom: 20px;
}

.single-post-excerpt {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.single-post-thumbnail {
    margin-bottom: 40px;
}

.single-post-thumbnail img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    border-radius: 16px;
}

.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

@media (max-width: 992px) {
    .single-post-layout {
        grid-template-columns: 1fr;
    }
}

.single-post-content {
    max-width: 100%;
}

/* Post Body */
.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-body h2,
.post-body h3,
.post-body h4 {
    color: var(--text-primary);
    margin: 40px 0 20px;
}

.post-body p {
    margin-bottom: 24px;
}

.post-body a {
    color: var(--accent-orange);
}

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

.post-body ul,
.post-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: rgba(247, 147, 30, 0.05);
    border-left: 4px solid var(--accent-orange);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.post-body pre {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 30px 0;
}

.post-body code {
    background: rgba(255,255,255,0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Post Tags */
.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 40px;
}

.post-tags > span {
    color: var(--text-muted);
    font-size: 14px;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.tag:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

/* Post Share */
.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0 30px;
}

.post-share > span {
    color: var(--text-muted);
    font-size: 14px;
}

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

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

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

.share-btn:hover {
    border-color: currentColor;
}

.share-twitter:hover {
    color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
}

.share-facebook:hover {
    color: #4267b2;
    background: rgba(66, 103, 178, 0.1);
}

.share-whatsapp:hover {
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

.share-copy:hover {
    color: var(--accent-orange);
    background: rgba(247, 147, 30, 0.1);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    margin: 30px 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.author-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.author-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.author-bio {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.post-nav-item {
    padding: 25px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.post-nav-item:hover {
    border-color: var(--accent-orange);
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--accent-orange);
    margin-bottom: 8px;
}

.nav-label svg {
    width: 16px;
    height: 16px;
}

.nav-title {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

.post-nav-next {
    text-align: right;
}

.post-nav-next .nav-label {
    justify-content: flex-end;
}

@media (max-width: 576px) {
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .post-nav-next {
        text-align: left;
    }
    
    .post-nav-next .nav-label {
        justify-content: flex-start;
    }
}

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

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 25px;
}

.widget-title {
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(247, 147, 30, 0.05) 100%);
    border-color: rgba(247, 147, 30, 0.2);
    text-align: center;
}

.sidebar-cta .cta-icon {
    margin-bottom: 15px;
}

.sidebar-cta .cta-icon svg {
    color: var(--accent-orange);
}

.sidebar-cta h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.sidebar-cta p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Search Widget */
.search-input-wrapper {
    display: flex;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}

.search-submit {
    padding: 12px 15px;
    background: var(--accent-orange);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.search-submit:hover {
    background: var(--accent-red);
}

.search-submit svg {
    width: 18px;
    height: 18px;
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.recent-post-title {
    display: block;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    margin-bottom: 6px;
}

.recent-post-title:hover {
    color: var(--accent-orange);
}

.recent-post-date {
    font-size: 12px;
    color: var(--text-muted);
}

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

.categories-list li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.categories-list a:hover {
    color: var(--accent-orange);
}

.cat-count {
    padding: 2px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Quick Links Widget */
.quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links-list li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.quick-links-list li:last-child {
    border-bottom: none;
}

.quick-links-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.quick-links-list a:hover {
    color: var(--accent-orange);
}

.quick-links-list svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.quick-links-list a:hover svg {
    color: var(--accent-orange);
}

/* ==========================================================================
   Setup Pages
   ========================================================================== */

.setup-device-hero .device-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 20px;
}

.setup-device-hero .device-hero-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent-orange);
}

.setup-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.setup-difficulty,
.setup-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.setup-difficulty.easy svg {
    color: var(--accent-green);
}

.section-title-left {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}

.requirement-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.requirement-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-orange);
}

.requirement-text strong {
    display: block;
    margin-bottom: 4px;
}

.requirement-text span {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

.no-account-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: rgba(247, 147, 30, 0.05);
    border: 1px solid rgba(247, 147, 30, 0.2);
    border-radius: 12px;
}

.no-account-banner p {
    margin: 0;
    color: var(--text-muted);
}

/* Setup Steps */
.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.setup-step {
    display: flex;
    gap: 25px;
}

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.setup-step:last-child .step-content {
    border-bottom: none;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step-content > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.step-substeps {
    margin: 0;
    padding-left: 24px;
    color: var(--text-secondary);
}

.step-substeps li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.step-tip {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(247, 147, 30, 0.05);
    border-left: 3px solid var(--accent-orange);
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.step-tip svg {
    width: 20px;
    height: 20px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.step-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
}

.code-label {
    color: var(--text-muted);
    font-size: 14px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.step-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 10px;
    color: var(--accent-green);
}

.step-success svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Devices Grid (Setup Hub) */
.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.device-card {
    position: relative;
    display: block;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.device-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.device-popular {
    border-color: var(--accent-orange);
}

.device-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    background: var(--accent-orange);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.device-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 14px;
    margin-bottom: 20px;
}

.device-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent-orange);
}

.device-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.device-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.device-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.device-difficulty {
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    font-size: 12px;
}

.device-difficulty.easy {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
}

.device-difficulty.medium {
    background: rgba(247, 147, 30, 0.1);
    color: var(--accent-orange);
}

.device-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.device-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-orange);
    font-weight: 500;
    font-size: 14px;
}

.device-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.device-card:hover .device-link svg {
    transform: translateX(4px);
}

/* Setup Help Section */
.setup-help-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.help-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.help-text > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.help-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.help-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.help-feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
}

.help-buttons {
    display: flex;
    gap: 15px;
}

.help-card {
    padding: 30px 40px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    text-align: center;
}

.help-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 50%;
}

.help-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-orange);
}

.help-card h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.help-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
}

@media (max-width: 768px) {
    .setup-help-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .help-features {
        align-items: center;
    }
    
    .help-buttons {
        justify-content: center;
    }
}

/* ==========================================================================
   Template Parts
   ========================================================================== */

/* CTA Banner */
.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 40px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
}

.cta-banner h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.cta-banner p {
    color: var(--text-muted);
    margin: 0;
}

.cta-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
}

/* CTA Compact */
.cta-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 25px;
    background: rgba(247, 147, 30, 0.05);
    border: 1px solid rgba(247, 147, 30, 0.2);
    border-radius: 12px;
}

.cta-compact h3 {
    font-size: 1rem;
    margin: 0;
}

.cta-compact p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 5px 0 0;
}

/* Trust Badges */
.trust-badges-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.trust-badges-inline span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.trust-badges-inline svg {
    color: var(--accent-orange);
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}

.trust-badge svg {
    width: 32px;
    height: 32px;
    color: var(--accent-orange);
}

.trust-badge-text strong {
    display: block;
    font-size: 14px;
}

.trust-badge-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.trust-badges-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Device Icons Strip */
.device-icons-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.device-strip-label {
    font-size: 14px;
    color: var(--text-muted);
}

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

.device-strip-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    font-size: 13px;
}

.device-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.device-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
}

.device-icon-item:hover {
    border-color: var(--accent-orange);
    background: rgba(247, 147, 30, 0.05);
}

.device-icon-emoji {
    font-size: 28px;
}

.device-icon-name {
    font-size: 13px;
    text-align: center;
}
