/***
 * Theme Name:	CDR Astra Theme
 * Author:	CDR IT Team
 * Author URI:	https://richmonddiocese.org/office/office-of-information-technology/
 * Description:	Based on the latest version of WP Astra, this allows you to customize a theme without affecting the parent theme's base files. This also means that WordPress updates to the parent theme will not break the site or child theme files. 
 * Version:	1.0.0
 * License:	GNU General Public License v2 or later
 * License URI:	http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:	cdrastra
 * Template:	astra
 *
 * SITE COLORS
 *
 *	#0a141b (Text)
 *	#22688b (headings)
 *	#22688b (links)
 *	#acb4bb (hover)
 */
.alignRight {
	text-align: right;
}

.blueIt {
	font-weight: bold;
	color: #22688b;
}

.fullWidth {
	width: 100%;
	height: auto;
	borderr: 0 !important;
}

.page-id-13 #primary {
	margin-top: 0 !important;
}

.post-13 {
	    padding-top: 0 !important;
}

.cdrFlexThree .box, .cdrFlexFour .box {
	min-width: 300px !important;
}

.sjteResponsive {
	width: 100%;
	background-image: url('/wp-content/uploads/2025/07/St.-John-website-banner-2000px.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	aspect-ratio: 3.48 / 1 !important;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

/* Fallback height for older browsers using pseudo-element */
.sjteResponsive::before {
	content: "";
	display: block;
	padding-top: 28.7%; /* 1 / 3.48 = 0.287 = 28.7% */
}

.sjteText {
	color: #fff;
	font-family: 'Stay Gladin', cursive;
	font-size: 58px;
	line-height: 1.2;
	padding: 0 15px; /* small padding for mobile */
}

/* Responsive font sizes */
@media (max-width: 1024px) {
	.sjteText {
		font-size: 44px;
	}
}

@media (max-width: 768px) {
	.sjteText {
		font-size: 32px;
	}
}

@media (max-width: 480px) {
	.sjteText {
		font-size: 24px;
	}
}
