.text-white > .boxesContent .boxesContentHead .boxesContentSmall,
.text-white > .boxesContent .boxesContentHead h3,
.text-white > .boxesContent .boxesContentHead p { color:var(--light-font-color); }
.text-white > .boxesContent .boxesContentExtra * { color:var(--light-font-color); }

.text-body-alt > .boxesContent .boxesContentHead .boxesContentSmall,
.text-body-alt > .boxesContent .boxesContentHead h3,
.text-body-alt > .boxesContent .boxesContentHead p { color:var(--light-font-color2); }
.text-body-alt > .boxesContent .boxesContentExtra * { color:var(--light-font-color2); }

.boxesContent { position: relative; }
.boxesContent:before, .boxesContent:after {
    content: "";
    position: absolute; inset: auto 0 calc((var(--block-spacing-regular) / -2) - 1px) 0;
    height: 2px;
}
.boxesContent:before {
    background: #1c2b3833;
}
.boxesContent:after {
    background: #1c2b38;
    width: 38%;
}

.boxesContentHead{margin-bottom:30px;}
.boxesContentSmall{display:block;color:var(--black-clr);opacity:.4;font-size:18px;font-weight:600;text-transform:uppercase;letter-spacing:0.15em;margin-bottom:15px;}
.boxesContentHead h3{color:var(--head-font-color);font-size:var(--fs-24);font-weight:400;padding:0;}
.boxesContentHead h3:not(:last-child){padding-bottom:15px;}
.boxesContentHead p{color:var(--body-font-color);opacity:.75;font-size:16px;}
.boxesContentHead p:last-child{padding-bottom:0;}

.boxesContentBox{border-radius:20px;padding:20px 20px;height:100%;}
.boxesContentBoxTitle:not(:last-child){padding-bottom:15px;}
.boxesContentBoxText p{margin:0;padding:0;}
.boxesContentBoxText p:not(:last-child){margin-bottom:10px;}

/* Filled - gray background, dark text (e.g. Credentials) */
.boxesContentGrid-filled .boxesContentBox{background:#f5f4f1;}
.boxesContentGrid-filled .boxesContentBoxTitle{color:var(--head-font-color);}
.boxesContentGrid-filled .boxesContentBoxText{color:var(--body-font-color);}

/* Outline - bordered box, no fill (e.g. Clinical Interests) */
.boxesContentGrid-outline .boxesContentBox{background:transparent;border:1px solid #e2e0da;}
.boxesContentGrid-outline .boxesContentBoxTitle{color:var(--head-font-color);}
.boxesContentGrid-outline .boxesContentBoxText{color:var(--body-font-color);opacity:.75;}

.boxesContentGrid + .boxesContentExtra{margin-top:40px;}
.boxesContentExtra p{color:var(--body-font-color);opacity:.75;font-size:16px;}
.boxesContentExtra p:last-child{padding-bottom:0;}
.boxesContentExtra *{color:var(--body-font-color);}

@media(min-width:568px){ .boxesContentHead h3{font-size:var(--fs-26);} }
@media(min-width:992px){ .boxesContentHead h3{font-size:var(--fs-28);} }
@media(min-width:1600px){ .boxesContentHead h3{font-size:var(--fs-30);} }


@media(min-width:992px){ 
    .sidebarSectionText .boxesContent .boxesContentGrid .row { --bs-gutter-y: 10px; --bs-gutter-x: 10px; }
    .sidebarSectionText .boxesContent .boxesContentGrid .boxesContentBox {padding: 15px 15px;}
    .sidebarSectionText .boxesContent .boxesContentGrid .boxesContentBox p { font-size: 14px; }
}
@media(min-width:1200px){ 
    .sidebarSectionText .boxesContent .boxesContentGrid .row { --bs-gutter-y: 15px; --bs-gutter-x: 15px; }
    .sidebarSectionText .boxesContent .boxesContentGrid .boxesContentBox {padding: 20px 20px;}
    .sidebarSectionText .boxesContent .boxesContentGrid .boxesContentBox p { font-size: 15px; }
}
@media(min-width:1600px){ 
    .sidebarSectionText .boxesContent .boxesContentGrid .row { --bs-gutter-y: 20px; --bs-gutter-x: 20px; }
    .sidebarSectionText .boxesContent .boxesContentGrid .boxesContentBox {padding: 25px 25px;}
    .sidebarSectionText .boxesContent .boxesContentGrid .boxesContentBox p { font-size: 16px; }
}
