.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.vehicle-pane {
    display: inline-block;
    position: relative;
    margin: 1em auto 1em auto;
    padding: 0;
    padding-bottom: 1.3in;
    background-color: white;
    width: 4.25in;
    border-radius: 10px;
    border: 1px solid darkgrey;
    overflow: hidden;
}

.vehicle-top-banner {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 3em;
    background-color: darkgrey;
}
.vehicle-top-banner > img {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0.5em;
    height: calc( 100% - 1em );
}
.vehicle-top-banner .vehicle-city {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0 0.5em 0.25em 0;
    font-family: narrow;
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    line-height: 1;
    max-width: calc( 100% - 250px );    /* 250px is an estimate of the space needed to allow for the width of the-car-dad-logo-wide.png  */
}
.vehicle-splash-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}
.vehicle-tagline {
    background-color: darkgrey;
    color: white;
    text-align: center;
    font-family: narrow;
    font-size: 16pt;
    font-weight: bold;
    padding: 0.25em;
}
.vehicle-description-panel {
    margin: 1em;
}
.vehicle-icons {
    float: right;
}
.vehicle-mileage {
    font-size: 10pt;
}
.vehicle-year-make-model {
    margin-top: 0.5em;
    font-size: 12pt;
    font-weight: bold;
}
.vehicle-price {
    font-size: 15pt;
    font-weight: bold;
}
.vehicle-description {
    margin-top: 1em;
    font-size: 10pt;
}
.vehicle-small-inline-block {
    display: inline-block;
}
.vehicle-pane .get-details {
    position: absolute;
    left: 0;
    right: 0;
    margin: 1em;
    height: 0.5in;
    bottom: 0in;
}
.vehicle-pane .confirm-availability {
    position: absolute;
    left: 0;
    right: 0;
    margin: 1em;
    height: 0.5in;
    bottom: 0.65in;
}

.vehicle-focus {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    background-color: white;
}
.vehicle-focus-content {
    height: 100%;
    border: none;
}
.vehicle-focus-header {
    width: 100%;
}
.vehicle-focus-close-button {
    background-color: lightgrey;
}
.vehicle-focus-body {
    overflow-y: auto;
    height: 100%;
}
.vehicle-focus-footer {
    padding: 1em;
}
.vehicle-details {
    padding: 1em;
}

/* Maintain 4:3 aspect ratio on vehicle phots, shadowbox portrait mode */
.carousel-item {
    aspect-ratio: 4 / 3;
    background-color: black;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.feature-label {
    color: gray;
}
.sharing-tooltip {
    --bs-tooltip-bg: lightgrey;
    --bs-tooltip-color: black;
}

.feathered-background {
    /* position: relative; */
    display: inline-block;  /* Adjust to your layout */
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
    color: white;
    border-radius: 8px; /* Optional, for rounded corners */
 }
 .feathered-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    border-radius: 8px; /* Optional, if you want rounded corners on the feather effect */
    z-index: -1; /* Ensure it is behind the content */
}