/*
 * Footer — 3 menus + Follow (social), credit lines.
 */

.the-footer {
	width: 100%;
	background: #f1ede8;
	padding-bottom:15px;
}

/* Main row: menus + follow */
.the-footer .footer-main {
    padding: 58px 0px 40px;
    max-width: 1193px;
    margin: 0 auto;
    width: 97%;
}

.the-footer .footer-main-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2rem;
}

.the-footer .footer-nav {
	display: flex;
	flex-wrap: wrap;
	flex: 1 1 auto;
	gap: 68px;
	min-width: 0;
}

.the-footer .footer-nav-col {
	min-width: 0;
}

.the-footer .footer-nav-title {
    font-family: 'sofia-pro';
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14rem;
    font-weight: 600;
    color: #504D49;
    margin: 0 0 4px 0;
}

.the-footer .footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.the-footer .footer-menu li {
	margin-bottom: 0px;
}

.the-footer .footer-menu a {
    font-family: 'IBM Plex Sans', -apple-system, sans-serif;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

.the-footer .footer-menu a:hover {
	color: #4b5b33;
}

/* Follow block */
.the-footer .footer-follow {
	flex-shrink: 0;
	width:35%;
}

.the-footer .footer-follow-title {
    font-family: 'sofia-pro';
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14rem;
    font-weight: 600;
    color: #504D49;
    margin: 0 0 20px 0;
}

.the-footer .footer-social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.the-footer .footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #252421;
	transition: color 0.2s ease;
}

.the-footer .footer-social-link:hover {
	color: #4b5b33;
}

.the-footer .footer-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
    width: 23px;
    height: 16px;
}

.the-footer .footer-social-icon svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Credit lines */
.the-footer .footer-credits {
    padding: 31px 0px 32px;
    text-align: left;
    margin-bottom: 50px;
    display: block;
    max-width: 1193px;
    margin: 0 auto;
}

.the-footer .footer-credits-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.the-footer .footer-credits-line {
	font-family: 'IBM Plex Mono';
	font-size: 10px;
	color: #504D49;
	margin: 0 0 6px 0;
	line-height: 1.75;
}

.the-footer .footer-credits-line:last-child {
	margin-bottom: 0;
}

.the-footer .footer-credits a {
	color: #504D49;
	text-decoration: underline;
}

.the-footer .footer-credits a:hover {
	color: #4b5b33;
}
.the-footer .footer-line {
	    display: block;
    height: 3px;
    background: #E9E5E0;
    width: 100%;
    margin: 0 auto 60px;

}
@media (max-width:1115px) {
	.the-footer .footer-main, .the-footer .footer-credits {
		width:97%;
	}
}

/* Responsive */
@media (max-width: 780px) {
	.the-footer .footer-main-inner {
		flex-direction: column;
		text-align: left;
	}

	.the-footer .footer-nav-col {
		flex: 1 1 100%;
	}

	.the-footer .footer-social-list {
		justify-content: center;
	}
	.the-footer .footer-main, .the-footer .footer-credits {
		width:90%;
	}
	.the-footer .footer-follow {
		width:100%;
	}
	.the-footer .footer-social-list {
		justify-content:flex-start;
	}
	.the-footer .footer-nav {
		gap:40px;
	}
}
@media (max-width:505px) {
	.the-footer .footer-credits-line {
		width:283px;
	}
	.the-footer .footer-credits-line:last-child {
		width:246px;
	}
}
