
.ot-program-scroll {
    width: 100%;
    overflow-x: auto;
}

.ot-program-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

.ot-program-table th,
.ot-program-table td {
    padding: 18px 20px;
    border: 1px solid #dfe8f0;
    vertical-align: top;
    text-align: left;
}

.ot-program-table thead th {
    background: #edf5fb;
    color: #173c59;
    font-weight: 700;
}

.ot-program-table thead th:first-child {
    width: 105px;
}

.ot-program-table thead th:nth-child(2) {
    width: 175px;
}

.ot-program-number {
    color: #17628f;
    white-space: nowrap;
}

.ot-program-region {
    color: #244c6b;
    overflow-wrap: anywhere;
}

.ot-program-empty {
    color: #94a3b8;
}

.ot-program-description {
    overflow-wrap: anywhere;
}

.ot-program-description h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #173c59;
}

.ot-program-content {
    line-height: 1.7;
}

.ot-program-content img {
    max-width: 100%;
    height: auto;
}

.ot-program-meta {
    margin: 12px 0 0;
    color: #526476;
}

@media (max-width: 700px) {
    .ot-program-table,
    .ot-program-table tbody,
    .ot-program-table tr,
    .ot-program-table td,
    .ot-program-table th {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .ot-program-table thead {
        display: none;
    }

    .ot-program-table tr {
        margin-bottom: 16px;
        border: 1px solid #dfe8f0;
        border-radius: 12px;
        overflow: hidden;
    }

    .ot-program-table th,
    .ot-program-table td {
        border: 0;
        padding: 14px 16px;
    }

    .ot-program-number {
        background: #edf5fb;
        white-space: normal;
    }

    .ot-program-region {
        border-bottom: 1px solid #dfe8f0 !important;
    }

    .ot-program-region::before {
        content: "Регион / город";
        display: block;
        margin-bottom: 5px;
        color: #718294;
        font-size: 12px;
        font-weight: 500;
    }
}


/* OBLAKATRAVEL_PROGRAM_REGIONS_V1 */

.ot-program-table {
    border-collapse: collapse;
}

.ot-program-table tbody tr:hover td {
    background-color: #f8fbfe;
}

.ot-program-number {
    vertical-align: top;
    background: #f3f8fc;
}

.ot-program-region-name {
    color: #17628f;
    font-weight: 600;
}

.ot-program-scroll:focus-visible {
    outline: 3px solid #17628f;
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .ot-program-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ot-program-table {
        display: table;
        width: 100%;
        min-width: 640px;
        table-layout: fixed;
    }

    .ot-program-table thead {
        display: table-header-group;
    }

    .ot-program-table tbody {
        display: table-row-group;
    }

    .ot-program-table tr {
        display: table-row;
        width: auto;
        border: 0;
    }

    .ot-program-table th,
    .ot-program-table td {
        display: table-cell;
        width: auto;
        padding: 12px;
        border: 1px solid #dfe8f0;
        border-radius: 0;
    }

    .ot-program-table thead th:first-child {
        width: 90px;
    }

    .ot-program-table thead th:nth-child(2) {
        width: 145px;
    }

    .ot-program-region::before {
        content: none;
    }
}


/* OBLAKATRAVEL_REGION_BUTTON_V1 */

.ot-program-region {
    text-align: center;
    vertical-align: middle;
}

.ot-program-region-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    padding: 10px 18px;
    border: 1px solid #91bdd9;
    border-radius: 6px;
    background: #f7fbfe;
    color: #17628f;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.ot-program-region-link:hover {
    background: #e7f3fc;
    border-color: #17628f;
    color: #104d76;
    text-decoration: none;
}

.ot-program-region-link:focus-visible {
    outline: 3px solid #17628f;
    outline-offset: 3px;
}

.ot-program-region-link span {
    font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
    .ot-program-region-link {
        transition: none;
    }
}


/* OBLAKATRAVEL_REGION_CENTER_V2 */

.ot-program-table td.ot-program-region {
    text-align: center;
    vertical-align: middle;
}

.ot-program-region-link {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ot-program-region-name {
    display: block;
    text-align: center;
}

@media (max-width: 700px) {
    .ot-program-table td.ot-program-region {
        text-align: center;
        vertical-align: middle;
    }

    .ot-program-region-link {
        margin-inline: auto;
    }
}


/* OBLAKATRAVEL_MULTI_REGIONS_CENTER_V1 */

.ot-program-region-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.ot-program-region-list .ot-program-region-link {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ot-program-region-list .ot-program-region-name {
    display: block;
    text-align: center;
}


/* OBLAKATRAVEL_ALL_REGIONS_FRAME_V1 */

.ot-program-region-list > .ot-program-region-link,
.ot-program-region-list > .ot-program-region-name {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 36px;
    margin: 0 auto;
    padding: 8px 14px;
    border: 1px solid #78a9d7;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    line-height: 1.35;
}

.ot-program-region-list > .ot-program-region-name {
    color: inherit;
    cursor: default;
}

.ot-program-region-list > .ot-program-region-link:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}
