:root {
    --wdwt-bg: #0B0B0D;
    --wdwt-surface: #141417;
    --wdwt-border: #27272A;
    --wdwt-text: #FFFFFF;
    --wdwt-text-soft: #F5F5F5;
    --wdwt-muted: #A1A1AA;
    --wdwt-subtle: #71717A;
    --wdwt-red: #E63946;
    --wdwt-red-hover: #FF4B57;
}

body.single-movie {
    background-color: var(--wdwt-bg) !important;
    color: var(--wdwt-text-soft);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
}

.wdwt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.wdwt-hero {
    position: relative;
    background: var(--wdwt-bg);
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    padding: 60px 0;
    overflow: hidden;
}

.wdwt-backdrop-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wdwt-backdrop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.wdwt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 11, 13, 0.4) 0%, rgba(11, 11, 13, 0.85) 65%, #0B0B0D 100%),
                linear-gradient(90deg, #0B0B0D 0%, rgba(11, 11, 13, 0.7) 40%, rgba(11, 11, 13, 0.4) 100%);
}

.wdwt-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: flex-end;
    width: 100%;
}

.wdwt-poster-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stretched Hero Metadata Spacing */
.wdwt-movie-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: var(--wdwt-text);
    line-height: 1.1;
    margin: 0 0 20px 0 !important; /* Spacing after Title */
    letter-spacing: -0.02em;
}

.wdwt-meta-line {
    font-size: 16px;
    color: var(--wdwt-muted);
    margin-bottom: 16px !important; /* Spacing after Year/Runtime */
    font-weight: 500;
}

.wdwt-genres {
    font-size: 15px;
    color: var(--wdwt-muted);
    margin-bottom: 28px !important; /* Spacing after Genre */
}

.wdwt-genres a {
    color: var(--wdwt-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.wdwt-genres a:hover {
    color: var(--wdwt-red);
}

/* Rating Line (Hero) */
.wdwt-rating-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 32px !important; /* Spacing after Rating Symbol */
    gap: 12px;
}

.wdwt-symbol-img {
    display: inline-block !important;
    vertical-align: middle !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wdwt-symbol-fallback {
    color: var(--wdwt-red);
    font-weight: 900;
    display: inline-block;
    line-height: 1;
}

.wdwt-rating-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--wdwt-text);
}

.wdwt-rating-max {
    font-size: 15px;
    color: var(--wdwt-muted);
    align-self: flex-end;
    margin-bottom: 3px;
}

/* Red Kicker Headers */
.wdwt-section-kicker {
    display: block;
    color: var(--wdwt-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px !important; /* Spacing after "THE WHY" Header */
}

/* THE WHY Block with Red Quote Line */
.wdwt-the-why-block {
    margin-bottom: 28px !important; /* Spacing after "THE WHY" section */
    border-left: 3px solid #E63946 !important;
    padding-left: 18px !important;
}

.wdwt-the-why-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--wdwt-text);
    margin: 0 0 12px 0 !important; /* Spacing between "The Why" text & mini desc */
    line-height: 1.5;
}

.wdwt-mini-desc {
    font-size: 15px;
    color: var(--wdwt-muted);
    margin: 0 !important;
    max-width: 650px;
    line-height: 1.6;
}

/* Main Layout */
.wdwt-main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 80px;
}

.wdwt-take-section {
    margin-bottom: 48px;
}

.wdwt-take-body {
    font-size: 18px;
    line-height: 1.78;
    color: var(--wdwt-text-soft);
}

.wdwt-take-body p {
    margin-top: 0;
    margin-bottom: 24px;
}

.wdwt-aftertaste-box {
    background: var(--wdwt-surface);
    border: 1px solid var(--wdwt-border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
}

.wdwt-aftertaste-body {
    font-size: 18px;
    line-height: 1.75;
    color: var(--wdwt-text-soft);
}

.wdwt-aftertaste-body p {
    margin-top: 0;
    margin-bottom: 20px;
}

.wdwt-aftertaste-body p:last-child {
    margin-bottom: 0;
}

/* Sidebar */
.wdwt-sidebar-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--wdwt-red);
    letter-spacing: 0.08em;
    margin: 0 0 20px 0;
}

.wdwt-card-mini {
    display: flex;
    gap: 16px;
    text-decoration: none;
    margin-bottom: 20px;
    background: var(--wdwt-surface);
    border: 1px solid var(--wdwt-border);
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.2s, transform 0.2s;
}

.wdwt-card-mini:hover {
    border-color: var(--wdwt-red);
    transform: translateY(-2px);
}

.wdwt-card-thumb {
    position: relative;
    width: 70px;
    aspect-ratio: 2 / 3;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}

.wdwt-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar Card Info Column */
.wdwt-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
}

.wdwt-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--wdwt-text);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.wdwt-card-meta {
    font-size: 13px;
    color: var(--wdwt-muted);
    margin: 0;
}

/* Sidebar Card — Rating Line (symbol + number under year/type) */
.wdwt-card-rating-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    line-height: 1;
}

.wdwt-card-rating-line .wdwt-symbol-img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    display: inline-block !important;
    vertical-align: middle;
}

.wdwt-card-rating-line .wdwt-symbol-fallback {
    font-size: 18px;
    font-weight: 900;
    color: var(--wdwt-red);
    line-height: 1;
}

.wdwt-card-rating-num {
    font-size: 16px;
    font-weight: 800;
    color: var(--wdwt-text);
    line-height: 1;
}

.wdwt-card-rating-max {
    font-size: 12px;
    font-weight: 600;
    color: var(--wdwt-muted);
    line-height: 1;
    align-self: flex-end;
    margin-bottom: 1px;
}

.wdwt-no-related {
    color: var(--wdwt-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .wdwt-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .wdwt-poster-col {
        width: 200px;
    }

    .wdwt-main-grid {
        grid-template-columns: 1fr;
    }

    .wdwt-sidebar {
        margin-top: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wdwt-card-mini {
        transition: none;
    }
}