/* Rentals page */

/* Split hero */
.rentals-hero {
    width: 100vw;
    margin-top: -2.35rem;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    border-bottom: 1px solid rgba(3, 22, 41, 0.1);
    background: #ffffff;
}

.rentals-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    width: min(1180px, calc(100% - 2rem));
    min-height: 38rem;
    margin: 0 auto;
}

.rentals-hero__copy {
    position: relative;
    display: grid;
    align-content: center;
    gap: 0.85rem;
    padding: clamp(3.6rem, 6vw, 5rem) clamp(2.4rem, 5vw, 4.75rem) clamp(3.6rem, 6vw, 5rem) 0;
    background: #031629;
}

.rentals-hero__copy::before {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    bottom: 0;
    width: 50vw;
    background: #031629;
}

.rentals-hero__copy .home-kicker {
    color: #f85000;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.rentals-hero__copy h1,
.rentals-hero__copy p {
    margin: 0;
}

.rentals-hero__copy h1 {
    max-width: 34rem;
    color: #ffffff;
    font-size: clamp(2.65rem, 4.7vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
}

.rentals-hero__copy p {
    max-width: 39rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.97rem;
    line-height: 1.7;
}

.rentals-hero__copy p:first-of-type {
    margin-top: 0.35rem;
}

.rentals-hero__copy a {
    color: #ff6a26;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: color 0.2s ease;
}

.rentals-hero__copy a:hover {
    color: #ffffff;
}

.rentals-hero__copy a:focus-visible {
    border-radius: 2px;
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
}

.rentals-hero__media {
    position: relative;
    min-height: 38rem;
    margin: 0;
    overflow: hidden;
    border-left: 3px solid #f85000;
    background: #ffffff;
}

.rentals-hero__media img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: min(34rem, 98%);
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(1rem 1.2rem 0.9rem rgba(3, 22, 41, 0.2));
}

/* Search and database-driven equipment listing */
.rentals-browser {
    display: grid;
    gap: 1.25rem;
    margin-top: clamp(4.5rem, 8vw, 6.75rem);
    margin-bottom: clamp(4.5rem, 8vw, 6.75rem);
}

.rentals-browser__header {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.8fr);
    align-items: end;
    gap: clamp(2rem, 7vw, 6rem);
    padding-bottom: 1.45rem;
    border-bottom: 1px solid rgba(3, 22, 41, 0.14);
}

.rentals-browser__header > div {
    display: grid;
    gap: 0.75rem;
}

.rentals-browser__header h2,
.rentals-browser__header p {
    margin: 0;
}

.rentals-browser__header h2 {
    max-width: 43rem;
    color: #031629;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.rentals-browser__header h2::before {
    content: "";
    display: block;
    width: 2.6rem;
    height: 3px;
    margin-bottom: 1rem;
    background: #f85000;
}

.rentals-browser__header [data-rentals-result-count] {
    justify-self: end;
    color: #555e69;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}

.rentals-search--standalone {
    display: grid;
    gap: 0.55rem;
    width: 100%;
    max-width: none;
    padding: 1rem 1.1rem 1.1rem;
    border: 1px solid rgba(3, 22, 41, 0.13);
    border-radius: 6px;
    background: #f3f5f7;
    color: #031629;
    font-size: 0.8rem;
    font-weight: 800;
}

.rentals-search input[type="search"] {
    width: 100%;
    min-height: 3.55rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(3, 22, 41, 0.18);
    border-radius: 4px;
    background: #ffffff;
    color: #031629;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 500;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rentals-search input[type="search"]:hover:not(:focus) {
    border-color: rgba(3, 22, 41, 0.34);
}

.rentals-search input[type="search"]:focus {
    border-color: #f85000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(248, 80, 0, 0.16);
}

.rentals-search input[type="search"]::placeholder {
    color: #727a84;
}

.rentals-equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.25rem;
}

.rentals-equipment-card.inventory-item-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    min-width: 0;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(3, 22, 41, 0.13);
    border-radius: 6px;
    background: #ffffff;
    color: #3f4955;
    text-align: left;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.rentals-equipment-card.inventory-item-card[hidden] {
    display: none;
}

.rentals-equipment-card.inventory-item-card:hover,
.rentals-equipment-card.inventory-item-card.is-selected {
    transform: translateY(-2px);
    border-color: rgba(248, 80, 0, 0.72);
    background: #ffffff;
    color: #3f4955;
    box-shadow: 0 12px 26px rgba(3, 22, 41, 0.09);
}

.rentals-equipment-card.inventory-item-card:focus-visible {
    transform: translateY(-2px);
    border-color: #f85000;
    outline: 3px solid rgba(248, 80, 0, 0.32);
    outline-offset: 3px;
    box-shadow: none;
}

.rentals-equipment-card.inventory-item-card .inventory-item-card__thumb,
.rentals-equipment-card.inventory-item-card .inventory-item-card__body {
    width: 100%;
}

.rentals-equipment-card.inventory-item-card .inventory-item-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9ecef;
}

.rentals-equipment-card.inventory-item-card .inventory-item-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rentals-equipment-card.inventory-item-card:hover .inventory-item-card__thumb img,
.rentals-equipment-card.inventory-item-card.is-selected .inventory-item-card__thumb img {
    transform: scale(1.025);
}

.rentals-equipment-card.inventory-item-card .inventory-item-card__status {
    top: 0.65rem;
    left: 0.65rem;
    max-width: calc(100% - 1.3rem);
    padding: 0.34rem 0.52rem;
    border-radius: 3px;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    box-shadow: none;
}

.rentals-equipment-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 9.3rem;
    padding: 1rem 1rem 1.15rem;
}

.rentals-equipment-card__body h3 {
    display: -webkit-box;
    min-height: 3.75rem;
    margin: 0;
    overflow: hidden;
    color: #031629;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.rentals-equipment-card__body .inventory-item-card__spec {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    color: #555e69;
    font-size: 0.78rem;
    font-weight: 650;
}

.rentals-equipment-card__body .inventory-item-card__spec span {
    color: inherit;
    font: inherit;
    line-height: 1.4;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.rentals-equipment-card__body .inventory-item-card__desc {
    display: -webkit-box;
    margin-top: auto;
    overflow: hidden;
    color: #626b76;
    font-size: 0.82rem;
    line-height: 1.5;
    white-space: normal;
    text-overflow: clip;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.rentals-browser__empty,
.rentals-browser .newsletter-archive__empty {
    margin: 0;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(3, 22, 41, 0.14);
    border-radius: 4px;
    background: #f3f5f7;
    color: #555e69;
}

.rentals-browser .newsletter-archive__empty p {
    margin: 0;
}

/* Pagination */
.rentals-pagination {
    margin-top: 1rem;
    padding-top: 1.2rem;
    border-top-color: rgba(3, 22, 41, 0.13);
}

.rentals-pagination .pagination__status {
    color: #555e69;
    font-size: 0.78rem;
    letter-spacing: normal;
}

.rentals-pagination .pagination__controls,
.rentals-pagination [data-rentals-pagination-pages] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rentals-pagination .pagination__gap {
    min-width: 1.6rem;
    color: #727a84;
    text-align: center;
}

button.rentals-pagination__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.55rem;
    border: 1px solid rgba(3, 22, 41, 0.14);
    border-radius: 4px;
    background: #ffffff;
    color: #031629;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

button.rentals-pagination__button:hover {
    border-color: #031629;
    background: #031629;
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

button.rentals-pagination__button:focus-visible {
    outline: 3px solid rgba(248, 80, 0, 0.34);
    outline-offset: 2px;
}

button.rentals-pagination__button.is-current {
    border-color: #031629;
    background: #031629;
    color: #ffffff;
}

button.rentals-pagination__button.is-disabled {
    border-color: rgba(3, 22, 41, 0.08);
    background: #f3f5f7;
    color: rgba(3, 22, 41, 0.28);
    cursor: not-allowed;
    pointer-events: none;
}

/* SEO-rich editorial sections */
.rentals-seo-content {
    display: grid;
    gap: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.rentals-seo-content > .inventory-seo-section {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    align-items: start;
    gap: clamp(2.5rem, 7vw, 6rem);
    width: 100%;
    max-width: none;
    padding: clamp(4.5rem, 8vw, 6.5rem) 0;
    border-top: 1px solid rgba(3, 22, 41, 0.13);
}

.rentals-seo-content > .inventory-seo-section:nth-child(2) {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: max(calc((100vw - 1180px) / 2), 1rem);
    padding-left: max(calc((100vw - 1180px) / 2), 1rem);
    border-bottom: 1px solid rgba(3, 22, 41, 0.1);
    background: #f3f5f7;
}

.rentals-seo-content .inventory-seo-section h2 {
    max-width: 34rem;
    margin: 0;
    color: #031629;
    font-size: clamp(1.9rem, 3.2vw, 2.65rem);
    line-height: 1.14;
    letter-spacing: -0.018em;
}

.rentals-seo-content .inventory-seo-section h2::before {
    content: "";
    display: block;
    width: 2.6rem;
    height: 3px;
    margin-bottom: 1rem;
    background: #f85000;
}

.rentals-seo-content .inventory-seo-section__body {
    display: grid;
    gap: 0;
}

.rentals-seo-content .inventory-seo-section__body p {
    margin: 0;
    padding: 1.2rem 0 1.2rem 1.35rem;
    border-left: 2px solid rgba(3, 22, 41, 0.2);
    color: #4d5663;
    font-size: 1rem;
    line-height: 1.78;
}

.rentals-seo-content .inventory-seo-section__body p:first-child {
    padding-top: 0;
    border-left-color: #f85000;
}

.rentals-seo-content .inventory-seo-section__body p + p {
    margin-top: 0.25rem;
}

.rentals-seo-content a {
    color: #a93400;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: color 0.2s ease;
}

.rentals-seo-content a:hover {
    color: #031629;
}

.rentals-seo-content a:focus-visible {
    border-radius: 2px;
    outline: 2px solid rgba(248, 80, 0, 0.55);
    outline-offset: 3px;
}

/* FAQ accordion */
.rentals-seo-content > .inventory-faq-section {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    border-top: 0;
}

.rentals-seo-content > .inventory-faq-section > h2 {
    position: sticky;
    top: 7.5rem;
}

.rentals-faq__list {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(3, 22, 41, 0.16);
}

.rentals-faq__item.inventory-faq-item {
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(3, 22, 41, 0.16);
}

.rentals-faq__question {
    position: relative;
    display: block;
    padding: 1.4rem 3.25rem 1.4rem 0;
    color: #031629;
    list-style: none;
    cursor: pointer;
}

.rentals-faq__question::-webkit-details-marker {
    display: none;
}

.rentals-faq__question::marker {
    content: "";
}

.rentals-faq__question h3 {
    margin: 0;
    color: inherit;
    font-size: 1.08rem;
    line-height: 1.4;
    transition: color 0.22s ease;
}

.rentals-faq__question::before,
.rentals-faq__question::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.25rem;
    width: 1.1rem;
    height: 2px;
    background: #f85000;
    transform: translateY(-50%);
    transform-origin: center;
    transition: background-color 0.22s ease, opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.rentals-faq__question::after {
    transform: translateY(-50%) rotate(90deg);
}

.rentals-faq__item[open] > .rentals-faq__question::after {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg) scaleX(0);
}

.rentals-faq__question:hover::before,
.rentals-faq__question:hover::after {
    background: #031629;
}

.rentals-faq__question:focus-visible {
    border-radius: 3px;
    outline: 3px solid rgba(248, 80, 0, 0.42);
    outline-offset: 4px;
}

.rentals-faq__answer {
    padding: 0 3.25rem 1.45rem 0;
}

.rentals-faq__answer-inner {
    overflow: hidden;
}

.rentals-faq__answer p {
    max-width: 47rem;
    margin: 0;
    color: #555e69;
    font-size: 0.98rem;
    line-height: 1.75;
}

/* Rental inquiry */
.rentals-workflow {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(2.5rem, 7vw, 6rem);
    width: 100vw;
    margin: 0 calc(50% - 50vw) -4rem;
    padding: clamp(4.5rem, 8vw, 6.25rem) max(calc((100vw - 1180px) / 2), 1rem);
    border-top: 1px solid rgba(3, 22, 41, 0.1);
    background: #f3f5f7;
}

.rentals-workflow__intro {
    position: sticky;
    top: 7.5rem;
    display: grid;
    gap: 0.8rem;
    padding: 0;
}

.rentals-workflow__intro h2,
.rentals-workflow__intro p {
    margin: 0;
}

.rentals-workflow__intro h2 {
    color: #031629;
    font-size: clamp(1.9rem, 3.2vw, 2.65rem);
    line-height: 1.14;
    letter-spacing: -0.018em;
}

.rentals-workflow__intro h2::before {
    content: "";
    display: block;
    width: 2.6rem;
    height: 3px;
    margin-bottom: 1rem;
    background: #f85000;
}

.rentals-workflow__intro p {
    max-width: 34rem;
    color: #555e69;
    line-height: 1.75;
}

.rentals-form.inquiry-form {
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(3, 22, 41, 0.14);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
}

.rentals-form form {
    display: grid;
    gap: 1rem;
}

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

.rentals-form label {
    gap: 0.42rem;
    color: #031629;
    font-size: 0.8rem;
    font-weight: 800;
}

.rentals-form input,
.rentals-form textarea {
    border: 1px solid rgba(3, 22, 41, 0.17);
    border-radius: 4px;
    background: #ffffff;
    color: #031629;
    box-shadow: none;
}

.rentals-form input:hover:not(:focus),
.rentals-form textarea:hover:not(:focus) {
    border-color: rgba(3, 22, 41, 0.34);
}

.rentals-form input:focus,
.rentals-form textarea:focus {
    border-color: #f85000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(248, 80, 0, 0.16);
}

.rentals-form textarea {
    min-height: 9.5rem;
    resize: vertical;
}

.rentals-form__actions {
    display: flex;
    justify-content: flex-start;
    padding-top: 0.25rem;
}

.rentals-form__submit.button {
    width: auto;
    min-width: 12rem;
    padding: 0.9rem 1.35rem;
    border-radius: 4px;
    background: #f85000;
    color: #ffffff;
    box-shadow: none;
}

.rentals-form__submit.button:hover {
    background: #031629;
    color: #ffffff;
    box-shadow: none;
}

.rentals-form__submit.button:focus-visible {
    outline: 3px solid rgba(248, 80, 0, 0.36);
    outline-offset: 3px;
}

/* Equipment detail dialog */
.rentals-modal {
    width: min(980px, calc(100vw - 2rem));
    max-height: min(88vh, 46rem);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(3, 22, 41, 0.16);
    border-radius: 6px;
    background: #ffffff;
    color: #3f4955;
    box-shadow: 0 28px 70px rgba(3, 22, 41, 0.3);
}

.rentals-modal::backdrop {
    background: rgba(3, 22, 41, 0.7);
    backdrop-filter: none;
}

.rentals-modal__shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    min-height: 31rem;
}

button.rentals-modal__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 1px solid rgba(3, 22, 41, 0.16);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    color: #031629;
    font-family: inherit;
    font-size: 1.45rem;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button.rentals-modal__close:hover {
    border-color: #031629;
    background: #031629;
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

button.rentals-modal__close:focus-visible {
    outline: 3px solid rgba(248, 80, 0, 0.4);
    outline-offset: 2px;
}

.rentals-modal__media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    border-right: 1px solid rgba(3, 22, 41, 0.12);
    background: #e9ecef;
}

.rentals-modal__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 31rem;
    object-fit: contain;
}

.rentals-modal__media > span:not(.rentals-modal__counter) {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.38rem 0.62rem;
    border-radius: 3px;
    background: #f85000;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

button.rentals-modal__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    padding: 0 0 0.15rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 4px;
    background: rgba(3, 22, 41, 0.82);
    color: #ffffff;
    font-family: inherit;
    font-size: 1.8rem;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

button.rentals-modal__nav:hover {
    border-color: #f85000;
    background: #f85000;
    color: #ffffff;
    transform: translateY(-50%);
    box-shadow: none;
}

button.rentals-modal__nav:focus-visible {
    outline: 3px solid rgba(248, 80, 0, 0.5);
    outline-offset: 2px;
}

button.rentals-modal__nav[hidden] {
    display: none;
}

.rentals-modal__nav--prev {
    left: 0.8rem;
}

.rentals-modal__nav--next {
    right: 0.8rem;
}

.rentals-modal__media .rentals-modal__counter {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: auto;
    min-width: 3.25rem;
    padding: 0.34rem 0.58rem;
    border-radius: 3px;
    background: rgba(3, 22, 41, 0.84);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 750;
    text-align: center;
}

.rentals-modal__content {
    display: grid;
    align-content: start;
    gap: 0.95rem;
    max-height: min(88vh, 46rem);
    overflow: auto;
    padding: 2.25rem;
}

.rentals-modal__content .home-kicker {
    padding-right: 2.5rem;
    letter-spacing: 0.08em;
}

.rentals-modal__content h2 {
    margin: 0;
    color: #031629;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    line-height: 1.18;
}

.rentals-modal__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.2rem;
    margin: 0;
    border-top: 1px solid rgba(3, 22, 41, 0.13);
}

.rentals-modal__facts div {
    padding: 0.75rem 0;
    border: 0;
    border-bottom: 1px solid rgba(3, 22, 41, 0.13);
    border-radius: 0;
    background: transparent;
}

.rentals-modal__facts dt,
.rentals-modal__facts dd {
    margin: 0;
}

.rentals-modal__facts dt {
    color: #6a727d;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rentals-modal__facts dd {
    color: #031629;
    font-size: 0.9rem;
    font-weight: 750;
}

.rentals-modal__summary,
.rentals-modal__details {
    margin: 0;
    color: #4d5663;
    line-height: 1.7;
}

.rentals-modal__details {
    white-space: pre-line;
}

.rentals-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding-top: 0.35rem;
}

.rentals-modal__actions .button {
    border-radius: 4px;
    box-shadow: none;
}

.rentals-modal__actions .button--accent {
    background: #f85000;
    color: #ffffff;
}

.rentals-modal__actions .button--accent:hover {
    background: #031629;
    color: #ffffff;
    box-shadow: none;
}

.rentals-modal__actions .button--ghost:hover {
    border-color: #031629;
    background: #031629;
    color: #ffffff;
    box-shadow: none;
}

/* Responsive layout */
@media (min-width: 1280px) {
    .rentals-hero__media img {
        width: min(36rem, 102%);
    }
}

@media (max-width: 1100px) {
    .rentals-hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .rentals-hero__copy {
        padding-right: 2.5rem;
    }

    .rentals-hero__media img {
        width: min(31rem, 100%);
    }

    .rentals-equipment-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .rentals-browser__header,
    .rentals-seo-content > .inventory-seo-section,
    .rentals-seo-content > .inventory-faq-section,
    .rentals-workflow {
        grid-template-columns: 1fr;
    }

    .rentals-browser__header,
    .rentals-seo-content > .inventory-seo-section,
    .rentals-workflow {
        gap: 2rem;
    }

    .rentals-browser__header [data-rentals-result-count] {
        justify-self: start;
    }

    .rentals-seo-content > .inventory-faq-section > h2,
    .rentals-workflow__intro {
        position: static;
    }

    .rentals-modal__shell {
        grid-template-columns: 1fr;
    }

    .rentals-modal__media {
        min-height: 19rem;
        max-height: 22rem;
        border-right: 0;
        border-bottom: 1px solid rgba(3, 22, 41, 0.12);
    }

    .rentals-modal__media img {
        min-height: 19rem;
        max-height: 22rem;
    }

    .rentals-modal__content {
        max-height: none;
    }
}

@media (max-width: 820px) {
    .rentals-equipment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 740px) {
    .rentals-hero {
        margin-top: -1.5rem;
    }

    .rentals-hero__inner {
        grid-template-columns: 1fr;
        width: 100%;
        min-height: 0;
    }

    .rentals-hero__copy {
        padding: 3.25rem 1rem 3.5rem;
    }

    .rentals-hero__copy::before {
        display: none;
    }

    .rentals-hero__copy h1 {
        font-size: clamp(2.35rem, 11vw, 3.25rem);
    }

    .rentals-hero__media {
        min-height: 25rem;
        border-top: 3px solid #f85000;
        border-left: 0;
    }

    .rentals-hero__media img {
        top: 49%;
        width: min(28rem, 102%);
    }

    .rentals-browser {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .rentals-seo-content > .inventory-seo-section,
    .rentals-workflow {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .rentals-form .form-grid {
        grid-template-columns: 1fr;
    }

    .rentals-modal {
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
    }

    .rentals-modal__content {
        padding: 1.5rem;
    }
}

@media (max-width: 560px) {
    .rentals-equipment-grid {
        grid-template-columns: 1fr;
    }

    .rentals-equipment-card__body {
        min-height: 0;
    }

    .rentals-browser__header h2,
    .rentals-seo-content .inventory-seo-section h2,
    .rentals-workflow__intro h2 {
        font-size: 1.85rem;
    }

    .rentals-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .rentals-form__submit.button {
        width: 100%;
    }

    .rentals-modal__facts {
        grid-template-columns: 1fr;
    }

    .rentals-modal__actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rentals-hero__copy a,
    .rentals-equipment-card.inventory-item-card,
    .rentals-equipment-card.inventory-item-card .inventory-item-card__thumb img,
    .rentals-pagination__button,
    .rentals-faq__question h3,
    .rentals-faq__question::before,
    .rentals-faq__question::after,
    .rentals-form input,
    .rentals-form textarea,
    .rentals-modal__close,
    .rentals-modal__nav {
        scroll-behavior: auto;
        transition: none;
    }

    .rentals-equipment-card.inventory-item-card:hover,
    .rentals-equipment-card.inventory-item-card.is-selected,
    .rentals-equipment-card.inventory-item-card:focus-visible,
    .rentals-equipment-card.inventory-item-card:hover .inventory-item-card__thumb img,
    .rentals-equipment-card.inventory-item-card.is-selected .inventory-item-card__thumb img {
        transform: none;
    }
}
