.vds-rental {
    --rental-ink: #081b3d;
    --rental-muted: #586b84;
    --rental-red: #ff3f58;
    color: var(--rental-ink);
    background: #fff;
    font-family: var(--vds-font-family, Inter, Arial, sans-serif);
    overflow: clip;
}
.vds-rental *, .vds-rental *::before, .vds-rental *::after { box-sizing: border-box; }
.vds-rental__container { width: min(84%, 90rem); margin-inline: auto; }
.vds-rental__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.vds-rental__eyebrow { display: flex; align-items: center; gap: .9rem; margin: 0 0 1rem; color: #65738b; font-size: .65rem; font-weight: 600; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.vds-rental__eyebrow::before { content: ''; width: 2rem; height: 2px; flex: 0 0 auto; background: var(--rental-red); }
.vds-rental__title { margin: 0; font-size: clamp(2rem, 3.1vw, 3.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
.vds-rental__title--split { font-weight: 300; }
.vds-rental__title--split > strong, .vds-rental__title--split > span { display: block; }
.vds-rental__title--split > strong { font-weight: 500; }
.vds-rental__description { color: var(--rental-muted); font-size: clamp(.95rem, 1.1vw, 1.15rem); font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.vds-rental__description p { margin: .8rem 0 0; }
.vds-rental__description p:first-child { margin-top: 0; }
.vds-rental__title + .vds-rental__description { margin-top: 1rem; }
.vds-rental__link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--rental-ink); font-size: .67rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; }
.vds-rental__link:hover { color: var(--rental-red); }
.vds-rental__button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3.1rem; margin-top: 1.2rem; padding: .8rem 1.3rem; background: var(--rental-red); color: #fff; font-size: .72rem; font-weight: 600; text-decoration: none; text-transform: uppercase; }
.vds-rental__button:hover { background: #df2944; color: #fff; }
.vds-rental a:focus-visible { outline: 2px solid var(--rental-red); outline-offset: 5px; }
.vds-rental__hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(28rem, 37vw, 43rem); padding: 4rem 0 6rem; background: #e2edf5; clip-path: polygon(0 0,100% 0,100% 88%,42% 100%,0 92%); }
.vds-rental__hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.vds-rental__hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(242,248,252,.94),rgba(242,248,252,.72) 30%,rgba(242,248,252,0) 68%); }
.vds-rental__hero-title { max-width: 12ch; margin: 0; font-size: clamp(2.8rem, 5.1vw, 5.8rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.vds-rental__hero-content > .vds-rental__description { max-width: 29rem; margin-top: 1.2rem; }
.vds-rental__split { display: grid; grid-template-columns: minmax(0,46%) minmax(0,54%); align-items: center; }
.vds-rental__split-copy { min-width: 0; padding: 2.5rem 3.5vw 2.5rem max(8vw, calc((100vw - 90rem)/2)); }
.vds-rental__split-media { min-width: 0; height: clamp(21rem, 25vw, 30rem); clip-path: polygon(12% 8%,100% 0,100% 100%,0 90%); }
.vds-rental__about { padding: .5rem 0 2rem; }
.vds-rental__features { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding-top: 2rem; }
.vds-rental__feature { position: relative; padding: 0 1.4rem; text-align: center; }
.vds-rental__feature + .vds-rental__feature::before { content: ''; position: absolute; left: 0; top: .8rem; bottom: 0; width: 1px; background: #d9e2ec; }
.vds-rental__icon { display: block; width: 3rem; height: 3rem; margin: 0 auto 1rem; }
.vds-rental__feature h3 { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.vds-rental__feature p { max-width: 16rem; margin: .65rem auto 0; color: var(--rental-muted); font-size: .85rem; line-height: 1.45; }
.vds-rental__offer { padding: 2rem 0 3rem; }
.vds-rental__section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.vds-rental__section-header > .vds-rental__description { max-width: 27rem; font-size: .85rem; }
.vds-rental__categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.3rem; }
.vds-rental__category { min-width: 0; display: flex; flex-direction: column; border: 1px solid #edf1f5; background: #fff; box-shadow: 0 .4rem 1.3rem rgba(8,27,61,.035); }
.vds-rental__category-media { aspect-ratio: 2; overflow: hidden; }
.vds-rental__category-media .vds-rental__image { object-position: center 40%; }
.vds-rental__card-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.vds-rental__card-copy h3 { width: 100%; margin: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.vds-rental__subtitle { display: flex; align-items: center; gap: .5rem; margin: .65rem 0; color: #66768e; font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .035em; }
.vds-rental__subtitle::before { content: ''; width: 1.25rem; height: 5px; border-block: 1px solid var(--rental-red); flex: 0 0 auto; }
.vds-rental__category .vds-rental__description { font-size: .9rem; }
.vds-rental__category .vds-rental__link { margin-top: auto; padding-top: 1rem; }
.vds-rental__advice { background: #f3f7fa; }
.vds-rental__split--reverse { grid-template-columns: minmax(0,54%) minmax(0,46%); }
.vds-rental__split--reverse .vds-rental__split-media { clip-path: polygon(0 0,100% 9%,89% 100%,0 92%); }
.vds-rental__split--reverse .vds-rental__split-copy { padding: 2.5rem max(8vw, calc((100vw - 90rem)/2)) 2.5rem 3.5vw; }
.vds-rental__locations { padding: 3rem 0 2rem; }
.vds-rental__locations-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: .85rem; width: min(calc(100% - 3rem), 108rem); margin-inline: auto; }
.vds-rental__location { display: flex; flex: 1 1 calc((100% - 4.25rem) / 6); min-width: 0; flex-direction: column; color: var(--rental-ink); text-decoration: none; background: #fff; border: 1px solid #edf1f5; box-shadow: 0 .4rem 1.3rem rgba(8,27,61,.035); }
.vds-rental__location-media { aspect-ratio: 1.55; overflow: hidden; }
.vds-rental__location .vds-rental__card-copy { padding: .9rem; }
.vds-rental__location h3 { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; font-size: .98rem; }
.vds-rental__location h3 > span { flex: 0 0 auto; }
.vds-rental__location .vds-rental__description { margin-top: .55rem; font-size: .77rem; }
a.vds-rental__location:hover { border-color: #bfcedd; }
.vds-rental__poland { padding: 1rem 0; }
.vds-rental__link--outline { margin-top: 1.3rem; padding: .7rem 1rem; border: 1px solid #bccbdc; }
.vds-rental__split--text-only { grid-template-columns: 1fr; }
.vds-rental__split--text-only .vds-rental__split-copy { width: min(84%,90rem); padding: 3rem 0; margin-inline: auto; }
.vds-rental__split--text-only .vds-rental__description { max-width: 45rem; }
.vds-rental__cta { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(21rem, 26vw, 29rem); padding: 4rem 0; background: #122d4e; color: #fff; clip-path: polygon(0 0,50% 5%,100% 0,100% 100%,0 100%); }
.vds-rental__cta-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.vds-rental__cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(7,28,54,.82),rgba(7,28,54,.45) 50%,rgba(7,28,54,.12)); }
.vds-rental__cta .vds-rental__eyebrow { color: #d1dbe7; }
.vds-rental__cta .vds-rental__title { max-width: 20ch; color: #fff; font-size: clamp(2.4rem, 3.8vw, 4.3rem); font-weight: 300; }
.vds-rental__cta .vds-rental__description { max-width: 37rem; color: #e0e7ef; }
@media (max-width: 1100px) {
    .vds-rental__location { flex: 0 1 calc((100% - 1.7rem) / 3); }
    .vds-rental__section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 767px) {
    .vds-rental__container { width: calc(100% - 2.5rem); }
    .vds-rental__hero { align-items: flex-end; min-height: 33rem; padding: 4rem 0; clip-path: polygon(0 0,100% 0,100% 96%,42% 100%,0 96%); }
    .vds-rental__hero-image { object-position: 65% center; }
    .vds-rental__hero::after { background: linear-gradient(0deg,rgba(245,249,252,.97),rgba(245,249,252,.8) 38%,rgba(245,249,252,.08)); }
    .vds-rental__hero-title { font-size: clamp(2.7rem,9vw,4rem); }
    .vds-rental__split, .vds-rental__split--reverse { grid-template-columns: 1fr; }
    .vds-rental__split-copy, .vds-rental__split--reverse .vds-rental__split-copy { padding: 2.5rem 1.25rem; }
    .vds-rental__split-media { height: 19rem; clip-path: polygon(7% 4%,100% 0,100% 100%,0 94%); }
    .vds-rental__split--reverse .vds-rental__split-media { clip-path: polygon(0 0,100% 4%,93% 100%,0 95%); }
    .vds-rental__features { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem 0; }
    .vds-rental__feature { padding-inline: .75rem; }
    .vds-rental__feature:nth-child(3)::before { display: none; }
    .vds-rental__feature h3 { font-size: .95rem; }
    .vds-rental__feature p { font-size: .8rem; }
    .vds-rental__categories { grid-template-columns: 1fr; }
    .vds-rental__category-media { aspect-ratio: 1.8; }
    .vds-rental__locations-grid { width: calc(100% - 2.5rem); }
    .vds-rental__location { flex-basis: calc((100% - .85rem) / 2); }
    .vds-rental__split--text-only .vds-rental__split-copy { width: calc(100% - 2.5rem); padding: 2.5rem 0; }
}
@media (max-width: 480px) {
    .vds-rental__location { flex-basis: 100%; }
    .vds-rental__location-media { aspect-ratio: 2; }
    .vds-rental__title { font-size: 2rem; }
    .vds-rental__cta .vds-rental__title { font-size: 2.6rem; }
}


/* Jeden lub dwa obiekty pozostają wyśrodkowane, w czytelnym rozmiarze. */
@media (min-width: 1101px) {
    .vds-rental__location:only-child { flex: 0 1 26rem; }
    .vds-rental__location:first-child:nth-last-child(2),
    .vds-rental__location:first-child:nth-last-child(2) + .vds-rental__location { flex: 0 1 30rem; }
}

/* Siedem wypożyczalni: 4 + 3, bez rozciągania ostatniej karty. */
.vds-rental__locations-grid:has(> :nth-child(7):last-child) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    max-width: 90rem;
}

.vds-rental__locations-grid:has(> :nth-child(7):last-child)
    > .vds-rental__location {
    flex: 0 0 calc((100% - 3rem) / 4);
    min-width: 0;
    max-width: none;
}

.vds-rental__locations-grid:has(> :nth-child(7):last-child)
    .vds-rental__location-media {
    width: 100%;
    aspect-ratio: 1.55;
    overflow: hidden;
}

.vds-rental__locations-grid:has(> :nth-child(7):last-child)
    .vds-rental__location-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tablet: dwie kolumny, ostatnia karta na środku. */
@media (max-width: 1100px) {
    .vds-rental__locations-grid:has(> :nth-child(7):last-child)
        > .vds-rental__location {
        flex-basis: calc((100% - 1rem) / 2);
    }
}

/* Telefon: jedna kolumna. */
@media (max-width: 480px) {
    .vds-rental__locations-grid:has(> :nth-child(7):last-child)
        > .vds-rental__location {
        flex-basis: 100%;
    }
}