.sh-warning-text {
    position: relative;
    padding-left: 30px !important;
}

.sh-warning-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 17px;
    height: 17px;
    background-image: url('/images/warning.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/* ===== GALLERY PAGE ===== */
.sh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.sh-gallery-item {
    overflow: hidden;
    min-width: 0;
    cursor: pointer;
}

.sh-gallery-item-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #F3F4F6;
}

.sh-gallery-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.sh-gallery-item:hover .sh-gallery-item-img-wrap img {
    transform: scale(1.04);
}

/* overlay with zoom icon on hover */
.sh-gallery-item-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(56, 59, 71, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}
.sh-gallery-item:hover .sh-gallery-item-img-wrap::after {
    background: rgba(56, 59, 71, 0.35);
}

.sh-gallery-item-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.sh-gallery-item:hover .sh-gallery-item-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.sh-gallery-item-title {
    font-family: 'InterMedium', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #383B47;
    padding: 10px 0 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sh-gallery-item-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: #6B7280;
    padding-bottom: 4px;
}

/* load more button */
.sh-gallery-loadmore {
    text-align: center;
    margin: 40px 0 0;
}

/* empty state */
.sh-gallery-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    gap: 16px;
    color: #9CA3AF;
}
.sh-gallery-empty p { margin: 0; font-size: 16px; }

@media (max-width: 1259px) {
    .sh-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 767px) {
    .sh-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
    .sh-gallery-item-title { font-size: 11px; padding: 6px 0 2px; }
    .sh-gallery-item-text { font-size: 10px; }
}

/* ===== GUARANTEE PAGE ===== */
.sh-guarantee h3 {
    font-family: 'InterMedium', sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #0E0F11;
    text-transform: uppercase;
    margin: 40px 0 16px;
    font-weight: 500;
}
.sh-guarantee h3:first-child {
    margin-top: 0;
}

/* Desktop overrides — beat media1.css specificity */
@media (min-width: 1260px) {
    .gr-company:has(.sh-guarantee) .gr-company-h1 h1 {
        font-size: 24px;
        line-height: 30px;
        font-weight: 500;
        color: #0E0F11;
        position: static;
    }
    .gr-company-content.sh-guarantee h3 {
        font-size: 18px;
        line-height: 24px;
        font-weight: 500;
        color: #0E0F11;
        margin-bottom: 16px;
    }
    .gr-company-content.sh-guarantee > h3:not(:first-child) {
        margin-top: 40px;
    }
}
.sh-guarantee p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #383B47;
    margin: 0 0 12px;
}
.sh-guarantee p:last-child {
    margin-bottom: 0;
}
.sh-guarantee strong {
    font-family: 'InterMedium', sans-serif;
    font-weight: 500;
    color: #0E0F11;
}
.sh-guarantee ul,
.sh-guarantee ol {
    margin: 0 0 16px 24px;
    padding: 0 !important;
}
.sh-guarantee ul { list-style: disc; }
.sh-guarantee ol { list-style: decimal; }
/* Override Intec bundle.css ol>li:before counter that doubles numbering */
.sh-guarantee ol > li:before {
    content: none !important;
    counter-increment: none !important;
}
.sh-guarantee li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #383B47;
    margin-bottom: 4px;
    padding: 0;
}
.sh-guarantee li:last-child { margin-bottom: 0; }
.sh-guarantee a {
    color: #383B47;
    text-decoration: underline;
}
.sh-guarantee a:hover { color: #CCAD22; }

/* Warning block */
.sh-warning-block {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 16px 0 24px;
}
.sh-warning-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    background-image: url('/images/warning.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.sh-warning-block p {
    font-family: 'InterMedium', sans-serif;
    font-weight: 500;
    color: #0E0F11;
    margin-bottom: 4px;
}

/* ===== DOCS PAGE ===== */
.gr-docs-watermark {
    position: relative;
}

.gr-docs-watermark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: url('/local/templates/v2025/images/logo-footer.svg') center / contain no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.gr-docs-watermark .gr-company-content {
    position: relative;
    z-index: 1;
}

.sh-docs-cta {
    margin-top: 40px;
    padding: 32px;
    background: #F6F6F8;
    border-radius: 1px;
    text-align: center;
}

.sh-docs-cta p {
    margin-bottom: 16px;
}

.sh-docs-cta .sh-dark-button {
    width: 282px;
    max-width: 100%;
    text-decoration: none;
}

/* ===== VACANCIES PAGE ===== */
.sh-vacancy-card {
    background: #FFFFFF;
    border: 1px solid #E0E2E8;
    border-radius: 1px;
    padding: 32px;
    margin-bottom: 24px;
}

.sh-vacancy-card:last-child {
    margin-bottom: 0;
}

.sh-vacancy-title {
    font-family: 'InterMedium', sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #0E0F11;
    text-transform: uppercase;
    margin: 0 0 16px;
    padding: 0;
}

.sh-vacancy-section-title {
    font-family: 'InterMedium', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #0E0F11;
    text-transform: uppercase;
    padding: 12px 0 8px;
    margin: 0;
}

.sh-vacancy-card ul {
    padding: 0 0 0 20px !important;
    margin: 0;
}

.sh-vacancy-card li,
.sh-vacancy-card p,
.sh-vacancy-intro,
.sh-vacancy-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #383B47;
}

.sh-vacancy-card li {
    padding: 3px 0;
}

.sh-vacancy-card p,
.sh-vacancy-intro {
    padding: 0;
    margin: 0;
}

.sh-vacancy-intro {
    margin-bottom: 24px;
}

.sh-vacancy-cta {
    margin-top: 40px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 48px calc(50vw - 50%);
    background: #F6F6F8;
    text-align: center;
    box-sizing: border-box;
}

.sh-vacancy-cta p {
    margin-bottom: 16px;
}

.sh-vacancy-cta a {
    color: #CCAD22;
    text-decoration: none;
    font-family: 'InterMedium', sans-serif;
}

.sh-vacancy-cta a:hover {
    color: #383B47;
}

/* ===== AVTOPARK PAGE ===== */
.sh-avtopark .gr-avtopark-block1,
.sh-avtopark .gr-avtopark-block2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: center;
    margin: 32px 0 40px;
}

.sh-avtopark .gr-avtopark-block2 > *:first-child {
    order: 2;
}

.sh-avtopark .gr-avtopark-block2 > *:last-child {
    order: 1;
}

.sh-avtopark-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1px;
}

@media (max-width: 767px) {
    .sh-avtopark .gr-avtopark-block1,
    .sh-avtopark .gr-avtopark-block2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin: 24px 0 32px;
    }

    .sh-avtopark .gr-avtopark-block2 > *:first-child,
    .sh-avtopark .gr-avtopark-block2 > *:last-child {
        order: initial;
    }

    .sh-docs-cta {
        padding: 24px 16px;
    }

    .sh-vacancy-card {
        padding: 20px 16px;
        margin-bottom: 16px;
    }

    .sh-vacancy-title {
        font-size: 16px;
        line-height: 22px;
    }

    .sh-vacancy-card li,
    .sh-vacancy-card p,
    .sh-vacancy-cta p {
        font-size: 14px;
        line-height: 20px;
    }

    .sh-vacancy-cta {
        padding: 24px 16px;
        margin-top: 24px;
    }
}
