/* Portal: Website Resmi */
.bg-school {
    background: var(--pub-topbar-bg, linear-gradient(90deg, #1e3a8a 0%, #1e40af 52%, #2563eb 100%)) !important;
}

.pub-school-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    max-width: min(100%, 22rem);
    padding-top: 0;
    padding-bottom: 0;
}

.pub-school-brand-mark {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.pub-school-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.pub-school-brand-mark .bi {
    font-size: 1.25rem;
}

.pub-school-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.25;
}

.pub-school-brand-text strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pub-school-brand-tagline {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.6875rem;
    font-weight: 500;
    opacity: 0.88;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pub-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.pub-footer-brand-mark {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.pub-footer-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.pub-footer-brand-name {
    margin: 0;
}

@media (max-width: 575.98px) {
    .pub-school-brand {
        max-width: calc(100% - 3rem);
    }

    .pub-school-brand-tagline {
        display: none;
    }
}
