/* ============================================================
   PROGRAM ACARA RASIKA — FRONTEND STYLES
   Version: 9.0.0
   ------------------------------------------------------------
   CHANGELOG:
   v9.0.0 - 2026-09-18
     + NEW: Unified card — player + elementor 160462 dalam 1 container
            (.par-static-unified + .par-static-unified-card)
     + KEPT: Semua style v8.0.0
     + KEPT: Semua fix dari user (badge on-air merah, host avatar cover,
             wrapper tanpa margin, dll)

   v8.0.0 - 2026-09-18
     + RE-ADDED: Style AJAX mode (topbar-target, content-target, static-area)
     + KEPT: Tanpa skeleton

   v7.0.0 - 2026-09-18
     + REMOVED: Semua style AJAX mode

   v6.0.0 - 2026-09-18
     + REMOVED: SEMUA skeleton
   ============================================================ */

/* ===== WRAPPER ===== */
.par-current-show-wrapper {
    max-width: 100%;
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

.par-current-show-wrapper *,
.par-current-show-wrapper *::before,
.par-current-show-wrapper *::after {
    box-sizing: border-box;
}

/* ===== CARD UTAMA ===== */
.par-current-show {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.par-show-content {
    position: relative;
    padding: 30px;
    padding-bottom: 30px;
}

/* ============================================================
   AJAX MODE — WRAPPER & TARGETS
   ============================================================ */

.par-current-show-wrapper.par-ajax-mode {
    position: relative;
    display: block;
}

/* --- TOPBAR TARGET (AJAX) --- */
.par-current-show-wrapper.par-ajax-mode .par-show-topbar-target {
    display: block;
    position: relative;
    z-index: 2;
}

.par-current-show-wrapper.par-ajax-mode .par-show-topbar-target:empty {
    display: none;
}

/* ============================================================
   STATIC AREA — UNIFIED CARD (Player + Elementor 160462)
   Satu container menyatu
   ============================================================ */
.par-current-show-wrapper.par-ajax-mode .par-show-static-area.par-static-unified {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.par-static-unified-card {
    display: block;
    
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* Player di dalam unified card — tanpa border sendiri */
.par-static-unified-card .par-show-player-static {
    display: block;
    margin: 0;
    padding: 0;
}

.par-static-unified-card .rod-player-v2-wrapper {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 16px !important;
    color: #ffffff;
}

/* Elementor di dalam unified card — tanpa border sendiri */
.par-static-unified-card .par-current-show-elementor-after-player {
    margin: 0;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    background: transparent;
    position: relative;
    z-index: 1;
}

.par-static-unified-card .par-current-show-elementor-after-player > * {
    max-width: 100%;
}

.par-static-unified-card .par-current-show-elementor-after-player .elementor-widget-container {
    color: #ffffff;
}

/* --- CONTENT TARGET (AJAX: desc, progress, next, schedule) --- */
.par-current-show-wrapper.par-ajax-mode .par-show-content-target {
    display: block;
    position: relative;
    z-index: 1;
}

.par-current-show-wrapper.par-ajax-mode .par-show-content-target:empty {
    display: none;
}

/* ============================================================
   FADE-IN SELEKTIF — HANYA saat konten di-update
   ============================================================ */
.par-current-show-wrapper.par-ajax-mode .par-show-topbar-target.par-content-updated > * {
    animation: parContentFadeIn 0.4s ease;
}

.par-current-show-wrapper.par-ajax-mode .par-show-content-target.par-content-updated > * {
    animation: parContentFadeIn 0.4s ease;
}

.par-current-show-image-wrapper.par-image-ajax-mode .par-image-target.par-content-updated > * {
    animation: parContentFadeIn 0.4s ease;
}

@keyframes parContentFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.par-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    gap: 20px;
    flex-wrap: wrap;
}

.par-top-bar-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.par-top-bar-right {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

/* ============================================================
   STATUS BADGE + CATEGORY
   ============================================================ */
.par-show-status {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.par-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.par-badge-on-air {
    background: red;
    color: white;
    border: 1px solid rgba(255, 0, 0, 0.3);
    animation: parPulse 2s ease-in-out infinite;
}

.par-badge-upcoming {
    background: rgba(255, 200, 0, 0.15);
    color: #ffc800;
    border: 1px solid rgba(255, 200, 0, 0.3);
}

@keyframes parPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.par-live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: parLiveDot 1.5s ease-in-out infinite;
}

@keyframes parLiveDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

.par-category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(0, 204, 255, 0.1);
    color: #0cf;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
    border: 1px solid rgba(0, 204, 255, 0.2);
}

/* ============================================================
   TITLE
   ============================================================ */
.par-show-title--dark,
.par-top-bar-left .par-show-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.par-top-bar .par-show-title {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   TIME
   ============================================================ */
.par-show-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    flex-wrap: wrap;
}

.par-time-icon { font-size: 16px; }
.par-time-start,
.par-time-end {
    color: #0cf;
    font-weight: 700;
    font-family: monospace;
    font-size: 16px;
}

.par-time-sep { color: rgba(255, 255, 255, 0.3); }
.par-time-wib {
    color: white;
    font-size: 16px;
}

/* ============================================================
   DATE
   ============================================================ */
.par-show-date {
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 13px;
    flex-wrap: wrap;
}

.par-date-day    { color: white; font-weight: 600; }
.par-date-number { font-weight: 600; }
.par-date-month  { color: white; }
.par-date-year   { color: white; }

/* ============================================================
   HOSTS AVATARS
   ============================================================ */
.par-show-hosts-topbar {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.par-topbar-host {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 80px;
    text-align: center;
    transition: transform 0.25s ease;
    cursor: pointer;
}

.par-topbar-host:hover {
    transform: translateY(-3px);
}

.par-topbar-host-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 204, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    padding: 0;
    line-height: 0;
}

.par-topbar-host:hover .par-topbar-host-avatar {
    border-color: #0cf;
    box-shadow: 0 6px 24px rgba(0, 204, 255, 0.45);
    transform: scale(1.05);
}

.par-topbar-host-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 50%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.par-topbar-host-name {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: color 0.2s ease;
}

.par-topbar-host:hover .par-topbar-host-name {
    color: #0cf;
}

/* ============================================================
   SHOW INFO
   ============================================================ */
.par-show-info {
    color: #fff;
    margin-top: 0;
}

.par-show-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
    max-height: none;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.par-show-description p {
    margin: 0 0 8px 0;
}

/* ============================================================
   PLAYER V2 EMBED
   ============================================================ */
.par-player-v2-embed {
    margin: 18px 0;
    position: relative;
}

.par-player-v2-embed .par-player-v2 {
    margin: 0;
    border: 1px solid rgba(0, 204, 255, 0.15);
}

.par-player-v2-embed .par-player-header {
    background: rgba(0, 0, 0, 0.2);
}

.par-player-v2-embed .par-player-v2 .par-player-wrapper {
    background: rgba(0, 0, 0, 0.15);
}

.par-player-v2-noshow {
    max-width: 600px;
    margin: 25px auto 0;
    text-align: left;
}

.par-no-show .par-player-v2-embed .par-player-v2 {
    background: rgba(0, 0, 0, 0.4);
}

.par-player-v2-embed .par-audio-element {
    width: 100%;
    height: 54px;
    border-radius: 8px;
    outline: none;
}

.par-player-v2-embed .par-video-element {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    background: #000;
    display: block;
}

/* ============================================================
   PROGRESS
   ============================================================ */
.par-progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.par-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.par-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0cf, #2ef);
    border-radius: 3px;
    transition: width 0.5s ease;
    box-shadow: 0 0 12px rgba(0, 204, 255, 0.4);
}

.par-progress-text {
    color: #0cf;
    font-size: 13px;
    font-weight: 700;
    font-family: monospace;
    min-width: 45px;
    text-align: right;
}

/* ============================================================
   NEXT SHOW
   ============================================================ */
.par-next-show-container {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.par-next-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.par-next-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 204, 255, 0.04);
    border: 1px solid rgba(0, 204, 255, 0.1);
    border-radius: 12px;
    align-items: center;
    transition: all 0.3s ease;
}

.par-next-card:hover {
    background: rgba(0, 204, 255, 0.08);
    border-color: rgba(0, 204, 255, 0.2);
    transform: translateY(-2px);
}

.par-next-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.par-next-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.par-next-no-image {
    font-size: 32px;
    opacity: 0.3;
}

.par-next-info {
    flex: 1;
    min-width: 0;
}

.par-next-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0cf;
    font-size: 13px;
    font-weight: 600;
    font-family: monospace;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.par-next-clock { font-size: 14px; }
.par-next-wib { color: rgba(255, 255, 255, 0.3); font-size: 11px; }
.par-next-tomorrow {
    color: #ffc800;
    font-size: 11px;
    padding: 1px 6px;
    background: rgba(255, 200, 0, 0.15);
    border-radius: 8px;
}

.par-next-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.par-next-hosts {
    display: flex;
    gap: 0;
    align-items: center;
    padding-left: 4px;
}

.par-next-host {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #1a1a2e;
    margin-left: -8px;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease;
    position: relative;
}

.par-next-host:first-child {
    margin-left: 0;
}

.par-next-host:hover {
    transform: translateY(-2px) scale(1.1);
    z-index: 10;
}

.par-next-host img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.par-next-host-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 204, 255, 0.2);
    color: #0cf;
    font-size: 11px;
    font-weight: 700;
}

/* ============================================================
   TODAY SCHEDULE (collapsible)
   ============================================================ */
.par-today-schedule {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.par-today-schedule.par-schedule-collapsed .par-schedule-list {
    display: none;
}

.par-today-schedule.par-schedule-expanded .par-schedule-list {
    display: flex;
}

.par-schedule-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: opacity 0.2s;
    position: relative;
    z-index: 2;
}

.par-schedule-header:hover {
    opacity: 0.8;
}

.par-schedule-icon { font-size: 16px; }

.par-schedule-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex: 1;
}

.par-schedule-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.par-schedule-toggle-icon {
    color: #0cf;
    font-size: 12px;
    transition: transform 0.3s;
    display: inline-block;
    min-width: 14px;
    text-align: center;
}

.par-schedule-list {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.par-schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.par-schedule-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.par-schedule-item.par-schedule-current {
    background: rgba(0, 204, 255, 0.08);
    border-left-color: #0cf;
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.1);
}

.par-schedule-item.par-schedule-current .par-schedule-name {
    color: #0cf;
    font-weight: 700;
}

.par-schedule-item.par-schedule-past {
    opacity: 0.4;
}

.par-schedule-time {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 95px;
    font-family: monospace;
    font-size: 12px;
    flex-shrink: 0;
}

.par-schedule-start {
    color: #0cf;
    font-weight: 700;
}

.par-schedule-end {
    color: rgba(255, 255, 255, 0.4);
}

.par-schedule-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

.par-schedule-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.par-schedule-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.par-schedule-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.par-schedule-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.par-schedule-hosts {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.par-schedule-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* ============================================================
   NO SHOW
   ============================================================ */
.par-no-show {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0a0f, #1a1a2e);
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.par-no-show-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.par-no-show h3 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    margin: 0 0 8px 0;
}

.par-no-show p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    margin: 0 0 10px 0;
}

/* ============================================================
   TIMETABLE
   ============================================================ */
.par-timetable, .par-timetable-all {
    margin: 20px 0;
    color: #fff;
}

.par-day-section {
    margin-bottom: 30px;
}

.par-day-title {
    font-size: 20px;
    font-weight: 700;
    color: #0cf;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 204, 255, 0.2);
}

.par-programs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.par-program-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.2s;
}

.par-program-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 204, 255, 0.2);
}

.par-program-image {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.par-program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.par-program-content { flex: 1; min-width: 0; }

.par-program-time {
    font-family: monospace;
    font-size: 13px;
    color: #0cf;
    margin-bottom: 6px;
}

.par-program-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px 0;
}

.par-program-hosts {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 6px;
}

.par-program-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ============================================================
   TODAY SCHEDULE WRAPPER (shortcode par_today_schedule)
   ============================================================ */
.par-today-schedule-wrapper {
    background: linear-gradient(135deg, #0a0a0f, #1a1a2e);
    border-radius: 16px;
    padding: 25px;
    margin: 20px 0;
    color: #fff;
}

.par-today-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 10px;
}

.par-today-header h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

.par-today-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.par-today-programs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.par-today-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.par-today-item.current {
    background: rgba(0, 204, 255, 0.08);
    border-left-color: #0cf;
}

.par-today-item.past {
    opacity: 0.5;
}

.par-item-time {
    min-width: 100px;
    font-family: monospace;
    font-size: 13px;
    color: #0cf;
    font-weight: 600;
    flex-shrink: 0;
}

.par-item-time .sep {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

.par-item-time .end {
    color: rgba(255, 255, 255, 0.5);
}

.par-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.par-item-name {
    color: #fff;
    font-size: 14px;
}

.par-item-hosts {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.par-item-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
}

.par-item-badge.on-air {
    background: rgba(255, 0, 0, 0.15);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* ============================================================
   CURRENT SHOW IMAGE SHORTCODE
   ============================================================ */
.par-current-show-image-wrapper {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    line-height: 0;
    margin: 0;
}

.par-current-show-image,
.par-current-show-image-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

a.par-current-show-image-wrapper {
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.par-current-show-image-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 204, 255, 0.2);
}

/* ============================================================
   SHOW IMAGE — AJAX MODE
   ============================================================ */
.par-current-show-image-wrapper.par-image-ajax-mode {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    margin: 0;
}

.par-current-show-image-wrapper.par-image-ajax-mode .par-image-target {
    display: block;
    width: 100%;
    line-height: 0;
}

.par-current-show-image-wrapper.par-image-ajax-mode .par-image-target:empty {
    display: none;
}

.par-current-show-image-wrapper.par-image-ajax-mode .par-image-target img,
.par-current-show-image-wrapper.par-image-ajax-mode .par-image-target picture {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.par-current-show-image-wrapper.par-image-ajax-mode .par-image-target picture img {
    width: 100%;
    height: auto;
}

/* ============================================================
   ELEMENTOR FOOTER (fallback kalau di luar static area)
   ============================================================ */
.par-current-show-footer-elementor {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    position: relative;
    z-index: 1;
}

.par-current-show-footer-elementor > * {
    max-width: 100%;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    .par-show-content {
        padding: 20px;
    }

    .par-show-title--dark,
    .par-top-bar .par-show-title {
        font-size: 22px;
    }

    .par-show-time { font-size: 13px; }
    .par-time-start { font-size: 14px; }

    .par-top-bar {
        flex-wrap: wrap;
        gap: 10px;
        align-items: flex-start;
    }

    .par-top-bar-left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .par-top-bar-right {
        margin-left: auto;
        flex-shrink: 0;
        align-self: flex-start;
    }

    .par-show-hosts-topbar {
        gap: 10px;
        justify-content: flex-end;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .par-topbar-host { width: 70px; }
    .par-topbar-host-avatar {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }
    .par-topbar-host-name {
        font-size: 10px;
        max-width: 64px;
    }

    .par-player-v2-embed { margin: 14px 0; }
    .par-player-v2-embed .par-audio-element { height: 46px; }
    .par-player-v2-embed .par-video-element { max-height: 300px; }

    .par-next-card { padding: 12px; }
    .par-next-thumb { width: 60px; height: 60px; }
    .par-next-name { font-size: 14px; }

    .par-schedule-time {
        min-width: 75px;
        font-size: 11px;
    }
    .par-schedule-thumb {
        width: 32px;
        height: 32px;
    }
    .par-schedule-name { font-size: 12px; }

    .par-program-item { flex-direction: column; }
    .par-program-image {
        width: 100%;
        height: 140px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .par-show-content { padding: 16px; }

    .par-show-title--dark,
    .par-top-bar .par-show-title {
        font-size: 18px;
    }

    .par-show-time {
        font-size: 12px;
        gap: 6px;
    }
    .par-time-start { font-size: 13px; }
    .par-time-end { font-size: 12px; }

    .par-show-date { font-size: 11px; }

    .par-show-hosts-topbar {
        gap: 10px;
        justify-content: flex-end;
    }

    .par-topbar-host { width: 70px; }
    .par-topbar-host-avatar {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }
    .par-topbar-host-name {
        font-size: 9px;
        max-width: 56px;
    }

    .par-status-badge {
        padding: 5px 12px;
        font-size: 10px;
    }

    .par-category-badge {
        font-size: 10px;
        padding: 3px 10px;
    }

    .par-player-v2-embed .par-player-header { padding: 10px 12px; }
    .par-player-v2-embed .par-player-wrapper { padding: 10px 12px; }
    .par-player-v2-embed .par-audio-element { height: 42px; }
    .par-player-v2-embed .par-video-element { max-height: 220px; }
    .par-player-v2-noshow { margin-top: 15px; }

    .par-schedule-time {
        min-width: 65px;
        font-size: 10px;
    }
    .par-schedule-thumb { display: none; }
    .par-schedule-count { display: none; }

    .par-next-thumb { width: 50px; height: 50px; }
    .par-next-name { font-size: 13px; }
    .par-next-host { width: 26px; height: 26px; }

    .par-current-show-image-wrapper.par-image-ajax-mode .par-image-target img,
    .par-current-show-image-wrapper.par-image-ajax-mode .par-image-target picture {
        border-radius: 8px;
    }
}

/* ============================================================
   RESPONSIVE — EXTRA SMALL (≤ 380px)
   ============================================================ */
@media (max-width: 380px) {
    .par-show-hosts-topbar {
        gap: 8px;
    }
    .par-topbar-host { width: 48px; }
    .par-topbar-host-avatar {
        width: 48px;
        height: 48px;
        border-width: 1.5px;
    }
    .par-topbar-host-name {
        font-size: 8px;
        max-width: 48px;
    }
}

/* ============================================================
   PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .par-badge-on-air,
    .par-live-dot,
    .par-current-show-wrapper.par-ajax-mode .par-show-topbar-target.par-content-updated > *,
    .par-current-show-wrapper.par-ajax-mode .par-show-content-target.par-content-updated > *,
    .par-current-show-image-wrapper.par-image-ajax-mode .par-image-target.par-content-updated > * {
        animation: none !important;
    }
}