:root {
    --vh: 100vh;
}

#more {
    display: none;
}

.entry-content {
    font-size: 16px;
}

.entry-content table {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-bottom: 4rem;
    border-collapse: collapse;
    overflow: auto;
}

.entry-content table thead {
    --tw-bg-opacity: 1;
    background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}

.entry-content table tbody tr {
    border-bottom-width: 1px;
}

.entry-content table tbody tr:nth-child(odd) {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.entry-content table tbody tr:nth-child(even) {
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.entry-content table tbody td {
    white-space: nowrap;
}

.entry-content table th,
.entry-content table td {
    --tw-border-opacity: 1;
    padding: 0.5rem 1rem;
    border-width: 1px;
    border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}

.testimonial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.testimonial-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1.5rem 1.5rem 0 0;
}

/* Fills the card so the customer name lines up across cards of different quote length. */
.testimonial-body {
    flex: 1 1 auto;
}

/* Detail page of units added from the admin panel */
.car-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.car-detail__media {
    position: relative;
    aspect-ratio: 2 / 1;
}

@media (min-width: 1024px) {
    .car-detail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem;
    }
}

.car-variants {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .car-variants {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.car-variants__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.car-variants__features {
    margin: 0;
    padding-left: 1.25em;
    list-style: disc;
}

/* Specification sheet with one column per type */
.spec-table-scroll {
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 1rem;
    border-bottom: 1px solid #d1d5db;
    text-align: left;
    vertical-align: top;
}

.spec-table thead th {
    background-color: #f3f4f6;
    font-weight: 700;
}

.spec-table tbody th {
    width: 22%;
    color: rgb(59 130 246);
    font-weight: 700;
}

/* Sales profile page */
.sales-profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.sales-profile__photo img {
    display: block;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1;
    border-radius: 1.5rem;
    object-fit: cover;
}

.sales-profile__contact {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.5rem 1.5rem;
    margin: 0;
}

.sales-profile__contact dt {
    font-weight: 700;
}

.sales-profile__contact dd {
    margin: 0;
}

@media (min-width: 1024px) {
    .sales-profile {
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 4rem;
    }
}

/* Honda Sensing page */
.honda-sensing hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.honda-sensing .img-banner {
    width: 100%;
}

.honda-sensing .container--sensing {
    max-width: 1000px;
}

.honda-sensing .headline-description {
    max-width: 1000px;
    margin: auto;
    font-size: 16px;
}

.honda-sensing .action-wrapper {
    margin-top: 2em;
    margin-bottom: 2em;
}

.honda-sensing .btn-how-it-works {
    padding: 7px 25px;
    border: 0;
    border-radius: 15px;
    background-color: #3591cc;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.honda-sensing .btn-how-it-works:active,
.honda-sensing .btn-how-it-works:hover {
    opacity: 0.8;
}

/*
 * Model links take the colour of the <font> tag around them, as on the
 * source page. :where() keeps the specificity low so the hover colour of
 * the base stylesheet still applies.
 */
:where(.honda-sensing) a {
    color: inherit;
}

.honda-sensing .sensing-description {
    margin-top: 1em;
}

.honda-sensing .sensing-description .upsize-text {
    font-size: 16px;
}

.modal-sensing .streaming-youtube iframe {
    width: 100%;
    height: 450px;
}

.disclaimer-text {
    margin: 5px 10px;
    font-style: italic;
}

@media (max-width: 1199px) {
    .reverse-column {
        display: flex;
        flex-flow: column-reverse;
    }
}

/*
 * The footer social icons use an icon font that the source site does not
 * serve cross-origin, so they are mapped onto the Font Awesome glyphs.
 */
.icon-facebook,
.icon-twitter,
.icon-instagram,
.icon-youtube {
    font-family: FontAwesome;
}

.icon-facebook:before {
    content: "\f09a";
}

.icon-twitter:before {
    content: "\f099";
}

.icon-instagram:before {
    content: "\f16d";
}

.icon-youtube:before {
    content: "\f167";
}
