.cp-tour-card {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    height: 450px;
    margin-inline: auto;
}

.cp-tour-card__link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    transition: box-shadow 0.3s ease;
}

.cp-tour-card__link:hover {
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.14);
}

.cp-tour-card__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
}


.cp-tour-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cp-tour-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
}


.cp-tour-card__crown {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255 / 50%);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    backdrop-filter: blur(6px);
    font-family: var(--font-montserrat);
}

.cp-tour-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.62);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    backdrop-filter: blur(6px);
    font-family: var(--font-montserrat);
}


.cp-tour-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -35px;
    z-index: 5;
    padding: 22px 20px 20px;
    color: #fff;
    transition: transform 0.45s ease;
}

.cp-tour-card__body::before {
    content: "";
    position: absolute;
    left: -20px;
    right: -20px;
    bottom: -20px;
    top: -55px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(        
        to top, 
        rgba(0, 0, 0, 1) 0%,         
        rgba(0, 0, 0, 1) 30%,         
        rgba(0, 0, 0, .5) 70%,         
        rgba(0, 0, 0, 0) 100%    
    );
    transition:
        top 0.45s ease,
        opacity 0.35s ease;
}

.cp-tour-card__link:hover .cp-tour-card__body {
    transform: translateY(-10px);
}

.cp-tour-card__link:hover .cp-tour-card__body::before {
    top: -120px;
}

.cp-tour-card__destinations {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-montserrat);
    color: #fff;
}

.cp-tour-card__destinations-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1;
}

.cp-tour-card__destinations-text {
    min-width: 0;
}

.cp-tour-card__title-box {
    padding-bottom: 5px;
    border-bottom: 1px solid #fff;
}


.cp-tour-card__title {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    font-family: var(--font-lato);
    color: #fff;
    transition: transform 0.45s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    max-width: 45ch;
}

.cp-tour-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-top: 3px;
    flex-wrap: wrap;
}

.cp-tour-card__duration {
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-montserrat);
    color: #fff;
}

.cp-tour-card__price {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    font-family: var(--font-lato);
    color: #fff;
    line-height: 1;
}

.cp-tour-card__price-currency {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    position: relative;
    top: 2px;
}

.cp-tour-card__price-number {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.cp-tour-card__price strong {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.cp-tour-card__excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    transform: translateY(12px);
    transition:
        opacity 0.35s ease,
        max-height 0.45s ease,
        transform 0.45s ease,
        margin-top 0.35s ease;
    font-family: var(--font-montserrat);
}

.cp-tour-card__button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 0 16px;
    min-height: 0;
    border-radius: 12px;
    background: #fff;
    color: #006da8;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    font-family: var(--font-montserrat);
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(12px);
    transition:
        opacity 0.35s ease,
        max-height 0.45s ease,
        transform 0.45s ease,
        margin-top 0.35s ease,
        padding 0.35s ease;
}

.cp-tour-card__link:hover .cp-tour-card__body {
    transform: translateY(-10px);
}

.cp-tour-card__link:hover .cp-tour-card__excerpt {
    margin-top: 12px;
    opacity: 1;
    max-height: 48px;
    transform: translateY(0);
}

.cp-tour-card__link:hover .cp-tour-card__button {
    margin: 12px 0;
    padding: 12px 16px;
    min-height: 44px;
    opacity: 1;
    max-height: 60px;
    transform: translateY(0);
}

@media (max-width: 768px) {

    .cp-tour-card {
        max-width: 300px;
        height: 430px;
    }


    .cp-tour-card__title {
        font-size: 18px;
    }

    .cp-tour-card__price strong {
        font-size: 20px;
    }
}


@media (max-width: 480px) {
    .cp-tour-card {
        max-width: 100%;
        height: 420px;
    }
}