
/*
//
// Style One - Related Stories - START
//
*/

.wp-block-query.is-style-query-style-one {
	margin-top: 2.0rem;
}

.wp-block-query.is-style-query-style-one .wp-block-post-title {
	margin-bottom: 0.75rem;
}
.wp-block-query.is-style-query-style-one .wp-block-post-title a {
	color: var( --wp--preset--color--pen-text-primary );
	line-height: 1.333;
}

.wp-block-query.is-style-query-style-one .wp-block-post-title a:hover {
	text-decoration: underline;
}

.wp-block-query.is-style-query-style-one .wp-block-post-featured-image,
.wp-block-query.is-style-query-style-one .wp-block-post-title,
.wp-block-query.is-style-query-style-one .wp-block-post-date,
.wp-block-query.is-style-query-style-one .wp-block-post {

}

.wp-block-query.is-style-query-style-one .wp-block-post-featured-image img {
	border-radius: 0.5rem;
}

.wp-block-query.is-style-query-style-one .is-layout-grid {
	gap: 2.5rem;
}

.wp-block-query.is-style-query-style-one .wp-block-post-date a {
	text-decoration: none;
	color: var( --wp--preset--color--pen-text-primary );
}


.wp-block-query .wp-block-post-template {
	grid-template-columns: 1fr !important;
}

/*
//
// Style One - name - END
//
*/

/*
//
// Style Two - Cards - Products - START
// CPT: Therapies & Conditions
*/

.wp-block-query.is-style-query-style-two {

}

.wp-block-query.is-style-query-style-two .wp-block-post.products {
	border-radius: 0.5rem;
	box-shadow: 3px 6px 16px 0 #44444433;
	transition:  200ms ease-in-out;
}

.wp-block-query.is-style-query-style-two .wp-block-post-featured-image img {
	border-radius: 0.5rem;
}



.wp-block-query.is-style-query-style-two li.wp-block-post {
	position: relative;
	background-color: white;
	padding: 2.0rem 0.5rem;
}

.wp-block-query.is-style-query-style-two li.wp-block-post h6.wp-block-post-title {
	margin: 0px;
}

.wp-block-query.is-style-query-style-two li.wp-block-post .wp-block-buttons {
	margin-top: 1.5rem;
}

.wp-block-query.is-style-query-style-two li.wp-block-post:hover {
	box-shadow: 0 0 1rem #44444433;
	transform: translate(0, -0.125rem);
}
.wp-block-query.is-style-query-style-two li.wp-block-post:hover .wp-block-button.is-style-style-three a::after {
	transform: translateX( 0.3rem );
}

.wp-block-query.is-style-query-style-two li.wp-block-post > a.wp-block-read-more {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
}

.wp-block-query.is-style-query-style-two .wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 2rem;
}

.wp-block-query.is-style-query-style-two .wp-block-query-pagination .wp-block-query-pagination-numbers a {
	text-decoration: none;
}

/* ==========================================================================
	 Product archive – taxonomy filter bar // ALL filters
	 ======================================================================= */
.wp-block-query > .wp-block-group:has(.wp-block-query-filter) {
	display:flex;
	flex-wrap:wrap;
	gap:2rem;
	align-items:flex-end;
	justify-content:center;
	margin-block-end:2rem;
}

.wp-block-query-filter {
	position:relative;
	min-width: 14rem;
	margin-left: 2rem !important;
	margin-right: 2rem !important;
}

/* helper label (“Use select to filter by…”) */
.wp-block-query-filter__label {
	display:block;
	margin-block-end:.25rem;
	font:400 .8rem/1.2 system-ui, sans-serif;
	color:#6c6c6c;
}

/* custom-styled <select> */
.wp-block-query-filter__select {
	appearance:none;                /* removes native arrow (Chrome / Safari) */
	-moz-appearance:none;           /* Firefox */
	background:none;
	border:0;
	border-bottom: 1px solid var( --wp--preset--color--pen-red-new );
	padding: 0.35rem 1.75rem .25rem 0;
	font: 500 1rem/1.3 system-ui, sans-serif;
	color: var( --wp--preset--color--pen-red-new );
	width: 100%;
	cursor: pointer;
}
.wp-block-query-filter__select:focus {
	outline: blue;
	border-bottom-color:#333;
}

/* little ▼ arrow (pseudo-element on the wrapper) */
.wp-block-query-filter::after {
	content:'';
	position: absolute;
	right: 0.4rem;
	top: 2rem;
	width: 14px;
	height: 9px;
	mask: url( "/wp-content/themes/penumbra-inc-3-0/assets/images/svg/caret-down.svg" ) no-repeat center;
	mask-size: contain;
	background-color: var( --wp--preset--color--pen-red-new );
	pointer-events: none;
}

/* flex wrapper around both filters */
/* .wp-container-core-group-is-layout-6c531013{
	display:flex;
	flex-wrap:wrap;
	gap:2rem;
	align-items:flex-end;
	justify-content:center;
	margin-block-end:2rem;
} */

/* mobile tweak */
@media ( max-width:768px ){
	.wp-block-query > .wp-block-group:has(.wp-block-query-filter) {
		flex-direction:column;
		align-items:flex-start;
		gap:1.25rem;
	}

	.wp-block-query-filter {
		width: 85%;
	}
}




/*
//
// Style Two - Cards - Products - END
//
*/



/*
//
// Style THREE - Cards - Therapies and Conditions - START
//
*/

.wp-block-query.is-style-query-style-three {

}

.wp-block-query.is-style-query-style-three .wp-block-post.therapies_conditions {
	border-radius: 0.5rem;
	box-shadow: 3px 6px 16px 0 #44444433;
	transition:  200ms ease-in-out;
}

.wp-block-query.is-style-query-style-three .wp-block-post-featured-image {
	margin-bottom: 0rem;
	position: relative;
	display: block;
}

.wp-block-query.is-style-query-style-three .wp-block-post-featured-image img {
	//border-radius: 0.5rem;
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
	border-bottom-left-radius: 0.0rem;
	border-bottom-right-radius: 0.0rem;
}

.wp-block-query.is-style-query-style-three .wp-block-post-featured-image::after {
	content: '';
	position: absolute;
	left: 30px;
	bottom: -2px;
	width: 18%;
	height: 4px;
	background: var( --wp--preset--color--pen-red-new, #b5121b );
}

.wp-block-query.is-style-query-style-three li.wp-block-post {
	position: relative;
	background-color: white;
}

.wp-block-query.is-style-query-style-three li.wp-block-post .wp-block-group.is-layout-flex {
	flex-direction: column;

	padding: 2rem;

	justify-content:flex-start;
	align-items:flex-start;
	text-align:left;
	row-gap:.5rem;
}
.wp-block-query.is-style-query-style-three
	li.wp-block-post
	.is-content-justification-center> *{
	margin-left:0;
	margin-right:0;
}

.wp-block-query.is-style-query-style-three li.wp-block-post .wp-block-group.is-layout-flex .wp-block-button__link.wp-element-button {
	padding-left: 0rem !important;
}

.wp-block-query.is-style-query-style-three .taxonomy-therapies_conditions_type a {
	text-decoration: none !important;
	text-transform: uppercase;

}

.wp-block-query.is-style-query-style-three li.wp-block-post h6.wp-block-post-title {
	margin: 0px;
}

.wp-block-query.is-style-query-style-three li.wp-block-post .wp-block-buttons {
	margin-top: 0.0rem;
}

.wp-block-query.is-style-query-style-three li.wp-block-post:hover {
	box-shadow: 0 0 1rem #44444433;
	transform: translate(0, -0.125rem);
}
.wp-block-query.is-style-query-style-three li.wp-block-post:hover .wp-block-button.is-style-style-three a::after {
	transform: translateX( 0.3rem );
}

.wp-block-query.is-style-query-style-three li.wp-block-post > a.wp-block-read-more {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
}

.wp-block-query.is-style-query-style-three .wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 2rem;
}

.wp-block-query.is-style-query-style-three .wp-block-query-pagination .wp-block-query-pagination-numbers a {
	text-decoration: none;
}

.wp-block-query.is-style-query-style-three .wp-container-core-group-is-layout-6c531013 {
	margin-bottom: 0rem;
}

/*
// Style THREE - mid - Patient Stories
*/

.wp-block-query.is-style-query-style-three .wp-block-post.patient_stories {
	border-radius: 0.5rem;
	box-shadow: 3px 6px 16px 0 #44444433;
	transition:  200ms ease-in-out;
}

/*
//
// Style THREE - Cards - Therapies and Conditions - END
//
*/

/*
//
// Style FOUR - Cards - Clinical Evidence - START
//
*/



.wp-block-query.is-style-query-style-four .wp-block-post-featured-image {
	margin-bottom: 0rem;
	position: relative;
	display: block;
}

.wp-block-query.is-style-query-style-four .wp-block-post-featured-image img {
	height: 90px;
	width: 90px;
}

.wp-block-query.is-style-query-style-four .wp-block-post-featured-image::after {

}

.wp-block-query.is-style-query-style-four li.wp-block-post {
	position: relative;

}

.wp-block-query.is-style-query-style-four li.wp-block-post .wp-block-group.is-layout-flex {
	flex-direction: column;
	margin-top: 1.5rem;
	justify-content :flex-start;
	align-items: flex-start;
	text-align: left;
	row-gap: 0.5rem;
}

.wp-block-query.is-style-query-style-four
	li.wp-block-post
	.is-content-justification-center> *{
	margin-left: 0;
	margin-right: 0;
}

.wp-block-query.is-style-query-style-four li.wp-block-post .wp-block-group.is-layout-flex .wp-block-button__link.wp-element-button {
	padding-left: 0rem !important;
}

.wp-block-query.is-style-query-style-four .taxonomy-clinical_evidence_category a {
	text-decoration: none !important;
	text-transform: uppercase;
	color: var( --wp--preset--color--pen-gray-text-01 );
	font-weight: 500;
	letter-spacing: 1px;
}

.wp-block-query.is-style-query-style-four li.wp-block-post h6.wp-block-post-title {
	margin: 0px;
}

.wp-block-query.is-style-query-style-four li.wp-block-post .wp-block-buttons {
	margin-top: 0.0rem;
}

.wp-block-query.is-style-query-style-four li.wp-block-post:hover {

}
.wp-block-query.is-style-query-style-four li.wp-block-post:hover .wp-block-button.is-style-style-three a::after {
	transform: translateX( 0.3rem );
}

.wp-block-query.is-style-query-style-four li.wp-block-post > a.wp-block-read-more {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
}

.wp-block-query.is-style-query-style-four .wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 2rem;
}

.wp-block-query.is-style-query-style-four .wp-block-query-pagination .wp-block-query-pagination-numbers a {
	text-decoration: none;
}

.wp-block-query.is-style-query-style-four .wp-container-core-group-is-layout-6c531013 {
	margin-bottom: 0rem;
}

/*
//
// Style FOUR - Cards - Clinical Evidence - END
//
*/










/*
//
// Style FIVE - Videos - START
//
*/

.wp-block-query.is-style-query-style-five .wp-block-post.therapies_conditions {

}

.wp-block-query.is-style-query-style-five .wp-block-post-featured-image {
	margin-bottom: 0rem;
	position: relative;
	display: block;
}

.wp-block-query.is-style-query-style-five .wp-block-post-featured-image img {
	width: 100%;
}

.wp-block-query.is-style-query-style-five .wp-block-post-featured-image::after {

}

.wp-block-query.is-style-query-style-five li.wp-block-post {
	position: relative;

}

.wp-block-query.is-style-query-style-five li.wp-block-post .wp-block-group.is-layout-flex {
	flex-direction: column;
	margin-top: 1.5rem;
	justify-content :flex-start;
	align-items: flex-start;
	text-align: left;
	row-gap: 0.5rem;
}

.wp-block-query.is-style-query-style-five
	li.wp-block-post
	.is-content-justification-center> *{
	margin-left: 0;
	margin-right: 0;
}

.wp-block-query.is-style-query-style-five li.wp-block-post .wp-block-group.is-layout-flex .wp-block-button__link.wp-element-button {
	padding-left: 0rem !important;
}

.wp-block-query.is-style-query-style-five .taxonomy-clinical_evidence_category a {
	text-decoration: none !important;
	text-transform: uppercase;
	color: var( --wp--preset--color--pen-gray-text-01 );
	font-weight: 500;
	letter-spacing: 1px;
}

.wp-block-query.is-style-query-style-five li.wp-block-post h6.wp-block-post-title {
	margin: 0px;
}

.wp-block-query.is-style-query-style-five li.wp-block-post .wp-block-buttons {
	margin-top: 0.0rem;
}

.wp-block-query.is-style-query-style-five li.wp-block-post:hover .wp-block-button.is-style-style-three a::after {
	transform: translateX( 0.3rem );
}

.wp-block-query.is-style-query-style-five li.wp-block-post > a.wp-block-read-more {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
}

.wp-block-query.is-style-query-style-five .wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 2rem;
}

.wp-block-query.is-style-query-style-five .wp-block-query-pagination .wp-block-query-pagination-numbers a {
	text-decoration: none;
}

.wp-block-query.is-style-query-style-five .wp-container-core-group-is-layout-6c531013 {
	margin-bottom: 0rem;
}

.wp-block-query.is-style-query-style-five li.type-videos .wp-block-post-featured-image::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	transform: translate(-50%, -50%);
	background: url( ../images/svg/play.svg ) center / contain no-repeat;
	pointer-events: none;
	transition: transform .25s ease;
	z-index: 2;
}

.wp-block-query.is-style-query-style-five li.type-videos .wp-block-post-featured-image img.videos-thumbnail {
	display: block;
	width: 100%;
	height: auto;
}

.wp-block-query.is-style-query-style-five li.wp-block-post.type-videos:hover .wp-block-post-featured-image::after {
	transform: translate(-50%, -50%) translateX(0.1rem) translateY(-0.1rem);
}


/*
//
// Lightbox Modal - START
// duplicate css from lightbox-button-block/src/style-index.css
// maybe duplicate from lightbox-slider-block as well.
*/

.modal-underlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(11, 11, 11, 0.8);
	z-index: 999;
	align-items: center;
	justify-content: center;
	margin-top: 0px;
}

/* Beats core's `:root :where(.is-layout-constrained) > *` block-gap margin, which loads later */
body .modal-underlay {
	margin: 0;
}

.modal {
	inline-size: 90vw;
	max-inline-size: 1200px;
	block-size: auto;
	max-block-size: 90vh;
	overflow: auto;
	background: transparent;
}

/* Only <html>: overflow on <body> too would clip it to one viewport height */
html.modal-open {
	overflow: hidden;
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0rem;
	position: relative;
	background-color: #00000000;
}

.modal-body {
	display: flex;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.modal-title {
	flex: 1;
	text-align: center;
	margin: 0;
}

#penLightboxClose {
	font-size: 4rem ;
	background: none;
	border: none;
	padding: 0;
	margin-left: auto;
	padding-right: 0.5rem;
	cursor: pointer;
	color: #ffffff;
}

#yt_player,
.modal-body iframe {
	inline-size: 100%;
	block-size: auto;
	aspect-ratio: 16 / 9;
	max-inline-size: 1200px;
	background: #000;
}

#image_viewer {
	width: 100%;
	max-width: 1200px;
}

.wp-block-button__link.open-lightbox {
	width: unset;
}

/*
//
// Lightbox Modal - END
//
*/

/*
//
// Style FIVE - Videos - END
//
*/


/*
//
// Style SIX - Leadership - START
//
*/

.wp-block-query.is-style-query-style-six {
	margin-top: 0px;
}

.wp-block-query.is-style-query-style-six .wp-block-post.leadership {
	box-shadow: 3px 6px 16px 0 #44444433;
	transition:  200ms ease-in-out;
}

.wp-block-query.is-style-query-style-six li.wp-block-post {
	position: relative;
	background-color: white;
	border-radius:  0.5rem;
	padding: 2.5rem;

}




/* Leadership cards */
.is-style-query-style-six .wp-block-group.is-nowrap {
		flex-direction: column;
		align-items: center;
}

.is-style-query-style-six .wp-block-post-title {
		width: 100%;
		text-align: center !important;
		margin: 0 0 .5rem;
}

.is-style-query-style-six .pen-leadership-title {
		text-align: center;
}





.wp-block-query.is-style-query-style-six li.wp-block-post .wp-block-group.is-layout-flex {
	flex-direction: column;
	margin-top: 1.5rem;
	justify-content: center;
	align-items: center;
	text-align: center;
	row-gap: 0.5rem;
}

.wp-block-query.is-style-query-style-six
	li.wp-block-post
	.is-content-justification-center> *{
	margin-left: 0;
	margin-right: 0;
}

.wp-block-query.is-style-query-style-six li.wp-block-post .wp-block-group.is-layout-flex .wp-block-button__link.wp-element-button {
	padding-left: 0rem !important;
}

.wp-block-query.is-style-query-style-six .taxonomy-clinical_evidence_category a {
	text-decoration: none !important;
	text-transform: uppercase;
	color: var( --wp--preset--color--pen-gray-text-01 );
	font-weight: 500;
	letter-spacing: 1px;
}

.wp-block-query.is-style-query-style-six li.wp-block-post h6.wp-block-post-title {
	margin: 0px;
}

.wp-block-query.is-style-query-style-six li.wp-block-post .wp-block-buttons {
	margin-top: 0.0rem;
}

.wp-block-query.is-style-query-style-six li.wp-block-post:hover {
	transform: translateY( -0.3rem );
}
.wp-block-query.is-style-query-style-six li.wp-block-post:hover .wp-block-button.is-style-style-three a::after {
	transform: translateX( 0.3rem );
}

.wp-block-query.is-style-query-style-six li.wp-block-post > a.wp-block-read-more {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
}

/* .wp-block-query.is-style-query-style-six .wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 2rem;
}

.wp-block-query.is-style-query-style-six .wp-block-query-pagination .wp-block-query-pagination-numbers a {
	text-decoration: none;
} */

.wp-block-query.is-style-query-style-six .wp-container-core-group-is-layout-6c531013 {
	margin-bottom: 0rem;
}

.leadership .wp-block-post-title {
	font-size: 1.5rem;
}


/*
//
// Style SIX - Leadership - END
//
*/



/*
//
// Style SEVEN - Wide Cards - Cases - START
//
*/

.wp-block-query.is-style-query-style-seven {

}

.wp-block-query.is-style-query-style-seven .wp-block-post.cases {
	border-radius: 0.5rem;
	box-shadow: 3px 6px 16px 0 #44444433;
	transition:  200ms ease-in-out;
}

.wp-block-query.is-style-query-style-seven .wp-block-post-featured-image {
	margin-bottom: 0rem;
	padding: 0rem;
	position: relative;
	display: block;
}

.wp-block-query.is-style-query-style-seven .wp-block-post-featured-image img {
	/* border-radius: 0.5rem; */
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
	border-bottom-left-radius: 0.0rem;
	border-bottom-right-radius: 0.0rem;
}

.wp-block-query.is-style-query-style-seven .wp-block-columns {
	margin-bottom: 0px !important;
}

.wp-block-query.is-style-query-style-seven li.wp-block-post {
	position: relative;
	background-color: white;
}

.wp-block-query.is-style-query-style-seven li.wp-block-post .wp-block-group.is-layout-flex {
	flex-direction: column;
	padding: 0rem 1.5rem 1.5rem 2rem;
	justify-content:flex-start;
	align-items:flex-start;
	text-align:left;
	row-gap:.5rem;
}

.wp-block-query.is-style-query-style-seven
	li.wp-block-post
	.is-content-justification-center> *{
	margin-left:0;
	margin-right:0;
}

.wp-block-query.is-style-query-style-seven li.wp-block-post .wp-block-group.is-layout-flex .wp-block-button__link.wp-element-button {
	padding-left: 0rem !important;
}

.wp-block-query.is-style-query-style-seven .taxonomy-case_procedures a {
	text-decoration: none !important;
	text-transform: uppercase;

}

.wp-block-query.is-style-query-style-seven li.wp-block-post h6.wp-block-post-title {
	margin: 0px;
}

.wp-block-query.is-style-query-style-seven li.wp-block-post .wp-block-buttons {
	margin-top: 0.0rem;
}

.wp-block-query.is-style-query-style-seven li.wp-block-post:hover {
	box-shadow: 0 0 1rem #44444433;
	transform: translate(0, -0.125rem);
}
.wp-block-query.is-style-query-style-seven li.wp-block-post:hover .wp-block-button.is-style-style-three a::after {
	transform: translateX( 0.3rem );
}

.wp-block-query.is-style-query-style-seven li.wp-block-post > a.wp-block-read-more {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
}

.wp-block-query.is-style-query-style-seven .wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 2rem;
}

.wp-block-query.is-style-query-style-seven .wp-block-query-pagination .wp-block-query-pagination-numbers a {
	text-decoration: none;
}

.wp-block-query.is-style-query-style-seven .wp-container-core-group-is-layout-6c531013 {
	margin-bottom: 0rem;
}

.wp-block-query.is-style-query-style-seven .pen-cases-preheadline {
	font-weight: 400;
	font-size: 1.2rem;
	text-transform: uppercase;
}

.wp-block-query.is-style-query-style-seven .pen-cases-subtitle {
	padding-top: 0.5rem;
	font-size: 1.0rem;
	line-height: 1.0rem;
}

.wp-block-query.is-style-query-style-seven .pen-cases-doctors {
	/* padding-top: 0.5rem; */
	font-size: 1.0rem;
	line-height: 0.7rem;
}

.wp-block-query.is-style-query-style-seven .pen-cases-location {
	padding-bottom: 1.0rem;
	font-size: 1.0rem;
	line-height: 1.0rem;
}

.wp-block-query.is-style-query-style-seven .wp-block-post-title {
	font-size: 1.7rem;
}

/*
//
// Style SEVEN - Wide Cards - Cases - END
//
*/


/*
//
// Style EIGHT - Panels - Event Listings - START
//
*/

.wp-block-query.is-style-query-style-eight {

}

.wp-block-query.is-style-query-style-eight .pen-alt-3-2 {
	display: grid !important;
	/* grid-template-columns: repeat(6, minmax(0, 1fr)) !important; */
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	gap: 2rem;
}

.pen-alt-3-2 img {
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: cover;  /* you already had this */
}




.wp-block-query.is-style-query-style-eight .wp-block-post.event_listings {
	border-radius: 0.5rem;
	box-shadow: 3px 6px 16px 0 #44444433;
	transition:  200ms ease-in-out;
}

.wp-block-query.is-style-query-style-eight .wp-block-post-featured-image {
	margin-bottom: 0rem;
	position: relative;
	display: block;
}

.wp-block-query.is-style-query-style-eight .wp-block-post-featured-image img {
	//border-radius: 0.5rem;
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
	border-bottom-left-radius: 0.0rem;
	border-bottom-right-radius: 0.0rem;
}

/* .wp-block-query.is-style-query-style-eight .wp-block-post-featured-image::after {
	content: '';
	position: absolute;
	left: 30px;
	bottom: -2px;
	width: 18%;
	height: 4px;
	background: var( --wp--preset--color--pen-red-new, #b5121b );
} */

.wp-block-query.is-style-query-style-eight li.wp-block-post {
	position: relative;
	background-color: white;
}

.wp-block-query.is-style-query-style-eight li.wp-block-post .wp-block-group.pen-event-listings-vertical-group {
	flex-direction: column;
	padding: 1rem;
	justify-content:flex-start;
	align-items:flex-start;
	text-align:left;
	row-gap:.5rem;
}
.wp-block-query.is-style-query-style-eight
	li.wp-block-post
	.is-content-justification-center> *{
	margin-left:0;
	margin-right:0;
}

.wp-block-query.is-style-query-style-eight li.wp-block-post .wp-block-group.is-layout-flex .wp-block-button__link.wp-element-button {
	padding-left: 0rem !important;
}

.wp-block-query.is-style-query-style-eight li.wp-block-post h6.wp-block-post-title {
	margin: 0px;
}

.wp-block-query.is-style-query-style-eight li.wp-block-post .wp-block-buttons {
	margin-top: 0.0rem;
}

.wp-block-query.is-style-query-style-eight li.wp-block-post:hover {
	box-shadow: 0 0 1rem #44444433;
	transform: translate(0, -0.125rem);
}
.wp-block-query.is-style-query-style-eight li.wp-block-post:hover .wp-block-button.is-style-style-three a::after {
	transform: translateX( 0.3rem );
}

.wp-block-query.is-style-query-style-eight li.wp-block-post > a.wp-block-read-more {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
}

.wp-block-query.is-style-query-style-eight .wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 2rem;
}

.wp-block-query.is-style-query-style-eight .wp-block-query-pagination .wp-block-query-pagination-numbers a {
	text-decoration: none;
}

.wp-block-query.is-style-query-style-eight .wp-container-core-group-is-layout-6c531013 {
	margin-bottom: 0rem;
}

.wp-block-query.is-style-query-style-eight .pen-event-listings-type {
	color: var( --wp--preset--color--pen-gray-text-01 );
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 1px;

}

.wp-block-query.is-style-query-style-eight .pen-event-listings-date-span,
.wp-block-query.is-style-query-style-eight .pen-event-listings-location {
	color: var( --wp--preset--color--pen-text-primary );
	font-size: 0.8rem;

}

.wp-block-query.is-style-query-style-eight li.wp-block-post .wp-block-group.pen-event-listings-horizontal-group {
	flex-direction: column;
	padding: 0rem;
	gap: 0.2rem;
}


/*
//
// Style EIGHT - Panels - Event Listings - END
//
*/


/*
//
// Style NINE - Cards - Blog - START
//
*/

.wp-block-query.is-style-query-style-nine ul {
	margin-bottom: 3rem;
}

.wp-block-query.is-style-query-style-nine .wp-block-post-featured-image {
	margin-bottom: 0rem;
	position: relative;
	display: block;
}

.wp-block-query.is-style-query-style-nine .wp-block-post-featured-image img {
	width: 100%;
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
	border-bottom-left-radius: 0.0rem;
	border-bottom-right-radius: 0.0rem;
}

.wp-block-query.is-style-query-style-nine .wp-block-post-featured-image::after {

}

.wp-block-query.is-style-query-style-nine li.wp-block-post.blog {
	position: relative;
	border-radius: 0.5rem;
	box-shadow: 3px 6px 16px 0 #44444433;
	transition: 200ms ease-in-out;
	background-color: white;
}

.wp-block-query.is-style-query-style-nine li.wp-block-post .wp-block-group.is-layout-flex {
	flex-direction: column;
	/* margin-top: 1.5rem; */
	justify-content :flex-start;
	align-items: flex-start;
	text-align: left;
	row-gap: 0.5rem;
	padding: 2.0rem;
	background-color: white;
	border-bottom-left-radius: 0.5rem;
	border-bottom-right-radius: 0.5rem;
}

.wp-block-query.is-style-query-style-nine
	li.wp-block-post
	.is-content-justification-center> *{
	margin-left: 0;
	margin-right: 0;
}

.wp-block-query.is-style-query-style-nine li.wp-block-post .wp-block-group.is-layout-flex .wp-block-button__link.wp-element-button {
	padding-left: 0rem !important;
}

.wp-block-query.is-style-query-style-nine .taxonomy-blog_category {
	text-decoration: none !important;
	text-transform: uppercase;
	color: var( --wp--preset--color--pen-gray-text-01 );
	font-weight: 500;
	letter-spacing: 0.5px;
}

.wp-block-query.is-style-query-style-nine .wp-block-post-terms__separator {
	color: var( --wp--preset--color--pen-gray-text-01 );
}

.wp-block-query.is-style-query-style-nine li.wp-block-post h6.wp-block-post-title {
	margin: 0px;
}

.wp-block-query.is-style-query-style-nine li.wp-block-post .wp-block-buttons {
	margin-top: 0.0rem;
}



.wp-block-query.is-style-query-style-nine li.wp-block-post:hover {
	box-shadow: 0 0 1rem #44444433;
	transform: translate(0, -0.125rem);
}
.wp-block-query.is-style-query-style-nine li.wp-block-post:hover .wp-block-button.is-style-style-three a::after {
	transform: translateX( 0.3rem );
}

.wp-block-query.is-style-query-style-nine li.wp-block-post > a.wp-block-read-more {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
}

.wp-block-query.is-style-query-style-nine .wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 2rem;
}

.wp-block-query.is-style-query-style-nine .wp-block-query-pagination .wp-block-query-pagination-numbers a {
	text-decoration: none;
}

.wp-block-query.is-style-query-style-nine .wp-container-core-group-is-layout-6c531013 {
	margin-bottom: 0rem;
}

/*
//
// Style NINE - Cards - Blog - END
//
*/


/*
//
// Style TEN - list - News - START
//
*/

.wp-block-query.is-style-query-style-ten ul {
	margin-bottom: 3rem;
}

.wp-block-query.is-style-query-style-ten li.wp-block-post.blog {
	position: relative;
	/* border-radius: 0.5rem; */
	/* box-shadow: 3px 6px 16px 0 #44444433; */
	/* transition: 200ms ease-in-out; */
	/* background-color: white; */
}

.wp-block-query.is-style-query-style-ten li.wp-block-post .wp-block-group.is-layout-flex {
	flex-direction: column;
	/* margin-top: 1.5rem; */
	justify-content :flex-start;
	align-items: flex-start;
	text-align: left;
	row-gap: 0.5rem;
	/* padding: 2.0rem; */
	/* background-color: white; */
	/* border-bottom-left-radius: 0.5rem;
	border-bottom-right-radius: 0.5rem; */
}

.wp-block-query.is-style-query-style-ten
	li.wp-block-post
	.is-content-justification-center> *{
	margin-left: 0;
	margin-right: 0;
}

.wp-block-query.is-style-query-style-ten li.wp-block-post .wp-block-group.is-layout-flex .wp-block-button__link.wp-element-button {
	padding-left: 0rem !important;
}

.wp-block-query.is-style-query-style-ten .taxonomy-blog_category a {
	text-decoration: none !important;
	text-transform: uppercase;
	color: var( --wp--preset--color--pen-gray-text-01 );
	font-weight: 500;
	letter-spacing: 0.5px;
}

.wp-block-query.is-style-query-style-ten .wp-block-post-terms__separator {
	color: var( --wp--preset--color--pen-gray-text-01 );
}

.wp-block-query.is-style-query-style-ten li.wp-block-post .wp-block-post-title {
	color: var( --wp--preset--color--pen-red-new );
	text-decoration: underline;
	line-height: 2rem;
}

.wp-block-query.is-style-query-style-ten li.wp-block-post .wp-block-post-title:hover {
	cursor: pointer;
	text-decoration: none;
}

.wp-block-query.is-style-query-style-ten li.wp-block-post .wp-block-buttons {
	margin-top: 0.0rem;
}



/* .wp-block-query.is-style-query-style-ten li.wp-block-post:hover {
	box-shadow: 0 0 1rem #44444433;
	transform: translate(0, -0.125rem);
}
.wp-block-query.is-style-query-style-ten li.wp-block-post:hover .wp-block-button.is-style-style-three a::after {
	transform: translateX( 0.3rem );
} */

/* .wp-block-query.is-style-query-style-ten li.wp-block-post > a.wp-block-read-more {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
} */

.wp-block-query.is-style-query-style-ten .wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 2rem;
}

.wp-block-query.is-style-query-style-ten .wp-block-query-pagination .wp-block-query-pagination-numbers a {
	text-decoration: none;
}

.wp-block-query.is-style-query-style-ten .wp-container-core-group-is-layout-6c531013 {
	margin-bottom: 0rem;
}

.wp-block-query.is-style-query-style-ten .pen-case-org {
	color: var( --wp--preset--color--pen-text-primary );
	font-size: 1.1rem;
	font-weight: 500;
}

.wp-block-query.is-style-query-style-ten .wp-block-post-date {
	margin-bottom: 1.5rem;
}

/*
//
// Style TEN - list - News - END
//
*/


/*
//
// SEARCH - list - SEARCH - START
//
*/

.pen-search-input.wp-block-search .wp-block-search__inside-wrapper {
	flex-direction: row-reverse;
	border-bottom: 2px solid var( --wp--preset--color--pen-red-new );

}


.pen-search-input.wp-block-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
	height: 1em;
	width: 1em;
	cursor: pointer;
	background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 20 20' class='x-icon' ><line x1='1' y1='1' x2='19' y2='19' stroke='%23E31E36' stroke-width='2'/><line x1='19' y1='1' x2='1' y2='19' stroke='%23E31E36' stroke-width='2'/></svg>");
	/* background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 20 20' class='x-icon' ><line x1='1' y1='1' x2='19' y2='19' stroke='%23d41e3d' stroke-width='2'/><line x1='19' y1='1' x2='1' y2='19' stroke='%23d41e3d' stroke-width='2'/></svg>"); */
	/* background: no-repeat center/contain url("/wp-content/themes/penumbra-inc-3-0/assets/images/svg/x.svg"); */
}


.pen-search-input.wp-block-search .wp-block-search__input {
	border: none;
	font-size: 1.5rem;
}

.pen-search-input.wp-block-search .wp-block-search__button {
	margin-left: 0px;
}


/*
//
// SEARCH - list - SEARCH - END
//
*/



/* Small devices (landscape phones) */
@media (min-width: 576px) {

}

/* Medium devices (tablets) - Mobile Nav */
@media (min-width: 768px) {

	.wp-block-query .wp-block-post-template {
		grid-template-columns: 1fr 1fr !important;
	}

	/* SEVEN - Cases - START */
	/* keep cases 1-column until the 1100px breakpoint, overriding the generic 2-column rule above */
	.wp-block-query.is-style-query-style-seven .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}

	.wp-block-query.is-style-query-style-seven .pen-cases-preheadline {
		font-weight: 400;
		font-size: 1.1rem;
	}

	.wp-block-query.is-style-query-style-seven .pen-cases-subtitle {
		padding-top: 0.5rem;
		font-size: 1.0rem;
		line-height: 1.0rem;
	}

	.wp-block-query.is-style-query-style-seven .pen-cases-doctors {
		/* padding-top: 0.5rem; */
		font-size: 1.0rem;
		line-height: 0.7rem;
	}

	.wp-block-query.is-style-query-style-seven .pen-cases-location {
		padding-bottom: 1.0rem;
		font-size: 1.0rem;
		line-height: 1.0rem;
	}

	.wp-block-query.is-style-query-style-seven .wp-block-post-featured-image {
		padding: 1rem;
	}

	.wp-block-query.is-style-query-style-seven .wp-block-post-featured-image img {
		border-radius: 0.5rem;
	}

	.wp-block-query.is-style-query-style-seven li.wp-block-post .wp-block-group.is-layout-flex {
		flex-direction: column;
		padding: 2rem;
		justify-content:flex-start;
		align-items:flex-start;
		text-align:left;
		row-gap:.5rem;
	}
	/* SEVEN - Cases - END */

	/* EIGHT - Event Listings - START */
	.wp-block-query.is-style-query-style-eight .pen-alt-3-2 {
		display: grid !important;
		grid-template-columns: repeat(6, 1fr) !important;
		gap: 2rem;
	}

	.pen-alt-3-2 > * {
		grid-column: span 2;
	}

	.pen-alt-3-2 > *:nth-child(5n-1),
	.pen-alt-3-2 > *:nth-child(5n) {
		grid-column: span 3;
	}

	.wp-block-query.is-style-query-style-eight li.wp-block-post .wp-block-group.pen-event-listings-vertical-group {
		padding: 2rem;

	}




	/* force column again, override WP core rule */
	.wp-block-query.is-style-query-style-eight
		li.wp-block-post
		.wp-block-group.pen-event-listings-horizontal-group {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start !important;
		gap: 1rem;
	}

	/* just in case WP adds an auto margin */
	.wp-block-query.is-style-query-style-eight
		.pen-event-listings-location {
		margin-left: 0 !important;
		text-align: left !important;
	}

	/* EIGHT - Event Listings - END */

	/* NINE - Blog - START */

	.wp-block-query.is-style-query-style-nine .wp-block-post-template {
		display: grid !important;
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 2rem;
	}


	/* NINE - Blog - END */
}

/* Large devices (desktops) - Desktop Nav */
@media (min-width: 992px) {

	/* EIGHT - Event Listings - START */
	.wp-block-query.is-style-query-style-eight li.wp-block-post .wp-block-group.pen-event-listings-horizontal-group {
		flex-direction: row;
	}
	/* EIGHT - Event Listings - END */

	.wp-block-query .wp-block-post-template {
		grid-template-columns: 1fr 1fr 1fr 1fr !important;
	}

	/* still 1-column here; the switch to 2 columns happens at 1100px below */
	.wp-block-query.is-style-query-style-seven .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}

	.wp-block-query-filter {
		position:relative;
		min-width: 24rem;
		margin-left: 0rem !important;
		margin-right: 0rem !important;
	}

	#yt_player {
		/* height: unset; */
	}

	.leadership .wp-block-post-title {
		font-size: var( --wp--preset--font-size--pen-h-4 );
	}
}

/* Interim Sizes - Specialty */
@media (min-width: 1060px) {

}

/* Tablet breakpoint (matches theme.json viewport.tablet) - Cases switch to 2 columns */
@media (min-width: 1100px) {

	.wp-block-query.is-style-query-style-seven .wp-block-post-template {
		grid-template-columns: 1fr 1fr !important;
	}
}

/* Extra large devices (large desktops) */
@media (min-width: 1200px) {

}

/* Extra large devices (extra-large desktops) */
@media (min-width: 1400px) {

}

/* Extra Extra large devices (extra-extra-large desktops) */
@media (min-width: 1600px) {

}



