/* Hotele i apartamenty na stronie głównej. */
.vds-home-hotels {
    --hotels-ink: #071630;
    --hotels-muted: #56627a;
    --hotels-accent: #ed1b2f;
    --hotels-surface: #f5f8fb;

    position: relative;
    z-index: 3;
    overflow: hidden;
    background: var(--hotels-surface);
    color: var(--hotels-ink);
    font-family: var(--vds-font-family);
}

.vds-home-hotels,
.vds-home-hotels * {
    box-sizing: border-box;
}

.vds-home-hotels__intro {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    align-items: stretch;
    min-height: clamp(480px, 38vw, 650px);
    background: #fff;
}

.vds-home-hotels__copy {
    align-self: center;
    min-width: 0;
    padding: clamp(70px, 7vw, 120px) clamp(36px, 5vw, 88px) clamp(64px, 6vw, 104px) clamp(28px, 7vw, 126px);
}

.vds-home-hotels__eyebrow {
    margin: 0 0 20px;
    color: #32425f;
    font-size: 11px;
    font-weight: var(--vds-medium-weight, 500);
    line-height: 1.4;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.vds-home-hotels__title {
    max-width: 13ch;
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: clamp(42px, 4vw, 70px);
    font-weight: var(--vds-heading-weight, 300);
    line-height: var(--vds-heading-line-height, 1.02);
    letter-spacing: var(--vds-heading-spacing, -0.035em);
}

.vds-home-hotels__description {
    max-width: 45ch;
    margin-top: 24px;
    color: var(--hotels-muted);
    font-size: clamp(15px, 1.08vw, 18px);
    font-weight: var(--vds-body-weight, 400);
    line-height: 1.5;
}

.vds-home-hotels__description p,
.vds-home-hotels__card-description p {
    margin: 0 0 1em;
}

.vds-home-hotels__description p:last-child,
.vds-home-hotels__card-description p:last-child {
    margin-bottom: 0;
}

.vds-home-hotels__text-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding-bottom: 8px;
    border-bottom: 1px solid #8e98a8;
    color: inherit;
    font-size: 11px;
    font-weight: var(--vds-semibold-weight, 600);
    line-height: 1.3;
    letter-spacing: .025em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease, border-color .2s ease;
}

.vds-home-hotels__text-link > [aria-hidden] {
    font-size: 18px;
    line-height: 1;
}

.vds-home-hotels__text-link:hover {
    border-color: var(--hotels-accent);
    color: var(--hotels-accent);
}

.vds-home-hotels__hero-media {
    position: relative;
    min-height: inherit;
    overflow: hidden;
    background: #dce4ea;
    clip-path: polygon(18% 8%, 100% 0, 100% 100%, 0 94%);
}

.vds-home-hotels__hero-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.vds-home-hotels__listing {
    width: min(100%, 1720px);
    margin: 0 auto;
    padding: clamp(54px, 5vw, 90px) clamp(24px, 4.5vw, 82px) clamp(90px, 8vw, 140px);
}

.vds-home-hotels__listing-header {
    width: min(100%, 920px);
    margin: 0 auto clamp(38px, 3.8vw, 62px);
    text-align: center;
}

.vds-home-hotels__listing-accent {
    display: block;
    width: 42px;
    height: 2px;
    margin: 0 auto 18px;
    background: var(--hotels-accent);
}

.vds-home-hotels__listing-title {
    margin: 0;
    color: var(--hotels-ink);
    font-family: inherit;
    font-size: clamp(34px, 3vw, 54px);
    font-weight: 400;
    line-height: var(--vds-heading-line-height, 1.05);
    letter-spacing: var(--vds-heading-spacing, -.04em);
}

.vds-home-hotels__listing-description {
    max-width: none;
    margin: 14px auto 0;
    color: var(--hotels-muted);
    font-size: clamp(15px, 1.05vw, 18px);
    font-weight: var(--vds-body-weight, 400);
    line-height: 1.55;
    white-space: nowrap;
}

.vds-home-hotels__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 1.5vw, 28px);
}

.vds-home-hotels__card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 35px rgba(7, 22, 48, .045);
}

.vds-home-hotels__card-media {
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #dce4ea;
}

.vds-home-hotels__card-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

.vds-home-hotels__card:hover .vds-home-hotels__card-image {
    transform: scale(1.035);
}

.vds-home-hotels__card-body {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
}

.vds-home-hotels__location {
    margin: 0 0 10px;
    color: #33425f;
    font-size: 10px;
    font-weight: var(--vds-medium-weight, 500);
    line-height: 1.3;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.vds-home-hotels__card-title {
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: clamp(20px, 1.4vw, 27px);
    font-weight: var(--vds-body-weight, 400);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.vds-home-hotels__card-title::after {
    display: block;
    width: 24px;
    height: 2px;
    margin-top: 10px;
    background: var(--hotels-accent);
    content: "";
}

.vds-home-hotels__stars {
    display: inline;
    font-size: .62em;
    font-weight: var(--vds-bold-weight, 700);
    letter-spacing: .08em;
    vertical-align: .18em;
    white-space: nowrap;
}

.vds-home-hotels__card-description {
    width: calc(100% - 58px);
    max-width: none;
    margin-top: 10px;
    padding-right: 0;
    padding-bottom: 0;
    color: var(--hotels-muted);
    font-size: clamp(13px, .92vw, 16px);
    font-weight: var(--vds-body-weight, 400);
    line-height: 1.45;
}

.vds-home-hotels__card-link {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    color: inherit;
    text-decoration: none;
}

.vds-home-hotels__card-link::before {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    content: "";
    transform: scale(.6);
    transition: background-color .2s ease, transform .2s ease;
}

.vds-home-hotels__card-link > span {
    position: absolute;
    z-index: 1;
    right: 15px;
    bottom: 15px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    font-size: 20px;
    line-height: 1;
    transform: translateY(-1px);
}

.vds-home-hotels__card:hover .vds-home-hotels__card-link::before,
.vds-home-hotels__card-link:focus-visible::before {
    background: rgba(237, 27, 47, .1);
    transform: scale(1.2);
}

.vds-home-hotels__footer {
    display: flex;
    justify-content: center;
    margin-top: clamp(34px, 3.2vw, 54px);
}

.vds-home-hotels__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 54px;
    padding: 14px 28px;
    border: 1px solid var(--hotels-accent);
    border-radius: 2px;
    background: transparent;
    color: var(--hotels-accent);
    font-size: 11px;
    font-weight: var(--vds-semibold-weight, 600);
    line-height: 1.2;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}

.vds-home-hotels__button > [aria-hidden] {
    font-size: 18px;
    line-height: 1;
}

.vds-home-hotels__button:hover {
    background: var(--hotels-accent);
    color: #fff;
}

.vds-home-hotels__text-link:focus-visible,
.vds-home-hotels__card-link:focus-visible,
.vds-home-hotels__button:focus-visible {
    outline: 2px solid var(--hotels-accent);
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .vds-home-hotels__intro {
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    }

    .vds-home-hotels__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .vds-home-hotels__intro {
        grid-template-columns: minmax(0, 1fr);
    }

    .vds-home-hotels__copy {
        padding: 64px 7vw 44px;
    }

    .vds-home-hotels__title {
        max-width: 15ch;
        font-size: clamp(40px, 8vw, 58px);
    }

    .vds-home-hotels__hero-media {
        min-height: 420px;
        clip-path: polygon(13% 5%, 100% 0, 100% 100%, 0 92%);
    }

    .vds-home-hotels__listing-description {
        white-space: normal;
    }
}

@media (max-width: 700px) {
    .vds-home-hotels__hero-media {
        min-height: 320px;
    }

    .vds-home-hotels__listing {
        padding-right: 18px;
        padding-left: 18px;
    }

    .vds-home-hotels__listing-header {
        margin-bottom: 34px;
        padding: 0 8px;
    }

    .vds-home-hotels__listing-title {
        font-size: clamp(31px, 9vw, 42px);
    }

    .vds-home-hotels__listing-description {
        font-size: 15px;
    }

    .vds-home-hotels__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vds-home-hotels__card-title {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vds-home-hotels__card-image,
    .vds-home-hotels__card-link::before,
    .vds-home-hotels__text-link,
    .vds-home-hotels__button {
        transition: none;
    }
}
