/**
 * SOCH WALE — Official Theme Stylesheet
 * Brand Identity: White (#FFFFFF) & Black (#111111) Minimalist Editorial Design
 */

/* 1. CSS VARIABLES & RESET */
:root {
    --sw-white: #FFFFFF;
    --sw-black: #111111;
    --sw-bg-light: #F5F5F5;
    --sw-border: #E5E5E5;
    --sw-border-hover: #111111;
    --sw-text-main: #111111;
    --sw-text-muted: #666666;
    --sw-accent-green: #2e7d32;
    --sw-accent-red: #c62828;
    --sw-accent-gold: #b78103;
    
    --sw-font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --sw-font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    --sw-container-width: 1240px;
    --sw-transition-fast: 0.2s ease;
    --sw-transition-normal: 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--sw-font-main);
    background-color: var(--sw-white);
    color: var(--sw-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: Skip Link */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--sw-black);
    color: var(--sw-white);
    clip: auto !important;
    clip-path: none;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sw-font-heading);
    color: var(--sw-black);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

a {
    color: var(--sw-black);
    text-decoration: none;
    transition: color var(--sw-transition-fast), border-color var(--sw-transition-fast);
}

a:hover {
    color: #444444;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Container */
.sw-container {
    width: 100%;
    max-width: var(--sw-container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.sw-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.sw-bg-light {
    background-color: var(--sw-bg-light);
}

/* Buttons */
.sw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all var(--sw-transition-fast);
}

.sw-btn-primary {
    background: var(--sw-black);
    color: var(--sw-white) !important;
    border-color: var(--sw-black);
}

.sw-btn-primary:hover {
    background: #333333;
    border-color: #333333;
}

.sw-btn-secondary {
    background: var(--sw-white);
    color: var(--sw-black) !important;
    border-color: var(--sw-border);
}

.sw-btn-secondary:hover {
    background: var(--sw-bg-light);
    border-color: var(--sw-black);
}

.sw-btn-sm {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

.sw-btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.sw-btn-block {
    display: flex;
    width: 100%;
}

.sw-btn-youtube {
    background: #FF0000;
    color: #ffffff !important;
}

.sw-btn-youtube:hover {
    background: #CC0000;
}

/* 2. HEADER & NAVIGATION */
.sw-site-header {
    background-color: var(--sw-white);
    border-bottom: 1px solid var(--sw-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.sw-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.sw-brand-text {
    font-family: var(--sw-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--sw-black);
}

.sw-main-navigation {
    display: none;
}

@media (min-width: 992px) {
    .sw-main-navigation {
        display: block;
    }
}

.sw-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
}

.sw-nav-menu a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sw-black);
    padding: 8px 0;
    position: relative;
}

.sw-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sw-black);
    transition: width var(--sw-transition-fast);
}

.sw-nav-menu a:hover::after,
.sw-nav-menu .current-menu-item > a::after {
    width: 100%;
}

.sw-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sw-action-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--sw-black);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background-color var(--sw-transition-fast);
}

.sw-action-btn:hover {
    background-color: var(--sw-bg-light);
}

.sw-account-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--sw-bg-light);
    border: 1px solid var(--sw-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sw-black);
    transition: all var(--sw-transition-fast);
}

.sw-account-pill:hover {
    background: var(--sw-black);
    color: var(--sw-white);
    border-color: var(--sw-black);
}

/* Mobile Toggle Hamburger */
.sw-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1010;
}

@media (min-width: 992px) {
    .sw-menu-toggle {
        display: none;
    }
}

.sw-bar {
    width: 100%;
    height: 2px;
    background-color: var(--sw-black);
    transition: all var(--sw-transition-fast);
}

/* Mobile Drawer */
.sw-mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--sw-white);
    z-index: 2000;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right var(--sw-transition-normal);
    display: flex;
    flex-direction: column;
}

.sw-mobile-drawer.active {
    right: 0;
}

.sw-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--sw-transition-normal);
}

.sw-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sw-mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--sw-border);
}

.sw-mobile-drawer-close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.sw-mobile-drawer-content {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.sw-mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sw-mobile-nav-list li {
    margin-bottom: 16px;
}

.sw-mobile-nav-list a {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    padding: 6px 0;
}

.sw-mobile-drawer-social {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--sw-border);
}

.sw-mobile-drawer-social h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--sw-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.sw-social-row {
    display: flex;
    gap: 15px;
}

/* Quick Search Bar */
.sw-search-modal {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--sw-white);
    border-bottom: 1px solid var(--sw-border);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    display: none;
    padding: 16px 0;
}

.sw-search-modal.active {
    display: block;
}

.sw-header-searchform {
    display: flex;
    align-items: center;
    position: relative;
}

.sw-search-field {
    width: 100%;
    padding: 12px 50px 12px 18px;
    font-size: 1rem;
    border: 1px solid var(--sw-border);
    border-radius: 6px;
    outline: none;
}

.sw-search-field:focus {
    border-color: var(--sw-black);
}

.sw-search-submit {
    position: absolute;
    right: 45px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--sw-black);
}

.sw-search-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: 12px;
    color: var(--sw-text-muted);
}

/* 3. HERO SLIDER (Responsive, Adaptive Ratio, Complete Mobile Visibility) */
.sw-hero-slider-section {
    position: relative;
    background-color: transparent;
    color: var(--sw-white);
    overflow: hidden;
    width: 100%;
}

.sw-slider-wrapper {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-areas: "slide";
    overflow: hidden;
    background: transparent;
}

.sw-slide {
    grid-area: slide;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.sw-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

.sw-slide-media-link,
.sw-slide-media-wrap {
    display: block;
    position: relative;
    width: 100%;
    line-height: 0;
}

.sw-slide-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 80vh;
}

.sw-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 17, 17, 0.75) 0%, rgba(17, 17, 17, 0.35) 60%, transparent 100%);
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.sw-slide-container {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
}

.sw-slide-content {
    max-width: 650px;
}

.sw-slide-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.sw-slide-title {
    color: var(--sw-white);
    font-size: clamp(1.4rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.15;
}

.sw-slide-subtitle {
    font-size: clamp(0.85rem, 1.4vw, 1.0625rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 18px;
    line-height: 1.45;
}

.sw-btn-hero {
    background: var(--sw-white);
    color: var(--sw-black) !important;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    transition: background var(--sw-transition-fast);
}

.sw-btn-hero:hover {
    background: #e8e8e8;
    color: var(--sw-black) !important;
}

.sw-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: var(--sw-white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--sw-transition-fast);
    z-index: 10;
}

.sw-slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.sw-slider-prev {
    left: 20px;
}

.sw-slider-next {
    right: 20px;
}

.sw-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.sw-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--sw-transition-fast);
}

.sw-slider-dot.active {
    background: var(--sw-white);
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .sw-slider-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .sw-slider-prev { left: 8px; }
    .sw-slider-next { right: 8px; }
    .sw-slider-dots { bottom: 8px; }
    .sw-slider-dot { width: 8px; height: 8px; }
    .sw-slider-dot.active { width: 18px; }
    .sw-slide-container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .sw-slide-eyebrow {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    .sw-slide-title {
        font-size: 1.15rem;
        margin-bottom: 4px;
    }
    .sw-slide-subtitle {
        font-size: 0.75rem;
        margin-bottom: 8px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .sw-btn-hero {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
}

/* 4. RESPONSIVE GRID SPECIFICATION */
/* Desktop/Laptop: 4 cards per row */
/* Tablet: 3 cards per row */
/* Mobile: 1 card per row */
.sw-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) and (min-width: 641px) {
    .sw-grid-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .sw-grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Section Header Bar */
.sw-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
}

@media (max-width: 640px) {
    .sw-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.sw-section-title {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.sw-section-subtitle {
    color: var(--sw-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.sw-btn-view-all {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--sw-black);
    white-space: nowrap;
    border-bottom: 2px solid var(--sw-black);
    padding-bottom: 2px;
}

.sw-sub-section-header {
    margin-bottom: 20px;
}

.sw-sub-title {
    font-size: 1.25rem;
    font-weight: 700;
}

/* 5. CARD COMPONENT STYLES */
.sw-card {
    background: var(--sw-white);
    border: 1px solid var(--sw-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--sw-transition-fast), box-shadow var(--sw-transition-fast), border-color var(--sw-transition-fast);
}

.sw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: #cccccc;
}

.sw-card-media {
    position: relative;
    overflow: hidden;
    background-color: var(--sw-bg-light);
    aspect-ratio: 16 / 9;
    width: 100%;
}

.sw-book-media {
    aspect-ratio: 2 / 3;
}

.sw-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.sw-card-media img,
.sw-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.sw-card:hover .sw-card-media img,
.sw-card:hover .sw-card-img {
    transform: scale(1.03);
}

.sw-card-category-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--sw-black);
    color: var(--sw-white);
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.4;
    vertical-align: middle;
}

.sw-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(17, 17, 17, 0.85);
    color: var(--sw-white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sw-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(17, 17, 17, 0.85);
    color: var(--sw-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.sw-card:hover .sw-play-icon {
    background: #FF0000;
    transform: translate(-50%, -50%) scale(1.1);
}

.sw-video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
}

.sw-book-pill-wrap {
    position: absolute;
    top: 12px;
    left: 12px;
}

.sw-badge-free {
    background: var(--sw-accent-green);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.sw-badge-paid {
    background: var(--sw-black);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.sw-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sw-card-meta {
    font-size: 0.75rem;
    color: var(--sw-text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sw-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.sw-card-title a {
    color: var(--sw-black);
}

.sw-card-title a:hover {
    color: #444;
}

.sw-card-excerpt {
    font-size: 0.875rem;
    color: var(--sw-text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
    flex: 1;
}

.sw-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--sw-border);
    padding-top: 14px;
    margin-top: auto;
}

.sw-price-tag {
    display: flex;
    flex-direction: column;
}

.sw-free-price {
    font-weight: 700;
    color: var(--sw-accent-green);
    font-size: 0.9375rem;
}

.sw-old-price {
    text-decoration: line-through;
    color: #999999;
    font-size: 0.75rem;
}

.sw-current-price {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--sw-black);
}

.sw-card-btn {
    margin-left: auto;
}

/* 6. SINGLE ARTICLE PAGE */
.sw-article-container {
    max-width: 820px;
}

.sw-entry-header {
    padding: 40px 0 25px 0;
}

.sw-article-category-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sw-text-muted);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.sw-article-headline {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .sw-article-headline {
        font-size: 1.85rem;
    }
}

.sw-article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sw-border);
}

.sw-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sw-author-info img {
    border-radius: 50%;
}

.sw-author-name {
    font-weight: 700;
    font-size: 0.9375rem;
    display: block;
}

.sw-post-date {
    font-size: 0.8125rem;
    color: var(--sw-text-muted);
}

.sw-read-estimate {
    font-size: 0.8125rem;
    color: var(--sw-text-muted);
    font-weight: 600;
}

.sw-featured-media-wrap {
    margin-bottom: 40px;
}

.sw-article-banner img {
    width: 100%;
    border-radius: 8px;
}

.sw-entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #222222;
}

.sw-entry-content p {
    margin-bottom: 1.6rem;
}

.sw-entry-content h2, .sw-entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.sw-entry-content blockquote {
    border-left: 3px solid var(--sw-black);
    margin: 2rem 0;
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--sw-text-muted);
}

/* Social Share Bar */
.sw-share-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
    border-top: 1px solid var(--sw-border);
    border-bottom: 1px solid var(--sw-border);
    margin: 40px 0;
}

.sw-share-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sw-share-buttons {
    display: flex;
    gap: 10px;
}

.sw-share-btn {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff !important;
}

.sw-share-wa { background: #25D366; }
.sw-share-fb { background: #1877F2; }
.sw-share-tw { background: #111111; }

.sw-author-bio-box {
    display: flex;
    gap: 20px;
    background: var(--sw-bg-light);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.sw-author-bio-box img {
    border-radius: 50%;
    align-self: flex-start;
}

.sw-bio-details h4 {
    margin: 0 0 6px 0;
    font-size: 1.125rem;
}

.sw-bio-details p {
    margin: 0;
    color: var(--sw-text-muted);
    font-size: 0.875rem;
}

/* 7. SINGLE VIDEO PAGE */
.sw-video-container {
    max-width: 960px;
    padding-top: 35px;
    padding-bottom: 50px;
}

.sw-video-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sw-badge-video-tag {
    background: #FF0000;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.sw-video-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.sw-video-player-wrap {
    background: #000000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sw-video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.sw-video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sw-video-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--sw-border);
    margin-bottom: 30px;
}

/* 8. SINGLE BOOK PAGE */
.sw-single-book-page {
    padding: 40px 0 60px 0;
}

.sw-book-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sw-back-link {
    font-weight: 600;
    font-size: 0.875rem;
}

.sw-book-showcase-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
}

@media (max-width: 860px) {
    .sw-book-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.sw-book-main-cover img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.sw-preview-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.sw-gallery-thumb {
    width: 70px;
    height: 95px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid var(--sw-border);
    cursor: pointer;
    transition: border-color var(--sw-transition-fast);
}

.sw-gallery-thumb.active,
.sw-gallery-thumb:hover {
    border-color: var(--sw-black);
}

.sw-single-book-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.sw-book-meta-strip {
    display: flex;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--sw-text-muted);
    margin-bottom: 25px;
}

.sw-book-purchase-card {
    background: #fdfdfd;
    border: 1px solid var(--sw-border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 35px;
}

.sw-single-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sw-black);
}

.sw-single-old-price {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.sw-discount-pill {
    background: #ffebee;
    color: #c62828;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 10px;
}

.sw-purchase-subtext {
    font-size: 0.875rem;
    color: var(--sw-text-muted);
    margin: 8px 0 20px 0;
}

.sw-jazzcash-assurance {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--sw-border);
}

/* 9. ARCHIVE HEADER & FILTERS */
.sw-archive-header-banner {
    background: var(--sw-bg-light);
    border-bottom: 1px solid var(--sw-border);
    padding: 50px 0;
}

.sw-archive-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.sw-archive-desc {
    color: var(--sw-text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

.sw-filter-pills-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.sw-pill {
    background: var(--sw-white);
    border: 1px solid var(--sw-border);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sw-black);
    transition: all var(--sw-transition-fast);
}

.sw-pill.active,
.sw-pill:hover {
    background: var(--sw-black);
    color: var(--sw-white);
    border-color: var(--sw-black);
}

/* Pagination */
.sw-pagination-wrap {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--sw-border);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
}

.page-numbers.current {
    background: var(--sw-black);
    color: var(--sw-white);
    border-color: var(--sw-black);
}

.page-numbers:hover:not(.current) {
    background: var(--sw-bg-light);
}

/* 10. COMMUNITY SECTION */
.sw-community-card {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sw-community-badge {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sw-text-muted);
    display: inline-block;
    margin-bottom: 10px;
}

.sw-community-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.sw-community-desc {
    color: var(--sw-text-muted);
    font-size: 1.0625rem;
    margin-bottom: 30px;
}

.sw-social-community-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sw-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sw-white);
    border: 1px solid var(--sw-border);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--sw-black);
    transition: all var(--sw-transition-fast);
}

.sw-social-pill:hover {
    background: var(--sw-black);
    color: var(--sw-white);
    border-color: var(--sw-black);
}

/* 11. FOOTER */
.sw-site-footer {
    background: var(--sw-white);
    border-top: 1px solid var(--sw-border);
    padding-top: 60px;
}

.sw-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

@media (max-width: 860px) {
    .sw-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .sw-footer-grid {
        grid-template-columns: 1fr;
    }
}

.sw-footer-logo {
    font-family: var(--sw-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    margin-bottom: 12px;
}

.sw-footer-desc {
    color: var(--sw-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 20px;
}

.sw-footer-social {
    display: flex;
    gap: 14px;
}

.sw-footer-social a {
    color: var(--sw-black);
    padding: 8px;
    border-radius: 50%;
    background: var(--sw-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--sw-transition-fast);
}

.sw-footer-social a:hover {
    background: var(--sw-black);
    color: var(--sw-white);
}

.sw-footer-heading {
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.sw-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sw-footer-links li {
    margin-bottom: 10px;
}

.sw-footer-links a {
    color: var(--sw-text-muted);
    font-size: 0.875rem;
    transition: color var(--sw-transition-fast);
}

.sw-footer-links a:hover {
    color: var(--sw-black);
}

.sw-footer-bottom {
    border-top: 1px solid var(--sw-border);
    padding: 20px 0;
}

.sw-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--sw-text-muted);
}

@media (max-width: 640px) {
    .sw-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* 12. ANIMATIONS & REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

