/*
 * Williams Lea Core Theme Styles
 * Essential theme styling - DO NOT MODIFY
 * Design specs: 1440px screen width, 1312px content width
 * Side margins: 64px on each side ((1440-1312)/2 = 64px)
 */

/* ========================================================================
   DESIGN SYSTEM & COLOR PALETTE
   ======================================================================== */
   
   @media (min-width: 1440px) {
    .top-header-container,
    .header-container,
    .container {
        width: var(--desktop-width);
        max-width: var(--desktop-width);
        padding-left: var(--side-padding);
        padding-right: var(--side-padding);
    }
    
    .site-main {
        width: var(--desktop-width);
        max-width: var(--desktop-width);
        padding: 0 var(--side-padding);
    }
    
    .footer-container,
    .footer-bottom-container {
        width: var(--desktop-width);
        max-width: var(--desktop-width);
        padding-left: var(--side-padding);
        padding-right: var(--side-padding);
    }
}

.site-main, .footer-container, .header-container, .top-header-container {
    width: 100% !important;
    margin: 0 auto;
    padding-left: 2rem !important;
	padding-right: 2rem !important;
    position: relative;
	max-width: 100% !important;
}

.footer-cta .wl-action_cta {
	padding: 1.125rem 1rem;
	border: 1.5px solid #FFFFFF !important;
	font-weight: 600;
}

@media screen and (min-width: 1440px) {
	.site-main, .footer-container, .header-container, .top-header-container {
		width: 100%;
		margin: 0 auto;
		padding-left: 4rem !important;
		padding-right: 4rem !important;
	}
}


/* ========================================================================
   FOOTER STYLING
   ======================================================================== */
.footer-outer {
	background: #000000 !important;
	padding: 5rem 0rem 0rem 0rem !important;
	position: relative !important;
	z-index: 99 !important;
}

.site-footer {
    background-color: var(--black);
    color: var(--white);
    margin-top: 4rem;
}

.footer-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4.125rem;
    padding: 5rem 0 3.75rem 0;
    align-items: start;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo-text p {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer Columns */
.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 4.125rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-outer .footer-brief {
    padding-left: 5rem !important;
}

/* Footer Menus */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem !important;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
	font-weight:300;
	transition: all 0.3s ease;
	display: inline-block !important;
    gap: 10px;
	font-family: "halyard-display", sans-serif !important;
}

.footer-links a::after {
	transform: translate(-10px, 3.5px);
	transition: all 0.3s ease;
	opacity: 0;
	content: '';
	background: url(../images/arrow-orange.svg);
	background-repeat: no-repeat;
    background-size: cover;
	position: absolute;
	right: -1.375rem;
	top: 0;
	width: 0.625rem;
	height: 1.25rem;
}

.footer-links a:hover {
    color: var(--orange) !important;
}
	
.footer-links a:hover::after {
    transform: translate(0px, 3.5px);
    opacity: 1;
}

.footer-links a:hover::before {
	display: none;
}

.footer-widget-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

/* Footer CTA Area */
.site-footer {
  position: relative;
  z-index: 899;
  margin: 0;
  bottom:0;
  left:0;
}

.footer-bottom-container {
	width: 100% !important;
    margin: 0 auto;
    padding: 0 !important;
    position: relative;
	max-width: 100% !important;
}

.footer-cta-widget .wl-action_cta, .footer-cta-widget .wl-action_cta:visited  {
	width: 100%;
	padding-top: 0.875rem !important;
	padding-bottom: 0.875rem !important;
	font-size: 1.125rem !important;
	color: #004E97 !important;
}
.footer-cta-widget .wl-action_cta:hover  {
	color: #FFFFFF !important;
}

.footer-logo img {
    width: 16.625rem !important;
	margin-left: -0.75rem;
}

.footer-social img {
    width: 1.5rem;
}

.footer-social li:nth-child(3) img {
    width: 0.813rem;
}

.footer-cta {
    background-color: #004e97;
    padding: 1.5rem;
}

.footer-brief > div.d-f {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 4.125rem;
    align-items: start;
}

.footer-cta p {
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.6;
	font-weight: 300;
	text-align: center;
	font-size: 1rem;
	font-family: "halyard-display", sans-serif !important;
}

.footer-cta .wl-action_cta {
	width: 100%;
}

.footer-outer .footer-logo {
	border-right: 0 !important;
}

.footer-cta .btn,
.footer-cta a[class*="button"],
.footer-cta input[type="submit"] {
    background-color: var(--white);
    color: #004e97;
    padding: 1.125rem;
    line-height: 1;
    border: none;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--white);
}   

.footer-cta .btn:hover,
.footer-cta a[class*="button"]:hover,
.footer-cta input[type="submit"]:hover {
    background-color: #004e97;
    color: var(--white);
    transform: translateY(-1px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #6B636B;
    padding: 1.3rem 0 1.6rem 0;
	margin-top: 2rem;
}

.footer-bottom-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    margin: 0;
    color: var(--white);
    font-size: 1rem;
}

.footer-social ul {
    display: flex;
    align-items: center;
    gap: 3.076rem;
}

.social-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.social-menu a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-menu a:hover {
    color: var(--white);
}

.scroll-to-top {
	position: absolute;
    right: 0;
    bottom: 4.375rem;
    background-color: transparent;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    border: 1px solid var(--white);
	cursor: pointer;
}

.scroll-to-top a {
    text-decoration: none;
    width: 1rem;
	display: flex;
	justify-content: center;
}

.scroll-to-top:hover {
    background-color: var(--orange);
    transform: translateY(-2px);
    transition: all 0.3s ease;
    border: 1px solid var(--orange);
}

.scroll-to-top:hover a {
    color: var(--black);
}
.wp-block-image {
    margin: 0;
}

.footer-copyright p {
	font-size: 1rem;
	font-weight: 300;
	font-family: "halyard-display", sans-serif !important;
}

.footer-brand img {
	width: 14.188rem;
}

.footer-social .footer-social-widget img {
	width: 1.5rem;
}

.footer-social .footer-social-widget:nth-child(3) img {
	width: 0.813rem;
}

/* ========================================================================
   MEGA MENU PLUGIN SUPPORT
   ======================================================================== */


/* ========================================================================
   RESPONSIVE DESIGN
   ======================================================================== */
/* Desktop: 1440px+ (Figma design) */
/* Tablet: 768px - 1439px */
/* Mobile: 320px - 767px */


@media (max-width: 1024px) { 
    .footer-container,
    .footer-bottom-container {
        max-width: calc(100% - 2rem);
    }
	.footer-content {
		gap: 1rem;
	}
	.footer-outer {
		padding: 2rem 0rem 0rem 0rem !important;
	}
	.footer-links a, .footer-copyright p {
		font-size: 1rem !important;
	}
	.footer-logo {
		align-items: center !important;
	}
	.footer-outer .inner-wrapper div.inner-d-f {
		width: 100% !important;
		display: block !important;
	}
	.footer-outer .footer-logo {
		text-align: center !important;
		width: 100% !important;
		padding: 0 !important;
		margin-bottom: 1rem;
	}
	.footer-logo img {
		width: 16.188rem !important;
	}
	.footer-outer .footer-brief {
		width: 100% !important;
		padding: 0 !important;
	}
}

@media (max-width: 768px) { 
	.scroll-to-top {
		bottom: 2rem !important;
	}
	.footer-container {
		padding: 0 1rem !important;
	}
	.footer-brand {
		margin-bottom: 0;
	}
    
    /* Footer Mobile */
    .footer-container,
    .footer-bottom-container {
        padding: 0 1rem;
        max-width: none;
		align-items: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
		padding: 2.5rem 0;
		display: block;
    }
	
	.footer-outer .footer-logo {
		margin-bottom: 0 !important;
	}
	
	.footer-links:last-child {
        padding-left: 1.692rem;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
	
	.footer-links {
        float: left;
        width: 50%;
        margin-bottom: 2rem;
    }
    
    .footer-brief > div.d-f {
        grid-template-columns: 1fr;
        gap: 1rem;
		display: block;
    }
    
	.footer-column-1, .footer-column-2 {
		float: left;
		width: 50%;
		margin-bottom: 2rem;
	}
	
	.footer-links:nth-child(2) {
		padding-left: 1.692rem;
		border-left: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.footer-cta {
		clear: both;
		padding: 2rem;
	}
	
	.footer-menu a {
		font-size: 0.9375rem !important;
	}
	
    .footer-bottom-container {
        flex-direction: column;
        gap: 1.5rem;
    }
	
	.footer-copyright {
		width: 75%;
	}
	
	.footer-copyright p {
		font-size: 0.875rem !important;
	}
    
    .footer-social {
        justify-content: center;
    }
	
	.footer-outer {
        padding: 1rem 0rem 0rem 0rem !important;
    }
	
	.footer-outer .footer-brief .d-f .footer-connect {
		margin-top: 1rem !important;
	}
	
	.footer-social img {
		width: 1.2rem;
	}

	.footer-social li:nth-child(3) img {
		width: 0.713rem;
	}

}

@media (max-width: 700px) {
    .scroll-to-top {
        bottom: 3rem !important;
    }
	.footer-links a::after {
		right: 1rem !important;
    }
}

@media (max-width: 460px) {
  .footer-links:nth-child(2) {
      padding-left: 1rem !important;
  }
  .footer-links a, .footer-copyright p {
    font-size: 0.8rem !important;
  }
  .footer-copyright p {
    font-size: 0.8rem !important;
  }
  .footer-links a::after {
		top: -0.125rem;
		width: 0.525rem;
		height: 1rem;
		right: -1.375rem !important;
  }
}

