.skoda-offer-card {
    background: #f3f3f3;
    font-family: "Skoda Next", sans-serif;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.25s ease;
}

.skoda-offer-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    z-index: 2;
}

.skoda-card-link {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1 1 auto;
    color: inherit;
}

/* Top Area - Responsive Dynamic Height */
.skoda-card-top {
    background-color: #0C3C2E; 
    padding: 20px 20px 70px 20px;
    position: relative;
    min-height: 180px;
    box-sizing: border-box;
    flex: 0 0 auto;
}

.skoda-card-badge {
    color: #ffffff;
    font-size: clamp(11px, 0.8vw, 14px);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skoda-card-slogan {
    color: #ffffff;
    font-size: clamp(17px, 1.2vw, 22px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    padding-top: 0;
    min-height: 2.4em;
}

/* Vehicle Image Positioned on Border */
.skoda-card-img-wrap {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    z-index: 3;
    pointer-events: none;
}

.skoda-card-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom Area */
.skoda-card-bottom {
    background: #F1F1F1;
    padding: 50px 20px 20px 20px; 
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skoda-card-title {
    font-size: clamp(17px, 1.2vw, 22px);
    font-weight: 700;
    color: #111;
    margin: 0 0 15px 0;
    line-height: 1.25;
    min-height: 2.5em;
}

.skoda-card-price-tag {
    align-self: flex-start;
    display: inline-block;
    background: linear-gradient(107deg, #F15251 0%, #F15251 92%, transparent 92%, transparent 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(17px, 1.2vw, 21px);
    padding: 6px 30px 6px 15px;
    margin-bottom: 15px;
}

.skoda-card-price-tag sup {
    font-size: 0.55em;
    top: -0.8em;
    margin-left: 2px;
}

.skoda-card-more {
    display: inline-flex;
    align-items: center; 
    gap: 6px;            
    font-weight: 700;
    color: #111;
    font-size: clamp(14px, 1vw, 17px);
    margin-top: auto;
}

.skoda-chevron-svg {
    width: 18px;         
    height: 18px;
    display: inline-block;
    transition: transform 0.2s ease; 
}

.skoda-offer-card:hover .skoda-chevron-svg {
    transform: translateX(5px);
}

/* Media Queries for fine-tuning Desktop, Tablet & Mobile */

/* Large Desktop (1600px+) */
@media (min-width: 1600px) {
    .skoda-card-top {
        min-height: 200px;
        padding-bottom: 80px;
    }
    .skoda-card-img-wrap {
        bottom: -140px;
        width: 90%;
    }
    .skoda-card-bottom {
        padding-top: 60px;
    }
}

/* Laptops / Small Desktop (1025px - 1440px like MacBook 13) */
@media (max-width: 1440px) and (min-width: 1025px) {
    .skoda-card-top {
        padding-bottom: 60px;
    }
    .skoda-card-img-wrap {
        bottom: -110px;
        width: 95%;
    }
    .skoda-card-bottom {
        padding-top: 45px;
    }
}

@media (max-width: 1440px) and (max-height: 900px) {
    .skoda-card-img-wrap {
        bottom: -112px;
        width: 92%;
    }
}

@media (max-width: 1280px) and (max-height: 800px) {
    .skoda-card-img-wrap {
        bottom: -100px;
        width: 95%;
    }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .g-cols .wpb_column:has(.wpb_column .skoda-offer-card) {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .skoda-offer-card:hover {
        transform: none;
    }
    .skoda-card-top {
        padding: 20px 20px 55px 20px;
        min-height: 160px;
    }
    .skoda-card-img-wrap {
        bottom: -70px;
        width: 90%;
    }
    .skoda-card-bottom {
        padding: 40px 18px 18px 18px;
    }
}

/* Mobile Large (up to 767px) */
@media (max-width: 767px) {
    .skoda-card-top {
        padding: 20px 20px 65px 20px;
        min-height: auto;
    }
    .skoda-card-img-wrap {
        bottom: -115px;
        width: 75%;
    }
    .skoda-card-bottom {
        padding: 50px 20px 20px 20px;
    }
    .skoda-card-slogan,
    .skoda-card-title {
        min-height: 0;
    }
}

/* Mobile Medium (up to 480px) */
@media (max-width: 480px) {
    .skoda-card-top {
        padding: 16px 16px 55px 16px;
    }
    .skoda-card-img-wrap {
        bottom: -100px;
        width: 85%;
    }
    .skoda-card-bottom {
        padding: 45px 16px 16px 16px;
    }
    .skoda-card-badge {
        font-size: 11px;
    }
    .skoda-card-slogan {
        font-size: 18px;
    }
    .skoda-card-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .skoda-card-price-tag {
        font-size: 17px;
        padding: 5px 24px 5px 12px;
    }
}

@media (max-width: 480px) and (min-height: 900px) {
    .skoda-card-img-wrap {
        bottom: -102px;
        width: 80%;
    }
}

/* Mobile Small (up to 380px) */
@media (max-width: 380px) {
    .skoda-card-top {
        padding: 14px 14px 45px 14px;
    }
    .skoda-card-img-wrap {
        bottom: -85px;
        width: 85%;
    }
    .skoda-card-bottom {
        padding: 35px 14px 14px 14px;
    }
    .skoda-card-slogan {
        font-size: 16px;
    }
    .skoda-card-title {
        font-size: 16px;
    }
    .skoda-card-price-tag {
        font-size: 15px;
        padding: 4px 20px 4px 10px;
    }
}