/* Latest news + Facebook + Google reviews */
section.bims-updates {
    padding: 70px 0 50px;
    background: #f0f4f2;
}

section.bims-updates .bims-updates__heading {
    font-size: 45px;
    font-weight: 300;
    color: #737373;
    font-family: 'Nunito', sans-serif;
    margin-bottom: 40px;
}

.bims-updates__panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bims-updates__panel-head {
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.bims-updates__panel-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.bims-updates__panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 22px 22px;
}

.bims-updates__panel-body--news {
    padding-top: 8px;
}

/* Facebook — recent posts feed */
.bims-updates__panel-body--facebook {
    padding-top: 12px;
}

.bims-fb-feed__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8e8e8;
}

.bims-fb-feed__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.bims-fb-feed__meta h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #1c1e21;
}

.bims-fb-feed__meta p {
    margin: 0;
    font-size: 13px;
    color: #65676b;
}

.bims-fb-post {
    background: #f7f8fa;
    border: 1px solid #e4e6eb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.bims-fb-post__date {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #009355;
    margin-bottom: 8px;
}

.bims-fb-post__image {
    display: block;
    margin: -4px -4px 12px;
    border-radius: 8px;
    overflow: hidden;
}

.bims-fb-post__image img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

.bims-fb-post__text {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
    white-space: pre-wrap;
}

.bims-fb-post__link {
    font-size: 13px;
    font-weight: 600;
    color: #1877f2 !important;
    text-decoration: none !important;
}

.bims-fb-post__link:hover {
    text-decoration: underline !important;
}

.bims-fb-feed__empty {
    font-size: 14px;
    color: #65676b;
    margin: 0 0 12px;
}

.bims-fb-cta {
    display: inline-block;
    margin-top: 6px;
    padding: 10px 22px;
    background: #1877f2;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    font-size: 14px;
}

.bims-fb-cta:hover {
    background: #166fe5;
    color: #fff !important;
}

/* Student reviews section */
section.bims-student-reviews {
    padding: 70px 0 80px;
    background: linear-gradient(180deg, #f8faf9 0%, #fff 100%);
}

section.bims-student-reviews h3 {
    font-size: 45px;
    font-weight: 300;
    color: #737373;
    font-family: 'Nunito', sans-serif;
    margin-bottom: 10px;
}

section.bims-student-reviews .bims-student-reviews__sub {
    color: #757575;
    font-size: 17px;
    margin-bottom: 40px;
}

.bims-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bims-review-card {
    background: #fff;
    border: 1px solid #e8ecea;
    border-radius: 12px;
    padding: 22px;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    border-top: 4px solid #009355;
}

.bims-review-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.bims-review-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.bims-review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #009355, #00b366);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.bims-review-card__author {
    font-weight: 700;
    font-size: 15px;
    color: #222;
    margin: 0;
}

.bims-review-card__role {
    font-size: 12px;
    color: #009355;
    font-weight: 600;
    margin: 2px 0 0;
}

.bims-review-card__stars {
    color: #f4b400;
    font-size: 14px;
    margin-bottom: 12px;
}

.bims-review-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
}

@media (max-width: 991px) {
    .bims-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bims-updates__panel {
        height: auto;
        max-height: none;
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .bims-reviews-grid {
        grid-template-columns: 1fr;
    }

    section.bims-updates .bims-updates__heading,
    section.bims-student-reviews h3 {
        font-size: 32px;
    }
}
