@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');
:root {
    --container: 1250px;
}
*{
    font-family: "Inter", sans-serif;
}
/* ─── Outer Wrapper ──────────────────────────────── */
.hero-section {
    background: #F8FEFD;
    padding: 50px 20px;
}

.pg-wrap {
    display: flex;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    max-width: var(--container);
    margin: auto;
}

/* ─── Left Card ──────────────────────────────────── */
.pg-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: 0px 4px 20px -2px #0000000D;
}

.hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.pg-title {
    font-size: 40px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 0;
    letter-spacing: -1.2px;
    line-height: 1.15;
}

.pg-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.pg-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #4B5563;
    border-radius: 20px;
    padding: 3px 12px;
    text-transform: uppercase;
    background: #F3F4F6;
}
.pg-tag.active{
    background: #F0FDFA;
    color: #0D9488;
}

.pg-desc {
    font-size: 17px;
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 24px;
    flex: 1;
}

/* ─── Social Proof ───────────────────────────────── */
.pg-social {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: auto;
}

.pg-avatars {
    display: flex;
    align-items: center;
}

.pg-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    overflow: hidden;
    margin-right: -15px;
    position: relative;
    flex-shrink: 0;
}

.pg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg-avatar-count {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    background: #F0FDFA;
    color: #0D9488;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    margin-right: 0;
    flex-shrink: 0;
}

.pg-social-text {
    font-size: 13px;
    color: #666;
    margin-left: 14px;
    white-space: nowrap;
}

/* ─── Right Video Thumbnail ──────────────────────── */
.pg-video-wrap {
    flex: 1.05;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    min-height: 260px;
    background: #111827;
    flex-shrink: 0;
    max-width: 50%;
}

.pg-video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.pg-video-wrap:hover img {
    transform: scale(1.04);
}

/* Subtle dark overlay for readability of play btn */
.pg-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.pg-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}

.pg-video-wrap:hover .pg-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.pg-play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 4px;
}

/* ─── Modal Overlay ──────────────────────────────── */
.pg-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: overlayFadeIn 0.22s ease;
}

.pg-modal-overlay.active {
    display: flex;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ─── Modal Box ──────────────────────────────────── */
.pg-modal {
    background: #0d0d1a;
    border-radius: 18px;
    overflow: hidden;
    width: 82vw;
    max-width: 900px;
    position: relative;
    animation: modalSlideUp 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(28px) scale(0.97);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.pg-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.14);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.18s;
}

.pg-modal-close:hover {
    background: rgba(255, 255, 255, 0.30);
}

.pg-modal-close svg {
    width: 16px;
    height: 16px;
}

.pg-modal-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.pg-modal-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.pg-modal-info {
    padding: 18px 24px 20px;
    background: #161625;
}

.pg-modal-title {
    font-size: 15px;
    font-weight: 600;
    color: #f0f0f0;
    margin-bottom: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.pg-modal-sub {
    font-size: 12px;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 640px) {
    .pg-wrap {
        flex-direction: column;
        padding: 18px;
    }

    .pg-video-wrap {
        max-width: 100%;
        min-height: 200px;
    }

    .pg-modal {
        width: 94vw;
    }
}