/* ================================================================
   People Say — "People's Voice" Section
   Design: Mann Ki Baat style
   Background: Sangeet Som photo transparent cutout on right side
   Layout: Mic icon left-aligned directly with first thumbnail card
   ================================================================ */

/* ── Section shell ─────────────────────────────────────────── */
body.public-home-layout .campaign-home-page .home-people-slot #people-say.psm-media-section {
    --psm-orange: #f45112;
    position: relative !important;
    overflow: hidden !important;
    padding: 28px 0 24px !important;
    background-color: #fffaf7 !important;
    background-image: linear-gradient(135deg, #ffffff 0%, #fff7f2 100%) !important;
}

/* On Desktop screens (>= 1024px): Sangeet Som transparent cutout photo in right area */
@media (min-width: 1024px) {
    body.public-home-layout .campaign-home-page .home-people-slot #people-say.psm-media-section {
        background-image: 
            url('/Content/images/auth/sangeet-som-auth-nobg.png?v=20260918_v600'),
            linear-gradient(to right, #ffffff 0%, #ffffff 60%, #fff6ef 76%, #ffebd9 100%) !important;
        background-repeat: no-repeat, no-repeat !important;
        background-position: right 24px bottom 0px, center center !important;
        background-size: auto 98%, cover !important;
    }
}

/* Hide legacy overlay */
body.public-home-layout .campaign-home-page .home-people-slot #people-say.psm-media-section::before {
    display: none !important;
}

body.public-home-layout .campaign-home-page .home-people-slot #people-say .psm-media-shell {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

@media (min-width: 1024px) {
    body.public-home-layout .campaign-home-page .home-people-slot #people-say .psm-media-shell {
        max-width: 65% !important;
        margin-right: auto !important;
        margin-left: 0 !important;
        padding-left: 32px !important;
    }
}

/* ── Editorial layout: clean left-aligned flow ──────────── */
#people-say .psm-editorial-layout {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

/* ── Mic icon — left aligned directly with first video card ── */
#people-say .psm-editorial-mic {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 52px !important;
    color: #f45112 !important;
    overflow: visible !important;
    margin-bottom: 0 !important;
    margin-top: 2px !important;
    flex: 0 0 auto !important;
    filter: drop-shadow(0 4px 8px rgba(244, 81, 18, 0.25)) !important;
}

#people-say .psm-editorial-mic svg {
    width: 42px !important;
    height: 50px !important;
    display: block !important;
    color: #f45112 !important;
    overflow: visible !important;
}

/* ── Content column ─────────────────────────────────────────── */
#people-say .psm-editorial-content {
    width: 100% !important;
    min-width: 0 !important;
}

/* Header container: Mic icon + text block side-by-side */
#people-say .psm-header-container {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
}

#people-say .psm-header-text-block {
    display: block !important;
    flex: 1 1 auto !important;
}

/* Kicker: "Play the Latest" */
#people-say .psm-sub-kicker {
    display: block !important;
    color: #1e293b !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 0 4px 0 !important;
    letter-spacing: 0 !important;
}

/* Title Row: "People's Voice" + orange circle arrow */
#people-say .psm-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}

#people-say .psm-main-title {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #f45112 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
}

#people-say .psm-title-cta-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #f45112 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(244, 81, 18, 0.35) !important;
    flex: 0 0 auto !important;
    transition: transform 0.2s ease !important;
}

#people-say .psm-title-cta-arrow i { color: #ffffff !important; }
#people-say .psm-title-cta-arrow:hover { transform: scale(1.1) !important; }

/* Waveform + Share Voice on same horizontal row */
#people-say .psm-waveform-action-row {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}

#people-say .psm-editorial-waveform {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    height: 26px !important;
    flex: 0 0 auto !important;
}

#people-say .psm-editorial-waveform span {
    width: 3px !important;
    border-radius: 4px !important;
    background: #f45112 !important;
    animation: psmWavePulse 1.4s infinite ease-in-out alternate;
}

#people-say .psm-editorial-waveform span:nth-child(1),
#people-say .psm-editorial-waveform span:nth-child(9),
#people-say .psm-editorial-waveform span:nth-child(12) { height: 8px; background: #cbd5e1; animation-delay: 0.1s; }
#people-say .psm-editorial-waveform span:nth-child(2),
#people-say .psm-editorial-waveform span:nth-child(8),
#people-say .psm-editorial-waveform span:nth-child(11) { height: 16px; animation-delay: 0.3s; }
#people-say .psm-editorial-waveform span:nth-child(3),
#people-say .psm-editorial-waveform span:nth-child(7),
#people-say .psm-editorial-waveform span:nth-child(10) { height: 24px; animation-delay: 0.5s; }
#people-say .psm-editorial-waveform span:nth-child(4),
#people-say .psm-editorial-waveform span:nth-child(6) { height: 14px; background: #cbd5e1; animation-delay: 0.2s; }
#people-say .psm-editorial-waveform span:nth-child(5) { height: 26px; animation-delay: 0.4s; }

@keyframes psmWavePulse {
    0%   { transform: scaleY(0.4); opacity: 0.7; }
    100% { transform: scaleY(1.1); opacity: 1; }
}

/* Share Voice button */
#people-say .psm-share-voice-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 36px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1.5px solid #f45112 !important;
    background: #ffffff !important;
    color: #f45112 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    transition: all .2s !important;
    flex: 0 0 auto !important;
}

#people-say .psm-share-voice-btn:hover {
    background: #fff3ed !important;
    transform: translateY(-2px) !important;
}

/* ── Carousel wrapper ───────────────────────────────────────── */
#people-say .psm-carousel-wrap {
    position: relative;
    margin-top: 16px;
}

/* Side-arrows flanking the scroll area */
#people-say .psm-carousel-with-arrows {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

#people-say .psm-carousel {
    flex: 1 1 auto !important;
    overflow-x: auto;
    padding: 4px 0 8px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    min-width: 0;
}

#people-say .psm-carousel::-webkit-scrollbar { display: none; }

#people-say .psm-carousel-track {
    display: flex;
    gap: 14px;
    width: max-content;
    min-width: 100%;
}

/* Cards */
#people-say .psm-card-item {
    flex: 0 0 170px;
    width: 170px;
    min-width: 170px;
    max-width: 170px;
}

#people-say .psm-card-inner {
    overflow: hidden;
    border-radius: 12px;
    border: none;
    background: transparent;
    box-shadow: none;
}

#people-say .psm-card-media {
    position: relative !important;
    aspect-ratio: 16 / 9 !important;
    height: 115px !important;
    min-height: 115px !important;
    max-height: 115px !important;
    width: 100% !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
    cursor: pointer;
}

#people-say .psm-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px !important;
    transform: scale(1.18) !important;
    transition: transform .3s ease !important;
}

#people-say .psm-card-inner:hover .psm-card-media img {
    transform: scale(1.24) !important;
}

/* Play button — bottom-right of thumbnail */
#people-say .psm-play-overlay {
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background: transparent !important;
}

#people-say .psm-play-btn {
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    left: auto !important;
    top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #f45112 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    padding-left: 2px !important;
    box-shadow: 0 4px 10px rgba(244,81,18,0.4) !important;
}

#people-say .psm-card-body {
    padding: 8px 2px 0;
    background: transparent;
}

#people-say .psm-person-name {
    margin: 0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Arrow prev/next buttons */
#people-say .psm-arrow-btn {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.9) !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all .2s !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}

#people-say .psm-arrow-btn:hover {
    border-color: #f45112 !important;
    background: #f45112 !important;
    color: #fff !important;
}

/* Hide old elements */
#people-say .psm-carousel-edge-controls { display: none !important; }
#people-say .psm-leader-portrait { display: none !important; }
#people-say .psm-editorial-abstract { display: none !important; }
#people-say .psm-quote-badge { display: none !important; }
#people-say .psm-header-action-block { display: none !important; }

/* ── LIGHTBOX ───────────────────────────────────────────────── */
.people-say-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    box-sizing: border-box !important;
}

.people-say-lightbox.is-open { display: flex !important; }

.people-say-lightbox .psm-lightbox-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(8,12,20,0.85) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 1 !important;
    cursor: pointer !important;
}

.people-say-lightbox .psm-video-dialog {
    position: relative !important;
    z-index: 2 !important;
    width: min(720px,92vw) !important;
    max-height: calc(100dvh - 48px) !important;
    margin: auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #0f172a !important;
    box-shadow: 0 25px 60px -12px rgba(0,0,0,0.7) !important;
    display: flex !important;
    flex-direction: column !important;
}

.people-say-lightbox .psm-video-frame {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16/9 !important;
    max-height: min(52vh,380px) !important;
    background: #000 !important;
    overflow: hidden !important;
}

.people-say-lightbox .psm-video-frame video,
.people-say-lightbox .psm-video-frame iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    object-fit: contain !important;
}

.people-say-lightbox .psm-video-close {
    position: absolute !important;
    z-index: 10 !important;
    top: 12px !important;
    right: 12px !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 50% !important;
    background: rgba(15,23,42,0.8) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
}

.people-say-lightbox .psm-video-close:hover {
    background: #f45112 !important;
    transform: scale(1.08) !important;
}

/* ================================================================
   TABLET (768px – 1024px)
   ================================================================ */
@media (min-width: 768px) and (max-width: 1099.98px) {
    body.public-home-layout .campaign-home-page .home-people-slot #people-say .psm-media-shell {
        max-width: 72% !important;
    }
}

/* ================================================================
   MOBILE (< 768px) — Compact, no bg image cutout
   ================================================================ */
@media (max-width: 767.98px) {
    body.public-home-layout .campaign-home-page .home-people-slot #people-say.psm-media-section {
        padding: 18px 0 18px !important;
        background-image: none !important;
        background-color: #fffaf7 !important;
    }

    body.public-home-layout .campaign-home-page .home-people-slot #people-say.psm-media-section::before {
        display: none !important;
    }

    body.public-home-layout .campaign-home-page .home-people-slot #people-say .psm-media-shell {
        max-width: 100% !important;
        padding: 0 14px !important;
    }

    /* Mic — contained, no overflow */
    #people-say .psm-editorial-mic {
        flex: 0 0 60px !important;
        width: 60px !important;
        max-width: 60px !important;
        padding-top: 2px !important;
        overflow: hidden !important;
    }

    #people-say .psm-editorial-mic svg {
        width: 52px !important;
        height: 72px !important;
        max-width: 52px !important;
    }

    #people-say .psm-editorial-layout {
        gap: 10px !important;
        align-items: flex-start !important;
    }

    #people-say .psm-sub-kicker {
        font-size: 11px !important;
        margin-bottom: 2px !important;
    }

    #people-say .psm-main-title {
        font-size: 22px !important;
    }

    #people-say .psm-title-cta-arrow {
        width: 26px !important;
        height: 26px !important;
        font-size: 13px !important;
    }

    #people-say .psm-title-row {
        gap: 7px !important;
        margin-bottom: 6px !important;
    }

    #people-say .psm-waveform-action-row {
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }

    #people-say .psm-editorial-waveform {
        height: 20px !important;
        gap: 2px !important;
    }

    #people-say .psm-editorial-waveform span {
        width: 2px !important;
    }

    #people-say .psm-share-voice-btn {
        font-size: 9px !important;
        min-height: 28px !important;
        padding: 0 10px !important;
        gap: 5px !important;
    }

    #people-say .psm-carousel-wrap {
        margin-top: 12px !important;
    }

    #people-say .psm-carousel-with-arrows {
        gap: 5px !important;
    }

    #people-say .psm-card-item {
        flex: 0 0 130px !important;
        width: 130px !important;
        min-width: 130px !important;
        max-width: 130px !important;
    }

    #people-say .psm-card-media {
        height: 88px !important;
        min-height: 88px !important;
        max-height: 88px !important;
    }

    #people-say .psm-play-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 13px !important;
        right: 5px !important;
        bottom: 5px !important;
    }

    #people-say .psm-arrow-btn {
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
    }

    #people-say .psm-person-name {
        font-size: 11px !important;
    }
}
