
.cm-img {
    width: 25%;
    min-width: 90px;
    height: auto;
}

.tiny-text {
    color: maroon;
    font-size: 0.48rem;
}

.header-person-block h6 {
    font-weight: 700;
    border-bottom: 1px solid maroon;
    padding-bottom: 2px;
    margin-bottom: 4px;
}

.header-person-block small {
    color: maroon;
}


@media (max-width: 768px) {

    .header-person-block {
        flex-direction: column;
        text-align: center;
    }

    .cm-img {
        width: 60%;
        margin-bottom: 10px;
    }

    .header-person-block h6 {
        font-size: 0.85rem;
    }

    .header-person-block small {
        font-size: 0.75rem;
    }

    .tiny-text {
        font-size: 0.65rem;
    }
}


.department-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    flex-direction: row; /* default = desktop */
}
.dept-logo {
    max-height: 90px;
    width: auto;
}
.dept-text h5 {
    font-size: clamp(0.9rem, 2vw, 1.4rem);
}

.dept-desc {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.dept-gov {
    font-size: clamp(0.75rem, 1.3vw, 0.95rem);
}

/* Tablet only (768px to 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .department-header {
        flex-direction: column;
    }

    .dept-logo {
        margin-bottom: 8px;
    }

    .dept-text {
        margin: 10px 0;
    }
}

/* Small Mobile (<768px) */
@media (max-width: 767px) {
    .department-header {
        flex-direction: row; /* IMPORTANT reset */
        justify-content: space-between;
    }

    .dept-logo {
        max-height: 60px;
    }

    .dept-text h5 {
        font-size: 1rem;
    }
}
