@media only screen and (min-width: 1065px) {
    .nav-holder nav li ul {
        width: auto !important;
        min-width: max-content !important;
        inline-size: max-content;
    }

    .nav-holder nav li ul li {
        width: 100% !important;
        min-width: max-content;
    }

    .nav-holder nav li ul a {
        width: 100% !important;
        min-width: max-content;
        white-space: nowrap !important;
        padding-right: 22px;
    }

    .nav-holder nav li ul li ul {
        max-width: none;
        min-width: max-content !important;
    }
}

.topbar-contact-item {
    width: auto !important;
    margin-left: 14px !important;
}

.topbar-contact-item a {
    width: auto !important;
    min-width: 0;
    padding: 0 10px;
    color: #fff !important;
    background: rgba(255,255,255,0.07);
    border-radius: 2px;
    white-space: nowrap;
}

.topbar-contact-item a i {
    margin-right: 7px;
    color: #e93314;
}

.topbar-contact-item a span {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
}

.school-feature-banner-section {
    padding: 36px 0 0;
    background: #fff;
}

.school-feature-banner {
    position: relative;
    padding: 18px;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.school-feature-banner span {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 2;
    padding: 9px 15px;
    background: #e93314;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.school-feature-banner img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: #f7f7f7;
}

.school-profile-widget .box-widget-content h4 {
    margin: 0 0 14px;
    color: #292929;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.school-leader-card {
    position: relative;
    text-align: center;
    margin: -5px 0 18px;
    overflow: hidden;
    background: #1f1f1f;
    border: 1px solid #ececec;
}

.school-leader-photo {
    width: 100%;
    max-width: none;
    height: 360px;
    margin: 0;
    overflow: hidden;
    background: #f4f4f4;
    border: 0;
}

.school-leader-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(1.02) contrast(1.02);
}

.school-leader-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 54px 18px 18px;
    background: linear-gradient(to bottom, rgba(31,31,31,0), rgba(31,31,31,0.92));
    text-align: left;
}

.school-leader-card h4 {
    margin: 0 0 6px !important;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
}

.school-leader-card span {
    display: block;
    color: #fff;
    opacity: 0.9;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.school-leader-caption span:before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    margin-right: 8px;
    vertical-align: middle;
    background: #e93314;
}

.school-profile-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.school-profile-list li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px dotted #d7d7d7;
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

.school-profile-list li strong {
    max-width: 62%;
    color: #292929;
    text-align: right;
    font-weight: 700;
}

.school-profile-widget p {
    margin: 8px 0;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.school-profile-widget p i {
    width: 18px;
    color: #e93314;
}

.school-side-banner {
    min-height: 0;
    padding: 0 !important;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
}

.school-side-banner img {
    display: block;
    width: 100%;
    height: 260px !important;
    object-fit: contain !important;
    object-position: center center;
    background: #f5f5f5;
}

.school-side-banner-content {
    position: static !important;
    padding: 20px 24px 24px;
    background: #1f1f1f;
}

.school-side-banner-content p {
    margin-bottom: 16px;
}

.school-social-widget ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.school-social-widget a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 12px;
    background: #f7f7f7;
    color: #292929;
    font-size: 12px;
    font-weight: 700;
}

.school-social-widget a i {
    color: #e93314;
}

.template-sma-footer-widgets {
    position: relative;
    z-index: 50;
}

@media only screen and (max-width: 768px) {
    .topbar-contact-item a span {
        display: none;
    }

    .topbar-contact-item a i {
        margin-right: 0;
    }

    .school-feature-banner-section {
        padding-top: 22px;
    }

    .school-feature-banner img {
        max-height: 160px;
    }

    .school-social-widget ul {
        grid-template-columns: 1fr;
    }

    .school-leader-photo {
        height: 300px;
    }
}
