/* Kia pre-built GrapesJS blocks — matches kia.ru service page patterns */

.kia-blk-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background-color: #f8f8f8;
}

.kia-blk-hero__text {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    box-sizing: border-box;
}

.kia-blk-hero__title {
    margin: 0 0 24px;
    color: #05141f;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.kia-blk-hero__body {
    margin: 0;
    color: #697279;
    font-size: 16px;
    line-height: 1.6;
}

.kia-blk-hero__media {
    flex: 1 1 320px;
    min-height: 360px;
}

.kia-blk-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.kia-blk-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
}

.kia-blk-features__item {
    padding: 40px;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.kia-blk-features__icon {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: #05141f;
}

.kia-blk-features__title {
    margin: 0 0 12px;
    color: #05141f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.kia-blk-features__text {
    margin: 0;
    color: #697279;
    font-size: 14px;
    line-height: 1.55;
}

.kia-blk-useful {
    padding: 40px 60px 60px;
    box-sizing: border-box;
}

.kia-blk-useful__title {
    margin: 0 0 24px;
    color: #05141f;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.kia-blk-useful__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.kia-blk-useful__card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 90px;
    padding: 24px 16px;
    background-color: #f8f8f8;
    color: #05141f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    box-sizing: border-box;
}

.kia-blk-useful__card:hover {
    color: #05141f;
}

.kia-blk-useful__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: #05141f;
}

.kia-blk-phone {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background-color: #05141f;
    color: #fff;
}

.kia-blk-phone__text {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px;
    box-sizing: border-box;
}

.kia-blk-phone__title {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.kia-blk-phone__media {
    flex: 1 1 280px;
    min-height: 280px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.kia-blk-intro {
    padding: 20px 60px 22px;
    box-sizing: border-box;
}

.kia-blk-intro__title {
    margin: 0 0 16px;
    color: #05141f;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
}

.kia-blk-intro__body {
    margin: 0;
    color: #697279;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .kia-blk-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kia-blk-useful__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .kia-blk-hero__text,
    .kia-blk-useful,
    .kia-blk-intro,
    .kia-blk-phone__text {
        padding: 24px 15px;
    }

    .kia-blk-hero__title,
    .kia-blk-useful__title,
    .kia-blk-intro__title {
        font-size: 24px;
    }

    .kia-blk-features {
        grid-template-columns: 1fr;
    }

    .kia-blk-useful__grid {
        grid-template-columns: 1fr;
    }

    .kia-blk-phone__text {
        padding: 24px 15px;
    }

    .kia-blk-faq-section {
        padding: 24px 15px;
    }

    .kia-blk-faq-section__title {
        font-size: 24px;
    }
}

/* FAQ accordion — matches kia.ru/buy/vin-report/ */

.kia-blk-faq-section {
    padding: 20px 60px 40px;
    box-sizing: border-box;
}

.kia-blk-faq-section__title {
    margin: 0 0 24px;
    color: #05141f;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.faq ol {
    list-style: inside decimal;
    margin: 0;
    padding: 0;
}

.faq ul {
    margin: 12px 0 0;
    padding-left: 1.2em;
}

.faq__item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(155, 161, 165, 0.5);
}

.faq__item-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    color: #05141f;
}

.faq__item-question-text {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.33;
}

.faq__item-question-icon {
    flex: 0 0 auto;
    margin-left: 16px;
    transition: transform 0.2s;
}

.faq__item-answer {
    display: none;
    margin-top: 16px;
    color: #697279;
    font-size: 14px;
    line-height: 1.55;
}

.faq__item-answer p {
    margin: 0 0 12px;
}

.faq__item-answer p:last-child {
    margin-bottom: 0;
}

.faq__item-answer a {
    color: #05141f;
}

.faq__item_opened .faq__item-question {
    padding-bottom: 20px;
    border-bottom: 2px solid #05141f;
}

.faq__item_opened .faq__item-question-icon {
    transform: rotate(-180deg);
}

.faq__item_opened .faq__item-answer {
    display: block;
}

@media (min-width: 1280px) {
    .faq__item-question-text {
        font-size: 18px;
        line-height: 1.4;
    }
}

.imported-content .kia-blk-divider,
.kia-blk-divider {
    display: block;
    width: 100%;
    margin: 24px 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #d1d1d1;
    box-sizing: content-box;
    flex-shrink: 0;
}

.elementor .imported-content .kia-blk-divider,
.elementor .kia-blk-divider {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid #d1d1d1;
    background-color: transparent;
}

/* Link Button */
.imported-content .kia-blk-link-button,
.kia-blk-link-button {
    display: inline-block;
    padding: 18px 40px; /* medium (default) */
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

/* Button size modifiers — the inline "Font size" trait overrides font-size */
.imported-content .kia-blk-link-button--sm,
.kia-blk-link-button--sm {
    padding: 12px 26px;
    font-size: 14px;
}

.imported-content .kia-blk-link-button--lg,
.kia-blk-link-button--lg {
    padding: 24px 56px;
    font-size: 18px;
}

/* Dark scheme — dark navy background, white label (matches design) */
.imported-content .kia-blk-link-button--dark,
.kia-blk-link-button--dark {
    background-color: #0b1a24;
    color: #ffffff;
    border-color: #0b1a24;
}

.kia-blk-link-button--dark:hover {
    background-color: #16303f;
    border-color: #16303f;
    color: #ffffff;
}

/* Light scheme — light background, dark label */
.imported-content .kia-blk-link-button--light,
.kia-blk-link-button--light {
    background-color: #ffffff;
    color: #0b1a24;
    border-color: #0b1a24;
}

.kia-blk-link-button--light:hover {
    background-color: #0b1a24;
    color: #ffffff;
    border-color: #0b1a24;
}

/* Container & Grid layout blocks.
   Layout itself is driven by inline styles set from the traits; these rules
   only add box-sizing and a minimum drop target so empty blocks stay usable. */
.imported-content .kia-blk-container,
.kia-blk-container,
.imported-content .kia-blk-grid,
.kia-blk-grid {
    box-sizing: border-box;
    min-height: 40px;
}

.imported-content .kia-blk-grid__cell,
.kia-blk-grid__cell {
    box-sizing: border-box;
    min-height: 40px;
}

/* Editor-only affordances so empty containers/cells are visible and droppable. */
.gjs-dashed .kia-blk-container,
.gjs-dashed .kia-blk-grid,
.gjs-dashed .kia-blk-grid__cell {
    outline: 1px dashed rgba(59, 130, 246, .5);
    outline-offset: -1px;
}

/* Heading & Text Editor.
   Typography (align/color/size/weight/line-height) is driven by inline styles
   from the traits; these rules only set sane spacing defaults. */
.imported-content .kia-blk-heading,
.kia-blk-heading {
    margin: 0 0 16px;
    font-family: inherit;
    line-height: 1.2;
}

.imported-content .kia-blk-text,
.kia-blk-text {
    margin: 0 0 16px;
    font-family: inherit;
    line-height: 1.6;
}

.imported-content .kia-blk-text p,
.kia-blk-text p {
    margin: 0 0 1em;
}

.imported-content .kia-blk-text p:last-child,
.kia-blk-text p:last-child {
    margin-bottom: 0;
}

/* Image slider (design page style) */
.kia-blk-slider {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 60px 30px;
    box-sizing: border-box;
}

.kia-blk-slider .elementor-widget-container {
    width: 100%;
}

.kia-blk-slider .elementor-main-swiper {
    position: relative;
    width: 100%;
}

.kia-blk-slider .swiper-slide {
    position: relative;
    height: 715px;
    overflow: hidden;
}

.kia-blk-slider .swiper-slide-bg {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.kia-blk-slider .kia-blk-slide:not(.kia-blk-slide--has-image) .swiper-slide-bg {
    background-color: #e8e8e8;
}

.kia-blk-slider .kia-blk-slide-hint {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: #697279;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    pointer-events: none;
}

/* Never show editor-only slide hints on the public site */
.kia-blk-slide-hint {
    display: none !important;
}

.kia-blk-slider .kia-blk-slide--has-image .kia-blk-slide-hint {
    display: none !important;
}

.kia-blk-slider .swiper-slide-inner {
    position: relative;
    z-index: 1;
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    text-align: center;
}

.kia-blk-slider .swiper-slide-contents {
    max-width: 91%;
}

/* Dash pagination (matches kia.am Elementor slides / media carousel) */
.kia-blk-slider .swiper-pagination,
.kia-blk-swiper-track .swiper-pagination,
.elementor-widget-slides .swiper-pagination,
.elementor-widget-media-carousel .swiper-pagination {
    text-align: left;
}

/*
 * "Outside" pagination is still DOM-inside .elementor-main-swiper (overflow:hidden).
 * Force content-box so Elementor's fixed height is the slide viewport only, and
 * padding below holds the dashes (otherwise they sit on the image bottoms).
 */
.elementor-pagination-position-outside .elementor-main-swiper,
.kia-blk-swiper-track .elementor-main-swiper,
.kia-blk-slider .elementor-main-swiper {
    box-sizing: content-box !important;
    padding-bottom: 40px !important;
}

.elementor-pagination-position-outside .swiper-pagination,
.kia-blk-swiper-track .swiper-pagination,
.kia-blk-slider .swiper-pagination {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 12px !important;
    top: auto !important;
    width: 100%;
    height: auto !important;
    margin-top: 0 !important;
    z-index: 5;
    transform: none !important;
    text-align: left;
}

.kia-blk-slider .swiper-pagination-bullet,
.kia-blk-swiper-track .swiper-pagination-bullet,
.elementor-widget-slides .swiper-pagination-bullet,
.elementor-widget-media-carousel .swiper-pagination-bullet {
    width: 49px !important;
    height: 2px !important;
    border-radius: 0 !important;
    margin: 0 6px 0 0 !important;
    opacity: 0.2;
    background: #000;
}

.kia-blk-slider .swiper-pagination-bullet-active,
.kia-blk-swiper-track .swiper-pagination-bullet-active,
.elementor-widget-slides .swiper-pagination-bullet-active,
.elementor-widget-media-carousel .swiper-pagination-bullet-active {
    opacity: 1;
    background: #000;
}

.kia-blk-slider .elementor-swiper-button {
    padding: 14px 19px;
    background: rgba(124, 124, 124, 0.9);
    border-radius: 50px;
    color: #fff;
}

.kia-blk-slider .elementor-swiper-button svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.kia-blk-slider .elementor-swiper-button.swiper-button-disabled {
    opacity: 0;
}

@media (max-width: 1100px) {
    .kia-blk-slider .swiper-slide {
        height: 326px;
    }
}

@media (max-width: 767px) {
    .kia-blk-slider {
        padding-left: 0;
        padding-right: 0;
    }

    .kia-blk-slider .swiper-slide {
        height: 187px;
    }
}

@media (max-width: 750px) {
    .kia-blk-slider .elementor-swiper-button {
        display: none !important;
    }
}

/* ---- Swiper Track (3-up media carousel) -------------------------------- */
.kia-blk-swiper-track-wrap {
    margin-left: 60px;
    padding-right: 60px;
    width: calc(100% - 60px);
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .kia-blk-swiper-track-wrap {
        margin-left: 20px;
        padding-right: 20px;
        width: calc(100% - 20px);
    }
}

.kia-blk-swiper-track {
    position: relative;
    width: 100%;
}

.kia-blk-swiper-track .elementor-main-swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: auto !important;
}

.kia-blk-swiper-track .swiper-slide {
    height: auto;
}

.kia-blk-swiper-track .elementor-carousel-image {
    position: relative;
    min-height: 280px;
    height: 280px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #e8e8e8;
}

/* Card label + hover overlay (matches kia.am media carousel)
 * Default: label bottom-center, no tint
 * Hover: grey overlay, label vertically centered
 */
.kia-blk-swiper-track .elementor-carousel-image-overlay,
.elementor-widget-media-carousel .elementor-carousel-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    place-content: flex-end center !important;
    padding: 18px 16px;
    box-sizing: border-box;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    pointer-events: none;
    background: transparent !important;
    opacity: 1 !important;
    transition: background 0.35s ease, align-items 0.35s ease, place-content 0.35s ease;
}

.kia-blk-swiper-track .swiper-slide:not(:hover) .elementor-carousel-image-overlay,
.elementor-widget-media-carousel .swiper-slide:not(:hover) .elementor-carousel-image-overlay,
.kia-blk-swiper-track .swiper-slide:not(:hover) .e-overlay-animation-fade,
.elementor-widget-media-carousel .swiper-slide:not(:hover) .e-overlay-animation-fade {
    opacity: 1 !important;
    background: transparent !important;
    align-items: flex-end !important;
    justify-content: center !important;
    place-content: flex-end center !important;
}

.kia-blk-swiper-track .swiper-slide:hover .elementor-carousel-image-overlay,
.elementor-widget-media-carousel .swiper-slide:hover .elementor-carousel-image-overlay,
.kia-blk-swiper-track .swiper-slide:hover .e-overlay-animation-fade,
.elementor-widget-media-carousel .swiper-slide:hover .e-overlay-animation-fade {
    align-items: center !important;
    justify-content: center !important;
    place-content: center !important;
    background: rgba(105, 114, 125, 0.8) !important;
    opacity: 1 !important;
}

.kia-blk-swiper-track .swiper-slide > a {
    display: block !important;
    position: relative;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.elementor-widget-media-carousel:not(.kia-blk-swiper-track) .swiper-slide > a {
    display: block !important;
    position: absolute;
    inset: 0;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.elementor-widget-media-carousel:not(.kia-blk-swiper-track) .elementor-carousel-image {
    position: absolute;
    inset: 0;
    height: auto !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.kia-blk-swiper-track .swiper-pagination {
    text-align: left;
}

.kia-blk-swiper-track .elementor-swiper-button {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    padding: 14px 19px;
    background: rgba(124, 124, 124, 0.9);
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
}

.kia-blk-swiper-track .elementor-swiper-button-prev {
    left: 12px;
}

.kia-blk-swiper-track .elementor-swiper-button-next {
    right: 12px;
}

.kia-blk-swiper-track .elementor-swiper-button svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: block;
}

.kia-blk-swiper-track .elementor-swiper-button.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .kia-blk-swiper-track .elementor-carousel-image {
        min-height: 220px;
        height: 240px;
    }
}

@media (max-width: 767px) {
    .kia-blk-swiper-track .elementor-carousel-image {
        min-height: 180px;
        height: 200px;
    }

    .kia-blk-swiper-track .elementor-carousel-image-overlay,
    .elementor-widget-media-carousel .elementor-carousel-image-overlay {
        font-size: 15px;
        padding: 14px 10px;
    }

    .kia-blk-swiper-track .elementor-swiper-button {
        display: none !important;
    }
}

/* Kia form block */
.kia-blk-form {
    min-height: 120px;
    padding: 16px;
    border: 1px dashed #c5c5c5;
    background: #fafafa;
}

.kia-form__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.kia-form__honeypot input {
    display: block !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
}

.kia-form__message {
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 4px;
    font-size: 14px;
}

.kia-form__message--success {
    background: #e8f5e9;
    color: #1b5e20;
}

.kia-form__message--error {
    background: #ffebee;
    color: #b71c1c;
}

.kia-form__field-error {
    display: block;
    color: #b71c1c;
    font-size: 12px;
    margin-top: 4px;
}

/* Kia news list block */
.kia-blk-news-list {
    width: 100%;
    min-height: 480px;
    border: 1px dashed #c5c5c5;
    background: #fff;
    box-sizing: border-box;
}

.kia-blk-news-list .elementor-widget-container,
.kia-blk-news-list__preview {
    width: 100%;
}

.kia-blk-news-list__preview {
    padding: 0;
    min-height: 460px;
    box-sizing: border-box;
}

.kia-blk-news-list__mock {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    min-height: 460px;
    padding: 0 0 20px;
    box-sizing: border-box;
}

.kia-blk-news-list__mock-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.kia-blk-news-list__mock-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.kia-blk-news-list__mock-card-image {
    width: 100%;
    height: 200px;
    background: #e8e8e8;
}

.kia-blk-news-list__mock-card-body {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.kia-blk-news-list__mock-card-date {
    display: block;
    width: 30%;
    height: 14px;
    background: #e8e8e8;
    margin-bottom: 8px;
}

.kia-blk-news-list__mock-card-title {
    display: block;
    width: 80%;
    height: 20px;
    background: #d1d1d1;
    margin-bottom: 8px;
}

.kia-blk-news-list__mock-load-more {
    text-align: center;
    margin-top: 24px;
    padding: 12px;
    background: #e8e8e8;
    font-weight: bold;
}

.kia-blk-news-list__mock-note {
    text-align: center;
    font-size: 12px;
    color: #697279;
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .kia-blk-news-list__mock-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .kia-blk-news-list__mock-grid {
        grid-template-columns: 1fr;
    }
}

/* Kia technologies list block */
.kia-blk-technologies-list {
    width: 100%;
    min-height: 560px;
    border: 1px dashed #c5c5c5;
    background: #fff;
    box-sizing: border-box;
}

.kia-blk-technologies-list .elementor-element-114b4ee,
.kia-blk-technologies-list .elementor-widget-container,
.kia-blk-technologies-list__preview {
    width: 100%;
}

.kia-blk-technologies-list__preview {
    padding: 0;
    min-height: 540px;
    box-sizing: border-box;
}

.kia-blk-technologies-list__mock {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    min-height: 540px;
    padding: 0 0 20px;
    box-sizing: border-box;
}

.kia-blk-technologies-list__mock-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid #e7e7e7;
}

.kia-blk-technologies-list__mock-tab {
    display: inline-flex;
    align-items: center;
    padding: 14px 20px;
    color: #697279;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    background: #fff;
}

.kia-blk-technologies-list__mock-tab.is-active {
    color: #05141f;
    box-shadow: inset 0 2px 0 #05141f;
}

.kia-blk-technologies-list__mock-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 20px;
    width: 100%;
}

.kia-blk-technologies-list__mock-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    background: #fff;
    border: 1px solid #ececec;
    overflow: hidden;
}

.kia-blk-technologies-list__mock-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
}

.kia-blk-technologies-list__mock-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 14px 18px;
}

.kia-blk-technologies-list__mock-card-category,
.kia-blk-technologies-list__mock-card-title {
    display: block;
    border-radius: 999px;
    background: #eceff1;
}

.kia-blk-technologies-list__mock-card-category {
    width: 38%;
    height: 10px;
}

.kia-blk-technologies-list__mock-card-title {
    width: 88%;
    height: 14px;
}

.kia-blk-technologies-list__mock-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 4px;
    color: #05141f;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border: 1px solid #05141f;
    background: #fff;
    box-sizing: border-box;
}

.kia-blk-technologies-list__mock-note {
    margin: 0;
    color: #697279;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 1024px) {
    .kia-blk-technologies-list__mock-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .kia-blk-technologies-list,
    .kia-blk-technologies-list__preview,
    .kia-blk-technologies-list__mock {
        min-height: 720px;
    }

    .kia-blk-technologies-list__mock-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .kia-blk-technologies-list__mock-tab {
        width: 100%;
        white-space: normal;
    }

    .kia-blk-technologies-list__mock-grid {
        grid-template-columns: 1fr;
    }
}

.kia-blk-vacancies-list,
.kia-blk-vacancies-list__preview,
.kia-blk-vacancies-list__mock {
    width: 100%;
    min-height: 280px;
    box-sizing: border-box;
}

.kia-blk-vacancies-list__mock {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border: 1px dashed #cdd0d2;
    background: #fafafa;
}

.kia-blk-vacancies-list__mock-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.kia-blk-vacancies-list__mock-tab {
    padding: 10px 18px;
    background: #fff;
    color: #05141f;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #cdd0d2;
}

.kia-blk-vacancies-list__mock-tab.is-active {
    background: #05141f;
    color: #fff;
    border-color: #05141f;
}

.kia-blk-vacancies-list__mock-pane {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0 0 12px;
}

.kia-blk-vacancies-list__mock-line {
    display: block;
    height: 10px;
    width: 100%;
    max-width: 520px;
    border-radius: 999px;
    background: #e5e7eb;
}

.kia-blk-vacancies-list__mock-line--title {
    max-width: 220px;
    height: 14px;
    background: #cdd0d2;
}

.kia-blk-vacancies-list__mock-line--short {
    max-width: 280px;
}

.kia-blk-vacancies-list__mock-note {
    margin: 0;
    color: #697279;
    font-size: 12px;
    line-height: 1.4;
}

.elementor-field-group--error .elementor-field-textual {
    border-color: #b71c1c;
}

/* ---- Background media section ------------------------------------------ */
.kia-blk-bg-media {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
}

/*
 * Standalone Grapes blocks only. Elementor .e-con containers already define
 * display / flex-direction / justify via CSS variables — do not override them
 * or row layouts (e.g. manifesto 3-column) collapse into a tall stack.
 */
.kia-blk-bg-media:not(.e-con) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kia-blk-bg-media__media,
.kia-blk-bg-media__overlay {
    position: absolute !important;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.kia-blk-bg-media__overlay {
    background: #000;
    opacity: 0.45;
}

.kia-blk-bg-media__video,
.kia-blk-bg-media__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.kia-blk-bg-media__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
 * display:contents so Elementor flex children (row/column) participate in the
 * parent .e-con flex layout instead of stacking inside a block wrapper.
 */
.kia-blk-bg-media__content {
    display: contents;
}

.kia-blk-bg-media__content > * {
    position: relative;
    z-index: 1;
}

/* Standalone (non-Elementor) blocks still need a real content box */
.kia-blk-bg-media:not(.e-con) > .kia-blk-bg-media__content {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
}

/*
 * Fixed/parallax image sections (matches Elementor .dccde on kia.am):
 * background lives on the section itself. Do NOT use an absolute image layer
 * and do NOT clip overflow — both break background-attachment:fixed.
 */
.kia-blk-bg-media.kia-blk-bg-media--fixed[data-media-type="image"],
.kia-blk-bg-media[data-bg-attachment="fixed"][data-media-type="image"] {
    overflow: visible;
    isolation: auto;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.kia-blk-bg-media.kia-blk-bg-media--fixed[data-media-type="image"] > .kia-blk-bg-media__media,
.kia-blk-bg-media[data-bg-attachment="fixed"][data-media-type="image"] > .kia-blk-bg-media__media {
    display: none !important;
}

.elementor-4993 .dccde {
    background-attachment: fixed !important;
}

/* ---- Video lightbox trigger -------------------------------------------- */
.kia-blk-video-lightbox {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.kia-blk-video-lightbox__icon,
.kia-blk-video-card__play {
    display: block;
    width: 72px;
    height: auto;
    max-width: 100%;
}

.kia-blk-video-lightbox--poster {
    width: 100%;
    min-height: 280px;
    overflow: hidden;
}

.kia-blk-video-lightbox__poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.kia-blk-video-lightbox--poster .kia-blk-video-lightbox__icon {
    position: relative;
    z-index: 1;
}

/* ---- Video cards ------------------------------------------------------- */
.kia-blk-video-cards {
    width: 100%;
}

.kia-blk-video-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.kia-blk-video-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    cursor: pointer;
    color: #fff;
    background: #05141f;
}

.kia-blk-video-card__poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease;
}

.kia-blk-video-card:hover .kia-blk-video-card__poster {
    transform: scale(1.04);
}

.kia-blk-video-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.kia-blk-video-card__title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    margin: 0;
    z-index: 1;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* ---- Anchor nav -------------------------------------------------------- */
.kia-blk-anchor-nav {
    width: 100%;
}

.kia-blk-anchor-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kia-blk-anchor-nav a {
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
}

.kia-blk-anchor-nav a:hover,
.kia-blk-anchor-nav a.is-active {
    opacity: 1;
    text-decoration: underline;
}

/* ---- Video modal ------------------------------------------------------- */
.kia-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.kia-video-modal[hidden] {
    display: none !important;
}

.kia-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 31, 0.82);
}

.kia-video-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.kia-video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.kia-video-modal__frame,
.kia-video-modal__frame iframe,
.kia-video-modal__frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}

body.kia-video-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .kia-blk-video-cards__grid {
        grid-template-columns: 1fr;
    }

    .kia-blk-video-lightbox__icon,
    .kia-blk-video-card__play {
        width: 56px;
    }
}

