/* ЖК Сегодня — стеклянные карточки правил */

.info-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 20px 0 28px;
}

.info-container .info-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    padding: 24px 26px;

    background: rgba(53, 38, 29, 0.42);
    border: 1px solid rgba(255, 235, 204, 0.46);
    border-radius: 20px;

    color: #fff6e9;
    box-shadow:
        0 12px 32px rgba(17, 11, 7, 0.19),
        inset 0 1px 0 rgba(255,255,255,0.16);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.info-container .info-card > span:first-child {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    border-radius: 14px;

    background: rgba(255, 210, 143, 0.12);
    border: 1px solid rgba(255, 220, 167, 0.25);

    font-size: 27px;
    line-height: 1;
}

.info-container .info-card > div {
    flex: 1;
    min-width: 0;
}

.info-container .info-card b,
.info-container .info-card strong {
    color: #ffdb9c;
    font-weight: 700;
}

.info-container .info-card b:first-child {
    display: inline-block;
    margin-bottom: 6px;
    font-family: 'Manrope', 'Montserrat', sans-serif;
    font-size: 19px;
    letter-spacing: -0.3px;
    line-height: 1.35;
}

@media (max-width: 700px) {
    .info-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-container .info-card {
        padding: 17px;
        gap: 13px;
        border-radius: 16px;
        font-size: 13px;
    }

    .info-container .info-card > span:first-child {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .info-container .info-card b:first-child {
        font-size: 17px;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .info-container .info-card {
        background: #35261d;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}


/* ЖК Сегодня — улучшенные иконки и заголовки */

/* Контурные иконки вместо стандартных эмодзи */
.info-container .info-card > span:first-child {
    position: relative;
    font-size: 0 !important;
    color: #f5d5a0;
}

.info-container .info-card > span:first-child::before {
    content: "";
    display: block;
    width: 29px;
    height: 29px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Иконка списка правил */
.info-container .info-card:first-child > span:first-child::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 3.5h6M9 9l1.5 1.5L13 8M9 15l1.5 1.5L13 14M15 10h1M15 16h1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 3.5h6M9 9l1.5 1.5L13 8M9 15l1.5 1.5L13 14M15 10h1M15 16h1'/%3E%3C/svg%3E");
}

/* Иконка уборки */
.info-container .info-card:nth-child(2) > span:first-child::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3l7 7M16 5L9 12M7 14l5 5M9 12l-5 5 3 3 5-5M4 17l-2 4M7 20l-1 2M12 19l1 3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3l7 7M16 5L9 12M7 14l5 5M9 12l-5 5 3 3 5-5M4 17l-2 4M7 20l-1 2M12 19l1 3'/%3E%3C/svg%3E");
}

/* Более выразительные заголовки */
.info-container .info-card b:first-child {
    font-size: 0 !important;
}

.info-container .info-card b:first-child::after {
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -0.4px;
}

.info-container .info-card:first-child b:first-child::after {
    content: "Правила бронирования";
}

.info-container .info-card:nth-child(2) b:first-child::after {
    content: "После отдыха";
}

/* Убираем слишком яркий красный у требования */
.info-container .info-card:nth-child(2) > div {
    color: #f5d3a0 !important;
}

.info-container .info-card:nth-child(2) > div * {
    color: inherit !important;
}

@media (max-width: 700px) {
    .info-container .info-card b:first-child::after {
        font-size: 17px;
    }
}


/* ЖК Сегодня — улучшение текста После отдыха */

/* Отступ между заголовком и основным текстом */
.info-container .info-card:nth-child(2) b:first-child {
    margin-bottom: 12px;
}

/* Более заметный текст требования */
.info-container .info-card:nth-child(2) > div {
    font-size: 15px;
    line-height: 1.65;
    font-weight: 600;
    color: #ffe2ae !important;
}

.info-container .info-card:nth-child(2) > div * {
    color: inherit !important;
}

@media (max-width: 700px) {
    .info-container .info-card:nth-child(2) > div {
        font-size: 14px;
    }
}


/* Акцент важных слов в правилах */
.info-container .info-card:nth-child(2) .rules-emphasis,
.info-container .info-card:nth-child(2) > div .rules-emphasis {
    color: #ffb347 !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
    text-shadow: 0 0 8px rgba(255, 179, 71, 0.25);
}


/* WhatsApp rules text and card proportions */
@media (min-width: 993px) {
    .info-container {
        grid-template-columns: minmax(0, 55fr) minmax(0, 45fr) !important;
    }
}

/* Тот же золотистый цвет, что у слова ОБЯЗАТЕЛЬНО */
.info-container .info-card:first-child .rules-emphasis {
    color: #ffb347 !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
}

/* New cleanup icon */

.info-container .info-card:nth-child(2) > span:first-child::before {
    -webkit-mask-image: url("after-rest.svg?v=1");
    mask-image: url("after-rest.svg?v=1");
    width: 34px;
    height: 34px;
}

@media (max-width: 700px) {
    .info-container .info-card:nth-child(2) > span:first-child::before {
        width: 30px;
        height: 30px;
    }
}
