:root {
    --bs-primary: #5c826b;
    --bs-primary-rgb: 92, 130, 107;
    --bs-secondary: #b7b5a5;
    --bs-secondary-rgb: 183, 181, 165;
    --bs-secondary-50: rgba(183, 181, 165, 0.5);
    --bs-success: #28a745;
    --bs-danger: #bb5a5a;
    --bs-warning: #AE9042;
    --bs-warning-rgb: 174, 144, 66;
    --bs-info: #5E7F64;
    --bs-light: #eee;
    --bs-dark: #040314;
    --bs-dark-rgb: 4, 3, 20;
    --bs-font-sans-serif: "Quattrocento", sans-serif;
    --bs-font-monospace: "Oswald", sans-serif;
    --bs-body-bg: #f5f5f5;
    --bs-body-color: #040314;
    --bs-light: #f5f5f5;
    --bs-light-rgb: 245, 245, 245;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

input {
    font-family: "Oswald", sans-serif !important;
    font-weight: 400 !important;
}

.color-primary {
    color: #5E7F64;
}

.color-secondary {
    color: #b7b5a5;
}

.color-tertiary {
    color: #040314;
}

.color-alert {
    color: #c8a95c;
}

.color-error {
    color: #bb5a5a !important;
}

.color-success {
    color: #28a745;
}

.color-light {
    color: #eee !important;
}

.btn-link {
    text-align: left;
    font-size: 1.6em!important;
    color: var(--bs-dark);
}

.bg-warning {
    color: var(--bs-light) !important;;
}

.bg-tertiary,
.bg-dark {
    background-color: #040314 !important;
}

.bg-secondary-50 {
    background-color: var(--bs-secondary-50) !important;
}
.badge {
    border-radius: 0 !important;
}

.container {
    max-width: 1400px;
}

.filters form {
    position: sticky;
    top: 50px;
    z-index: 9999;
    overflow: auto;
}

.form-label {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

.material-symbols-outlined {
    font-size: 18px !important;
}

html,
body {
    height: 100%;
    margin: 0;
}

.app {
    min-height: 100vh;
    /* Ensure the .app container takes at least the full height of the viewport */
    display: flex;
    flex-direction: column;
}

#site-content {
    flex: 1;
    /* This makes the content area grow and push the footer to the bottom */
}

#site-footer {
    background-color: #343a40;
    color: white;
    padding: 10px 0;
}


.card,
.alert {
    border-radius: 0px;
}

h1,
h2,
h3,
h4,
h5,
h5,
h6 {
    font-family: "Oswald", sans-serif !important;
}

h1 {
    font-weight: 700;
}

.badge {
    font-size: 12px;
    padding: 8px 15px;
    font-weight: 400;
}

.img-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-img {
    border-radius: 4px;
}

.card-location {
    font-family: "Oswald", sans-serif !important;
    font-weight: 200;
}

.card-body {
    padding-bottom: 24px;
    line-height: 24px;
    font-size: 16px;
}

.card-footer,
.card-location {
    letter-spacing: 0.5px;
    font-weight: 200;
    font-size: 14px;
    padding-bottom: 10px;
}

.mediaNav a {
    color: #040314;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.disclaimers {
    font-size: 12px !important;
    color: #040314;
}

.mediaNav a.nav-link.active {
    background-color: transparent;
    color: #bb5a5a;
    text-decoration: underline;
}

.mediaNav a:hover {
    color: #c8a95c;
}

.mediaNav a.active {
    color: #c8a95c;
}

.mediaNav ul {
    list-style-type: none;
    padding: 0;
}

.mediaNav ul li {
    margin-bottom: 10px;
}

/** .viewAll button is in a grid but need text centered vertically */
.viewAll {
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    background-color: #f5f5f5;
    font-size: 16px;
    font-family: "Quattrocento", sans-serif;
}

.navbar {
    background-color: #d1c8bd;
}

.navbar-brand {
    color: #eeeeee;
    font-size: 24px;
    font-family: "Yellowtail", cursive;
    transition: color 0.2s ease-in-out;
}

.navbar-brand:hover {
    color: #bb5a5a;
}

.nav-link {
    color: #000;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 36px;
}

.nav-link.active{
    text-decoration: underline;
}

.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link {
    color: #040314;
}

.nav-link:hover {
    color: #bb5a5a;
}

.site-footer .nav-link {
    font-family: 'Quattrocento', serif;
    text-transform: none;
    color: #b7b5a5!important;
}

.site-footer .copyright {
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    color: #f5f5f5;
    text-transform: uppercase;
}

.card {
    background-color: #fff;
    border-color: #eee;
}

.card-title {
    color: #332c13;
    overflow: hidden;
}

.card-text {
    color: #000;
}

.card-header {
    background-color: #eee;
    text-transform: uppercase;
    color: #040314;
    font-weight: 700;
    font-family: "Oswald", sans-serif;
}

.badge {
    background-color: #332c13;
}

.fe-price {
    font-size: 18px;
    font-weight: 400;
    font-family: "Oswald", sans-serif;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1.5);
}

.text-muted {
    color: #7b7b7b;
}

#fe-VehicleListing__contact .form-control {
    border-radius: 0;
    background-color: #f5f5f5 !important;
}

.fe-vehicleSpecs {
    color: #fff;
    width: 100%;
    margin-top: 16px;
    border-top:2px solid #eee;
}

.fe-vehicleSpecs__item {
    display: flex;
    width: 100%;
    align-items: center;
}

.fe-vehicleSpecs__item a {
    color: #332c13;
}

.fe-vehicleSpecs__item>h3 {
   
    background-color: transparent;
    color: var(--bs-secondary);
    text-transform: uppercase;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 0px;
    padding: 5px 5px;
    font-weight: 600;
}

.fe-vehicleSpecs__item>h5,
.fe-vehicleSpecs__item>span {
   

    color: #040314;
    font-weight: 600;
    font-size: 18px;
    text-transform: capitalize;
    padding: 10px 5px;
}

.fe-vehicleSpecs a {
    text-decoration: none;
}

.fe-vehicleSpecs__item>h5 {
    padding: 10px 5px;
    margin-bottom: 5px;
}

/** min width 920 media query */
@media (min-width: 920px) {
    .fe-vehicleSpecs {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .fe-vehicleSpecs__item {
        width: 50%;
    }

}

.fe-vehicleDescription--content {
    font-size: 16px;
    line-height: 26px;
}

.fe-vehicleDescription--content img {
    max-width: 100%;
    height: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}

.fe-vehicleDescription--content ul,
.fe-vehicleDescription--content h1,
.fe-vehicleDescription--content h2,
.fe-vehicleDescription--content h3,
.fe-vehicleDescription--content h4,
.fe-vehicleDescription--content h5,
.fe-vehicleDescription--content h6 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.fe-vehicleDescription {
    font-size: 18px;
    line-height: 22px;
    padding: 10px;
}

.seller-info {
    position: sticky;
    top: 145px;
}

.seller-info label.label-a11y {
    display: none !important;
}

.form-check-input:checked {
    background-color: #5c826b;
    border: 1px solid #b7b5a5;
}

:focus::placeholder {
    color: transparent;
}

.seller-info a {
    color: #bb5a5a;
    font-size: 18px;
    text-decoration: underline;
    font-weight: 700;
}

.nav-tabs .nav-item a {
    border-radius: 0px !important;
    background-color: #eee;
    color: #040314 !important;
}

.nav-tabs .active {
    background-color: #fff;
    color: #040314 !important;
}



@media (max-width: 768px) {
    #update-results-button {
        position: sticky;
        bottom: 0;
        z-index: 10;
        background-color: #fff;
    }
}

/* Button Classes */

.btn {
    border-radius: 0 !important;
    font-family: "Oswald", sans-serif !important;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.btn-lg {
    font-size: 22px;
    padding: 16px 32px;
}

/* PRIMARY BUTTON - Green "SELL YOUR FOURBIE" style */
.btn-primary {
    background-color: #5c826b !important;
    border-color: #5c826b !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #6b9479 !important;
    border-color: #6b9479 !important;
    color: #ffffff !important;
}

.btn-primary:focus,
.btn-primary:active {
    background-color: #4a6b58 !important;
    border-color: #4a6b58 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(92, 130, 107, 0.25) !important;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #a8c2b1 !important;
    border-color: #a8c2b1 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

/* SECONDARY BUTTON - White/outline "BROWSE NEW LISTINGS" style */
.btn-secondary {
    background-color: rgba(var(--bs-light-rgb));
    border-color:var(--bs-primary);
    border-width: 2px !important;
    color: var(--bs-primary);
}

.btn-secondary:hover {
    background-color: rgba(var(--bs-light-rgb));
    border-color:var(--bs-primary);
   color: #4a6b58 !important;
}

.btn-secondary:focus,
.btn-secondary:active {
    background-color: rgba(var(--bs-primary-rgb));
    border-color: var(--bs-primary);
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(4, 3, 20, 0.25) !important;
}

.btn-secondary:disabled,
.btn-secondary.disabled {
    background-color: #ffffff !important;
    border-color: #ccc !important;
    color: #999 !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

/* TERTIARY BUTTON - Black style */
.btn-tertiary {
    background-color: #040314 !important;
    border-color: #040314 !important;
    color: #ffffff !important;
}

.btn-tertiary:hover {
    background-color: #6b9479 !important;
    border-color: #6b9479 !important;
    color: #ffffff !important;
}

.btn-tertiary:focus,
.btn-tertiary:active {
    background-color: #4a6b58 !important;
    border-color: #4a6b58 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(4, 3, 20, 0.25) !important;
}

.btn-tertiary:disabled,
.btn-tertiary.disabled {
    background-color: #666 !important;
    border-color: #666 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.btn-white{
    background-color: #f5f5f5 !important;
    border-color: #f5f5f5 !important;
    color: #040314 !important;
}

.btn-white:hover {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #040314 !important;
}

/* TEXT BUTTON - "PRIVATE PARTY" style */
.btn-text {
    background-color: transparent !important;
    border: none !important;
    color: #5c826b !important;
    text-decoration: underline !important;
    padding: 8px 16px !important;
}

.btn-text:hover {
    background-color: transparent !important;
    border: none !important;
    color: #040314 !important;
    text-decoration: underline !important;
}

.btn-text:focus,
.btn-text:active {
    background-color: transparent !important;
    border: none !important;
    color: #040314 !important;
    text-decoration: underline !important;
    box-shadow: none !important;
}

.btn-text:disabled,
.btn-text.disabled {
    background-color: transparent !important;
    border: none !important;
    color: #ccc !important;
    text-decoration: underline !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

/* OUTLINE VARIANTS */
.btn-outline-primary {
    background-color: transparent;
    border-color: #5c826b;
    color: #5c826b;
}

.btn-outline-primary:hover {
    background-color: #5c826b;
    border-color: #5c826b;
    color: #ffffff;
}

.btn-outline-secondary {
    background-color: transparent;
    border-color: #b7b5a5;
    color: #b7b5a5;
}

.btn-outline-secondary:hover {
    background-color: #b7b5a5;
    border-color: #b7b5a5;
    color: #ffffff;
}

.btn-outline-white {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline-white:hover {
    background-color: #fff;
    border-color: #fff;
    color: #5c826b!important;
}

/* SEMANTIC BUTTONS */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: #ffffff;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
    color: #ffffff;
}

.btn-error {
    background-color: #bb5a5a;
    border-color: #bb5a5a;
    color: #ffffff;
}

.btn-error:hover {
    background-color: #a04545;
    border-color: #a04545;
    color: #ffffff;
}

.btn-alert {
    background-color: #c8a95c;
    border-color: #c8a95c;
    color: #ffffff;
}

.btn-alert:hover {
    background-color: #b89542;
    border-color: #b89542;
    color: #ffffff;
}

/* ACCORDION BUTTON */
.accordion-button {
    font-family: "Oswald", sans-serif !important;
    text-transform: uppercase;
    font-weight: 400;
}

.accordion-button:not(.collapsed) {
    background-color: #5c826b;
    color: #ffffff;
}


/* .accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
} */

.listing-results .listing-results__lede {
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 20px;
}

.listing-results .listing-results__lede h1 {
    font-size: 36px;
    font-weight: 700;
    color: #332c13;
    margin-bottom: 10px;
}

.listing-results .listing-results__lede p {
    font-size: 18px;
    color: #000;
    margin-bottom: 0;
}

.listingCard .badge {
    font-size: 18px;
    padding: 8px 15px;
    font-weight: 400;
    font-family: "Oswald", sans-serif!important;
    text-transform: uppercase !important;
    background-color: #473f21;
}

.listingCard {
    border-color: #d1c8bd;
}

.listingCard a {
    text-decoration: none;
}

.listingCard .card-header {
    background-color: transparent;
    border-bottom: 0px;
    z-index: 1;
    padding: 0px;
    margin: 0px;
    font-family: "Oswald", sans-serif !important;
    text-transform: capitalize;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.listingCard img {
    border-radius: 0px;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Ensures a consistent landscape aspect ratio */
    object-fit: cover;
}

.listingCard .card-footer {
    color: #040314;
    font-family: "Oswald", sans-serif !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    padding: 10px;
}

/* Listing Card Typography */
.listingCard__price {
    color: #c8a95c;
    font-size: 1.5rem;
}

.listingCard__location {
    font-size: 0.875rem;
    color: #6c757d;
}

.listingCard__title {
    font-size: 1.1rem;
    color: #040314;
}

.listingCard__description {
    font-size: 0.95rem;
    color: #6c757d;
}

.listingCard__badge {
    display: inline-block;
    background-color: transparent;
    color: #5c826b;
    font-size: 16px;
    font-weight: 800;
    font-family: "Oswald", sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.listingCard__badge--link {
    transition: color 0.2s ease-in-out;
}

.listingCard__badge--link:hover {
    color: #4a6b58;
    text-decoration: underline;
}

.listingCard__badge:hover {
    color: #4a6b58!important;
    text-decoration: underline;
}



.form-check-input[type="radio"] {
    border-radius: 50% !important;
}

.filter-pill {
    background-color: #332c13;
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 10px;
}

.filter-pill i {
    color: #fff;
}

/** Gallery for V2 Laravel Project */
.img-hero-hero,
.hero-thumbs {
    flex-grow: 1;
    overflow: hidden;
}

.img-hero-hero img {
    cursor: pointer;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
    max-height: 600px;
    width: 100%;
    filter: brightness(80%);
    overflow: hidden;
    transition: 0.3s;
 
}

.img-hero-hero img:hover {
    filter: brightness(100%);
    transform: scale(1.1);
}

.img-hero-hero,
.hero-thumbs {
    flex-grow: 1;
    overflow: hidden;
}

.hero-thumbs img {
    cursor: pointer;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
    width: 100%;
    filter: brightness(80%);
}

.thumb-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
border-left:1px solid transparent;
    max-height: 600px;
}

.thumb-container>.hero-thumbnail {
    width: 100%;
    height: 300px;

    position: relative;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s;
    overflow: hidden;
}

.thumb-container>.hero-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
    transform-origin: center;
}

.thumb-container>.video-thumbnail {
    width: 100%;
    height: 150px;

    position: relative;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s;
    overflow: hidden;
}

.thumb-container>.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
    transform-origin: center;
}

.thumb-container>a {
    display: block;
    border: 1px solid #eee;
}

.thumb-container>a:hover img,
.thumb-container>a.active img {
    filter: brightness(110%);
    transform: scale(1.1);
    width: 100%;
}

.viewAll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    /* Semi-transparent overlay */
    color: white;
    font-size: 1.5rem;
    text-transform: uppercase;
    opacity: 1;
    /* Make sure it's always visible */
    z-index: 10;
    /* Ensure it sits on top of the image */
    font-family: Oswald, sans-serif;
}

.view-more {
    position: relative;
    overflow: hidden;
}

label {
    cursor: pointer;
}

/** Breadcrumb */

.breadcrumb-item {
    font-size: 16px;
}

.breadcrumb-item a {
    position: relative;
    color: #332c13;

    z-index: 0;
    text-decoration: underline;
    transition: color 0.3s ease;
    /* Smooth transition for text color */
}

.breadcrumb-item a:hover::before {
    width: 100%;
    /* Slide-in effect on hover */
}

.breadcrumb-item a:hover {
    color: #bb5a5a;
}

.breadcrumb {
    background: transparent;
}

.breadcrumb-item a:hover {
    /** slightly darker orange */
    color: #e95a2a;
    text-decoration: underline;
}

.breadcrumb-item a {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.featured-hero {
    background-size: cover;
    background-position: center;
    height: 65vh;
    position: relative;
}

.featured-hero__content {
    position: relative;
    z-index: 1;
}

.featured-hero__content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.featured-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.btn.disabled,
button:disabled {
    background-color: #d6d6d6 !important;
    color: #a1a1a1 !important;
    border-color: #d6d6d6 !important;
    cursor: not-allowed !important;
    opacity: 0.65 !important;
}

.fe-hero {
    background-size: cover;
    background-position: center center;
    min-height: 35vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    /* Adjusted for better spacing on mobile */
}

.fe-hero--short {
    height: 25vh;
    /* Adjusted height for smaller screens */
}

.fe-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

.fe-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 10px;
    /* Added padding for better spacing */
}

.fe-hero__content h1 {
    /* Reduced for mobile */
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.fe-hero__content h2 {
    font-size: 28px;
    /* Reduced for mobile */
    font-weight: 700;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.fe-hero__content h3 {
    font-size: 20px;
    /* Reduced for mobile */
    font-weight: 700;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.fe-hero__content h4 {
    font-size: 16px;
    /* Reduced for mobile */
    font-weight: 700;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.fe-hero__content h5 {
    font-size: 14px;
    /* Reduced for mobile */
    font-weight: 700;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.fe-hero__content h6 {
    font-size: 12px;
    /* Reduced for mobile */
    font-weight: 700;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.fe-hero__content p {
    font-size: 22px;
    /* Reduced for mobile */
    line-height: 28px;
    /* Adjusted for better readability */
    font-weight: 400;
}

@media (max-width: 768px) {
    .fe-hero {
        min-height: 20vh;
        /* Adjusted height for smaller screens */
    }

    .fe-hero__content h1 {
        font-size: 28px;
    }

    .fe-hero__content h2 {
        font-size: 24px;
    }

    .fe-hero__content h3 {
        font-size: 18px;
    }

    .fe-hero__content p {
        font-size: 14px;
        line-height: 20px;
    }
}

.fe-hero--sell {
    background-image: url("/img/2.jpg");
}

.fe-hero--listings {
    min-height: 150px;
    max-height: 35vh;
    background-color: #f2eee7;
    border-color: #d1c8bd;
}

.fe-hero--listings::before {
    display: none !important;
}

.fe-hero--listings .fe-hero__content {
    text-align: left !important;
}

.fe-hero--listings .fe-hero__content h1 {
    color: #040314;
    text-shadow: none !important;
}

.fe-hero--listings .fe-hero__content p {
    color: #040314;
    text-shadow: none !important;
}

.fe-hero--listings .btn {
    display: none;
}

.fe-hero--home {
    max-height: 360px !important;
}

.all-sellers th {
    color: #fff;
}

.featured-listing .thumb-container {
    display: flex;
    flex-direction: row;
    height: 100%;
}

/** gallery is just a grid of thumbs 4 columns wide */
.featured-listing .thumb-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5px;
}

/** the thumbs are 1:1 aspect ratio */
.featured-listing .thumb-container>a {
    padding: 0;
    margin: 0;
    height: 0;
    padding-bottom: 100%;
    position: relative;
}

.featured-listing .thumb-container>a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#site-footer a {
    color: #fff;
}

.fe__trustedPartners {
    background-color: #dee2e6;
    color: #fff;
    padding: 20px;
}

.card-header {
    background-color: #040314;
    color: #fff;
    font-weight: 700;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    border-radius: 0px !important;
}

.card-footer {
    color: #fff;
    font-weight: 700;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    border-radius: 0px !important;
}

.card-header h5 {
    margin-bottom: 0px !important;
}

.fe__trustedPartners .card-body {
    display: flex;
    justify-content: center;
}

.fe__trustedPartners .card-body>div {
    border-left: 1px solid #eee;
    padding-left: 28px;
    font-size: 14px;
}

.fe__trustedPartners .card-body>div:first-child {
    border-left: 0px;
    padding-left: 0px;
}

/** remove the border radius on bootstrap accordions */
.accordion-button,
.accordion,
.accordion-item,
input,
select {
    border-radius: 0px !important;
}

/** Fourbie Style Bootstrap Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
}

.pagination .page-item {
    margin: 0 5px;
}

.pagination .page-link {
    color: #040314;
    background-color: #eee;
    border-color: #eee;
}

.pagination .page-link:hover {
    color: #c8a95c;
    background-color: #eee;
    border-color: #eee;
}

.pagination .page-item.active .page-link {
    color: #c8a95c;
    background-color: #eee;
    border-color: #eee;
}

.fe-pagination small {
    color: #040314 !important;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

#photogrid div {
    position: relative;
    overflow: hidden;
}

#photogrid img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.3s;
}

#photogrid img:hover {
    transform: scale(1.1);
}

#media-grid div {
    position: relative;
    overflow: hidden;
}

#media-grid img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.3s;
}

#media-grid img:hover {
    transform: scale(1.1);
}

.fe-modal-header {
    background-color: #000;
    z-index: 9999;
    position: sticky;
    top: -10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding: 10px;
}

.fe-modal-header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-tabs .nav-link {
    border-radius: 0 !important;
}

table.table-hover {
    cursor: pointer;
}

.inquiries-scrollable {
    max-height: 300px;
    /* or whatever height fits your layout */
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.modal-content {
    border-radius: 0 !important;
}

.uploading-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
    /* space between spinner and text */
}

.custom-spinner {
    width: 30px;
    height: 30px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.footer-link {
    font-size: 0.85rem;
    /* Adjust this value to your desired size */
}

.badge-clearable {
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top:5px;
    margin-bottom: 5px;;
}

.badge-clearable a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.badge-clearable .material-symbols-outlined {
    font-size: 1.2rem;
}

.media-index {
    position: absolute;
    top: 6px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
}

.media-index-modal {
    position: absolute;
    top: 6px;
    left: 16px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
}

.listing-description-toolbar {
    background: #f8f9fa;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    gap: 8px;
    user-select: none;
}

.listing-description-toolbar .button-group {
    display: flex;
    gap: 6px;
}

.listing-description-toolbar button {
    background: #007bff;
    border: none;
    color: white;
    padding: 6px 10px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    width: 35px;
    font-size: 14px;
    transition: background 0.3s;
}

.listing-description-toolbar button:hover,
.listing-description-toolbar button.trix-active {
    background: #0056b3;
}

/* ========================================
   HOMEPAGE STYLES
   ======================================== */

/* Hero Section */
.fe-homepage-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/img/2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fe-homepage-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.fe-homepage-hero .container {
    position: relative;
    z-index: 2;
}

.fe-homepage-hero__content {
    text-align: center;
    padding: 2rem 1rem;
}

.fe-homepage-hero h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Email Subscribe Section */
.fe-homepage-subscribe {
    background-color: var(--bs-primary);
    padding: 2rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 3;
}

.fe-homepage-subscribe__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.fe-homepage-subscribe__text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    flex: 0 0 auto;
}

.fe-homepage-subscribe__form {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 500px;
}

.fe-homepage-subscribe__input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}

.fe-homepage-subscribe__input:focus {
    outline: none;
    box-shadow: none;
}

.fe-homepage-subscribe__form .btn {
    border-radius: 0;
    white-space: nowrap;
}

/* Section Styles */
.fe-homepage-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.fe-homepage-section--gray {
    background-color: #f5f5f5;
}

#filters-section .card{
    background-color: transparent;
    border:none!important;
}

#filters-section .card-body{
    padding:0px!important;
    margin:0px!important;
}

#filters-section .card-header{
    padding:0px!important;
    margin:0px!important;
    background-color: transparent;
    border:none!important;
}

#filters-section .card-header a {
    color: #040314;
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    text-transform: capitalize;
    font-size: 16px;
    text-decoration: underline;
}

#filters-section .accordion-button {
    font-size: 18px;
    color: #040314;
    background-color: transparent!important;
    border: none!important;
    box-shadow: none!important;
    padding-left:0px;
    padding-top:7px;
    padding-bottom:7px;
}
#filters-section .accordion-item {
    border: none!important;
    background-color: transparent!important;
}

#filters-section .accordion-body {
    padding-left:0px;
    padding-top:2px;
    padding-bottom:7px;
}


.fe-homepage-section__title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #040314;
    margin-bottom: 3rem;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}

/* Vehicle Type Filters */
.fe-homepage-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.fe-homepage-filter {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    border: 2px solid #5c826b;
    color: #040314;
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    letter-spacing: 0.5px;
}

.fe-homepage-filter:hover {
    background-color: #5c826b;
    color: #ffffff;
    text-decoration: none;
}

/* CTA Section */
.fe-homepage-cta {
    background-image: url('https://fourbieexchange.com/wp-content/uploads/2023/09/fourbie-exchange-background-208.jpg');
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
    position: relative;
}

.fe-homepage-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.fe-homepage-cta .container,
.fe-homepage-cta .row {
    position: relative;
    z-index: 2;
}

.fe-homepage-cta__card {
    background-color: #ffffff;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid #dee2e6;
}

.fe-homepage-cta__title {
    font-size: 24px;
    font-weight: 700;
    color: #040314;
    margin-bottom: 1rem;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}

.fe-homepage-cta__text {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .fe-homepage-hero h1 {
        font-size: 32px;
    }
    
    .fe-homepage-subscribe__wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .fe-homepage-subscribe__form {
        max-width: 100%;
    }
    
    .fe-homepage-section {
        padding: 2rem 0;
    }
    
    .fe-homepage-section__title {
        font-size: 24px;
        margin-bottom: 2rem;
    }
    
    .fe-homepage-filter {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .fe-homepage-cta__card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .fe-homepage-subscribe__form {
        flex-direction: column;
    }
    
    .fe-homepage-subscribe__form .btn {
        width: 100%;
    }
}


/* Improved clickability and spacing for make/model filters */
.hover-bg-light {
    transition: background-color 0.15s ease-in-out;
}

.hover-bg-light:hover {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.user-select-none {
    user-select: none !important;
}