﻿body.in-transition {
transition: transform 900ms ease;
}
.firstload {
    display:none;
    opacity:0;
    visibility:hidden;
}
main {
    position: relative;
}
.freeprivacypolicy-com---palette-dark.freeprivacypolicy-com---nb{
    max-width:400px!important;
}
div[data-content-element-type-alias="headerWithTextRightAlignedImage"] {
    position: sticky;
    top: 0;
}
div[data-content-element-type-alias="headerAndTextWithRightAccordionWithRedBackground"]{
    position: sticky;
}

.menu {
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}
.mobile-navbar {
    display: none;
    position: relative;
    float: right;
    margin-right: 20px;
    top: 10px;
}
    .mobile-navbar #myLinks {
        display: none;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 8;
        background: #000000;
        position: fixed;
        text-align: center;
        align-items: center;
        flex-direction: column;
        padding-top: 200px;
        align-content: center;
        visibility: hidden;
        opacity: 0;
        transition: opacity 250ms ease-in, visibility 0ms ease-in 250ms;
    }
.mobile-navbar #myLinks.show {
    visibility: visible;
    opacity: 1;
    transition-delay: 0ms;
}
.mobile-navbar #myLinks a{
    color: #fff;
    font-size: 2.5rem;
    line-height: 3rem;
}
.mobile-navbar #myLinks a.close {
    position: absolute;
    top:20px;
    right:20px;
    font-size:4rem;
    color: #fff;
    transform: rotate(45deg);
}
.parallax {
    background-image: none;
    min-height: 630px;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.parallax.parallax-image {
    position: sticky;
    top:0;
}
.parallax.parallax-image img {
    width: 100%;
}
.parallax-text-center {
    margin: 0 auto;
    color: #fff;
    position: sticky;
    top: 50%; /* I can set this to about 30% to make sure most of the time it looks about right, but it's not the same as getting this div to centre exactly in the middle vertically until it's time to scroll off the screen */
    transform: translateY(0%);
    height: 780px;
    text-align: center;
    max-width: 938px;
}
.parallax-text-center p {
    max-width: 748px;
    margin: 30px auto 0;
}

.parallax-text-center p,
.parallax-text-center h2,.parallax-text-center a {
    color:#fff;
}

.logos {
    position: relative;
    margin-top: 50px;
    margin-left: 50px;
    width: 426.55px;
}

.ToTop {
    position: fixed;
    top: calc(50% - 37px);
    right: 100px;
    background: black;
    width:75px;
    height:75px;
}
.ToTop:hover
{
    background:black;
}

.contact {
    position: relative;
    float: right;
    margin-right: 100px;
    margin-top: 75px;
}
.contactInformation {
    color: white;
    font-size: 1.11rem;
    font-weight: 600;
    display: contents;
}

.contactButton:hover {
    color: white;
    border-color: white
}

.contactInformation.buy {
    text-align: right; 
}

#toMainPage {
    text-align: right;
}

/* Make the link inline-block so text-align works nicely */
#mainPageBtn {
    display: inline-block;
}

.languages
{
   /*intentionally left empty for targeting of div.*/
}

.languageButton {
    min-width: 75px;
    position: absolute;
    top: 40px;
    right: 25px
}


.booking {
    border-radius: 0px;
    border-width: 1px;
    border-color: white;
    border-style: solid; 
    color: white;
    font-weight: 600;
    width: auto; 
    min-width: 150px; 
    margin: 0px 7px;
    white-space: nowrap; 
}


.bookingText {
}

.contentBlock {
    max-width: 1480px;
    padding: 68px 20px 68px 20px;
}
.contentBlock div {
    float: left;
}
.contentBlock .image {
    max-width:731px;
    padding-right: 10px;
}
.contentBlock .image img{
    height: 100%;
    max-width: 100%;
}

.contentBlock .imageText {
    max-width: 619px;
    float: right;
    padding-left: 10px;
}
.contentBlock .imageText h3 {
    margin-top:48px;
}
.contentBlock .imageText p {
    margin-top: 48px;
}

.redBackGround {
    background-color: #CF212B;
}

.contact-block {
    max-width: 1480px;
    padding: 68px 20px 68px 20px;
}

.contact-block h2,  .contact-block p{
    margin-bottom:36px;
}
.contact-block h2,
.contact-block h4,
.contact-block p,
.contact-block a {
    color: #fff;
}
.contact-block h4 {
    margin-bottom:40px;
}
.contact-block a {
    text-transform: uppercase;
}
.umbraco-forms-hidden {
    display:none;
}

.contact-block .contact-block-left {
    float: left;
    max-width: 650px;
    padding-right: 10px;
}
form input {
    width: 100%;
    border-width: 0 0 1px 0;
    border-color: #FFFFFF;
    border-style: solid;
    height: 44px;
    color: #fff;
    padding-left: 20px;
    background: transparent;
}
form textarea {
    width: 100%;
    border-width:1px;
    border-color: #FFFFFF;
    border-style: solid;
    background:transparent;
    height:120px;
    padding:20px;
    color: #fff;
}
form .umbraco-forms-field {
    margin: 20px 0 20px;
}
form input[type="checkbox"] {
    width: auto;
    height: auto;
}
form .field-validation-error{
    color: red;
}
form .dataconsent label {
    color: #fff;
}

form .consentLink {
    font-size: 18px;
    text-transform: none;
}

form input[type="submit"]  {
    color: #fff;
    text-transform: uppercase;
    border: 1px solid #fff;
    margin-top: 80px;
}
::placeholder {
    color: white;
    opacity: 1; /* Firefox */
}
form .btn:hover {
    color: #fff;
    text-transform: uppercase;
    border: 1px solid #fff;
    opacity:0.8;
}

.contact-block .contactinfo {
    max-width: 694px;
    float: right;
    padding-left: 146px;
}
.contact-block .contactinfo p {
    line-height: 1.4rem;
}
.contact-block .contactinfo a {
    margin-top:0;
    padding-top:0px;
}
.contact-block .contactinfo p img {
    max-width:100%;
}
.contact-block .contactinfo > img {
    max-width: 220px;
    margin-bottom:20px;
}

.subTitleFirstBlock h2 {
    font-size: 5.5rem;
    line-height: 6.3rem;
    margin: 0 0 30px 0;
}
.subTitleFirstBlock {
    max-width: 1100px;
    padding: 0 20px;
    margin: 0px auto;
}
.subTitleFirstBlock, .subTitleFirstBlock h2 {
    color: white;
    text-align: center;
}

.subTitleFirstBlock h2 em {
    text-align: center;
    font-family: "Orifont";
    font-style: italic;
    font-size: 7rem;
    font-weight:400;
    text-transform:none;
}

.subTitleFirstBlock p {
    font-size: 1.3rem;
    line-height: 2.1rem;
}


/*HeaderAndText*/
.headerAndTextTitle {
    max-width: 650px;
}

.headerAndTextBodyText
{
    max-width:650px;
}


/* Headline text with right aligned image*/

.left-textheadline-block {
    max-width: 691px;
    float: left;
    padding-right: 10px;
}

.right-image {
    max-width: 647px;
    float: right;
    padding-left: 146px;
}


/* Accordion menu */
.accordion-block {
    
}
.accordion-body a {
    padding: 0;
    margin: 0;
}
.accordion-block .contentBlock {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-block h2, 
.accordion-block p, 
.accordion-block a, 
.accordion-block h4{
    color: #fff;
}

.accordion-block-left {
    max-width: 691px;
    float: left;
    margin-right: 10px;
}

.contentBlock .accordion-block-right {
    max-width: 663px;
    float: right;
    margin-left: 10px;
}
.accordion-block-right .accordion {
    width: 100%;
}
.accordion-block-right .accordion .accordion-item{
    border-width:0 0 1px 0;
    cursor: pointer;
    background-color: transparent;
    width: 100%;
}
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #fff;
    box-shadow: none;
    border: 0;
}
.accordion-button {
    border: 0;
    box-shadow: none;
    background-color: transparent;
    color: #fff;
}

.accordion-button .arrow {
    display: inline-block;
    margin: 30px;
    width: 15px;
    height: 15px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform-origin: center;
    transform: rotate(135deg);
    margin-left: auto;
}
.accordion-button .arrow::after {
    content: "";
    display: block;
    width: 1px;
    height: 25px;
    background-color: #fff;
    transform: rotate(-45deg) translate(9px, 3px);
}
.accordion-button:not(.collapsed) .arrow {
    transform: rotate(-135deg);
}
.accordion-button:not(.collapsed)::after,
.accordion-button::after{
    display: none;
}
.accordion-button:not(.collapsed) .arrow::after {
    content: "";
    display: block;
    width: 2px;
    height: 25px;
    background-color: #fff;
    transform: rotate(-45deg) translate(9px, 3px);
}
.accordion-block-right h4 {
    font-size: 1.33rem;
    line-height: 2rem;
}
footer {
    display: flex;
    height: 682px;
    align-items: center;
}
.footer-block {
    max-width: 1480px;
    padding: 68px 20px 68px 20px;
}
.footer-block div {
    float: left;
}
.cookie-change-link {
    margin: 0 auto;
    min-width: 100%;
    max-width: 100%;
    display: block;
    text-align: center;
    float: left;
}
.footer-block a.footer-menu {
    font-size: 1rem;
    padding-top: 0px;
}
.footer-block #open_preferences_center{
    padding-top:20px;
}
.footer-block p {
    font-weight: 250;
    padding: 30px 0px;
}

.footer-block h2,
.footer-block p, 
.footer-block a {
    color: #fff;
}
.footer-block .left {
    
}
.footer-block a {
    display: block;
    margin-top: 0px;
    font-size: 2rem;
    line-height: 2.22rem;
    padding-bottom: 0;
}
.footer-block a.email {
    display: block;
    margin-top: 0px;
    font-size: 1.77rem;
    line-height: 2.22rem;
}

.footer-block h4 {
    color:#fff;
    font-size: 1.33rem;
    line-height: 1.55rem;
}
.footerlogo {
    margin-bottom: 40px;
    max-height: 100px;
    max-width: 100%;
}
.centered-text-red-BG {
    position: relative;
}

.whiteLine {
    width: 4px;
    height: 650px;
    border-right: 4px solid #fff;
    position: absolute;
    display: block;
    margin-left: 8%;
    top: -80px;
}

.redBoxlogo {
    position: absolute;
    left: 0;
    bottom: 190px;
}

.redBoxlogo svg {
    transform: rotate( 90deg ) translate(-70%, 150%);
}

.redBoxlogo p {
    color:#fff;
    font-size: 1.4rem;
    transform: rotate(-90deg);
    line-height: 1.6rem;
    width: 200px;
}

.h-captcha {
    margin-bottom: 80px;
    margin-top: -140px;
}

:root {
    --card-bg: #fff;
    --border: #e6e6e6;
    --text: #1a1a1a;
    --muted: #666;
    --accent: #000; 
    --badge-bg: rgba(0,0,0,0.65);
    --badge-txt: #fff;
}

.car-link {
    color: inherit;
    text-decoration: none;
    display: grid;
    grid-template-rows: auto 1fr;
}


.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.35s ease;
}

.car-info {
    padding: 14px 14px 16px;
}

.car-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    transition: color 0.2s ease;
    margin-bottom: 3px;
    line-height: 1.05;
}

.car-subtitle {
    font-size: 24px;
    font-weight: 500;
    transition: color 0.2s ease;
    margin-top: 0;
    display: block;
    line-height: 1.05;
}

.car-link:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
    border-radius: 8px;
}


cars-grid-wrapper {
    padding-inline: 0;
}

.cars-grid-wrapper .umb-block-grid__layout-container,
.cars-grid-wrapper .umb-block-grid__layout-container > * {
    box-sizing: border-box;
}

#cars-grid-page .umb-block-grid__layout-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: clamp(20px, 5vw, 80px);
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.badge {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.car-card {
    position: relative;
    overflow: hidden;
}

    .car-card::after {
        content: "Full details";
        position: absolute;
        inset: 0; 
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        font-size: clamp(16px, 2.2vw, 22px);
        letter-spacing: 0.06em;
        font-weight: 600;
        background: rgba(0,0,0,.45);
        color: #fff;
        border-radius: 0;
        z-index: 3;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .car-card:hover::after,
    .car-card:focus::after,
    .car-card:focus-visible::after {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


    .car-info {
        padding: 16px 16px 18px;
    }

    .price-row {
        margin-top: 10px;
    }

    .car-price {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        color: #111;
    }

    .cars-grid-wrapper .car-card {
        width: 100%;
    }

    .car-media {
        position: relative;
        aspect-ratio: 4 / 3;
        background: #f3f3f3;
        overflow: hidden;
    }

        .car-media img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

@media (max-width: 700px) {
    .car-card .car-image,
    .car-card .car-media,
    .car-card .card-photo {
        aspect-ratio: 4 / 3;
        max-width: 86vw;
        margin-inline: auto;
        border-radius: 4px; 
    }

    .car-title {
        font-size: 16px;
        line-height: 1.2;
    }

    .car-subtitle {
        font-size: 12px;
        line-height: 1.25;
    }

    .car-price {
        font-size: 15px;
        line-height: 1.25;
    }

    .car-card::after {
        font-size: clamp(12px, 3.6vw, 18px);
        letter-spacing: 0.04em;
    }
    .car-info {
        text-align: center;
        padding: 16px 16px 18px;
    }
}
/**umb_name:White text*/
.white-text {
    font-family: "orifont", Arial, sans-serif !important;
    color: #fff;
}

@media (max-width: 768px) {
    .white-text {
        font-size: 1.8rem !important; 
    }
}

    .white-text ul,
    .white-text ol,
    .white-text li {
        font-family: inherit !important;
        color: inherit;
        font-size: inherit;
    }


        .white-text li::marker {
            font-family: "orifont", Arial, sans-serif !important;
            color: inherit;
            font-size: inherit;
        }

    
    .white-text [style*="font-family"] {
        font-family: inherit !important;
    }


    .white-text-center {
        color: white;
        text-align: center;
    }

    .white-text-header {
        color: white;
        font-weight: bold;
    }


    .white-text-header-center {
        color: white;
        font-weight: bold;
        text-align: center;
    }


    .technical-data-container {
        background-color: #CF212B;
        color: white;
        padding: 20px;
    }

    .technical-wrapper {
        max-width: 800px;
        margin-inline: auto;
        overflow: hidden;
        transition: max-height 700ms ease;
    }

    .technical-data {
        display: flex;
        flex-direction: column;
        gap: 10px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .technical-data li {
            display: grid;
            grid-template-columns: 1fr auto;
            align-items: center;
            column-gap: 30px;
            border-bottom: 1px solid rgba(255,255,255,0.3);
            padding: 8px 0;
        }

        .technical-data h6,
        .technical-data span {
            margin: 0;
            color: #fff;
            font-size: clamp(14px, 2.5vw, 16px);
            line-height: 1.35;
            word-break: break-word;
        }

    @media (min-width: 992px) {
        .technical-data li {
            grid-template-columns: minmax(220px, 1fr) auto;
            column-gap: 40px;
        }
    }

    .technical-wrapper[data-collapsed="true"] .extra-row {
        display: none;
    }

    .expand-btn {
        display: block;
        margin: 30px auto;
        padding: 16px 32px;
        font-size: 18px;
        font-weight: 700;
        font-family: inherit;
        background: #CF212B;
        color: #fff;
        border: 3px solid #fff;
        border-radius: 0;
        cursor: pointer;
        width: auto;
        text-transform: uppercase;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .contact-btn {
        display: block;
        padding: 16px 32px;
        font-size: 18px;
        font-weight: 700;
        font-family: inherit;
        background: #000000;
        color: #ffffff;
        border: 3px solid #ffffff;
        border-radius: 0;
        cursor: pointer;
        width: auto;
        text-transform: uppercase;
    }


    .chevron {
        width: 28px;
        height: 28px;
        stroke: currentColor;
        transition: transform 0.3s ease;
    }


    .expand-btn[aria-expanded="true"] .chevron {
        transform: rotate(180deg);
    }

    .car-card-image {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        margin: 0;
    }


    .car-card-text-top {
        padding: 10px;
        margin-left: 5%;
        margin-bottom: 5%;
        margin-top: 5%;
        width: auto;
        vertical-align: top;
        text-align: center;
    }

    .car-card-info-text {
        color: #CF212B;
    }

    .car-card-textbox-background {
        background-color: #000;
    }

    .car-card-generic-text {
        text-align: justify;
    }

    @media (max-width: 768px) {
        .contentBlock {
            display: block;
            width: 100%;
        }

            .contentBlock tr,
            .contentBlock td {
                display: block;
                width: 100%;
            }

        .car-card-image {
            display: block;
            width: 100%;
            margin-bottom: 15px;
        }

        .car-card-text-top {
            text-align: center;
        }
    }


    .car-card-container-image {
        position: relative;
    }

.cars-for-sale-header-menu {
    position: absolute;
    text-align: center;
    width: 100%;
    left: 0;
    top: 15%;
    z-index: 1;
    pointer-events: none;
}


.cars-hero {
    position: relative; /* anchor for absolute children */
    width: 100%;
}

    /* Make sure the image fills normally */
    .cars-hero img,
    .cars-hero picture,
    .cars-hero video {
        display: block;
        width: 100%;
        height: auto;
    }

.cars-for-sale-header-menu {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center; 
    top:10%;
    padding-top: 8%; 
    z-index: 2;
    pointer-events: none; 
}

.cars-for-sale-header {
    text-align: center;
    color: white;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,.35); 
}

@media (max-width: 768px) {
    .cars-for-sale-header {
        font-size: 30px;
        line-height: 1.15;
        padding: 0 12px;
    }

    .cars-for-sale-header-menu {
        padding-top: 5%;
    }
}

/* Extra small phones */
@media (max-width: 375px) {
    .cars-for-sale-header {
        font-size: 24px;
    }

    .cars-for-sale-header-menu {
        padding-top: 5%;
    }
}



    .splitGallery, .splitGallery * {
        box-sizing: border-box;
    }

        .splitGallery figure {
            margin: 0;
        }

    .splitGallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: stretch;
        margin-bottom: 8px;
    }

    .splitGallery-left {
        display: block;
        height: 100%;
        margin-bottom: 8px;
    }

    .splitGallery-mainImg {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        box-shadow: 0 6px 24px rgba(0,0,0,.15);
    }

    .splitGallery-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 12px;
        height: 100%;
    }


    .splitGallery-tile {
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0,0,0,.12);
        aspect-ratio: 4 / 3;
    }

    .splitGallery-tileImg {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .splitGallery-empty {
        background: linear-gradient(135deg, #efefef, #ddd);
    }

    @media (max-width: 860px) {
        .splitGallery {
            grid-template-columns: 1fr;
        }

        .splitGallery-right {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto;
            height: auto;
        }
    }


    .splitGallery-container-left,
    .splitGallery-container-left * {
        box-sizing: border-box;
    }

        .splitGallery-container-left figure {
            margin: 0;
        }

    .splitGallery-container-left {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: stretch;
        margin-bottom: 8px;
    }

    .splitGallery-leftGrid-left {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 12px;
        height: 100%;
    }

    .splitGallery-rightMain-left {
        display: block;
        height: 100%;
    }

    .splitGallery-mainImg-left {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        box-shadow: 0 6px 24px rgba(0,0,0,.15);
    }

    .splitGallery-tile-left {
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0,0,0,.12);
        aspect-ratio: 4 / 3;
    }

    .splitGallery-tileImg-left {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .splitGallery-empty-left {
        background: linear-gradient(135deg, #efefef, #ddd);
    }

    @media (max-width: 860px) {
        .splitGallery-container-left {
            grid-template-columns: 1fr;
        }

        .splitGallery-leftGrid-left {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto;
            height: auto;
        }
    }

    .pgallery-item {
        cursor: zoom-in;
    }

    .pgallery-lightbox {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.92);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        color: #fff;
    }

        .pgallery-lightbox.is-open {
            display: flex;
        }

    .pgallery-stage {
        max-width: 90vw;
        max-height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .pgallery-image {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        transition: opacity .2s ease;
    }

    .pgallery-close {
        position: absolute;
        top: 16px;
        right: 20px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: none;
        color: #fff;
        background: rgba(255,255,255,0.1);
        font-size: 28px;
        line-height: 44px;
        text-align: center;
        cursor: zoom-out;
    }

        .pgallery-close:hover {
            background: rgba(255,255,255,0.2);
        }

    .pgallery-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,0.1);
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pgallery-prev {
        left: 16px;
    }

    .pgallery-next {
        right: 16px;
    }

    .pgallery-nav:hover {
        background: rgba(255,255,255,0.2);
    }

    .pgallery-arrow {
        font-size: 38px;
        line-height: 1;
    }

    .pgallery-meta {
        position: absolute;
        bottom: 16px;
        left: 0;
        right: 0;
        display: flex;
        gap: 12px;
        justify-content: center;
        align-items: center;
        padding: 6px 12px;
        color: rgba(255,255,255,0.85);
        font-size: 14px;
        text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    }

    .pgallery-counter {
        opacity: 0.9;
    }

    .pgallery-caption {
        opacity: 0.85;
    }

    .pgallery-image.is-fading {
        opacity: 0.2;
    }

    .pgallery-lightbox {
        cursor: zoom-out;
    }

    .pgallery-stage, .pgallery-image, .pgallery-meta, .pgallery-nav, .pgallery-close {
        cursor: default;
    }

    @media (max-width: 640px) {
        .pgallery-nav {
            width: 44px;
            height: 44px;
        }

        .pgallery-arrow {
            font-size: 30px;
        }

        .pgallery-close {
            width: 40px;
            height: 40px;
            font-size: 24px;
        }
    }

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

    .hero .hero-media {
        height: 70vh;
        max-height: 900px;
        min-height: 600px;
        background: #e6e6e6;
        overflow: hidden;
        position: relative;
        z-index: 0;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

        .hero .hero-media img.car-card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

    .hero .hero-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        pointer-events: none;
        padding-top: max(clamp(56px, 8vw, 96px), env(safe-area-inset-top));
        z-index: 2;
    }

    .hero .car-card-text-top {
        pointer-events: auto;
        transform: scale(0.85);
        transform-origin: top center;
        padding: 10px 12px;
        max-width: 80%;
        margin: 0 auto;
        color: #fff;
        text-align: center;
        text-shadow: 0 1px 2px rgba(0,0,0,0.4);
        background: rgba(0,0,0,0.45);
        backdrop-filter: saturate(1.1) blur(2px);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 8px;
    }

#car-name {
    font-size: clamp(22px, 6vw, 34px);
    font-weight: 600;
    margin-bottom: clamp(6px, 1.2vw, 12px);
    text-align: center;
}

.car-card-price {
    font-size: clamp(16px, 4.8vw, 22px); 
    margin-bottom: clamp(6px, 1.2vw, 12px);
}

.hero .car-card-text-top p {
    font-size: clamp(13px, 2.8vw, 16px);
    margin-bottom: clamp(8px, 1.6vw, 12px);
    line-height: 1.45;
}

    .hero .car-card-text-top p svg {
        vertical-align: middle;
        margin-right: 8px;
        width: clamp(18px, 4.2vw, 26px);
        height: clamp(18px, 4.2vw, 26px);
    }

.slider-btn {
    position: absolute;
    top: 45%; 
    transform: translateY(-50%);
    z-index: 1; 
    width: clamp(36px, 8vw, 48px);
    height: clamp(36px, 8vw, 48px);
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

    .slider-btn:hover {
        background: rgba(255,255,255,0.2);
    }

.prev-btn {
    left: 12px;
}

.next-btn {
    right: 12px;
}

.hero .menu {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; 
}

@media (max-width: 1550px) {
    .hero .hero-media {
        height: 70vh !important;
        min-height: 600px !important;
        max-height: 900px !important;
    }

}


@media (max-width: 1200px) and (min-width: 601px) {
    .slider-btn {
        width: clamp(34px, 7vw, 48px);
        height: clamp(34px, 7vw, 48px);
        top: 46%;
    }

    .hero .hero-overlay {
        padding-top: max(clamp(52px, 7.6vw, 96px), env(safe-area-inset-top));
    }
}

@media (max-width: 600px) {
    .hero .hero-overlay {
        position: static !important;
        inset: auto !important;
        display: block !important;
        pointer-events: auto;
        margin-top: 12px;
        padding-top: env(safe-area-inset-top);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        z-index: auto;
    }

    .hero .car-card-text-top {
        transform: none;
        max-width: 100%;
        margin: 0 12px 16px;
        padding: 12px 14px;
        font-size: 0.95rem;
        background: rgba(0,0,0,0.55);
        border-radius: 8px;
    }

    .hero .hero-media {
        height: 50svh !important;
        min-height: 360px !important;
        max-height: 70svh !important;
    }
}
