/* =========================================================
   MNMA HIGHLIGHTS SECTION
========================================================= */

.mnma-highlights-section {
    width: 100%;
    margin: 20px 0 0;
    padding: 15px 0 15px 0;

    background: #ffffff;
}


/* =========================================================
   CONTAINER
========================================================= */

.mnma-highlights-container {
    width: 96%;
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(240px, 0.9fr)
        minmax(0, 1.35fr);

    gap: 20px;

    align-items: stretch;
}


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

.mnma-feature-card,
.mnma-short-courses-card,
.mnma-alumni-card {

    min-width: 0;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    overflow: hidden;

    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.05);

    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.mnma-feature-card:hover,
.mnma-short-courses-card:hover,
.mnma-alumni-card:hover {

    border-color: #cbd5e1;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.08);
}


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

.mnma-section-heading {

    min-height: 52px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 14px;

    background: #f8fafc;
}


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

.mnma-heading-icon {

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #1e3a8a;
    background: #eff6ff;

    border: 1px solid #dbeafe;
    border-radius: 6px;

    font-size: 13px;
}


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

.mnma-section-heading h2 {

    margin: 0;

    color: #1e3a8a;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 0.2px;
}


.mnma-section-heading h2 span {
    color: #1e3a8a;
}


.mnma-section-heading h2 em {

    margin-left: 4px;

    color: #dc2626;

    font-style: italic;
}


/* =========================================================
   DIVIDER
========================================================= */

.mnma-heading-divider {

    height: 1px;

    margin: 0 14px;

    background: #e2e8f0;
}


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

.mnma-feature-image {

    width: 100%;

    padding: 14px 14px 0;

    box-sizing: border-box;
}


.mnma-feature-image img {

    display: block;

    width: 100%;
    height: 175px;

    object-fit: cover;

    border-radius: 6px;

    background: #f1f5f9;
}


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

.mnma-feature-content {

    padding: 12px 14px 16px;
}


.mnma-feature-content p {

    margin: 0 0 12px;

    color: #64748b;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 12px;

    line-height: 1.6;

    text-align: justify;
}


/* =========================================================
   READ MORE
========================================================= */

.mnma-read-more {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #1d4ed8;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}


.mnma-read-more:hover {

    color: #dc2626;

    text-decoration: none;

    gap: 9px;
}


.mnma-read-more i {

    font-size: 10px;
}


/* =========================================================
   SHORT COURSES LIST
========================================================= */

.mnma-courses-list {

    display: flex;

    flex-direction: column;

    padding: 6px 0;
}


/* =========================================================
   COURSE ITEM
========================================================= */

.mnma-course-item {

    min-height: 64px;

    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 10px;

    padding: 6px 8px;

    color: #334155;

    text-decoration: none;

    border-bottom: 1px solid #f1f5f9;

    border-radius: 5px;

    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        padding-left 0.2s ease;
}


.mnma-course-item:last-child {
    border-bottom: 0;
}


.mnma-course-item:hover {

    background: #f8fafc;

    padding-left: 11px;

    text-decoration: none;
}


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

.mnma-course-image {

    width: 55px;
    height: 48px;

    flex: 0 0 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 5px;

    overflow: hidden;
}


.mnma-course-image img {

    display: block;

    max-width: 90%;
    max-height: 40px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   COURSE NAME
========================================================= */

.mnma-course-name {

    flex: 1;

    min-width: 0;

    color: #334155;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 11.5px;

    font-weight: 600;

    line-height: 1.4;

    text-align: left;
}


.mnma-course-item:hover .mnma-course-name {
    color: #1e3a8a;
}


/* =========================================================
   COURSE ARROW
========================================================= */

.mnma-course-arrow {

    color: #94a3b8;

    font-size: 13px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.mnma-course-item:hover .mnma-course-arrow {

    color: #1e3a8a;

    transform: translateX(3px);
}


/* =========================================================
   ALUMNI
========================================================= */

.mnma-alumni-content {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 14px;

    padding: 14px;
}


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

.mnma-alumni-image {

    width: 100%;
    height: 205px;

    overflow: hidden;

    border-radius: 6px;

    background: #f1f5f9;
}


.mnma-alumni-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}


.mnma-alumni-card:hover .mnma-alumni-image img {

    transform: scale(1.02);
}


/* =========================================================
   ALUMNI DESCRIPTION
========================================================= */

.mnma-alumni-description {

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.mnma-alumni-description p {

    margin: 0 0 10px;

    color: #64748b;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 11.5px;

    line-height: 1.6;

    text-align: justify;
}


.mnma-alumni-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ALUMNI FOOTER
========================================================= */

.mnma-alumni-footer {

    padding: 0 14px 14px;
}


/* =========================================================
   CONNECT BUTTON
========================================================= */

.mnma-connect-button {

    min-height: 38px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 13px;

    color: #ffffff;

    background: #334155;

    border: 1px solid #334155;

    border-radius: 5px;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 11px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.mnma-connect-button span {

    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.mnma-connect-button:hover {

    color: #ffffff;

    background: #1e3a8a;

    border-color: #1e3a8a;

    text-decoration: none;
}


.mnma-connect-button i {

    font-size: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .mnma-highlights-container {

        grid-template-columns:
            minmax(0, 1fr)
            minmax(220px, 0.85fr);

    }


    .mnma-alumni-card {

        grid-column: 1 / -1;
    }


    .mnma-alumni-content {

        grid-template-columns:
            minmax(260px, 0.8fr)
            minmax(0, 1.2fr);

    }

}


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

@media (max-width: 768px) {

    .mnma-highlights-section {

        margin-top: 15px;
    }


    .mnma-highlights-container {

        width: 94%;

        grid-template-columns: 1fr;

        gap: 15px;
    }


    .mnma-alumni-card {

        grid-column: auto;
    }


    .mnma-feature-image img {

        height: 200px;
    }


    .mnma-alumni-content {

        grid-template-columns: 1fr;

    }


    .mnma-alumni-image {

        height: 220px;
    }

}


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

@media (max-width: 576px) {

    .mnma-highlights-container {

        width: 94%;
    }


    .mnma-section-heading {

        min-height: 50px;

        padding: 0 12px;
    }


    .mnma-heading-icon {

        width: 28px;
        height: 28px;

        flex-basis: 28px;

        font-size: 12px;
    }


    .mnma-section-heading h2 {

        font-size: 13px;
    }


    .mnma-feature-image {

        padding: 12px 12px 0;
    }


    .mnma-feature-image img {

        height: 190px;
    }


    .mnma-feature-content {

        padding: 11px 12px 14px;
    }


    .mnma-feature-content p {

        font-size: 11.5px;
    }


    .mnma-course-item {

        min-height: 60px;

        margin-left: 8px;
        margin-right: 8px;
    }


    .mnma-alumni-content {

        padding: 12px;
    }


    .mnma-alumni-image {

        height: 200px;
    }


    .mnma-alumni-description p {

        font-size: 11px;
    }


    .mnma-alumni-footer {

        padding: 0 12px 12px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.mnma-read-more:focus-visible,
.mnma-course-item:focus-visible,
.mnma-connect-button:focus-visible {

    outline: 2px solid #2563eb;

    outline-offset: 3px;
}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mnma-feature-card,
    .mnma-short-courses-card,
    .mnma-alumni-card,
    .mnma-feature-image img,
    .mnma-course-item,
    .mnma-read-more,
    .mnma-course-arrow,
    .mnma-connect-button {

        transition: none;
    }

}