/* ===== Стили детальной страницы предложения конгресс-центра (congress.new) ===== */

.entity-detail {
    background-color: #fff;
    padding: 30px;
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: 50px;
    margin-bottom: 65px;
}

.entity-detail__photos {
    min-width: 0;
    position: relative;
}

.entity-detail__photos .swiper-entity {
    margin-bottom: 6px;
    position: relative;
}

.entity-detail__photos .swiper-entity a {
    display: block;
}

.entity-detail__photos .swiper-entity a img {
    display: block;
    width: 100%;
    aspect-ratio: 694 / 420;
    object-fit: cover;
    object-position: center;
}

.entity-detail__tags {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    background: #E8F5EE;
    color: #00945E;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
}

.entity-detail__name {
    font-family: Lora, Georgia, serif;
    font-size: clamp(18px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 28px;
    color: #1a1a1a;
}

.entity-detail__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    border-top: 1px #E8E8E8 solid;
    padding-top: 25px;
}

.entity-detail__left {
    columns: 2;
}

.entity-detail__right {
    background-color: #F1FDF6;
    padding: 30px;
    border-radius: 6px;
}

.entity-detail__right .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
    height: 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 24px;
    text-decoration: none;
    box-sizing: border-box;
}

.button_primary {
    background: #00945E;
    color: #fff;
    border: 1px solid #00945E;
    transition: background .2s, border-color .2s;
}
.button_primary:hover {
    background: #007a4a;
    color: #fff;
}

.button_hollow {
    background: transparent;
    color: #00945E;
    border: 1px solid #00945E;
    transition: background .2s, color .2s;
}
.button_hollow:hover {
    background: #00945E;
    color: #fff;
}

.entity-detail__param {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
    break-inside: avoid;
}

.entity-detail__param strong {
    display: block;
    margin-bottom: 2px;
    color: #222;
}

.entity-detail__params {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 25px;
    border-collapse: collapse;
}

.entity-detail__params td:first-child {
    padding-right: 12px;
    font-weight: 700;
    color: #444;
    white-space: nowrap;
}

.entity-detail__params td:last-child {
    color: #222;
}

.entity-detail__params tr:not(:last-child) td {
    padding-bottom: 14px;
}

.entity-detail__hl1 {
    font-weight: 700;
    color: #00945E;
    font-size: 17px;
}

.entity-detail__hl2 {
    font-weight: 700;
    color: #000;
    text-decoration: none;
}
.entity-detail__hl2:hover {
    color: #00945E;
    text-decoration: underline;
}

.entity-detail__text2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    column-span: all;
    margin-top: 15px;
}

.entity-detail__text2 p + ul {
    margin-top: -0.2em;
    padding-left: 0;
    list-style: none;
}

.entity-detail__text2 ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 7px;
}

.entity-detail__text2 ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 6px;
    background-color: #00945E;
}

/* Thumbs */
.swiper-entity-thumbs .swiper-slide {
    width: 79px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
}

.swiper-entity-thumbs .swiper-slide:not(.swiper-slide-thumb-active) {
    opacity: 0.45;
}

.swiper-entity-thumbs .swiper-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 79 / 50;
    object-fit: cover;
}

/* Стрелки навигации */
.entity-detail .swiper-entity__prev,
.entity-detail .swiper-entity__next {
    position: absolute;
    border: none;
    color: #ffffffd0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    font-size: 40px;
    line-height: 48px;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s, background .2s;
}

.entity-detail__photos:hover .swiper-entity__prev,
.entity-detail__photos:hover .swiper-entity__next {
    opacity: 1;
}

.entity-detail .swiper-entity__prev:hover,
.entity-detail .swiper-entity__next:hover {
    background: rgba(0, 148, 94, 0.8);
    color: #fff;
}

.entity-detail .swiper-entity__next {
    right: 15px;
}
.entity-detail .swiper-entity__prev {
    left: 15px;
}

/* Контакты под шапкой */
.block-contacts {
    background: #E8F5EE;
    border-radius: 6px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}
.block-contacts__title {
    font-size: 15px;
    font-weight: 700;
    color: #00945E;
    white-space: nowrap;
}
.block-contacts__items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 25px;
}
.block-contacts__item {
    color: #222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s;
}
.block-contacts__item:hover {
    color: #00945E;
}

/* Описание зала (инфоблок 5) */
.infoblock5 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #fff;
    padding: 40px;
    border-radius: 6px;
    margin-top: 40px;
}
.infoblock5__title {
    font-family: Lora, Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #1a1a1a;
}
.infoblock5__text-content {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}
.table1 {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Open Sans', sans-serif;
}
.table1 th {
    background: #00945E;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    text-align: left;
}
.table1 td {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #E8E8E8;
}
.table1 tr:nth-child(even) td {
    background: #F9FDFB;
}

/* Что входит в стоимость (infoblock 4) */
.infoblock4__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: #fff;
    padding: 40px;
    border-radius: 6px;
}
.infoblock4__title {
    font-family: Lora, Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #1a1a1a;
}
.infoblock4__text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.infoblock4__text ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}
.infoblock4__text ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 7px;
    background-color: #00945E;
}
.infoblock4__photo img {
    width: 100%;
    border-radius: 6px;
    display: block;
    object-fit: cover;
}

/* Форматы мероприятий (services) */
.services_1 {
    padding: 50px 0;
    background: #f7faf8;
}
.services-title {
    font-family: Lora, Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 35px;
    color: #1a1a1a;
}
.services-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.services-item {
    background: #fff;
    border-radius: 8px;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform .2s, box-shadow .2s;
}
.services-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 148, 94, 0.12);
}
.services-item-img {
    width: 54px;
    height: 54px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 18px;
}
.services-item__inner-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.35;
}

/* Дополнительные услуги (infoblock2) */
.infoblock2 {
    padding: 40px 0;
}
.infoblock2__inner {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    border-radius: 8px;
    overflow: hidden;
}
.infoblock2__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.infoblock2__data {
    background-color: #00945E;
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.infoblock2__title {
    font-family: Lora, Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 35px;
    color: #fff;
}
.infoblock2__list1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.infoblock2__list1 li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
}
.infoblock2__list1 img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Форма в карточке */
.about-section {
    padding: 50px 0;
}
.about-form_1 {
    background: #00945E;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
}
.about-form_1 .about-form__title {
    padding: 60px 50px;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: Lora, Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}
.about-form_1 .about-form__form {
    background: #fff;
    padding: 50px;
}
.about-form_1 .about-form__form h2 {
    font-family: Lora, Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 25px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .entity-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .entity-detail__left {
        columns: 1;
    }
    .services-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .infoblock5,
    .infoblock4__inner,
    .infoblock2__inner,
    .about-form_1 {
        grid-template-columns: 1fr;
    }
    .infoblock2__data,
    .about-form_1 .about-form__title,
    .about-form_1 .about-form__form {
        padding: 30px 20px;
    }
    .entity-detail__cols {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }
    .infoblock5__title,
    .infoblock4__title,
    .tour3d-block__title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-title {
        font-size: 26px;
    }
    .infoblock2__list1 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== 3D-тур зала ===== */
.new-wrapper1_3d {
    padding: 40px 0;
}

.tour3d-block {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
}

.tour3d-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 30px;
    border-bottom: 1px solid #e8e8e8;
    flex-wrap: wrap;
}

.tour3d-block__title {
    font-family: Lora, Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0;
}

.tour3d-block__btn-out {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #00945E;
    text-decoration: none;
    border: 1.5px solid #00945E;
    border-radius: 24px;
    padding: 8px 18px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

.tour3d-block__btn-out:hover {
    background: #00945E;
    color: #fff;
    text-decoration: none !important;
}

.tour3d-block__frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    min-height: 380px;
    background: #111;
}

.tour3d-block__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .tour3d-block__frame-wrap {
        aspect-ratio: 4 / 3;
        min-height: 260px;
    }
    .tour3d-block__header {
        padding: 16px 20px;
    }
    .tour3d-block__title {
        font-size: 20px;
    }
}
