.icon-08-support g path{
	stroke-width: 20 !important;
}
 
.primary-color-fill{fill: var(--wp--preset--color--primary);}
.secondary-color-fill{fill: var(--wp--preset--color--secondary);}
.tertiary-color-fill{fill: var(--wp--preset--color--tertiary);}
.black-color-fill{fill: var(--wp--preset--color--black);}
.white-color-fill{fill: var(--wp--preset--color--white);}
 
 
.icon-08-support .primary-color-fill g path,
.icon-07-in-action .primary-color-fill g path{
	stroke: var(--wp--preset--color--primary) !important;
}
.icon-08-support .secondary-color-fill g path,
.icon-07-in-action .secondary-color-fill g path{
	stroke: var(--wp--preset--color--secondary) !important;
}
.icon-08-support .tertiary-color-fill g path,
.icon-07-in-action .tertiary-color-fill g path{
	stroke: var(--wp--preset--color--tertiary) !important;
}
.icon-08-support .black-color-fill g path,
.icon-07-in-action .black-color-fill g path{
	stroke: var(--wp--preset--color--black) !important;
}
.icon-08-support .white-color-fill g path,
.icon-07-in-action .white-color-fill g path{
	stroke: var(--wp--preset--color--white) !important;
}
 
 
.home-boxes-outer {
    background: #cececf; /* Get color from json, only turn on if option checked */
}
 
.home-boxes {
	display: flex;
	flex-wrap: wrap;
    gap: 1em;
    text-align: center;
	max-width: 1320px;
	margin: auto;
    padding-top: 1em;
    justify-content: space-evenly;
}
 
.home-box {
    flex: 1;
    flex-basis: 50%;
	max-width: 178px;
    min-width: 150px;
	padding: 1em;
}
 
.home-box > div a {
    display: grid;
    justify-content: center;
}
 
.home-box p {
    padding: 0 1em;
}
 
.small-size-icon {
	width: 48px;
	height: auto;
}
.medium-size-icon {
	width: 64px;
	height: auto;
}
.large-size-icon {
	width: 128px;
	height: auto;
}
.has-circle-background {
    background-color: lightgrey;
    border-radius: 100%;
    width: fit-content;
    margin: auto;
}
.has-circle-background:has(.small-size-icon) {
    padding: 20px;
}
.has-circle-background:has(.medium-size-icon) {
    padding: 25px;
}
.has-circle-background:has(.large-size-icon) {
    padding: 30px;
}
 
 
body.bg-primary, 
body.title-bg-primary .wp-block-post-title,
body.title-bg-primary .wp-block-query-title, 
.home-boxes-outer.bg-primary, 
.home-boxes-outer.icon-bg-primary .has-circle-background {background-color: var(--wp--preset--color--primary);}
body.bg-secondary, 
body.title-bg-secondary .wp-block-post-title, 
body.title-bg-secondary .wp-block-query-title, 
.home-boxes-outer.bg-secondary, 
.home-boxes-outer.icon-bg-secondary .has-circle-background {background-color: var(--wp--preset--color--secondary);}
body.bg-tertiary, 
body.title-bg-tertiary .wp-block-post-title, 
body.title-bg-tertiary .wp-block-query-title, 
.home-boxes-outer.bg-tertiary, 
.home-boxes-outer.icon-bg-tertiary .has-circle-background {background-color: var(--wp--preset--color--tertiary);}
body.bg-black, 
body.title-bg-black .wp-block-post-title, 
body.title-bg-black .wp-block-query-title, 
.home-boxes-outer.bg-black, 
.home-boxes-outer.icon-bg-black .has-circle-background {background-color: var(--wp--preset--color--black);}
body.bg-white, 
body.title-bg-white .wp-block-post-title, 
body.title-bg-white .wp-block-query-title, 
.home-boxes-outer.bg-white, 
.home-boxes-outer.icon-bg-white .has-circle-background {background-color: var(--wp--preset--color--white);}
 
.home-boxes-outer.title-text-primary a {color: var(--wp--preset--color--primary);}
.home-boxes-outer.title-text-secondary a {color: var(--wp--preset--color--secondary);}
.home-boxes-outer.title-text-tertiary a {color: var(--wp--preset--color--tertiary);}
body.text-black, 
body.title-text-black .wp-block-post-title, 
body.title-text-black .wp-block-query-title,
.home-boxes-outer.title-text-black a, 
.home-boxes-outer.text-black {color: var(--wp--preset--color--black);}
body.text-white, 
body.title-text-white .wp-block-post-title, 
body.title-text-white .wp-block-query-title,
.home-boxes-outer.title-text-white a, 
.home-boxes-outer.text-white {color: var(--wp--preset--color--white);}
 
/* Mobile: icon left, title + paragraph stacked on the right */
@media screen and (max-width: 565px) {
    .home-boxes {
        text-align: left;
    }
 
    .home-box {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        max-width: unset;
        flex-basis: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
 
    /* Icon spans both rows */
    .home-box > div:first-child {
        grid-column: 1;
        grid-row: 1 / 3;
        margin-right: 1em;
    }
 
    .has-circle-background {
        margin: 0;
    }
 
    /* Title link sits on row 1 */
    .home-box > a {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
    }
 
    /* Paragraph sits on row 2 */
    .home-box > p {
        grid-column: 2;
        grid-row: 2;
        padding: 0;
        align-self: start;
    }
}
 
@media screen and (min-width: 566px) {
    .home-box {
        max-width: 200px;
        min-width: unset;
        flex-basis: auto;
    }
}