/* Единое оформление сворачиваемых блоков для всех разделов сайта. */
.abia-collapse-details {
    margin: 12px 0;
    border: 1px solid var(--color, #458d42);
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}
.abia-collapse-details > .abia-collapse-summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 7px 12px;
    color: var(--color, #458d42);
    background: var(--color-section-bg, #f5faf5);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.abia-collapse-details > .abia-collapse-summary::-webkit-details-marker { display: none; }
/* Фиксированный кружок 20×20 и центрированная SVG-стрелка. */
.abia-collapse-details > .abia-collapse-summary::before {
    content: '';
    display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .7;
}
.abia-collapse-details > .abia-collapse-summary::after {
    content: '';
    position: absolute;
    left: 16px; /* 12px внутреннего отступа + 4px внутри кружка */
    top: 50%;
    display: block;
    width: 12px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 7l6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 7l6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translateY(-50%);
    transition: transform .15s ease;
    pointer-events: none;
}
.abia-collapse-details[open] > .abia-collapse-summary::after {
    transform: translateY(-50%) rotate(180deg);
}
.abia-collapse-details > .abia-collapse-summary:hover {
    color: var(--color-hover, var(--color, #458d42));
}
.abia-collapse-details > .abia-collapse-summary:focus-visible {
    outline: 2px solid var(--color, #458d42);
    outline-offset: -3px;
}
.abia-collapse-details > .abia-collapse-body { padding: 12px 14px; }
.abia-collapse-details > .abia-collapse-body > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
    .abia-collapse-details > .abia-collapse-summary { padding: 7px 12px; }
    .abia-collapse-details > .abia-collapse-body { padding: 12px 14px; }
}
