.route_cards {
    overflow: hidden;
    padding: 50px 0;
    width: 100%;
}
.rc-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.rc-card {
    background: #FFFFFF;
    width: calc(100% / 3 - 20px);
    padding: 30px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    position: relative;
    border: 1px solid #4A1DFF;
    border-radius: 30px;
    min-width: 290px;
}
.route-text {
    font-style: italic;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    color: #838383;
    margin-bottom: 5px;
}
.route-title {
    font-family: var(--wp--preset--font-family--fira-sans);
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: rgba(74, 29, 255, 1);
    margin-bottom: 47px;
}
.route-type_cargo {
    font-family: var(--wp--preset--font-family--fira-sans);
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    color: #04004C;
    margin-bottom: 20px;
}
.rc-card table {
    border-collapse: collapse;
    width: 100%; 
}
.rc-card table td {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
    color: #1C1C1C;
    border-bottom: 2px solid #F2F2F2;
    vertical-align: middle;
    padding: 2px;
}
.rc-card table tr td:last-child {
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
    text-align: right;
    color: #262A36;
}

.rc-cards-table {
    position: relative;
    box-shadow: 0px 4px 50px rgb(48 52 59 / 15%);
    -webkit-box-shadow: 0px 4px 50px rgb(48 52 59 / 15%);
    -webkit-box-flex: 1;
}
.rc-cards-table table {
    width: 100%;
    border-collapse: collapse;  
}
.rc-cards-table table td, .rc-cards-table table th {
    vertical-align: middle;
    padding: 15px 15px 15px 20px;
    text-align: center;
}
.rc-cards-table table td {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
}
.rc-cards-table table th {
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.05em;
    color: #FFFFFF;
}
.rc-cards-table table tr td:first-child, .rc-cards-table table tr th:first-child {
    text-align: left;
}
.rc-cards-table table tbody tr td:not(:last-child) {
    border-right: 2px solid #f7f7f7;
}
.rc-cards-table table tbody tr:nth-child(even) {
    background-color: #f3f4f5;
}
.rc-cards-table table thead tr {
    background-color: #000;
}
.rc-cards-table table tbody tr:hover td {
    color: #fff;
    background-color: gray;
}
.rc-cards-table table tbody tr td:last-child {
    white-space: nowrap;
}
.show-all-bg {
    display: block;
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 59px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(81.25%, #fff));
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 81.25%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 81.25%);
}
.show-all {
    color: #fff;
    display: inline-block;
    padding: 15px;
    background-color: #000;
    cursor: pointer;
    position: absolute;
    bottom: -22px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
    line-height: 1;
    z-index: 1;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.show-all:hover {
    background-color: gray;
}

.rc-container-fluid, .rc-container{
    max-width:100%;
    padding:0 15px;margin:0 auto;display:-webkit-box;
    display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;
    -webkit-justify-content:start;-ms-flex-pack:start;justify-content:start;-webkit-box-sizing:border-box;box-sizing:border-box
}
.order-route {
    color: #fff;
    display: inline-block;
    background-color: #4A1DFF;
    cursor: pointer;
    text-align: center;
    font-family: var(--wp--preset--font-family--fira-sans);
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    border-radius: 50px;
    height: 50px;
    width: 174px;
    line-height: 50px;
}

.rc-cards-table figcaption {
    background: #f1f1f1;
    color: #000;
    text-align: right;
    padding: 5px 40px 5px 5px;
    font-size: 14px;
    letter-spacing: 0.1em;
    font-style: italic;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.route_card__form-wrap, .route_card__form-overlay {
    display: none;
}
.route_card__form-overlay {
    background-color: rgb(119, 119, 119);
    opacity: 0.7;
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 111111;
}
.route_card__form-wrap {
    width: 100%;
    max-width: 500px;
    background: #fff;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 111112;
    padding: 30px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.route_card__form-wrap input:not([type="submit"]){
    margin-bottom: 15px;
}
.route_card__form-wrap input[type="submit"]{
    color: #fff;
    display: inline-block;
    padding: 10px;
    background-color: #000;
    cursor: pointer;
    text-align: center;
    line-height: 1;
    z-index: 1;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 0px;
    margin-bottom: 15px;
}
.route_card__form-wrap input[type="submit"]:hover, .order-route:hover {
    background-color: #E9FF7A;
    color: #04004C;
}
.route_card__form-close {
    position: absolute;
    right: 0px;
    top: 0px;
    display: block;
    width: 25px;
    height: 25px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    cursor: pointer;
    font-size: 42px;
    line-height: 25px;
}

.rc-card__bottom {
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}

.rc-card__price {
    font-family: var(--wp--preset--font-family--fira-sans);
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    color: #04004C;
}

.rc-card ul {
    padding-left: 15px;
}
.rc-card ul li {
    font-family: var(--wp--preset--font-family--fira-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 28.8px;
    color: rgba(4, 0, 76, 0.6);
    margin-bottom: 30px;
}
.rc-card ul li::marker {
    color: #4A1DFF;
}


@media(max-width: 599px){
    .rc-card {
        width: 100%;
    }
    
    .rc-card__price {
        font-size: 12px;
    }
    .rc-card__bottom {
        line-height: 1;
    }
    .order-route {
        width: 120px;
        font-size: 12px;
    }
}