/* Patient Story Video Detail */
.psvd-page {
    background: #f8fafc;
    min-height: 100vh;
}

.psvd-topbar {
    background: #042d59;
    padding: 18px 0;
}

.psvd-topbar .psvd-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.psvd-breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.psvd-breadcrumb a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    transition: color .2s;
}

.psvd-breadcrumb a:hover {
    color: #fff;
}

.psvd-breadcrumb span {
    color: rgba(255, 255, 255, .35);
}

.psvd-breadcrumb strong {
    color: #fff;
    font-weight: 600;
}

.psvd-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.psvd-main {
    padding: 44px 0 72px;
}

.psvd-layout {
    display: grid;
    grid-template-columns: 480px 1fr;
    grid-template-rows: auto;
    column-gap: 40px;
    row-gap: 0;
    align-items: start;
}

.psvd-video-col {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 96px;
    align-self: start;
    height: fit-content;
}

.psvd-text-col {
    grid-column: 2;
    grid-row: 1;
}

.psvd-full-text {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 32px;
}

.psvd-embed-box {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(4, 45, 89, .2);
}

.psvd-embed-box.is-shorts {
    aspect-ratio: 9 / 16;
    max-width: 320px;
    margin: 0 auto;
}

.psvd-embed-box.is-standard {
    aspect-ratio: 9 / 14;
}

.psvd-embed-box iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.psvd-embed-placeholder {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.psvd-embed-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.psvd-embed-placeholder .psvd-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .3);
}

.psvd-embed-placeholder .psvd-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, .93);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    transition: transform .2s, background .2s;
}

.psvd-embed-placeholder:hover .psvd-play {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.psvd-embed-placeholder.is-hidden {
    display: none;
}

.psvd-title {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 800;
    color: #042d59;
    margin: 0 0 18px;
    line-height: 1.25;
}

.psvd-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5e70;
    margin: 0 0 20px;
}

.psvd-html-content {
    font-size: 15px;
    line-height: 1.75;
    color: #3b4f60;
}

.psvd-html-content p {
    margin: 0 0 16px;
}

.psvd-html-content h2,
.psvd-html-content h3 {
    color: #042d59;
    margin: 24px 0 10px;
    font-weight: 700;
}

.psvd-html-content img {
    max-width: 100%;
    border-radius: 8px;
}

.psvd-html-content ul,
.psvd-html-content ol {
    padding-left: 20px;
    margin: 0 0 16px;
}

.psvd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.psvd-tag {
    background: rgba(37, 184, 197, .1);
    color: #25b8c5;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(37, 184, 197, .3);
}

.psvd-related {
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1.5px solid #e4eaf0;
}

.psvd-related-title {
    font-size: 22px;
    font-weight: 800;
    color: #042d59;
    margin: 0 0 28px;
}

.psvd-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.psvd-rel-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(4, 45, 89, .07);
    text-decoration: none;
    display: block;
    transition: transform .2s, box-shadow .2s;
}

.psvd-rel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(4, 45, 89, .12);
}

.psvd-rel-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.psvd-rel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.psvd-rel-card:hover .psvd-rel-thumb img {
    transform: scale(1.05);
}

.psvd-rel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 3px;
}

.psvd-rel-body {
    padding: 12px 14px 16px;
}

.psvd-rel-body h4 {
    font-size: 13px;
    font-weight: 700;
    color: #042d59;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.psvd-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: color .2s;
}

.psvd-back-link:hover {
    color: #fff;
}

/* Patient Stories New */
.patient-stories-new {
    padding: 56px 0;
    background: #fff;
    overflow: hidden;
}

.patient-stories-new .psn-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.patient-stories-new .psn-intro {
    padding-right: 36px;
}

.patient-stories-new .psn-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.patient-stories-new .psn-title {
    font-size: 32px;
    font-weight: 800;
    color: #042d59;
    margin: 0;
    line-height: 1.1;
}

.patient-stories-new .psn-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #5a6b7b;
    margin: 0 0 22px;
}

.patient-stories-new .psn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #042d59;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s ease;
}

.patient-stories-new .psn-view-all:hover {
    background: #063b73;
}

.patient-stories-new .psn-features {
    display: flex;
    gap: 26px;
    margin-top: 32px;
}

.patient-stories-new .psn-feature {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.patient-stories-new .psn-feature-icon {
    margin-bottom: 6px;
}

.patient-stories-new .psn-feature strong {
    font-size: 13px;
    color: #042d59;
    font-weight: 700;
}

.patient-stories-new .psn-feature small {
    font-size: 11px;
    color: #8595a4;
}

.patient-stories-new .psn-slider-col {
    position: relative;
}

.patient-stories-new .psn-swiper {
    padding: 4px;
    overflow: hidden;
}

.patient-stories-new .psn-swiper .swiper-slide {
    width: 220px;
    height: auto;
}

.patient-stories-new .psn-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    overflow: hidden;
    background: #1a1a1a;
}

.patient-stories-new .psn-card-media {
    position: absolute;
    inset: 0;
}

.patient-stories-new .psn-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.patient-stories-new .psn-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .78) 100%);
    pointer-events: none;
    z-index: 1;
}

.patient-stories-new .psn-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: #25b8c5;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.patient-stories-new .psn-card-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0, 0, 0, .28);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.patient-stories-new .psn-card-duration {
    position: absolute;
    bottom: 64px;
    left: 12px;
    z-index: 3;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.patient-stories-new .psn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding-left: 4px;
    transition: transform .2s ease, background .2s ease;
}

.patient-stories-new .psn-card:hover .psn-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
}

.patient-stories-new .psn-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 14px;
}

.patient-stories-new .psn-card-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 6px;
}

.patient-stories-new .psn-card-loc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
}

.patient-stories-new .psn-card.is-playing .psn-card-media,
.patient-stories-new .psn-card.is-playing .psn-card-body,
.patient-stories-new .psn-card.is-playing::after {
    opacity: 0;
    pointer-events: none;
}

.patient-stories-new .psn-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 4;
}

.patient-stories-new .psn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 6px 18px rgba(4, 45, 89, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease;
}

.patient-stories-new .psn-nav:hover {
    background: #f0f7f8;
}

.patient-stories-new .psn-prev {
    left: -10px;
}

.patient-stories-new .psn-next {
    right: -10px;
}

.patient-stories-new .psn-nav.swiper-button-disabled {
    opacity: .4;
    cursor: default;
}

@media (max-width: 1199px) {
    .psvd-layout {
        grid-template-columns: 420px 1fr;
        column-gap: 28px;
    }

    .psvd-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .psvd-layout {
        grid-template-columns: 1fr;
    }

    .psvd-video-col {
        grid-column: 1;
        grid-row: 1;
        position: static;
    }

    .psvd-text-col {
        grid-column: 1;
        grid-row: 2;
        margin-top:32px;
    }

    .patient-stories-new .psn-intro {
        padding-right: 0;
        margin-bottom: 28px;
        text-align: center;
    }

    .patient-stories-new .psn-brand,
    .patient-stories-new .psn-features {
        justify-content: center;
    }

    .patient-stories-new .psn-next {
        right: 4px;
    }

    .patient-stories-new .psn-prev {
        left: 4px;
    }
}

@media (max-width: 767px) {
    .psvd-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 575px) {
    .patient-stories-new .psn-swiper .swiper-slide {
        width: 180px;
    }

    .patient-stories-new .psn-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .psvd-related-grid {
        grid-template-columns: 1fr;
    }
}
