/* ==========================================================================
   PVM MEDIA PAGE - Multi-channel Hub & Pressroom Stylesheet
   Designed to match the Editorial Luxury Aesthetic of the Homepage
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&family=Quicksand:wght@500;600;700;800&display=swap');

/* Scope within #main.pvm-media to override legacy styles reliably */
#main.pvm-media {
    --pvm-gold: #C49A3E;
    --pvm-gold-dark: #B88932;
    --pvm-gold-light: #E2B961;
    --pvm-charcoal: #2D2721;
    --pvm-charcoal-light: #4A4036;
    --pvm-muted: #655D53;
    --pvm-cream-bg: #FAF8F5;
    --pvm-cream-card: #FFFFFF;
    --pvm-cream-border: #EAE4D9;
    --pvm-cream-border-subtle: #F0E9DC;
    --pvm-cream-soft: #F5EFE6;
    --pvm-shadow-sm: 0 2px 10px rgba(45, 39, 33, 0.04);
    --pvm-shadow-md: 0 8px 30px rgba(45, 39, 33, 0.07);
    --pvm-shadow-lg: 0 16px 45px rgba(45, 39, 33, 0.12);
    --pvm-radius-lg: 16px;
    --pvm-radius-md: 12px;
    --pvm-radius-sm: 8px;

    background-color: var(--pvm-cream-bg) !important;
    color: var(--pvm-charcoal) !important;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    padding-bottom: 60px;
    line-height: 1.7;
}

#main.pvm-media *,
#main.pvm-media *::before,
#main.pvm-media *::after {
    box-sizing: border-box;
}

#main.pvm-media [hidden] {
    display: none !important;
}

/* Typography Overrides */
#main.pvm-media :where(p, a, span, div, button, strong, small, em, figcaption, time, label) {
    font-family: 'Quicksand', sans-serif !important;
    letter-spacing: normal;
    text-transform: none;
    word-spacing: normal;
}

#main.pvm-media :where(h1, h2, h3, h4) {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--pvm-charcoal);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

#main.pvm-media a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

#main.pvm-media a:hover {
    color: var(--pvm-gold);
}

#main.pvm-media section[id] {
    scroll-margin-top: 130px;
}

/* Layout Container */
#main.pvm-media .pm-container {
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 20px;
    width: 100%;
}

/* Breadcrumb */
#main.pvm-media .pm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 0 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pvm-muted);
}
#main.pvm-media .pm-breadcrumb a {
    color: var(--pvm-muted);
}
#main.pvm-media .pm-breadcrumb a:hover {
    color: var(--pvm-gold);
}
#main.pvm-media .pm-breadcrumb [aria-current="page"] {
    color: var(--pvm-charcoal);
    font-weight: 700;
}
#main.pvm-media .pm-breadcrumb-sep {
    color: #D3C7B5;
    font-size: 11px;
}

/* Kicker & Headers */
#main.pvm-media .pm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pvm-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase !important;
    margin-bottom: 12px;
}
#main.pvm-media .pm-kicker-line {
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background: currentColor;
}

#main.pvm-media .pm-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}
#main.pvm-media .pm-section-title {
    font-size: clamp(28px, 3.2vw, 38px);
    margin-bottom: 12px;
}
#main.pvm-media .pm-section-desc {
    color: var(--pvm-muted);
    font-size: 15px;
    margin: 0;
}

/* ==========================================================================
   1. HERO SECTION (Editorial Intro + Featured Spotlight Card)
   ========================================================================== */
#main.pvm-media .pm-hero {
    position: relative;
    isolation: isolate;
    background: #211e19;
    border: none;
    border-bottom: 1px solid #4a3d2e;
    border-radius: 0;
    box-shadow: 0 20px 48px #30231620;
    width: 100%;
    padding: 96px max(32px, calc((100% - 1240px) / 2)) 0;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    column-gap: 50px;
    row-gap: 52px;
    align-items: end;
    margin-bottom: 40px;
    overflow: hidden;
    color: #fff8ed;
}
#main.pvm-media .pm-hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    z-index: -2;
}
#main.pvm-media .pm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #171612ed 0%, #171612b8 42%, #17161218 100%),
                linear-gradient(0deg, #171612db, transparent 55%);
    pointer-events: none;
    z-index: -1;
}

#main.pvm-media .pm-hero-copy {
    position: relative;
    z-index: 1;
}

#main.pvm-media .pm-hero-title {
    font-size: clamp(34px, 3.8vw, 48px);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
#main.pvm-media .pm-hero-title em {
    display: block;
    color: var(--pvm-gold);
    font-style: italic;
    font-weight: 600;
}

#main.pvm-media .pm-hero-desc {
    font-size: 15.5px;
    color: var(--pvm-muted);
    line-height: 1.75;
    margin-bottom: 24px;
}

/* Hero Stats Bar */
#main.pvm-media .pm-hero-stats {
    display: flex;
    gap: 24px;
    padding-block: 16px;
    margin-bottom: 24px;
    border-top: 1px solid var(--pvm-cream-border-subtle);
    border-bottom: 1px solid var(--pvm-cream-border-subtle);
}
#main.pvm-media .pm-stat-item strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--pvm-charcoal);
    line-height: 1.2;
}
#main.pvm-media .pm-stat-item span {
    font-size: 12px;
    font-weight: 600;
    color: var(--pvm-muted);
}

/* Hero CTA Buttons */
#main.pvm-media .pm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

#main.pvm-media .pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}
#main.pvm-media .pm-btn-primary {
    background: var(--pvm-charcoal);
    color: #FFFFFF;
}
#main.pvm-media .pm-btn-primary:hover {
    background: var(--pvm-gold);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(196, 154, 62, 0.3);
}

#main.pvm-media .pm-btn-outline {
    background: transparent;
    color: var(--pvm-charcoal);
    border-color: var(--pvm-cream-border);
}
#main.pvm-media .pm-btn-outline:hover {
    border-color: var(--pvm-gold);
    color: var(--pvm-gold);
    background: #FFFFFF;
    transform: translateY(-2px);
}

/* Featured Spotlight Video Card */
#main.pvm-media .pm-spotlight-card {
    position: relative;
    background: #000000;
    border-radius: var(--pvm-radius-md);
    overflow: hidden;
    box-shadow: var(--pvm-shadow-lg);
    aspect-ratio: 16 / 10;
    cursor: pointer;
    border: 2px solid var(--pvm-cream-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
#main.pvm-media .pm-spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(45, 39, 33, 0.2);
    border-color: var(--pvm-gold);
}

#main.pvm-media .pm-spotlight-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
#main.pvm-media .pm-spotlight-card:hover .pm-spotlight-thumb {
    transform: scale(1.04);
    opacity: 0.95;
}

#main.pvm-media .pm-spotlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #FFFFFF;
}

#main.pvm-media .pm-spotlight-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(196, 154, 62, 0.9);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

#main.pvm-media .pm-spotlight-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--pvm-gold);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, background 0.25s ease;
}
#main.pvm-media .pm-spotlight-card:hover .pm-spotlight-play {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--pvm-gold);
    color: #FFFFFF;
}

#main.pvm-media .pm-spotlight-bottom h3 {
    color: #FFFFFF !important;
    font-size: 18px;
    margin-bottom: 6px;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
#main.pvm-media .pm-spotlight-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #E0DACF;
    font-weight: 600;
}

/* ==========================================================================
   2. FILTER TOOLBAR (Category Tabs with Counts)
   ========================================================================== */
#main.pvm-media .pm-toolbar-sticky {
    position: sticky;
    top: 90px;
    z-index: 20;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pvm-cream-border);
    padding: 14px 0;
    margin-bottom: 40px;
}

#main.pvm-media .pm-toolbar-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

#main.pvm-media .pm-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#main.pvm-media .pm-tab-btn {
    appearance: none;
    border: 1px solid var(--pvm-cream-border) !important;
    background: var(--pvm-cream-card) !important;
    color: var(--pvm-muted) !important;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 30px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#main.pvm-media .pm-tab-btn:hover {
    border-color: var(--pvm-gold) !important;
    color: var(--pvm-gold) !important;
    background: #FFFFFF !important;
}
#main.pvm-media .pm-tab-btn[aria-selected="true"] {
    background: var(--pvm-charcoal) !important;
    color: #FFFFFF !important;
    border-color: var(--pvm-charcoal) !important;
    box-shadow: 0 4px 12px rgba(45, 39, 33, 0.15);
}

#main.pvm-media .pm-tab-count {
    display: inline-block;
    font-size: 11px;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
    padding: 2px 7px;
    border-radius: 12px;
}
#main.pvm-media .pm-tab-btn[aria-selected="true"] .pm-tab-count {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   3. VIDEO HUB SECTION
   ========================================================================== */
#main.pvm-media .pm-video-section {
    margin-bottom: 60px;
}

#main.pvm-media .pm-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

#main.pvm-media .pm-video-card {
    background: var(--pvm-cream-card);
    border: 1px solid var(--pvm-cream-border);
    border-radius: var(--pvm-radius-md);
    overflow: hidden;
    box-shadow: var(--pvm-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
#main.pvm-media .pm-video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pvm-shadow-md);
    border-color: var(--pvm-gold);
}

#main.pvm-media .pm-video-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111111;
    overflow: hidden;
    cursor: pointer;
}
#main.pvm-media .pm-video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
#main.pvm-media .pm-video-card:hover .pm-video-thumb-wrap img {
    transform: scale(1.05);
}

#main.pvm-media .pm-video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

#main.pvm-media .pm-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 42px;
    border-radius: 12px;
    background: #E62117 !important;
    color: #FFFFFF !important;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 18px rgba(230, 33, 23, 0.45), 0 0 0 4px rgba(255, 255, 255, 0.2);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}
#main.pvm-media .pm-video-card:hover .pm-video-play-btn {
    background: #FF0000 !important;
    color: #FFFFFF !important;
    transform: translate(-50%, -50%) scale(1.14);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.3);
}

#main.pvm-media .pm-video-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#main.pvm-media .pm-video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--pvm-muted);
    margin-bottom: 12px;
}
#main.pvm-media .pm-video-category-tag {
    color: #B88932;
    background: #FAF5EB;
    border: 1px solid #F0E4CE;
    padding: 3px 9px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
}

#main.pvm-media .pm-video-title {
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 1.35;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}
#main.pvm-media .pm-video-title a {
    color: #2D2721;
    transition: color 0.2s ease;
}
#main.pvm-media .pm-video-title a:hover {
    color: #E62117;
}

#main.pvm-media .pm-video-summary {
    font-size: 13.5px;
    color: var(--pvm-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#main.pvm-media button.pm-video-cta,
#main.pvm-media .pm-video-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #FFF5F5 !important;
    color: #E62117 !important;
    border: 1px solid #FFCDD2 !important;
    border-radius: 24px !important;
    padding: 8px 18px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    margin-top: auto !important;
    width: fit-content !important;
    box-shadow: 0 2px 6px rgba(230, 33, 23, 0.08) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

#main.pvm-media button.pm-video-cta:hover,
#main.pvm-media .pm-video-card:hover .pm-video-cta {
    background: #E62117 !important;
    color: #FFFFFF !important;
    border-color: #E62117 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(230, 33, 23, 0.3) !important;
}

#main.pvm-media .pm-video-cta-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

/* ==========================================================================
   4. PHOTO GALLERY SECTION (Editorial Masonry Grid)
   ========================================================================== */
#main.pvm-media .pm-gallery-section {
    margin-bottom: 60px;
}

#main.pvm-media .pm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

#main.pvm-media .pm-gallery-card {
    background: var(--pvm-cream-card);
    border: 1px solid var(--pvm-cream-border);
    border-radius: var(--pvm-radius-md);
    overflow: hidden;
    box-shadow: var(--pvm-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
#main.pvm-media .pm-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pvm-shadow-md);
    border-color: var(--pvm-gold);
}

#main.pvm-media .pm-gallery-thumb-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #EAE3D7;
    overflow: hidden;
    cursor: pointer;
}
#main.pvm-media .pm-gallery-card--portrait .pm-gallery-thumb-wrap {
    aspect-ratio: 3 / 4;
}

#main.pvm-media .pm-gallery-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
#main.pvm-media .pm-gallery-card--portrait-crop .pm-gallery-thumb-wrap img {
    object-position: center 20%;
}
#main.pvm-media .pm-gallery-card:hover .pm-gallery-thumb-wrap img {
    transform: scale(1.04);
}

#main.pvm-media .pm-gallery-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

#main.pvm-media .pm-gallery-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
#main.pvm-media .pm-gallery-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--pvm-charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#main.pvm-media .pm-gallery-caption {
    font-size: 13.5px;
    color: var(--pvm-muted);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3.1em;
}

/* ==========================================================================
   5. OFFICIAL CHANNELS & SOCIAL HUB (WARM LUXURY EDITORIAL STYLE)
   ========================================================================== */
#main.pvm-media .pm-channels-section {
    position: relative;
    background-color: #FBF8F3;
    border: 1px solid rgba(218, 196, 160, 0.45);
    border-radius: 32px;
    padding: 64px 44px 54px;
    margin-top: 60px;
    margin-bottom: 70px;
    box-shadow: 0 20px 50px rgba(184, 137, 50, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
}


#main.pvm-media .pm-channels-section .pm-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 46px;
    position: relative;
    z-index: 3;
}
#main.pvm-media .pm-channels-section .pm-section-title {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 2px 8px rgba(255, 255, 255, 0.6);
}
#main.pvm-media .pm-channels-section .pm-section-desc {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Channels 4-column Grid */
#main.pvm-media .pm-channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

/* Luxury Channel Card */
#main.pvm-media .pm-channel-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 28px 22px 22px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(184, 137, 50, 0.1), 0 2px 6px rgba(32, 26, 21, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
#main.pvm-media .pm-channel-card:hover {
    transform: translateY(-8px);
    background: #FFFFFF;
    box-shadow: 0 24px 50px rgba(184, 137, 50, 0.2), 0 4px 12px rgba(32, 26, 21, 0.05);
    border-color: #E2D7C5;
}
#main.pvm-media .pm-channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #EAE2D5;
    transition: height 0.25s ease;
}
#main.pvm-media .pm-channel-card--youtube::before { background: #FF0000; }
#main.pvm-media .pm-channel-card--facebook::before { background: #1877F2; }
#main.pvm-media .pm-channel-card--zalo::before { background: #0068FF; }
#main.pvm-media .pm-channel-card--podcast::before { background: #1ED760; }

#main.pvm-media .pm-channel-card:hover {
    transform: translateY(-6px);
    border-color: #DFD5C4;
    box-shadow: 0 16px 36px rgba(184, 137, 50, 0.12), 0 2px 8px rgba(32, 26, 21, 0.04);
}
#main.pvm-media .pm-channel-card:hover::before {
    height: 4px;
}

/* Card Top: Icon & Micro Badge */
#main.pvm-media .pm-channel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
}
#main.pvm-media .pm-channel-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #EAE3D5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(32, 26, 21, 0.06);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
#main.pvm-media .pm-channel-card:hover .pm-channel-icon-wrap {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 20px rgba(32, 26, 21, 0.1);
}
#main.pvm-media .pm-channel-badge {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 11px;
    border-radius: 20px;
    background: #FAF7F2;
    color: #8C6A2E;
    border: 1px solid #EAE2D5;
    white-space: nowrap;
}

/* Card Typography */
#main.pvm-media .pm-channel-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #201A15;
    margin: 0 0 3px 0;
    line-height: 1.3;
}
#main.pvm-media .pm-channel-handle {
    font-size: 13.5px;
    font-weight: 600;
    color: #8E7F6F;
    margin: 0 0 14px 0;
}

/* Card Description: exactly 2 lines for uniform height */
#main.pvm-media .pm-channel-desc {
    font-size: 13.5px;
    color: #5A5044;
    line-height: 1.6;
    margin: 0 0 22px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3.2em;
    flex-grow: 1;
}

/* Action Button */
#main.pvm-media button.pm-channel-btn,
#main.pvm-media a.pm-channel-btn,
#main.pvm-media .pm-channel-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 11px 18px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 24px !important;
    background: #FAF7F2 !important;
    color: #201A15 !important;
    border: 1px solid #E2D9CC !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    margin-top: auto !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    min-height: unset !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Platform specific hover states for buttons */
#main.pvm-media .pm-channel-card--youtube:hover .pm-channel-btn {
    background: #FF0000 !important;
    border-color: #FF0000 !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.28) !important;
    transform: translateY(-2px);
}
#main.pvm-media .pm-channel-card--facebook:hover .pm-channel-btn {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.28) !important;
    transform: translateY(-2px);
}
#main.pvm-media .pm-channel-card--zalo:hover .pm-channel-btn {
    background: #0068FF !important;
    border-color: #0068FF !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(0, 104, 255, 0.28) !important;
    transform: translateY(-2px);
}
#main.pvm-media .pm-channel-card--podcast:hover .pm-channel-btn {
    background: #1ED760 !important;
    border-color: #1ED760 !important;
    color: #000000 !important;
    box-shadow: 0 6px 18px rgba(30, 215, 96, 0.28) !important;
    transform: translateY(-2px);
}

/* Footer Link / Contact Button */
#main.pvm-media .pm-channels-footer {
    text-align: center;
    position: relative;
    z-index: 3;
}
#main.pvm-media .pm-channels-contact-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 13px 32px !important;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(220, 211, 197, 0.95) !important;
    color: #201A15 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(184, 137, 50, 0.1) !important;
    transition: all 0.25s ease !important;
    text-transform: none !important;
}
#main.pvm-media .pm-channels-contact-btn:hover {
    background: #201A15 !important;
    color: #FFFFFF !important;
    border-color: #201A15 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(32, 26, 21, 0.16) !important;
}

/* ==========================================================================
   6. MODALS & LIGHTBOX (HTML5 Dialog)
   ========================================================================== */
#main.pvm-media dialog {
    border: none;
    padding: 0;
    border-radius: var(--pvm-radius-md);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    background: #FFFFFF;
    color: var(--pvm-charcoal);
}
#main.pvm-media dialog::backdrop {
    background: rgba(20, 16, 12, 0.85);
    backdrop-filter: blur(6px);
}

/* Video Player Modal */
#main.pvm-media #media-video-modal {
    width: min(960px, 94vw);
    max-width: 94vw;
}
#main.pvm-media .pm-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #FAF8F5;
    border-bottom: 1px solid var(--pvm-cream-border);
}
#main.pvm-media .pm-modal-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}
#main.pvm-media .pm-modal-close-btn {
    appearance: none;
    border: none;
    background: #EAE3D7;
    color: var(--pvm-charcoal);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: grid;
    place-items: center;
    line-height: 1;
    transition: background 0.2s ease;
}
#main.pvm-media .pm-modal-close-btn:hover {
    background: var(--pvm-charcoal);
    color: #FFFFFF;
}

#main.pvm-media .pm-video-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #000000;
}
#main.pvm-media .pm-video-stage iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Photo Lightbox Dialog (Single Full View) */
#main.pvm-media dialog.pm-photo-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    overflow: hidden;
    display: none;
    z-index: 99999;
}
#main.pvm-media dialog.pm-photo-lightbox[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#main.pvm-media dialog.pm-photo-lightbox::backdrop {
    background: rgba(12, 10, 8, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#main.pvm-media button.pm-lightbox-close-btn,
#main.pvm-media .pm-lightbox-close-btn {
    position: fixed !important;
    top: 24px !important;
    right: 28px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: unset !important;
    cursor: pointer !important;
    z-index: 100000 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    line-height: 1 !important;
    text-transform: none !important;
}
#main.pvm-media button.pm-lightbox-close-btn:hover,
#main.pvm-media .pm-lightbox-close-btn:hover {
    background: #E62117 !important;
    border-color: #E62117 !important;
    color: #FFFFFF !important;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 22px rgba(230, 33, 23, 0.45) !important;
}

#main.pvm-media .pm-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 92vw;
    max-height: 92vh;
    animation: pmLightboxPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    cursor: default;
}
@keyframes pmLightboxPop {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
#main.pvm-media .pm-lightbox-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 76vh;
}
#main.pvm-media .pm-lightbox-media img {
    max-width: min(1200px, 90vw);
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
#main.pvm-media .pm-lightbox-caption-wrap {
    text-align: center;
    margin-top: 18px;
    padding: 0 16px;
    max-width: 820px;
}
#main.pvm-media .pm-lightbox-caption-wrap h3 {
    color: #FFFFFF !important;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
#main.pvm-media .pm-lightbox-caption-wrap p {
    color: #D8CEBE !important;
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
    #main.pvm-media .pm-channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #main.pvm-media .pm-hero {
        padding: 36px;
        gap: 32px;
    }
}

@media (max-width: 860px) {
    #main.pvm-media .pm-hero {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }
    #main.pvm-media .pm-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    #main.pvm-media .pm-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 580px) {
    #main.pvm-media .pm-hero-title {
        font-size: 28px;
    }
    #main.pvm-media .pm-hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }
    #main.pvm-media .pm-video-grid {
        grid-template-columns: 1fr;
    }
    #main.pvm-media .pm-gallery-grid {
        grid-template-columns: 1fr;
    }
    #main.pvm-media .pm-channels-grid {
        grid-template-columns: 1fr;
    }
    #main.pvm-media .pm-channels-section {
        padding: 40px 20px 36px;
        border-radius: 20px;
    }
    #main.pvm-media .pm-toolbar-sticky {
        top: 70px;
    }
    #main.pvm-media button.pm-lightbox-close-btn,
    #main.pvm-media .pm-lightbox-close-btn {
        top: 16px !important;
        right: 16px !important;
        width: 42px !important;
        height: 42px !important;
    }
    #main.pvm-media .pm-lightbox-media img {
        max-height: 66vh;
    }
    #main.pvm-media .pm-lightbox-caption-wrap h3 {
        font-size: 18px;
    }
    #main.pvm-media .pm-lightbox-caption-wrap p {
        font-size: 13px;
    }
}

/* Cinematic media hero: Enhanced typography & spacious UI/UX */
#main.pvm-media .pm-hero {
    padding: 96px max(32px, calc((100% - 1240px) / 2)) 0;
    row-gap: 52px;
}
#main.pvm-media .pm-hero-copy {
    max-width: 740px;
}
#main.pvm-media .pm-hero .pm-kicker {
    color: #ebc987;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    margin: 0 0 24px;
}
#main.pvm-media .pm-hero .pm-kicker-line {
    flex-shrink: 0;
    width: 36px;
    height: 2px;
}
#main.pvm-media .pm-hero .pm-hero-title {
    color: #fff9ee;
    font-size: clamp(42px, 4.4vw, 60px);
    line-height: 1.16;
    letter-spacing: -.028em;
    text-wrap: balance;
    margin-bottom: 24px;
}
#main.pvm-media .pm-hero-title em {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: #e8c47f;
    font-weight: 500;
    font-style: italic;
    margin-top: 10px;
    display: block;
}
#main.pvm-media .pm-hero-desc {
    color: #e2dcd2;
    font-size: 17px;
    line-height: 1.85;
    max-width: 660px;
    margin: 0 0 36px;
    font-weight: 500;
}
#main.pvm-media .pm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
#main.pvm-media .pm-hero .pm-btn {
    padding: 15px 30px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.25s ease;
}
#main.pvm-media .pm-hero .pm-btn-primary {
    background: #e9c681;
    color: #21190e;
    font-weight: 800;
    box-shadow: 0 6px 24px rgba(233, 198, 129, 0.35);
    border: none;
}
#main.pvm-media .pm-hero .pm-btn-primary:hover {
    background: #f7dcaa;
    color: #1a1309;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(233, 198, 129, 0.45);
}
#main.pvm-media .pm-hero .pm-btn-outline {
    color: #fff3db;
    border: 1.5px solid rgba(233, 217, 188, 0.45);
    background: rgba(33, 30, 25, 0.45);
    backdrop-filter: blur(8px);
}
#main.pvm-media .pm-hero .pm-btn-outline:hover {
    background: rgba(255, 241, 217, 0.18);
    border-color: #e9c681;
    color: #fff9ee;
    transform: translateY(-2px);
}
#main.pvm-media .pm-hero .pm-hero-actions a:last-child {
    border: 1px solid rgba(235, 201, 135, 0.35);
    border-radius: 30px;
    padding: 14px 24px;
    background: rgba(235, 201, 135, 0.08);
    color: #ebc987;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}
#main.pvm-media .pm-hero .pm-hero-actions a:last-child:hover {
    background: rgba(235, 201, 135, 0.2);
    border-color: #e9c681;
    color: #ffffff;
    transform: translateY(-2px);
}
#main.pvm-media .pm-hero .pm-hero-stats {
    grid-column: 1 / -1;
    margin: 0;
    padding: 30px 0 36px;
    border-top: 1px solid rgba(241, 214, 166, 0.22);
    border-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0;
}
#main.pvm-media .pm-hero .pm-stat-item {
    padding: 0 56px;
    border-right: 1px solid rgba(241, 214, 166, 0.22);
}
#main.pvm-media .pm-hero .pm-stat-item:first-child {
    padding-left: 0;
}
#main.pvm-media .pm-hero .pm-stat-item:last-child {
    border-right: 0;
}
#main.pvm-media .pm-hero .pm-stat-item strong {
    color: #f0ce8d;
    font-size: clamp(34px, 3.2vw, 44px);
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 6px;
    display: block;
}
#main.pvm-media .pm-hero .pm-stat-item span {
    color: #e1d6c5;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    display: block;
}
#main.pvm-media .pm-hero :focus-visible { outline: 3px solid #ffe0a0; outline-offset: 4px; }
@media (max-width: 1100px) {
    #main.pvm-media .pm-hero { padding: 70px max(24px, calc((100% - 1240px) / 2)) 0; }
    #main.pvm-media .pm-hero .pm-hero-title { font-size: 44px; }
    #main.pvm-media .pm-hero .pm-stat-item { padding: 0 36px; }
}
@media (max-width: 860px) {
    #main.pvm-media .pm-hero { grid-template-columns: 1fr; padding: 50px 24px 0; gap: 32px; border-radius: 0; }
    #main.pvm-media .pm-hero-background { object-position: 72% center; }
    #main.pvm-media .pm-hero::before { background: linear-gradient(90deg, #171612eb, #17161280), linear-gradient(0deg, #171612ed, transparent); }
    #main.pvm-media .pm-hero-copy { max-width: 100%; }
    #main.pvm-media .pm-hero .pm-hero-title { font-size: 38px; }
    #main.pvm-media .pm-hero .pm-hero-desc { font-size: 15.5px; }
    #main.pvm-media .pm-hero .pm-stat-item { padding: 0 24px; }
}
@media (max-width: 580px) {
    #main.pvm-media .pm-hero { padding: 40px 18px 0; border-radius: 0; }
    #main.pvm-media .pm-hero .pm-hero-title { font-size: 32px; }
    #main.pvm-media .pm-hero .pm-kicker { font-size: 11px; letter-spacing: .12em; }
    #main.pvm-media .pm-hero-desc { font-size: 14.5px; line-height: 1.7; }
    #main.pvm-media .pm-hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    #main.pvm-media .pm-hero .pm-btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: 14px; }
    #main.pvm-media .pm-hero .pm-hero-actions a:last-child { width: 100%; justify-content: center; }
    #main.pvm-media .pm-hero .pm-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 22px; gap: 8px; }
    #main.pvm-media .pm-hero .pm-stat-item { padding: 0 8px; text-align: center; }
    #main.pvm-media .pm-hero .pm-stat-item strong { font-size: 26px; }
    #main.pvm-media .pm-hero .pm-stat-item span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    #main.pvm-media .pm-hero *, #main.pvm-media .pm-hero *::before { transition: none !important; }
}

