/* =====================
   ACCORDION
===================== */

.block-accordion {
    width: 100%;
    margin: 0 0 48px;
}

.accordion-block-heading {
    margin: 0 0 24px;
}

.accordion-list {
    display: grid;
    gap: 16px;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Remove browser default marker */
.accordion-title::-webkit-details-marker {
    display: none;
}

.accordion-title::marker {
    display: none;
    content: '';
}

.accordion-title {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 22px 64px 22px 24px;
    font-family: 'Mariupol', Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #000000;
    background: #ffffff;
    transition: background-color 0.2s ease;
}

.accordion-title:hover {
    background-color: #fafafa;
}

.accordion-title-text {
    display: block;
}

/* Plus / minus icon */
.accordion-title::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    color: #C9A84C;
}

.accordion-item[open] .accordion-title::after {
    content: '−';
}

.accordion-item[open] .accordion-title {
    background-color: #fcfcfc;
    border-bottom: 1px solid #eeeeee;
}

.accordion-content {
    padding: 22px 24px 26px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #222222;
    background: #ffffff;
}

.accordion-content p:last-child,
.accordion-content ul:last-child,
.accordion-content ol:last-child {
    margin-bottom: 0;
}

/* Lists inside accordion */
.accordion-content ul,
.accordion-content ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.accordion-content ul {
    list-style-type: disc;
}

.accordion-content ol {
    list-style-type: decimal;
}

.accordion-content li {
    margin-bottom: 6px;
}

/* MOBILE */
@media (max-width: 768px) {
    .accordion-title {
        padding: 18px 54px 18px 18px;
        font-size: 1.15rem;
    }

    .accordion-title::after {
        right: 18px;
        font-size: 1.7rem;
    }

    .accordion-content {
        padding: 18px 18px 22px;
        font-size: 1rem;
    }
}