/* Punjabi Mania - Public Front End Box Office Hub Modern Stylesheet */
:root {
    --boh-primary: #155eef;
    --boh-primary-hover: #175cd3;
    --boh-primary-light: #eff8ff;
    --boh-ink: #101828;
    --boh-ink-muted: #475467;
    --boh-faint: #667085;
    --boh-border: #eaecf0;
    --boh-border-subtle: #f2f4f7;
    --boh-bg-card: #ffffff;
    --boh-bg-subtle: #f9fafb;
    --boh-accent-green: #079455;
    --boh-accent-green-bg: #ecfdf3;
    --boh-accent-green-border: #abefc6;
    --boh-accent-amber: #b54708;
    --boh-accent-amber-bg: #fffaeb;
    --boh-accent-amber-border: #fedf89;
    --boh-shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.05);
    --boh-shadow-md: 0 4px 16px -2px rgba(16, 24, 40, 0.08), 0 2px 6px -2px rgba(16, 24, 40, 0.03);
    --boh-radius-lg: 16px;
    --boh-radius-md: 12px;
    --boh-radius-sm: 8px;
}

.pm-boh-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 16px 64px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--boh-ink);
}

/* Hero Banner */
.pm-boh-hero-card {
    background: linear-gradient(135deg, #0b1220 0%, #101828 100%);
    border-radius: var(--boh-radius-lg);
    padding: 36px 32px;
    margin-bottom: 28px;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.15);
    position: relative;
    overflow: hidden;
}

.pm-boh-hero-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.pm-boh-hero-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.pm-boh-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pm-boh-hero-card h1 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 850;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
    color: #ffffff;
    line-height: 1.1;
}

.pm-boh-hero-card p {
    font-size: 15px;
    color: #94a3b8;
    max-width: 720px;
    margin: 0;
    line-height: 1.55;
}

.pm-boh-disclaimer-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--boh-radius-md);
    padding: 10px 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.45;
}

.pm-boh-disclaimer-note strong {
    color: #ffffff;
}

/* Comparison KPI Grid */
.pm-boh-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.pm-boh-kpi-card {
    background: var(--boh-bg-card);
    border: 1px solid var(--boh-border);
    border-radius: var(--boh-radius-lg);
    padding: 22px 24px;
    box-shadow: var(--boh-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pm-boh-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--boh-shadow-md);
}

.pm-boh-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.pm-boh-kpi-title {
    font-size: 13px;
    font-weight: 780;
    color: var(--boh-faint);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pm-boh-delta-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.pm-boh-delta-badge.is-positive {
    background: var(--boh-accent-green-bg);
    color: var(--boh-accent-green);
    border: 1px solid var(--boh-accent-green-border);
}

.pm-boh-delta-badge.is-negative {
    background: var(--boh-accent-amber-bg);
    color: var(--boh-accent-amber);
    border: 1px solid var(--boh-accent-amber-border);
}

.pm-boh-delta-badge.is-neutral {
    background: var(--boh-bg-subtle);
    color: var(--boh-faint);
    border: 1px solid var(--boh-border);
}

.pm-boh-kpi-val {
    font-size: 32px;
    font-weight: 850;
    letter-spacing: -0.03em;
    color: var(--boh-ink);
    line-height: 1.1;
    margin-bottom: 8px;
}

.pm-boh-kpi-sub {
    font-size: 12px;
    color: var(--boh-ink-muted);
    font-weight: 500;
}

/* Card Sections */
.pm-boh-card {
    position: relative;
    background: var(--boh-bg-card);
    border: 1px solid var(--boh-border);
    border-radius: var(--boh-radius-lg);
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: var(--boh-shadow-sm);
    overflow: visible;
}

.pm-boh-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.pm-boh-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--boh-ink);
}

.pm-boh-card-title span.material-symbols-outlined {
    color: var(--boh-primary);
/* Active Interactive Chart Date & Collection Banner Legend */
.pm-boh-banner-active {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: 1px solid #334155 !important;
    border-radius: var(--boh-radius-md);
    padding: 18px 24px;
    margin-bottom: 20px;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.pm-boh-banner-date {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc !important;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
}

.pm-boh-banner-sub {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pm-boh-banner-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.pm-boh-banner-stat-item {
    text-align: right;
}

.pm-boh-banner-val {
    font-size: 1.5rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2px;
}

.pm-boh-banner-val.is-gross {
    color: #38bdf8 !important;
}

.pm-boh-banner-val.is-occ {
    color: #4ade80 !important;
}

@media (max-width: 640px) {
    .pm-boh-banner-active {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 18px;
    }
    .pm-boh-banner-stats {
        width: 100%;
        justify-content: space-between;
        border-top: 1px solid #334155;
        padding-top: 10px;
    }
    .pm-boh-banner-stat-item {
        text-align: left;
    }
}

/* Interactive Trajectory Chart */
.pm-boh-chart-wrapper {
    margin-top: 20px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding-top: 16px !important;
    padding-bottom: 12px !important;
    -webkit-overflow-scrolling: touch !important;
}

.pm-boh-bar-chart {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 14px !important;
    height: 250px !important;
    padding-top: 36px !important;
    padding-bottom: 14px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    min-width: 720px !important;
    background: repeating-linear-gradient(to bottom, transparent 0, transparent 44px, #f8fafc 44px, #f8fafc 45px) !important;
    border-radius: 8px 8px 0 0 !important;
    box-sizing: border-box !important;
}

.pm-boh-bar-col {
    flex: 1 1 0% !important;
    min-width: 44px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    position: relative !important;
    cursor: pointer !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    -webkit-tap-highlight-color: transparent !important;
}

.pm-boh-bar-col:hover {
    transform: translateY(-2px) !important;
}

.pm-boh-bar-val-top {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #475467 !important;
    margin-bottom: 8px !important;
    white-space: nowrap !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.pm-boh-bar-col.active .pm-boh-bar-val-top,
.pm-boh-bar-col:hover .pm-boh-bar-val-top {
    color: #0284c7 !important;
    font-weight: 850 !important;
    transform: translateY(-2px) !important;
}

.pm-boh-bar {
    width: 100% !important;
    max-width: 42px !important;
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%) !important;
    border-radius: 8px 8px 3px 3px !important;
    transition: height 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, box-shadow 0.2s ease !important;
    min-height: 20px !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15) !important;
}

.pm-boh-bar-col.active .pm-boh-bar,
.pm-boh-bar-col:hover .pm-boh-bar {
    background: linear-gradient(180deg, #0284c7 0%, #1e40af 100%) !important;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.35) !important;
}

.pm-boh-bar-label {
    margin-top: 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-align: center !important;
    white-space: nowrap !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    transition: color 0.2s ease, background 0.2s ease !important;
}

.pm-boh-bar-col.active .pm-boh-bar-label,
.pm-boh-bar-col:hover .pm-boh-bar-label {
    color: #0f172a !important;
    background: #e2e8f0 !important;
    font-weight: 800 !important;
}

/* Floating Hover & Active Tooltip */
.pm-boh-bar-tooltip {
    position: absolute !important;
    bottom: calc(100% + 12px) !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(6px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
    z-index: 90 !important;
    pointer-events: none !important;
}

.pm-boh-bar-col.active .pm-boh-bar-tooltip,
.pm-boh-bar-col:hover .pm-boh-bar-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.pm-boh-tt-date {
    font-weight: 800 !important;
    font-size: 12px !important;
    color: #38bdf8 !important;
    margin-bottom: 2px !important;
}

.pm-boh-tt-gross {
    font-weight: 850 !important;
    font-size: 14px !important;
    color: #ffffff !important;
}

.pm-boh-tt-occ {
    font-size: 11px !important;
    color: #4ade80 !important;
    font-weight: 700 !important;
    margin-top: 2px !important;
}

.pm-boh-chart-banner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-around !important;
    gap: 12px !important;
    background: var(--boh-bg-subtle) !important;
    border: 1px solid var(--boh-border-subtle) !important;
    border-radius: var(--boh-radius-md) !important;
    padding: 14px 20px !important;
    margin-top: 16px !important;
}

.pm-boh-detail-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.pm-boh-detail-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: var(--boh-primary-light) !important;
    color: var(--boh-primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pm-boh-detail-label {
    font-size: 11px !important;
    color: var(--boh-faint) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.pm-boh-detail-val {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--boh-ink) !important;
}

/* Active Movies in Theaters Section */
.pm-boh-active-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 16px !important;
}

.pm-boh-active-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--boh-radius-md) !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
    align-items: center !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
    color: inherit !important;
}

.pm-boh-active-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px -2px rgba(16, 24, 40, 0.08) !important;
    border-color: #b2ddff !important;
}

.pm-boh-active-poster {
    width: 64px !important;
    max-width: 64px !important;
    height: 90px !important;
    max-height: 90px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    background: #e5e7eb !important;
    flex-shrink: 0 !important;
}

.pm-boh-active-info {
    flex: 1;
    min-width: 0;
}

.pm-boh-active-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--boh-ink);
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-boh-active-meta {
    font-size: 12px;
    color: var(--boh-faint);
    margin-bottom: 8px;
}

.pm-boh-active-stat {
    font-size: 14px;
    font-weight: 800;
    color: var(--boh-primary);
}

.pm-boh-active-sub {
    font-size: 11px;
    color: var(--boh-ink-muted);
}

/* Rankings Section (Top Punjabi Blockbusters 2026) */
.pm-boh-rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.pm-boh-rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--boh-bg-subtle);
    border: 1px solid var(--boh-border-subtle);
    border-radius: var(--boh-radius-md);
    padding: 14px 20px;
    transition: background 0.15s ease;
}

.pm-boh-rank-item:hover {
    background: #f8fafc;
    border-color: var(--boh-border);
}

.pm-boh-rank-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 900;
    color: var(--boh-ink);
    background: #e2e8f0;
    flex-shrink: 0;
}

.pm-boh-rank-num.rank-1 {
    background: linear-gradient(135deg, #fef08a 0%, #eab308 100%);
    color: #713f12;
    box-shadow: 0 4px 10px rgba(234, 179, 8, 0.25);
}

.pm-boh-rank-num.rank-2 {
    background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
    color: #1e293b;
}

.pm-boh-rank-num.rank-3 {
    background: linear-gradient(135deg, #ffedd5 0%, #c2410c 100%);
    color: #ffffff;
}

.pm-boh-rank-poster {
    width: 42px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    background: #e5e7eb;
}

.pm-boh-rank-details {
    flex: 1;
    min-width: 0;
}

.pm-boh-rank-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--boh-ink);
    text-decoration: none;
}

.pm-boh-rank-title:hover {
    color: var(--boh-primary);
}

.pm-boh-rank-date {
    font-size: 12px;
    color: var(--boh-faint);
}

.pm-boh-rank-val {
    font-size: 18px;
    font-weight: 850;
    color: var(--boh-ink);
    text-align: right;
    white-space: nowrap;
}

/* Action Button */
.pm-boh-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--boh-primary);
    font-size: 13px;
    font-weight: 780;
    text-decoration: none;
    transition: color 0.15s ease;
}

.pm-boh-btn-link:hover {
    color: var(--boh-primary-hover);
}

/* ==========================================================================
   STRATEGIC GOOGLE ADSENSE CONTAINER STYLING
   ========================================================================== */
.pm-bo-ad-slot {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--boh-radius-lg);
    padding: 12px 16px;
    margin: 0 auto 28px;
    max-width: 970px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.pm-bo-ad-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-align: center;
}

.pm-bo-ad-top,
.pm-bo-ad-mid,
.pm-bo-ad-bottom {
    min-height: auto;
}

/* ==========================================================================
   PLEASANT LIGHT PAGE BACKGROUND & FULL-WIDTH FOOTER STYLING
   ========================================================================== */
body.page-type-box-office,
body {
    background-color: #f8fafc !important;
    background: #f8fafc !important;
    color: #0f172a !important;
}

.pm-boh-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 16px 40px;
    box-sizing: border-box;
    background: transparent !important;
}

/* Keep hero header in sleek dark blue gradient */
.pm-boh-hero-card {
    background: linear-gradient(135deg, #0b1220 0%, #101828 100%) !important;
    color: #ffffff !important;
    border-radius: var(--boh-radius-lg);
    padding: 36px 32px;
    margin-bottom: 24px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.15);
    position: relative;
    overflow: hidden;
}

/* Crisp white cards for KPI grid, trajectory chart, active movies grid & rankings outside hero header */
.pm-boh-card,
.pm-boh-kpi-card,
.pm-bo-ad-slot {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

/* Ensure footer is 100% full-width from edge to edge */
.pm-footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: #060911 !important;
    color: #94a3b8 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
}

.pm-footer .pm-container-fluid {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 32px !important;
    box-sizing: border-box !important;
}
