/*
Theme Name: The RiverBarn
Theme URI: https://riverbarn.us/
Description: Lightweight child theme for The RiverBarn Event Center.
Author: The RiverBarn Event Center
Template: wedding-hall-pro
Version: 1.3.3
Text Domain: riverbarn
*/

:root {
	--rb-ink: #282a26;
	--rb-forest: #34463a;
	--rb-olive: #69705b;
	--rb-burgundy: #733e43;
	--rb-taupe: #aa9984;
	--rb-cream: #f7f3ec;
	--rb-paper: #fffdf9;
	--rb-white: #ffffff;
	--rb-border: #ddd5c8;
	--rb-shadow: 0 18px 55px rgba(40, 42, 38, 0.12);
	--rb-radius: 4px;
	--rb-content: 1180px;
	--rb-narrow: 760px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--rb-paper);
	color: var(--rb-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

a {
	color: var(--rb-burgundy);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--rb-forest);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
.wp-element-button,
.wp-block-button__link,
input[type="submit"] {
	border-radius: 0;
}

:focus-visible {
	outline: 3px solid var(--rb-burgundy);
	outline-offset: 3px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--rb-white);
	clip: auto !important;
	clip-path: none;
	color: var(--rb-ink);
	display: block;
	font-size: 1rem;
	height: auto;
	left: 1rem;
	padding: 0.8rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.rb-container {
	margin-inline: auto;
	max-width: var(--rb-content);
	padding-inline: 28px;
	width: 100%;
}

.rb-site-header {
	background: rgba(255, 253, 249, 0.97);
	border-bottom: 1px solid rgba(170, 153, 132, 0.35);
	position: sticky;
	top: 0;
	z-index: 1000;
}

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

.rb-header-inner {
	align-items: center;
	display: flex;
	gap: 28px;
	justify-content: space-between;
	min-height: 88px;
}

.rb-brand {
	align-items: center;
	color: var(--rb-ink);
	display: inline-flex;
	flex: 0 1 auto;
	gap: 14px;
	text-decoration: none;
}

.rb-brand:hover {
	color: var(--rb-ink);
}

.rb-brand .custom-logo {
	max-height: 62px;
	width: auto;
}

.rb-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.rb-brand-name {
	font-size: clamp(1.35rem, 2vw, 1.8rem);
	letter-spacing: 0.01em;
}

.rb-brand-detail {
	color: var(--rb-olive);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.17em;
	margin-top: 7px;
	text-transform: uppercase;
}

.rb-nav-wrap {
	align-items: center;
	display: flex;
	gap: 22px;
}

.rb-primary-nav ul {
	align-items: center;
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rb-primary-nav a {
	color: var(--rb-ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.rb-primary-nav a:hover,
.rb-primary-nav .current-menu-item > a,
.rb-primary-nav .current_page_item > a {
	color: var(--rb-burgundy);
}

.rb-header-cta,
.rb-button,
.wp-block-button__link,
input[type="submit"] {
	background: var(--rb-burgundy);
	border: 1px solid var(--rb-burgundy);
	color: var(--rb-white);
	cursor: pointer;
	display: inline-block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.2;
	padding: 15px 21px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.rb-header-cta:hover,
.rb-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	background: var(--rb-forest);
	border-color: var(--rb-forest);
	color: var(--rb-white);
}

.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: currentColor;
	color: var(--rb-ink);
}

.is-style-outline > .wp-block-button__link:hover {
	background: var(--rb-ink);
	border-color: var(--rb-ink);
	color: var(--rb-white);
}

.rb-menu-toggle {
	align-items: center;
	background: transparent;
	border: 1px solid var(--rb-border);
	color: var(--rb-ink);
	cursor: pointer;
	display: none;
	height: 46px;
	justify-content: center;
	padding: 0;
	width: 46px;
}

.rb-menu-icon,
.rb-menu-icon::before,
.rb-menu-icon::after {
	background: currentColor;
	content: "";
	display: block;
	height: 2px;
	position: relative;
	width: 22px;
}

.rb-menu-icon::before {
	position: absolute;
	top: -7px;
}

.rb-menu-icon::after {
	position: absolute;
	top: 7px;
}

.rb-site-main {
	min-height: 50vh;
}

.rb-standard-page {
	margin-inline: auto;
	max-width: var(--rb-narrow);
	padding: 72px 28px 96px;
}

.rb-standard-page > header {
	border-bottom: 1px solid var(--rb-border);
	margin-bottom: 40px;
	padding-bottom: 24px;
}

.rb-standard-page h1 {
	font-size: clamp(2.4rem, 6vw, 4.5rem);
	line-height: 1.05;
	margin: 0;
}

.entry-content > * {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--rb-content);
}

.entry-content > p,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > .wp-block-buttons {
	max-width: var(--rb-narrow);
}

.entry-content > .alignwide {
	max-width: var(--rb-content);
}

.entry-content > .alignfull {
	max-width: none;
	width: 100%;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.12;
}

.entry-content h1 {
	font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.entry-content h2 {
	font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.entry-content h3 {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.entry-content .rb-eyebrow {
	color: var(--rb-burgundy);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.rb-hero {
	align-items: flex-end;
	display: flex;
	min-height: min(76vh, 780px);
	padding: clamp(90px, 14vw, 170px) 0 clamp(56px, 9vw, 105px);
	position: relative;
}

.rb-hero::before {
	background: linear-gradient(90deg, rgba(24, 28, 24, 0.78) 0%, rgba(24, 28, 24, 0.45) 50%, rgba(24, 28, 24, 0.08) 100%);
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

.rb-hero .wp-block-cover__inner-container {
	margin: 0 auto;
	max-width: var(--rb-content);
	padding: 0 28px;
	position: relative;
	width: 100%;
	z-index: 2;
}

.rb-hero-content {
	color: var(--rb-white);
	margin: 0 !important;
	max-width: 760px !important;
}

.rb-hero-content h1 {
	color: inherit;
	margin: 0 0 24px;
	text-shadow: 0 2px 25px rgba(0, 0, 0, 0.2);
}

.rb-hero-content p {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	max-width: 620px;
}

.rb-hero-content .rb-eyebrow {
	color: #f1d9d3;
}

.rb-hero .is-style-outline > .wp-block-button__link {
	border-color: var(--rb-white);
	color: var(--rb-white);
}

.rb-hero .is-style-outline > .wp-block-button__link:hover {
	background: var(--rb-white);
	border-color: var(--rb-white);
	color: var(--rb-ink);
}

.rb-section {
	padding: clamp(72px, 10vw, 128px) 28px;
}

.rb-section > * {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--rb-content);
}

.rb-section-narrow > * {
	max-width: var(--rb-narrow);
}

.rb-section-cream {
	background: var(--rb-cream);
}

.rb-section-dark {
	background: var(--rb-forest);
	color: var(--rb-white);
}

.rb-section-dark h2,
.rb-section-dark h3,
.rb-section-dark a {
	color: inherit;
}

.rb-intro {
	font-size: clamp(1.15rem, 2.2vw, 1.45rem);
	line-height: 1.65;
}

.rb-card-grid {
	gap: 28px;
}

.rb-card {
	background: var(--rb-white);
	box-shadow: var(--rb-shadow);
	height: 100%;
}

.rb-card .wp-block-image {
	margin: 0;
}

.rb-card img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.rb-card-body {
	padding: 34px;
}

.rb-card-body h3 {
	margin-top: 0;
}

.rb-card-body p:last-child {
	margin-bottom: 0;
}

.rb-split {
	align-items: center !important;
	gap: clamp(36px, 7vw, 90px) !important;
}

.rb-split .wp-block-image {
	margin: 0;
}

.rb-split img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

.rb-gallery-grid {
	gap: 12px;
}

.rb-gallery-grid img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.rb-library-gallery {
	align-items: start;
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(var(--rb-gallery-columns, 4), minmax(0, 1fr));
}

.rb-gallery-column {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.rb-gallery-item {
	margin: 0;
	width: 100%;
}

.rb-gallery-item a {
	background: var(--rb-cream);
	display: block;
	overflow: hidden;
}

.rb-gallery-item img {
	height: auto;
	transition: transform 180ms ease;
	width: 100%;
}

.rb-gallery-item a:hover img {
	transform: scale(1.025);
}

.rb-gallery-count {
	color: var(--rb-olive);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rb-gallery-sentinel {
	height: 1px;
}

.rb-gallery-status {
	color: var(--rb-olive);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8rem;
	text-align: center;
}

.rb-gallery-load-more {
	display: block;
	margin: 24px auto 0;
}

.rb-gallery-load-more[hidden],
.rb-lightbox[hidden] {
	display: none !important;
}

body.rb-lightbox-open {
	overflow: hidden;
}

.rb-lightbox {
	align-items: center;
	background: rgba(15, 17, 15, 0.96);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 64px 90px 34px;
	position: fixed;
	z-index: 100000;
}

.rb-lightbox figure {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	margin: 0;
	max-width: min(1400px, 100%);
	width: 100%;
}

.rb-lightbox img {
	height: auto;
	max-height: calc(100vh - 150px);
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.rb-lightbox figcaption {
	color: var(--rb-white);
	display: flex;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.85rem;
	gap: 24px;
	justify-content: space-between;
	margin-top: 14px;
	max-width: 900px;
	width: 100%;
}

.rb-lightbox button {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.42);
	color: var(--rb-white);
	cursor: pointer;
	position: absolute;
}

.rb-lightbox-close {
	font-size: 2rem;
	height: 48px;
	line-height: 1;
	right: 24px;
	top: 20px;
	width: 48px;
}

.rb-lightbox-previous,
.rb-lightbox-next {
	border-radius: 50%;
	font-size: 3rem;
	height: 58px;
	line-height: 0.8;
	top: 50%;
	transform: translateY(-50%);
	width: 58px;
}

.rb-lightbox-previous {
	left: 20px;
}

.rb-lightbox-next {
	right: 20px;
}

.rb-lodging-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rb-lodging-card {
	background: var(--rb-white);
	box-shadow: var(--rb-shadow);
}

.rb-lodging-photo {
	align-items: center;
	aspect-ratio: 16 / 10;
	background: var(--rb-forest);
	color: rgba(255, 255, 255, 0.8);
	display: flex;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rb-lodging-photo img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.rb-lodging-body {
	padding: 34px;
}

.rb-lodging-body h3 {
	margin-top: 0;
}

.rb-lodging-facts {
	border-bottom: 1px solid var(--rb-border);
	border-top: 1px solid var(--rb-border);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 24px 0;
	padding: 18px 0;
}

.rb-lodging-facts div {
	padding-right: 12px;
}

.rb-lodging-facts dt {
	color: var(--rb-olive);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rb-lodging-facts dd {
	margin: 4px 0 0;
}

.rb-lodging-pending {
	color: var(--rb-olive);
	font-style: italic;
}

.rb-supply-list {
	gap: 28px;
}

.rb-supply-list > .wp-block-column {
	background: var(--rb-white);
	border-top: 3px solid var(--rb-burgundy);
	box-shadow: var(--rb-shadow);
	padding: 34px;
}

.rb-quote {
	border-left: 3px solid var(--rb-burgundy);
	font-size: clamp(1.35rem, 3vw, 2rem);
	font-style: normal;
	margin-block: 48px;
	padding-left: 32px;
}

.rb-cta {
	background: var(--rb-burgundy);
	color: var(--rb-white);
	padding: clamp(60px, 9vw, 100px) 28px;
	text-align: center;
}

.rb-cta > * {
	margin-left: auto;
	margin-right: auto;
	max-width: 780px;
}

.rb-cta h2 {
	color: inherit;
	margin-top: 0;
}

.rb-cta .wp-block-button__link {
	background: var(--rb-white);
	border-color: var(--rb-white);
	color: var(--rb-burgundy);
}

.rb-cta .wp-block-button__link:hover {
	background: var(--rb-ink);
	border-color: var(--rb-ink);
	color: var(--rb-white);
}

.rb-details {
	border-top: 1px solid var(--rb-border);
}

.rb-details details {
	border-bottom: 1px solid var(--rb-border);
	padding: 22px 0;
}

.rb-details summary {
	cursor: pointer;
	font-size: 1.2rem;
	font-weight: 700;
}

.rb-details details > p {
	margin-bottom: 0;
	padding-right: 32px;
}

.wpcf7 {
	max-width: 820px;
}

.wpcf7-form {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wpcf7-form > p {
	margin: 0;
}

.wpcf7-form > p:has(textarea),
.wpcf7-form > p:has(input[type="submit"]),
.wpcf7-form > .rb-form-wide {
	grid-column: 1 / -1;
}

.wpcf7-form label {
	color: var(--rb-ink);
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wpcf7-form-control-wrap {
	display: block;
	margin-top: 8px;
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 select,
.wpcf7 textarea {
	background: var(--rb-white);
	border: 1px solid #b8ad9d;
	border-radius: 0;
	color: var(--rb-ink);
	padding: 13px 14px;
	width: 100%;
}

.wpcf7 textarea {
	min-height: 150px;
	resize: vertical;
}

.wpcf7-not-valid-tip {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8rem;
}

.rb-site-footer {
	background: #252b26;
	color: rgba(255, 255, 255, 0.78);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9rem;
}

.rb-footer-main {
	display: grid;
	gap: 48px;
	grid-template-columns: 1.5fr 1fr 1fr;
	padding-bottom: 64px;
	padding-top: 72px;
}

.rb-footer-main h2,
.rb-footer-main h3 {
	color: var(--rb-white);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	margin-top: 0;
}

.rb-footer-main h2 {
	font-size: 2rem;
}

.rb-footer-main h3 {
	font-size: 1.2rem;
}

.rb-footer-main a {
	color: inherit;
	text-decoration: none;
}

.rb-footer-main a:hover {
	color: var(--rb-white);
}

.rb-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rb-footer-nav li + li {
	margin-top: 9px;
}

.rb-footer-contact {
	font-style: normal;
}

.rb-footer-contact p {
	margin: 0 0 12px;
}

.rb-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-bottom: 24px;
	padding-top: 24px;
}

.rb-footer-bottom p {
	margin: 0;
}

@media (max-width: 1080px) {
	.rb-header-inner {
		position: relative;
		width: 100%;
	}

	.rb-menu-toggle {
		display: inline-flex !important;
		flex: 0 0 46px;
		margin-left: auto !important;
		position: absolute;
		right: 28px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 2;
	}

	.rb-brand {
		max-width: calc(100% - 74px);
	}

	.rb-nav-wrap {
		background: var(--rb-paper);
		border-top: 1px solid var(--rb-border);
		display: none;
		inset: 88px 0 auto;
		max-height: calc(100vh - 88px);
		overflow-y: auto;
		padding: 28px;
		position: fixed;
	}

	.admin-bar .rb-nav-wrap {
		top: 120px;
	}

	.rb-nav-wrap.is-open {
		display: block;
	}

	.rb-primary-nav ul {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.rb-primary-nav a {
		border-bottom: 1px solid var(--rb-border);
		display: block;
		font-size: 0.95rem;
		padding: 16px 0;
	}

	.rb-header-cta {
		margin-top: 24px;
		text-align: center;
		width: 100%;
	}
}

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

	.admin-bar .rb-nav-wrap {
		top: 134px;
	}

	.rb-footer-main {
		grid-template-columns: 1fr;
	}

	.rb-split {
		flex-direction: column;
	}

	.rb-library-gallery {
		gap: 14px;
	}

	.rb-lodging-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 17px;
	}

	.rb-container {
		padding-inline: 20px;
	}

	.rb-header-inner {
		min-height: 76px;
	}

	.rb-brand-detail {
		display: none;
	}

	.rb-brand-name {
		font-size: 1.25rem;
	}

	.rb-nav-wrap {
		inset-block-start: 76px;
	}

	.admin-bar .rb-nav-wrap {
		top: 122px;
	}

	.rb-hero .wp-block-cover__inner-container,
	.rb-section,
	.rb-cta {
		padding-left: 20px;
		padding-right: 20px;
	}

	.rb-hero {
		min-height: 620px;
	}

	.rb-hero-content {
		max-width: calc(100vw - 40px) !important;
		min-width: 0;
		overflow-wrap: anywhere !important;
		width: calc(100vw - 40px);
	}

	.rb-hero-content h1 {
		font-size: clamp(2.15rem, 10.5vw, 2.75rem);
		hyphens: auto;
		max-width: 100%;
		overflow-wrap: anywhere !important;
		word-break: normal;
	}

	.rb-hero-content .wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.rb-hero-content .wp-block-button,
	.rb-hero-content .wp-block-button__link {
		text-align: center;
		width: 100%;
	}

	.rb-card-body {
		padding: 26px;
	}

	.rb-library-gallery {
		gap: 8px;
	}

	.rb-gallery-column {
		gap: 8px;
	}

	.rb-gallery-item {
		margin: 0;
	}

	.rb-lightbox {
		padding: 62px 16px 70px;
	}

	.rb-lightbox-previous,
	.rb-lightbox-next {
		bottom: 14px;
		top: auto;
		transform: none;
	}

	.rb-lightbox figcaption {
		font-size: 0.75rem;
	}

	.rb-lodging-facts {
		grid-template-columns: 1fr;
	}

	.rb-lodging-facts div + div {
		margin-top: 14px;
	}

	.wpcf7-form {
		grid-template-columns: 1fr;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
