/* EKAYU Clinical Portfolio - page-only layout refresh */

.ek-clinical-page {
    --ek-clinical-navy: #0f2d67;
    --ek-clinical-navy-deep: #081b43;
    --ek-clinical-teal: #0bb7b5;
    --ek-clinical-teal-soft: #ebfbfb;
    --ek-clinical-green: #179d88;
    --ek-clinical-text: #173055;
    --ek-clinical-muted: #476181;
    --ek-clinical-line: #d9e7ef;
    --ek-clinical-shadow: 0 26px 70px rgba(19, 55, 89, 0.08);

    width: min(100% - 64px, 1460px);
    margin: 58px auto 72px;
    color: var(--ek-clinical-text);
    font-family: "Manrope", sans-serif;
}

.ek-clinical-layout + .ek-clinical-layout {
    margin-top: 22px;
}

.ek-clinical-layout__row--full {
    grid-template-columns: minmax(0, 1fr);
}

.ek-clinical-layout__category {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 20px 18px 20px 4px;
    border-right: 1px solid var(--ek-clinical-line);
}

.ek-clinical-layout__category-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f4fbfb, #dff4f3);
    color: var(--ek-clinical-teal);
}

.ek-clinical-layout__category-icon svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ek-clinical-layout__category p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.3rem, 1.7vw + 1.4rem, 3.9rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--ek-clinical-navy);
    max-width: 160px;
}

.ek-clinical-layout__category p span {
    display: block;
    color: var(--ek-clinical-green);
}

.ek-clinical-layout__category::after {
    content: "";
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ek-clinical-teal), rgba(11, 183, 181, 0));
}

.ek-clinical-layout__columns {
    display: grid;
    min-width: 0;
}

.ek-clinical-layout__columns--two {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.ek-clinical-layout__columns--three {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.82fr) minmax(0, 0.9fr);
}

.ek-clinical-layout__columns--wound {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "maxiocel"
        "maxiocel-surgical"
        "maxiocel-gel"
        "maxiocel-solution"
        "system"
        "surgi";
    gap: 22px;
    align-items: stretch;
}

.ek-clinical-product-card,
.ek-clinical-system-card {
    min-width: 0;
    padding: 20px 22px 16px;
}

.ek-clinical-product-card--feature {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 26px;
    padding-inline: 40px;
    border-radius: 28px;
    border: 1px solid rgba(217, 231, 239, 0.9);
    background:
        linear-gradient(180deg, rgba(244, 251, 250, 0.92), rgba(255, 255, 255, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(23, 157, 136, 0.08),
        0 14px 34px rgba(23, 68, 85, 0.06);
    overflow: hidden;
}

.ek-clinical-product-card--maxiocel {
    grid-area: maxiocel;
}

#maxiocel-surgical-site {
    grid-area: maxiocel-surgical;
}

#maxiocel-wound-gel {
    grid-area: maxiocel-gel;
}

#maxiocel-irrigation-solution {
    grid-area: maxiocel-solution;
}

.ek-clinical-product-card--feature .ek-clinical-product-card__media {
    min-height: 320px;
    padding: 18px 22px;
    border-radius: 22px;
    background: transparent;
    overflow: hidden;
}


.ek-clinical-product-card--feature .ek-clinical-product-card__media img {
    width: min(100%, 350px);
    height: min(100%, 350px);
    max-width: 350px;
    max-height: 350px;
    transform: translateY(10px);
    filter: none;
    object-fit: contain;
}

.ek-clinical-product-card--feature .ek-clinical-product-card__content {
    padding: 4px 10px 4px 0;
}

.ek-clinical-product-card--feature .ek-clinical-product-card__content h2 {
    color: #128571;
}

.ek-clinical-product-card--reverse .ek-clinical-product-card__content {
    order: 2;
    padding: 4px 10px 4px 0;
}

.ek-clinical-product-card--reverse .ek-clinical-product-card__media {
    order: 1;
}

@media (min-width: 1200px) {
    .ek-clinical-layout__columns >
    :is(#axiostat-military, .ek-clinical-product-card--maxiocel,
    #maxiocel-wound-gel, #ax-surgi) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ek-clinical-layout__columns >
    :is(#axiostat-military, .ek-clinical-product-card--maxiocel,
    #maxiocel-wound-gel, #ax-surgi)
    .ek-clinical-product-card__media {
        order: 2;
    }

    .ek-clinical-layout__columns >
    :is(#axiostat-military, .ek-clinical-product-card--maxiocel,
    #maxiocel-wound-gel, #ax-surgi)
    .ek-clinical-product-card__content {
        order: 1;
    }
}

.ek-clinical-product-card--reverse .ek-clinical-product-card__eyebrow {
    left: 18px;
    right: auto;
}

#axiostat-vascular {
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.2fr);
}

#axiostat-vascular .ek-clinical-product-card__content {
    padding: 4px 10px 4px 0;
}

.ek-clinical-product-card__eyebrow {
    display: none;
}

.ek-clinical-system-card--wound {
    grid-area: system;
    border-radius: 28px;
    border: 1px solid rgba(217, 231, 239, 0.9);
    background:
        radial-gradient(circle at top right, rgba(11, 183, 181, 0.08), rgba(11, 183, 181, 0) 28%),
        linear-gradient(180deg, rgba(248, 252, 253, 0.98), rgba(255, 255, 255, 1));
    box-shadow: 0 14px 34px rgba(17, 49, 78, 0.06);
    padding: 26px 26px 24px;
}

.ek-clinical-layout__columns--wound > * {
    width: 100%;
}

.ek-clinical-layout__columns--wound #ax-surgi {
    grid-area: surgi;
    min-height: 100%;
}

.ek-clinical-product-card--feature .ek-clinical-product-card__media::after {
    content: none;
}

.ek-clinical-product-card__media {
    position: relative;
    display: grid;
    place-items: center;
    padding: 18px;
}

.ek-clinical-product-card--feature .ek-product-slider__slide {
    justify-content: center;
}

.ek-clinical-product-card--reverse .ek-clinical-product-card__media {
    place-items: center;
}

.ek-clinical-product-card__media--compact {
    min-height: 190px;
    margin-top: 20px;
}

.ek-clinical-product-card__media-glow {
    position: absolute;
    inset: 14% 8% 12%;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(11, 183, 181, 0.16), rgba(11, 183, 181, 0) 70%);
}

.ek-clinical-product-card__media-glow--green {
    background:
        radial-gradient(circle at center, rgba(23, 157, 136, 0.18), rgba(23, 157, 136, 0) 72%);
}

.ek-clinical-product-card__media img {
    position: relative;
    width: min(100%, 255px);
    height: auto;
    max-height: 280px;
    object-fit: contain;
    filter: none;
}

.ek-clinical-layout--bleeding .ek-clinical-product-card__media img {
    width: min(100%, 350px);
    height: min(100%, 350px);
    max-width: 350px;
    max-height: 350px;
}

.ek-clinical-layout--bleeding .ek-clinical-product-card__content h2 {
    font-size: clamp(1.8rem, 1vw + 1.25rem, 2.5rem);
    min-height: 1.1em;
    margin-bottom: 18px;
}

.ek-clinical-product-card__content h2,
.ek-clinical-system-card h2 {
    margin: 0 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.65rem, 0.95vw + 1.2rem, 2.35rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--ek-clinical-navy);
    text-transform: uppercase;
}

.ek-product-logo-title {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px 14px;
}

.ek-product-title-logo {
    display: block;
    width: auto;
    max-width: min(100%, 250px);
    height: 30px;
}

.ek-product-title-suffix {
    display: block;
    color: #244a78;
    font-family: "Figma Sans", Arial, sans-serif;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    text-transform: uppercase;
}

.ek-product-family-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.ek-product-family-list li {
    color: #244a78;
    font-family: "Figma Sans", Arial, sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.8px;
    line-height: 1.05;
    text-transform: uppercase;
}

.ek-clinical-product-card__content p,
.ek-clinical-system-card p,
.ek-clinical-system-list__item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ek-clinical-muted);
}

.ek-clinical-subtitle {
    margin-top: 18px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.04em !important;
    color: var(--ek-clinical-navy) !important;
    text-transform: uppercase;
}

.ek-clinical-checklist {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 5px;
}

.ek-clinical-checklist + .ek-clinical-checklist {
    margin-top: 8px;
}

.ek-clinical-checklist + .ek-clinical-subtitle {
    margin-top: 14px !important;
}

.ek-clinical-checklist li {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    line-height: 1.62;
    color: var(--ek-clinical-text);
}

.ek-clinical-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ffffff 0 22%, transparent 24%),
        linear-gradient(135deg, var(--ek-clinical-teal), #0d7eb3);
    box-shadow: 0 0 0 4px rgba(11, 183, 181, 0.12);
}

.ek-clinical-checklist--applications {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
    margin-top: 14px;
}

#axiostat-vascular .ek-clinical-checklist--applications {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#maxiocel-surgical-site .ek-clinical-checklist--applications {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ek-clinical-checklist--applications li {
    padding: 0 0 0 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ek-clinical-checklist--applications li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    width: auto;
    height: auto;
    border-radius: 0;
    transform: translateY(-50%);
    background: none;
    box-shadow: none;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    color: var(--ek-clinical-teal);
}

.ek-clinical-system-card {
    background:
        linear-gradient(180deg, rgba(247, 251, 253, 0.9), rgba(255, 255, 255, 0.98));
}

.ek-clinical-system-card__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(217, 231, 239, 0.9);
}

.ek-clinical-system-card__intro {
        text-align: center;
}

.ek-clinical-system-card__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(18, 133, 113, 0.12);
    box-shadow: 0 10px 20px rgba(10, 33, 80, 0.06);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #128571;
}

.ek-clinical-system-card__intro h2 {
    margin-top: 16px;
    margin-bottom: 10px;
}

.ek-clinical-system-card__accent {
    min-width: 158px;
    padding: 18px 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0e8f97, #18b892);
    box-shadow: 0 18px 36px rgba(16, 120, 132, 0.18);
    text-align: center;
    color: #ffffff;
}

.ek-clinical-system-card__accent span {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 1vw + 1.6rem, 3rem);
    font-weight: 800;
    line-height: 1;
}

.ek-clinical-system-card__accent small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.ek-clinical-system-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.ek-clinical-system-list__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-height: 100%;
    padding: 24px 22px 22px;
    border-radius: 24px;
    border: 1px solid rgba(217, 231, 239, 0.92);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 250, 252, 0.96));
    box-shadow: 0 14px 28px rgba(17, 49, 78, 0.05);
}

.ek-clinical-system-list__icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 36%),
        linear-gradient(135deg, rgba(82, 214, 180, 0.18), rgba(11, 183, 181, 0.12));
    color: #0ea39e;
}

.ek-clinical-system-list__icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ek-clinical-system-list__copy {
    display: grid;
    gap: 8px;
}

.ek-clinical-system-list__item h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ek-clinical-navy);
}
/* =========================================
   PREMIUM PRODUCT IMAGE SLIDER
========================================= */

.ek-product-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
}

.ek-product-slider__track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.ek-product-slider__slide img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    display: block;

    transform: scale(1);
    transform-origin: center center;

    transition:
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}


/* =========================================
   IMAGE HOVER ZOOM
========================================= */

.ek-product-slider__slide:hover img {
    transform: scale(1.06);
}


.ek-product-slider__slide:hover::after {
    opacity: 1;
}


/* =========================================
   PAUSE SLIDER WHEN HOVERED
   Optional but recommended
========================================= */

.ek-product-slider:hover .ek-product-slider__track {
    transition-duration: 900ms;
}
/* =========================================================
   COMPLETE WOUND CARE SYSTEM
========================================================= */

.ek-wound-system-section {
    padding: 50px;
    background: #f7f8f8;
}


/* =========================================================
   HEADING
========================================================= */

.ek-wound-system-heading {
    max-width: 990px;
    margin: 0 0 55px;
    text-align: left;
}

.ek-wound-system-heading .ek-portfolio__eyebrow {
    justify-content: flex-start;
    margin-bottom: 14px;
}

.ek-wound-system-heading .ek-portfolio__heading {
    max-width: none;
    width: 100%;
}

.ek-wound-system-heading .ek-portfolio__title {
    white-space: nowrap;
}

.ek-wound-system-heading .ek-portfolio__description {
    max-width: 650px;
    margin-top: 0 !important;
    margin-left: 0;
    margin-right: 0;
    color: #64778d !important;
    font-family: "Apercu", Arial, sans-serif;
    font-size: var(--ek-subtext-size);
    line-height: var(--ek-subtext-line-height);
}


/* =========================================================
   CARD GRID
========================================================= */

.ek-wound-system-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* =========================================================
   CARD
========================================================= */

.ek-wound-card {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 22px;
    background: #e9eeee;
    isolation: isolate;
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

.ek-wound-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.16);
}


/* =========================================================
   IMAGE
========================================================= */

.ek-wound-card__image {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.ek-wound-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.6s ease;
}


/* IMAGE ZOOM */

.ek-wound-card:hover .ek-wound-card__image img {
    transform: scale(1.07);
}


/* =========================================================
   DEFAULT IMAGE SHADE
========================================================= */

.ek-wound-card__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            to top,
            rgba(5, 15, 18, 0.72) 0%,
            rgba(5, 15, 18, 0.25) 35%,
            rgba(5, 15, 18, 0.03) 70%,
            rgba(5, 15, 18, 0.08) 100%
        );
}


/* =========================================================
   ANIMATED HOVER SHADOW
========================================================= */

.ek-wound-card::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: -100%;

    height: 100%;

    z-index: -1;

    background:
        linear-gradient(
            to top,
            rgba(5, 15, 18, 0.96) 0%,
            rgba(5, 15, 18, 0.82) 45%,
            rgba(5, 15, 18, 0.35) 75%,
            rgba(5, 15, 18, 0) 100%
        );

    transition:
        bottom 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.ek-wound-card:hover::after {
    bottom: 0;
}


/* =========================================================
   CONTENT
========================================================= */

.ek-wound-card__content {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;

    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;

    transform: translateY(0);

    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}


/* TITLE */

.ek-wound-card__content h3 {
    margin: 0;
    min-height: 2.3em;
    display: flex;
    align-items: flex-end;
    padding-bottom: 6px;

    font-family: "Montserrat", sans-serif;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.15;

    color: #ffffff;

    transition:
        transform 0.5s ease;
}


/* DESCRIPTION */

.ek-wound-card__content p {
    max-width: 430px;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 14px);
    margin: 0;

    font-family: "Manrope", sans-serif;
    font-size: 15px;
    line-height: 1.65;

    color: rgba(255, 255, 255, 0.88);

    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);

    transition:
        opacity 0.45s ease 0.12s,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}


/* =========================================================
   HOVER CONTENT ANIMATION
========================================================= */

.ek-wound-card:hover .ek-wound-card__content {
    transform: translateY(-78px);
}

.ek-wound-card:hover .ek-wound-card__content p {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .ek-wound-system-section {
        padding: 80px 0;
    }

    .ek-wound-system-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .ek-wound-card {
        height: 420px;
    }

}


@media (max-width: 767px) {

    .ek-wound-system-section {
        padding: 65px 0;
    }

    .ek-wound-system-heading {
        margin-bottom: 35px;
    }

    .ek-wound-system-heading h2 {
        font-size: 32px;
        white-space: normal;
    }

    .ek-wound-system-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ek-wound-card {
        height: 390px;
        border-radius: 18px;
    }

    .ek-wound-card__content {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }

    .ek-wound-card__content p {
        font-size: 14px;
    }

}
