/*
 * Helen & Douglas House site-wide styles.
 *
 * Consolidated from WordPress Additional CSS post 33398 and Divi's mirrored
 * divi_custom_css option during the Divi 5 preparation work (31 July 2026).
 * Module-level and global-preset CSS remains managed by Divi.
 */

body, nav {
	font-family: halcom !important;
}

/* Native Divi 5 replacement for the responsive Contact page map. */
.hdh-contact-map {
	border-radius: 10px;
	overflow: hidden;
	padding-bottom: 1px !important;
}

.hdh-contact-map iframe {
	max-width: 100%;
}

@media (min-width: 768px) and (max-width: 980px) {
	.hdh-contact-map {
		display: none;
	}
}

@media (max-width: 767px) {
	.hdh-contact-map iframe {
		height: 300px;
	}
}

/*
 * Divi 5 renders its Button module on the anchor itself. These declarations
 * preserve the two former Divi 4 Referral buttons' exact visual contract.
 */
a.hdh-referral-button.et_pb_button,
.hdh-referral-button a.et_pb_button {
	background-color: #f2452b !important;
	border-radius: 6px !important;
	display: block !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: fit-content;
}

/*
 * Preserve the Divi 4 job-sharing button geometry after the Pee-Aye module's
 * native Divi 5 conversion. The right/bottom inset recreates the former
 * per-button spacing, while clipping restores the circular icon treatment.
 */
.dssbm-sharing-buttons .dssbm-buttons-container {
	box-sizing: border-box;
	padding-bottom: 10px;
	padding-right: 10px;
}

.dssbm-sharing-buttons .social-button {
	flex: 0 0 calc((100% - 20px) / 3) !important;
	max-width: calc((100% - 20px) / 3) !important;
	overflow: hidden;
	width: calc((100% - 20px) / 3) !important;
}

.entry-title {
	color: #1c1463;
}


h1, h2, h3, h4, h5 {
	font-family: halcom !important;
	font-weight: bold;
}

a {
    text-decoration: underline; 
	
}
/* Adds underline */

/* Specific mobile styles */

@media only screen and (max-width: 600px) {
	a.et-cart-info, .et-fixed-header>a.et-cart-info, span#et_search_icon:before {
		padding-top:0px!important;
	}
	
	.ctaPanel a.btnLeft,
	.ctaPanel a.btnRight {
    float: none!important;
    display: inline-block!important;
    position: relative!important;
    right: unset!important;
    left: unset!important;
	}
	
}



.et_mobile_menu {
	border-top-color: #1c1463;
}

/* Single event styles */

.single-events h1 {
	font-size:36px!important;
}

.single-events h2 {
	font-size:30px!important;
	margin-top:10px;
	margin-bottom:10px;	
	color:#1c1463;
}

.single-events h3 {
	font-size:20px;
	margin-top:10px;
	margin-bottom:10px;
}

.single-events h4 {
	font-size:20px;
	margin-top:10px;
	margin-bottom:10px;
}

.single-events h5 {
	font-size:20px;
	margin-top:10px;
	margin-bottom:10px;
	color:#1c1463;
}

/* Donate button */

.btnDonate {
background-color: #f2452b;
color: #fff!important;
padding: 0 !important;
	border-radius:30px!important;
}

.btnDonate a {
color: #fff !important;
padding: 15px 25px 15px 25px !important;
	text-decoration: none;

}

.et-fixed-header ul#top-menu li.btnDonate >a, .et-fixed-header ul#top-menu li.btnDonate >a, .et-fixed-header ul#top-menu li.btnDonate >a {
	color:white!important;
}

.btnDonate:hover {
	background-color:#f2452b!important;
}

.btnDonate:hover a {
	color:white!important;
	opacity:1!important;
}

/* subnav hover state */

.nav ul li a:hover,
.et-fixed-header #top-menu ul li a:hover {
	background-color:#1c1463;
	color:white!important;
}

.nav ul li a,
.et-fixed-header #top-menu ul li a {
	border-radius:30px;
	padding-left: 15px!important;
	padding-right:15px!important;
}

/* mega menu style tweaks */

#top-menu li.mega-menu>ul>li>a:first-child:hover {
	background:none!important;
	color:black!important;
	text-decoration:underline;
}

/* CTA panel with 2 buttons: button alignment rules */

.ctaPanel a.btnLeft,
.ctaPanel a.btnRight {
	display:block!important;
	width:fit-content;
	float:left;
}


.ctaPanel a.btnLeft {
	position:absolute!important;
	left:30%;
}


.ctaPanel a.btnRight {
	position:absolute!important;
	right:30%;
}

@media only screen and (max-width: 600px) {
	.ctaPanel a.btnLeft,
	.ctaPanel a.btnRight {
		position:relative!important;
		width:90%;
		margin:0 auto;
	}
	
}

@media only screen and (min-width:601px) and (max-width: 1248px) {
	.ctaPanel a.btnLeft,
	.ctaPanel a.btnRight {
		position:relative!important;
		width:90%;
		margin:0 auto;
		left:5%!important;
		right:5%!important;
		margin-bottom:30px;
	}	
	
}

/* single post testimonial styling */

.testimonialWrapper {
	background-color: #1c1463;
	padding: 50px 50px 50px 250px;
	background-image:url(/wp-content/uploads/2022/05/quotes.svg);
	background-repeat:no-repeat;
	background-size:100px;
	background-position:5% 20%;
	border-radius:30px;

}

.postTestimonialText {
    color: white;
    font-size: 36px;
    line-height: 44px;
    font-family: 'calliope-mvb',cursive;
}

blockquote {
	font-family: 'calliope-mvb', cursive;
	font-size: 1.5rem;
}

.postTestimonialPerson {
	color:white;
	padding-top:20px;
	font-size:16px;
}

/* Testimonial styling for mobile */

@media only screen and (max-width: 600px) {
		.testimonialWrapper {
				background-image:unset;
			  padding:30px 30px 30px 30px;
		}
	.postTestimonialText {
		font-size:20px;
		line-height:24px;
	}
}

@media only screen and (min-width: 601px) and (max-width: 900px) {
		.testimonialWrapper {
				background-image:unset;
			  padding:30px 30px 30px 30px;
		}
	.postTestimonialText {
		font-size:30px;
		line-height:34px;
	}
}


/* news page filter styling */

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover {
	background:#F2452B;
	color:white;
}


.et_pb_filterable_portfolio .et_pb_portfolio_filters li:first-child a {
		border-bottom-left-radius:20px;
	border-top-left-radius:20px;
}


.et_pb_filterable_portfolio .et_pb_portfolio_filters li:last-child a {
	border-bottom-right-radius:20px;
	border-top-right-radius:20px;
}


/* team social icons */

.profile-social-icons span {
	color:white;
}

/* Single event page button styles */

#eventButton { clear:both; }

#eventButton a {
	background: #F2452B!important;
    color: white!important;
    border-color: #F2452B!important;
    font-size: 16px!important;
    border-radius: 30px!important;
    margin-top: 30px!important;
}

#eventButton a:hover {
	color:white;
	background:#F2452B;
	border-color:#F2452B!important;
}
/*shop page product grid styles */

.prodPrice {
	margin-left:20px;
	margin-right:20px;
	color:white;
	font-weight:bold;
	font-size:20px;
	margin-bottom:10px;
}

.prodDesc {
	margin-left:20px;
	margin-right:20px;
	color:white;
	margin-bottom:20px;
	font-size:18px;
	line-height:1.4em
}

a.prodButton {
	margin-left:20px;
	margin-right:20px;
	background-color:#fff!important;
	border-color:#fff!important;
	border-radius:30px!important;
	font-size:16px;
	color:#1c1463!important;
}

a.prodButton:hover {
	background-color:#fff!important;
	border-color:#fff!important;
	border-radius:30px!important;
	font-size:16px;
	color:#1c1463!important;	
}

/* main menu search and cart formatting */

a.et-cart-info,
.et-fixed-header>a.et-cart-info,
span#et_search_icon:before {
	color:#f2452b!important;
	padding-top:13px
}

/* custom header scroll effects */

/*set the transition for the spacing shrinking action*/
.pa-header .et_pb_row,
.pa-header .et_pb_menu_0_tb_header {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*set the background color of the fixed header when scrolling*/
.pa-fixed-header .et_pb_row {
	padding: 20px 0;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

.pa-fixed-header .et_pb_menu_0_tb_header {
	margin-bottom:20px!important;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*set the transition for the logo shrinking action*/
.pa-header .et_pb_image_wrap img {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/*change the logo size when the header shrinks*/
.pa-fixed-header .et_pb_image_wrap img {
	max-width: 70%;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/* Shop finder styles */

.wpsl-search {
	background:#1c1463;
	color:white;
	border-radius:30px;
	padding-left:50px;
	font-size:16px;
}

#wpsl-search-wrap div label {
	line-height:18px;
}

/* Job styles */

.et_pb_portfolio_items .type-job .dp_portfolio_item_left {
	display:none;
}

.et_pb_portfolio_items .type-job .dp_portfolio_item_right {
	width: 100%;
}

.et_pb_portfolio_items .type-job {
	border-bottom:1px solid #773e91;
	padding-bottom:40px;
	margin-bottom:40px!important;
}

.et_pb_portfolio_items .type-job h2.entry-title {
	font-size:36px;
}

div.jobMeta {
	background:#f6f6f6;
	padding:5px;
	padding-left:15px;
	margin-bottom:10px;
}

div.jobExcerpt {
	margin-bottom:20px;
}

div.jobTitle span {
	font-size:20px;
	margin-left:20px;
	color:#F2452B;
}

/* file downloads box */

.dlBox {
	border-radius:5px;
	margin-top:15px;
}

.dlBox h4 {
	color:white;
}

.dlBox i {
	color:white;
}

.dlBox a {
	color: white;
	text-decoration:underline;
}

/* research item styles */

.authorList,
.authorList a {
	color:white;
}

.authorList a {
	text-decoration:underline;
}

.researchSidebar a {
	text-decoration:underline;
	color:black;
}

.researchSidebar h4 {
	color:#1c1463;	
}

.researchSidebar ul {
	list-style-type:none;
	padding-left:0px;
}

.researchSidebar i {
	color:#1c1463;
	margin-right:5px;
}

.categoryGrid article {
	background-color:#1c1463!important;
	height:400px!important;
}

.woocommerce-message {
	background-color:#F2452B!important;
	margin-bottom:0px;
}

.woocommerce-message a {
	background-color:white!important;
	color:black!important;
	border-radius:30px!important;
}

.woocommerce-cart-form button {
	border-radius:30px!important;
	font-size:18px!important;
	color:white!important;
	background-color:#1c1463!important;
}

.checkout-button {
	background-color:#1c1463!important;
	border-color:#1c1463!important;
	border-radius:30px!important;
}

button.alt {
	background:#1c1463!important;
	font-size:18px!important;
	border-radius:30px!important;
}

/* Single event detail styles */

div.event-details,
div.event-details h5 {
	color:#1c1463!important;
}

div.event-details i {
	color:#F2452B;
}

div.eDate {
	float:left;
	margin-right:30px;
}

div.eReg {
	float:left;
	margin-right:30px;
}

div.eReg p {
	font-weight:bold;
}

div.eSpecial p {
	color:#F2452B;
	font-weight:bold;
}

div.detail {
	overflow:hidden;
	clear:both;
}

/* new cart icon styles */

li.wpmenucartli i {
	color:#F2452B;
	font-size:18px;
}

li.wpmenucartli span {
	color:#1c1463;
	font-size:14px;
}

li.wpmenucartli span:before {
	content: "(";
}

li.wpmenucartli span:after {
	content: ")";
}

/* single job styles */

div.dlBox a {
	color:white!important;
}

/* fancy homepage buttons */

a.fancyButton:before {
	margin-left: -2em!important;
}

/* make all buttons bold */

a.et_pb_button {
	font-weight:bold!important;
}

/* Main menu sizing for tablet */

@media only screen and (min-width: 981px) and (max-width:1100px) {
	.et_pb_svg_logo #logo { height: 45%; }
	#top-menu li { padding-right: 15px; }
	#top-menu li a { font-size: 14px; }
}

/* Single shop styles */

@media only screen and (max-width:600px) {
.shopContent .wpsl-gmap-canvas {
	width:300px!important;
}		
}

@media only screen and (min-width:981px) and (max-width:1280px) {
.shopContent .wpsl-gmap-canvas {
	width:450px!important;
}			
}

/* Footer styles */
@media (max-width: 980px) {
	.pa-open-mobile-menu .et_pb_menu__menu {
		display: flex!important;
	}
	.pa-open-mobile-menu .et_mobile_nav_menu {
		display: none!important;
	}
}

@media only screen and (max-width:768px) {
	span#et_search_icon:before {
		padding-top:0px;
	}
}

/* Scroll to top button */

/* Default button appearance */
.et_pb_scroll_top.et-pb-icon {
    right: 30px; /* space from right */
    bottom: 30px; /* space from bottom */
    padding: 8px; /*padding size*/
    border-radius: 30px; /* make the circle */
    background: rgb(225, 4, 127) /* button color */;  
    font-size: 32px; /* icon size */
    transition: all .1s ease-in-out; /* add transition */
}
/* Button Appearance on Mouseover */
.et_pb_scroll_top.et-pb-icon:hover {
    bottom: 32px /* space from bottom */;
    background: rgb(244, 156, 26) /*button hover color*/;  
    transition: all .1s ease-in-out; /*add transition*/
    box-shadow: 0 10px 15px #162c4e4a; /*box shadow on hover*/
}
/* Animation tweaks */
.et_pb_scroll_top.et-visible {
    -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
    -moz-animation: fadeInBottom 2s 1 cubic-bezier(.50,0,.160,1);
    -o-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
    animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
}
.et_pb_scroll_top.et-hidden {
    opacity: 0;
    -webkit-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -moz-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -o-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
}

/*bullet checklist style */
.pa-bullet-list-1 ul {
list-style-type: none!important;
}

.pa-bullet-list-1 ul li:before {
content: '\e052'!important;
color: #ffffff;
font-family: 'ETMODULES'!important;
margin-right: 10px;
margin-left: -18px;
font-size: .8em!important;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 420px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 15px 15px 15px 15px;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/*prevent horizontal scroll on mobile*/
@media all and (max-width: 980px) {
	html,
	body {
		overflow-x: hidden;
	}
	body {
		position: relative
	}
}


/*place button modules next to each other in the same column*/
.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}

.pa-inline-buttons {
    text-align: center !important;
}
@media (min-width: 1025px) {
.pa-custom-background-mask-1 .et_pb_background_mask {
    background-image: url("https://helen-douglas-house.s3.eu-west-2.amazonaws.com/wp-content/uploads/2024/05/28091714/hughero-1.svg")!important;
	}}

body .et_pb_scroll_top {
background-color: #f39400 !important;
}

blockquote {
	border-color: #f39400 !important;
}


.et_mobile_menu li a {
    font-family: halcom;
}






/* Default Tab colour for Q&A module*/
li.et_pb_tab_active {
	background-color: #f2452b !important;
}

button, 
button a, 
a.button, 
a.et_pb_button, 
.et_pb_button, 
h2.entry-title a, 
.ppp_filterable_link, 
.more-link {
    text-decoration: none; /* Remove underline */
}


/*Toggle subheadings for gift in wills page*/
.pa-toggle-second-line-1 .et_pb_toggle_title:after {
	content: "Use our free Will-writing service";
	display: block;
	font-size: 20px;
	line-height: 1.5em;
}

/*Toggle subheadings for gift in wills page*/
.pa-toggle-second-line-2 .et_pb_toggle_title:after {
	content: "Discover how to leave a gift in your Will and the difference you could make";
	display: block;
	white-space: pre-line;
	font-size: 20px;
	line-height: 1.5em;
}

body .gform_wrapper,
body .gform_wrapper .gfield_label,
body .gform_wrapper .gchoice label,
body .gform_wrapper .gfield_description {
  font-size: 16px;
}

body .gform_wrapper input[type="submit"],
body .gform_wrapper .gform_page_footer input.gform_next_button {
  background-color: #F2452B !important;
  border-color: #F2452B !important;
  color: #fff !important; /* ensures text is readable */
}

/* Remove pull quote line and gap on page 50724 */
body.page-id-50724 .wp-block-pullquote,
body.page-id-50724 blockquote,
body.page-id-50724 .pull-quote {
  border-left: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.page-id-55094 #field_1_1 {
  display: none !important;
}

/* Former page-level Divi custom CSS, now scoped centrally. */
body.home .side-by-side-1 .et_pb_button_module_wrapper {
	display: inline-block;
	margin-right: 25px;
}

@media only screen and (max-width: 767px) {
	body.postid-47689 .entry-title {
		font-size: 30px;
	}
}

/* Native Divi 5 replacement for the retired post-type search module. */
.hdh-job-search {
	margin: 0 0 30px;
}

.hdh-job-search__field {
	display: flex;
	width: 100%;
}

.hdh-job-search__input,
.hdh-job-search__submit {
	border: 2px solid #1c1463;
	font-size: 18px;
	line-height: 1.4;
	padding: 0.715em 1.25em;
}

.hdh-job-search__input {
	background: #fff;
	border-radius: 30px 0 0 30px;
	color: #1c1463;
	flex: 1 1 auto;
	min-width: 0;
}

.hdh-job-search__input:focus {
	box-shadow: 0 0 0 3px rgba(28, 20, 99, 0.2);
	outline: 2px solid transparent;
}

.hdh-job-search__submit {
	background: #1c1463;
	border-radius: 0 30px 30px 0;
	color: #fff;
	cursor: pointer;
	font-weight: 600;
	padding-left: 2em;
	padding-right: 2em;
}

.hdh-job-search__submit:hover,
.hdh-job-search__submit:focus-visible {
	background: #e52b12;
	border-color: #e52b12;
}

/* Native Divi 5 Loop Builder listings. */
.hdh-loop-grid {
	column-gap: 4%;
	display: grid;
	grid-auto-rows: 1fr;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	row-gap: 30px;
}

.hdh-loop-grid--jobs {
	grid-template-columns: minmax(0, 1fr) !important;
}

.hdh-loop-grid--research {
	grid-template-columns: minmax(0, 1fr) !important;
}

.hdh-loop-grid--articles,
.hdh-loop-grid--events,
.hdh-loop-grid--people,
.hdh-loop-grid--products,
.hdh-loop-grid--research {
	align-items: start;
	grid-auto-rows: auto;
}

.hdh-loop-grid--articles {
	row-gap: 4%;
}

.hdh-loop-grid--jobs {
	row-gap: 40px;
}

.hdh-loop-grid--research {
	row-gap: 20px;
}

.hdh-loop-shell--article,
.hdh-loop-shell--research {
	gap: 0 !important;
}

/*
 * DPPP kept a hidden, zero-height filter before these two listings. Its
 * 40px bottom margin is part of the current production layout, so retain
 * that gutter while the visible filter itself stays absent.
 */
.page-id-36240 .hdh-loop-shell--person,
.page-id-33842 .hdh-loop-shell--product {
	padding-top: 40px;
}

.hdh-loop-filter-module {
	margin-bottom: 0 !important;
}

.hdh-loop-card {
	display: flex;
	flex-direction: column;
	gap: 0 !important;
	height: 100% !important;
	min-height: max-content !important;
	overflow: hidden;
}

.hdh-loop-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0 !important;
}

/* Let shortcode-rendered card bodies fill their Divi Text module wrapper. */
.hdh-loop-card__content-module,
.hdh-loop-card__content-module .et_pb_text_inner {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	margin-bottom: 0 !important;
	width: 100%;
}

.hdh-loop-card .et_pb_image_wrap,
.hdh-loop-card .et_pb_image_wrap img {
	display: block;
	width: 100%;
}

.hdh-loop-card .et_pb_image_wrap img {
	height: auto;
	object-fit: cover;
}

.hdh-loop-card__body .et_pb_button_module_wrapper {
	margin-top: auto !important;
}

.hdh-loop-card__cta {
	align-self: flex-start;
	margin-top: 0 !important;
}

.hdh-loop-card__cta .et_pb_button:hover,
.hdh-loop-card__cta .et_pb_button:focus-visible,
.hdh-loop-card__button:hover,
.hdh-loop-card__button:focus-visible,
.hdh-job-card__button:hover,
.hdh-job-card__button:focus-visible {
	background: #e52b12;
	border-color: #e52b12;
	color: #fff;
}

.hdh-loop-card__body--article,
.hdh-loop-card__body--event,
.hdh-loop-card__body--person,
.hdh-loop-card__body--product,
.hdh-loop-card__body--research {
	padding: 30px;
}

.hdh-loop-card__body--article,
.hdh-loop-card__body--event,
.hdh-loop-card__body--person,
.hdh-loop-card__body--product,
.hdh-loop-card__body--research {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.hdh-loop-card--article {
	height: 750px !important;
	min-height: 750px !important;
	position: relative;
}

.hdh-loop-card--research,
.hdh-loop-card--event,
.hdh-loop-card--person-clinical,
.hdh-loop-card--product,
.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) {
	height: auto !important;
}

.hdh-loop-card__body--article {
	padding: 0 30px 30px;
	position: static;
}

.hdh-loop-card__title {
	font-size: 24px;
	line-height: 1.25;
	margin: 0 0 18px;
}

.hdh-loop-card__body--article .hdh-loop-card__title {
	font-size: 24px;
	line-height: 24px;
	margin: 10px 0 20px;
	padding: 30px 8px 0;
}

.hdh-loop-card__meta--article {
	font-size: 14px;
	line-height: 30.6px;
	margin: 5.6px 0 20px;
	padding: 0 8px;
}

.hdh-loop-card__body--article .hdh-loop-card__date,
.hdh-loop-card__body--article .hdh-loop-card__terms {
	display: inline;
	margin: 0;
	padding: 0;
}

.hdh-loop-card__body--article .hdh-loop-card__excerpt {
	font-size: 16px;
	line-height: 22.4px;
	margin: 0;
	padding: 0 8px;
}

.hdh-loop-card__title a {
	color: inherit;
	text-decoration: none;
}

.hdh-loop-card__meta,
.hdh-loop-card__excerpt,
.hdh-loop-card__content {
	margin: 0 0 20px;
}

.hdh-loop-card__button {
	align-self: flex-start;
	background: #1c1463;
	border: 0;
	border-radius: 30px;
	color: #fff;
	display: inline-block;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	margin-top: auto;
	padding: 10px 22px;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
	width: fit-content;
}

/* Match the former DPPP article-card buttons without inheriting Divi's global button style. */
.hdh-loop-card__body--article .hdh-loop-card__button {
	align-self: flex-end;
	border: 0;
	border-radius: 30px;
	bottom: 50px;
	display: block;
	font-size: 16px;
	font-weight: 500;
	line-height: 22.4px;
	margin: 0;
	padding: 10px 25px;
	position: absolute;
	right: 50px;
	text-decoration: none;
	width: fit-content;
}

.hdh-loop-card--article-news .hdh-loop-card__button {
	font-size: 18px;
}

.hdh-loop-card--event {
	background: #1c1463;
	border-radius: 30px;
	color: #fff;
	min-height: 720px !important;
}

.hdh-loop-card__body--event {
	padding: 0 30px;
}

.hdh-loop-card__body--event .hdh-loop-card__title {
	font-size: 31px;
	line-height: 31px;
	margin: 20px 0;
	padding: 10px 8px 0;
}

.hdh-loop-card__body--event .hdh-loop-card__meta--event {
	font-size: 18px;
	line-height: 10px !important;
	margin: 0 0 20px;
	padding: 0 8px;
}

.hdh-loop-card__meta-label {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.hdh-loop-card__body--event .hdh-loop-card__excerpt {
	font-size: 18px;
	line-height: 25.2px;
	margin: 0;
	padding: 0 8px;
}

.hdh-loop-card--event .hdh-loop-card__title,
.hdh-loop-card--event .hdh-loop-card__title a,
.hdh-loop-card--event .hdh-loop-card__meta,
.hdh-loop-card--event .hdh-loop-card__excerpt {
	color: #fff;
}

.hdh-loop-card--event .hdh-loop-card__button--event {
	align-self: flex-start;
	background: #f39400;
	border: 0;
	border-radius: 30px;
	color: #1c1463;
	display: block;
	font-size: 18px;
	font-weight: 500;
	line-height: 25.2px;
	margin: 30px 0 20px;
	padding: 10px 20px;
	text-decoration: none;
	width: fit-content;
}

.hdh-loop-card--person {
	background: #fff;
	border-radius: 10px;
}

.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) {
	box-sizing: border-box;
	padding: 30px;
}

.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__body--person {
	padding: 0;
}

.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .et_pb_image {
	margin-bottom: 0;
}

.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .et_pb_image_wrap {
	aspect-ratio: 1;
	max-width: 300px;
	overflow: hidden;
}

.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .et_pb_image_wrap img {
	height: 100%;
	object-fit: cover;
}

.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__title {
	font-size: 31px;
	line-height: 31px;
	margin: 10px 0 15px;
	padding: 0 8px;
}

.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__meta {
	font-size: 18px;
	font-weight: 700;
	line-height: 30.6px;
	margin: 0;
	padding: 0 8px;
}

.hdh-loop-card--person-clinical {
	border-radius: 30px;
	box-shadow: 0 8px 24px rgba(28, 20, 99, 0.14);
	height: auto !important;
	padding: 70px 30px;
	text-align: center;
}

.hdh-loop-card--person-clinical .hdh-loop-card__body--person {
	padding: 0;
}

.hdh-loop-card--person-clinical .et_pb_image,
.hdh-loop-card--person-clinical .et_pb_image_wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: 200px;
}

.hdh-loop-card--person-clinical .et_pb_image {
	margin-bottom: 40px !important;
}

.hdh-loop-card--person-clinical .et_pb_image_wrap img {
	height: 200px;
	object-fit: cover;
}

.hdh-loop-card--person-clinical .hdh-loop-card__title {
	font-size: 24px;
	line-height: 24px;
	margin: 0 0 10px;
	padding: 0 8px;
}

.hdh-loop-card--person-clinical .hdh-loop-card__meta {
	align-self: flex-start;
	display: inline-block;
	font-size: 18px;
	line-height: 30.6px;
	margin: 0 0 10px;
	padding: 0 8px;
}

.hdh-loop-card--person-clinical .hdh-loop-card__excerpt {
	font-size: 18px;
	line-height: 30.6px;
	margin: 0;
	padding: 0 8px;
	text-align: left;
}

.hdh-loop-card--person .hdh-loop-card__title,
.hdh-loop-card--person .hdh-loop-card__meta {
	color: #1c1463;
}

.hdh-loop-card--person-clinical .hdh-loop-card__button {
	align-self: center;
	background: #f2452b;
	border: 0;
	border-radius: 30px;
	color: #fff;
	display: block;
	font-size: 18px;
	font-weight: 500;
	line-height: 30.6px;
	margin: 30px 0 0;
	padding: 10px 20px;
	text-decoration: none;
	width: fit-content;
}

.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__button {
	align-self: stretch;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #1c1463;
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 30.6px;
	margin: 30px 0 0;
	padding: 0;
	text-decoration: underline;
	width: auto;
}

.hdh-loop-card--product {
	background: #1c1463;
	border-radius: 30px;
	color: #fff;
	height: 530px !important;
	min-height: 530px !important;
	padding-bottom: 30px;
}

.hdh-loop-card--product .et_pb_image {
	margin-bottom: 20px;
}

.hdh-loop-card--product .hdh-loop-card__body--product {
	padding: 0;
}

.hdh-loop-card--product .hdh-loop-card__title {
	font-size: 31px;
	line-height: 31px;
	margin: 10px 20px;
	padding: 0 8px;
}

.hdh-loop-card--product .hdh-loop-card__price {
	margin: 0 20px 10px;
	padding: 0 8px;
}

.hdh-loop-card--product .woocommerce-Price-currencySymbol {
	margin-right: .25em;
}

.hdh-loop-card--product .hdh-loop-card__title,
.hdh-loop-card--product .hdh-loop-card__title a,
.hdh-loop-card--product .hdh-loop-card__price,
.hdh-loop-card--product .price {
	color: #fff;
}

.hdh-loop-card__price,
.hdh-loop-card__price .amount {
	font-size: 20px;
	font-weight: 700;
}

.hdh-loop-card--research {
	background: #fff;
	border-radius: 30px;
}

.hdh-loop-card--research .hdh-loop-card__title {
	color: #f2452b;
	font-size: 30px;
	line-height: 36px;
	margin: 0;
}

.hdh-loop-card--research .hdh-loop-card__content {
	margin-bottom: 0;
	padding-top: 19.6px;
}

.hdh-loop-card--research .hdh-loop-card__content ul {
	margin-top: 18px;
	padding-bottom: 23px;
}

.hdh-loop-card--research .hdh-loop-card__button {
	align-self: flex-start;
	background: #1c1463;
	border: 0;
	border-radius: 30px;
	color: #fff;
	display: block;
	font-size: 18px;
	font-weight: 500;
	line-height: 30.6px;
	margin: 20px 0;
	padding: 10px 25px;
	text-decoration: none;
	width: fit-content;
}

.hdh-loop-card--article-blog .hdh-loop-card__title h3,
.hdh-loop-card--article-blog .hdh-loop-card__title a,
.hdh-loop-card--article-news-page .hdh-loop-card__title h3,
.hdh-loop-card--article-news-page .hdh-loop-card__title a,
.hdh-loop-card--article-family .hdh-loop-card__title h3,
.hdh-loop-card--article-family .hdh-loop-card__title a {
	color: #1c1463;
}

.hdh-loop-card--article-news .hdh-loop-card__title h3,
.hdh-loop-card--article-news .hdh-loop-card__title a,
.hdh-loop-card--article-latest .hdh-loop-card__title h3,
.hdh-loop-card--article-latest .hdh-loop-card__title a {
	color: #f2452b;
}

.hdh-loop-card--article-blog .hdh-loop-card__date,
.hdh-loop-card--article-blog .hdh-loop-card__terms,
.hdh-loop-card--article-news-page .hdh-loop-card__date,
.hdh-loop-card--article-news-page .hdh-loop-card__terms,
.hdh-loop-card--article-family .hdh-loop-card__terms {
	color: #f2452b;
}

.hdh-loop-card--article-news .hdh-loop-card__date,
.hdh-loop-card--article-news .hdh-loop-card__terms,
.hdh-loop-card--article-latest .hdh-loop-card__date,
.hdh-loop-card--article-latest .hdh-loop-card__terms {
	color: #1c1463;
}

.hdh-loop-card--article-blog .hdh-loop-card__cta .et_pb_button,
.hdh-loop-card--article-news-page .hdh-loop-card__cta .et_pb_button,
.hdh-loop-card--article-family .hdh-loop-card__cta .et_pb_button,
.hdh-loop-card--article-blog .hdh-loop-card__button,
.hdh-loop-card--article-news-page .hdh-loop-card__button,
.hdh-loop-card--article-family .hdh-loop-card__button {
	background: #f2452b;
	border-color: #f2452b;
}

.hdh-loop-card__body--article .hdh-loop-card__button:hover,
.hdh-loop-card__body--article .hdh-loop-card__button:focus-visible {
	background: #e52b12;
	color: #fff;
}

/* Native vacancy cards. */
.hdh-job-card {
	background: #fff;
	border: 1px solid rgba(28, 20, 99, 0.15);
	border-left: 8px solid var(--hdh-job-accent, #1c1463);
	border-radius: 20px;
	box-shadow: 0 6px 20px rgba(28, 20, 99, 0.08);
	padding: 30px;
}

.hdh-job-card--volunteer {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--hdh-job-accent, #1c1463);
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: 0 0 40px;
}

.hdh-job-card__title {
	color: #1c1463;
	font-size: 28px;
	margin: 0 0 15px;
}

.hdh-job-card--volunteer .hdh-job-card__title {
	font-size: 36px;
	line-height: 36px;
	margin: 0;
	padding: 0 0 10px;
}

.hdh-job-card__title a {
	color: inherit;
}

.hdh-job-card__closing-soon {
	color: #e52b12;
	display: inline-block;
	font-size: 16px;
	margin-left: 12px;
	white-space: nowrap;
}

.hdh-job-card__salary {
	color: #e1047f;
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 16px;
}

.hdh-job-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 0 0 20px;
}

.hdh-job-card__meta div {
	display: flex;
	gap: 6px;
}

.hdh-job-card__meta dt {
	color: var(--hdh-job-accent, #1c1463);
	font-weight: 700;
}

.hdh-job-card__meta dd {
	margin: 0;
}

.hdh-job-card__meta--volunteer {
	background: #f6f6f6;
	display: block;
	font-size: 18px;
	line-height: 30.6px;
	margin: 0 0 20px;
	padding: 5px 5px 5px 15px;
}

.hdh-job-card__meta--volunteer .hdh-job-card__meta-item {
	display: inline;
	margin-right: 9px;
}

.hdh-job-card__meta--volunteer .hdh-job-card__meta-item:last-child {
	margin-right: 0;
}

.hdh-job-card__meta--volunteer i {
	color: #1c1463;
	margin-right: 0;
}

.hdh-job-card__meta--volunteer p {
	margin: 0;
	padding: 0;
}

.hdh-job-card__excerpt {
	margin: 0 0 20px;
}

.hdh-job-card__button {
	background: var(--hdh-job-accent, #1c1463);
	border: 2px solid var(--hdh-job-accent, #1c1463);
	border-radius: 0;
	color: #fff;
	display: inline;
	font-size: 20px;
	font-weight: 700;
	line-height: 34px;
	margin: 0;
	padding: 6px 20px;
	position: relative;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hdh-loop-card--event .hdh-loop-card__button--event:hover,
.hdh-loop-card--event .hdh-loop-card__button--event:focus-visible,
.hdh-loop-card--research .hdh-loop-card__button:hover,
.hdh-loop-card--research .hdh-loop-card__button:focus-visible,
.hdh-loop-card--person-clinical .hdh-loop-card__button:hover,
.hdh-loop-card--person-clinical .hdh-loop-card__button:focus-visible,
.hdh-job-card__button:hover,
.hdh-job-card__button:focus-visible {
	background: #e52b12;
	border-color: #e52b12;
	color: #fff;
}

.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__button:hover,
.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__button:focus-visible {
	background: transparent;
	border-color: transparent;
	color: #f2452b;
}

/* URL-driven loop filters. */
.hdh-loop-filter {
	margin: 0 0 40px;
}

.hdh-loop-filter .hdh-loop-filter__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hdh-loop-filter__item {
	margin: 0;
}

.hdh-loop-filter__link {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 0;
	color: #1c1463;
	display: block;
	font-size: 18px;
	font-weight: 500;
	line-height: 14px;
	margin: -1px -1px 0 0;
	padding: 20px 30px;
	text-decoration: none;
	white-space: nowrap;
}

.hdh-loop-filter__item:first-child .hdh-loop-filter__link {
	border-radius: 3px 0 0 3px;
}

.hdh-loop-filter__item:last-child .hdh-loop-filter__link {
	border-radius: 0 3px 3px 0;
}

.hdh-loop-filter__link--active {
	background: #1c1463;
	border-color: #e2e2e2;
	color: #fff;
	position: relative;
	z-index: 1;
}

.hdh-loop-filter__link:hover,
.hdh-loop-filter__link:focus-visible {
	background: #f2452b;
	border-color: #f2452b;
	color: #fff;
	position: relative;
	z-index: 2;
}

.hdh-loop-filter__link:focus-visible,
.hdh-loop-card a:focus-visible,
.hdh-job-card a:focus-visible {
	outline: 3px solid #f39400;
	outline-offset: 3px;
}

/* Divi Post Navigation module connected to a specific loop ID. */
.hdh-loop-pagination {
	margin-top: 35px;
}

.hdh-loop-pagination .nav-previous a,
.hdh-loop-pagination .nav-next a {
	background: #1c1463;
	border-radius: 30px;
	color: #fff;
	display: inline-block;
	padding: 10px 20px;
	text-decoration: none;
}

.hdh-loop-pagination .nav-previous a:hover,
.hdh-loop-pagination .nav-next a:hover,
.hdh-loop-pagination .nav-previous a:focus-visible,
.hdh-loop-pagination .nav-next a:focus-visible {
	background: #f2452b;
}

.hdh-loop-empty {
	background: #f4f2f8;
	border-left: 6px solid #773e91;
	border-radius: 8px;
	color: #1c1463;
	font-size: 18px;
	margin: 0;
	padding: 24px;
}

@media (min-width: 501px) and (max-width: 1000px) {
	.hdh-loop-grid {
		column-gap: 2%;
		grid-template-columns: repeat(2, minmax(0, 47.666%)) !important;
		row-gap: 2%;
	}

	.hdh-loop-grid--jobs,
	.hdh-loop-grid--research {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.hdh-loop-grid--jobs {
		row-gap: 40px;
	}

	.hdh-loop-grid--research {
		row-gap: 20px;
	}
}

@media (max-width: 980px) {
	.hdh-loop-card__meta--article {
		font-size: 16px;
		line-height: 27.2px;
	}

	.hdh-loop-card__body--article .hdh-loop-card__button {
		align-self: flex-start;
		background: #f2452b;
		bottom: auto;
		margin: 30px 0 0;
		padding: 10px 20px;
		position: static;
		right: auto;
	}

	.hdh-loop-card--research .hdh-loop-card__title {
		font-size: 26px;
		line-height: 31.2px;
	}

	.hdh-loop-card--research .hdh-loop-card__content {
		padding-top: 16px;
	}

	.hdh-loop-card--research .hdh-loop-card__content ul {
		margin-top: 16px;
	}

	.hdh-loop-card--research .hdh-loop-card__button,
	.hdh-loop-card--event .hdh-loop-card__button--event,
	.hdh-loop-card--person-clinical .hdh-loop-card__button {
		font-size: 16px;
		line-height: 27.2px;
	}

	/* The Family Events page retained an explicitly larger legacy CTA. */
	.page-id-35728 .hdh-loop-card--event .hdh-loop-card__button--event {
		font-size: 18px;
		line-height: 25.2px;
	}

	.hdh-loop-card__body--event .hdh-loop-card__meta--event {
		font-size: 16px;
	}

	.hdh-loop-card__body--event .hdh-loop-card__excerpt {
		font-size: 16px;
		line-height: 22.4px;
	}

	.hdh-loop-card--person-clinical .hdh-loop-card__meta,
	.hdh-loop-card--person-clinical .hdh-loop-card__excerpt {
		font-size: 16px;
		line-height: 27.2px;
	}

	.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__meta,
	.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__button {
		font-size: 16px;
		line-height: 27.2px;
	}

	.hdh-job-card--volunteer .hdh-job-card__title {
		font-size: 26px;
		line-height: 31.2px;
		margin-top: 10px;
	}

	.hdh-job-card__meta--volunteer {
		font-size: 16px;
		line-height: 27.2px;
	}

	.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) {
		min-height: 680px !important;
	}
}

@media (max-width: 767px) {
	.hdh-loop-card {
		align-self: start;
		display: flex !important;
		height: max-content !important;
	}

	.hdh-loop-card--article {
		height: auto !important;
		min-height: auto !important;
	}

	.hdh-loop-filter__item {
		flex: 0 0 50%;
		width: 50%;
	}

	.hdh-loop-filter__link {
		margin: -1px -1px 0 0;
		text-align: center;
		white-space: normal;
	}

	.hdh-loop-filter__item:first-child .hdh-loop-filter__link {
		border-radius: 3px 0 0 0;
	}

	.hdh-loop-filter__item:nth-child(2) .hdh-loop-filter__link {
		border-radius: 0 3px 0 0;
	}

	.hdh-loop-filter__item:last-child:nth-child(even) .hdh-loop-filter__link {
		border-radius: 0 0 3px 0;
	}

	.hdh-loop-filter__item:last-child:nth-child(odd) .hdh-loop-filter__link {
		border-radius: 0 0 3px 3px;
	}

	.hdh-loop-card--research .hdh-loop-card__title {
		font-size: 24px;
		line-height: 28.8px;
	}

	.hdh-loop-card__body--event .hdh-loop-card__title {
		font-size: 22px;
		line-height: 22px;
	}

	.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) {
		border-radius: 0;
		min-height: auto !important;
		padding: 0 0 5px;
	}

	.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .et_pb_image_wrap {
		height: 300px;
	}

	.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__title {
		font-size: 14px;
		line-height: 14px;
	}

	.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__meta,
	.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__button {
		font-size: 16px;
		line-height: 27.2px;
	}

	.hdh-loop-card--person:not(.hdh-loop-card--person-clinical) .hdh-loop-card__meta {
		display: inline-block;
		width: fit-content;
	}

	.hdh-job-card--volunteer .hdh-job-card__title {
		font-size: 24px;
		line-height: 28.8px;
		margin-top: 10px;
	}

	.hdh-job-card__meta--volunteer {
		font-size: 16px;
		line-height: 27.2px;
	}

	.hdh-job-card:not(.hdh-job-card--volunteer) {
		padding: 22px;
	}

	.hdh-job-card__meta:not(.hdh-job-card__meta--volunteer) {
		flex-direction: column;
	}
}

@media (max-width: 500px) {
	.hdh-loop-grid {
		column-gap: 0;
		grid-auto-rows: auto;
		grid-template-columns: minmax(0, 1fr) !important;
		row-gap: 8%;
	}

	.hdh-loop-grid--jobs {
		row-gap: 40px;
	}

	.hdh-loop-grid--research {
		row-gap: 20px;
	}
}
