/*
 * Cove Site plugin styles. Colours follow the brand guide:
 * Erie Navy #33445c, Icelandic Blue #8fa9b9, Coral #e0917a, Ice Mist #c9d7df,
 * Alabaster #eeeadf, Shell White #faf7f0, muted navy #56637a.
 */

/* Staff password form, on the Erie Navy Staff Access page. */

.cove-staff-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
	font-family: "Montserrat", sans-serif;
	text-align: left;
}

.cove-staff-form__label {
	color: #c9d7df;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.cove-staff-form__row {
	display: flex;
	gap: 0.5rem;
}

/*
 * Input and button rules are scoped under .cove-staff-form so they outrank the
 * Hello theme's default form styles (grey inputs, pink buttons), which load later.
 */
.cove-staff-form .cove-staff-form__input {
	flex: 1;
	min-width: 0;
	padding: 0.95rem 1rem;
	border: 1px solid #8fa9b9;
	border-radius: 0;
	background: transparent;
	color: #faf7f0;
	font-family: inherit;
	font-size: 1rem;
}

.cove-staff-form .cove-staff-form__input:focus {
	border-color: #c9d7df;
	outline: 2px solid #c9d7df;
	outline-offset: 2px;
}

.cove-staff-form .cove-staff-form__button {
	display: inline-block;
	padding: 1rem 1.75rem;
	border: 1px solid #faf7f0;
	border-radius: 0;
	background: #faf7f0;
	color: #33445c;
	font-family: "Montserrat", sans-serif;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s, border-color 0.3s;
}

.cove-staff-form .cove-staff-form__button:hover,
.cove-staff-form .cove-staff-form__button:focus,
.cove-staff-form .cove-staff-form__button:active {
	border-color: #c9d7df;
	background: #c9d7df;
	color: #33445c;
}

.cove-staff-form .cove-staff-form__button:focus-visible {
	outline: 2px solid #c9d7df;
	outline-offset: 2px;
}

.cove-staff-form__error {
	margin: 0;
	padding-left: 0.75rem;
	border-left: 2px solid #e0917a;
	color: #faf7f0;
	font-size: 0.875rem;
}

.cove-staff-form--done {
	align-items: center;
	color: #faf7f0;
	text-align: center;
}

.cove-staff-form--done p {
	margin: 0;
}

@media (max-width: 480px) {
	.cove-staff-form__row {
		flex-direction: column;
	}
}

/* Menus list from [cove_menus]. The Menus page normally uses an Elementor loop instead. */

.cove-menus {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	gap: 2.5rem 2rem;
}

.cove-menus__item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	color: #33445c;
	text-decoration: none;
}

.cove-menus__image {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 0.75rem;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: #eeeadf;
}

.cove-menus__title {
	font-family: "Cormorant Garamond", serif;
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1.2;
}

.cove-menus__note,
.cove-menus__empty {
	color: #56637a;
	font-family: "Montserrat", sans-serif;
	font-size: 0.875rem;
}

.cove-menus__cta {
	margin-top: 0.25rem;
	font-family: "Montserrat", sans-serif;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-decoration: underline;
	text-decoration-color: #e0917a;
	text-transform: uppercase;
	text-underline-offset: 0.5em;
}

.cove-menus__item:hover .cove-menus__cta {
	color: #56637a;
}
