/**
 * Bootstrap 5.3 example patterns — scoped for BSK shortcodes.
 * Album, Checkout, PDF modal, Cover hero.
 * Includes minimal component styles (cards, modals, buttons) since only utilities CDN is loaded.
 */

/* Minimal layout helpers (Bootstrap grid subset) */
.container {
	width: 100%;
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 1rem;
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin-inline: -0.75rem;
}

.row > .col,
.row > [class*="col-"] {
	padding-inline: 0.75rem;
}

.g-4 {
	gap: 1.5rem;
}

.row.g-4 {
	margin-inline: 0;
}

.row.justify-content-center {
	justify-content: center;
}

.row-cols-1 > * {
	flex: 0 0 100%;
	max-width: 100%;
}

@media (min-width: 576px) {
	.row-cols-sm-2 > * {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (min-width: 768px) {
	.row-cols-md-3 > * {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}

	.row-cols-md-4 > * {
		flex: 0 0 25%;
		max-width: 25%;
	}

	.col-md-5 {
		flex: 0 0 41.666%;
		max-width: 41.666%;
	}

	.col-md-7 {
		flex: 0 0 58.333%;
		max-width: 58.333%;
	}
}

/* Minimal Bootstrap component equivalents */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 0.5rem;
}

.card-body {
	flex: 1 1 auto;
	padding: 1rem;
}

.card-img-top {
	width: 100%;
}

.card-title {
	margin-bottom: 0.5rem;
}

.card-text:last-child {
	margin-bottom: 0;
}

.shadow-sm {
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.h-100 {
	height: 100% !important;
}

.list-group {
	display: flex;
	flex-direction: column;
	padding-left: 0;
	margin-bottom: 0;
}

.list-group-flush .list-group-item {
	border-width: 0 0 1px;
}

.list-group-item {
	padding: 0.75rem 0;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn {
	display: inline-block;
	padding: 0.625rem 1.25rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 0.5rem;
	cursor: pointer;
	line-height: 1.5;
}

.btn-primary {
	background-color: #4a9e6b;
	border-color: #4a9e6b;
	color: #fff;
}

.btn-outline-secondary {
	background-color: transparent;
	border-color: #6c757d;
	color: #1a4a2e;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1055;
	display: none;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
}

.modal.show {
	display: block;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: 1.75rem auto;
	max-width: 1140px;
	padding: 0 1rem;
}

.modal-dialog-scrollable .modal-body {
	overflow-y: auto;
}

.modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	background-color: #fff;
	border-radius: 0.5rem;
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
}

.modal-body {
	position: relative;
	flex: 1 1 auto;
}

.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1050;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5);
}

.btn-close {
	box-sizing: content-box;
	width: 1em;
	height: 1em;
	padding: 0.25em;
	background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
	border: 0;
	cursor: pointer;
}

.w-100 {
	width: 100% !important;
}

.text-muted {
	color: #6c757d !important;
}

.small {
	font-size: 0.875em;
}

/* Album pattern */
.bsk-album {
	max-width: 1140px;
	margin-inline: auto;
}

.bsk-album .row {
	justify-content: center;
}

.bsk-album .row-cols-md-3 .col {
	max-width: 360px;
}

.bsk-album .row-cols-md-4 .col {
	max-width: 280px;
}

.bsk-album .bsk-album-card {
	border: 1px solid rgba(13, 43, 26, 0.08);
	border-radius: 0.5rem;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bsk-album .bsk-album-card:hover {
	box-shadow: 0 8px 24px rgba(13, 43, 26, 0.12);
	transform: translateY(-2px);
}

.bsk-album .card-img-top {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bsk-album-link {
	display: block;
	text-decoration: none;
}

/* Checkout pattern */
.bsk-checkout {
	max-width: 1140px;
	margin-inline: auto;
}

.bsk-checkout-details .list-group-item {
	border-color: rgba(13, 43, 26, 0.1);
	color: #1a4a2e;
}

.bsk-checkout-form-card {
	border: 1px solid rgba(13, 43, 26, 0.1);
	border-radius: 0.5rem;
}

.bsk-checkout-form .wpforms-container {
	margin: 0 !important;
}

.bsk-checkout-form .wpforms-field {
	margin-bottom: 1rem;
}

.bsk-checkout-form input[type="text"],
.bsk-checkout-form input[type="email"],
.bsk-checkout-form input[type="tel"],
.bsk-checkout-form textarea,
.bsk-checkout-form select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #ced4da;
	border-radius: 0.375rem;
}

.bsk-checkout-form .wpforms-submit {
	width: 100%;
	background-color: #4a9e6b !important;
	border-color: #4a9e6b !important;
	padding: 0.75rem 1.5rem !important;
	border-radius: 0.5rem !important;
	font-weight: 600;
}

.bsk-checkout-form .wpforms-submit:hover {
	background-color: #3d8a5c !important;
}

/* Simple event registration (volunteer page) — left-aligned */
.bsk-event-registration-simple {
	max-width: 640px;
	margin-inline: 0;
	padding-block: 1rem 2rem;
}

.bsk-volunteer-page .bsk-event-registration-simple {
	margin-inline: 0;
}

.bsk-event-registration-simple .bsk-form-brand {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: lowercase;
	color: #4a9e6b;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.bsk-event-registration-simple .bsk-form-title {
	font-family: "Lora", Georgia, serif;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 600;
	color: #1a2e1c;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.bsk-event-registration-simple .wpforms-title,
.bsk-event-registration-simple .wpforms-description {
	display: none !important;
}

.bsk-event-registration-simple .wpforms-container {
	margin: 0 !important;
}

.bsk-event-registration-simple .wpforms-field-label {
	font-weight: 600;
	color: #1a2e1c;
	margin-bottom: 0.35rem;
}

.bsk-event-registration-simple input[type="text"],
.bsk-event-registration-simple input[type="email"],
.bsk-event-registration-simple input[type="tel"],
.bsk-event-registration-simple textarea,
.bsk-event-registration-simple select {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid #d1d5db;
	border-radius: 0.375rem;
	background: #fff;
	font-size: 1rem;
}

.bsk-event-registration-simple .wpforms-field {
	margin-bottom: 1.25rem;
}

.bsk-event-registration-simple .wpforms-submit {
	background-color: #4a9e6b !important;
	border-color: #4a9e6b !important;
	color: #fff !important;
	padding: 0.75rem 2rem !important;
	border-radius: 0.375rem !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
}

.bsk-event-registration-simple .wpforms-submit:hover {
	background-color: #3d8a5c !important;
	border-color: #3d8a5c !important;
}

/* PDF modal pattern */
.bsk-pdf-modal .modal-content {
	border: none;
	border-radius: 0.5rem;
	overflow: hidden;
}

.bsk-pdf-modal-header {
	background-color: #0d2b1a;
	color: #f0f7e8;
	border-bottom: none;
}

.bsk-pdf-iframe {
	height: 80vh;
	border: 0;
	display: block;
}

.bsk-pdf-trigger,
.bsk-pdf-download {
	border-radius: 0.5rem;
	padding: 0.625rem 1.25rem;
}

.bsk-pdf-trigger {
	background-color: #4a9e6b;
	border-color: #4a9e6b;
	color: #fff;
}

.bsk-pdf-trigger:hover {
	background-color: #3d8a5c;
	border-color: #3d8a5c;
	color: #fff;
}

.bsk-pdf-download {
	color: #1a4a2e;
	border-color: #4a9e6b;
}

/* Volunteer opportunities cards */
.bsk-volunteer-opportunities .card {
	border: 1px solid rgba(13, 43, 26, 0.08);
	border-radius: 0.5rem;
}

.bsk-volunteer-opportunities .card-title {
	color: #0d2b1a;
	font-family: "Lora", Georgia, serif;
}

/* Cover-style page hero */
.bsk-cover-hero {
	background-color: #0d2b1a;
	color: #f0f7e8;
	padding: 4rem 2rem;
	text-align: center;
	border-radius: 0;
}

.bsk-cover-hero h1 {
	font-family: "Lora", Georgia, serif;
	margin-bottom: 1rem;
}

.bsk-cover-hero p {
	color: rgba(240, 247, 232, 0.85);
	max-width: 560px;
	margin-inline: auto;
}

.bsk-cover-hero .btn-primary {
	background-color: #4a9e6b;
	border-color: #4a9e6b;
	padding: 0.75rem 2rem;
	border-radius: 0.5rem;
}

/* Foundation header */
.elementor-location-header {
	margin-bottom: 0 !important;
	padding: 0 !important;
}

.bsk-foundation-header {
	width: 100%;
	background: #fff;
	border-bottom: 1px solid rgba(13, 43, 26, 0.1);
	box-shadow: 0 1px 8px rgba(13, 43, 26, 0.06);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.bsk-foundation-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: 1222px;
	min-height: 72px;
	margin-inline: auto;
	padding: 1rem 2.5rem;
}

.bsk-foundation-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

.bsk-foundation-logo-img {
	max-height: 64px;
	width: auto;
	height: auto;
}

.bsk-foundation-logo-text {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0d2b1a;
}

.bsk-foundation-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.bsk-foundation-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bsk-foundation-menu a {
	color: #1a4a2e;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

.bsk-foundation-menu a:hover,
.bsk-foundation-menu .current-menu-item > a {
	color: #4a9e6b;
}

.bsk-foundation-donate {
	white-space: nowrap;
	padding: 0.625rem 1.25rem !important;
}

.bsk-foundation-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(13, 43, 26, 0.15);
	border-radius: 0.375rem;
	background: #fff;
	cursor: pointer;
}

.bsk-foundation-nav-toggle-bar {
	display: block;
	width: 20px;
	height: 2px;
	margin-inline: auto;
	background: #0d2b1a;
}

/* Foundation footer */
.bsk-foundation-footer {
	background: #0d2b1a;
	color: #f0f7e8;
	padding-block: 3rem 1.5rem;
}

.bsk-foundation-footer-inner {
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.bsk-foundation-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 2rem;
}

.bsk-foundation-footer-heading {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #f0f7e8;
}

.bsk-foundation-footer-mission {
	color: rgba(240, 247, 232, 0.85);
	line-height: 1.6;
	margin-top: 1rem;
}

.bsk-foundation-footer-logo-img {
	max-height: 48px;
	width: auto;
}

.bsk-foundation-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bsk-foundation-footer-menu li {
	margin-bottom: 0.5rem;
}

.bsk-foundation-footer-menu a {
	color: #8ecb9b;
	text-decoration: none;
}

.bsk-foundation-footer-menu a:hover {
	color: #f0f7e8;
	text-decoration: underline;
}

.bsk-foundation-footer-contact {
	font-style: normal;
	color: rgba(240, 247, 232, 0.85);
}

.bsk-foundation-footer-contact a {
	color: #8ecb9b;
	text-decoration: none;
}

.bsk-foundation-footer-contact a:hover {
	color: #f0f7e8;
}

.bsk-foundation-footer-donate {
	margin-top: 1rem;
}

.bsk-foundation-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(240, 247, 232, 0.15);
}

.bsk-foundation-footer-copy {
	margin: 0;
	font-size: 0.875rem;
	color: rgba(240, 247, 232, 0.7);
}

.bsk-foundation-footer-legal a {
	color: #8ecb9b;
	text-decoration: none;
	font-size: 0.875rem;
}

.bsk-foundation-footer-legal a:hover {
	color: #f0f7e8;
	text-decoration: underline;
}

.elementor-location-header .elementor-section-wrap,
.elementor-location-footer .elementor-section-wrap {
	width: 100%;
}

.elementor-location-footer {
	padding: 0 !important;
}

/* Site footer legal links (legacy) */
.bsk-site-footer,
.bsk-footer-nav {
	color: rgba(240, 247, 232, 0.85);
}

.bsk-footer-nav a {
	color: #8ecb9b;
	text-decoration: none;
	margin: 0 0.5rem;
}

.bsk-footer-nav a:hover {
	color: #f0f7e8;
	text-decoration: underline;
}

/* Page content wrapper for shortcode pages */
.bsk-page-content {
	padding-block: 2rem;
}

.bsk-page-content .container {
	max-width: 1140px;
}

/* About page — original layout */
.bsk-about-original {
	background: #fff;
	padding-block: 3rem;
}

.bsk-about-content {
	max-width: 720px;
	margin-inline: auto;
	padding-inline: 1.5rem;
	text-align: center;
}

.bsk-about-logo {
	max-height: 120px;
	width: auto;
	margin-bottom: 1.5rem;
}

.bsk-about-brand {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: lowercase;
	color: #4a9e6b;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.bsk-about-heading {
	font-family: "Lora", Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: #1a2e1c;
	margin-bottom: 1.5rem;
}

.bsk-about-content p {
	color: #374151;
	line-height: 1.7;
	margin-bottom: 1rem;
	font-size: 1.05rem;
}

.bsk-about-content p:last-child {
	margin-bottom: 0;
}

@media (max-width: 991px) {
	.bsk-foundation-nav-toggle {
		display: flex;
	}

	.bsk-foundation-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 1rem 1.25rem 1.25rem;
		background: #fff;
		border-bottom: 1px solid rgba(13, 43, 26, 0.1);
		box-shadow: 0 8px 24px rgba(13, 43, 26, 0.1);
	}

	.bsk-foundation-header-inner {
		position: relative;
	}

	.bsk-foundation-nav.is-open {
		display: flex;
	}

	.bsk-foundation-menu {
		flex-direction: column;
		align-items: flex-start;
	}

	.bsk-foundation-footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.bsk-checkout .col-md-5 {
		margin-top: 1.5rem;
	}

	.bsk-pdf-iframe {
		height: 60vh;
	}

	.bsk-cover-hero {
		padding: 2.5rem 1rem;
	}
}
