/* =====================================================================
   MOST WORSHIPFUL PRINCE HALL GRAND LODGE OF WEST VIRGINIA, F.&A.M., INC.
   Custom theme overrides — built on the "Hisham" template base.
   Edit colors, fonts and spacing here rather than in style.css so future
   template updates are easy to re-apply.
   ===================================================================== */

:root{
	--navy:        #012136;   /* primary deep navy — matches official seal */
	--navy-2:      #0A3550;   /* secondary navy (gradients/panels) */
	--navy-3:      #124666;   /* lighter navy for hover/cards */
	--gold:        #BF963D;   /* primary masonic gold — matches official seal */
	--gold-light:  #E4D099;   /* highlight/cream gold — matches seal lettering */
	--gold-dark:   #96762F;   /* deep gold / hover */
	--off-white:   #F7F6F2;   /* section background */
	--body-text:   #3a3a3a;
}

/* ---------------------------------------------------------------------
   Global typography
--------------------------------------------------------------------- */
body{
	color: var(--body-text);
}
.section-header h2,
.donate h2,
h1, h2, h3, h4 {
	font-family: 'Cabin', sans-serif;
}

/* ---------------------------------------------------------------------
   Header / Navigation
--------------------------------------------------------------------- */
.site-header{
	background-color: rgba(10, 31, 68, 0.55);
}
.site-header.small-height{
	background-color: var(--navy);
	box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.site-branding{
	display: flex;
	align-items: center;
	gap: 14px;
}
.site-header .custom-logo{
	max-height: 64px;
}
.site-header.small-height .custom-logo{
	max-height: 52px;
}
.site-title a{
	font-family: 'Cabin', sans-serif;
	font-size: 20px;
	letter-spacing: .5px;
	line-height: 1.2;
}
.site-title .site-title-sub{
	display: block;
	font-size: 11px;
	color: var(--gold-light);
	letter-spacing: 2px;
	font-weight: 400;
	margin-top: 2px;
}
.primary-nav-list .active > a,
.primary-nav-list .menu-item > a:hover{
	color: var(--gold-light) !important;
}
.site-header .primary-nav .menu-item-has-children > ul{
	background-color: var(--navy-2);
}
.primary-nav .menu-item-has-children > ul > li a:hover{
	background: var(--navy-3);
	border-color: var(--navy-3);
	color: var(--gold-light);
}
.primary-nav .menu-item-has-children > ul > li:not(:first-child) a,
.primary-nav .menu-item-has-children > ul > li:not(:last-child) a{
	border-color: rgba(255,255,255,0.12);
}

/* ---------------------------------------------------------------------
   Recolor: gold accents (replace template's #FFC206 yellow)
--------------------------------------------------------------------- */
.about .accordian-head:before,
.single-feature i,
.single-factor i,
.member-name,
.entry-title a:hover,
.byline .posted-on,
a.read-more-btn:hover{
	color: var(--gold) !important;
}
.t-btn{
	background-color: var(--gold);
	border-color: var(--gold);
	color: #fff !important;
}
.t-btn:hover{
	background-color: var(--gold-dark);
	border-color: var(--gold-dark);
}
.hero-btn-2,
.event-btn-2{
	background-color: transparent !important;
	border: 2px solid var(--gold) !important;
	color: #fff !important;
}
.hero-btn-2:hover,
.event-btn-2:hover{
	background-color: var(--gold) !important;
	color: #fff !important;
}
.donate-status .status-bar > div{
	background-color: var(--gold);
}
.status-bar{
	background-color: #e4e2da;
}
::selection{
	background-color: var(--gold);
	color: #fff;
}

/* Section black-bg -> navy */
.black-bg{
	background-color: var(--navy) !important;
}
.service.black-bg .single-feature i{
	color: var(--gold-light) !important;
}
.donate{
	background-color: var(--navy-2);
}
.donate h2, .donate p{
	color: #fff;
}
.fun-factor{
	background-color: var(--navy);
	background-image: linear-gradient(rgba(10,31,68,.92), rgba(10,31,68,.92)), url(../img/fun-fact-bg.jpg);
}
.feature.black-bg{
	background-color: var(--navy) !important;
}

/* ---------------------------------------------------------------------
   Hero readability scrim (darkens Main-bg-1 / Main-bg-2 so text/buttons
   stay legible regardless of what's in the photo)
--------------------------------------------------------------------- */
.hero .single-slide{
	background-image: linear-gradient(180deg, rgba(1,33,54,.35) 0%, rgba(1,33,54,.55) 45%, rgba(1,33,54,.82) 100%);
}

/* Preloader */
#preloader{
	background-color: var(--navy);
}
.spinner > div{
	background-color: var(--gold);
}

/* Scroll-up button */
.scrollup{
	background-color: var(--navy) !important;
	border: 2px solid var(--gold);
}

/* Footer */
.site-footer{
	background-color: var(--navy) !important;
	padding: 60px 0 30px;
}
.site-footer .social-btn a{
	background-color: var(--gold);
	color: #fff;
}
.site-footer .social-btn a:hover{
	background-color: var(--gold-dark);
}

/* ---------------------------------------------------------------------
   Footer — widget columns (used site-wide)
--------------------------------------------------------------------- */
.footer-widgets{
	text-align: left;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255,255,255,.12);
	margin-bottom: 25px;
}
.footer-widgets .footer-col h4{
	color: var(--gold-light);
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: 1px;
	margin-bottom: 18px;
}
.footer-widgets .footer-col p,
.footer-widgets .footer-col li,
.footer-widgets .footer-col a{
	color: #d7dce6;
	font-size: 14px;
	line-height: 1.9;
}
.footer-widgets .footer-col a:hover{
	color: var(--gold-light);
}
.footer-widgets .footer-col ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-logo-mark{
	display: inline-block;
	width: 46px;
	height: 46px;
	line-height: 44px;
	text-align: center;
	border: 2px solid var(--gold);
	border-radius: 50%;
	color: var(--gold-light);
	font-family: 'Cabin', serif;
	font-weight: 700;
	margin-bottom: 14px;
}

/* ---------------------------------------------------------------------
   Interior page banner (About / Leadership / News / Media / etc.)
--------------------------------------------------------------------- */
.page-banner{
	background-color: var(--navy);
	background-image: linear-gradient(rgba(10,31,68,.86), rgba(10,31,68,.9)), url(../img/hero-bg-1.jpg);
	background-position: center;
	background-size: cover;
	padding: 160px 0 60px;
	text-align: center;
	border-bottom: 3px solid var(--gold);
}
.page-banner h1{
	color: #fff;
	font-size: 40px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}
.page-banner .breadcrumb{
	background: transparent;
	justify-content: center;
	padding: 0;
	margin: 0;
}
.page-banner .breadcrumb a{
	color: var(--gold-light);
}
.page-banner .breadcrumb span{
	color: #cfd6e4;
	margin: 0 8px;
}

/* ---------------------------------------------------------------------
   Sub navigation (in-page anchor tabs used on About / Leadership / Media)
--------------------------------------------------------------------- */
.subnav{
	background-color: var(--off-white);
	border-bottom: 1px solid #e6e2d6;
	position: relative;
	z-index: 2;
}
.subnav ul{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 14px 0;
}
.subnav li{
	margin: 4px 18px;
}
.subnav a{
	color: var(--navy);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .5px;
	text-transform: uppercase;
	border-bottom: 2px solid transparent;
	padding-bottom: 4px;
}
.subnav a:hover,
.subnav a.is-active{
	color: var(--gold-dark);
	border-color: var(--gold);
}

/* Fix: .single-feature defaults to white text (style.css), which is only
   legible on a black-bg section. On light content sections (e.g. About's
   Brotherly Love / Relief / Truth block) it must be dark instead. */
.content-section .single-feature i{
	color: var(--gold-dark);
}
.content-section .single-feature h3{
	color: var(--navy);
}
.content-section .single-feature p{
	color: var(--body-text);
}

/* ---------------------------------------------------------------------
   Generic content section helpers
--------------------------------------------------------------------- */
.content-section{
	padding: 70px 0;
}
.content-section.alt-bg{
	background-color: var(--off-white);
}
.content-section h2.block-title{
	font-size: 28px;
	color: var(--navy);
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 22px;
	position: relative;
	padding-bottom: 14px;
}
.content-section h2.block-title:after{
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60px;
	height: 3px;
	background-color: var(--gold);
}
.content-section h2.block-title.centered{
	text-align: center;
}
.content-section h2.block-title.centered:after{
	left: 50%;
	transform: translateX(-50%);
}
.content-section p{
	line-height: 1.8;
	margin-bottom: 16px;
}
.lede{
	font-size: 18px;
	color: var(--navy);
	font-weight: 500;
}
.placeholder-note{
	background: #FEF7E3;
	border-left: 4px solid var(--gold);
	padding: 12px 18px;
	font-size: 13px;
	color: #7a5c00;
	margin: 18px 0;
}

/* ---------------------------------------------------------------------
   Leadership — officer cards
--------------------------------------------------------------------- */
.officer-grid{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 -15px;
}
.officer-card{
	width: 25%;
	padding: 0 15px;
	margin-bottom: 34px;
	text-align: center;
}
/* Fixed, non-responsive photo size — kept sharp at a known resolution
   instead of scaling up with the column (which caused blur on wide
   screens). Shrinks at one breakpoint for small phones only. */
.officer-card .officer-photo{
	width: 260px;
	height: 260px;
	margin: 0 auto 16px;
	background-size: cover;
	background-position: top center;
	border-radius: 4px;
	border: 3px solid var(--off-white);
	box-shadow: 0 6px 18px rgba(10,31,68,.12);
}
.officer-card h3{
	font-size: 16px;
	color: var(--navy);
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 4px;
}
.officer-card .officer-title{
	display: block;
	color: var(--gold-dark);
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.officer-card.wide{
	width: 33.333%;
}
.officer-card.grand-master{
	width: 100%;
	max-width: 420px;
	margin: 0 auto 30px;
}
.officer-card.grand-master .officer-photo{
	width: 280px;
	height: 310px;
}

/* Past Grand Masters table */
.pgm-table{
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}
.pgm-table th, .pgm-table td{
	padding: 12px 16px;
	border-bottom: 1px solid #e6e2d6;
	text-align: left;
	font-size: 15px;
}
.pgm-table th{
	background-color: var(--navy);
	color: #fff;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .5px;
}
.pgm-table tr:nth-child(even){
	background-color: var(--off-white);
}

/* ---------------------------------------------------------------------
   History timeline (About page)
--------------------------------------------------------------------- */
.timeline{
	position: relative;
	padding-left: 34px;
	border-left: 3px solid var(--gold);
	margin-top: 10px;
}
.timeline-item{
	position: relative;
	padding-bottom: 34px;
}
.timeline-item:last-child{
	padding-bottom: 0;
}
.timeline-item:before{
	content:"";
	position: absolute;
	left: -43px;
	top: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--navy);
	border: 3px solid var(--gold);
}
.timeline-item h4{
	color: var(--navy);
	margin-bottom: 6px;
}
.timeline-item .timeline-year{
	color: var(--gold-dark);
	font-weight: 700;
	letter-spacing: .5px;
	display: block;
	margin-bottom: 4px;
}

/* ---------------------------------------------------------------------
   News / articles
--------------------------------------------------------------------- */
.news-grid{
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}
.news-grid .post{
	width: 33.333%;
	padding: 0 15px;
	margin-bottom: 40px;
}
.news-grid .post .entry-title{
	font-size: 18px;
}
.news-tag{
	display: inline-block;
	background-color: var(--gold);
	color: #fff;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 3px 10px;
	border-radius: 2px;
	margin-bottom: 10px;
}

/* ---------------------------------------------------------------------
   Media page — photos / videos tabs
--------------------------------------------------------------------- */
.media-tabs{
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-bottom: 40px;
}
.media-tabs a{
	padding: 10px 26px;
	border: 2px solid var(--navy);
	color: var(--navy);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .5px;
	border-radius: 30px;
}
.media-tabs a.is-active,
.media-tabs a:hover{
	background-color: var(--navy);
	color: #fff;
}
.video-grid{
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}
.video-grid .video-item{
	width: 33.333%;
	padding: 0 15px;
	margin-bottom: 30px;
}
.video-grid .embed-responsive{
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(10,31,68,.15);
}
.video-caption{
	margin-top: 10px;
	font-weight: 600;
	color: var(--navy);
	text-align: center;
}

/* ---------------------------------------------------------------------
   Calendar page
--------------------------------------------------------------------- */
.event-list{
	max-width: 900px;
	margin: 0 auto;
}
.event-list-item{
	display: flex;
	align-items: center;
	background-color: #fff;
	box-shadow: 0 4px 16px rgba(10,31,68,.08);
	border-radius: 6px;
	padding: 20px 24px;
	margin-bottom: 18px;
	border-left: 5px solid var(--gold);
}
.event-date-block{
	flex: 0 0 90px;
	text-align: center;
	color: var(--navy);
	border-right: 1px solid #e6e2d6;
	margin-right: 22px;
	padding-right: 22px;
}
.event-date-block .month{
	display: block;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--gold-dark);
	font-weight: 700;
	letter-spacing: 1px;
}
.event-date-block .day{
	display: block;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
}
.event-info h3{
	font-size: 17px;
	color: var(--navy);
	margin-bottom: 6px;
}
.event-info p{
	margin: 0;
	font-size: 14px;
	color: #666;
}
.event-info .event-meta{
	font-size: 13px;
	color: var(--gold-dark);
	font-weight: 600;
	margin-top: 4px;
	display: block;
}

/* ---------------------------------------------------------------------
   Helpful Links page
--------------------------------------------------------------------- */
.links-grid{
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}
.link-card{
	width: 33.333%;
	padding: 0 15px;
	margin-bottom: 26px;
}
.link-card-inner{
	background: #fff;
	border-top: 3px solid var(--gold);
	box-shadow: 0 4px 16px rgba(10,31,68,.08);
	padding: 26px 24px;
	height: 100%;
}
.link-card-inner h3{
	font-size: 16px;
	color: var(--navy);
	margin-bottom: 8px;
}
.link-card-inner p{
	font-size: 14px;
	color: #666;
	margin-bottom: 12px;
}
.link-card-inner a.t-btn{
	padding: 8px 20px;
	font-size: 12px;
}

/* ---------------------------------------------------------------------
   Contact page
--------------------------------------------------------------------- */
.contact-info-grid{
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px 30px;
	text-align: center;
}
.contact-info-item{
	width: 33.333%;
	padding: 0 15px;
}
.contact-info-item i{
	font-size: 30px;
	color: var(--gold-dark);
	margin-bottom: 12px;
	display: inline-block;
}
.contact-info-item h4{
	color: var(--navy);
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 6px;
}
.contact-info-item p, .contact-info-item a{
	color: #666;
	font-size: 14px;
}
.contact .section-header p{
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}
.map-embed{
	width: 100%;
	border: 0;
	margin-top: 40px;
	filter: grayscale(15%);
}

/* ---------------------------------------------------------------------
   Misc
--------------------------------------------------------------------- */
.text-navy{ color: var(--navy) !important; }
.text-gold{ color: var(--gold-dark) !important; }
.bg-off-white{ background-color: var(--off-white); }

/* ---------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------- */
@media screen and (max-width: 991px){
	.officer-card{ width: 50%; }
	.officer-card.wide{ width: 50%; }
	.news-grid .post{ width: 50%; }
	.video-grid .video-item{ width: 50%; }
	.link-card{ width: 50%; }
	.contact-info-item{ width: 100%; margin-bottom: 22px; }
	.page-banner{ padding: 130px 0 50px; }
}
@media screen and (max-width: 600px){
	.officer-card{ width: 100%; }
	.officer-card.wide{ width: 100%; }
	.officer-card .officer-photo{ width: 200px; height: 200px; }
	.officer-card.grand-master .officer-photo{ width: 220px; height: 244px; }
	.news-grid .post{ width: 100%; }
	.video-grid .video-item{ width: 100%; }
	.link-card{ width: 100%; }
	.event-list-item{ flex-direction: column; text-align: center; }
	.event-date-block{ border-right: 0; margin-right: 0; padding-right: 0; margin-bottom: 12px; border-bottom: 1px solid #e6e2d6; padding-bottom: 12px; }
}
