/* Custom Font Declarations */
@font-face {
    font-family: 'Founders Grotesk';
    src: url('../fonts/founders-grotesk-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Founders Grotesk';
    src: url('../fonts/founders-grotesk-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Founders Grotesk';
    src: url('../fonts/founders-grotesk-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Founders Grotesk';
    src: url('../fonts/founders-grotesk-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0;
}

/* Base Font Styling */
body {
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.4;
    
}

p {
    font-size: 24px;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 300;
}

p:last-child {
    margin-bottom: 0;
}

p a:visited {
    color: #05ACDD;
}

p a{
    color: #05ACDD;
    transition: all 300ms ease;
}

p a:hover {
    color: #36C166;
}

ul, ol {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

ul:last-child, ol:last-child {
    margin-bottom: 0;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    
}

/* Desktop Heading Sizes */
h1, .h1-style {
    font-size: 90px;
    line-height: 0.9;
    margin: 0 0 30px 0;
}

h2, .h2-style {
    font-size: 60px;    
    line-height: 0.9;
    margin: 0 0 30px 0;
}

h3, .h3-style {
    font-size: 48px;
    line-height: 0.9;
    margin: 0 0 20px 0;
}

h4, .h4-style {
    font-size: 47px;
    line-height: 0.9;
    margin: 0 0 20px 0;
}

h5, .h5-style {
    font-size: 40px;
    line-height: 0.9;
    margin: 0 0 20px 0;
}

h6, .h6-style {
    font-size: 30px;
    line-height: 0.9;
    margin: 0 0 20px 0;
}

/* Risk Management Font Adjust */

.risk-management h1, .risk-management .h1-style {
    font-size: 70px;
}

/* Utility classes inherit heading font properties */
.h1-style, .h2-style, .h3-style, .h4-style, .h5-style, .h6-style {
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    
}

/* Bold/Strong Text */
b, strong {
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
}

/* Global container styles for header and footer */
.site-header-container,
.site-footer-container,
.container {
    max-width: 1530px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

/* Navigation Header Padding */
.site-header {
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    z-index: 9999;
    background-color: #f8f8f8;
}

/* Match top header height to fixed header height on all pages except home page */

body:not(.home) .site-header {
  padding: 20px 0;
}

body:not(.home) .site-header .custom-logo-link {
    max-width: 120px;
}

body:not(.home) .main-navigation .menu-item a {
	font-size: 18px;
}

body:not(.home) .menu-circle-button {
	width: 65px;
  height: 65px;
	font-size: 18px;
}

/* When homepage hero is present, make header absolute */
.page .homepage-hero ~ .site-header,
.home .homepage-hero ~ .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

.homepage-hero ~ * .site-header,
.homepage-hero + * .site-header,
body:has(.homepage-hero) .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

/* When landing page block is present, make header absolute */
.page .landing-page-block ~ .site-header,
.home .landing-page-block ~ .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

.landing-page-block ~ * .site-header,
.landing-page-block + * .site-header,
body:has(.landing-page-block) .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

/* Site branding and navigation styles */
.site-branding {
    display: flex;
    align-items: center;
}

.main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
    width: auto;
}

/* Menu Button Circle */
.menu-circle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: #222A6B;
    color: #fff;
    font-family: 'Founders Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    line-height: 1.25;
    padding: 0;
    position: relative;
    cursor: pointer;
}

.menu-circle-button:hover {
    background-color: #36C166;
    transform: scale(1.1);
}

.main-navigation .menu-item a{
    font-family: 'Founders Grotesk', sans-serif;
    font-weight: 500;
    font-size: 19px;
    text-decoration: none;
    color: #222A6B;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.main-navigation .menu-item a:hover,
.main-navigation .menu-item a:focus {
    color: #05ACDD;
}

/* Add this to ensure text is absolutely centered */
.menu-circle-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: #fff;
    margin-top: -1px;
}

/* Footer Styles */
.site-footer {
    background-color: #fff;
    padding: 100px 0;
    color: #24589A;
}

/* Logo Row */
.footer-logo-row {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.footer-logo-row .custom-logo-link {
    max-width: 33.333%;
}

.footer-logo-row img {
    max-height: 290px;
    width: auto;
}

/* Info Row with Three Columns */
.footer-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    padding: 45px 0;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    font-size: 25px;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
}

.footer-col p {
    font-size: 25px;
    line-height: 1.25;
    margin: 0;
	max-width: 350px;
    width: 100%;
}

.footer-col a {
    color: #24589A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #05ACDD;
}

/* Copyright Row */
.footer-copyright-row {
    width: 100%;
}

.footer-copyright-row p{
    color: #05ACDD;
}

.footer-copyright-row a {
    color: #05ACDD;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright-row a:hover {
    color: #24589A;
}

.wp-block-create-block-dhw-custom-block{
    margin: 0;
}

.entry-content > section:first-child{
    padding-top: 100px;
}

/* Responsive adjustments */
@media screen and (max-width: 1440px) {
    .entry-content > section:first-child{
        padding-top: 80px;
    }
    /* Tablet Heading Sizes */
    h1, .h1-style {
        font-size: 80px;
    }
    
    h2, .h2-style {
        font-size: 50px;
    }
    
    h3, h4, .h3-style, .h4-style {
        font-size: 40px;
    }
    
    h5, .h5-style {
        font-size: 35px;
    }
    
    h6, .h6-style {
        font-size: 25px;
    }
    p, body {
        font-size: 22px;
    }
    
    /* Risk Management Font Adjust */

		.risk-management h1, .risk-management .h1-style {
		    font-size: 60px;
		}
}

@media (max-width: 1194px) {
    h1, .h1-style {
        font-size: 65px;
    }

    h2, .h2-style {
        font-size: 45px;
    }
    
    h3, h4, .h3-style, .h4-style {
        font-size: 40px;
    }
    
    h5, .h5-style {
        font-size: 25px;
    }
    
    h6, .h6-style {
        font-size: 25px;
    }

    p, body {
        font-size: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .main-navigation .menu-item a{
        padding: 10px 15px;
    }
    .site-header {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .footer-logo-row .custom-logo-link {
        max-width: 50%;
    }
    .footer-copyright-row p{
        max-width: 550px;
        width: 100%;
        margin: 0;
    }
    
    /* Risk Management Font Adjust */

		.risk-management h1, .risk-management .h1-style {
		    font-size: 40px;
		}
}

@media screen and (max-width: 767px) {
    .menu-circle-button span{
        margin-top: -2px;
    }
    .entry-content > section:first-child{
        padding-top: 60px;
    }
    .site-header-container,
.site-footer-container,
.container {
    padding-left: 45px;
    padding-right: 45px;
}

    p, body {
        font-size: 1.2rem;
    }
    .footer-col p {
        max-width: 320px;
    }
    .menu-header-menu-container{
        display: none;
    }
    .site-footer-container {
        width: 100%;
        flex-direction: column;
    }
    
    .site-branding {
        margin-bottom: 15px;
    }
    
    .main-navigation {
        margin-left: 0;
    }
    
    /* Adjust header padding for mobile */
    .site-header {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .custom-logo-link{
        max-width: 120px;
        width: 100%;
    }
    .menu-circle-button{
        width: 65px;
        height: 65px;
        font-size: 18px;
    }
    .site-footer {
        padding: 60px 0 20px;
    }
    
    .footer-logo-row {
        justify-content: left;
    }
    
    .footer-logo-row .custom-logo-link {
        max-width: 70%;
    }
    
    .footer-info-row {
        flex-direction: row;
        gap: 20px;
        padding: 25px 0;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-col p, .footer-col h3 {
        font-size: 20px;
    }
    
    /* Mobile Heading Sizes */
    h1, .h1-style {
        font-size: max(8.5vw, 40px);
    }

    h2, .h2-style {
        font-size: max(5.5vw, 28px);
    }

    h3, .h3-style {
        font-size: max(5vw, 25px);
    }

    h4, .h4-style {
        font-size: max(4.75vw, 23px);
    }

    h5, .h5-style {
        font-size: max(4.5vw, 22px);
    }

    h6, .h6-style {
        font-size: max(4.25vw, 20px);
    }
}

@media screen and (max-width: 660px) {
.footer-col p, .footer-col h3, .footer-copyright-row p {
    font-size: 1.1rem;
}
.site-header-container,
.site-footer-container,
.container {
    padding-left: 30px;
    padding-right: 30px;
}
}

@media screen and (max-width: 480px) {
    p, body {
        font-size: 1.1rem;
    }
}

/* Fixed Header Styles */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fixed-header.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Fixed header container matches normal header */
.fixed-header .site-header-container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Fixed header navigation styling to match normal header */
.fixed-header .main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
    width: auto;
}

.fixed-header .main-navigation .menu-item a {
    font-family: 'Founders Grotesk', sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    color: #222A6B;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.fixed-header .main-navigation .menu-item a:hover,
.fixed-header .main-navigation .menu-item a:focus {
    color: #05ACDD;
}

/* Fixed header menu button styling to match normal header */
.fixed-header .menu-circle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #222A6B;
    color: #fff;
    font-family: 'Founders Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    line-height: 1.25;
    padding: 0;
    position: relative;
    border: none;
    cursor: pointer;
}

.fixed-header .menu-circle-button:hover {
    background-color: #36C166;
    transform: scale(1.1);
}

.fixed-header .menu-circle-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: #fff;
    margin-top: -1px;
}

/* Fixed header logo styling */
.fixed-header .site-branding {
    display: flex;
    align-items: center;
}

.fixed-header .custom-logo-link {
    transition: all 0.3s ease;
    max-width: 120px;
}

.fixed-header .custom-logo {
    max-height: auto;
    width: auto;
    transition: max-height 0.3s ease;
}

.menu-toggle,
.main-navigation.toggled ul {
	display: flex;
}

/* Responsive adjustments for fixed header */
@media screen and (max-width: 1024px) {
    .fixed-header {
        padding: 20px 0;
    }
    
    .fixed-header .main-navigation .menu-item a {
        padding: 10px 15px;
        font-size: 18px;
    }
    
    .fixed-header .menu-circle-button {
        width: 65px;
        height: 65px;
        font-size: 18px;
        margin-left: 20px;
    }
    
    .fixed-header .custom-logo {
        max-height: auto;
    }
}

@media screen and (max-width: 767px) {
    .fixed-header .menu-circle-button span{
        margin-top: -2px;
    }
    .fixed-header {
        padding: 15px 0;
    }
    
    .fixed-header .site-header-container {
        flex-direction: row;
        align-items: center;
    }
    
    .fixed-header .site-branding {
        margin-bottom: 0;
    }
    
    .fixed-header .main-navigation {
        margin-left: auto;
    }
    
    .fixed-header .custom-logo-link {
        max-width: 90px;
        margin-top: 0;
    }
    
    .fixed-header .custom-logo {
        max-height: auto;
    }
    
    .fixed-header .menu-circle-button {
        width: 60px;
        height: 60px;
        font-size: 17px;
        margin-left: 20px;
    }
    
    /* Hide menu items on mobile, only show menu button */
    .fixed-header .menu-header-menu-container {
        display: none;
    }
}

@media screen and (max-width: 660px) {
    .fixed-header .site-header-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}