:root {
    --oyu-crest: url("/images/main/default/shablon6/ornament-crest.webp");
    --oyu-gold: #a18a56;
    --oyu-rule: #ded3b8;
    --oyu-paper: #fcfaf4;
}

/* Slightly larger type for the Kazakh ornament invitation only. */
.firstname { font-size: 42px; }
.toiinfolar { font-size: 26px; }
.toiinfolar span,
.toiinfolar2 span { font-size: 30px; }
.toiabout { font-size: 38px; }
.toiieleri { font-size: 30px; }
.toiinfolar2 { font-size: 24px; }
.toi5,
.kurmetti-zhakynym { font-size: 22px; }
.dopinfo,
.owners-text { font-size: 24px; }
.blok6title { font-size: 26px; }
.blok7title,
.blok8title { font-size: 28px; }

.toiinf-blok {
    margin: 36px 16px 0;
    border: 1px solid var(--oyu-rule);
    border-radius: 28px 28px 18px 18px;
    background: linear-gradient(180deg, #f8f3e6, var(--oyu-paper) 20%, var(--oyu-paper) 88%, #f8f3e6);
    box-shadow: inset 0 0 0 5px var(--oyu-paper), inset 0 0 0 6px #e9e1cf,
        0 10px 26px rgba(65, 53, 34, 0.07);
}

.toiinf-blok .toiinfolar {
    padding: 32px 12px 32px;
    background: none;
}

.toiinf-blok .toiinfolar::before {
    content: "";
    display: block;
    width: min(92%, 310px);
    height: 56px;
    margin: 0 auto 12px;
    background: var(--oyu-crest) center / contain no-repeat;
}

.toiinf-blok .toiinfolar2 {
    background: none;
    padding-bottom: 38px;
}

.toiinf-blok .toiinfolar2::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    margin: 28px auto 0;
    border: 1px solid var(--oyu-gold);
    transform: rotate(45deg);
}

.vectorline,
.vectorline2,
.vector1,
.vector2,
.vector3,
.vector5,
.vector6,
.vector8 {
    position: relative;
    height: 12px;
    width: min(65%, 190px);
    background: linear-gradient(90deg, transparent, var(--oyu-rule) 30%, var(--oyu-rule) 70%, transparent)
        center / 100% 1px no-repeat;
}

.vectorline::before,
.vectorline2::before,
.vector1::before,
.vector2::before,
.vector3::before,
.vector5::before,
.vector6::before,
.vector8::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 8px;
    height: 8px;
    margin: auto;
    border: 1px solid var(--oyu-gold);
    background: var(--oyu-paper);
    transform: rotate(45deg);
}

.sitecontainer .blok-6-inblok2 {
    background: none;
    padding-bottom: 30px;
}

.sitecontainer .blok-6-inblok2::after {
    content: "";
    display: block;
    width: min(86%, 186px);
    height: 42px;
    margin: 26px auto 0;
    background: var(--oyu-crest) center / contain no-repeat;
}

body .presentfortilek {
    height: auto;
    min-height: 116px;
    padding: 16px 20px 48px;
    text-align: center;
    border: 1px solid var(--oyu-rule);
    border-radius: 16px;
    background: var(--oyu-crest) center bottom 12px / 126px auto no-repeat, var(--oyu-paper);
    background-size: 126px auto, auto !important;
}

@media (max-width: 360px) {
    .toiinf-blok {
        margin-inline: 8px;
    }

    .toiinf-blok .timer__item {
        min-width: 0;
    }
}
