/* ==========================================================
   DINING OUT — SITE FOOTER
   ========================================================== */

.do-site-footer {
	--do-footer-text: rgb(255 255 255 / 84%);
	--do-footer-muted: rgb(255 255 255 / 58%);
	--do-footer-border: rgb(255 255 255 / 14%);
	--do-footer-border-strong: rgb(255 255 255 / 24%);

	margin: 0;
	color: var(--do-footer-text);
	background: var(--do-teal, #204e55);
	font-family: var(--do-font-body, "Inter", sans-serif);
	font-size: 13.5px;
	font-weight: 300;
}

.do-site-footer *,
.do-site-footer *::before,
.do-site-footer *::after {
	box-sizing: border-box;
}

.do-site-footer .do-wrap {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 44px;
}

/* Newsletter
   ========================================================== */

.do-site-footer__newsletter {
	border-bottom: 1px solid var(--do-footer-border);
}

.do-site-footer__newsletter-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 70px;
	align-items: center;
	padding-block: 58px;
}

.do-site-footer__newsletter-copy h2 {
	margin: 0;
	color: #fff;
	font-family: var(--do-font-title, "Cormorant Garamond", serif);
	font-size: 40px;
	font-style: italic;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.022em;
}

.do-site-footer__newsletter-copy p {
	max-width: 540px;
	margin: 12px 0 0;
	color: rgb(255 255 255 / 78%);
	font-size: 13.5px;
	font-weight: 300;
	line-height: 1.6;
}

.do-site-footer__newsletter-form {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0;
}

.do-site-footer__newsletter-form input[type="email"] {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 52px;
	margin: 0;
	padding: 0 22px;
	color: #fff;
	background: rgb(255 255 255 / 6%);
	border: 1px solid rgb(255 255 255 / 28%);
	border-radius: 999px;
	font-family: var(--do-font-body, "Inter", sans-serif);
	font-size: 14px;
	font-weight: 300;
	line-height: 1;
	box-shadow: none;
}

.do-site-footer__newsletter-form input[type="email"]::placeholder {
	color: rgb(255 255 255 / 58%);
	opacity: 1;
}

.do-site-footer__newsletter-form input[type="email"]:hover {
	border-color: rgb(255 255 255 / 46%);
}

.do-site-footer__newsletter-form input[type="email"]:focus {
	border-color: #fff;
	outline: 2px solid transparent;
	box-shadow: 0 0 0 2px rgb(255 255 255 / 18%);
}

.do-site-footer__newsletter-form .do-button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin: 0;
	padding: 0 26px;
	color: #fff;
	background: var(--do-amber, #c16200);
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--do-font-label, "Open Sans", sans-serif);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	white-space: nowrap;
	box-shadow: none;
	cursor: pointer;
	transition:
		color 180ms ease,
		background-color 180ms ease,
		border-color 180ms ease;
}

.do-site-footer__newsletter-form .do-button:hover,
.do-site-footer__newsletter-form .do-button:focus-visible {
	color: #fff;
	background: var(--do-brown, #774e24);
}

/* Main footer
   ========================================================== */

.do-site-footer__main {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
	gap: 50px;
	padding-block: 54px;
}

.do-site-footer__logo {
	line-height: 1;
}

.do-site-footer__logo .custom-logo-link {
	display: inline-flex;
}

.do-site-footer__logo .custom-logo {
	display: block;
	width: 208px;
	max-width: 100%;
	height: auto;
	filter: brightness(0) invert(1);
}

.do-site-footer__logo > a:not(.custom-logo-link) {
	color: #fff;
	font-family: var(--do-font-title, "Cormorant Garamond", serif);
	font-size: 30px;
	font-weight: 700;
}

.do-site-footer__address {
	margin: 20px 0 0;
	color: rgb(255 255 255 / 70%);
	font-family: inherit;
	font-size: inherit;
	font-style: normal;
	font-weight: 300;
	line-height: 1.65;
}

.do-site-footer__socials {
	display: flex;
	gap: 8px;
	margin-top: 22px;
}

.do-site-footer__socials a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	color: #fff;
	background: transparent;
	border: 1px solid var(--do-footer-border-strong);
	border-radius: 50%;
	transition:
		color 180ms ease,
		background-color 180ms ease,
		border-color 180ms ease;
}

.do-site-footer__socials a:hover,
.do-site-footer__socials a:focus-visible {
	color: var(--do-teal, #204e55);
	background: #fff;
	border-color: #fff;
}

.do-site-footer__socials svg {
	display: block;
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.2;
}

.do-site-footer__socials .do-site-footer__icon-fill {
	fill: currentcolor;
	stroke: none;
}

/* Footer columns
   ========================================================== */

.do-site-footer__column h2 {
	margin: 0 0 15px;
	color: var(--do-footer-muted);
	font-family: var(--do-font-label, "Open Sans", sans-serif);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.do-site-footer__column ul,
.do-site-footer__legal ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.do-site-footer__column li {
	margin: 0;
}

.do-site-footer__column a {
	display: inline-block;
	padding: 5px 0;
	color: var(--do-footer-text);
	font-weight: 300;
	line-height: 1.45;
	text-decoration: none;
}

.do-site-footer__column a:hover,
.do-site-footer__column a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--do-amber, #c16200);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

/* Legal bar
   ========================================================== */

.do-site-footer__legal {
	border-top: 1px solid var(--do-footer-border);
}

.do-site-footer__legal-inner {
	display: flex;
	gap: 30px;
	align-items: center;
	justify-content: space-between;
	padding-block: 22px;
	color: var(--do-footer-muted);
	font-size: 11.5px;
	line-height: 1.5;
}

.do-site-footer__legal p {
	margin: 0;
	color: inherit;
}

.do-site-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
}

.do-site-footer__legal a {
	color: inherit;
	text-decoration: none;
}

.do-site-footer__legal a:hover,
.do-site-footer__legal a:focus-visible {
	color: #fff;
}

/* Tablet
   ========================================================== */

@media (max-width: 921px) {

	.do-site-footer__newsletter-inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.do-site-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 42px;
	}

	.do-site-footer__identity {
		grid-column: 1 / -1;
	}

	.do-site-footer__column:last-child {
		grid-column: 1 / -1;
	}
}

/* Mobile
   ========================================================== */

@media (max-width: 600px) {

	.do-site-footer .do-wrap {
		padding-inline: 22px;
	}

	.do-site-footer__newsletter-inner {
		gap: 16px;
		padding-block: 34px 30px;
	}

	.do-site-footer__newsletter-copy h2 {
		font-size: 28px;
		line-height: 1.12;
	}

	.do-site-footer__newsletter-copy p {
		margin-top: 8px;
		font-size: 13.5px;
	}

	.do-site-footer__newsletter-form {
		gap: 8px;
	}

	.do-site-footer__newsletter-form input[type="email"] {
		height: 48px;
		padding-inline: 18px;
		font-size: 14.5px;
	}

	.do-site-footer__newsletter-form .do-button {
		min-height: 48px;
		padding-inline: 18px;
		font-size: 12px;
	}

	.do-site-footer__main {
		gap: 34px 22px;
		padding-block: 40px;
	}

	.do-site-footer__logo .custom-logo {
		width: 180px;
	}

	.do-site-footer__legal-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding-block: 20px;
	}

	.do-site-footer__legal ul {
		gap: 10px 18px;
	}
}