main#wrapper {
    background-color: #F6F7F9;
    padding:20px 0px;
}

.landing-page-container h2 {
    font-size: 2.4em;
    font-weight: 600;
}
.landing-page-container h3 {
    font-size: 2em;
    font-weight: 600;
}

.angle-icon {
    width:1.2em;
    height:1.2em;
    fill: #fff;
    vertical-align: middle;
}

.glass-icon,
.calendar-icon,
.circle-icon {
    width:1em;
    height:1em;
    fill: #E6902E;
    vertical-align: middle;
}

.plus-icon, 
.minus-icon {
    width:1em;
    height:1em;
    fill: #fff;
    vertical-align: middle;
}

.overview-section, 
.details-list-section,
.model-changes-section,
.loan-offers-section {
    padding-bottom: 2.5em;
}
.overview-section {
    display: flex;
}
.overview-section > .col {
    display: flex;
    flex-direction: column;
}
.overview-section .overview-media-wrapper,
.overview-section .overview-details {
 flex: 1;
}
.overview-section .overview-media-wrapper {
    padding-right: 2em;
}
.overview-media-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 3 / 1.5;
    overflow: hidden;
    border-radius: 15px;
}
.overview-media-slider .slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.overview-media-slider .slide {
    flex: 0 0 100%;
    height: 100%;
    padding: 5px;
}

.overview-media-slider .slide img,
.overview-media-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.overview-media-thumbnails {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    max-width: 100%;
}

.overview-media-thumbnails .thumbnail {
    flex: 1 1 auto;
    width: 25%; /* Optional: cap thumbnail width */
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
    border-radius: 15px;
    overflow: hidden;
    padding : 5px;
    border: 3px solid transparent;
}

.overview-media-thumbnails .thumbnail:hover,
.overview-media-thumbnails .thumbnail.active {
    border: 3px solid #42C6EC;
}

.overview-section .overview-details-col {
    padding: 3em 2.2em;
    background-color: #fff;
    border-radius: 15px;
}
.overview-section .overview-details h1 {
    font-size: 3em;
    font-weight: 600;
}

.overview-section .overview-details p {
    font-size: 1.25em;
    font-weight: 500;
}

.overview-section .overview-details .overview-cta {
    background: #42C6EC;
    color: #fff;
    padding: 0.7em 1.7em;
    font-size: 1.5em;
    border-radius: 1.5em;
    float: right;
    font-weight: 600;
}

.details-list-wrapper,
.model-changes-wrapper,
.loan-offers-wrapper {
    background: #fff;
    padding: 3em 2.2em;
    border-radius: 15px;
}

.details-list-wrapper .glass-icon,
.model-changes-wrapper .calendar-icon,
.loan-offers-wrapper .circle-icon {
    vertical-align: text-top;
    margin-top: 0px;
    margin-right: 15px;
}
.details-list-wrapper h2,
.model-changes-wrapper h2,
.loan-offers-wrapper h2 {
    display: flex;
    align-items: center;
}
.details-list-wrapper h2:after,
.model-changes-wrapper h2:after,
.loan-offers-wrapper h2:after {
    content: "";
    border-bottom: 2px solid #F6F7F9;
    margin-left: 20px;
    flex: 1;
    
}
.details-list-wrapper .details-accordion {
    width: 100%;
    margin: 40px auto;
    border-radius: 6px;
    overflow: hidden;
}

.details-accordion-item {
    border-bottom: 1px solid #fff;
}
.details-accordion-item:first-child {
    border-top: none;
}

.details-accordion-item .details-accordion-header {
    padding: 1em;
    background-color: #F6F7F9;
    cursor: pointer;
    color:#000;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1.7em;
}

.details-accordion-item .details-accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1em;
    background: #fff;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1.25em;
}

.details-accordion-item.active .details-accordion-header {
    color: #42C6EC;
}
.details-accordion-item .details-accordion-header .accordion-icon {
    display: flex;
    float: right;
    width: 1.5em;
    height: 1.5em;
    border-radius: 1em;
    padding: 0.25em;
}
.details-accordion-item .details-accordion-header .accordion-icon.plus-icon-wrapper {
    display: flex;
    background-color: #E6902E;
}
.details-accordion-item .details-accordion-header .accordion-icon.minus-icon-wrapper {
    display: none;
    background-color: #42C6EC;
}
.details-accordion-item.active .accordion-icon.plus-icon-wrapper {
    display: none;
}
.details-accordion-item.active .accordion-icon.minus-icon-wrapper {
    display: flex;
}
.details-accordion-item.active .details-accordion-content {
    padding: 15px 20px;
    max-height: 800px;
}
.model-changes-wrapper .landing-model-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5em;
}
.model-changes-wrapper .landing-model-table thead {
    background: #F6F7F9;
    border-bottom: 1px solid #E2E2E2;
}

.model-changes-wrapper .landing-model-table thead th,
.model-changes-wrapper .landing-model-table tbody td {
    padding: 1.2em;
    text-align: left;
    font-weight: 500;
    font-size: 1.25em;
}
.model-changes-wrapper .landing-model-table thead th {
    font-weight: 600;
}
.model-changes-wrapper .landing-model-table tbody td {
    border-bottom: 1px solid #E2E2E2;
    position: relative;
    padding:1.5em 1.2em;
    padding-bottom: 0.2em;
}
.model-changes-wrapper .landing-model-table thead th:first-child {
    width: 23%;
}
.model-changes-wrapper .landing-model-table tbody td:first-child {
    width: 23%;
    vertical-align: middle;
}
.model-changes-wrapper .landing-model-table tbody td p.model-year {
    font-weight: 600;
    margin-bottom: 0;
    margin-bottom: -10px;
}
.model-changes-wrapper .landing-model-table tbody td p.model-gen {
    color: #42C6EC;
}
.model-changes-wrapper .model-changes-search {
    float: right;
    margin: 1.5em 0;
    padding: 0.5em 1em;
    background: #F6F7F9;
    position: relative;
    min-width: 300px;
    height: 40px;
    border-radius: 20px;
}
.model-changes-wrapper #model-changes-search {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    color: #A49495;
    background: #F6F7F9;
}
.model-changes-wrapper .model-changes-search .glass-icon{
    position: absolute;
    right: 0;
    top: 0;
    fill:#000;
    width: 1.5em;
    height: 1.5em;
    right: 10px;
    top:8px;
}
.loan-offers-wrapper .landing-loan-offers-table tbody td {
    border-bottom: 1px solid #E2E2E2;
    position: relative;
    padding:1.5em 1.2em;
}

.loan-offers-wrapper .landing-loan-offers-table tbody tr:last-child td {
    border-bottom: none;
}

.loan-offers-wrapper .landing-loan-offers-table tbody td:first-child {
    width: 20%;
    vertical-align: middle;
}
.loan-offers-wrapper .landing-loan-offers-table tbody td .loan-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 200px;
    margin:1em 0;
}
.loan-offers-wrapper .landing-loan-offers-table tbody td p {
    text-align: left;
    font-weight: 500;
    font-size: 1.25em;
}
.loan-offers-wrapper .landing-loan-offers-table tbody td .loan-offer-cta{
    background: #E6902E;
    color: #fff;
    padding: 0.7em 1.7em;
    font-size: 1.5em;
    border-radius: 1.5em;
    float: right;
    font-weight: 600;
}

.landing-panel-selector {
    display:none;
}

@media (max-width: 767px) {
    
    .overview-section {
        flex-direction: column;
    }
    .overview-section .overview-media-wrapper {
        padding-right: 0;
        margin-bottom: 0;
        position: relative;
    }
    .overview-media-slider {
        aspect-ratio: 16 / 9;
        border-radius: 0;
    }
    .overview-media-slider .slide img {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 0 5px;
    }
    .overview-section .overview-details-col {
        margin: 0 20px;
        margin-top: -5px;
        width: fit-content;
        border-top-right-radius: 0;
        border-top-left-radius: 0;
    }
    .overview-media-thumbnails {
        margin-top: -30px;
        position: absolute;
        z-index: 999;
        left: 50%;
        top: 100%;
        transform: translate(-50%, 0);
        gap:8px;
    }
    .overview-media-thumbnails .thumbnail {
        width: 12px;
        height: 12px;
        background-color: #fff;
    }
    .overview-media-thumbnails .thumbnail:hover,
    .overview-media-thumbnails .thumbnail.active {
        background-color: #42C6EC;
    }
    .overview-media-thumbnails .thumbnail img {
        display: none;
    }
    .overview-section .overview-details .overview-cta {
        float: left;
    }
    .details-list-wrapper,
    .model-changes-wrapper,
    .loan-offers-wrapper {
        padding: 0.4em 1.5em;
        padding-top: 0;
        margin: 0 20px;
        width: fit-content;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .details-list-section,
    .model-changes-section,
    .loan-offers-section {
        display: none;
    }
    
    .details-list-section.panel-active,
    .model-changes-section.panel-active,
    .loan-offers-section.panel-active {
        display: flex;
    }
    .details-list-wrapper h2,
    .model-changes-wrapper h2,
    .loan-offers-wrapper h2 {
        display: none;
    }

    .landing-panel-selector {
        display: block;
        position: relative;
        margin-bottom: -15px;
    }
    .landing-panel-selector .nav-tabs {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0 0 1em 0;
        list-style: none;
    }
    .landing-panel-selector .nav-tabs li {
        margin: 0 0.5em;
        text-align: left;
    }
    .landing-panel-selector .nav-tabs li a {
        display: block;
        padding: 5px;
        color: #969696;
        text-decoration: none;
        font-weight: 500;
        background: transparent;
        transition: color 0.2s;
        font-size: 1.5em;
        border-bottom: 3px solid transparent;
    }
    .landing-panel-selector .nav-tabs li a .glass-icon,
    .landing-panel-selector .nav-tabs li a .calendar-icon,
    .landing-panel-selector .nav-tabs li a .circle-icon{
        fill:#969696;
        margin-right: 4px;;
    }
    .landing-panel-selector .nav-tabs li.active a,
    .landing-panel-selector .nav-tabs li a:hover {
        color: #000;
        font-weight: 600;
        border-bottom: #E6902E 3px solid;
    }
    .landing-panel-selector .nav-tabs li.active a .glass-icon,
    .landing-panel-selector .nav-tabs li.active a .calendar-icon,
    .landing-panel-selector .nav-tabs li.active a .circle-icon,
    .landing-panel-selector .nav-tabs li a:hover .glass-icon,
    .landing-panel-selector .nav-tabs li a:hover .calendar-icon,
    .landing-panel-selector .nav-tabs li a:hover .circle-icon{
        fill:#E6902E;
    }

    .details-list-wrapper .details-accordion {
        margin:20px auto;
    }
    .details-accordion-item .details-accordion-header {
        font-size: 1.2em;
        padding: 0.5em 1em;
        padding-right: 3em;
        position: relative;
    }
    .details-accordion-item.active .details-accordion-content {
        font-size: 1em;
        padding: 0.5em 1em;
    }
    .details-accordion-item .details-accordion-header .accordion-icon  {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .model-changes-wrapper .model-changes-search {
        float: left;
    }
    .model-changes-wrapper .landing-model-table thead th {
        padding: 0.5em 1em;
        text-align: left;
        font-size: 1em;
    }
    .model-changes-wrapper .landing-model-table tbody td {
        padding: 1em;
        text-align: left;
        font-size: 0.95em;
        font-weight: 500;
    }
    .model-changes-wrapper .landing-model-table thead th:first-child,
    .model-changes-wrapper .landing-model-table tbody td:first-child {
        width: 30%;
        padding-right: 0.5em;
    }
    .model-changes-wrapper .landing-model-table tbody td p {
        margin-bottom: 0;
    }
    .model-changes-wrapper .landing-model-table tbody td p.model-year {
        margin-bottom: -5px;
    }
    .model-changes-wrapper .landing-model-table tbody td p.model-gen {
        font-size: 0.9em;
    }

    .loan-offers-wrapper {
        padding-top: 1em;
    }
    .loan-offers-wrapper .landing-loan-offers-table tbody td {
        padding: 0.5em 1em;
    }
    .loan-offers-wrapper .landing-loan-offers-table tbody td:first-child {
        width: 25%;
        vertical-align: top;
        padding: 0.5em 0;
    }
    .landing-page-container h3 {
        font-size: 1.4em;
        font-weight: 600;
        margin-bottom: 0.5em;
    }
    .loan-offers-wrapper .landing-loan-offers-table tbody td p {
        font-size: 1em;
        margin-bottom: 0.5em;
    }
    .loan-offers-wrapper .landing-loan-offers-table tbody td .loan-offer-cta {
        font-size: 1em;
        float: left;
        padding: 0.7em 1.5em;
        border-radius: 1.25em;
        margin: 1em 0;
        margin-bottom: 2em;
    }
    .landing-loan-offers-table tbody td .loan-offer-cta .angle-icon {
        vertical-align: top;
        display: inline-block;
        margin-top: -1px;
    }
    
}


@media (max-width: 991.98px) {
    .model-changes-wrapper .landing-model-table tbody td p.model-gen {
        font-size: 0.9em;
    }
}