.blocks-section,
.text-blocks-section {
    & .flexed {
        display: block;
        & > div:first-child {
            margin-bottom: 1.5em;
            @media screen and (min-width: 1024px) {
                margin-bottom: 0;
            }
        }
        @media screen and (min-width: 1024px) {
            display: flex;
        }
    }
}
.left-text-section ul:has(li:nth-of-type(8)),
.right-text-section ul:has(li:nth-of-type(8)) {
    columns: 2;
    padding-left: 1em;
    @media screen and (min-width: 1300px){
        columns: 3;
    }
}
.page-section:not(.blue-bg) h2 {
    color: var(--green);
}
.divider {
    aspect-ratio: 3/1;
    position: relative;
    overflow: hidden;
}
.divider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    @media screen and (min-width: 1024px){
        background-attachment: fixed;
    }
}
.divider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
}
.text-section .container {
    max-width: 1100px;
}

.section-photo {
    line-height: 0;
    & > img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }
    &:not(.flexed-vertical-center) img,
    &:not(.flexed-vertical-start) img {
        object-fit: cover;
        object-postion: center;
        block-size: 100%;
        inline-size: 100%;
    }
}

.section-text > *:last-child {
    margin-bottom: 0;
}

.services-section {
    & .flexed {
        display: block;
        margin-bottom: 1.5em;
        @media screen and (min-width: 600px) {
            display: flex;
        }
    }
    & .service {
        border-radius: 10px;
        box-shadow: 0 0 10px #a1a1a1;
        padding: 20px;
        /*background: radial-gradient(circle, rgba(84, 125, 207, 1) 0%, rgba(57, 87, 167, 1) 100%);
        color: #fff;*/
        &.flex-30 {
            flex-basis: 45%;
            margin-bottom: 1em;
            @media screen and (min-width: 900px) {
                flex-basis: 30%;
                margin-bottom: 0;
            }
            @media screen and (min-width: 1150px) {
                flex-basis: 17%;
            }
        }
        & .service-icon {
            color: #FFF;
            margin-bottom: 10px;
            background-color: var(--green);
            width: 50px;
            height: 50px;
            padding: 10px;
            text-align: center;
            margin-inline: auto;
            border-radius: 50%;
            aspect-ratio: 1;
        }
        & .service-text h3 {
            font-size: 1.125rem;
            text-wrap: pretty;
        }
        & .service-text p {
            font-size: 1rem;
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
}


.accordion-section .container {
    max-width: 1100px;
}
.accordion-section .accordion-item {
    padding-bottom: 1.5em;
    margin-bottom: 1.5em;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    & details summary::-webkit-details-marker {
      display:none;
    }
    & summary.accordion-title {
        position: relative;
        display: block;
        cursor: pointer;
    }
    & summary.accordion-title h3 {
        font-size: clamp(1.25rem, .3704vw + 1.1759rem, 1.5rem);
        margin-bottom: 0;
        padding-right: 45px;
    }
    & summary.accordion-title:after {
        content: '\f107';
        font-family: 'Font Awesome 6 Pro';
        position: absolute;
        right: 0;
        top: 0;
        line-height: 1;
        font-size: 1.25rem;
        background-color: var(--green);
        color: #FFF;
        aspect-ratio: 1;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid #fff;
    }
    & details[open] summary.accordion-title:after {
        content: '\f106';
    }
    & details.accordion .accordion-content {
        padding: 2em 0 0.5em 0;
        @media screen and (min-width: 900px) {
            padding-right: 55px;
        }
    }
}