/* Styles for template-parts/airport/dynamic_cars.php (moved out of the template, 2026-10-10). */
/* =========================================================
   BOISE CAR RENTALS - PREMIUM STATIC CAR GRID
   ========================================================= */

.bcr-static-cars {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 55px 24px 65px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================================================
   HEADING
   ========================================================= */

.bcr-static-heading {
    margin: 0 0 28px;
}

.bcr-static-heading h2 {
    margin: 0;
    padding: 0;
    color: #111827;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.6px;
}

.bcr-static-heading p {
    margin: 8px 0 0;
    padding: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   GRID
   ========================================================= */

.bcr-static-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
}


/* =========================================================
   CARD
   ========================================================= */

.bcr-static-card {
    position: relative;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.bcr-static-card:hover {
    transform: translateY(-5px);
    border-color: #d9d9ff;
    box-shadow: 0 16px 35px rgba(17, 24, 39, 0.12);
}


/* =========================================================
   IMAGE
   ========================================================= */

.bcr-static-image {
    position: relative;
    width: 100%;
    height: 225px;
    overflow: hidden;
    background: #f3f4f6;
}

.bcr-static-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bcr-static-card:hover .bcr-static-image img {
    transform: scale(1.045);
}


/* =========================================================
   RATING BADGE
   ========================================================= */

.bcr-static-rating {
    position: absolute;
    top: 14px;
    right: 14px;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 7px 10px;

    background: rgba(255, 255, 255, 0.96);
    border-radius: 999px;

    color: #111827;
    font-size: 12px;
    font-weight: 700;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.bcr-static-rating-star {
    color: #f59e0b;
    font-size: 13px;
    line-height: 1;
}


/* =========================================================
   CONTENT
   ========================================================= */

.bcr-static-content {
    padding: 20px 20px 19px;
}


/* =========================================================
   TITLE
   ========================================================= */

.bcr-static-title {
    margin: 0 0 9px;
    padding: 0;

    color: #111827;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.2px;
}


/* =========================================================
   META
   ========================================================= */

.bcr-static-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;

    min-height: 18px;

    color: #4b5563;
    font-size: 13px;
    line-height: 18px;
}

.bcr-static-meta-dot {
    color: #9ca3af;
}

.bcr-static-meta-rating {
    font-weight: 700;
    color: #111827;
}

.bcr-static-star {
    color: #f59e0b;
    font-size: 13px;
    line-height: 1;
}

.bcr-static-reviews {
    color: #6b7280;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.bcr-static-divider {
    width: 100%;
    height: 1px;
    margin: 17px 0 15px;
    background: #eef0f3;
}


/* =========================================================
   BOTTOM ROW
   ========================================================= */

.bcr-static-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}


/* =========================================================
   PRICE
   ========================================================= */

.bcr-static-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
}

.bcr-static-price strong {
    color: #111827;
    font-size: 23px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.bcr-static-day {
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
}

.bcr-static-total {
    display: block;
    width: 100%;
    margin-top: 5px;

    color: #9ca3af;
    font-size: 11px;
    line-height: 1.2;
}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.bcr-static-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    padding: 10px 15px;

    background: #111827;
    color: #ffffff;

    border-radius: 9px;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.bcr-static-button:hover {
    background: #FCA700;
    color: #ffffff;
    transform: translateY(-1px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .bcr-static-cars {
        padding: 45px 20px 55px;
    }

    .bcr-static-heading h2 {
        font-size: 27px;
    }

    .bcr-static-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }

    .bcr-static-image {
        height: 215px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .bcr-static-cars {
        padding: 35px 15px 45px;
    }

    .bcr-static-heading {
        margin-bottom: 22px;
    }

    .bcr-static-heading h2 {
        font-size: 24px;
        letter-spacing: -0.4px;
    }

    .bcr-static-heading p {
        font-size: 13px;
    }

    .bcr-static-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bcr-static-image {
        height: auto;
        aspect-ratio: 768 / 475;
    }

    .bcr-static-content {
        padding: 18px 17px 18px;
    }

    .bcr-static-title {
        font-size: 18px;
    }

    .bcr-static-price strong {
        font-size: 21px;
    }

    .bcr-static-button {
        min-width: 100px;
        padding: 10px 13px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .bcr-static-bottom {
        align-items: center;
    }

    .bcr-static-button {
        min-width: 90px;
        font-size: 11px;
        padding: 9px 11px;
    }

    .bcr-static-price strong {
        font-size: 20px;
    }
}
