.resolutum-models-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns, 3), 1fr);
    gap: var(--wp--preset--spacing--30);
    background: var(--bg-color, #ffffff);
    color: var(--text-color, #000000);
    max-width: 100% !important;
}
.model-grid-item {
    position: relative;
    display: flex;
    flex-direction: column;
}
.model-grid-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 1px;
    height: 100%;
    background: var(--accent-color, #0073aa);
}
.model-image {
    width: 100%;
    margin-bottom: 20px;
}
.model-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    object-fit: contain;
    display: block;
}
.model-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}
.model-title {
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    margin-block-start: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: var(--wp--preset--font-size--x-large) !important;
    min-height: 2.4em;
    display: flex;
    align-items: center;
}
.model-price {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 3em;
}
.model-price .original-price {
    text-decoration: line-through;
    opacity: 0.6;
}
.model-price .current-price {
    font-size: var(--wp--preset--font-size--medium) !important;
    font-weight: 400;
    text-transform: uppercase;
}
.model-actions {
    margin-top: auto;
    display: flex;
}
.model-actions.button-right {
    justify-content: flex-end;
}
.model-actions.button-left {
    justify-content: flex-start;
}
.btn-find-more {
    border-style: none;
    border-width: 0px;
    border-radius: 20px;
    padding-top: var(--wp--preset--spacing--20);
    padding-right: var(--wp--preset--spacing--30);
    padding-bottom: var(--wp--preset--spacing--20);
    padding-left: var(--wp--preset--spacing--30);
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    font-size: var(--wp--preset--font-size--small) !important;
    text-decoration: none !important;
}
.btn-find-more.filled {
    background-color: var(--accent-color, #0073aa);
    color: #fff;
    border: 2px solid var(--accent-color, #0073aa);
}
.btn-find-more.outline {
    background-color: transparent;
    color: var(--accent-color, #0073aa);
    border: 2px solid var(--accent-color, #0073aa);
}
@media (min-width: 1025px) {
    .resolutum-models-grid[style*="--grid-columns: 1"] .model-grid-item::after {
        display: none;
    }
    .resolutum-models-grid[style*="--grid-columns: 2"] .model-grid-item:nth-child(2n)::after {
        display: none;
    }
    .resolutum-models-grid[style*="--grid-columns: 3"] .model-grid-item:nth-child(3n)::after,
    .resolutum-models-grid:not([style*="--grid-columns"]) .model-grid-item:nth-child(3n)::after {
        display: none;
    }
    .resolutum-models-grid[style*="--grid-columns: 4"] .model-grid-item:nth-child(4n)::after {
        display: none;
    }
    .resolutum-models-grid[style*="--grid-columns: 5"] .model-grid-item:nth-child(5n)::after {
        display: none;
    }
    .resolutum-models-grid[style*="--grid-columns: 6"] .model-grid-item:nth-child(6n)::after {
        display: none;
    }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .resolutum-models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .model-grid-item:nth-child(2n)::after {
        display: none;
    }
}
@media (max-width: 640px) {
    .resolutum-models-grid {
        grid-template-columns: 1fr;
    }
    .model-grid-item::after {
        width: 100%;
        height: 1px;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
    }
    .model-grid-item:last-child::after {
        display: none;
    }
    .model-title {
        min-height: auto;
    }
    .model-price {
        min-height: auto;
    }
}
/* ==========================================================================
   GRID SHOWCASE STYLES (Matching Carousel Layout)
   ========================================================================== */
.resolutum-grid-showcase {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns, 3), 1fr);
    gap: 0;
    background: var(--bg-color, #ffffff);
    color: var(--text-color, #000000);
    padding: 20px 0;
}
.resolutum-grid-showcase .grid-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
}
.resolutum-grid-showcase .grid-item::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    right: 0;
    width: 1px;
    background: var(--accent-color, #0073aa);
    opacity: 0.3;
}
.resolutum-grid-showcase .grid-item::before {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 1px;
    background: var(--accent-color, #0073aa);
    opacity: 0.3;
}
.resolutum-grid-showcase .grid-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}
.resolutum-grid-showcase .grid-item-image {
    width: 100%;
    display: block;
    margin-bottom: 24px;
    /* No aspect-ratio here — the img drives height */
}
.resolutum-grid-showcase .grid-item-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;   /* enforced on the img — immune to theme height:auto resets */
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
}
.resolutum-grid-showcase .grid-item-image a {
    display: block;
    width: 100%;
    line-height: 0;
}
.resolutum-grid-showcase .grid-item-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    width: 100%;
}
.resolutum-grid-showcase .grid-item-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--text-color, #000);
}
.resolutum-grid-showcase .grid-item-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 400;
    margin: 0;
    opacity: 0.7;
    color: var(--text-color, #000);
    line-height: 1.5;
    max-width: 90%;
}
.resolutum-grid-showcase .grid-item-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.resolutum-grid-showcase .btn-grid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 2px solid var(--accent-color, #0073aa);
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.resolutum-grid-showcase .btn-grid.filled {
    background-color: var(--accent-color, #0073aa);
    color: #ffffff !important;
}
.resolutum-grid-showcase .btn-grid.filled:hover {
    background-color: transparent;
    color: var(--accent-color, #0073aa) !important;
    transform: translateY(-2px);
}
.resolutum-grid-showcase .btn-grid.outline {
    background-color: transparent;
    color: var(--accent-color, #0073aa) !important;
}
.resolutum-grid-showcase .btn-grid.outline:hover {
    background-color: var(--accent-color, #0073aa);
    color: #ffffff !important;
    transform: translateY(-2px);
}
.resolutum-grid-showcase .btn-grid.btn-explore {
    letter-spacing: 0.12em;
}
.resolutum-grid-showcase[data-columns="1"] .grid-item::after,
.resolutum-grid-showcase[data-columns="2"] .grid-item:nth-child(2n)::after,
.resolutum-grid-showcase[data-columns="3"] .grid-item:nth-child(3n)::after,
.resolutum-grid-showcase[data-columns="4"] .grid-item:nth-child(4n)::after,
.resolutum-grid-showcase[data-columns="5"] .grid-item:nth-child(5n)::after,
.resolutum-grid-showcase[data-columns="6"] .grid-item:nth-child(6n)::after {
    display: none;
}
/* Remove bottom border on last row items - need JS for dynamic calculation,
   so we'll use a simpler approach: hide on items that visually appear at the bottom */
.resolutum-grid-showcase .grid-item:last-child::before {
    display: none;
}
.resolutum-grid-showcase[data-columns="2"] .grid-item:nth-last-child(-n+2)::before {
    display: none;
}
.resolutum-grid-showcase[data-columns="3"] .grid-item:nth-last-child(-n+3)::before {
    display: none;
}
.resolutum-grid-showcase[data-columns="4"] .grid-item:nth-last-child(-n+4)::before {
    display: none;
}
@media (min-width: 641px) and (max-width: 1024px) {
    .resolutum-grid-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    .resolutum-grid-showcase .grid-item {
        padding: 30px 25px;
    }
    .resolutum-grid-showcase .grid-item-image {
        margin-bottom: 20px;
        /* aspect-ratio handles sizing — no fixed height */
    }
    .resolutum-grid-showcase .grid-item:nth-child(2n)::after {
        display: none;
    }
    .resolutum-grid-showcase .grid-item:nth-last-child(-n+2)::before {
        display: none;
    }
    .resolutum-grid-showcase .btn-grid {
        padding: 10px 18px;
        font-size: 0.75rem;
    }
}
@media (max-width: 640px) {
    .resolutum-grid-showcase {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }
    .resolutum-grid-showcase .grid-item {
        padding: 30px 20px;
    }
    .resolutum-grid-showcase .grid-item::after {
        display: none;
    }
    .resolutum-grid-showcase .grid-item::before {
        left: 0;
        right: 0;
    }
    .resolutum-grid-showcase .grid-item:last-child::before {
        display: none;
    }
    .resolutum-grid-showcase .grid-item-image {
        margin-bottom: 16px;
        /* aspect-ratio handles sizing — no fixed height */
    }
    .resolutum-grid-showcase .grid-item-info {
        gap: 10px;
    }
    .resolutum-grid-showcase .grid-item-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 10px;
    }
    .resolutum-grid-showcase .btn-grid {
        width: 100%;
        padding: 12px 20px;
    }
}
@keyframes gridFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.resolutum-grid-showcase .grid-item-info {
    animation: gridFadeInUp 0.6s ease-out both;
}
.resolutum-grid-showcase .grid-item:nth-child(1) .grid-item-info { animation-delay: 0.1s; }
.resolutum-grid-showcase .grid-item:nth-child(2) .grid-item-info { animation-delay: 0.15s; }
.resolutum-grid-showcase .grid-item:nth-child(3) .grid-item-info { animation-delay: 0.2s; }
.resolutum-grid-showcase .grid-item:nth-child(4) .grid-item-info { animation-delay: 0.25s; }
.resolutum-grid-showcase .grid-item:nth-child(5) .grid-item-info { animation-delay: 0.3s; }
.resolutum-grid-showcase .grid-item:nth-child(6) .grid-item-info { animation-delay: 0.35s; }
.resolutum-grid-showcase .grid-item:nth-child(n+7) .grid-item-info { animation-delay: 0.4s; }
.resolutum-models-carousel {
    position: relative;
    background: var(--bg-color, #ffffff);
    color: var(--text-color, #000000);
    width: 100%;
}
.carousel-wrapper {
    margin-bottom: 40px;
    overflow: hidden;
    width: 100%;
}
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
    align-items: stretch;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}
.carousel-track:active {
    cursor: grabbing;
}
.carousel-slide {
    flex: 0 0 auto;
    box-sizing: border-box;
    padding: 0;
    user-select: none;
    display: flex;
    width: 100%;
}
.slide-content {
    background: var(--bg-color, #ffffff);
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}
.slide-image {
    position: relative;
    width: 100%;
    display: block;
    /* No aspect-ratio here — the img drives height */
}
.slide-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;   /* enforced on the img — immune to theme height:auto resets */
    display: block;
    object-fit: contain;
}
.btn-find-more-absolute {
    position: absolute;
    bottom: 30px;
    left: 0;
    display: inline-block;
    padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: var(--wp--preset--font-size--small) !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    z-index: 2;
    transform: translateY(50%);
}
.btn-find-more-absolute.filled {
    background-color: var(--accent-color, #0073aa);
    color: #fff;
    border: 2px solid var(--accent-color, #0073aa);
}
.btn-find-more-absolute.outline {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--accent-color, #0073aa);
    border: 2px solid var(--accent-color, #0073aa);
}
.slide-title {
    font-size: var(--wp--preset--font-size--extra-large, 1.5rem);
    font-weight: 600;
    margin: 0px;
    color: var(--wp--preset--color--contrast, #000);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
.slide-special-description {
    font-size: var(--wp--preset--font-size--small, 0.875rem);
    font-weight: 400;
    margin: 8px 0 0 0;
    line-height: 1.4;
    font-style: italic;
}
.slide-pricing {
    display: flex;
    gap: var(--wp--preset--spacing--30);
    flex-wrap: nowrap;
    align-items: center;
    min-height: 3em;
}
.price-from,
.price-monthly {
    font-size: var(--wp--preset--font-size--small) !important;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.5;
    white-space: nowrap;
}
.price-from strong,
.price-monthly strong {
    font-weight: 400;
    color: #1a1a1a !important;
}
/* Grid and carousel "From R xxx xxx" pricing */
.grid-item-price,
.slide-price {
    font-size: var(--wp--preset--font-size--small, 14px);
    font-weight: 400;
    color: #1a1a1a;
    margin: 4px 0 8px;
    letter-spacing: 0.01em;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--wp--preset--spacing--50);
    padding: 0 20px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color, #0073aa);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}
.carousel-dot.active {
    background: #000000;
    transform: scale(1.3);
}
.carousel-dot:hover:not(.active) {
    opacity: 0.7;
    transform: scale(1.15);
}
@media (max-width: 768px) {
    .slide-title {
        min-height: auto;
    }
    .slide-special-description {
        margin: 6px 0 0 0;
    }
    .slide-pricing {
        min-height: auto;
        flex-wrap: wrap;
    }
    .btn-find-more-absolute {
        padding: 10px 20px;
    }
    .carousel-wrapper {
        margin-bottom: 20px;
    }
}
.model-form-popover {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.model-form-popover.modal-open {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}
.model-form-popover.closing {
    animation: fadeOut 0.3s ease-out forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.model-form-popover::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1;
}
.popover-content {
    position: relative;
    background: #FFFFFF;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    z-index: 2;
    animation: slideUp 0.3s ease-out;
}
.popover-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #000000;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.popover-close:hover {
    background: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.popover-inner {
    display: flex;
    flex-direction: column;
}
.popover-image {
    width: 100%;
    height: 175px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.popover-image img {
    width: 100%;
    height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}
.popover-form {
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
}
.popover-form > * {
    padding-left: var(--wp--preset--spacing--50, 40px);
    padding-right: var(--wp--preset--spacing--50, 40px);
}
.popover-form > form {
    padding: var(--wp--preset--spacing--50, 40px) !important;
    margin: 0 !important;
}
.popover-form > *:first-child {
    padding-top: var(--wp--preset--spacing--50, 40px);
}
.popover-form > *:last-child {
    padding-bottom: var(--wp--preset--spacing--50, 40px);
}
.popover-form h3 {
    margin-top: 0;
    margin-bottom: 0px;
    font-size: var(--wp--preset--font-size--x-large, 1.75rem);
    font-weight: 600;
    text-transform: uppercase;
    color: #1a1a1a;
}
.popover-inner:not(:has(.popover-image)) .popover-form {
    max-width: 600px;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .popover-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 640px) {
    .model-form-popover {
        padding: 0px;
    }
    .popover-content {
        max-height: 95vh;
        max-width: calc(100vw - 20px);
    }
    .popover-form > * {
        padding-left: var(--wp--preset--spacing--30, 20px);
        padding-right: var(--wp--preset--spacing--30, 20px);
    }
    .popover-form > form {
        padding: var(--wp--preset--spacing--30, 20px) !important;
    }
    .popover-form > *:first-child {
        padding-top: var(--wp--preset--spacing--30, 20px);
    }
    .popover-form > *:last-child {
        padding-bottom: var(--wp--preset--spacing--30, 20px);
    }
    .popover-form h3 {
        font-size: var(--wp--preset--font-size--large, 1.5rem);
        margin-bottom: 16px;
    }
    .popover-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
        width: 36px;
        height: 36px;
    }
}
.btn-open-popover {
    cursor: pointer;
}

/* Force Forminator forms to be visible when modal is open */
.model-form-popover.modal-open .forminator-custom-form,
.model-form-popover.modal-open .forminator-ui,
.model-form-popover.modal-open .forminator-form,
.model-form-popover.modal-open .forminator-design--default {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure form wrapper is visible */
.model-form-popover.modal-open .popover-form {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==========================================================================
   MANUALLY RENDERED FORM STYLES (Fallback when Forminator doesn't render)
   ========================================================================== */

.model-form-popover .forminator-field {
    margin-bottom: 1.25rem;
}

.model-form-popover .forminator-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.model-form-popover .forminator-required {
    color: #dc3545;
}

.model-form-popover .forminator-input,
.model-form-popover .forminator-textarea,
.model-form-popover .forminator-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
}

.model-form-popover .forminator-input:focus,
.model-form-popover .forminator-textarea:focus,
.model-form-popover .forminator-select:focus {
    border-color: #0073aa;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

.model-form-popover .forminator-textarea {
    min-height: 120px;
    resize: vertical;
}

.model-form-popover .forminator-checkbox,
.model-form-popover .forminator-radio {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.model-form-popover .forminator-checkbox input,
.model-form-popover .forminator-radio input {
    margin-right: 0.5rem;
    width: auto;
}

.model-form-popover .forminator-submit {
    margin-top: 1.5rem;
}

.model-form-popover .forminator-button-submit {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    width: 100%;
}

.model-form-popover .forminator-button-submit:hover {
    background-color: #005a87;
}

.model-form-popover .forminator-button-submit:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.25);
}

/* ==========================================================================
   DRIVING CAROUSEL STYLES (GSAP Animated)
   ========================================================================== */
.resolutum-driving-carousel {
    padding: 60px 0;
}
.resolutum-driving-carousel .carousel-wrapper {
    position: relative;
    margin-bottom: 0;
    overflow: visible;
}
.resolutum-driving-carousel .carousel-track {
    display: grid;
    grid-template-areas: "slide";
}
.resolutum-driving-carousel .carousel-slide {
    grid-area: slide;
    width: 100%;
    display: block;
    flex: none;
    visibility: hidden;
}
.resolutum-driving-carousel .slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.resolutum-driving-carousel .slide-image-wrapper {
    width: 75%;
    max-width: 600px;
    display: block;
    margin: 0 auto 40px;
    /* No aspect-ratio here — the img drives height */
}
.resolutum-driving-carousel .slide-image-wrapper a {
    display: block;
    width: 100%;
    line-height: 0; /* kill inline gap below img */
}
.resolutum-driving-carousel .slide-image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;   /* enforced on the img — immune to theme height:auto resets */
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.2));
}
.resolutum-driving-carousel .slide-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}
.resolutum-driving-carousel .slide-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: var(--text-color, #000);
}
.resolutum-driving-carousel .slide-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    margin: 0;
    opacity: 0.75;
    color: var(--text-color, #000);
    line-height: 1.5;
    max-width: 600px;
}
.resolutum-driving-carousel .slide-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
}
.resolutum-driving-carousel .btn-carousel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 2px solid var(--accent-color, #0073aa);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    min-width: 180px;
    letter-spacing: 0.08em;
    box-sizing: border-box;
}
.resolutum-driving-carousel .btn-carousel.filled {
    background-color: var(--accent-color, #0073aa);
    color: #ffffff !important;
}
.resolutum-driving-carousel .btn-carousel.filled:hover {
    background-color: transparent;
    color: var(--accent-color, #0073aa) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.resolutum-driving-carousel .btn-carousel.outline {
    background-color: transparent;
    color: var(--accent-color, #0073aa) !important;
}
.resolutum-driving-carousel .btn-carousel.outline:hover {
    background-color: var(--accent-color, #0073aa);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.resolutum-driving-carousel .btn-carousel.btn-explore {
    letter-spacing: 0.12em;
}
.resolutum-driving-carousel .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
    padding: 0 20px;
}
.resolutum-driving-carousel .carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--accent-color, #0073aa);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}
.resolutum-driving-carousel .carousel-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-color, #0073aa);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}
.resolutum-driving-carousel .carousel-dot.active {
    transform: scale(1.25);
}
.resolutum-driving-carousel .carousel-dot.active::after {
    width: 100%;
    height: 100%;
}
.resolutum-driving-carousel .carousel-dot:hover:not(.active) {
    transform: scale(1.15);
    opacity: 0.8;
}
@media (max-width: 1024px) {
    .resolutum-driving-carousel .slide-image-wrapper {
        /* aspect-ratio governs height — no fixed override */
        max-width: 650px;
        margin-bottom: 30px;
    }
    .resolutum-driving-carousel .btn-carousel {
        padding: 14px 28px;
        min-width: 160px;
    }
}
@media (max-width: 768px) {
    .resolutum-driving-carousel {
        padding: 40px 0;
    }
    .resolutum-driving-carousel .slide-content {
        padding: 0 20px;
    }
    .resolutum-driving-carousel .slide-image-wrapper {
        width: 90%;          /* slightly wider on mobile for readability */
        max-width: 100%;
        margin-bottom: 25px;
    }
    .resolutum-driving-carousel .slide-info {
        gap: 12px;
    }
    .resolutum-driving-carousel .slide-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 12px;
        margin-top: 20px;
    }
    .resolutum-driving-carousel .btn-carousel {
        width: 100%;
        padding: 14px 24px;
        min-width: unset;
    }
    .resolutum-driving-carousel .carousel-dots {
        margin-top: 30px;
    }
    .resolutum-driving-carousel .carousel-dot {
        width: 10px;
        height: 10px;
    }
}
@media (max-width: 480px) {
    .resolutum-driving-carousel .slide-image-wrapper {
        /* aspect-ratio governs height — no fixed override */
    }
}