/* Clinical workflows page: small page-specific layer on top of the main theme. */

.clinical-hero {
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 760px;
    padding: 108px 0 64px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 12% 18%, rgba(33, 150, 216, 0.13), transparent 32%),
        radial-gradient(circle at 72% 30%, rgba(86, 182, 139, 0.1), transparent 30%),
        linear-gradient(115deg, #f4fbff 0%, #ffffff 46%, #f4fbf8 100%);
}

.clinical-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.72) 68%, rgba(255, 255, 255, 0.92) 100%);
    pointer-events: none;
}

.clinical-hero .container {
    position: relative;
    z-index: 2;
}

.clinical-hero > .container.vertical-center-rel {
    top: auto;
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    -ms-transform: none;
    transform: none;
}

.clinical-hero .vertical-center-md {
    display: flex;
    align-items: center;
}

.clinical-hero h1.p-t-md {
    padding-top: 0 !important;
}

.clinical-hero .btn + .btn {
    margin-left: 12px;
}

.hero-media-stage {
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.clinical-hero .col-md-5 {
    width: 48%;
}

.clinical-hero .col-md-7 {
    width: 52%;
}

.hero-media-frame {
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.hero-media-toolbar {
    height: 38px;
    padding: 13px 16px;
    background: #EFF1F4;
}

.hero-media-toolbar span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-radius: 50%;
    background: #c9d1d8;
}

.hero-media-content {
    position: relative;
    min-height: 438px;
    padding: 0;
    background: #ffffff;
}

.hero-video-content {
    min-height: 0;
    height: 390px;
    aspect-ratio: auto;
    background: #111827;
    overflow: hidden;
}

.hero-video-content iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.hero-video-content iframe:not([src]) {
    display: none;
}

.hero-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background:
        linear-gradient(90deg, rgba(13, 35, 49, 0.86), rgba(13, 35, 49, 0.48) 48%, rgba(13, 35, 49, 0.08) 74%),
        url("../images/uploads/clinical-workflows/prom-report.png") center 20% / cover no-repeat;
    cursor: pointer;
    text-align: left;
}

.hero-video-content.is-playing .hero-video-poster {
    display: none;
}

.poster-logo {
    position: absolute;
    top: 24px;
    left: 26px;
    width: 136px;
    height: auto;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.poster-copy {
    position: absolute;
    left: 28px;
    right: 112px;
    bottom: 30px;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.poster-copy strong,
.poster-copy span {
    display: block;
}

.poster-copy strong {
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 34px;
    font-weight: 900;
}

.poster-copy span {
    font-size: 15px;
    line-height: 21px;
    font-weight: 700;
}

.poster-play {
    position: absolute;
    right: 30px;
    bottom: 32px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #2895d2;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.poster-play:before {
    content: '';
    position: absolute;
    top: 21px;
    left: 26px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #ffffff;
}

.workflow-animation {
    position: relative;
    min-height: 338px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 22%, rgba(40, 149, 210, 0.14), transparent 34%),
        radial-gradient(circle at 80% 24%, rgba(86, 182, 139, 0.14), transparent 30%),
        linear-gradient(135deg, #f7fbfd 0%, #ffffff 52%, #f5fbf7 100%);
}

.workflow-animation:after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0));
    z-index: 5;
    pointer-events: none;
}

.animation-logo {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 20;
    width: 126px;
    height: auto;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(40, 149, 210, 0.16);
    box-shadow: 0 10px 24px rgba(40, 62, 80, 0.12);
}

.animation-scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 58px 28px 52px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.45s ease, transform 0.7s ease, visibility 0.45s ease;
    z-index: 1;
}

.animation-scene.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 10;
}

.scene-video,
.scene-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.scene-video {
    object-fit: cover;
}

.scene-shade {
    background:
        linear-gradient(90deg, rgba(9, 41, 58, 0.56), rgba(9, 41, 58, 0.1) 58%, rgba(255, 255, 255, 0.18)),
        linear-gradient(0deg, rgba(255, 255, 255, 0.78), transparent 42%);
}

.scene-label {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 16px;
    z-index: 15;
    margin: 0;
    color: #263238;
    font-size: 14px;
    line-height: 19px;
    font-weight: 900;
    letter-spacing: 0;
}

.browser-shell {
    position: relative;
    width: min(100%, 430px);
    max-height: 246px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce3e8;
    box-shadow: 0 18px 42px rgba(52, 74, 92, 0.18);
}

.browser-shell-narrow {
    width: min(100%, 330px);
}

.mini-toolbar {
    height: 27px;
    padding: 9px 12px;
    background: #EFF1F4;
}

.mini-toolbar span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 50%;
    background: #bac6cf;
}

.scene-shot {
    display: block;
    width: 100%;
    height: auto;
}

.scroll-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.scroll-frame img {
    display: block;
    width: 100%;
    height: auto;
    animation: workflow-scroll 11s ease-in-out infinite alternate;
}

.scroll-report {
    height: 219px;
}

.scroll-report img {
    animation-duration: 12s;
}

.split-shots {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.split-shots .scroll-frame,
.split-shots > img {
    height: 214px;
    border: 1px solid #dce3e8;
    box-shadow: 0 14px 30px rgba(52, 74, 92, 0.14);
}

.split-shots > img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: top;
    background: #ffffff;
}

.scroll-prompt img {
    width: 150%;
    max-width: none;
    margin-left: -25%;
    animation-duration: 14s;
}

.scroll-delay img {
    animation-delay: -4s;
}

.report-top-frame {
    height: 219px;
    overflow: hidden;
    background: #ffffff;
}

.report-top-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.scene-brand-card {
    background:
        radial-gradient(circle at 18% 24%, rgba(40, 149, 210, 0.18), transparent 32%),
        radial-gradient(circle at 80% 70%, rgba(86, 182, 139, 0.18), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f5fbff 50%, #f6fbf8 100%);
}

.brand-card-inner {
    position: relative;
    z-index: 12;
    width: 100%;
    padding: 38px 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(40, 149, 210, 0.18);
    box-shadow: 0 18px 40px rgba(52, 74, 92, 0.12);
}

.brand-card-inner span,
.brand-card-inner strong {
    display: block;
}

.brand-card-inner span {
    color: #4d6878;
    font-size: 19px;
    line-height: 26px;
    font-weight: 700;
}

.brand-card-inner strong {
    color: #2895d2;
    font-size: 38px;
    line-height: 44px;
    font-weight: 900;
}

.scene-closing .brand-card-inner strong {
    color: #263238;
    font-size: 30px;
    line-height: 36px;
}

.scene-closing .brand-card-inner span {
    color: #2895d2;
    font-size: 22px;
    line-height: 29px;
    font-weight: 900;
}

.hero-audio-panel {
    position: relative;
    z-index: 30;
    padding: 16px 18px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 10px 24px rgba(82, 94, 108, 0.12);
}

.hero-audio-panel h5 {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 900;
}

.hero-audio-panel audio {
    display: block;
    width: 100%;
}

#content1-1 {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #EFF1F4;
}

#content1-1:before {
    content: '';
    position: absolute;
    inset: -55px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.78) 2.7px, transparent 2.85px);
    background-size: 17px 17px;
    transform: rotate(-12deg);
    opacity: 0.72;
    pointer-events: none;
}

#content1-1 .container,
#content1-1 .row,
#content1-1 .col-xs-12 {
    position: relative;
    z-index: 1;
    width: 100%;
}

#content1-1 .section-header {
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
}

#content1-1 h2 {
    margin: 0;
}

#content1-1 h2 span {
    display: block;
    margin-bottom: 10px;
}

@keyframes workflow-scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(calc(-100% + 216px));
    }
}

.partner-row {
    margin-top: 36px;
}

.partner-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.partner-strip span,
.integration-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e5e5e5;
}

.partner-strip span {
    min-width: 150px;
    height: 54px;
    padding: 10px 18px;
}

.partner-strip img {
    display: block;
    max-height: 32px;
    max-width: 150px;
    width: auto;
}

.workflow-native h6,
.screenshot-lab h6,
.results-showcase h6,
.workflow-gallery h6,
.proof h6,
.cta h6 {
    margin-bottom: 16px;
}

.workflow-steps {
    margin-top: 30px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding: 14px 16px;
    background: #ffffff;
}

.workflow-step strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    color: #ffffff;
    background: #56B68B;
    font-weight: 900;
}

.workflow-step span {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
}

.workflow-image,
.results-visual,
.workflow-reference-frame,
.gallery-grid figure {
    margin: 0;
}

.workflow-image img,
.results-visual img,
.workflow-reference-frame img,
.gallery-grid img {
    width: 100%;
    height: auto;
}

.workflow-image,
.gallery-grid figure {
    background: #ffffff;
}

.workflow-image {
    background: transparent;
}

.workflow-image figcaption,
.gallery-grid figcaption {
    padding: 13px 15px;
    border: 1px solid #e5e5e5;
    border-top: 0;
    color: #69696E;
    font-size: 14px;
    line-height: 19px;
    font-weight: 700;
}

.workflow-image figcaption {
    padding-left: 0;
    padding-right: 0;
    border: 0;
    background: transparent;
}

.integration-card {
    min-height: 315px;
    padding: 34px 28px 30px;
    margin-bottom: 30px;
    background: #EFF1F4;
}

.integration-logo {
    height: 92px;
    padding: 18px;
    margin-bottom: 28px;
}

.integration-logo img {
    display: block;
    min-width: 0;
    max-width: 190px;
    max-height: 46px;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.screenshot-lab .lab-copy {
    padding-top: 35px;
}

.tab-buttons {
    margin-top: 26px;
}

.tab-button {
    display: inline-block;
    margin: 0 8px 10px 0;
    padding: 11px 16px;
    border: 3px solid #2895d2;
    background: #ffffff;
    color: #2895d2;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}

.tab-button.active,
.tab-button:hover,
.tab-button:focus {
    background: #2895d2;
    color: #ffffff;
    outline: none;
}

.tab-button-static,
.tab-button-static:hover,
.tab-button-static:focus {
    border-color: #2895d2;
    background: #ffffff;
    color: #2895d2;
    cursor: default;
}

.workflow-reference-frame .tab-screen {
    display: none;
}

.workflow-reference-frame .tab-screen.active {
    display: block;
}

.workflow-reference-frame {
    width: min(100%, 500px);
    height: 560px;
    overflow: hidden;
    margin: 0 auto;
    background: transparent;
    border: 0;
}

.workflow-reference-frame .tab-screen.active {
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    object-fit: initial;
    margin: 0;
    animation: tab-screen-scroll 16s ease-in-out infinite alternate;
}

@keyframes tab-screen-scroll {
    0% {
        transform: translateY(calc((-100% + 560px) * 0.45));
    }

    100% {
        transform: translateY(calc((-100% + 560px) * 0.6));
    }
}

.results-copy {
    padding-top: 45px;
}

.feature-list {
    padding-left: 18px;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 22px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.proof-grid div {
    min-height: 150px;
    padding: 26px 22px;
    background: #EFF1F4;
    text-align: center;
}

.proof-grid strong,
.proof-grid span {
    display: block;
}

.proof-grid strong {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 900;
}

.proof-grid span {
    font-size: 15px;
    line-height: 20px;
}

.cta h2,
.cta .lead,
.cta h6 {
    color: #ffffff;
}

.cta .container {
    text-align: left;
}

.cta h2,
.cta .lead,
.demo-request-form {
    max-width: 860px;
}

.demo-request-form {
    margin: 34px 0 0;
}

.demo-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 0;
}

.demo-request-form .form-group {
    margin-bottom: 14px;
}

.demo-request-form .form-control {
    min-height: 48px;
    border: 0;
    background: #ffffff;
    color: #263238;
    box-shadow: none;
}

.demo-request-form textarea.form-control {
    min-height: 112px;
    resize: vertical;
}

.demo-request-form .form-control::placeholder {
    color: #7b8a97;
}

.demo-request-form select.form-control {
    color: #7b8a97;
}

.demo-request-form select.form-control:valid {
    color: #263238;
}

.demo-request-form .btn {
    margin-top: 6px;
}

@media (max-width: 991px) {
    .clinical-hero {
        height: auto;
        min-height: 0;
        display: block;
        padding: 135px 0 70px;
    }

    .clinical-hero .col-md-5,
    .clinical-hero .col-md-7 {
        width: auto;
    }

    .clinical-hero .vertical-center-md {
        display: block;
    }

    .clinical-hero .btn + .btn {
        margin-left: 0;
        margin-top: 12px;
    }

    .hero-media-stage {
        margin-top: 38px;
    }

    .screenshot-lab .lab-copy,
    .results-copy {
        padding-top: 0;
        margin-bottom: 30px;
    }

    .gallery-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .partner-strip span,
    .tab-button {
        width: 100%;
    }

    .demo-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .clinical-hero {
        padding-top: 120px;
    }

    .hero-media-content {
        min-height: 404px;
    }

    .hero-video-content {
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .poster-logo {
        top: 18px;
        left: 18px;
        width: 116px;
    }

    .poster-copy {
        left: 20px;
        right: 88px;
        bottom: 22px;
    }

    .poster-copy strong {
        font-size: 22px;
        line-height: 27px;
    }

    .poster-copy span {
        font-size: 13px;
        line-height: 18px;
    }

    .poster-play {
        right: 20px;
        bottom: 24px;
        width: 52px;
        height: 52px;
    }

    .poster-play:before {
        top: 16px;
        left: 21px;
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left-width: 15px;
    }

    .workflow-animation {
        min-height: 304px;
    }

    .animation-scene {
        padding: 58px 16px 52px;
    }

    .animation-logo {
        width: 112px;
        left: 16px;
    }

    .browser-shell {
        max-height: 206px;
    }

    .workflow-reference-frame {
        height: 430px;
    }

    .workflow-reference-frame .tab-screen.active {
        animation-name: tab-screen-scroll-mobile;
    }

    .scroll-report,
    .report-top-frame {
        height: 179px;
    }

    .split-shots {
        gap: 8px;
    }

    .split-shots .scroll-frame,
    .split-shots > img {
        height: 178px;
    }

    .brand-card-inner {
        padding: 32px 18px;
    }

    .brand-card-inner strong {
        font-size: 31px;
        line-height: 37px;
    }

    .scene-closing .brand-card-inner strong {
        font-size: 24px;
        line-height: 30px;
    }

    .scene-closing .brand-card-inner span {
        font-size: 18px;
        line-height: 25px;
    }
}

@keyframes tab-screen-scroll-mobile {
    0% {
        transform: translateY(calc((-100% + 430px) * 0.45));
    }

    100% {
        transform: translateY(calc((-100% + 430px) * 0.6));
    }
}
