@import url('//fonts.googleapis.com/css?family=Cinzel|Lato:400,400i,700,700i&display=swap');

/************ 

TEMPLATE NOTES

Serif:  Cinzel - font-family: 'Cinzel';
Sans Serif:  Lato  - font-family: 'Lato';

Red: #841013; rgba(132,16,19,1)
Gold: #a8996a; rgba(168,153,106,1)
Light Grey: #D3D3D3
Lighter Grey: #F2F2F2

************/

body {
	color: #333;
	font-size: 1.1rem;
	font-family: 'Lato', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: .75rem 0;
	line-height: 1.3;
	font-weight: normal;
}

p {
	line-height: 1.3;
	font-size: 1.1rem;
	font-family: 'Lato', sans-serif;
}

h1 {
	color: #841013;
	font-size: 2.5rem;
	font-family: 'Cinzel';
}

h2,
.page-header h2 {
	color: #a8996a;
	font-size: 2rem;
	border-bottom: 1px solid #333;
	line-height: 1.3;
	margin: 0;
	padding: 0;
	font-family: 'Cinzel';
}

h3 {
	color: #841013;
	font-size: 2rem;
	font-family: 'Cinzel';
}

h4 {
	background: #D3D3D3;
	font-size: 1.75rem;
	color: white;
	border-radius: .2rem;
	padding: .1rem .4rem;
	font-family: 'Cinzel';
}

h5 {
	color: #a8996a;
	font-size: 1.5rem;
	text-transform: uppercase;
	font-family: 'Lato';
}

h6 {
	color: #841013;
	font-size: 1.6rem;
	font-style: italic;
}

a {
	color: #841013;
}

a:hover {
	color: #a8996a;
}

blockquote {
	color: #333;
	padding: 0 0 0 15px;
	margin: 0 0 20px;
	border-left: 5px solid #d5d5d5;
	font: italic 16px/22px Georgia, Serif;
	line-height: 1.2;
	font-size: 1.3rem;
}

address {
	font-style: italic;
	font-weight: bold;
	font-size: 1.2rem;
	line-height: 1.2;
}

/************ BUTTONS  ************/
.readon,
.button,
.btn,
p.readmore .btn {
	color: white;
	font-size: 1rem;
	text-transform: none;
	font-weight: normal;
	background: #841013;
	padding: .7rem 1.3rem;
	border-radius: .5rem;
	margin: 0;
	display: inline-block;
	line-height: 1.125rem;
	border: none;
	transition: all .2s ease-in;
}

.readon:hover,
.button:hover,
.btn:hover,
p.readmore .btn:hover {
	background: #777;
	color: white;
}

.readon a,
.button a,
.btn a,
p.readmore a,
.btn a {
	color: white;
}

.btn .icon-chevron-right {
	display: none;
}

/************ TABLES  ************/
.fancytable th {
	color: white;
	background: #D3D3D3;
	border: 1px solid #D3D3D3;
}

.fancytable td {
	border: 1px solid #D3D3D3;
}

/************ ALERT ************/
.alert .g-content {
	padding: 0;
	margin: 0;
}

.alert {
	border: none;
	padding: 0;
	margin: 0;
	background-color: #FFCFCF;
	color: #FF0000;
}

.alert h1,
.alert h2,
.alert h3,
.alert h4,
.alert h5,
.alert h6,
.alert p {
	margin-left: 20px;
	color: red;
	background: transparent;
}

/************ HERO IMAGE ************/
.hero p {
	margin: 0;
}

.hero img {
	height: 25vw;
	object-fit: cover;
	width: 100%;
	opacity: 0.5;
}

.homelayout.outline-_error .hero .g-content.g-particle {
	margin: 0;
	padding: 0;
}

@media only screen and (max-width: 767px) {
	.hero img {
		height: 24vw;
	}
}

/*********IMAGE padding - wouldn't respond to float left in base css*******************/
#g-container-main img {
	padding: 0 10px;
}

/************ HEADER ************/
#g-top {
	padding: 0 5%;
}

.logo-subpages .g-content.g-particle {
	padding: 10px 0 0 0;
	margin: 0;
}

.logo-subpages img {
	width: 30%;
	padding: 0;
}

@media only screen and (max-width: 767px) {
	.g-logo img {
		width: 65%;
	}

	.logo-subpages .g-content.g-particle {
		padding: 10px !important;
	}

	.homelayout .logo-subpages.hiddenhome {
		display: block !important;
	}
}

/************ HOMELAYOUT  ************/
.homelayout .hiddenhome {
	display: none;
}

p.buttonheading {
	margin: 0;
	padding: 0;
}

footer a {
	color: white;
}

footer a:hover {
	color: #a8996a;
}

#g-expanded h3.g-title {
	background: #841013;
	color: white;
	border-radius: .2rem;
	padding: .1rem 1rem;
	font-size: 1.75rem;
}

#g-utility h3.g-title {
	text-align: center;
	border-bottom: 1px solid #841013;
	font-size: 2vw;
	padding: 0;
}

.homelayout .button,
.homelayout .readon {
	background: #a8996a;
}

.homelayout .button:hover,
.homelayout .readon:hover {
	background: #841013;
}

#g-utility,
#g-expanded {
	padding: 0 7%;
}

/*#g-expanded {background: url(../images/template/st-michael.jpg) 90% 100% no-repeat; background-size: 33%; }*/
#g-expanded {
	background: url(../images/template/stmichael-fade.jpg) 85% 100% no-repeat;
	background-size: 15%;
}

@media only screen and (max-width: 767px) {
	#g-expanded {
		background: url(../images/template/stmichael-fade.jpg) 100% 100% no-repeat;
		background-size: contain;
	}

	#g-utility h3.g-title {
		font-size: 1.75rem;
	}
}


/************ MENU  ************/
.homelayout #g-navigation {
	padding: 10px 5%;
}

#g-navigation {
	padding: 0 5% 10px 5%;
}

#g-navigation .g-content {
	margin: 0;
	padding: 0;
}

.g-main-nav .g-standard>.g-dropdown,
.g-main-nav .g-fullwidth>.g-dropdown {
	margin-top: 0px;
}

.g-main-nav .g-toplevel>li:hover,
.g-main-nav .g-toplevel>li.active {
	background: rgba(0, 0, 0, .1);
}

.g-main-nav .g-sublevel>li:hover,
.g-main-nav .g-sublevel>li.active {
	background: rgba(0, 0, 0, .1);
}

.g-main-nav .g-toplevel>li>.g-menu-item-container {
	text-align: center;
	padding: 0.625rem 0.75rem;
}

.g-main-nav .g-toplevel>li.g-parent .g-menu-parent-indicator {
	display: none;
}

.g-main-nav .g-toplevel>li>.g-menu-item-container,
.g-main-nav .g-sublevel>li>.g-menu-item-container {
	font-size: 1rem;
}

.g-main-nav .g-toplevel>li>.g-menu-item-container {
	text-transform: uppercase;
	letter-spacing: 1px;
}

.g-main-nav ul.g-toplevel {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
}

.g-main-nav .g-standard .g-fade.g-dropdown {
	z-index: 10;
}

.g-main-nav .g-dropdown {
	border-radius: 0 0 6px 6px;
}

.g-main-nav .g-standard>.g-dropdown.g-dropdown-right,
.g-main-nav .g-fullwidth>.g-dropdown.g-dropdown-right {
	left: 0;
}

@media only screen and (max-width: 767px) {
	.homelayout #g-navigation {
		padding: 0;
	}

	.g-offcanvas-toggle {
		top: 20px;
		left: 20px;
	}

	#g-navigation {
		padding: 0;
	}
}

/************ SCROLL MENU  ************/
.fixed #g-navigation>.g-grid {
	z-index: 100;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: #841013;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
	padding: 10px 5%;
}

.fixed .g-main-nav .g-toplevel>li>.g-menu-item-container {
	color: white;
}

@media only screen and (max-width: 767px) {
	.fixed #g-navigation>.g-grid {
		padding: 0;
	}
}


/************ SIDE MENU  ************/
#g-aside .platform-content {
	padding: 0.5rem 0;
}

#g-aside .moduletable[class*="box"] {
	padding: 0.5rem;
}

#g-aside .g-content {
	padding-left: 0;
	padding-right: 0px;
}

.moduletable .nav.menu li a {
	width: 100%;
	border-radius: 0;
	padding: 10px 15px;
	color: white;
	font-weight: normal;
}

.moduletable .nav.menu li {
	transition: all .2s ease-in;
	border-radius: 3px;
	width: 100%;
	padding: 0;
	margin: 0;
}

.moduletable .nav.menu,
.moduletable .unstyled {
	border: none;
	padding: 0;
	margin: 0;
	display: block;
	background: #841013;
	border-radius: 0;
}

.moduletable .nav.menu li:last-child {
	padding-bottom: 0;
	margin-bottom: 15px;
}

.moduletable .nav.menu .nav-child li:last-child {
	margin-bottom: 0px;
}

.moduletable .nav .nav-child {
	margin-top: 0px;
}

.moduletable .nav.menu .nav-child li {
	border: none;
	margin-left: 20px;
	padding-right: 20px;
}

.moduletable .nav.menu li.current.active a,
.moduletable .nav.menu li a:hover {
	color: #841013;
	background: #a8996a;
	font-weight: normal;
}

/************ DOCUMENTS SIDE MODULE ************/
.box5.moduletable {
	color: #841013;
}

.box5 a {
	box-shadow: none;
}

#g-aside .g-title {
	padding: 0;
}

#g-aside h3.g-title {
	font-size: 1.75rem;
}

/************ SOCIAL MEDIA ICONS WHITE ************/
.g-social a {
	color: white;
}

.g-social a:hover {
	color: #a8996a !important;
}

/************ CENTER VERTICALLY  ************/
.g-block.align-y {
	display: flex;
	justify-content: center;
	align-items: center;
}

.g-block.search.align-y form {
	margin-bottom: 0;
}

/************ SEARCH ************/
input[type="search"] {
	background: transparent;
	color: white;
	border: 2px solid white;
	border-radius: 7px;
}

input[type="search"]:hover {
	border-color: rgba(255, 255, 255, 0.3);
}

input[type="search"]:focus {
	border-color: rgba(255, 255, 255, .75);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(168, 153, 106, .6);
}

/************ OFFCANVAS MENU  ************/
.g-offcanvas-toggle {
	color: white;
}

#g-offcanvas #g-mobilemenu-container .g-toplevel>li>.g-menu-item-container>.g-menu-item-content,
#g-offcanvas #g-mobilemenu-container .g-sublevel>li>.g-menu-item-container>.g-menu-item-content {
	font-weight: normal;
}

#g-offcanvas .g-menu-item-title {
	color: white;
}

#g-offcanvas #g-mobilemenu-container ul>li>a.g-menu-item-container:hover {
	background: rgba(0, 0, 0, 0.15);
}

#g-offcanvas #g-mobilemenu-container ul>li.g-menu-item-link-parent>.g-menu-item-container>.g-menu-parent-indicator {
	border: none;
	background: none;
}

#g-offcanvas #g-mobilemenu-container ul>li.g-menu-item-link-parent>.g-menu-item-container>.g-menu-parent-indicator:hover {
	border: none;
	background: none;
}

#g-feature:before {
	border: none;
}

#g-offcanvas a {
	color: white;
}

#g-offcanvas #g-mobilemenu-container .g-toplevel>li>.g-menu-item-container .g-menu-parent-indicator:after,
#g-offcanvas #g-mobilemenu-container ul>li>.g-menu-item-container {
	color: white;
}

/************ ADMIN FOOTER  ************/
#g-copyright .g-block {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

#g-copyright .g-content {
	margin: 0;
	padding: 0;
}

#g-copyright {
	margin: -25px 0 0 0;
	padding: 0;
	height: 40px;
}

#g-copyright a .fa.fa-lock {
	color: #e5e5e5;
}

#g-copyright a:hover .fa.fa-lock {
	color: #a8996a;
}

@media only screen and (max-width: 767px) {
	#g-copyright {
		display: none !important;
	}
}

/************ ROTATOR - FULL WIDTH / LOGO & QUICKLINKS ************/
.blockcolor,
.blockcolorfill {
	background: #841013;
	transition: all .3s ease-in;
}

.blockcolor:hover {
	background: #b9ad87;
}

.buttonbuffertopnone.buttonbuffer {
	margin-top: 0px;
	/*box-shadow: 10px 0px 20px rgba(0,0,0,0.3);*/
}

.buttonbuffer {
	margin-top: 5px;
	margin-bottom: 5px;
}

.buttonbuffertop {
	margin-top: 5px;
}

.buttonbufferbottomdouble {
	margin-bottom: 10px;
}

.buttonbufferbottom {
	margin-bottom: 5px;
}

.headerarea {
	display: flex;
	flex-direction: column;
}

.blockcolorfill {
	flex: 1;
}

.headerareamod,
.headerareamod .g-content,
.headerareamod .platform-content,
.headerareamod .moduletable,
.headerareamod .custom,
.headerareamod .headerarea {
	height: 100%;
}

.blockcolor {
	text-align: center;
	padding: 10px 0;
}

.blockcolor a {
	color: white;
	text-align: center;
	font-size: 1.3vw;
}

.blockcolor img {
	padding: 1vw 10px;
	max-width: 25vw;
}

.pagination-active {
	margin-bottom: 0px;
}

.allcaps {
	text-transform: uppercase;
}

.sprocket-features-list li .sprocket-features-container {
	width: 100%;
	height: 40vw;
	overflow: hidden;
	position: relative;
}

.arrows-active .sprocket-features-list {
	margin-left: 0px;
	margin-right: 0px;
}

.sprocket-features-list li .sprocket-features-container .sprocket-features-img-container {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 1;
}

.layout-showcase .sprocket-features-img-container img {
	float: none;
	width: 100%;
	height: 40vw;
	object-fit: cover;
	object-position: center;
}

.layout-showcase .sprocket-features-pagination li {
	padding: 8px;
}

.pagination-active .sprocket-features-pagination {
	bottom: 15px;
}

.layout-showcase .sprocket-features-arrows .next {
	right: 10px;
}

.layout-showcase .sprocket-features-arrows .prev {
	left: 10px;
}

.layout-showcase .sprocket-features-arrows .arrow {
	box-shadow: none;
	color: rgba(255, 255, 255, 0.7);
	font-size: 3rem;
}

.layout-showcase .sprocket-features-img-container {
	width: 100%;
}

.layout-showcase {
	margin: 0;
	/*box-shadow: 0px 0px 20px rgba(0,0,0,0.3); */
}

#g-showcase {
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.headerareamod,
.headerareamod .g-content,
.headerareamod .platform-content,
.headerareamod .moduletable,
.headerareamod .custom,
.headerareamod .headerarea {
	height: 40vw;
}

/*equal to height: of rotator img*/
.blockcolor {
	padding: 0;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.blockcolor a {
	color: white;
	text-align: center;
	font-size: 1.3vw;
	letter-spacing: 1px;
}


@media only screen and (max-width: 767px) {

	/*.blockcolor { border: 10px white solid; }*/
	.headerareamod,
	.headerareamod .g-content,
	.headerareamod .platform-content,
	.headerareamod .moduletable,
	.headerareamod .custom,
	.headerareamod .headerarea {
		height: 100vw;
	}

	.blockcolor a {
		color: white;
		text-align: center;
		font-size: 1.25rem;
	}

	.layout-showcase .sprocket-features-img-container {
		width: 100%;
	}

	.buttonbuffertopnone p {
		margin-top: 1.3rem;
	}

	.buttonbuffertopnone {
		padding: 10px 0;
	}
}

/************ HEADLINES  ************/
h4.sprocket-lists-portrait-title {
	background: none;
	font-size: 1.4rem !important;
	color: #414042;
	margin-top: 0px;
	margin-bottom: 0px;
	line-height: 1.3 !important;
}

.active h4.sprocket-lists-portrait-title {
	margin-bottom: 10px;
	line-height: 1.3 !important;
}

.portrait-image {
	width: 70px;
}

.portrait-image img {
	height: 70px;
	object-fit: cover;
	width: 100%;
}

.active .portrait-image img {
	object-fit: cover;
	object-position: center;
	height: 175px;
	width: 100%;
}

.sprocket-lists-portrait-container li {
	border-bottom: 2px solid rgba(168, 153, 106, .5);
}

.sprocket-lists-portrait-pagination li {
	padding: 6px !important;
	border-radius: 0;
	background: #841013;
}

.sprocket-lists-portrait-arrows .arrow {
	background: #841013;
	color: white;
}

@media only screen and (max-width: 767px) {
	.sprocket-lists-portrait-arrows .arrow {
		margin-left: 25px;
	}

	.active .portrait-image {
		width: 32%;
	}

	.active .portrait-image img {
		object-fit: cover;
		object-position: center;
		height: 100px;
	}
}

/************ UPCOMING EVENTS - CALENDAR  ************/
.rme-badge {
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-family: 'Lato', sans-serif;
	font-weight: bold;
	background: #841013;
	border-radius: 5px;
	color: white;
	padding: 10px 0px;
	width: 60px;
	float: none;
	margin-bottom: 0px;

}

.rme-items {
	display: block;
}

.rme-description {
	flex: 1;
}

.rme-day,
.rme-month {
	text-transform: none;
}

.rme-day {
	font-size: 1.4rem;
}

.rme-month {
	font-size: 1.3rem;
}

.rme-title {
	font-size: 1.1rem;
	font-weight: normal;
}

.rme-time {
	font-size: 1rem;
	font-weight: 400;
}

.rme-items li {
	display: flex;
	background: none;
	border: none;
	margin: 7.5px 0px;
	padding: 7.5px 0px;
}

@media only screen and (max-width: 767px) {
	.rokminievents3 {
		display: flex;
		justify-content: center;
	}

	.rme-items li {
		margin-top: 0px;
		margin-bottom: 0px;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.rme-title {
		font-size: 1.1rem;
	}

	.rme-time {
		font-size: 1.1rem;
	}

	.rme-day {
		font-size: 1.5rem;
	}
}

/************ SUBPAGE/HOMEPAGE SIDE ADS REORDER ************/
@media only screen and (max-width: 767px) {
	#g-aside .g-content {
		display: flex;
		flex-direction: column;
		margin-top: 0px;
		padding-top: 0px;
	}

	#g-aside .platform-content {
		margin: 0.35rem 0 0.35rem 0;
		padding: 0.75rem 0 0.75rem 0;
	}

	#g-aside .platform-content:first-child {
		order: 2;
	}

	#g-aside .platform-content:last-child {
		order: 1;
	}
}

@media only screen and (max-width: 767px) {
	.homelayout #g-expanded .g-grid:last-child .g-block:nth-child(1) {
		order: 2;
	}

	.homelayout #g-expanded .g-grid:last-child .g-block:nth-child(2) {
		order: 3;
	}

	.homelayout #g-expanded .g-grid:last-child .g-block:nth-child(3) {
		order: 1;
	}
}

/************ TIGHTEN UP ADS/FOOTER SPACING ************/
#g-bottom {
	padding: 0;
}

#g-bottom .g-content {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

#g-footer h3 {
	margin: 0;
	line-height: 1.1;
}

/************ MINISTRY PAGE  ************/
.ministrypage .item {
	display: flex;
	flex-direction: column;
}

.ministrypage .item .pull-left.item-image {
	order: 1;
}

.ministrypage .item .pull-left.item-image img {
	border-radius: 4px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.ministrypage .item .page-header {
	order: 2;
}

.ministrypage .item table {
	order: 3;
	margin: 5px 0 20px 0;
}

.ministrypage .item p {
	order: 4;
}

.ministrypage .pull-left.item-image {
	margin: 0;
	padding: 0;
}

.ministrypage .page-header h2 {
	line-height: 1.2;
	color: #00376A;
	font-size: 1.5rem;
	border-bottom: 1px solid #a8996a;
	margin: 3px 0 0 0;
	padding: 0;
}

.ministrypage a {
	word-break: break-all;
}

.ministrypage h2 a {
	word-break: normal;
}

.ministrypage .btn,
.ministrypage .readon,
.ministrypage .button,
.ministrypage .btn,
.ministrypage p.readmore .btn {
	color: #841013;
	font-size: 1rem;
	text-transform: none;
	background: transparent;
	padding: .5rem 1rem;
	border-radius: .5rem;
	margin: 0;
	line-height: 1.125rem;
	border: 1px solid #841013;
	transition: all .2s ease-in;
}

.ministrypage .btn:hover,
.ministrypage .readon:hover,
.ministrypage .button:hover,
.ministrypage .btn:hover,
.ministrypage p.readmore .btn:hover {
	color: white;
	background: #841013;
}

.btn [class^="icon-"] {
	display: none;
}


@media only screen and (max-width: 767px) {
	.ministrypage .item {
		padding-bottom: 30px;
	}

	.ministrypage .item .pull-left.item-image img {
		width: 75%;
	}

}

/* Ministry Grid Styles */
.ministry-grid .g-joomla-articles {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin: 0 auto;
}

.ministry-grid .g-grid {
	flex: 1 1 calc(33.333% - 20px);
	max-width: calc(33.333% - 20px);
	height: auto !important;
	border: none !important;
	margin-bottom: 0 !important;
}

.ministry-grid .g-block,
.ministry-grid .g-content,
.ministry-grid .g-array-item {
	height: 100% !important;
}

.ministry-grid .g-content {
	padding: 0 !important;
}

.ministry-grid .g-array-item {
	display: flex;
	flex-direction: column;
}

.ministry-grid .g-array-item-image {
	background: #fff;
	padding: 0 !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	border-radius: 0 !important;
	margin-bottom: 25px !important;
	height: auto !important;
}

.ministry-grid .g-array-item-image a {
	display: block;
}

.ministry-grid .g-array-item-image img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	border-radius: 0 !important;
	padding: 0 !important;
}

.ministry-grid .g-item-title {
	text-transform: none;
	margin: 0 !important;
	padding-bottom: 8px;
	border-bottom: 1px solid #a8996a;
	line-height: 1.2 !important;
}

.ministry-grid .g-item-title a {
	color: #414042 !important;
	font-size: 1.3rem !important;
	text-decoration: none;
	transition: opacity 0.2s;
}

.ministry-grid .g-item-title a:hover {
	opacity: 0.8;
}

.ministry-grid .g-array-item-text {
	margin: 15px 0 25px 0 !important;
	line-height: 1.6;
	color: #444;
	font-size: 1.05rem;
	height: auto !important;
}

.ministry-grid .g-array-item-read-more {
	margin-top: auto !important;
	height: auto !important;
}

.ministry-grid .button {
	display: inline-block;
	border: 1px solid #841013 !important;
	color: #841013 !important;
	background: transparent !important;
	border-radius: 8px !important;
	padding: 8px 18px !important;
	text-decoration: none;
	transition: all 0.3s ease;
	width: auto !important;
	line-height: 1.2 !important;
	text-transform: none !important;
}

.ministry-grid .button:hover {
	background: #841013 !important;
	color: #fff !important;
}

@media (max-width: 50.99rem) {
	.ministry-grid .g-grid {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.ministry-grid .g-joomla-articles {
		gap: 40px;
	}
}

.grid-squares .g-content-array {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.grid-squares .g-grid {
	flex: 1 1 calc(25% - 15px);
	max-width: calc(25% - 15px);
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	border: none !important;
}

.grid-squares .g-block {
	height: 100% !important;
}

.grid-squares .g-content {
	padding: 0 !important;
	height: 100% !important;
}

.grid-squares .g-array-item {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	height: 100% !important;
	border-radius: 4px;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.grid-squares .g-array-item:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(132, 16, 19, 0.2);
}

.grid-squares .g-array-item-image {
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.grid-squares .g-array-item-image a {
	display: block;
	height: 100%;
	position: relative;
}

.grid-squares .g-array-item-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: transform 0.6s ease;
}

.grid-squares .g-array-item:hover .grid-squares .g-array-item-image img {
	transform: scale(1.1);
}

.grid-squares .g-array-item-image a::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(132, 16, 19, 0.7);
	transition: background 0.3s ease;
	z-index: 1;
}

.grid-squares .g-array-item:hover .grid-squares .g-array-item-image a::after {
	background: rgba(132, 16, 19, 0.4);
}

.grid-squares .g-array-item-title {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	pointer-events: none;
	padding: 20px;
	height: auto !important;
}

.grid-squares .g-item-title {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

.grid-squares .g-item-title a {
	color: #fff !important;
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.grid-squares .g-array-item-read-more {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	z-index: 3;
	opacity: 0;
	transition: all 0.3s ease;
	margin: 0 !important;
	height: auto !important;
}

.grid-squares .g-array-item:hover .grid-squares .g-array-item-read-more {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.grid-squares .button {
	background: #fff !important;
	color: #841013 !important;
	padding: 10px 24px !important;
	border-radius: 0 !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	font-size: 0.8rem;
	border: none !important;
	white-space: nowrap;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.grid-squares .button:hover {
	background: #a8996a !important;
	color: #fff !important;
}

@media (max-width: 50.99rem) {
	.grid-squares .g-content-array {
		gap: 15px;
	}

	.grid-squares .g-grid {
		flex: 1 1 calc(50% - 10px);
		max-width: calc(50% - 10px);
	}

	.grid-squares .g-item-title a {
		font-size: 1.2rem !important;
	}
}

@media (max-width: 30rem) {
	.grid-squares .g-grid {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

@media (max-width: 30rem) {
	.grid-squares .g-grid {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

.leadership-articles .item-image {
	display: none;
}