

/* Start:/bitrix/components/kostomarov/greetings/templates/.default/style.css?17896414114959*/
.kf-greetings {
    padding: 104px 0 80px;
    overflow: hidden;
    background: #fff;
}

.kf-greetings__head {
    margin-bottom: 54px;
}

.kf-greetings__head h2 {
    margin: 24px 0 0;
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.kf-greetings__tabs {
    margin-bottom: 32px;
    padding: 5px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #f7f4f0;
}

.kf-greetings__tabs button {
    min-height: 78px;
    padding: 14px 22px;
    border: 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    color: var(--kf-ink);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.kf-greetings__tabs button.is-active {
    color: #fff;
    background: var(--kf-red);
}

.kf-greetings__tabs strong { font-size: 15px; }
.kf-greetings__tabs span { color: #6d6966; font-size: 14px; }
.kf-greetings__tabs button.is-active span { color: rgba(255,255,255,.76); }

.kf-greeting-card {
    border: 1px solid #ded8d2;
    border-radius: 28px;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    overflow: hidden;
    background: #fff;
}

.kf-greeting-card__person {
    min-height: 760px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    background: #f7f4f0;
}

.kf-greeting-card__photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
}

.kf-greeting-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kf-greeting-card__person h3 {
    margin: 30px 0 14px;
    font-family: 'Unbounded', sans-serif;
    font-size: 21px;
    line-height: 1.35;
    white-space: pre-line;
}

.kf-greeting-card__person p {
    margin: 0;
    color: #6d6966;
    font-size: 14px;
    line-height: 1.5;
}

.kf-greeting-card__count {
    margin-top: auto;
    color: var(--kf-red);
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
}

.kf-greeting-card__body {
    padding: 54px 58px;
}

.kf-greeting-card__body h2 {
    margin: 28px 0 30px;
    font-family: 'Unbounded', sans-serif;
    font-size: 34px;
    line-height: 1.3;
    letter-spacing: -.035em;
}

.kf-greeting-card__columns {
    columns: 2;
    column-gap: 54px;
    color: #6d6966;
    font-size: 17px;
    line-height: 1.68;
}

.kf-greeting-card__columns p {
    margin: 0 0 22px;
    break-inside: avoid;
}

.kf-greeting-card__signature {
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid #ded8d2;
    color: var(--kf-red);
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    white-space: pre-line;
}

.kf-greetings__empty {
    padding: 32px;
    border-radius: 18px;
    background: #f7f4f0;
}

@media (max-width: 900px) {
    .kf-greeting-card { grid-template-columns: 260px minmax(0, 1fr); }
    .kf-greeting-card__person { padding: 28px; }
    .kf-greeting-card__body { padding: 42px 36px; }
    .kf-greeting-card__columns { columns: 1; }
}

@media (max-width: 700px) {
    .kf-greetings { padding: 68px 0 56px; }
    .kf-greetings__head { margin-bottom: 36px; }
    .kf-greetings__head h2 {
        max-width: 340px;
        font-size: 30px;
        line-height: 1.08;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
        text-wrap: balance;
    }
    .kf-greetings__tabs {
        overflow-x: auto;
        grid-template-columns: repeat(3, minmax(230px, 1fr));
        scrollbar-width: none;
    }
    .kf-greetings__tabs::-webkit-scrollbar { display: none; }
    .kf-greeting-card { grid-template-columns: 1fr; border-radius: 22px; }
    .kf-greeting-card__person { min-height: 0; padding: 24px; }
    .kf-greeting-card__photo { max-width: 280px; }
    .kf-greeting-card__count { margin-top: 36px; }
    .kf-greeting-card__body { padding: 36px 24px; }
    .kf-greeting-card__body h2 { font-size: 28px; }
}

.kf-greeting-document { margin-top: 28px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; max-width: 380px; border: 1px solid #ded8d2; border-radius: 14px; color: var(--kf-red); background: #f7f4f0; text-decoration: none; transition: border-color .2s, background .2s; }
.kf-greeting-document[hidden] { display: none; }
.kf-greeting-document svg { flex-shrink: 0; }
.kf-greeting-document strong { display: block; font-size: 16px; line-height: 1.4; }
.kf-greeting-document small { display: block; margin-top: 4px; font-size: 13px; color: #6d6966; }
.kf-greeting-document__arrow { width: 22px; height: 22px; margin-left: auto; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kf-greeting-document:hover { border-color: var(--kf-red); background: #fff; }
.kf-greeting-document:focus-visible { outline: 2px solid var(--kf-red); outline-offset: 4px; }

/* End */
/* /bitrix/components/kostomarov/greetings/templates/.default/style.css?17896414114959 */
