/* ServisKirala brand visual fixes */
header img[src*="logo-header"] {
    height: 30px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
}

@media (min-width: 768px) {
    header img[src*="logo-header"] {
        height: 34px !important;
        max-width: 260px !important;
    }
}

footer img[src*="logo-footer"] {
    height: 42px !important;
    width: auto !important;
    max-width: 280px !important;
    object-fit: contain !important;
}

@media (min-width: 768px) {
    footer img[src*="logo-footer"] {
        height: 48px !important;
        max-width: 340px !important;
    }
}

/* ServisKirala homepage hero scale fix */
.sk-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 640px;
    color: #ffffff;
}

.sk-home-hero > div:first-child {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sk-home-hero > div:first-child picture,
.sk-home-hero > div:first-child img {
    width: 100%;
    height: 100%;
    display: block;
}

.sk-home-hero > div:first-child img {
    object-fit: cover;
    object-position: center;
}

.sk-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 20, 36, 0.82) 0%, rgba(8, 20, 36, 0.58) 42%, rgba(8, 20, 36, 0.20) 100%),
        rgba(8, 20, 36, 0.20);
}

.sk-home-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    min-height: 640px;
    margin-inline: auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 56px;
    align-items: center;
}

.sk-home-hero__copy {
    display: block !important;
    max-width: 650px;
}

.sk-home-hero__copy h1 {
    max-width: 620px;
}

.sk-home-hero__form-wrap {
    width: auto !important;
    justify-self: end;
}

.sk-home-hero__card {
    width: 460px !important;
    max-width: 100%;
}

@media (max-width: 1023px) {
    .sk-home-hero {
        min-height: auto;
    }

    .sk-home-hero__container {
        min-height: 560px;
        grid-template-columns: 1fr;
        padding: 72px 16px 40px;
    }

    .sk-home-hero__copy {
        display: none !important;
    }

    .sk-home-hero__form-wrap {
        justify-self: stretch;
        width: 100% !important;
    }

    .sk-home-hero__card {
        width: 100% !important;
    }
}
