#tabs {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 70px 16px 112px;
    position: relative;
}

.tabs_obertka {
    position: relative;
    z-index: 3;
}

.tabs_card {
    border-radius: 16px;
    background: linear-gradient(249deg, #f4f4f4d9 0%, #F5F5F5 85.7%);
    padding: 8px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
    max-width: 880px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

body.dark .tabs_card {
    background: url(../assets/paper_black.jpg);
}

.open .tabs_card {
    box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px 0px rgba(0, 0, 0, 0.30);
    cursor: unset;
}

.tabs_card_border {
    padding: 3px;
    background: linear-gradient(180deg, #4D4336 0%, #714A27 63.5%, #AA8E75 79%, #5E5548 98.5%);
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

body.dark .tabs_card_border {
    background: #877751;
}

.tabs_card_body {
    background: linear-gradient(249deg, #f4f4f4 0%, #F5F5F5 85.7%);
    width: 100%;
    height: 100%;
    border-radius: 12px;
    padding: 22px;
    max-height: 82px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

body.dark .tabs_card_body {
    background: url(../assets/paper_black.jpg);
}

.open .tabs_card_body {
    max-height: 500px;
}

.open .tabs_title {
    color: #aa0909;
}

body.dark .open .tabs_title {
    color: #BD9C49;
}

.tabs_card_body:after {
    content: "";
    position: absolute;
    bottom: 4px;
    height: calc(100% - 10px);
    left: 4px;
    border: 1px dotted #997759;
    border-radius: 11px;
    width: calc(100% - 10px);
    pointer-events: none;
}

.tabs_title_block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    gap: 16px;
}

.tabs_text {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.arrow_tabs {
    transition: all 0.3s ease;
    display: block;
    width: 20px;
    min-width: 20px;
    height: 20px;
}

.open .arrow_tabs {
    transform: rotate(180deg);
}

.open .arrow_tabs svg path {
    stroke: #aa0909;
}

body.dark .arrow_tabs svg path {
    stroke: #E7E7E7;
}

body.dark .open .arrow_tabs svg path {
    stroke: #BD9C49;
}

.tabs_title {
    font-family: "Evolventa Bold";
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.128px;
    transition: all 0.3s ease;
}

.tabs_text p {
    font-size: 16px;
    line-height: 24px;
}

.tabs_text a {
    text-decoration: underline;
}

.tabs_block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

