@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;1,400&family=Libre+Franklin:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ============================================
   FONTS
   ============================================ */
body, p, li, .entry-content {
    font-family: 'Libre Franklin', sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.site-title,
.nav-primary a,
.btn-primary {
    font-family: 'Montserrat', sans-serif !important;
}
input[type="submit"],
button[type="submit"],
input[type="button"],
button {
    font-family: 'Montserrat', sans-serif !important;
}
.wp-block-button__link,
.wp-element-button,
input[type="submit"],
button[type="submit"] {
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
}

/* ============================================
   NAVIGATION
   ============================================ */
.home li#menu-item-1142 {
    display: none;
}
.nav-primary .btn-primary {
    text-align: center !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    letter-spacing: normal !important;
}

/* ============================================
   FOOTER
   ============================================ */
a.footer-logo img { padding: 9px 0; }
a.footer-logo:focus img, a.footer-logo:hover img {
    background-color: var(--tn-green-dark);
}

/* ============================================
   BUTTONS
   ============================================ */
a.btn.btn-primary {
    padding-left: 15px !important;
    padding-right: 15px !important;
}
.wp-block-button__link,
.wp-element-button {
    background-color: transparent !important;
    border: 2px solid var(--tn-sage) !important;
    color: var(--tn-sage) !important;
    text-transform: uppercase !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
}
.wp-block-button__link:hover,
.wp-element-button:hover {
    background-color: var(--tn-sage) !important;
    color: var(--tn-white) !important;
}
.wp-block-buttons {
    margin-top: 1rem !important;
}

/* ============================================
   TYPOGRAPHY & SPACING
   ============================================ */
.entry-content p {
    line-height: 1.9;
}
h3 {
    margin-top: 2rem !important;
    margin-bottom: 0.5rem !important;
}
.entry-content h2 {
    margin-top: 2.5rem !important;
}
.entry-header + .entry-content h2:first-child {
    margin-top: 0.5rem !important;
}
.entry-header + .entry-content h3:first-child {
    margin-top: 0.5rem !important;
}
.entry-content img + h2 {
    margin-top: 0.5rem !important;
}
.wp-block-group h2.wp-block-heading {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
}
p.entry-meta {
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: var(--tn-sage) !important;
}
p.career-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tn-sage);
    font-weight: 700;
    margin-bottom: 0.25rem !important;
    margin-top: 1.75rem !important;
}

/* ============================================
   SAGE BOX
   ============================================ */
.bkg-sage {
    margin-bottom: 2.5rem !important;
}
.bkg-sage.center-block {
    margin-top: 0 !important;
}
.bkg-sage.p-4 h2:first-child {
    margin-top: 0 !important;
}
.bkg-sage strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.bkg-sage p,
.bkg-sage li {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ============================================
   PILLARS / SERVICE CARDS
   ============================================ */
.pillars .btn-primary {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    margin-top: 1rem !important;
}
.pillars a.stretched-link.btn.btn-primary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.pillars img {
    margin-bottom: 0 !important;
}
.pillars h3 {
    margin-top: 0.1rem !important;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
    position: relative;
    padding: 2em 2rem 1rem 5.5rem;
    margin: 2rem auto;
    border-radius: 22px;
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    background: linear-gradient(150deg, #fff 50%, var(--tn-green-white) 100%);
    border-left: 8px solid var(--tn-sage);
    box-shadow: 0 13px 22px var(--tn-sage);
    max-width: 77%;
}
.testimonial::before {
    content: "\f10d";
    font-family: "FontAwesome";
    font-weight: 900;
    font-size: 3.5rem;
    color: var(--tn-green-light);
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    opacity: 0.7;
    z-index: 0;
}
.testimonial::after {
    content: "\f10e";
    font-family: "FontAwesome";
    font-weight: 900;
    font-size: 3.5rem;
    color: var(--tn-green-light);
    position: absolute;
    right: 1.2rem;
    bottom: -1rem;
    opacity: 0.7;
}
.testimonial p {
    position: relative;
    z-index: 1;
    margin: 0 0 1.2rem 0;
    font-size: 1.15rem;
}
.testimonial cite {
    display: block;
    margin-top: 1.5rem;
    font-style: normal;
    font-weight: 600;
    color: #1f2937;
    position: relative;
    z-index: 1;
}
.testimonial cite::before {
    content: "— ";
}

/* ============================================
   CALLOUT BOX
   ============================================ */
.callout-box {
    background-color: var(--tn-green-white);
    border-left: 5px solid var(--tn-sage);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
}
.callout-box h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--tn-sage);
    margin-top: 0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.callout-box ol {
    margin: 0;
    padding-left: 1.25rem;
}
.callout-box li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* ============================================
   RELATED POSTS
   ============================================ */
#jp-relatedposts {
    border-top: 2px solid var(--tn-sage);
    padding-top: 1.5rem;
    margin-top: 2rem;
}
#jp-relatedposts h3.jp-relatedposts-headline {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--tn-sage) !important;
    margin-bottom: 1rem !important;
}
.jp-relatedposts-items {
    display: flex !important;
    gap: 1.5rem !important;
}
.jp-relatedposts-post {
    flex: 1 !important;
    background-color: var(--tn-green-white) !important;
    border-radius: 6px !important;
    padding: 1rem !important;
}
.jp-relatedposts-post-title a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--tn-sage) !important;
}
.jp-relatedposts-post-title a:hover {
    color: var(--tn-green-dark) !important;
}

/* ============================================
   TILED GALLERY
   ============================================ */
.tiled-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.tiled-gallery .gallery-row {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
}
.tiled-gallery .gallery-row,
.tiled-gallery .gallery-group,
.tiled-gallery .tiled-gallery-item {
    margin: 0 !important;
    padding: 0 !important;
}
.tiled-gallery img {
    margin: 0 !important;
}

/* ============================================
   LARGE SCREENS
   ============================================ */
@media screen and (min-width: 1512.8px) {
    .home .bkg-black.p-4.w-100.m-0.mb-3.text-center {
        min-width: 1512.8px;
        left: -216px;
        position: relative;
    }
}
@media screen and (min-width: 756px) {
    .tiled-gallery { zoom: 1.25; }
}

/* ============================================
   MOBILE
   ============================================ */
@media screen and (max-width: 768px) {
    header.site-header { max-height: 186px; }
    .menu-toggle { float: inline-start; }
    .bkg-black h1.m-1 {
        white-space: normal !important;
        font-size: 0.9rem !important;
    }
    .bkg-sage > div {
        flex-direction: column !important;
    }
    .bkg-sage > div img {
        width: 100% !important;
        height: 250px !important;
        margin-bottom: 1rem !important;
    }
    .testimonial {
        max-width: 95% !important;
        padding: 2rem 1rem 1rem 2.5rem !important;
        margin: 1rem auto !important;
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    .testimonial::before {
        font-size: 2rem !important;
        left: 0.5rem !important;
        top: 0.75rem !important;
    }
    .testimonial::after {
        font-size: 2rem !important;
        right: 0.5rem !important;
        bottom: 0 !important;
    }
    .testimonial cite {
        font-size: 0.8rem !important;
        margin-top: 0.75rem !important;
    }
    img.alignright,
    img.alignleft,
    .wp-image-551,
    .wp-image-974,
    .entry-content img.alignright,
    .entry-content img.alignleft,
    .entry-content img.aligncenter,
    .wp-caption.alignright,
    .wp-caption.alignleft {
        float: none !important;
        clear: both !important;
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 1.5rem auto !important;
    }
}
.sidebar .widget-title,
#genesis-sidebar-primary h3 {
    font-size: 1.1rem !important;
    margin-top: 0 !important;
}
.sidebar .widget-title,
#genesis-sidebar-primary h3 {
    font-size: 1.4rem !important;
    margin-top: 0 !important;
}
.nav-primary .btn-primary {
    background-color: #C4622D !important;
    border-color: #C4622D !important;
    color: #fff !important;
}
.btn-primary {
    text-transform: none !important;
}
.entry-content h3 {
    margin-top: 0.25rem !important;
}
.entry-content h3 {
    margin-top: 0.5rem !important;
}
.entry-content h2 {
    margin-top: 0.5rem !important;
}
@media (max-width: 768px) {
    .team-flex img {
        height: 220px !important;
        width: 100% !important;
    }
    .team-flex {
        flex-direction: column !important;
    }
}
@media (max-width: 768px) {
    .team-flex p {
        margin-bottom: 0 !important;
    }
    .team-flex img {
        height: 220px !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
}
@media (max-width: 768px) {
    .team-flex {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    .team-flex img {
        height: 220px !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    .team-flex p {
        margin-bottom: 0 !important;
    }
}
a.btn[style*="C4622D"] {
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

a.btn[style*="C4622D"]:hover {
    background-color: #a34e24 !important;
    opacity: 0.9;
}
.nav-primary .btn-primary {
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.nav-primary .btn-primary:hover {
    background-color: #a34e24 !important;
    opacity: 0.9;
}
.btn-primary {
    text-transform: none !important;
    min-height: auto !important;
    line-height: 1.2 !important;
    padding: 10px 20px !important;
}
.page-id-187 #genesis-sidebar-primary {
    display: none !important;
}

.page-id-187 #genesis-content {
    width: 100% !important;
    max-width: 100% !important;
}
.page-id-191 #genesis-sidebar-primary {
    display: none !important;
}

.page-id-191 #genesis-content {
    width: 100% !important;
    max-width: 100% !important;
}