@font-face {
    font-family: 'Raleway Regular';
    src: url('../assets/Raleway-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway Bold';
    src: url('../assets/Raleway-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Nexa ExtraLight';
    src: url('../assets/Nexa-ExtraLight.ttf') format('truetype');
    font-style: normal;
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Nexa Heavy';
    src: url('../assets/Nexa-Heavy.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --primary-color: #00a551;
    --secondary-color: #00a551;
    --accent-color: #00a551;
    --text-dark: #1f1f1f;
    --foremost-green: #00a551;
    --foremost-heading-font: 'Raleway Regular';
    --foremost-heading-font-bold: 'Raleway Bold';
    --foremost-body-font: 'Nexa ExtraLight';
    --foremost-body-font-bold: 'Nexa Heavy';
}

body,
body *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.entry-title):not(.page-title):not(.widget-title):not(.wp-block-heading):not(.site-logo):not(.main-navigation > div > ul > li > a):not(.main-navigation .main-menu > li > a):not([class*="title"]):not([class*="heading"]) {
    font-family: var(--foremost-body-font) !important;
    font-weight: 200;
    font-style: normal;
    font-synthesis: none;
}

.main-navigation .sub-menu a,
.main-navigation .children a,
strong,
b {
    font-family: var(--foremost-body-font-bold) !important;
    font-weight: 700 !important;
    font-style: normal;
    font-synthesis: none;
}

.about-description,
.founder-profile-description,
.industrial-info-description,
.mission-vision-text,
.values-list li,
.home-about-text p,
.contact-info p,
.card-text,
.comment-content,
.footer-widget a,
.search-form .search-field,
.form-group input,
.form-group textarea {
    font-family: var(--foremost-body-font) !important;
    font-weight: 200 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.widget-title,
.wp-block-heading,
.site-logo,
.main-navigation > div > ul > li > a,
.main-navigation .main-menu > li > a,
[class*="title"],
[class*="heading"] {
    font-family: var(--foremost-heading-font) !important;
}

h1,
h2 {
    font-family: var(--foremost-heading-font-bold) !important;
    font-weight: 700;
}

h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.widget-title,
.wp-block-heading,
.site-logo,
.main-navigation > div > ul > li > a,
.main-navigation .main-menu > li > a,
[class*="title"],
[class*="heading"] {
    font-family: var(--foremost-heading-font) !important;
    font-weight: 600;
}

a:hover {
    color: var(--foremost-green);
}

.hero-section,
.hero-banner,
.btn,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
    border-color: var(--foremost-green);
}

.btn,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
    background-color: var(--foremost-green);
}

/* Keep the marquee and header flush with each other. */
body .topbar-marquee {
    margin: 0 !important;
    border-bottom: 0 !important;
}

body .topbar-marquee + .site-header,
body #masthead.site-header,
body #page > .site-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body #masthead.site-header {
    padding-bottom: 0 !important;
}

body #page {
    gap: 0 !important;
}

.has-text-color,
.has-accent-color,
.has-primary-color {
    color: var(--foremost-green);
}

.has-background,
.has-accent-background-color,
.has-primary-background-color {
    background-color: var(--foremost-green);
}

/* About page top section override */
#about-company.about-showcase-section {
    background: #ffffff;
}

#about-company .about-showcase-content {
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(620px, 1.55fr);
    gap: clamp(4rem, 8vw, 7.5rem);
    align-items: center;
    padding: 0 2rem;
}

#about-company .about-text-content {
    padding-right: 0;
    max-width: 1080px;
}

#about-company .about-foremost-title {
    margin: 0 0 1.65rem;
    font-family: var(--foremost-heading-font-bold) !important;
    font-size: clamp(2rem, 2.8vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.12;
    color: #00a551 !important;
    text-transform: uppercase;
}

#about-company .about-description {
    margin: 0 0 0.7rem;
    font-family: var(--foremost-body-font) !important;
    font-size: clamp(1.2rem, 1.55vw, 1.5rem);
    font-weight: 200;
    line-height: 1.55;
    letter-spacing: 0;
    color: #191919 !important;
}

#about-company .about-logo-showcase,
#about-company .about-logo-container,
#about-company .about-logo-image {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#about-company .about-logo-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#about-company .about-logo-container {
    width: min(100%, 260px);
    height: auto;
    min-height: auto;
    padding: 0;
}

#about-company .about-logo-image {
    width: min(100%, 210px);
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 968px) {
    #about-company .about-showcase-content {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    #about-company .about-foremost-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        letter-spacing: 0.05em;
    }

    #about-company .about-description {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    #about-company .about-logo-container {
        width: min(100%, 220px);
    }

    #about-company .about-logo-image {
        width: min(100%, 180px);
    }
}

/* About breadcrumb spacing under the header */
.breadcrumb-section.about-breadcrumb-banner {
    min-height: 320px !important;
    padding: 2.5rem 0 4.25rem !important;
    display: flex !important;
    align-items: flex-end !important;
}

.breadcrumb-section.about-breadcrumb-banner .container-modern {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 2rem 0 clamp(2rem, 8vw, 10.5rem);
}

.breadcrumb-section.about-breadcrumb-banner .about-breadcrumb-title {
    margin: 0 !important;
    line-height: 1 !important;
}

@media (max-width: 968px) {
    .breadcrumb-section.about-breadcrumb-banner {
        min-height: 250px !important;
        padding: 1.75rem 0 2.75rem !important;
    }

    .breadcrumb-section.about-breadcrumb-banner .container-modern {
        padding: 0 1.25rem !important;
    }
}
