/* 2-column row with lists */
.widget-row:has(.styles1005) {
    margin: 3rem 0 6rem;
}
.widget-row:has(.styles1005) .widget-width--50:first-child {
    border-right: 1px solid var(--dark-grey);
}
.widget-row:has(.styles1005) .widget-width--50 div.styles1005 {
    display: flex;
}
.widget-row:has(.styles1005) .widget-width--50:first-child div.styles1005 {
    padding-right: 5rem;
    justify-content: flex-end;
}
.widget-row:has(.styles1005) .widget-width--50:last-child div.styles1005 {
    padding-left: 5rem;
}
.widget-row:has(.styles1005) div.styles1005 ul li {
    margin: 1em 0;
}
.widget-row:has(.styles1005) div.styles1005 .editor ul li::before, 
.widget-row:has(.styles1005) div.styles1005 .editor ul .list__item::before, 
.widget-row:has(.styles1005) div.styles1005 .list--unordered li::before, 
.widget-row:has(.styles1005) div.styles1005 .list--unordered .list__item::before {
    content: "✓";
    position: absolute;
    top: 0rem;
    left: -1.75rem;
    width: .5rem;
    height: .5rem;
    background-color: transparent;
    display: block;
    color: var(--smbc-green);
    font-weight: 700;
}
@media (max-width: 1024px) {
    .widget-row:has(.styles1005) .widget-width--50:first-child div.styles1005 {
        padding-right: 2rem;
    }
    .widget-row:has(.styles1005) .widget-width--50:last-child div.styles1005 {
        padding-left: 2rem;
    }
}
@media (max-width: 768px) {
    .widget-row:has(.styles1005) {
        margin: 1rem 3rem 3rem;
    }
    .widget-row:has(.styles1005) .widget-width--50:first-child {
        border-right: none;
    }
    .widget-row:has(.styles1005) .widget-width--50:first-child {
        border-bottom: 1px solid var(--smbc-green);
    }
    .widget-row:has(.styles1005) .widget-width--50:first-child div.styles1005 {
        padding-bottom: 3rem;
        justify-content: center;
    }
    .widget-row:has(.styles1005) .widget-width--50:last-child div.styles1005 {
        padding-top: 1rem;
        justify-content: center;
    }
}
@media (max-width: 420px) {
    .widget-row:has(.styles1005) {
        margin: 1rem 1rem 3rem;
    }
    .widget-row:has(.styles1005) .widget-width--50:first-child div.styles1005 {
        padding-right: 0rem;
    }
    .widget-row:has(.styles1005) .widget-width--50:last-child div.styles1005 {
        padding-left: 0rem;
    }
}
div.styles1002 {
    background-color: #2e6e43;
    padding: 2rem;
}
.widget-row:has(.styles1001) .styles1002 a, 
.widget-row:has(.styles1001) .styles1002 a:visited {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--resilience);
}
div.styles1001 {
    background-color: #e95444;
    padding: 2rem;
}
.widget-row:has(.styles1001) {
    display: flex;
    align-items: stretch;
}
.widget-row:has(.styles1001) > .widget-width {
    display: flex;
    flex-direction: column;
}
.widget-row:has(.styles1001) > .widget-width > * {
    flex-grow: 1;
}
.widget-row:has(.styles1001) > .widget-width:first-child .widget {
    align-content:center;
}
.widget-row:has(.styles1001) .widget-width--30 .widget-content {
    height: 100%;
}
.widget-row:has(.styles1001) .widget-width--30 .widget-content .editor {
    display: flex;
    flex-direction: column;
    height: 85%;
}
/*.widget-row:has(.styles1001) .widget__heading {
    color: var(--dark-grey);
}*/
.widget-row:has(.styles1001) .widget-width--30 .widget__heading {
    font-size: 1rem;
    color: var(--white);
}
.widget-row:has(.styles1001) h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-top: 0;
}
.widget-row:has(.styles1001) p {
    font-size: 1rem;
    color: var(--white);
}
.widget-row:has(.styles1001) .widget-width--30 .editor > p:nth-child(3) {
    margin-top: auto;
    padding-bottom: 0.5rem;
}
.widget-row:has(.styles1001) a, 
.widget-row:has(.styles1001) a:visited {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--crisis);
    font-size: 1rem;
    margin-top: 1rem;
}
div.styles1004 {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.25)), url('https://www.sandwell.gov.uk/images/get_help_early.png');
    background-size: cover;
    background-position: centre;
    background-repeat: no-repeat;
    background-color: var(--dark-grey);
    padding: 4rem 2rem;
}
.widget-row:has(.styles1004) div.styles1004 .widget__heading,
.widget-row:has(.styles1004) div.styles1004 p {
    color: var(--white);
    text-shadow: 
    0 0 4px rgba(255, 255, 255, 0.4),
    0 0 8px rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
    .widget-row:has(.styles1004) div.styles1004 .widget__heading {
        font-size: 1.75rem;
    }
}
@media (max-width: 420px) {
    div.styles1004 {
        background-position: center top;
        padding: 2rem;
    }
    .widget-row:has(.styles1004) div.styles1004 .widget__heading {
        font-size: 1.5rem;
    }
}
.widget-row:has(.stylesXXXX) {
    margin-bottom: 0;
}
div.styles1003 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://www.sandwell.gov.uk/images/need_help_background_1.png');
    background-size: cover;
    background-position: centre;
    background-repeat: no-repeat;
    background-color: var(--dark-grey);
    padding: 2rem;
}
.widget-row:has(.styles1001) div.styles1003 .widget__heading {
    color:  var(--white);
    text-shadow: 
    0 0 4px rgba(255, 255, 255, 0.4),
    0 0 8px rgba(255, 255, 255, 0.2);
}
@media (max-width: 1024px) {
    div.styles1003 {
        background-image: none;
        background-color: transparent;
        padding: 0rem;
    }
   .widget-row:has(.styles1001) div.styles1003 .widget__heading {
        color: var(--smbc-green);
    }    
    .widget-row:has(.styles1001) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 1rem;
    }
    .widget-row:has(.styles1001) > .widget-width {
        min-width: 0;
        width: auto;
        max-width: 100%;
        flex: unset;
    }
    .widget-row:has(.styles1001) > .widget-width:nth-child(1) {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .widget-row:has(.styles1001) > .widget-width:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    .widget-row:has(.styles1001) > .widget-width:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }
    .widget-row:has(.styles1001) > .widget-width:nth-child(2) > *,
    .widget-row:has(.styles1001) > .widget-width:nth-child(3) > * {
        flex: 1;
    }
}
@media (max-width: 768px) {
    .widget-row:has(.styles1003) .widget-width {
        margin-bottom: 0;
    }
    .widget-row:has(.styles1001) > .widget-width:nth-child(2) {
        height: 100%;
    }
}
@media (max-width: 420px) {
        .widget-row h2 {
        font-size: 1.5rem;
    }
    .widget-row:has(.styles1001) {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .widget-row:has(.styles1001) > .widget-width {
        width: 100%;
        max-width: 100%;
        flex: unset;
    }
}
