/*
Theme Name: Altapoint Healthcare 2026
Theme URI: http://www.pixelwisedigital.com/
Description: Custom
Author: Pixelwise Digital
Author URI: http://www.pixelwisedigital.com/
Version: 20260318.1
*/
/* ---------------------- BREAKPOINTS ---------------------- */
/*  xx | 576+ xs | 768+ sm | 992+ md | 1200+ lg | 1600+ xl   */
/* --------------------------------------------------------- */

:root {
	/* typography */
	--font-lh: 1.2;
	--para-lh: 1.4;
	--lead-lh: 1.3;
	--lead-sz: 1.25em;
	--subh-wt: 600;
	--head-lh: 1.1;
	--h1-sz: 2em;
	--h2-sz: 1.75em;
	--h3-sz: 1.5em;
	--h4-sz: 1.35em;
	--h5-sz: 1.15em;
	--h6-sz: .85em;
	--h1-wt: 800;
	--h2-wt: 700;
	--h3-wt: 700;
	--h4-wt: 700;
	--h5-wt: 700;
	--h6-wt: 700;
	--sm-sz: 85%;
	--sub-sz: 75%;
	--b-wt: 700;

	/* buttons */
	--btn-pad: .75em 1.5em;
	--btn-sm-pad: .5em 1em;
	--btn-lg-pad: var(--btn-pad);
	--btn-sz: 1rem;
	--btn-sm-sz: .85em;
	--btn-lg-sz: 1.15em;

	/* borders */
	--shadow-divider-ht: 20px;
	--field-bdr-wd: var(--bdr-wd);
	--field-bdr: var(--cw-bdr);

	/* structure */
	--adminbar-height: 0px;
	--logo-height: 50px;
	--header-height: 70px;
	--header-shadow: 0 0 20px rgba(0,0,0,.2);
	--cols: 1;
	--sec-vpad: 50px;
	--row-vpad: 50px;
	--sec-rowgap: 30px;
	--row-rowgap: 30px;
	--col-rowgap: 30px;
	--row-colgap: 20px;
	--col-colgap: 20px;
	--hpad: 20px;
	--box-vpad: 30px;
	--box-hpad: 30px;
	--gap: 20px;
}

@media (min-width: 768px) {
	:root {
		--h1-sz: 2.5em;
		--h2-sz: 2em;
		--h3-sz: 1.75em;
		--h4-sz: 1.5em;
		--h5-sz: 1.25em;
		--h6-sz: 1em;
		--sec-vpad: 80px;
		--row-vpad: 50px;
		--sec-rowgap: 50px;
		--row-rowgap: 30px;
		--col-rowgap: 30px;
		--row-colgap: 30px;
		--col-colgap: 30px;
		--hpad: 30px;
		--gap: 30px;
		--shadow-divider-ht: 30px;
	}
}

@media (min-width: 992px) {
	:root {
	}
}

@media (min-width: 1200px) {
	:root {
		--h1-sz: 3em;
		--h2-sz: 2.5em;
		--h3-sz: 1.75em;
		--h4-sz: 1.5em;
		--h5-sz: 1.35em;
		--h6-sz: 1em;
		--row-colgap: 50px;
		--hpad: 50px;
		--gap: 50px;
		--shadow-divider-ht: 40px;
	}
}

@media (min-width: 1600px) {
	:root {
		--box-vpad: 40px;
		--box-hpad: 40px;
	}
}

#wpadminbar {position: fixed !important;}
body.admin-bar {--adminbar-height: 46px;}
@media (min-width: 783px) {
	body.admin-bar {--adminbar-height: 32px;}
}

html.no-scrolling {position: fixed; width: 100vw; height: 100vh; overflow: hidden;}
html.no-smooth {scroll-behavior: initial;}
body {position: relative; font-family: sans-serif;}


/*** HEADER / FOOTER ***/

a#skip {position: absolute; display: inline-block; left: 0; top: 0; width: 1px; height: 1px; text-indent: -100vw; word-wrap: normal !important; overflow: hidden; z-index: 11000;}
a#skip:focus {width: auto; height: auto; padding: 1em; background: #c00; color: #fff; text-indent: 0;}

#wrapper {position: relative; overflow: hidden; padding-top: var(--header-height);}
#header, #footer {padding: var(--sec-vpad) var(--hpad);}
#body {min-height: calc(100vh - var(--adminbar-height) - var(--header-height) * 2 - var(--sec-vpad)); padding: 0 var(--hpad); overflow: hidden;}

#header {position: fixed; left: 0; right: 0; top: var(--adminbar-height); --sec-vpad: 0; background: #fff; box-shadow: var(--header-shadow); z-index: 1000;}
#header.container {--header-shadow: 0; --hpad: 0;}
#header-container {display: flex; flex-wrap: nowrap; align-items: center; gap: var(--row-colgap); height: var(--header-height);}
#header-logo {flex-grow: 1; flex-shrink: 0;}
#header-logo img {display: block;}
#header button, #header a {color: inherit; text-decoration: none;}
#header svg {width: 40px;}

#mini-menu {display: flex; flex-shrink: 1; gap: var(--gap); height: var(--header-height); --gap: 10px; min-width: 0; --mini-bkg: var(--mini-bkg); --mini-txt: var(--mini-txt);}
#mini-menu-ul {display: none; flex-direction: row; flex-wrap: wrap-reverse; justify-content: end; gap: var(--gap);}
#mini-menu-ul > li, #mini-menu-ul > li > a {position: relative; display: flex; align-items: center; height: 100%;}
#mini-menu-ul > li > a {padding: .5em; white-space: nowrap;}
#mini-menu-ul > li > a, #mini-menu .toggle {color: var(--mini-txt);}
#mini-menu-ul > li:hover > a {--mini-bkg: var(--mini-hvr-bkg);}
#mini-menu-ul > li[class*="current"] > a {--mini-bkg: var(--mini-act-bkg);}
#mini-menu-ul > li:hover ul {display: block;}
#mini-menu .toggle {padding: 0; background: none;}
#mini-menu .toggle:hover {--mini-txt: var(--mini-hvr-bkg);}

#mini-menu-ul.text > li:hover > a {--mini-txt: var(--mini-hvr-bkg);}
#mini-menu-ul.text > li[class*="current"] > a {--mini-txt: var(--mini-act-bkg);}
#mini-menu-ul.after > li > a:after {content: ''; position: absolute; background: var(--mini-bkg);}
#mini-menu-ul.bar > li > a:after {left: 5px; right: 5px; bottom: 10px; height: 5px;}
#mini-menu-ul.arrow > li > a:after {left: 50%; bottom: 10px; transform: translateX(-50%); width: 14px; aspect-ratio: 2; clip-path: polygon(0 100%, 50% 0, 100% 100%);}
#mini-menu-ul.box > li > a {height: auto; border-radius: var(--radius); border: var(--bdr-wd) solid var(--mini-bkg);}
#mini-menu-ul.solid {--gap: .25em;}
#mini-menu-ul.solid > li > a {background: var(--mini-bkg);}
#mini-menu-ul.solid > li:hover > a {--mini-txt: var(--mini-hvr-txt);}
#mini-menu-ul.solid > li[class*="current"] > a {--mini-txt: var(--mini-act-txt);}
#mini-menu-ul.outline > li > a {border-color: var(--mini-bkg);}

#mini-menu ul ul {display: none; position: absolute; left: 0; top: 100%; min-width: 21em; padding: .5em 0; box-shadow: var(--header-shadow); clip-path: inset(0 -50px -50px -50px); background: var(--mega-bkg); color: var(--mega-txt);}
#mini-menu ul ul a {padding: .5em 1em;}
#mini-menu ul ul a:hover {background: var(--mega-hvr-bkg); color: var(--mega-hvr-txt);}

#overlay {display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(255,255,255,.95); cursor: pointer; z-index: 1000;}
#mega-menu {display: none; position: absolute; left: 0; top: 100%; right: 0; --sec-vpad: 50px; padding: 0 var(--hpad) var(--logo-height); max-height: calc(100vh - var(--adminbar-height) - var(--header-height)); overflow: hidden; overflow-y: scroll; scrollbar-width: none; -ms-overflow-style: none; box-shadow: var(--header-shadow); background: var(--mega-bkg); color: var(--mega-txt);}
#mega-menu::-webkit-scrollbar {display: none;}
#mega-container {position: relative; display: flex; flex-direction: column; gap: var(--sec-rowgap); padding: var(--sec-vpad) 0;}
#mega-menu .toggle {display: none; position: absolute; right: 0; top: calc(var(--sec-vpad) / 2); padding: 0; background: none;}
#mega-menu-ul {columns: 21em 4; column-gap: 10px; margin-top: 1em;}
#mega-menu-ul li {break-inside: avoid; overflow: hidden;}
#mega-menu-ul > li > a:only-child, #mega-menu .sub-menu {margin-bottom: 20px;}
#mega-menu-ul > li > a {font-weight: 700; text-transform: uppercase;}
#mega-menu-ul a {padding: .6em .75em; border-radius: var(--radius);}
#mega-menu-ul a:hover {background: var(--mega-hvr-bkg); color: var(--mega-hvr-txt);}
#mega-search * {--bdr-wd: 0;}

#header-contact {position: fixed; display: flex; left: 0; right: 0; bottom: 0; gap: var(--gap); --gap: 2px; text-transform: uppercase; box-shadow: var(--header-shadow);}
#header-contact, #header-contact a {background: var(--cw-btn-lnk-bkg); color: var(--cw-btn-lnk-txt);}
#header-contact a {display: flex; align-items: center; justify-content: center; gap: .5em; flex-grow: 1; flex-shrink: 0; height: 50px; padding: 0 1em;}
#header-contact a:hover {background: var(--cw-btn-hvr-bkg); color: var(--cw-btn-hvr-txt);}
#header-contact svg {width: 30px;}
#header-contact .small {font-size: 11px;}
#header-email {flex-direction: column; justify-content: center; flex-grow: 0 !important; box-shadow: var(--gap) 0 0 rgba(255,255,255,.2); gap: 0 !important;}

@media (min-width: 768px) {
	#mini-menu-ul {display: flex;}
	#mega-menu .toggle {display: block;}
	#mega-search {max-width: 50%;}
	#header-contact {position: static; flex-shrink: 0; width: auto; box-shadow: none; background: none; border-radius: var(--radius); overflow: hidden;}
}

#footer {background: var(--foot-bkg); color: var(--foot-txt);}
#footer-container {display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--gap); --gap: 40px;}
#footer-container > * {width: 100%;}
#footer a:not(.button), #footer img {display: block;}
#footer a:not(.button) {color: inherit; text-decoration: none;}
#footer a:not(.button):hover {text-decoration: underline;}
#footer .small {font-size: 13px;}
#footer .headline {font-weight: 700; text-transform: uppercase;}
#footer .gap {display: flex; flex-direction: column; gap: var(--gap); --gap: var(--col-rowgap);}
#footer .menu a {padding: .25em 0;}

#footer-logo {max-width: calc(50% - var(--gap)); width: 150px !important;}
#footer-logo img {max-height: 200px;}
#footer-menu {max-width: 50%;}
#footer-locations, #footer-trusted, #footer-meta {border-top: var(--bdr-wd) solid var(--foot-bdr); padding-top: var(--gap);}
#footer-others {padding-top: var(--gap);}

#footer-menu ul {margin-top: -.5em;}
#footer-trusted ul, #footer-legal ul {display: flex; flex-wrap: wrap; gap: 1em;}
#footer-legal {margin-bottom: -1.25em; font-size: 15px;}

#footer-location .headline {text-transform: none; font-size: 1.5em;}
#footer-location .links {gap: 1em;}
#footer-location .links a {display: flex; align-items: center; gap: 1em;}
#footer-location .links svg {content: ''; align-self: start; flex-shrink: 0; width: 24px;}
#footer-others ul {gap: .5em;}
#footer-others .city {font-weight: 700;}

@media (min-width: 576px) {
	#footer-container {display: grid; grid-template-columns: 1fr 3fr; grid-template-rows: auto auto auto; column-gap: var(--sec-vpad);}
	#footer-container > * {width: auto !important; max-width: 100%;}
	#footer-logo {grid-column-start: 1; grid-column-end: 2; grid-row-start: 1; grid-row-end: 2;}
	#footer-menu {grid-column-start: 1; grid-column-end: 2; grid-row-start: 2; grid-row-end: 3;}
	#footer-locations {grid-column-start: 2; grid-column-end: 3; grid-row-start: 1; grid-row-end: 3;}
	#footer-trusted {grid-column-start: 1; grid-column-end: 3; grid-row-start: 3; grid-row-end: 4;}
	#footer-meta {grid-column-start: 1; grid-column-end: 3; grid-row-start: 4; grid-row-end: 5;}
	#footer-locations {border: 0; padding: 0;}
}

@media (min-width: 1200px) {
	#footer-container {grid-template-columns: 2fr 3fr 3fr 3fr; grid-template-rows: auto auto; row-gap: var(--hpad);}
	#footer-logo {grid-row-start: 1; grid-row-end: 3;}
	#footer-menu {grid-column-start: 3; grid-column-end: 4; grid-row-start: 1; grid-row-end: 2;}
	#footer-trusted {grid-column-start: 4; grid-column-end: 5; grid-row-start: 1; grid-row-end: 2;}
	#footer-meta {grid-column-start: 3; grid-column-end: 5; grid-row-start: 2; grid-row-end: 3;}
	#footer-trusted {border: 0; padding: 0;}
	#footer-others, #footer-meta {border-top: var(--bdr-wd) solid var(--foot-bdr);}
	#footer-menu ul {columns: 160px 2; column-gap: 10px;}
}

@media (min-width: 1600px) {
	#footer-container {grid-template-columns: 1fr 3fr 3fr 3fr;}
}

@media (max-width: 767px) {
	#footer {padding-bottom: calc(var(--sec-vpad) + var(--logo-height));}
}

.social .facebook {--brand: #3b5998; --brand-hvr: #5276b7;}
.social .glassdoor {--brand: #0caa41; --brand-hvr: #12c759;}
.social .indeed {--brand: #2164f4; --brand-hvr: #3083fa;}
.social .instagram {--brand: #8a3ab9; --brand-hvr: #aa51d3;}
.social .linkedin {--brand: #0077b5; --brand-hvr: #0097d0;}
.social .pinterest {--brand: #cb2027; --brand-hvr: #e02e38;}
.social .twitter {--brand: #55acee; --brand-hvr: #72c8f6;}
.social .youtube {--brand: #bb0000; --brand-hvr: #d40000;}

.social {display: flex; flex-wrap: wrap; gap: .5em;}
.social a {display: flex; align-items: center; justify-content: center; width: 34px; aspect-ratio: 1; border-radius: var(--radius); border: var(--social-bdr-wd) solid var(--social-bdr); background: var(--social-bkg); color: var(--social-txt) !important;}
.social a:hover {--social-bdr: var(--social-hvr-bdr); --social-bkg: var(--social-hvr-bkg); --social-txt: var(--social-hvr-txt);}
.social svg {width: 100%;}

#back-to-top {display: none; position: fixed; right: 0; bottom: calc(var(--header-height) + var(--hpad)); flex-direction: column; align-items: center; justify-content: center; width: 40px; aspect-ratio: 1; padding: 0; border-radius: var(--radius) 0 0 var(--radius);}
#back-to-top svg {width: 20px; transform: rotate(-90deg);}
body.scrolling-up #back-to-top {display: flex;}


/*** FORMS ***/

textarea, select, input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {display: block; width: 100%; padding: .6em .75em; border: var(--field-bdr-wd) solid var(--field-bdr);}
textarea, select, input {border-radius: var(--radius);}
textarea {min-height: 100px;}

.field-group {display: flex;}
.field-group * {border-radius: 0;}
.field-group :first-child {border-radius: var(--radius) 0 0 var(--radius) !important;}
.field-group :last-child {border-radius: 0 var(--radius) var(--radius) 0;}

button:not(.reset), input[type="button"], input[type="submit"], .button {display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; cursor: pointer; gap: .5em; transition: var(--transition); border-radius: var(--radius); font-family: var(--btn-fnt); line-height: var(--font-lh); letter-spacing: var(--btn-spacing); font-size: var(--btn-sz); font-weight: var(--btn-wt); text-transform: var(--btn-case); padding: var(--btn-pad); border: var(--btn-bdr-wd) solid var(--cw-btn-lnk-bdr); background-color: var(--cw-btn-lnk-bkg); color: var(--cw-btn-lnk-txt);}
button:not(.reset):hover, input[type="button"]:hover, input[type="submit"]:hover, .button[href]:hover {--cw-btn-lnk-bdr: var(--cw-btn-hvr-bdr); --cw-btn-lnk-bkg: var(--cw-btn-hvr-bkg); --cw-btn-lnk-txt: var(--cw-btn-hvr-txt);}
.button.sm {--btn-pad: var(--btn-sm-pad); --btn-sz: var(--btn-sm-sz);}
.button.lg {--btn-pad: var(--btn-lg-pad); --btn-sz: var(--btn-lg-sz);}
a.button:not([href]) {cursor: default !important;}
button[disabled], input[type="button"][disabled], input[type="submit"][disabled], .button[disabled] {cursor: default !important; opacity: .25;}
.button svg {width: 1em;}

a[class*="arrow-"] {display: flex; gap: .5em;}
a[class*="arrow-"] svg {width: 1em; aspect-ratio: 1;}
a.arrow-left svg {transform: scaleX(-1);}

#body .gform_wrapper.gravity-theme .gform_fields {row-gap: 1.5em;}
#body .gform_wrapper.gravity-theme .gfield_label {color: var(--cw-head); padding: 0 var(--field-bdr-wd);}
#body .gform_wrapper.gravity-theme .gfield_required {font-size: inherit; font-style: normal; font-weight: 600; color: var(--cw-loud);}
#body .gform_wrapper.gravity-theme .gfield_required_text {font-size: var(--sub-sz);}
#body .gform_required_legend {font-size: var(--sm-sz); text-align: right; font-weight: 600; color: var(--cw-loud);}
#body .gform_required_legend .gfield_required_asterisk {padding: 0 .25em;}
#body .gform_wrapper.gravity-theme .ginput_complex label {padding: .25em var(--field-bdr-wd); font-size: var(--sub-sz);}


/*** TYPOGRAPHY ***/

html, body {font-family: var(--font), sans-serif; font-size: var(--font-sz); font-weight: var(--font-wt); line-height: var(--font-lh);}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {margin-top: 1.5em; font-family: var(--head-fnt); line-height: var(--head-lh);}
h1, .h1 {font-size: var(--h1-sz); font-weight: var(--h1-wt);}
h2, .h2 {font-size: var(--h2-sz); font-weight: var(--h2-wt);}
h3, .h3 {font-size: var(--h3-sz); font-weight: var(--h3-wt);}
h4, .h4 {font-size: var(--h4-sz); font-weight: var(--h4-wt);}
h5, .h5 {font-size: var(--h5-sz); font-weight: var(--h5-wt);}
h6, .h6 {font-size: var(--h6-sz); font-weight: var(--h6-wt); text-transform: uppercase;}
p {line-height: var(--para-lh);}
b, strong {font-weight: var(--b-wt);}

.headlines {display: flex; flex-direction: column; gap: var(--gap); --gap: 5px; line-height: var(--head-lh);}
.headlines .headline {margin: 0 0 .25em;}
:is(.headlines, .summary) > :first-child {margin-top: 0;}
:is(.headlines, .summary) > :last-child {margin-bottom: 0;}
.subhead {font-family: var(--subh-fnt); font-size: var(--sub-sz); font-weight: var(--subh-wt); text-transform: uppercase;}
.lead {font-family: var(--lead-fnt); font-size: var(--lead-sz); font-weight: var(--lead-wt); line-height: var(--lead-lh);}
.small {font-size: var(--sm-sz);}

.text-left {text-align: left;}
.text-center {text-align: center;}
.text-right {text-align: right;}

.case-upper {text-transform: uppercase;}
.case-lower {text-transform: lowercase;}
.case-none {text-transform: none;}


/*** TEXT ***/

.aphc_text:empty {display: none;}
:is(.aphc_text, .summary) > :first-child {margin-top: 0 !important;}
:is(.aphc_text, .summary) > :last-child {margin-bottom: 0 !important;}
:is(.aphc_text, .summary) blockquote {margin: 3em var(--hpad);}
:is(.aphc_text, .summary) :is(ul, ol):not([class]) {margin: 1.5em 0; padding-left: 1.5em;}
:is(.aphc_text, .summary) li {line-height: var(--para-lh);}

:is(ul, ol):is([class*="marker-"], [class*="cols-"], [class*="rows-"]):not(.big-numbers) {margin: 2em 0; list-style: none;}
:is(ul, ol)[class*="marker-"] li {position: relative; padding-left: 1.5em;}
:is(ul, ol)[class*="marker-"] li:before {position: absolute; left: 0; top: 0;}
:is(ul, ol)[class*="cols-"] li:first-child {margin-top: 0;}
ul.marker-arrow li:before {content: '\1F86A';}
ul.marker-checklist li:before {content: '\2714';}
ul.marker-chevron li:before {content: '\276F';}
:is(ul, ol)[class*="cols-"] {columns: 300px 3; column-gap: calc(2 * var(--row-colgap) + var(--bdr-wd));}
:is(ul, ol)[class*="cols-"] li {break-inside: avoid-column;}
:is(ul, ol).cols-rule-thin {column-rule: var(--bdr-wd) solid;}
:is(ul, ol).cols-rule-thick {column-rule: var(--bdr-thk-wd) solid;}
:is(ul, ol)[class*="rows-rule-"] li:not(:first-child):before {top: 1em;}
:is(ul, ol).rows-rule-thin li:not(:first-child) {border-top: var(--bdr-wd) solid var(--cw-bdr); padding-top: 1em;}
:is(ul, ol).rows-rule-thick li:not(:first-child) {border-top: var(--bdr-thk-wd) solid var(--cw-bdr); padding-top: 1em;}
ol.big-numbers {padding-left: 2.5em;}
ol.big-numbers li::marker {font-weight: 800; font-size: 1.25em;}
:is(ul, ol).big-text li {font-size: 1.25em; margin: .75em 0;}


/*** ROWS AND GRIDS ***/

.aphc_section, .aphc_row, :is(.aphc_section, .aphc_row) > .container, .aphc_column {display: flex; position: relative;}
.aphc_section, .aphc_section > .container, .aphc_column {flex-direction: column;}
.aphc_section.container, .aphc_section > .container {row-gap: var(--sec-rowgap);}
.aphc_row, .aphc_row > .container {flex-wrap: wrap; column-gap: var(--row-colgap); row-gap: var(--row-rowgap);}
.aphc_column {column-gap: var(--col-colgap); row-gap: var(--col-rowgap);}
:is(.aphc_section, .aphc_row) {margin-left: calc(-1 * var(--hpad)); margin-right: calc(-1 * var(--hpad)); padding: var(--vpad) var(--hpad); --vpad: var(--sec-vpad);}
:is(.aphc_section, .aphc_row):empty {display: none;}
:is(.aphc_section, .aphc_row).container {margin-left: auto; margin-right: auto;}
:is(.aphc_section, .aphc_row).container:not(.hero) {--hpad: 0;}
.aphc_section.container, .aphc_section > .container .aphc_row {margin-left: 0; margin-right: 0; --hpad: 0;}
.aphc_section .aphc_row:first-child {margin-top: 0;}
.aphc_section .aphc_row:last-child {margin-bottom: 0;}
.aphc_section .aphc_row {padding: 0;}

.background-overlay {position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--cw-bkg); opacity: .85;}

.vdivs {--vdiv-wd: var(--bdr-wd); --vdiv: var(--cw-bdr);}
.vdivs-thick {--vdiv-wd: var(--bdr-thk-wd);}
.vdivs .aphc_column:not(:first-child) {padding: var(--row-colgap) 0 0; border: solid var(--vdiv); border-width: var(--vdiv-wd) 0 0;}

.parent-grid:not([class*="grid-"]) {display: flex !important; flex-wrap: wrap; gap: 1em;}
.grid-xx-1 {display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--col-colgap);}
.grid-xx-2 {grid-template-columns: repeat(2, 1fr);}
.grid-xx-3 {grid-template-columns: repeat(3, 1fr);}
.grid-xx-4 {grid-template-columns: repeat(4, 1fr);}
.grid-xx-5 {grid-template-columns: repeat(5, 1fr);}
.grid-xx-6 {grid-template-columns: repeat(6, 1fr);}
@media (min-width: 576px) {
	.grid-xs-1 {grid-template-columns: repeat(1, 1fr);}
	.grid-xs-2 {grid-template-columns: repeat(2, 1fr);}
	.grid-xs-3 {grid-template-columns: repeat(3, 1fr);}
	.grid-xs-4 {grid-template-columns: repeat(4, 1fr);}
	.grid-xs-5 {grid-template-columns: repeat(5, 1fr);}
	.grid-xs-6 {grid-template-columns: repeat(6, 1fr);}
}
@media (min-width: 768px) {
	.vdivs .aphc_column:not(:first-child) {padding: 0 0 0 var(--row-colgap); border-width: 0 0 0 var(--vdiv-wd);}
	.grid-sm-1 {grid-template-columns: repeat(1, 1fr);}
	.grid-sm-2 {grid-template-columns: repeat(2, 1fr);}
	.grid-sm-3 {grid-template-columns: repeat(3, 1fr);}
	.grid-sm-4 {grid-template-columns: repeat(4, 1fr);}
	.grid-sm-5 {grid-template-columns: repeat(5, 1fr);}
	.grid-sm-6 {grid-template-columns: repeat(6, 1fr);}
}
@media (min-width: 992px) {
	.grid-md-1 {grid-template-columns: repeat(1, 1fr);}
	.grid-md-2 {grid-template-columns: repeat(2, 1fr);}
	.grid-md-3 {grid-template-columns: repeat(3, 1fr);}
	.grid-md-4 {grid-template-columns: repeat(4, 1fr);}
	.grid-md-5 {grid-template-columns: repeat(5, 1fr);}
	.grid-md-6 {grid-template-columns: repeat(6, 1fr);}
}
@media (min-width: 1200px) {
	.grid-lg-1 {grid-template-columns: repeat(1, 1fr);}
	.grid-lg-2 {grid-template-columns: repeat(2, 1fr);}
	.grid-lg-3 {grid-template-columns: repeat(3, 1fr);}
	.grid-lg-4 {grid-template-columns: repeat(4, 1fr);}
	.grid-lg-5 {grid-template-columns: repeat(5, 1fr);}
	.grid-lg-6 {grid-template-columns: repeat(6, 1fr);}
}
@media (min-width: 1600px) {
	.grid-xl-1 {grid-template-columns: repeat(1, 1fr);}
	.grid-xl-2 {grid-template-columns: repeat(2, 1fr);}
	.grid-xl-3 {grid-template-columns: repeat(3, 1fr);}
	.grid-xl-4 {grid-template-columns: repeat(4, 1fr);}
	.grid-xl-5 {grid-template-columns: repeat(5, 1fr);}
	.grid-xl-6 {grid-template-columns: repeat(6, 1fr);}
}


/*** BOXES ***/

.radius {border-radius: var(--radius);}

.parent-grid .box {height: 100%;}
.box, a.box {display: flex; flex-direction: column; align-items: stretch; transition: var(--transition); text-decoration: none;}
.box, .box .head, .box img {position: relative; top: 0; border-radius: var(--radius);}
/*.box .head {background: rgba(0,0,0,.1);}*/
.box .head:empty {display: none;}
.box:not(.slide, .tile) .head:not(:only-child), .box:not(.slide, .tile) .head:not(:only-child) img {border-radius: var(--radius) var(--radius) 0 0;}
.box img {height: auto;}
.box .icon {position: absolute; left: 0; top: 0; font-size: 4rem; padding: .25em; z-index: 3;}
.box:not(.default, .border) img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover;}
.box .body {display: flex; flex-direction: column; gap: var(--gap); --gap: 20px; padding: var(--box-vpad) var(--box-hpad);}
.box :is(.body, .summary) {flex-grow: 1;}
.box .headline:not(.h1, .h2, .h3, .h4, .h5, .h6) {font-size: var(--h5-sz); font-weight: var(--h5-wt);}
.box .caption {font-size: var(--sm-sz); padding: .5em; opacity: .5;}
.box .more {display: flex; gap: var(--gap); --gap: .5em; align-items: center; justify-content: end; font-size: var(--sm-sz); font-weight: 600; line-height: 1;}
.box .more svg {width: 1em; transition: var(--transition);}
.box:not([href]) .foot {display: none;}
.box[href]:hover .more svg {transform: translateX(25%);}
.box .links {display: flex; flex-wrap: wrap; gap: var(--gap); --gap: .5em; padding-top: calc(var(--box-vpad) / 2);}
.box .links .button {--fsz: var(--btn-sm-sz); --btn-pad: var(--btn-sm-pad);}
.box .foot:empty {display: none;}

.box.default .head, .box.default .head img {border-radius: var(--radius);}
.box:is(.default, .border) img {margin: 0 auto;}
.box.default div:is(.body, .summary) {flex-grow: 0;}
.box.default :is(.body, .foot) {--box-vpad: 15px; --box-hpad: 5px;}
.box.default .body:first-child, .box.default .body:first-child + .foot {--box-hpad: 0;}
.box:is(.default, .border) .body:only-child {--box-vpad: 0; --box-hpad: 0;}
.box:is(.default, .border) .foot {padding: 0 var(--box-hpad) calc(var(--box-vpad) / 2);}
.box:not(.border) {--bdr-wd: 0;}
.box.border.thick {--bdr-wd: var(--bdr-thk-wd);}

:is(.card, .author) .head {aspect-ratio: 4 / 3;}
.card .caption {padding: .75em 1em;}
.card .foot {padding: 0 var(--box-hpad) calc(var(--box-vpad) / 2);}

.author {clear: both;}
@media (min-width: 768px) {
	.author {flex-direction: row; align-items: center;}
	.author .head {flex-shrink: 0; align-self: start; width: 30%; max-width: 400px; margin: calc(var(--box-vpad) / 2) calc(var(--box-hpad) / 2); margin-right: 0;}
	.box.author .head, .box.author .head img {border-radius: var(--radius);}
}

.box.image:not(.default) .head {flex-grow: 1;}
.box.image:not(.default) img {height: 100%; object-fit: cover;}

.box.polaroid {background: #fff; border: 10px solid #fff; box-shadow: 0 0 20px rgba(0,0,0,.2);}
.polaroid .head {aspect-ratio: 1;}
.polaroid .body:not(:first-child), .polaroid .body:not(:first-child) + .foot {--box-vpad: 15px; --box-hpad: 5px;}
.polaroid .caption {padding: 10px 0 0;}
.polaroid .more {padding-top: 10px;}
.polaroid[href]:hover {top: -10px; box-shadow: 0 -5px 25px rgba(0,0,0,.3);}

.slide {grid-template-columns: minmax(auto, 500px) auto; padding: var(--box-vpad) var(--box-hpad);}
@media (max-width: 767px) {.slide {padding: calc(var(--box-vpad) / 2);}}
.box:is(.slide, .tile) {display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; }
:is(.slide, .tile):before {content: ''; opacity: .9; transition: var(--transition); z-index: 2;}
:is(.slide, .tile)[href]:hover:before {opacity: .7;}
:is(.slide, .tile):before, :is(.slide, .tile) img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: var(--radius);}
:is(.slide, .tile) .head {position: static; grid-column-start: 1; grid-column-end: 3; grid-row-start: 1; grid-row-end: 2; z-index: 1;}
:is(.slide, .tile) :is(.icon, .body, .foot) {position: relative; justify-content: end; z-index: 3; color: #fff;}
:is(.slide, .tile) .body {grid-column-start: 1; grid-column-end: 2; grid-row-start: 2; grid-row-end: 3; padding: calc(2 * var(--box-vpad)) calc(.5 * var(--box-hpad)) calc(var(--box-vpad) / 2);}
:is(.slide, .tile) .foot {grid-column-start: 2; grid-column-end: 3; grid-row-start: 2; grid-row-end: 3; display: flex; align-items: end; padding: 0 calc(.5 * var(--box-hpad)) calc(var(--box-vpad) / 2); min-width: calc(var(--box-hpad) + 1em);}
:is(.slide, .tile) :is(.headline:not[class^="headline h"], .foot) {font-size: var(--h3-sz);}
.tile {min-height: 180px;}
.tile :is(.subhead:last-child, .summary, .more span), .slide .more span {display: none;}
.tile .headlines .headline {margin-bottom: 0;}
:is(.slide, .tile) .links {padding: 0;}


/*** TOGGLES ***/

.aphc_toggles .panel > .body, .aphc_accordions {display: flex; flex-direction: column; align-items: stretch; gap: var(--gap); --gap: calc(var(--col-rowgap) / 2);}
.aphc_toggles .panel > .body {padding: 0 var(--col-rowgap) var(--col-rowgap); --gap: var(--col-rowgap);}

.aphc_accordions .accordion {border-radius: var(--radius); overflow: hidden;}
.aphc_accordions .head {margin-top: 0; font-size: var(--h4-sz); font-weight: var(--h4-wt);}
.aphc_accordions .head button {display: flex; align-items: center; justify-content: space-between; gap: var(--col-colgap); width: 100%; padding: var(--col-rowgap); text-align: left; transition: var(--transition); font-size: inherit;}
.aphc_accordions .head svg {flex-shrink: 0; align-self: start; margin-top: calc(.25em * (var(--font-lh) - .8)); width: .8em; transition: var(--transition);}
.aphc_accordions .head button:hover svg {transform: translateX(25%);}
.aphc_accordions .head button[aria-expanded="true"] svg {transform: rotate(-90deg);}
.aphc_accordions .panel > .body {padding-top: 0;}

.aphc_tabs .tablist {display: flex; flex-wrap: wrap; gap: var(--gap); --gap: 5px;}
.aphc_tabs .tablist button {border-radius: var(--radius) var(--radius) 0 0;}
.aphc_tabs .panels {border-radius: 0 var(--radius) var(--radius) var(--radius);}
.aphc_tabs .panel > .body {padding: var(--row-vpad) var(--hpad); --gap: var(--col-rowgap);}


/*** SLIDERS ***/

.splide .box {height: 100%;}
.splide--loop {--gap: var(--box-hpad);}
.splide__arrows {position: absolute; left: 0; top: 50%; width: 100%; height: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;}
button.splide__arrow {display: block !important; width: calc(var(--hpad) + 10px); max-width: 30px; --btn-pad: 5px;}
button.splide__arrow--prev {padding-left: 6px; border-top-right-radius: 0; border-bottom-right-radius: 0; transform: translate(-100%, -50%);}
button.splide__arrow--next {padding-right: 6px; border-top-left-radius: 0; border-bottom-left-radius: 0; transform: translate(100%, -50%);}
.splide__arrow svg {width: 100%;}
.splide__arrow--prev svg {transform: scaleX(-1);}
.splide .splide__pagination {margin-top: 1em; gap: .25em;}
.splide__pagination button {display: block; padding: 0; width: .6em; aspect-ratio: 1; border-radius: 50%;}

.aphc_slider.child-box-polaroid-df {margin: -40px; padding: 40px; overflow: hidden;}
.child-box-polaroid-df .splide__track {overflow: visible;}
.child-box-polaroid-df .splide:not(.moving) .splide__slide:not(.is-visible) .polaroid {box-shadow: none;}


/*** HEADLINES AND DIVIDERS ***/

hr {height: 0; border-top: var(--bdr-wd) solid var(--cw-bdr);}
hr.thick {border-top-width: var(--bdr-thk-wd);}
hr.shadow {border: 0; height: var(--shadow-divider-ht); margin-bottom: calc(-.75 * var(--shadow-divider-ht)); background: radial-gradient(farthest-side at top center, var(--cw-bdr), transparent) center top no-repeat;}

/*.aphc_headline {display: flex; align-items: center; gap: .5em;}
.aphc_headline .icon {align-self: start;}
.aphc_headline.divider:not(.right):before, .aphc_headline.divider:not(.left):after {content: ''; flex-grow: 1;}
.aphc_headline.divider:before, .aphc_headline.divider:after, 
.aphc_headline.dash:before, .aphc_headline.dash:after, hr.dash {border-top-style: dashed; border-top-width: 2px;}
.aphc_headline.dot:before, .aphc_headline.dot:after, hr.dot {border-top-style: dotted; border-top-width: 2px;}
.aphc_headline.thick:before, .aphc_headline.thick:after, hr.thick {border-top-width: var(--bdr-thk-wd);}*/


/*** BLOG ***/

.filters, .filters .tablist, .filters ul, .pagination {display: flex; flex-wrap: wrap; gap: .5em;}
.filters {column-gap: 1em; font-size: var(--sm-sz);}
.filters button, .filters ul a, .pagination a {--btn-sz: var(--btn-sm-sz); --btn-pad: var(--btn-sm-pad);}
.filters button:after {content: ''; width: 10px; aspect-ratio: 2; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%);}
.filters .panels {width: 100%;}
.filters .panel .body {border: var(--bdr-wd) solid var(--cw-bdr); padding: 1em; border-radius: var(--radius);}

.pagination a {display: block;}

.utility {display: flex; flex-direction: column; gap: .5em; font-size: var(--sm-sz);}

.featured-image {margin: 0 0 var(--row-rowgap);}
.featured-image.box img {position: static;}
@media (min-width: 768px) {
	.featured-image {float: right; max-width: 40%; margin-left: var(--row-rowgap);}
}


/*** LIGHTBOX ***/

div.fslightbox-container {font-family: inherit;}
.fslightbox-toolbar {border-bottom-left-radius: var(--radius); overflow: hidden;}
button.fslightbox-toolbar-button {--btn-pad: 0; --radius: 0;}
button.fslightbox-slide-btn {--btn-pad: 9px;}
@media (min-width: 768px) {button.fslightbox-slide-btn {--btn-pad: 10px;}}
@media (min-width: 1200px) {button.fslightbox-slide-btn {--btn-pad: 11px;}}


/*** LOGOS ***/

.aphc_logos, .aphc_logos * {display: flex;}
a.aphc_logos, .aphc_logos a {text-decoration: none; color: inherit;}
.aphc_logos {flex-direction: column; gap: var(--col-rowgap);}
.aphc_logos[class*="cw-"] {padding: var(--box-vpad) var(--box-hpad); background: var(--cw-bkg); color: var(--cw-para);}
.aphc_logos .headline {font-size: var(--h3-sz); font-weight: 700;}
.aphc_logos .subhead.underline {text-decoration: underline;}
.aphc_logos ul {align-items: center; gap: 20px; flex-wrap: wrap;}
.aphc_logos li {flex-shrink: 0;}
.aphc_logos img {width: auto; height: 60px;}
.aphc_logos .more {font-size: 1.25em;}
.aphc_logos.imgxs img {height: 40px;}
.aphc_logos.imgmd img {height: 90px;}
.aphc_logos.imglg img {height: 120px;}
@media (min-width: 768px) {.aphc_logos.compact {flex-direction: row; align-items: center;}}
.aphc_logos.roomy .more {width: 100%;}


/*** MAPS ***/

.gm-style .gm-style-iw-c {flex-direction: row-reverse;}
.gm-style .gm-style-iw-d {padding-top: 12px; font-size: 16px; font-family: var(--font);}
.gm-style .gm-style-iw-d .name {font-weight: 700;}
.gm-style .gm-style-iw-d a {text-decoration: underline !important;}


/*** SEARCH ***/

#body-search {margin-bottom: 2em;}


/*** STAFF ***/

.aphc_staff > :first-child {margin-top: 0;}
.aphc_staff .category {margin-bottom: var(--col-rowgap);}
.aphc_staff .box img {object-position: center 20%;}


/*** TESTIMONIALS ***/

.aphc_testimonials blockquote {margin: 0;}
.aphc_testimonials.child-plain:not(.parent-grid) {padding: var(--box-vpad) var(--box-hpad);}
.aphc_testimonials .quote {font-size: var(--h3-sz); font-weight: 200; line-height: var(--head-lh);}
.testimonial .body {display: flex; flex-direction: column; gap: .5em;}
.testimonial:not(.tile) .body {justify-content: center;}
.testimonial .subhead.source {display: block;}


/*** COLORWAYS ***/

.cw {background: var(--cw-bkg); color: var(--cw-para);}
.headlines, .head, .text-head, :is(.aphc_text, .summary) :is(h1, h2, h3, h4, h5, h6):not([class*="text-"]) {color: var(--cw-head);}
.subhead, .text-subh {color: var(--cw-subh);}
.lead, .text-lead {color: var(--cw-lead);}
.loud, .text-loud {color: var(--cw-loud);}
.mute, .text-mute {color: var(--cw-mute);}
.text-para {color: var(--cw-para);}
.aphc_text a {color: var(--cw-link);}
.aphc_text a:hover {color: var(--cw-link-hvr);}
ul[class*="marker-"] li:before, ol.big-numbers li::marker, .aphc_text li::marker {color: var(--cw-loud);}
:is(ul, ol)[class*="cols-"] {column-rule-color: var(--cw-bdr);}

.vdivs-primary {--vdiv: var(--primary);}
.vdivs-secondary {--vdiv: var(--secondary);}
.vdivs-tertiary {--vdiv: var(--tertiary);}
.vdivs-loud {--vdiv: var(--loud);}
.vdivs-louder {--vdiv: var(--louder);}
.vdivs-loudest {--vdiv: var(--loudest);}
.vdivs-darkest {--vdiv: var(--darkest);}
.vdivs-dark {--vdiv: var(--dark);}
.vdivs-medium {--vdiv: var(--medium);}
.vdivs-light {--vdiv: var(--light);}
.vdivs-lighter {--vdiv: var(--lighter);}
.vdivs-lightest {--vdiv: var(--lightest);}


.aphc_accordions .accordion {background: var(--cw-bkg); color: var(--cw-para);}
.aphc_accordions .head button {background: var(--cw-bkg); color: var(--cw-head);}
.aphc_accordions .head button:not([aria-expanded="true"]):hover {--cw-bkg: var(--cw-acc-hvr-bkg); --cw-head: var(--cw-acc-hvr-txt);}
.aphc_accordions .head button[aria-expanded="true"]:hover {--cw-head: var(--cw-link-hvr);}

.aphc_tabs .panels {background: var(--cw-bkg);}
.aphc_tabs .tablist button {--cw-btn-lnk-bkg: var(--cw-tab-lnk-bkg); --cw-btn-lnk-txt: var(--cw-tab-lnk-txt);}
.aphc_tabs .tablist button:not([aria-selected="true"]):hover {--cw-btn-lnk-bkg: var(--cw-tab-hvr-bkg); --cw-btn-lnk-txt: var(--cw-tab-hvr-txt);}
.aphc_tabs .tablist button[aria-selected="true"] {--cw-btn-lnk-bkg: var(--cw-bkg); --cw-btn-lnk-txt: var(--cw-head);}


/*
.aphc_accordions .accordion,
.aphc_tabs .tablist button[aria-selected="true"],
.aphc_tabs .panels {border: var(--bdr-wd) solid var(--cw-bdr);}
.aphc_accordions.divider {--gap: 0; border-bottom: var(--border-width) solid var(--border-color);}
.aphc_accordions.divider .accordion {border-top: var(--border-width) solid var(--border-color);}
.aphc_accordions.divider .head button, .aphc_accordions.divider .body {padding-left: 0; padding-right: 0;}
.aphc_tabs.divider .tablist {border-bottom: 1px solid var(--border-color);}
.aphc_tabs.divider .tablist button {padding: var(--button-sm-pad);border-bottom: .25em solid transparent;}
.aphc_tabs.divider .tablist button:hover {border-color: var(--button-hover-background-color);}
.aphc_tabs.divider .tablist button[aria-selected="true"] {border-color: var(--button-background-color);}
.aphc_tabs.divider .body {padding: var(--col-rowgap) 0 0;}*/

.box, a.box, :is(.slide, .tile):before {background: var(--cw-bkg); color: var(--cw-para);}
.box .more {color: var(--cw-link);}
a.box:hover .more {color: var(--cw-link-hvr);}

.box.border {background: transparent; border: var(--bdr-wd) solid var(--cw-bdr);}

.splide__pagination button.is-active {--cw-btn-lnk-bkg: var(--cw-btn-act-bkg);}

.filters button[aria-selected="true"], .filters a.button.active, .pagination a.button.active {--cw-btn-lnk-bkg: var(--cw-btn-act-bkg); --cw-btn-lnk-txt: var(--cw-btn-act-txt); --cw-btn-lnk-bdr: var(--cw-btn-act-bdr);}
.pagination .button.ellipsis {--cw-btn-lnk-bkg: none !important; --cw-btn-lnk-txt: var(--cw-para) !important;}
.utility a {color: var(--cw-link);}
.utility a:hover {color: var(--cw-link-hvr);}
