/* Header */
.smh-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-block-end: 1px solid var(--wp--preset--color--sand-dark);
}

.admin-bar .smh-header {
	top: var(--wp-admin--admin-bar--height, 0);
}

.smh-brand {
	gap: 0.75rem;
	min-width: 0;
}

.smh-brand__name {
	font-family: var(--wp--preset--font-family--hangar);
	font-size: 1.25rem;
	line-height: 1.1;
	margin: 0;
}

.smh-brand__name a {
	color: var(--wp--preset--color--rust);
	text-decoration: none;
}

.smh-brand__by,
.smh-brand__sub {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.3;
}

.smh-brand__by {
	color: var(--wp--preset--color--palm);
	font-weight: 700;
}

@media (max-width: 781px) {
	.smh-brand__sub {
		display: none;
	}

	.smh-brand .wp-block-site-logo img {
		width: 52px;
	}
}

.smh-nav {
	font-weight: 700;
	gap: 1.5rem;
}

.smh-nav .wp-block-navigation-item__content {
	padding-block: 0.4rem;
	border-block-end: 2px solid transparent;
}

.smh-nav .wp-block-navigation-item__content:hover,
.smh-nav .current-menu-item > .wp-block-navigation-item__content {
	border-block-end-color: var(--wp--preset--color--rust);
}

/* Hero (home) */
.smh-hero {
	align-items: flex-end;
}

.smh-hero .wp-block-cover__inner-container {
	max-width: 1200px;
	padding-block-end: var(--wp--preset--spacing--50);
}

.smh-poem {
	font-family: var(--wp--preset--font-family--hangar);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
	text-shadow: 0 1px 12px rgb(0 0 0 / 0.45);
	margin-block-end: 1.5rem;
}

.smh-hero h1 {
	color: var(--wp--preset--color--white);
	text-shadow: 0 2px 16px rgb(0 0 0 / 0.4);
	max-width: 14ch;
}

.smh-page-hero h1 {
	color: var(--wp--preset--color--white);
	text-shadow: 0 2px 16px rgb(0 0 0 / 0.4);
}

/* Two doors on the home page: offset, not twin cards. */
.smh-doors {
	gap: var(--wp--preset--spacing--50);
}

.smh-door .wp-block-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

@media (min-width: 782px) {
	.smh-doors > .smh-door:nth-child(2) {
		margin-block-start: var(--wp--preset--spacing--60);
	}
}

.smh-door h2 {
	margin-block-start: 1.25rem;
}

/* Guest-house features */
.smh-features h3 {
	color: var(--wp--preset--color--rust);
}

.smh-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
}

.smh-tags li {
	padding: 0.3rem 0.8rem;
	background: var(--wp--preset--color--sand-dark);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small);
}

.smh-band {
	position: relative;
}

.smh-gefen {
	border-inline-start: 6px solid var(--wp--preset--color--sun);
}

.smh-gefen a,
.smh-band a:not(.wp-block-button__link) {
	color: inherit;
}

/* Articles grid */
.smh-articles .wp-block-post-featured-image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.smh-articles .wp-block-post-title a {
	text-decoration: none;
	color: var(--wp--preset--color--earth);
}

.smh-articles .wp-block-post-title a:hover {
	color: var(--wp--preset--color--rust);
}

/* Talk strip */
.smh-talk h2 {
	color: var(--wp--preset--color--sand);
}

.smh-footer a {
	color: inherit;
}

/* Keep page content clear of the floating button on phones. */
@media (max-width: 781px) {
	.smh-footer {
		padding-block-end: 5rem !important; /* Room for the fixed contact button; padding comes from block attrs. */
	}
}
