/*!
Theme Name: First Presbyterian Church Kernersville
Author: Steven Doyle
Version: 1.0
Text Domain: first-presbyterian-church-kernersville
*/

/* =====================================
   Fonts & Variables
===================================== */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
	--blue: #11335e;
}

/* =====================================
   Global Base Styles
===================================== */
html, body {
	height: 100%;
	margin: 0;
}

body {
	font-family: "Raleway", sans-serif !important;
	font-size: 18px !important;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1;
}

a {
	color: var(--blue) !important;
}

a:hover {
	color: black !important;
}

h2 {
	font-family: 'Merriweather', sans-serif;
}

h3 {
	font-style: italic;
	color: var(--blue) !important;
}

/* =====================================
   Layout Helpers
===================================== */
#wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
}

@media (min-width: 1400px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		max-width: 1650px !important;
	}
}

/* =====================================
   Header & Navigation
===================================== */
.header-address {
	font-size: 20px;
}

#site-header a {
	color: #fff !important;
}

#site-header a:hover {
	color: #e3e3e3cc !important;
}

#site-header .dropdown-menu a {
	color: var(--blue) !important;
}

#menu-main-menu {
	text-transform: uppercase;
	font-size: 1.2em;
	color: #fff;
}

#menu-main-menu li {
	padding: 0 4px;
}

#header-search {
	background: transparent;
	border: none;
	color: #fff;
	padding: 0;
}

.navbar-brand img {
	width: 620px;
	height: auto !important;
}

/* Resize logo below 1300px */
@media (max-width: 1400px) {
	.navbar-brand img {
		max-height: 60px; /* adjust to desired smaller size */
		width: auto;
	}
	#menu-main-menu {
		font-size: 1.0em;
	}

}

/* Optional: Resize even smaller on mobile */
@media (max-width: 768px) {
	.navbar-brand img {
		max-height: 50px;
	}
}


#blue-bar {
	position: absolute;
	top: 0;
	width: 100%;
	height: 172px;
	background: url(/wp-content/uploads/2025/06/church-header.png) top right no-repeat var(--blue);
	z-index: -1;
}

.home #blue-bar {
	height: 550px;
}

@media (max-width: 1400px) {
	.home #blue-bar {
		height: 350px;
	}

}

/* =====================================
   Home Page - Top Icons
===================================== */
#home-top-icons .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70px;
	width: 100px;
	margin: 0 auto;
}

#home-top-icons svg {
	width: 60px;
	height: 60px;
}

#home-top-icons .label {
	font-family: 'Merriweather', sans-serif;
	margin-top: 0.5rem;
	text-align: center;
	font-weight: 500;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2em;
	line-height: 1em;
	color: #fff;
}

@media (max-width: 1200px) {
	#home-top-icons .label {
		font-size: .9em;
	}

}

/* =====================================
   Home Page - Calendar & Hero
===================================== */
#home-calendar {
	background: #ffffff;
	margin-top: 30px;
	border-radius: 30px;
	box-shadow: 8px 8px 10px rgba(0,0,0,.3);
	padding: 20px 30px;
	text-align: center;
	border:1px solid #ccc;
}

#home-calendar .title {
	font-family: 'Merriweather', sans-serif;
	font-size: 1.5em;
	color: var(--blue);
}
#home-calendar h3{
	font-style:normal;
	font-size:1.2em;
	margin-top:30px;
}
#home-calendar ul{
	margin:0;
	padding:0;
	list-style:none;
}
#home-calendar li{

}
#home-hero {
	overflow: hidden;
	border-radius: 30px;
}
#homeHeroCarousel
{
	border-radius: 30px;
	overflow: hidden;
}

.carousel-caption-overlay {
	position: absolute;
	background-color: rgba(17, 51, 94, 0.85);
	color: #fff;
	padding: 10px 15px;
	max-width: 90%;
	z-index: 2;
	font-size: 2rem;
}

.caption-top-left {
	top: 20px;
	left: 0;
	padding-right: 25px;
	border-radius: 0 30px 30px 0;
}

.caption-top-right {
	top: 20px;
	right: 0;
	padding-left: 25px;
	border-radius: 30px 0 0 30px;
}

.caption-bottom-left {
	bottom: 30px;
	left: 0;
	padding-right: 25px;
	border-radius: 0 30px 30px 0;
}

.caption-bottom-right {
	bottom: 30px;
	right: 0;
	border-radius: 30px 0 0 30px;
}

.carousel-control-next,.carousel-control-prev {
	width: 50px !important;
}

/* =====================================
   Articles & Cards
===================================== */
.article {
	margin-bottom: 30px;
	border-bottom: 2px solid #ccc;
	padding-bottom: 30px;
}

.article:last-child {
	border: none;
}

.card.card-article {
	border: 1px solid #e3e3e3 !important;
	padding: 10px 30px;
	box-shadow: 3px 3px 5px rgba(0,0,0,.1);
}

.img-rounded {
	border-radius: 30px;
}

.chevron {
	display: inline-block;
	width: 10px;
}

.custom-border-end {
	border-right: 2px solid #ccc;
}

.article-thumbnail {
	width: 100%;
	max-width: 224px;
	height: auto;
	object-fit: cover;
}


/* =====================================
   Footer
===================================== */
#footer {
	background: var(--blue) !important;
	text-align: center;
	color: #fff;
	padding: 30px 0;
	margin-top: 40px;
}

#footer a {
	color: #fff !important;
}

.footer-additional-information p {
	margin: 0;
}

.footer-additional-information ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-additional-information li {
	display: inline;
	padding: 0 10px;
	margin: 0;
}

/* =====================================
   WP Alignments & Captions
===================================== */
.alignnone,
a img.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter,
a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignright,
a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft,
a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

.wp-caption {
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone,
.wp-caption.alignleft,
.wp-caption.alignright {
	margin: 5px 20px 20px 0;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	max-width: 98.5%;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* =====================================
   WP Gallery
===================================== */
.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	transition: filter 0.2s ease-in;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	filter: opacity(60%);
}

.gallery-caption {
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item { max-width: 100%; }
.gallery-columns-2 .gallery-item { max-width: 50%; }
.gallery-columns-3 .gallery-item { max-width: 33%; }
.gallery-columns-4 .gallery-item { max-width: 25%; }
.gallery-columns-5 .gallery-item { max-width: 20%; }
.gallery-columns-6 .gallery-item { max-width: 16.66%; }
.gallery-columns-7 .gallery-item { max-width: 14.28%; }
.gallery-columns-8 .gallery-item { max-width: 12.5%; }
.gallery-columns-9 .gallery-item { max-width: 11.11%; }

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

/* =====================================
   Accessibility & Utility
===================================== */
.bypostauthor {
	font-weight: bold;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	color: #21759b;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	padding: 15px 23px 14px;
	left: 5px;
	top: 5px;
	width: auto;
	height: auto;
	display: block;
	font-size: 14px;
	font-weight: bold;
	line-height: normal;
	text-decoration: none;
	z-index: 100000;
}

#wpadminbar a{
	color:#fff !important;
}