/* Operations Lebanon: page styles, mobile layout, accessibility and print. */

/* --------------------------------------------------------------
   1. Page defaults and keyboard focus
   -------------------------------------------------------------- */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 112px;
}

body.opslb-page {
	margin: 0;
	background: #faf9f5;
	color: #192f3c;
}

.opslb-site,
.opslb-modal {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	line-height: 1.65;
	color: #192f3c;
	overflow-wrap: break-word;
}

.opslb-site .container {
	max-width: 1228px;
	padding-right: 24px;
	padding-left: 24px;
}

.opslb-site h1,
.opslb-site h2,
.opslb-site h3,
.opslb-site p,
.opslb-site figure {
	margin: 0;
}

.opslb-site a {
	color: inherit;
	text-decoration: none;
}

.opslb-site [hidden] {
	display: none !important;
}

.opslb-site :where(a, button, summary):focus-visible,
.opslb-modal :focus-visible {
	outline: 3px solid #a05b16;
	outline-offset: 5px;
}

.opslb-giving :where(a, button):focus-visible {
	outline-color: #f4d99c;
}

.opslb-skip {
	position: fixed;
	top: 10px;
	left: 16px;
	z-index: 100001;
	padding: 12px 20px;
	border: 2px solid #192f3c;
	background: #fff;
}

/* --------------------------------------------------------------
   2. Shared headings, text, icons and buttons
   -------------------------------------------------------------- */

.opslb-section {
	padding: 92px 0;
}

.opslb-section h2 {
	font: 400 clamp(33px, 3.3vw, 45px)/1.15 Georgia, 'Times New Roman', serif;
	letter-spacing: -1.1px;
}

.opslb-eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 18px !important;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.opslb-eyebrow::before {
	content: '';
	width: 23px;
	height: 1px;
	flex-shrink: 0;
	background: #a58246;
}

.opslb-intro,
.opslb-about-copy,
.opslb-section-lead,
.opslb-work-list p,
.opslb-support-card p,
.opslb-person-bio,
.opslb-faq-lead,
.opslb-faq-answer {
	color: #5d676a;
	font-size: 13px;
	line-height: 1.85;
}

.opslb-section-lead {
	max-width: 345px;
}

.opslb-icon {
	display: block;
	width: 21px;
	height: 21px;
	flex-shrink: 0;
}

.opslb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 17px;
	min-height: 53px;
	padding: 14px 23px;
	border-radius: 3px;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.4;
}

.opslb-site .opslb-button-primary,
.opslb-modal .opslb-button-primary {
	background: #192f3c;
	border-color: #192f3c;
	color: #fff;
}

.opslb-site .opslb-button-primary:hover,
.opslb-modal .opslb-button-primary:hover {
	background: #2c4855;
	border-color: #2c4855;
}

.opslb-site .opslb-button-gold {
	background: #e4be71;
	border-color: #e4be71;
	color: #192f3c;
}

.opslb-site .opslb-button-gold:hover {
	background: #f2d39a;
	border-color: #f2d39a;
}

.opslb-site .opslb-button-outline {
	border-color: #667982;
	color: #fff;
}

.opslb-site .opslb-button-outline:hover {
	border-color: #fff;
	background: #ffffff08;
}

.opslb-text-link {
	font-size: 13px;
	font-weight: 600;
	min-height: 44px;
}

.opslb-text-link:hover,
.opslb-header .nav-link:hover {
	text-decoration: underline;
	text-underline-offset: 5px;
}

/* --------------------------------------------------------------
   3. Preview banner
   -------------------------------------------------------------- */

.opslb-preview {
	padding: 8px 24px;
	background: #e9ece7;
	color: #435459;
	font-size: 11px;
	text-align: center;
}

.opslb-preview strong {
	margin-right: 10px;
	font-size: 10px;
	letter-spacing: 0.12em;
}

/* --------------------------------------------------------------
   4. Header, branding and navigation
   -------------------------------------------------------------- */

.opslb-header {
	background: #faf9f5;
	border-bottom: 1px solid #dcded8;
}

.admin-bar .opslb-header {
	top: 32px;
}

.opslb-header .navbar {
	min-height: 91px;
}

.opslb-brand-mark {
	width: 37px;
	height: 40px;
}

.opslb-brand-name {
	font-size: 24px;
	font-weight: 650;
	line-height: 1.1;
	letter-spacing: -0.8px;
}

.opslb-brand-sub {
	margin-top: 6px;
	font-size: 9px;
	font-weight: 650;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.opslb-header .nav-link {
	font-size: 13px;
	font-weight: 550;
}

.opslb-header .opslb-button {
	min-height: 43px;
	padding: 11px 19px;
	font-size: 12px;
}

.opslb-header .navbar-toggler {
	min-height: 44px;
	padding: 9px 0 9px 14px;
	border: 0;
	font-size: 13px;
	color: #192f3c;
}

.opslb-header .collapsing {
	transition: none;
}

/* --------------------------------------------------------------
   5. Hero: introduction, initials and office photo
   -------------------------------------------------------------- */

.opslb-hero {
	padding: 68px 0 67px;
}

.opslb-hero h1 {
	font: 400 clamp(48px, 4.9vw, 69px)/1.07 Georgia, 'Times New Roman', serif;
	letter-spacing: -2.2px;
}

.opslb-hero h1 em {
	color: #8b6d38;
}

.opslb-intro {
	max-width: 430px;
	font-size: 15px;
}

.opslb-hero-note {
	font-size: 11px;
	color: #5d676a;
}

.opslb-avatar-stack span {
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
	margin-left: -7px;
	border: 2px solid #faf9f5;
	border-radius: 50%;
	background: #d5ded4;
	color: #233c43;
	font: 12px Georgia, 'Times New Roman', serif;
}

.opslb-avatar-stack span:first-child {
	margin-left: 0;
	background: #e7d9cc;
}

.opslb-avatar-stack span:nth-child(3) {
	background: #eadfb8;
}

.opslb-avatar-stack span:nth-child(4) {
	background: #d1dce3;
}

.opslb-avatar-stack span:nth-child(5) {
	background: #e3d7d2;
}

.opslb-hero-photo > img {
	height: 510px;
	object-position: 51% 50%;
	background: #e7dfcf;
}

.opslb-photo-card {
	left: -22px;
	bottom: 26px;
	max-width: calc(100% - 30px);
	padding: 20px 27px;
	border-left: 3px solid #e4be71;
	background: #faf9f5;
	box-shadow: 0 8px 25px #0b22300c;
}

.opslb-photo-card small {
	color: #6b6a60;
	font-size: 9px;
	letter-spacing: 0.15em;
}

.opslb-photo-card p {
	font: 23px/1.3 Georgia, 'Times New Roman', serif;
}

.opslb-photo-caption {
	font-size: 10px;
	color: #697170;
}

/* --------------------------------------------------------------
   6. Team facts strip
   -------------------------------------------------------------- */

.opslb-facts {
	padding: 28px 0;
	border-top: 1px solid #dcded8;
	border-bottom: 1px solid #dcded8;
}

.opslb-fact + .opslb-fact {
	border-left: 1px solid #dcded8;
}

.opslb-fact strong {
	font: 31px/1.1 Georgia, 'Times New Roman', serif;
	white-space: nowrap;
}

.opslb-fact p {
	font-size: 11px;
	color: #5d676a;
}

/* --------------------------------------------------------------
   7. Our purpose
   -------------------------------------------------------------- */

.opslb-about-copy {
	max-width: 440px;
	font-size: 14px;
}

.opslb-mission {
	padding: 19px 0 19px 22px;
	border-left: 2px solid #b89a60;
	font: 20px/1.5 Georgia, 'Times New Roman', serif;
}

.opslb-work-list li {
	padding: 23px 0;
	border-bottom: 1px solid #dcded8;
}

.opslb-work-number {
	width: 28px;
	color: #8a7146;
	font: italic 15px Georgia, 'Times New Roman', serif;
}

.opslb-work-list h3 {
	font-size: 16px;
	font-weight: 600;
}

/* --------------------------------------------------------------
   8. Donation impact cards
   -------------------------------------------------------------- */

.opslb-support {
	background: #eeeee7;
	border-top: 1px solid #e4e5df;
	border-bottom: 1px solid #e4e5df;
}

.opslb-support-card {
	background: #faf9f5;
	border-color: #dedfd7;
}

.opslb-support-icon {
	width: 45px;
	height: 45px;
	border: 1px solid #d4d9cf;
	background: #edf0e9;
}

.opslb-support-card h3 {
	font: 24px/1.2 Georgia, 'Times New Roman', serif;
	letter-spacing: -0.4px;
}

.opslb-support-card small {
	border-top: 1px solid #dcded8;
	font-size: 10px;
	font-weight: 550;
}

.opslb-support-note,
.opslb-sample-note,
.opslb-contact-placeholder {
	font-size: 11px;
	color: #5d676a;
}

.opslb-support-note .opslb-icon {
	width: 15px;
	height: 15px;
}

/* --------------------------------------------------------------
   9. Team portraits, names, roles and biographies
   -------------------------------------------------------------- */

.opslb-portrait {
	aspect-ratio: 4 / 4.7;
	background: #e3ded1;
}

.opslb-person:nth-child(2) .opslb-portrait {
	background: #d7dfd9;
}

.opslb-person:nth-child(3) .opslb-portrait {
	background: #e8dfc7;
}

.opslb-person:nth-child(4) .opslb-portrait {
	background: #d9e0e3;
}

.opslb-person:nth-child(5) .opslb-portrait {
	background: #e7d9d1;
}

.opslb-portrait-art {
	color: #75817c;
	opacity: 0.75;
}

.opslb-portrait-label {
	bottom: 12px;
	left: 10px;
	right: 10px;
	color: #44534f;
	font-size: 8px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.opslb-person h3 {
	font: 25px/1.3 Georgia, 'Times New Roman', serif;
}

.opslb-person-role {
	min-height: 36px;
	font-size: 11px;
	color: #765e31;
	font-weight: 600;
}

.opslb-person-bio {
	font-size: 12px;
}

/* --------------------------------------------------------------
   10. Giving section
   -------------------------------------------------------------- */

.opslb-giving {
	background: #192f3c;
	color: #fff;
}

.opslb-giving .opslb-eyebrow {
	color: #dcc28f;
}

.opslb-giving h2 {
	font-size: clamp(38px, 4vw, 51px);
}

.opslb-giving-intro {
	max-width: 430px;
	font-size: 14px;
	line-height: 1.85;
	color: #c0ccd1;
}

.opslb-giving-thanks {
	color: #e3ca98;
	font: italic 21px/1.4 Georgia, 'Times New Roman', serif;
}

.opslb-giving-card {
	padding: 33px;
	border: 1px solid #526872;
	background: #ffffff03;
}

.opslb-giving-card h3 {
	font-size: 17px;
	font-weight: 600;
}

.opslb-giving-card p {
	color: #c4cfd3;
	font-size: 13px;
	line-height: 1.85;
}

.opslb-giving-card .opslb-giving-small {
	font-size: 10px;
}

.opslb-giving-card .opslb-giving-status {
	border-top: 1px solid #465e6a;
	font-size: 11px;
	color: #e2cfaa;
}

/* --------------------------------------------------------------
   11. Giving preview popup
   -------------------------------------------------------------- */

.opslb-modal .modal-dialog {
	max-width: 460px;
}

.opslb-modal .modal-content {
	padding: 33px;
	border: 0;
	background: #faf9f5;
}

.opslb-modal h2 {
	font: 31px/1.2 Georgia, 'Times New Roman', serif;
}

.opslb-modal p {
	font-size: 14px;
	color: #5d676a;
}

/* --------------------------------------------------------------
   12. Questions and contact
   -------------------------------------------------------------- */

.opslb-faq-list {
	border-top: 1px solid #dcded8;
}

.opslb-faq-list details {
	border-bottom: 1px solid #dcded8;
}

.opslb-faq-list summary {
	padding: 23px 0;
	list-style: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 550;
}

.opslb-faq-list summary::-webkit-details-marker {
	display: none;
}

.opslb-faq-list summary::marker {
	content: '';
}

.opslb-faq-list summary .opslb-icon {
	width: 17px;
	height: 17px;
}

.opslb-faq-list details[open] .opslb-icon {
	transform: rotate(45deg);
}

/* --------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------- */

.opslb-footer {
	padding: 35px 0 24px;
	border-top: 1px solid #dcded8;
}

.opslb-footer .opslb-brand-name {
	font-size: 21px;
}

.opslb-footer-tagline {
	font: italic 21px Georgia, 'Times New Roman', serif;
	color: #5c686b;
}

.opslb-footer-bottom {
	border-top: 1px solid #dcded8;
	font-size: 10px;
	color: #5d676a;
}

/* --------------------------------------------------------------
   14. Mobile layout: up to 991.98px
   -------------------------------------------------------------- */

/* Bootstrap changes the columns at 992px; these are the extra page adjustments. */
@media (max-width: 991.98px) {
	/* Container width and side spacing. */
	.opslb-site .container {
		max-width: 738px;
		padding-right: 20px;
		padding-left: 20px;
	}

	/* Header and branding. */
	.opslb-header .navbar {
		min-height: 77px;
	}

	.opslb-brand-name {
		font-size: 22px;
	}

	.opslb-brand-mark {
		width: 32px;
		height: 36px;
	}

	/* Hero text, photo and caption card. */
	.opslb-hero {
		padding: 43px 0 38px;
	}

	.opslb-hero h1 {
		font-size: clamp(41px, 8.6vw, 65px);
		letter-spacing: -1.7px;
	}

	.opslb-hero-photo > img {
		height: auto;
		aspect-ratio: 1.4;
		object-position: center;
	}

	.opslb-photo-card {
		left: 14px;
		bottom: 17px;
		padding: 14px 19px;
	}

	.opslb-photo-card p {
		font-size: 20px;
	}

	/* Team facts and photo caption. */
	.opslb-fact strong {
		font-size: clamp(19px, 4vw, 28px);
		white-space: normal;
	}

	.opslb-fact p,
	.opslb-photo-caption {
		font-size: 10px;
	}

	/* Shared section spacing and heading sizes. */
	.opslb-section {
		padding: 59px 0;
	}

	.opslb-section h2 {
		font-size: clamp(34px, 6vw, 43px);
	}

	/* Allow introductory text to use the available width. */
	.opslb-intro,
	.opslb-about-copy,
	.opslb-section-lead,
	.opslb-giving-intro {
		max-width: 100%;
	}

	/* Team biographies. */
	.opslb-person-bio {
		font-size: 11px;
	}

	.opslb-person:first-child {
		margin-left: 25%;
		margin-right: 25%;
	}

	/* Giving card spacing. */
	.opslb-giving-card {
		padding: 24px;
	}
}

/* --------------------------------------------------------------
   15. WordPress admin toolbar offsets
   -------------------------------------------------------------- */

@media (max-width: 782px) {
	.admin-bar .opslb-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .opslb-header {
		top: 0;
	}
}

/* --------------------------------------------------------------
   16. Reduced-motion preference
   -------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.opslb-site *,
	.opslb-modal * {
		transition: none !important;
		animation: none !important;
	}
}

/* --------------------------------------------------------------
   17. Print layout
   -------------------------------------------------------------- */

@media print {
	.opslb-section {
		padding: 30px 0;
	}

	.opslb-site {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}
