/*!
Theme Name: bsrg
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 6.9.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bsrg
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

bsrg is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
# Custom Styles
--------------------------------------------------------------*/

:root {
	--primary-color: #4dbeaa;
	--light-color: #FCFCFC;
	--dark-color: #191516;
	--red: #AB2346;
	--blue: #3E6990;
	--border-color: #D4D4D4;
}

/* Normalize
--------------------------------------------- */
html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	box-sizing: border-box;
}

body {
	background-color: #F2F2F2;
	color: var(--dark-color);
	overflow-x: hidden;
}

main {
	display: block;
}

hr {
	box-sizing: content-box;
	overflow: visible;
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

pre {
	font-size: 1em;
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
	height: auto;
	max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
	width: 100%;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: inherit;
	padding: 0;
	margin: 0;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--dark-color, #191516);
	font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: "Bebas Neue", sans-serif;
	font-weight: normal;
	text-transform: uppercase;
}

h1 {
	font-size: 48px;
}

h2 {
	font-size: 40px;
}

h3 {
	font-size: 32px;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

/* Elements
--------------------------------------------- */

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a, a:visited {
	color: var(--primary-color);
}

a:hover,
a:focus,
a:active {
	color: #26AE96;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	width: 100%;
	flex-grow: 1;
	display: flex;
	justify-content: center;
}

.main-navigation ul {
	padding-left: 0;
	display: flex;
	gap: 40px;
	list-style: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	color: var(--dark-color);
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.site-footer {
	background-color: var(--dark-color);
}

/* Buttons */
.btn,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	padding: 12px 24px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}

.btn-white {
	background-color: var(--light-color);
	color: var(--dark-color)!important;
}

.btn-white:hover {
	background-color: var(--border-color);
}

.btn-green {
	background-color: #3F5E63;
	color: var(--light-color);
}

.btn-green:hover {
	background-color: var(--dark-color);
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--light-color)!important;
	transition: opacity 0.3s ease;
}

.btn-primary:hover {
	background-color: #26AE96 !important;
	color: var(--light-color)!important;
}

/* Labels */
.label {
	padding: 4px 16px;
	border-radius: 99px;
	font-size: 14px;
	display: inline-block;
}

.label-green {
	color: var(--dark-color);
	background-color: var(--primary-color);
}

.label-red {
	color: var(--light-color);
	background-color: var(--red);
}

.label-blue {
	color: var(--light-color);
	background-color: var(--blue);
}

.label-black {
	color: var(--light-color);
	background-color: var(--dark-color);
}

/* Card */
.card {
	padding: 32px;
	background-color: var(--light-color);
	border: 1px solid var(--border-color);
	border-radius: 12px;
}

/* Layout */
#page {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 32px;
}

/* Footer */
.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 64px 32px 32px;
}

.footer-columns {
	display: flex;
	flex-direction: column;
	gap: 48px;
	margin-bottom: 64px;
	color: #D4D4D4;
}

.footer-heading {
	margin-bottom: 24px;
	text-align: left;
}

.footer-social {
	text-align: left;
}

.contact-list,
.social-list {
	list-style: none;
}

.contact-list li {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
	color: #D4D4D4;
	font-size: 16px;
}

.contact-list a,
.contact-list a:visited {
	color: #D4D4D4;
	text-decoration: none;
}

.contact-list img {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
}

.social-list {
	display: flex;
	gap: 16px;
}

.social-list img {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
	transition: opacity 0.3s;
}

.social-list a:hover img {
	opacity: 0.7;
}

.footer-bottom {
	border-top: 1px solid rgba(212, 212, 212, 0.2);
	padding-top: 24px;
	text-align: center;
	font-size: 14px;
	color: #D4D4D4;
}

/* 404 Page */
.error404-layout {
	height: 100vh;
	width: 100vw;
	overflow: hidden;
}

.error-fullscreen {
	height: 100vh;
	width: 100vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	background: linear-gradient(180deg, #3F5E63 36%, #4DBEAA 87%, #ECF8D4 100%);
	padding: 32px;
}

.error-title {
	color: var(--light-color, #FCFCFC);
	margin-bottom: 16px;
	/* Typography handled by global h1 rule (Bebas Neue) */
}

.error-desc {
	color: var(--light-color, #FCFCFC);
	margin-bottom: 48px;

	font-size: 18px;
	max-width: 600px;
}

/* Publications Archive
--------------------------------------------- */
.single-layout-wrapper h1 {
	text-align: center;
}

.single-layout-wrapper .post-thumbnail {
	margin-top: 24px;
	margin-bottom: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Filter Pills */
.publications-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 40px;
	margin-top: 40px;
}

.filter-pill {
	padding: 8px 20px;
	border-radius: 99px;
	border: 1px solid var(--border-color);
	background-color: var(--light-color);
	color: var(--dark-color);
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.filter-pill:hover {
	background-color: var(--border-color);
}

.filter-pill.active {
	background-color: var(--dark-color);
	color: var(--light-color);
	border-color: var(--dark-color);
}

/* Publications Grid */
.publications-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-bottom: 80px;
}

/* Publication Card Footer (label + download) */
.publication-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
}

.publication-card-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 32px;
}

.publication-card-download {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--primary-color);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: color 0.2s ease;
}

.publication-card-download:hover {
	color: #26AE96;
	text-decoration: underline;
}

.publication-card-download .icon {
	width: 16px;
	height: 16px;
}

.entry-content {
	font-size: 18px;
}

/* Event Cards
--------------------------------------------- */
.event-card {
	display: flex;
	flex-direction: column;
	min-height: 280px;
}

.event-card-header {
	display: flex;
	justify-content: flex-end;
}

.event-card-title {
	text-align: left;
	margin-bottom: 24px;
	margin-top: 24px;
}

.event-card-title a {
	color: var(--dark-color);
	text-decoration: none;
}

.event-card-title a:hover {
	text-decoration: underline;
}

.event-card-body {
	flex-grow: 1;
}

.event-card-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.event-card-meta img.icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.event-card-footer {
	margin-top: auto;
}

.event-card-link {
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: opacity 0.2s ease;
	border-bottom: 1.5px solid var(--primary-color);
	padding-bottom: 2px;
}

.event-card-link:hover {
	opacity: 0.7;
}

.event-card-link .arrow-icon {
	width: 12px;
	height: 16px;
}

/* Home Events Section
--------------------------------------------- */
.home-events-section {
	margin-bottom: 80px;
	text-align: center;
}

.home-events-header {
	margin-bottom: 64px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.home-events-header h2 {
	margin-bottom: 16px;
}

.home-events-description {
	font-size: 24px;
}

.home-events-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-bottom: 64px;
	text-align: left;
}

.home-events-footer {
	display: flex;
	justify-content: center;
}

/* Home Publications Section
--------------------------------------------- */
.home-publications-section {
	margin: 80px 0;
	text-align: center;
}

.home-publications-header {
	margin-bottom: 64px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.home-publications-header h2 {
	margin-bottom: 16px;
}

.home-publications-description {
	font-size: 24px;
}

.home-publications-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 64px;
	text-align: left;
}

.home-publications-footer {
	display: flex;
	justify-content: center;
}

/* About Section
--------------------------------------------- */
.home-about-section {
	margin-top: 160px;
	margin-bottom: 80px;
	position: relative;
}

.home-about-card {
	padding: 64px;
	display: flex;
	max-height: 500px;
}

.home-about-content {
	max-width: 45%;
	height: fit-content;
	padding-right: 16px;
}

.home-about-title {
	margin-top: 0;
	margin-bottom: 32px;
	text-align: left;
}

.home-about-description p {
	margin-bottom: 24px;
	font-size: 24px;
}

.home-about-description p:last-child {
	margin-bottom: 0;
}

.home-about-image {
	flex: 1;
	width: 100%;
	min-height: 500px;
}

.home-about-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
	position: relative;
    bottom: clamp(0rem, -16.875rem + 30vw, 9.375rem);
}

/* Purpose Section
--------------------------------------------- */
.purpose-section {
	margin-bottom: 80px;
}

.purpose-header {
	text-align: center;
	margin-bottom: 16px;
}

.purpose-header .section-title{
	
}

.purpose-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	max-width: 942px;
    margin: 0 auto;
}

.mission-card {
	padding: 32px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	min-height: 200px;
}

.white-card {
	background-color: var(--light-color);
	border: 1px solid var(--border-color);
}

.mission-icon {
	width: 40px;
	height: 40px;
	margin-bottom: 24px;
}

.mission-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mission-title {
	margin-bottom: 8px;
}

.mission-description {
	font-size: 18px;
}

.mission-center {
	background-size: cover;
	background-position: center;
	color: var(--light-color);
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 32px;
}

.mission-center-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.center-sub {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
}

.center-title {
	font-size: 40px;
	color: var(--light-color);
}

/* CTA Section
--------------------------------------------- */
.cta-section {
	margin-bottom: 80px;
}

.cta-container {
	background:linear-gradient(180deg, #3F5E63 0%, #4DBEAA 80%, #ECF8D4 105%);
	padding: 80px 32px;
	border-radius: 12px;
	text-align: center;
}

.cta-title {
	color: var(--light-color);
	max-width: 800px;
	margin: 0 auto 32px;
	font-size: 48px;
	letter-spacing: 2px;
}

/* Volunteering Page
--------------------------------------------- */
.volunteering-layout-wrapper {
	margin-bottom: 80px;
}

.volunteering-hero-section {
	margin-bottom: 80px;
	padding-top: 98px;
	position: relative;
}

.volunteering-hero-card {
	display: flex;
	gap: 24px;
}

.volunteering-hero-content{
	max-width: 500px;
}

.volunteering-hero-content h1,
.volunteering-form-section h2 {
	text-align: left;
}

.volunteering-hero-content h1{
	margin-bottom: 32px;
}


.volunteering-hero-image img {
	border-radius: 12px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.volunteering-hero-content .entry-content {
	font-size: 18px;
}

.volunteering-form-section {
	margin-bottom: 80px;
}

.volunteering-form-intro {
	text-align: center;
	margin-bottom: 24px;
}

.volunteering-form-card {
	max-width: 900px;
	margin: 0 auto;
}

.volunteering-form-inner .ff-el-group {
	margin-bottom: 16px;
}

.volunteering-form-inner .ff-submit-btn-wrapper {
	margin-top: 16px;
}

/* Site Header
--------------------------------------------- */
.site-header {
	background-color: var(--light-color);
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.25);
}

.header-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 32px;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--primary-color);
	text-decoration: underline;
}

.main-navigation a.btn{
	color: var(--light-color);
}

/* Active Menu Item States */
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-parent > a,
.main-navigation ul li.current-menu-ancestor > a,
.main-navigation ul li.current_page_item > a,
.main-navigation ul li.current_page_parent > a,
.main-navigation ul li.current_page_ancestor > a {
	color: var(--primary-color);
}

/* Menu Toggle Button (Mobile Only) */
.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	padding: 8px;
	margin: 0;
	cursor: pointer;
	color: var(--dark-color);
	position: relative;
	z-index: 9999;
}

.menu-toggle svg {
	display: block;
}

.menu-toggle .close-icon {
	display: none;
}

.menu-toggle .close-icon path{
	stroke: var(--dark-color);
}

.main-navigation.toggled .menu-toggle .hamburger-icon {
	display: none;
}

.main-navigation.toggled .menu-toggle .close-icon {
	display: block;
}

.mobile-only-btn {
	display: none;
}

.header-action .btn{
	white-space: nowrap;
	color: var(--light-color);
	transition: all 0.3s ease;
}

/* Home Hero Section
--------------------------------------------- */
body.home .site-header {
	background-color: transparent;
	box-shadow: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

body.home .site-header .main-navigation a,
body.home .site-header .menu-toggle {
	color: #fff;
}

body.home .site-header .main-navigation a:hover,
body.home .site-header .main-navigation a:focus,
body.home .site-header .main-navigation ul li.current-menu-item > a,
body.home .site-header .main-navigation ul li.current-menu-parent > a,
body.home .site-header .main-navigation ul li.current-menu-ancestor > a,
body.home .site-header .main-navigation ul li.current_page_item > a,
body.home .site-header .main-navigation ul li.current_page_parent > a,
body.home .site-header .main-navigation ul li.current_page_ancestor > a {
	color: var(--primary-color);
	text-decoration: underline;
}

/* Make volunteer button semi-transparent dark instead of green on homepage if needed? In screenshot it looks like var(--dark-color) or similar, but the user explicitly requested header is transparent not white. So we keep it as is, or maybe the button should remain green. */

.home-hero {
	background: linear-gradient(160deg, #3F5E63 0%, #4DBEAA 74%, #ECF8D4 100%);
	padding: 199px 0 91px 0;
	text-align: center;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	
	/* Full-width trick to escape #page container limits */
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	box-sizing: border-box;
}

.home-hero .hero-inner {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.home-hero .hero-title {
	margin-bottom: 16px;
}

.home-hero .hero-description {
	margin-bottom: 64px;
	font-size: 24px;
}

body.home .header-action .btn{
	border: none;
}

/* Breadcrumbs */
.bsrg-breadcrumbs {
	font-family: "IBM Plex Mono", monospace;
	font-size: 16px;
	color: #3F5E63;
	text-align: left;
	margin: 80px 0;
}

.bsrg-breadcrumbs a {
	color: #3F5E63;
	text-decoration: none;
}

.bsrg-breadcrumbs a:hover {
	text-decoration: underline;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}



/*--------------------------------------------------------------
# Single Layout (Publications & Events)
--------------------------------------------------------------*/
.single-layout-wrapper {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}

.single-layout-wrapper .post-thumbnail img {
	border-radius: 8px;
}

.single-layout-wrapper .post-thumbnail .fallback-image {
	border: 1px solid var(--border-color);
}

.single-layout-wrapper .wp-caption-text,
.single-layout-wrapper figcaption {
	font-size: 14px;
	font-style: italic;
	text-align: center;
	margin-top: 10px;
	color: #666;
}

.single-layout-wrapper .entry-meta-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 80px;
	gap: 16px;
}

.single-layout-wrapper .meta-left {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.single-layout-wrapper .meta-separator {
	color: var(--primary-color);
}

.single-layout-wrapper .meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
}

.single-layout-wrapper .event-info-bar .meta-item:first-child{
	margin-bottom: 16px;
}

.single-layout-wrapper .meta-item img.icon {
	width: 20px;
	height: 20px;
}

.single-layout-wrapper .meta-right .download-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
}

.single-layout-wrapper .meta-right .download-btn:hover {
	color: #26AE96;
	text-decoration: underline;
}

.single-layout-wrapper .entry-content.card {
	margin-bottom: 80px;
}

.single-layout-wrapper .entry-content.card p {
	margin-bottom: 24px;
}

.single-layout-wrapper .card p a {
	color: #318a80;
}

.wp-block-image img {
	border-radius: 12px;
}

.single-layout-wrapper .card ul {
	margin-left: 24px;
}

/* Event-specific Styles */

.single-layout-wrapper .event-excerpt {
	margin-bottom: 24px;
	margin-top: 24px;
}

.single-layout-wrapper .event-info-bar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 80px;
}

@media screen and (min-width: 800px) {
	.single-layout-wrapper .event-info-bar {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.single-layout-wrapper .event-info-left {
		display: flex;
		flex-direction: column;
		align-items: start;
		flex-wrap: wrap;
	}
}

.single-layout-wrapper .register-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.single-layout-wrapper .register-btn .icon {
	width: 12px;
	height: 16px;
}

.single-layout-wrapper .event-info-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--primary-color);
	flex-shrink: 0;
}

.single-layout-wrapper .event-info-icon img.icon {
	width: 14px;
	height: 14px;
}

.single-layout-wrapper .event-details-title {
	margin-bottom: 24px;
}

.single-layout-wrapper .registration-section {
	margin-bottom: 80px;
}

/* Event Partners */
.single-layout-wrapper .event-partners-section {
	margin-bottom: 80px;
}

.single-layout-wrapper .event-partners-section h2,
.single-layout-wrapper .event-registration-title {
	margin-bottom: 24px;
}

.single-layout-wrapper .partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 24px;
}

.single-layout-wrapper .partner-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px 16px;
}

.single-layout-wrapper .partners-grid .card{
	margin-bottom: unset;
}

.single-layout-wrapper .partner-thumbnail {
	margin-bottom: 12px;
	max-width: 100px;
} 

.single-layout-wrapper .partner-thumbnail img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.single-layout-wrapper .partner-name {
	font-size: 16px;
}

/* Related Posts */
.single-layout-wrapper .related-posts-section {
	margin-bottom: 80px;
}

.single-layout-wrapper .related-posts-section h2 {
	margin-bottom: 40px;
	text-align: center;
}

.related-posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

/* Publication Card (reusable component) */
.publication-card {
	overflow: hidden;
	transition: box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0;
}

.publication-card:hover,
.event-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.publication-card-link:hover{
	color: var(--dark-color)!important;
}

.publication-card-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.publication-card-link:visited {
	color: inherit;
}

.publication-card-thumbnail {
	width: 100%;
	height: 222px;
	overflow: hidden;
}

.publication-card-thumbnail img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border-radius: 12px 12px 0 0;
}

.publication-card-meta {
	font-size: 14px;
	margin-bottom: 24px;
}

.publication-card-meta .meta-separator {
	color: var(--primary-color);
}

.related-posts-grid .meta-separator {
	color: unset;
}

.publication-card-author {
	color: var(--primary-color);
	font-weight: 500;
}

.publication-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.publication-card-title:hover {
	text-decoration: underline;
}

.publication-card-excerpt {
	margin-bottom: 24px;
	margin-top: 8px;
}

.publication-card:nth-child(4){
	display: none;
}

@media screen and (500px < width < 800px) {
	.purpose-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mission-center{
		grid-column: span 2;
		order: -1;
	}
}

@media screen and (width < 500px) {
	.purpose-grid {
		grid-template-columns: repeat(1, 1fr);
	}

	.mission-center{
		order: -1;
	}
}

@media screen and (min-width: 800px) {

	.footer-columns {
		flex-direction: row;
		justify-content: space-between;
	}

	.footer-social {
		text-align: right;
	}
	.social-list {
		justify-content: flex-start;
	}

	.publications-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-events-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.volunteering-hero-card {
		padding-right: 332px; /* 300px image + 32px spacing */
	}

	.volunteering-hero-image {
		position: absolute;
		bottom: 32px;
		right: 32px;
		width: 300px;
		height: 300px;
		z-index: 2;
	}

	.related-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1464px) {
	.header-inner {
		padding: 24px 0;
	}
}

@media screen and (max-width: 900px) {
	.main-navigation{
justify-content: flex-end;
	}


	.header-action {
		display: none; /* Hide desktop button */
	}

	.mobile-only-btn {
		display: list-item;
		margin-top: 16px;
	}

	.menu-toggle {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}

	/* Full Screen Overlay when toggled */
	.main-navigation.toggled ul {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: start;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100vw;
		height: 100vh;
		background-color: var(--light-color);
		color: var(--dark-color);
		z-index: 9998;
		gap: 32px;
		padding: 32px;
		padding-top: 132px;
	}

	.main-navigation.toggled a {
		font-size: 24px;
		color: var(--dark-color)!important;
	}
	
	.main-navigation.toggled .mobile-only-btn a {
		font-size: 18px;
		color: var(--light-color)!important;
	}

	.main-navigation ul li.current-menu-item > a, .main-navigation ul li.current-menu-parent > a, .main-navigation ul li.current-menu-ancestor > a, .main-navigation ul li.current_page_item > a, .main-navigation ul li.current_page_parent > a, .main-navigation ul li.current_page_ancestor > a {
		color: var(--primary-color)!important;
	}
}

@media screen and (width < 750px){
	.volunteering-hero-image {
		display: none;
	}

	.volunteering-hero-content {
		max-width: 100%;
	}
}

@media screen and (width < 1300px){
	.home-about-card {
		max-height: unset;
	}
}

@media screen and (800px < width < 1200px){
	.home-publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

	.publication-card:nth-child(4){
		display: block;
	}
}

@media screen and (width < 800px){
	.home-publications-grid {
        grid-template-columns: repeat(1, 1fr);
    }

	.publication-card:nth-child(4){
		display: block;
	}
}

@media screen and (width < 900px){
	.home-about-card{
		flex-direction: column;
		gap: 16px;
	}

	.home-about-content{
		max-width: 100%;
		text-align: center;
	}

	.home-about-title{
		text-align: center;
	}

	.home-about-image img{
		bottom: 0;
	}

	.home-about-image{
		min-height: unset;
	}
}

@media screen and (width < 800px) {
	.bsrg-breadcrumbs{
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#page{
		padding: 0 16px;
	}

	.card,
	.header-inner,
	.publication-card-body,
	.mission-card {
		padding: 16px;
	}

	.home-publications-section,
	.bsrg-breadcrumbs{
		margin: 40px 0;
	}

	.single-layout-wrapper .entry-meta-bar,
	.single-layout-wrapper .entry-content.card,
	.single-layout-wrapper .related-posts-section,
	.single-layout-wrapper .event-info-bar,
	.single-layout-wrapper .event-partners-section,
	.single-layout-wrapper .registration-section,
	.volunteering-hero-section,
	.cta-section,
	.home-events-section,
	.purpose-section,
	.home-about-section,
	.home-hero .hero-description,
	.home-events-header,
	.home-events-grid,
	.home-publications-grid,
	.home-publications-header,
	.footer-columns {
		margin-bottom: 40px;
	}

	.single-layout-wrapper h1{
		line-height: 1.2;
	}

	.footer-container{
		padding: 40px 16px;
	}

	.publication-card,
	.volunteering-hero-section{
		padding: 0;
	}

	.cta-container{
		padding: 32px;
		line-height: 1.2;
		font-size: 40px;
	}

	.home-about-section{
		margin-top: 0;
	}

	.home-hero{
		padding-top: 80px;
	}
}