.panels-section {
    padding-bottom: 96px;
    padding-top: 96px;
}
.panels-section h3 {
    margin-bottom: 64px;
}
.panels-section.no-padding-top {
    padding-top: 0px;
}
.panels-section.no-padding-bottom {
    padding-bottom: 0px;
}
.panels-section.half-padding-top {
    padding-top: 48px;
}
.panels-section.half-padding-bottom {
    padding-bottom: 48px;
}
.panels-section.one-fourth-padding-top {
    padding-top: 24px;
}
.panels-section.one-fourth-padding-bottom {
    padding-bottom: 24px;
}
.panels-section.panel-split-head-body-template .list-of-panels {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: var(--spacing-s-8) var(--spacing-s-10);
    align-self: stretch;
    flex-wrap: wrap;
}

/** Template: Split Head & Body - Heading on Left, Image on Right; Content on the Body **/
.panels-section.panel-split-head-body-template .list-of-panels .panel  {
    display: flex;
    flex: 0 0 calc(50% - 40px); 
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--corner-radius-m);
    border: 1px solid var(--color-palette-tertiary-light-purple);
    align-self: stretch;
}
.panels-section.panel-split-head-body-template .list-of-panels .panel .head {
    display: flex;
    width: 100%;
    border-radius: var(--corner-radius-m) var(--corner-radius-m) 0 0; 
    padding: 0px var(--spacing-s-4);
    align-items: center;
    gap: var(--spacing-s-4);
    background: var(--color-palette-tertiary-lightest-purple);
    justify-content: space-between;
}
.panels-section.panel-split-head-body-template .list-of-panels .panel .body {
    display: flex;
    width: 100%;
    padding: var(--spacing-s-4);
    justify-content: center;
    align-items: center;
    border-radius: 0 0 var(--corner-radius-m) var(--corner-radius-m) ; 

    gap: var(--spacing-s-4);
    background: var(--color-palette-secondary-white);
}
.panels-section.panel-split-head-body-template .list-of-panels .panel .head .heading-image {
    display: flex;
    min-height: 200px;
    flex-direction: column;
}
.panels-section.panel-split-head-body-template .list-of-panels .panel .head .heading-image.top {
    justify-content: flex-start;
}
.panels-section.panel-split-head-body-template .list-of-panels .panel .head .heading-image.bottom {
    justify-content: flex-end;
}
.panels-section.panel-split-head-body-template .list-of-panels .panel .head .heading-image.center {
    justify-content: center;
}
/** Template: Purple Background Layout - Content on Left, Image on Right **/
.panels-section.panel-purple-bg-layout-template  .list-of-panels {
    display: flex;
    align-items: center;
    gap: var(--spacing-s-5, 40px);
}
.panels-section.panel-purple-bg-layout-template  .list-of-panels .panel  {
    display: flex;
    padding-left: var(--spacing-s-5);
    align-items: center;
    gap: var(--spacing-s-1);
    flex: 1 0 0;
    border-radius: var(--corner-radius-m);
    background-color: var(--color-palette-tertiary-lightest-purple, #F9F5FF);
    background-image: url('/wp-content/themes/seofx/assets/img/blocks/general/panel/overlay.png');
    background-repeat: no-repeat;
    background-position: bottom right;
    width: 100%;
}
.panels-section.panel-purple-bg-layout-template .panel .content p:last-child {
    margin-bottom: 0px;
}
.panels-section.panel-purple-bg-layout-template .panel .body {
    display: flex;
    width: 100%;
}
.panels-section.panel-purple-bg-layout-template .panel .body .content {
    gap: var(--spacing-s-1, 8px);
    flex-direction: column;
    display: flex;
    justify-content: center;
    flex: 1;
    padding-top: 16px;
    padding-bottom: 16px;
}
.panels-section.panel-purple-bg-layout-template .panel .body .content * {
    margin-bottom: 0px;
}
.panels-section.panel-purple-bg-layout-template .panel .image {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}
.panels-section.panel-purple-bg-layout-template .panel .image img {
    border-bottom-right-radius: var(--corner-radius-m);
}
@media screen and (max-width: 1021px) {
    .panels-section.panel-split-head-body-template .list-of-panels {
        flex-direction: column;
    }
    .panels-section.panel-purple-bg-layout-template .list-of-panels {
        flex-direction: column;
    }
}

@media screen and (max-width: 500px) {
    .panels-section.panel-split-head-body-template .list-of-panels .panel .head {
        flex-direction: column;
        min-height: auto;
        flex-direction: column;
        gap: 8px;
        padding-top: 16px;
    }
    .panels-section.panel-split-head-body-template .list-of-panels .panel .head .heading-image {
        min-height: auto;
    }
    .panels-section.panel-split-head-body-template .list-of-panels .panel .head .heading-image.center {
        padding-bottom: 16px;
    }
    .panels-section.panel-purple-bg-layout-template .panel .body {
        flex-direction: column;
    }
    .panels-section.panel-purple-bg-layout-template .list-of-panels .panel {
        padding-left: 16px;
        padding-right: 16px;
    }
    .panels-section.panel-purple-bg-layout-template .panel .body .content h3 a {
        font-size: 23px!important;
        line-height: 27px!important;
        align-items: center;    
    }
    .panels-section.panel-purple-bg-layout-template .panel .body .content h3 a img {
        width: 25px;
    }
}