.railbike-card-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7px -14px;
}

.railbike-card {
    width: 33.33%;
    padding: 0 7px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.railbike-card .card-image {
    position: relative;
    padding-bottom: 78%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
}

.railbike-card .card-image img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}

.railbike-card .card-image .badge {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    text-align: center;
    display: inline-block;
    width: fit-content;
    margin: auto;
    padding: 12px 15px;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    max-width: 300px;
    width: 100%;
    z-index: 1;
    color: #1B1B1B;
}
.railbike-card .card-image .badge:before {
    content: "";
    display: block;
    background-image: url(../images/bottom-shape.svg);
    background-repeat: no-repeat;
    background-size: 100% 40px;
    background-position: center center;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
    bottom: 0;
    left: 0;
    right: 0;
}
.railbike-card .card-content {
    flex-grow: 1;
    position: relative;
    padding-bottom: 60px;
}
.railbike-card .card-content h4 {
    margin-bottom: 12px;
}

.railbike-card .card-content p {
    color: #5A6B7A;
}

.railbike-card .card-content .tour-price {
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 18px;
    color: #2A63F5;
    margin-bottom: 24px;
    border-left: 2px solid #2A63F5;
    background: linear-gradient(90deg, rgba(42, 99, 245, 0.05) 0%, rgba(42, 99, 245, 0.00) 100%);
    padding: 6px 15px;
}

.railbike-card .card-content .tour-price .label {
    font-weight: 700;
}

.button-with-price {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
}

.button-with-price .price {
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    line-height: 18px;
    color: #1B1B1B;
    margin-left: 20px;
}
.button-with-price .label span {
    font-weight: 700;
}
.railbike-section .title-section {
    max-width: 639px;
    margin-left: auto;
    margin-right: auto;
}

.railbike-section .title-section p {
    color: #637588;
}
.button-with-price .price .label {
    font-weight: 700;
}
.button-with-price .btn {
    flex-shrink: 0;
}
@media only screen and (max-width:1399px){
    
}
@media only screen and (max-width:1199px){
    
    .button-with-price .btn {
        flex-shrink: 0;
        padding: 12px 15px;
        font-size: 14px;
    }
}
@media only screen and (max-width:991px){
    .railbike-card {
        width: 50%;
    }
}
@media only screen and (max-width:767px){
   .railbike-card {
        width: 100%;
    }
    .railbike-section .container {
        padding-left: 0;
        padding-right: 0;
    }
}