/* ==========================================================================
   INSIGHT PAGE MEDICAL CARE BLOCK (BLOCK-SPECIFIC STYLES)
   Contains block-scoped elements & section responsive styles
   Supports both underscore (light_grey) & hyphen (light-grey) ACF theme slugs
   ========================================================================== */

/* Common Condition */
#pu-insight-page-team-block .pu-insight-medical-desc p{
	font-size: 16px !important;
}

/* Base Section Block */
.pu-insight-medical-care-block {
    position: relative;
    width: 100%;
    padding: 85px 0 95px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Preset Theme Styles */
.pu-insight-theme-dark-blue,
.pu-insight-theme-dark_blue {
    background-color: #0F0445;
    color: #FFFFFF;
}

.pu-insight-theme-light-grey,
.pu-insight-theme-light_grey {
    background-color: #F5F5F7;
    color: #0F0445;
}

/* Header Typography */
.pu-insight-medical-header {
    margin-bottom: 44px;
}

.pu-insight-medical-kicker {
    font-family: var(--pu-insight-font-body, "Open Sans", system-ui, -apple-system, sans-serif);
    font-size: 36px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.pu-insight-theme-dark-blue .pu-insight-medical-kicker,
.pu-insight-theme-dark_blue .pu-insight-medical-kicker { color: #FFFFFF; }

.pu-insight-theme-light-grey .pu-insight-medical-kicker,
.pu-insight-theme-light_grey .pu-insight-medical-kicker { color: #0F0445; }

.pu-insight-medical-header h2 {
    font-family: var(--pu-insight-font-heading, "Polymath", system-ui, -apple-system, sans-serif);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.14;
    max-width: 900px;
    margin-bottom: 16px;
}

.pu-insight-theme-dark-blue .pu-insight-medical-header h2,
.pu-insight-theme-dark_blue .pu-insight-medical-header h2 { color: #FFFFFF; }

.pu-insight-theme-light-grey .pu-insight-medical-header h2,
.pu-insight-theme-light_grey .pu-insight-medical-header h2 { color: #0F0445; font-size: 48px; }

/* Highlighted Phrase Styles */
.pu-insight-page-text-yellow {
    color: #FFC800 !important;
    font-weight: 700;
	font-family: inherit;
    line-height: inherit;
}

.pu-insight-page-purple-gradient {
    background: linear-gradient(90deg, #B53C72 0%, #5641E0 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Title Section Styling matching Figma design */
.pu-insight-title-before,
.pu-insight-title-after {
    display: inline;
}

.pu-insight-title-before {
    color: #08012C;
}

.pu-insight-theme-dark-blue .pu-insight-title-before,
.pu-insight-theme-dark_blue .pu-insight-title-before {
    color: #FFFFFF;
}

.pu-insight-title-after {
    color: #525252;
}

.pu-insight-theme-dark-blue .pu-insight-title-after,
.pu-insight-theme-dark_blue .pu-insight-title-after {
    color: rgba(255, 255, 255, 0.75);
}

.pu-insight-medical-header p {
    font-family: var(--pu-insight-font-body, "Open Sans", system-ui, -apple-system, sans-serif);
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    max-width: 950px;
}

.pu-insight-theme-dark-blue .pu-insight-medical-header p,
.pu-insight-theme-dark_blue .pu-insight-medical-header p { color: rgba(255, 255, 255, 0.8); }

.pu-insight-theme-light-grey .pu-insight-medical-header p,
.pu-insight-theme-light_grey .pu-insight-medical-header p { color: #4A4D54; }

/* Slider Track & Medical Cards */
.pu-insight-medical-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
}

.pu-insight-medical-track {
    display: flex;
    gap: 24px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
}

.pu-insight-medical-track:active {
    cursor: grabbing;
}

.pu-insight-medical-track::-webkit-scrollbar {
    display: none;
}

.pu-insight-medical-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
    min-height: 460px;
	max-height: 550px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}


.pu-insight-medical-card-media {
    width: 100%;
    height: 240px;
    flex: 0 0 240px;
    position: relative;
    overflow: hidden;
    background-color: #1E2875;
}

.pu-insight-medical-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.pu-insight-medical-card:hover .pu-insight-medical-img {
    transform: scale(1.05);
}

.pu-insight-medical-card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
    overflow: hidden;
}

.pu-insight-medical-card-meta {
    margin-bottom: 8px;
}

.pu-insight-medical-card-meta h3 {
    font-family: var(--pu-insight-font-heading, "Polymath", system-ui, -apple-system, sans-serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    color: #0F0445;
    margin: 0 0 4px 0;
}

.pu-insight-medical-designation {
    font-family: var(--pu-insight-font-heading, "Polymath", system-ui, -apple-system, sans-serif);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    color: #5641E0;
    display: block;
}

.pu-insight-medical-divider {
    height: 1px;
    background-color: #EDEDF2;
    margin-bottom: 12px;
    width: 100%;
}

.pu-insight-medical-desc {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #D1D1D8 transparent;
    padding-right: 4px;
}

.pu-insight-medical-desc::-webkit-scrollbar {
    width: 4px;
}

.pu-insight-medical-desc::-webkit-scrollbar-thumb {
    background-color: #D1D1D8;
    border-radius: 4px;
}

.pu-insight-medical-desc p {
    font-family: var(--pu-insight-font-body, "Open Sans", system-ui, -apple-system, sans-serif);
    font-size: 18px;
    line-height: 1.5;
    color: #4A4D54;
    margin: 0;
}

/* Controls & Progress Bar */
.pu-insight-medical-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
}

.pu-insight-medical-progress {
    flex: 1;
    height: 2.5px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.pu-insight-theme-light-grey .pu-insight-medical-progress,
.pu-insight-theme-light_grey .pu-insight-medical-progress {
    background-color: rgba(15, 4, 69, 0.15);
}

.pu-insight-medical-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 33.33%;
    background-color: #FFC800;
    border-radius: 4px;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s ease;
}

.pu-insight-theme-light-grey .pu-insight-medical-bar,
.pu-insight-theme-light_grey .pu-insight-medical-bar {
    background-color: #0F0445;
}

.pu-insight-medical-arrows {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pu-insight-medical-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.pu-insight-theme-light-grey .pu-insight-medical-btn,
.pu-insight-theme-light_grey .pu-insight-medical-btn { color: #0F0445; }

.pu-insight-medical-btn:hover {
    opacity: 1;
    color: #FFC800;
    transform: scale(1.1);
}

.pu-insight-theme-light-grey .pu-insight-medical-btn:hover,
.pu-insight-theme-light_grey .pu-insight-medical-btn:hover { color: #5641E0; }

.pu-insight-medical-dots {
    display: none;
}

/* Intermediate Tablet Breakpoint (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .pu-insight-medical-header h2 { font-size: 38px; }
    .pu-insight-medical-card { height: 450px; }
    .pu-insight-medical-card-media { height: 210px; flex: 0 0 210px; }
    .pu-insight-medical-card-body h3 { font-size: 21px; min-height: 48px; }
}

/* Mobile Responsive Layout (< 991.98px) */
@media (max-width: 991.98px) {
    .pu-insight-medical-care-block { padding: 50px 0 60px; }
    .pu-insight-medical-header { margin-bottom: 28px; }
    .pu-insight-medical-kicker { font-size: 20px; margin-bottom: 4px; }
    .pu-insight-medical-header h2 { font-size: 30px; line-height: 1.18; margin-bottom: 14px; }
    .pu-insight-medical-header p { font-size: 14px; line-height: 1.45; }

    .pu-insight-medical-slider-wrapper {
        overflow: visible;
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: 12px;
        padding: 0;
    }

    .pu-insight-medical-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 15px;
        scroll-padding-right: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 14px;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .pu-insight-medical-track::-webkit-scrollbar { display: none; }

    .pu-insight-medical-card {
        flex: 0 0 calc(100% - 54px);
        width: calc(100% - 54px);
        max-width: 336px;
		min-height: 385px !important;
/*         height: 410px !important; */
		max-height: 430px;
        scroll-snap-align: start;
        border-radius: 18px;
    }

    .pu-insight-medical-card-media { height: 200px; flex: 0 0 200px; }
    .pu-insight-medical-card-body { padding: 20px 18px 22px; }
    .pu-insight-medical-card-body h3 { font-size: 20px; margin-bottom: 10px; padding-bottom: 10px; min-height: 46px; }
    .pu-insight-medical-card-body p { font-size: 13.5px; line-height: 1.42; }

    .pu-insight-medical-controls { display: none; }

    .pu-insight-medical-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .pu-insight-theme-dark-blue .pu-insight-medical-dots .pu-insight-page-dot,
    .pu-insight-theme-dark_blue .pu-insight-medical-dots .pu-insight-page-dot {
        background-color: rgba(255, 255, 255, 0.25);
    }

    .pu-insight-medical-dots .pu-insight-page-dot.active {
        background-color: #0F0445;
        width: 24px;
        border-radius: 50px;
    }

    .pu-insight-theme-dark-blue .pu-insight-medical-dots .pu-insight-page-dot.active,
    .pu-insight-theme-dark_blue .pu-insight-medical-dots .pu-insight-page-dot.active {
        background-color: #FFC800;
    }
}
.pu-insight-title-before{
	font-size: inherit;
	font-family: inherit;
}

.pu-insight-title-after{
	color: #5B5B5B;
	font-size: inherit;
	font-family: inherit;
}