:root {
    --prudent-red: #DD221B;
    --border-color: #E5E5E5;
    --text-muted: #666666;
    --radius: 5px;
}
.right-col{
    padding-top: 0px;
}
.display-page-mt { margin-top: 30px; padding-bottom: 60px; }

/* NEWS TICKER */
.news-ticker-bar { background: var(--prudent-red); color: #fff; padding: 10px 0; font-size: 13px; font-weight: 700; }
.ticker-label { background: rgba(0,0,0,0.2); padding: 4px 10px; margin-right: 15px; border-radius: 3px; }

/* IMAGES ROUNDED */
img, .main-video-wrapper, .thumb-wrap, .prog-thumb, .pl-thumb, .reco-thumb {
    border-radius: var(--radius) !important;
}

/* LEFT COLUMN */
.main-video-wrapper {
    width: 927px; height: 483px; background: #000; position: relative; overflow: hidden;
}
.main-img-rounded { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.video-center-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 70px; height: 70px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.video-center-play i { font-size: 24px; color: #111; margin-left: 4px; }

.episode-info-box { padding: 25px 0; }
.ep-date-top { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.ep-main-title { font-size: 28px; font-weight: 700; margin: 10px 0; letter-spacing: -0.5px; }
.ep-meta { font-size: 14px; color: var(--text-muted); }

.share-row-line { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.share-txt { font-weight: 700; font-size: 14px; color: #373737; }
.share-btns-group { display: flex; gap: 10px; }
.s-btn { background: #fff; color: #373737; border: 1px solid #111; border-radius: 50px; padding: 8px 18px; font-size: 13px; font-weight: 600; cursor: pointer; }

.about-episode { margin: 30px 0; }
.about-episode h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.about-episode p { font-size: 16px; line-height: 22px; color: #333; }
.tag-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.tag { background: #F2F2F2; padding: 8px 18px; border-radius: 50px; font-size: 13px; color: #555; }

.reco-section { margin-top: 50px; }
.reco-section h3 { font-size: 18px; margin-bottom: 25px; }
.reco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reco-thumb { height: 160px; background: #eee; position: relative; margin-bottom: 12px; overflow: hidden; }
.reco-thumb img { width: 100%; height: 100%; object-fit: cover; }
.reco-time { font-size: 12px; color: #999; display: block; margin-bottom: 5px; }
.reco-card h4 { font-size: 16px; margin-bottom: 8px; }
.reco-card p { font-size: 13px; color: #666; line-height: 1.4; }

/* RIGHT COLUMN */
.show-sidebar-card { background: #1E1E1E; color: #fff; border-radius: var(--radius); overflow: hidden; }
.show-intro { padding: 30px; }
.show-intro h2 { font-size: 24px; margin-bottom: 10px; }
.show-intro p { font-size: 14px; color: #F6F6F6; line-height: 100%; margin-bottom: 15px; }
.show-stats { font-size: 14px; color: #7F919B; font-weight: 500; }

.playlist-container { padding: 30px; }
.playlist-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.playlist-head h3 { font-size: 16px; }
.playlist-head span { font-size: 13px; color: #666; }

.pl-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; text-decoration: none; color: inherit; }
.pl-num { font-size: 16px; font-weight: 800; color: #444; width: 25px; padding-top: 5px; }
.pl-num.red { color: var(--prudent-red); }
.pl-thumb { width: 160px; height: 96px; background: #333; flex-shrink: 0; position: relative; }
.pl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pl-txt h4 { font-size: 14px; line-height: 1.3; font-weight: 700; color: #fff; margin-top: 5px; }
.pl-date { font-size: 11px; color: #777; }
a.reco-card { display: block; text-decoration: none; color: inherit; }
a.pl-item:hover .pl-txt h4 { color: #fff; }
.episode-desc { font-size: 16px; line-height: 22px; color: #333; }
.episode-desc p { margin: 0 0 12px; }
.share-toast {
    position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
    background: #111; color: #fff; padding: 12px 20px; border-radius: 8px;
    font-size: 14px; z-index: 10000; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.share-toast.is-visible { opacity: 1; }

.load-more-pl { width: 100%; border: 1px solid #444; background: transparent; color: #fff; padding: 10px; border-radius: 50px; font-weight: 700; cursor: pointer; margin-top: 10px; }

.sidebar-share-box { margin-top: 30px; border: 1px solid var(--border-color); padding: 30px; border-radius: var(--radius); }
.sidebar-share-box h3 { font-size: 16px; margin-bottom: 8px; }
.sidebar-share-box p { font-size: 13px; color: #666; margin-bottom: 20px; }
.side-share-btns { display: flex; flex-direction: column; gap: 10px; }

/* MOBILE RESPONSIVE */
@media (max-width: 991px) {
    .main-content-flex { flex-direction: column; }
    .left-col, .right-col { width: 100% !important; }
    .main-video-wrapper { width: 100%; height: auto; aspect-ratio: 16/9; }
    .ep-main-title { font-size: 24px; }
    .share-row-line { justify-content: space-between; }
    .share-btns-group .s-btn { width: 40px; height: 40px; border-radius: 50%; font-size: 0; padding: 0; display: flex; align-items: center; justify-content: center; }
    .share-btns-group .s-btn i { font-size: 16px; }
    .reco-grid { grid-template-columns: 1fr; }
    .reco-thumb { height: 200px; }
}

/* Bottom Nav Styling (Floating) */
.mobile-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; height: 75px; background: #000;
    border-radius: 30px 30px 0 0; justify-content: space-around; align-items: center; z-index: 9999;
}
@media (max-width: 768px) { .mobile-bottom-nav { display: flex; } body { padding-bottom: 80px; } }

/* --- STRICT FIX FOR PLAYLIST THUMBNAILS --- */

.pl-thumb {
    position: relative !important; /* Critical: keeps overlays inside */
    width: 160px !important;
    height: 96px !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    flex-shrink: 0;
    display: block !important;
    background: #000;
}

.pl-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 5px !important;
}

/* Fix for the timing (52:05) */
.pl-time-badge {
    position: absolute !important;
    bottom: 5px !important;
    right: 5px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 5px !important;
    border-radius: 3px !important;
    z-index: 5 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

/* Fix for the play button circle */
.pl-play-sm {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 28px !important;
    height: 28px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 6 !important;
    margin: 0 !important;
}

/* Fix for the play icon triangle */
.pl-play-sm i {
    color: #000 !important;
    font-size: 10px !important;
    margin-left: 2px !important; /* Nuanced centering for triangle */
    display: block !important;
}

/* --- OVERLAY FIX FOR "YOU MIGHT ALSO LIKE" SECTION --- */
.reco-thumb {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
}

/* Fix for the playlist/bars icon in the center */
.play-sm {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 44px !important;
    height: 34px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 4px !important; /* Rectangular as per design */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    z-index: 5 !important;
}

/* Creates the three bars look if icon is missing, or styles FontAwesome bars icon */
.play-sm i, .play-sm::before {
    content: "\f0c9" !important; /* FontAwesome Bars Icon */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #111 !important;
    font-size: 14px !important;
}

/* Fix for the Episode Count badge (e.g. 80+ eps) */
.ep-count {
    position: absolute !important;
    bottom: 8px !important;
    right: 8px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 3px !important;
    z-index: 5 !important;
    display: block !important;
}

/* --- SIDEBAR SHARE BUTTONS (HORIZONTAL LINE FIX) --- */
.side-share-btns {
    display: flex !important;
    flex-direction: row !important; /* Force horizontal row */
    gap: 10px !important; /* As per Figma (10px gap) */
    flex-wrap: nowrap !important; /* Prevent wrapping to new line */
    overflow-x: auto; /* Allows scrolling if container is too small */
    padding-bottom: 5px;
}

.side-share-btns .s-btn {
    width: auto !important; /* Let text determine width */
    height: 37px !important; /* From Figma Layout */
    padding: 10px 20px !important; /* From Figma Layout */
    border-radius: 50px !important; /* From Figma Layout */
   
    color: #373737 !important;
    font-size: 13px !important;
    white-space: nowrap !important; /* Keep text on one line */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
}

.side-share-btns .s-btn i {
    margin-right: 8px !important;
}

