/*
 * WP Angel custom footer
 * BetterHelp-inspired layout.
 */

.angel-footer {
	--footer-text: #4b4f4c;
	--footer-green: #2f5c49;
	--footer-cream: #f5eee3;
	--footer-border: #dde2df;
	--footer-bg: #f8faf9;

	width: 100%;
	color: var(--footer-text);
	background: #fff;
	font-size: 16px;
	line-height: 1.5;
}

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

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

.angel-footer a:hover,
.angel-footer a:focus-visible {
	color: var(--footer-green);
}

.angel-footer__container {
	width: min(100% - 40px, 1660px);
	margin-inline: auto;
}

/* Top contact line */
.angel-footer__contact {
	padding: 72px 0 86px;
	background: #fff;
	text-align: center;
}

.angel-footer__contact-line {
	margin: 0;
	color: #777c79;
	font-size: clamp(14px, 1.1vw, 18px);
}

.angel-footer__contact-line span {
	margin-inline: 6px;
}

/* Cream notice band with curved top */
.angel-footer__notice {
    position: relative;
    margin-top: 28px;
    padding: 16px 0 32px;
    background: var(--footer-cream);
}

.angel-footer__notice::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: -56px;
	left: 0;
	width: 100%;
	height: 4rem;
	background: var(--footer-cream);
	border-radius: 50% 50% 0 0/100% 100% 0 0;
}

.angel-footer__notice-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}

.angel-footer__notice-text {
	margin: 0;
	max-width: 850px;
	font-size: clamp(14px, 1.15vw, 14px);
	font-weight: normal;
	text-align: left;
}

.angel-footer__notice-warning {
	margin-block: 0;
}

.angel-footer__notice-text strong {
	font-weight: 700;
}

.angel-footer__notice-text a {
	color: #357553;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.angel-footer__secure {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	color: #a5aaa7;
}

.angel-footer__secure span:last-child {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.angel-footer__secure small {
	font-size: 13px;
}

.angel-footer__secure strong {
	font-size: 22px;
	font-style: italic;
}

.angel-footer__shield {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 4px solid #a5aaa7;
	border-radius: 48% 48% 58% 58%;
	font-size: 22px;
	font-weight: 700;
}

/* Main footer navigation */
.angel-footer__main {
	background: var(--footer-bg);
	border-top: 1px solid var(--footer-border);
}

.angel-footer__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.angel-footer__nav {
	min-width: 0;
}

.angel-footer__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.angel-footer__menu li {
	margin: 0;
	padding: 0;
}

.site-info .angel-footer__menu a {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: var(--footer-text);
	transition: color 0.2s ease;
}

.angel-footer__social {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.angel-footer__social-link {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 999px;
	background: var(--footer-green);
	color: #fff !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.angel-footer__social-link:hover,
.angel-footer__social-link:focus-visible {
	color: #fff;
	opacity: 0.86;
	transform: translateY(-1px);
}

.angel-footer__bottom {
	padding: 24px 0 24px;
	border-top: 1px solid var(--footer-border);
}

.angel-footer__copyright {
	margin: 0;
	font-size: 14px;
	color: #777c79;
}

/* Remove GeneratePress spacing around our custom footer */
.site-info {
	padding: 0;
	background: transparent;
}

.site-info .inside-site-info {
	display: block;
	max-width: none;
	padding: 0;
}

@media (max-width: 900px) {
	.angel-footer__contact {
		padding: 50px 0 68px;
	}

	.angel-footer__notice {
		padding-top: 72px;
	}

	.angel-footer__notice-inner,
	.angel-footer__row {
		align-items: flex-start;
		flex-direction: column;
	}

	.angel-footer__secure {
		align-self: flex-start;
	}

	.angel-footer__menu {
		gap: 14px 14px;
	}
}

@media (max-width: 600px) {
	.angel-footer__container {
		width: min(100% - 28px, 1660px);
	}

	.angel-footer__contact {
		padding: 38px 0 54px;
	}

	.angel-footer__contact-line span {
		display: none;
	}

	.angel-footer__contact-line {
		display: grid;
		gap: 4px;
	}

	.angel-footer__notice {
		margin-top: 18px;
		padding: 56px 0 34px;
	}

	.angel-footer__notice::before {
		top: -34px;
		height: 68px;
	}

	.angel-footer__row {
		padding: 38px 0 30px;
	}

	.angel-footer__menu {
		gap: 12px 20px;
		justify-content: center;
	}

	.angel-footer__social {
		flex-wrap: wrap;
		margin: 0 auto;
	}

	.angel-footer__bottom {
		padding: 24px 0 30px;
	}
}
