
/* OBLAKATRAVEL — оформление категорий туров */

.ot-category-page .ot-category-intro {
    max-width: 1100px;
    margin-bottom: 28px;
}

.ot-category-page .ot-category-intro h1 {
    margin-bottom: 0;
}

.ot-category-description {
    max-width: 1100px;
    margin-bottom: 48px;
    color: #40536b;
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.ot-category-description > :first-child {
    margin-top: 0;
}

.ot-category-description > :last-child {
    margin-bottom: 0;
}

.ot-category-description img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.ot-category-description a {
    color: #2784d7;
    text-underline-offset: 3px;
}

.ot-category-description table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.ot-category-country {
    margin-bottom: 58px;
}

.ot-category-country__title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 26px;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.3;
}

.ot-category-country__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dce7f2;
}

.ot-category-page .ot-card {
    min-width: 0;
}

.ot-category-page .ot-card-link {
    display: flex;
    flex-direction: column;
}

.ot-category-page .ot-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.ot-category-page .ot-card h3 {
    margin: 12px 0;
    font-family: "Onest", Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.ot-category-page .ot-card-bottom {
    margin-top: auto;
    padding-top: 24px;
}

.ot-category-page .ot-card-link:focus-visible {
    outline: 3px solid #2784d7;
    outline-offset: -4px;
    border-radius: 22px;
}

.ot-category-empty {
    padding: 64px 32px;
    border: 1px solid #e2edf7;
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.ot-category-empty h2 {
    margin: 0 0 14px;
    font-size: clamp(21px, 2.5vw, 28px);
}

.ot-category-empty p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .ot-category-description {
        margin-bottom: 36px;
        font-size: 15px;
    }

    .ot-category-country {
        margin-bottom: 40px;
    }

    .ot-category-country__title {
        gap: 12px;
        margin-bottom: 20px;
    }

    .ot-category-page .ot-card h3 {
        font-size: 18px;
    }

    .ot-category-empty {
        padding: 40px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ot-category-page .ot-card,
    .ot-category-page .ot-card-photo img {
        transition: none;
    }
}
