@font-face {
	font-family: 'Abaddon';
	src: url('assets/fonts/abaddon.TTF') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* Reset & Basics */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	background-color: #000;
	background-image: url('assets/images/background.jpg');
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
	color: #000;
}

/* Screen Reader Text (visually hidden, accessible to assistive tech) */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
}

/* Sticky footer */
#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1;
}

a {
	color: #0044cc;
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	color: #cc2200;
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Utilities */
.container {
	width: 95%;
	max-width: none;
	margin: 0 auto;
	padding: 10px;
}

.abaddon-text {
	font-family: 'Abaddon', sans-serif;
	text-transform: uppercase;
	color: #fff;
	line-height: 1;
	font-weight: normal;
	/* Base border for large text */
	text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}

.page-title,
.front-intro__heading,
.front-services__header {
	-webkit-text-stroke: 0.5px #000;
}

.site-logo {
	-webkit-text-stroke: 1px #666;
	text-shadow:
		-1px -1px 0 #666,
		1px -1px 0 #666,
		-1px 1px 0 #666,
		1px 1px 0 #666;
}

/* Header */
.site-header {
	text-align: center;
	padding: 10px 0 30px;
	margin-bottom: 30px;
}

.site-header .container {
	position: relative;
	background: none;
	border: none;
	width: 95%;
	max-width: none;
}

.site-logo {
	margin: 0 auto;
	font-size: 40pt;
	display: inline-block;
	text-decoration: none;
}

.site-logo:hover {
	color: #dbe1c2;
	text-decoration: none;
}

/* Hide nav on front page */
.home .menu-toggle {
	display: none;
}

/* Hamburger toggle button */
.menu-toggle {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
	position: absolute;
	top: 10px;
	right: 10px;
}

.menu-toggle__bar {
	display: block;
	width: 28px;
	height: 5px;
	background-color: #fff;
	border: 1px solid #666;
	border-radius: 2px;
	transition: background-color 0.2s;
}

.menu-toggle:hover .menu-toggle__bar {
	background-color: #dbe1c2;
}

/* Backdrop */
.menu-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 998;
}

.menu-backdrop.is-open {
	display: block;
}

/* Slide-in drawer */
.main-navigation {
	background-color: #F1F2EC;
	border-left: 1px solid #000;
	box-shadow: -4px 0 16px rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 20px 0 30px;
	position: fixed;
	top: 0;
	right: -320px;
	width: 300px;
	height: 100vh;
	overflow-y: auto;
	z-index: 999;
	transition: right 0.3s ease;
}

.main-navigation.is-open {
	right: 0;
}

/* Close button inside drawer */
.menu-close {
	align-self: flex-end;
	background: none;
	border: none;
	color: #333;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	margin: 0 16px 10px;
	padding: 4px 8px;
}

.menu-close:hover {
	color: #000;
}

/* Drawer menu items */
.main-navigation ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	display: block;
	border-bottom: 1px solid #ccc;
}

.main-navigation a {
	color: #000;
	font-weight: bold;
	font-family: Arial, sans-serif;
	font-size: 11pt;
	display: block;
	padding: 12px 20px;
	text-decoration: none;
}

.main-navigation a:hover {
	background-color: #E2E3DC;
	color: #000;
}

/* Content */
.site-main {
	display: flex;
	flex-direction: column;
	width: 95%;
	max-width: none;
	margin: 0 auto;
	padding: 0 10px;
}

/* =============================================
Front Page: Intro + Contact Area
============================================= */
.front-intro {
	margin-bottom: 20px;
}

.front-intro__wrapper {
	position: relative;
}

/* Intro Box - full width, translucent white bg */
.front-intro__box {
	background-color: rgba(255, 255, 255, 0.35);
	border: 1px solid #000;
	padding: 8px 12px;
	padding-right: 380px;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 12pt;
	color: #000;
	line-height: 1.4;
}

.front-intro__heading {
	margin: 0 0 10px 0;
	font-size: 28pt;
}

/* Contact Box - solid white bg, top-right of page area */
.front-contact {
	position: absolute;
	top: -60px;
	right: 10px;
	width: 350px;
	background-color: #fff;
	border: 1px solid #000;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11pt;
	z-index: 10;
}

.front-contact__header {
	background-color: #F1F2EC;
	border-bottom: 1px solid #000;
	padding: 3px;
	font-weight: bold;
	font-size: 10pt;
	letter-spacing: 1px;
}

.front-contact__body {
	padding: 10px;
	font-style: normal;
	line-height: 1.6;
}

.front-contact__links {
	padding: 0 10px 10px;
}

.front-contact__links a {
	display: block;
	margin-bottom: 5px;
	color: #0044cc;
	text-decoration: underline;
	font-size: 10pt;
}

.front-contact__links a:hover {
	color: #cc2200;
}

.front-contact__separator {
	margin: 8px 0;
	border: 0;
	border-top: 1px solid #ccc;
}

/* =============================================
   Front Page: Services Section
   ============================================= */
.front-services {
	margin-top: 40px;
	margin-bottom: 20px;
}

.front-services__header {
	margin-bottom: 2px;
	font-size: 28pt;
}

.front-services__note {
	font-size: 11pt;
	margin: 15px 0;
	line-height: 1.4;
}

.front-services__note a {
	color: #0044cc;
	text-decoration: underline;
}

.front-services__note a:hover {
	color: #cc2200;
}

/* Photo Topics Grid - 5 columns × 2 rows */
.photo-topics-grid {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.photo-topics-grid__row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.photo-topics-grid__item {
	text-align: center;
	text-decoration: none;
	color: #000;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.photo-topics-grid__item:hover {
	text-decoration: none;
}

.photo-topics-grid__item figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.photobox {
	border: 1px solid #000;
	padding: 3px;
	background-color: transparent;
	margin-bottom: 5px;
	transition: transform 0.2s ease;
}

.photo-topics-grid__item:hover .photobox {
	transform: scale(1.05);
}

.photo-topics-grid__logo {
	margin-top: 5px;
	border: 0;
	font-size: 15pt;
	text-align: center;
	display: block;
	/* Improved readability with stronger shadow glow */
	-webkit-text-stroke: 0;
	text-shadow:
		-1px -1px 2px rgba(0, 0, 0, 0.9),
		1px -1px 2px rgba(0, 0, 0, 0.9),
		-1px 1px 2px rgba(0, 0, 0, 0.9),
		1px 1px 2px rgba(0, 0, 0, 0.9),
		0 0 5px rgba(0, 0, 0, 0.7);
}

.tightborder {
	border: 1px solid #000;
}

/* Gallery Index Page */
.page-index-box {
	flex: 1;
	background-color: rgba(255, 255, 255, 0.35);
	border: 1px solid #000;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
	color: #000;
}

.page-index-box .entry-content {
	font-size: 18px;
}

.page-index-box .entry-title {
	margin: 10px -20px 20px -20px;
	padding: 8px 20px;
	font-size: 17pt;
	font-weight: 400;
	text-align: left;
	background-color: rgb(255 255 255 / 35%);
	border: 1px solid #ccc;
	border-width: 1px 0;
}

.page-index-box .wp-block-gallery {
	margin-bottom: 0;
}

.page-index-box .wp-block-gallery .wp-block-image figcaption {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	color: #fff;
	text-shadow: 1px 1px 2px #000;
	background: none;
	padding: 5px 0;
}

/* Gallery Single */
.gallery-single__breadcrumb {
	margin-bottom: 15px;
	font-size: 0.9em;
}

.gallery-single__breadcrumb a {
	font-weight: bold;
}

/* Gallery Archive */
.gallery-navigation {
	margin-bottom: 20px;
	text-align: center;
	font-size: 0.9em;
}

.gallery-grid__image-placeholder {
	width: 100%;
	height: 200px;
	background: #ccc;
	border: 1px solid #000;
}

/* Footer */
.site-footer {
	font-family: Verdana, sans-serif;
	font-size: 13px;
	color: #000;
	text-align: center;
	margin-top: 20px;
	border-top: 1px solid #000;
	padding-top: 10px;
}

/* =============================================
Responsive Adjustments
============================================= */
@media (max-width: 800px) {
	.front-intro__box {
		padding-right: 15px;
		/* Remove room for contact box */
	}

	.front-contact {
		position: static;
		width: 100%;
		margin-top: 10px;
	}

	.photo-topics-grid__row {
		flex-wrap: wrap;
		justify-content: center;
	}

	.photo-topics-grid__item {
		flex: 0 0 calc(50% - 10px);
		margin-bottom: 20px;
	}

}

@media (max-width: 480px) {
	.photo-topics-grid__item {
		flex: 0 0 100%;
	}
}

/* =============================================
El Pecado Page
============================================= */

body.is-el-pecado,
body.is-el-pecado #page {
	background-color: #000;
	background-image: none;
}

body.is-el-pecado .site-header {
	display: none;
}

body.is-el-pecado .site-footer {
	background-color: #000;
	color: #fff;
	border-top-color: #fff;
}

body.is-el-pecado .site-footer a {
	color: #900;
}

.el-pecado-page {
	padding: 10px;
}

.el-pecado-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
	color: #fff;
}

.el-pecado-main {
	line-height: 1.875;
	background-color: #000;
	border: 1px solid #fff;
	padding: 10px;
	margin: 10px;
	color: #fff;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
}

.el-pecado-main a {
	color: #900;
	text-decoration: none;
}

.el-pecado-main a:hover {
	text-decoration: underline;
}

/* Intro section */
.el-pecado-intro::after {
	content: '';
	display: table;
	clear: both;
}

.el-pecado-intro__lead {
	font-size: 20px;
	font-weight: bold;
}

.el-pecado-intro__img {
	border: 1px solid #fff;
	max-width: 100%;
	height: auto;
	display: block;
}

.el-pecado-intro__img--right {
	float: right;
	margin-left: 10px;
	margin-bottom: 5px;
}

.el-pecado-intro__img--left {
	float: left;
	margin-right: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.el-pecado-intro__attribution {
	text-align: right;
}

.el-pecado-divider {
	border: 0;
	border-top: 1px solid #fff;
	margin: 15px 0;
}

/* Section headings */
.el-pecado-section-title {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 15px;
}

/* Band Members Grid */
.el-pecado-members__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	text-align: center;
	margin-bottom: 20px;
}

/* Mike C. (Vocals) spans two columns to match legacy layout */
.el-pecado-member--featured {
	grid-column: span 2;
}

.el-pecado-member__img {
	border: 1px solid #fff;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.el-pecado-member__name {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	color: #fff;
	margin-top: 5px;
}

/* Track Listing */
.el-pecado-tracks {
	list-style: decimal;
	padding-left: 2rem;
	margin-bottom: 15px;
}

.el-pecado-tracks__item {
	margin-bottom: 3px;
}

.el-pecado-tracks__footnote {
	color: #f00;
	font-size: 18px;
	font-weight: bold;
}

.el-pecado-tracks__year {
	font-size: 14px;
	color: #ccc;
}

/* El Pecado Responsive */
@media (max-width: 700px) {
	.el-pecado-intro__img--right,
	.el-pecado-intro__img--left {
		float: none;
		margin: 10px auto;
	}

	.el-pecado-members__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.el-pecado-member--featured {
		grid-column: span 2;
	}
}

@media (max-width: 480px) {
	.el-pecado-members__grid {
		grid-template-columns: 1fr;
	}

	.el-pecado-member--featured {
		grid-column: span 1;
	}
}

/* =============================================
Packages Archive
============================================= */

.packages-archive__intro {
	color: #fff;
	margin-top: 0.5rem;
	font-size: 1rem;
}

.packages-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 280px, 1fr ) );
	gap: 2rem;
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.package-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ccc;
	overflow: hidden;
}

.package-card__img-link {
	display: block;
}

.package-card__img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}

.package-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem;
}

.package-card__title {
	font-size: 1.2rem;
	margin: 0 0 0.75rem;
}

.package-card__title a {
	color: #000;
}

.package-card__title a:hover {
	text-decoration: underline;
}

.package-card__excerpt {
	font-size: 0.9rem;
	color: #333;
	flex: 1;
	margin-bottom: 1rem;
}

.package-card__link {
	display: inline-block;
	color: #900;
	font-weight: bold;
	font-size: 0.9rem;
}

.package-card__link:hover {
	text-decoration: underline;
}

/* =============================================
Package Single
============================================= */

.package-single__breadcrumb {
	padding-top: 1.5rem;
	padding-bottom: 1rem;
	font-size: 0.9rem;
}

.package-single__breadcrumb a {
	color: #fff;
}

.package-single__breadcrumb a:hover {
	text-decoration: underline;
}

.package-single__hero {
	width: 100%;
	max-height: 420px;
	overflow: hidden;
}

.package-single__hero-img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	display: block;
}

.package-single__inner {
	background: #fff;
	padding: 2rem;
	margin-top: 2rem;
	margin-bottom: 3rem;
}

.package-single__title {
	font-size: 2rem;
	margin: 0 0 1.5rem;
}

.package-single__content {
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 2rem;
}

.package-single__cta {
	text-align: center;
	border: 2px solid #000;
	padding: 1.5rem;
	background: #f9f9f9;
}

.package-single__cta p {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: bold;
}

.package-single__cta-btn {
	display: inline-block;
	background: #000;
	color: #fff;
	padding: 0.65rem 1.75rem;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 0.9rem;
}

.package-single__cta-btn:hover {
	background: #900;
	color: #fff;
}

/* Packages Responsive */
@media ( max-width: 700px ) {
	.packages-grid {
		grid-template-columns: 1fr;
	}
}

/* =============================================
Gallery Block - Photo Topic Index Pages
(/weddings, /bands, /pets, etc.)
Renders WP Gallery blocks as compact thumbnail
grids suited to photo index/landing pages.
============================================= */

.site-main .wp-block-gallery.has-nested-images {
	gap: 16px !important;
	justify-content: space-evenly;
}

.site-main .wp-block-gallery.has-nested-images .wp-block-image {
	border: 1px solid transparent;
	border-radius: 5px;
	max-width: 220px;
	width: 220px;
}

/* Fix for WP "Crop images to fit" (.is-cropped makes the figure a flex column;
the <a> wrapper becomes a flex item with no resolved height, so height:100%
on the <img> resolves to 0. Pin both to an explicit 220px for uniform squares. */
.site-main .wp-block-gallery.has-nested-images .wp-block-image > a {
	display: block !important;
	flex: none !important;
	height: 220px !important;
	overflow: hidden;
	width: 220px;
}

.site-main .wp-block-gallery.has-nested-images .wp-block-image img {
	width: 220px !important;
	height: 220px !important;
	object-fit: cover !important;
	flex: none !important;
}

.site-main .wp-block-gallery.has-nested-images .wp-block-image:has(figcaption)::before {
	content: unset;
}

.site-main .wp-block-gallery.has-nested-images .wp-block-image:has(figcaption) img {
	border-radius: 5px;
}

.site-main .wp-block-gallery.has-nested-images .wp-block-image:hover {
	border: 1px solid #666;
	box-shadow: 0 0 15px 0 rgba( 0, 0, 0, 0.35 );
}

.site-main .wp-block-gallery.has-nested-images .wp-block-image:hover:has(figcaption) img {
	border-radius: 5px 5px 0 0;
}

.site-main .wp-block-gallery.has-nested-images .wp-block-image figcaption {
	background: unset;
	color: #000;
	overflow: visible;
	padding: 0.5rem 0.75rem;
	position: relative;
	text-shadow: unset;
}

.site-main .wp-block-gallery.has-nested-images .wp-block-image figcaption a {
	align-items: center;
	display: flex;
	justify-content: center;
	line-height: 1rem;
	padding: 0.5rem 0;
	position: relative;
	text-decoration: none;
	width: 100%;
}

/* Restore natural image dimensions inside the WP lightbox overlay. */
.site-main .wp-block-gallery.has-nested-images .wp-lightbox-overlay img {
	width: auto !important;
	height: auto !important;
	object-fit: unset !important;
}