/* ============================================
   Footer
   ============================================ */

:root {
	--footer-padding-top:    3.75rem;
	--footer-padding-x:      1.5rem;
	--footer-padding-bottom: 27%;
}

.site-footer {
	position: relative;
	overflow: hidden;
	padding: var(--footer-padding-top) var(--footer-padding-x) 0;
}

.footer-wrapper {
	position: relative;
	padding-bottom: var(--footer-padding-bottom);
}

/* All links inside footer: soft white, no underline by default */
.site-footer a,
.site-footer .wp-block-list a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.15s ease;
}

.site-footer a:hover,
.site-footer .wp-block-list a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* Footer link lists: strip default list styling */
.site-footer .footer-links {
	list-style: none;
	padding: 0;
	margin: 0;

	grid-column-gap: 1.25rem;
    grid-row-gap: 1.25rem;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
}

.site-footer .footer-links li {
	margin-bottom: 0;
}

.site-footer .footer-links a {
	font-size: 1.27rem;
	font-weight: 400;
	letter-spacing: -.03em;
    transition: color .2s;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus,
.site-footer .footer-links a:visited {
	text-decoration: none;
}

/* Ensure all footer content sits above the watermark */
.site-footer .wp-block-columns,
.site-footer .wp-block-separator,
.site-footer .footer-copyright {
	position: relative;
	z-index: 1;
}

.site-footer .wp-block-column {
	flex-grow: 0 !important;
	flex-shrink: 1 !important;
	flex-basis: auto !important;
	width: auto !important;
}

/* Default width for desktop / large screens (> 991px) */
.footer-logo {
	width: 150px;
	height: auto;
	margin: 0;
}

.footer-logo img {
	width: 100%;
	height: auto;
	display: block;
}

/* Tagline text beneath footer logo */
.footer-tagline {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.65);
	margin-top: 0.875rem !important;
	margin-bottom: 0 !important;
}

/* Column label headings (Explore / More / Contact) */
.site-footer .footer-label {
	font-size: 0.6875rem !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.55);
	margin-top: 0 !important;
	margin-bottom: 0.875rem !important;
}

/* Contact details block */
.footer-contact {
	display: flex;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	row-gap: 1.25rem !important;
}

.footer-contact-title {
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.2;
}

.footer-contact-address {
	font-weight: 300;
	line-height: 1.2;
}

.footer-contact-phone,
.footer-contact-email {
	font-weight: bold;
}

/* Social links  */
.site-footer .wp-block-social-links {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	column-gap: .5rem !important;
}

.site-footer :where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link {
	background: none !important;
}

.site-footer .wp-block-social-links .wp-block-social-link a {
	background: none !important;
}

.site-footer :where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link svg {
	width: 2.5rem !important;
	height: 2.5rem !important;
}

/* Separator rule */
.site-footer .footer-rule {
	border-bottom-color: rgba(255, 255, 255, 0.18) !important;
	margin-top: var(--wp--preset--spacing--lg) !important;
	margin-bottom: var(--wp--preset--spacing--md) !important;
}

/* Copyright line */
.footer-copyright {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Watermark image: full-viewport-width, anchored to bottom of footer
   Uses left:50% + translateX(-50%) to break out of the constrained
   layout wrapper without relying on right:0 or width:100% of parent. */
.footer-watermark {
	position: absolute !important;
	bottom: 0;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none;
	z-index: 0;
	line-height: 0;
}

.footer-watermark img {
	width: 100%;
	height: auto;
	display: block;
}

/* Tablets (991px and below) */
@media (max-width: 991px) {
	.footer-logo {
		width: 18vw;
	}
}

/* Mobile Landscape (767px and below) */
@media (max-width: 767px) {
	.footer-logo {
		width: 29vw;
	}
}

/* Mobile Portrait (479px and below) */
@media (max-width: 479px) {
	.footer-logo {
		width: 58vw;
	}
}
