/* ==========================================================================
   Medical Collage & Scroll Text Styles
   ========================================================================== */

.mcst-block-wrapper {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: stretch;
    font-family: 'Inter', sans-serif;
}

/* Left Column: Collage Container */
.mcst-collage-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    position: sticky;
    top: 30px;
    height: fit-content;
}

.mcst-collage-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Card 1: Teal Card */
.mcst-card-teal {
    background-color: #00a8cc;
    border-radius: 24px;
    padding: 40px 30px;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 168, 204, 0.15);
    transition: transform 0.3s ease;
}

.mcst-card-teal:hover {
    transform: translateY(-4px);
}

.mcst-card-teal-text {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin: 0;
}

/* Image Cards (Top Right & Bottom Wide) */
.mcst-card-image {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.mcst-card-image:hover {
    transform: translateY(-4px);
}

.mcst-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mcst-card-top-right {
    min-height: 240px;
}

.mcst-card-bottom-wide {
    width: 100%;
    height: 280px;
}

/* Right Column: Scrollable Text Area */
.mcst-text-column {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.mcst-scroll-container {
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    padding-right: 10px;
    /* Hide scrollbar by default on Firefox/IE */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hide Webkit Scrollbar visually by default */
.mcst-scroll-container::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Optional Webkit Scrollbar when enabled */
.mcst-scroll-container.mcst-show-scrollbar::-webkit-scrollbar {
    display: block;
    width: 6px;
}

.mcst-scroll-container.mcst-show-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.mcst-scroll-container.mcst-show-scrollbar::-webkit-scrollbar-thumb {
    background: #00a8cc;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.mcst-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #0077b6;
}

/* Typography Elements */
.mcst-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0b5a6c;
    margin-bottom: 15px;
}

.mcst-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #0a2f35;
    line-height: 1.18;
    margin: 0 0 25px 0;
}

.mcst-body-paragraphs {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: #667085;
    margin-bottom: 35px;
}

.mcst-body-paragraphs p {
    margin-bottom: 18px;
}

.mcst-body-paragraphs p:last-child {
    margin-bottom: 0;
}

/* Highlights List Items */
.mcst-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mcst-feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mcst-feature-icon {
    color: #00a8cc;
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1;
    display: inline-flex;
}

.mcst-feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: #00a8cc;
    fill: none;
}

.mcst-feature-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0d3a43;
    margin: 0 0 8px 0;
}

.mcst-feature-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #667085;
    line-height: 1.55;
    margin: 0;
}

/* Responsive Breakpoints */

/* Tablet Layout */
@media (max-width: 991px) {
    .mcst-block-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mcst-collage-column {
        position: static;
    }

    .mcst-scroll-container {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .mcst-title {
        font-size: 36px;
    }
}

/* Mobile Layout */
@media (max-width: 575px) {
    .mcst-collage-top-row {
        grid-template-columns: 1fr;
    }

    .mcst-card-teal {
        min-height: 180px;
        padding: 30px 20px;
    }

    .mcst-card-teal-text {
        font-size: 20px;
    }

    .mcst-card-bottom-wide {
        height: 200px;
    }

    .mcst-title {
        font-size: 28px;
    }
}
