/*
 * SDJ v0.8.0i.3d
 * Logo and header refinement.
 */

.sdj-header-inner {
    min-height: 90px;
    gap: 20px;
}

.sdj-brand {
    display: block;
    flex: 0 0 340px;
    max-width: 100%;
    min-width: 0;
}

.sdj-brand img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 850 / 140;
    object-fit: contain;
}

.sdj-navigation {
    gap: clamp(12px, 1.35vw, 22px);
}

.sdj-header-actions {
    gap: 16px;
}

.sdj-footer-brand img {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 850 / 140;
    object-fit: contain;
}

/* Intermediate desktop sizes */

@media (min-width: 1181px) and (max-width: 1399px) {

    .sdj-brand {
        flex-basis: 290px;
    }

    .sdj-header-inner {
        gap: 16px;
    }

    .sdj-navigation {
        gap: 12px;
    }

    .sdj-header-actions {
        gap: 12px;
    }
}

/* Tablet */

@media (max-width: 1180px) {

    .sdj-header-inner {
        min-height: 90px;
        padding-block: 16px;
    }

    .sdj-brand {
        flex-basis: 300px;
    }
}

/* Mobile */

@media (max-width: 768px) {

    .sdj-header-inner {
        min-height: 76px;
        gap: 14px;
        padding-block: 14px;
    }

    .sdj-brand {
        flex: 0 1 250px;
        max-width: calc(100% - 64px);
    }

    .sdj-menu-toggle {
        flex-shrink: 0;
    }

    .sdj-footer-brand img {
        width: 280px;
    }
}
