/*
Theme Name: DayHill
Theme URI: https://dayhill.local
Description: DayHill child theme, built on the Kadence theme.
Author: DayHill
Author URI: https://dayhill.local
Template: kadence
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: dayhill
*/

/* =========================================================
   Dayhill Group -- Global fix for the numbered icon-blurb row
   (the "01 / 02 / 03..." badges used on the About Us "What We
   Stand For" section and reused on the Services page).

   Root cause: the theme's style.css only defines the counter
   CSS for rows with exactly 4 columns:
     section.four-columns .kt-row-column-wrap.kt-has-4-columns ...
   When this section is duplicated with a different number of
   items (e.g. 3 services instead of 4 values), Kadence gives
   the row a different class (kt-has-3-columns), so the original
   rule never matches and the numbers silently disappear.

   Fix: generalize the same rule to match ANY column count via
   an attribute selector, so it keeps working no matter how many
   items the row has -- on this page and any future page that
   reuses the same "section.four-columns" row. This does not
   change how the existing 4-column sections look (About Us,
   Home) since the values and positioning are identical to the
   theme's original rule -- it just also covers 3, 5, 6, etc.
   ========================================================= */

body.error404 section.error {margin-bottom: 29px;}

body.error404 .site-main-header-wrap .site-header-row-container-inner>.site-container {
  
    background: #001225;
}
body.error404 .entry-content-wrap {
   
    padding: 20px;
}

.text-link a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.second-col {}

.sub .menu>.menu-item>.kb-link-wrap>.kb-nav-link-content {
  font-size: 16px;
    font-family: var(--font-nav);
    padding-bottom: 25px;
}

.menu-toggle-open {
    background: transparent!important;
}
.menu-toggle-close {
    position: relative;
    top: 18px;
    font-size: 30px;
}

.menu-toggle-open .kadence-svg-iconset svg {
    fill: #8bb370;
    height: 28px;
    width: 28px;
}

body.page-id-939 .kb-navigation.menu { justify-content: center!important; }
body.page-id-939 .kb-navigation.menu>li:nth-child(3),
body.page-id-939 .kb-navigation.menu>li:nth-child(4) { display: none; }
body.page-id-939 .sub>nav {     justify-content: center; }

.button-list { cursor: none; pointer-events: none; }

section.four-columns .kt-row-column-wrap[class*="kt-has-"] {counter-reset: service-num; }
section.four-columns .kt-row-column-wrap[class*="kt-has-"] .inner-column-1 { position: relative; counter-increment: service-num; }
section.four-columns .kt-row-column-wrap[class*="kt-has-"] .inner-column-1::after { content: counter(service-num, decimal-leading-zero); position: absolute; top: 40px; right: 28px; font-family: var(--font-nav); font-weight: 600; font-size: 12px; color: #c5c5c5; }

.no-before::after,
.no-before .kt-inside-inner-col::after,
.no-number::after,
.no-number .inner-column-1::after { display: none!important; }
#two-col.two-column { width: 100%; max-width: 100%; margin: auto; }

.heighted, 
.heighted .kt-inside-inner-col,
.heighted .kt-inside-inner-col .kb-row-layout-wrap { height: 100%; }

#by-the-numbers  .no-color { background-color: #fff0!important; }

:root {
    --font-heading: "termina", sans-serif;
    --font-body: "halcom", sans-serif;
    --font-nav: "trajan-sans-pro", sans-serif;
}
@media screen and (max-width: 600px) {
    :root {
    --global-content-edge-padding: 1rem;
    }
}

body {
    font-family: var(--font-body);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.overline {
    font-size: 13px;
    font-family: var(--font-nav);
    text-wrap: balance;
}
.overline::before {
    display:inline-block;
    content: '';
    width: 60px;
    height: 1px;
    background-color: currentColor;
    position: relative;
    top: -3px;
    margin-right: 12px;
}
.overline.top::before {
    display:block;
    margin: 0 auto;
    top: -12px;
}

div.content-area {
    margin-top: 0;
    margin-bottom: 0;
}

.main-navigation .primary-menu-container>ul>li.menu-item>a,
.site-footer a,
.wp-block-button__link,
.kb-button,
.has-theme-palette-8-color {
    font-family: var(--font-nav);
    font-weight: 700;
    font-style: normal;
}

.main-navigation .primary-menu-container>ul>li.menu-item>a {
    color: var(--global-palette7);
    text-transform: uppercase;
    transition: color 0.2s ease;
}

li.cta {
    margin-left: 18px;
}
.main-navigation .primary-menu-container>ul>li.menu-item:not(.cta)>a:hover,
.main-navigation .primary-menu-container>ul>li.menu-item:not(.cta)>a:focus {
    color: var(--global-palette10);
}

.main-navigation .primary-menu-container>ul>li.menu-item.cta>a { border: 1px solid var(--global-palette10); padding: 14px 30px; transition: background-color 0.2s ease, color 0.2s ease; }
.main-navigation .primary-menu-container>ul>li.menu-item.cta.menu-item.current-menu-item>a { color: #fff!important; }

.main-navigation .primary-menu-container>ul>li.menu-item.cta>a:hover,
.main-navigation .primary-menu-container>ul>li.menu-item.cta>a:focus {
    background-color: var(--global-palette10);
    color: var(--global-palette1);
    color: var(--global-palette3);
}

.main-navigation .primary-menu-container>ul>li.menu-item.current-menu-item>a {
    color: var(--global-palette10);
}

.hero .kt-inside-inner-col {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero .kt-inside-inner-col h1 {
    font-size: clamp(32px, 6vw, 85px);
    text-transform: uppercase;
    line-height: 1.05;
    margin: 36px 0 26px;
}

.hero .kt-inside-inner-col p {
    max-width: 700px;
}

.hero .wp-block-buttons {
    margin-top: 32px;
}

.kt-inside-inner-col>.wp-block-group {
    width: 100%;
    max-width: var(--global-content-width);
    margin: 0 auto;

}
.hero ul {      padding: 0;
    color: #fff;
    list-style: none;
    display: flex;
    gap: 12px;
    font-family: "termina", sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;   
	position: absolute; right: 25px; bottom: 25px;  }

.hero ul li { color: #b3b3b3; border: 1px solid #b3b3b3; padding: 10px 16px;    background: #00000010; line-height: 1; }
.hero ul li img { margin-bottom: -2px; margin-right: 9px; }
.hero ul>li:last-child img {     margin-left: 7px; margin-right: 7px; }

@media screen and (max-width: 768px) {
    .hero ul li {
        border: none;
    }
}

.kb-buttons-wrap .kt-button.bottom-line { border-bottom: 1px solid #675633!important; padding-left: 10px !important; padding-right: 10px !important; }
.entry-content-wrap { padding: 0;}

body #inner-wrap .home-services-row h2 { padding: 0; }
body #inner-wrap .home-services-row .kt-blocks-info-box-learnmore { padding-left: 10px !important; padding-right: 10px !important; border-bottom: 1px solid #675633; }

.site-footer a,
.site-footer p,
.site-footer h4 { color: var(--global-palette7); }

::selection { background: var(--global-palette3); color: var(--global-palette10); }

::-webkit-scrollbar {
    width: 10px;
    height: 18px;
}

::-webkit-scrollbar-thumb {
    background: var(--global-palette2);
    background-clip: padding-box;
}

::-webkit-scrollbar-track {
    background: var(--global-palette7);
}

.wp-block-button__link.has-theme-palette-10-border-color {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wp-block-button__link.has-theme-palette-10-border-color:hover,
.wp-block-button__link.has-theme-palette-10-border-color:focus {
    background-color: var(--global-palette10);
    color: var(--global-palette1);
}

.main-navigation .primary-menu-container>ul>li.menu-item.cta.has-arrow>a::after,
.wp-block-button.has-arrow .wp-block-button__link::after,
.kb-button.kb-btn-global-outline.has-arrow::after,
.wp-block-button__link.has-arrow::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 10px;
    margin-left: 8px;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1 8H21M14 1L21 8L14 15' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1 8H21M14 1L21 8L14 15' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.wp-block-button__link.button-style-secondary {
    background: none !important;
    border: none !important;
    padding: 0 0 6px !important;
    display: inline-flex;
    align-items: center;
    color: #0b1929;
    font-variant: small-caps;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #0b1929;
    border-radius: 0 !important;
}

.wp-block-button__link.button-style-secondary:hover,
.wp-block-button__link.button-style-secondary:focus {
    background: none !important;
    color: #0b1929;
}

.by-the-numbers .inner-column-1 > .kt-inside-inner-col {
    width: 100%;
    max-width: 1246px;
    margin: 0 auto;
}

/* Stats row: top/bottom rule with vertical dividers between columns */
.by-the-numbers .inner-column-1 > .kt-inside-inner-col > .kb-row-layout-wrap:nth-of-type(1) .kt-row-column-wrap {
    border-top: 1px solid #022646;
    border-bottom: 1px solid #022646;
    padding: 32px 0;
}

.by-the-numbers .stat-col:not(:last-child) {
    border-right: 1px solid #022646;
}

/* Who We Serve / testimonial row: column ratio + dividers */
.by-the-numbers .inner-column-1 > .kt-inside-inner-col > .kb-row-layout-wrap:nth-of-type(2) .kt-row-column-wrap > .wp-block-kadence-column:nth-child(1) {
    flex: 0 0 38% !important;
    /* max-width: 38% !important; */
}

.by-the-numbers .inner-column-1 > .kt-inside-inner-col > .kb-row-layout-wrap:nth-of-type(2) .kt-row-column-wrap > .wp-block-kadence-column:nth-child(2) {
    flex: 0 0 58% !important;
    /* max-width: 58% !important; */
}

.by-the-numbers .inner-column-1 > .kt-inside-inner-col > .kb-row-layout-wrap:nth-of-type(2) .kt-row-column-wrap > .wp-block-kadence-column:nth-child(1) .kt-inside-inner-col > h2:not(:first-child) {
    margin: 0;
    padding: 18px 0;
    overflow: hidden;
    border-bottom: 1px solid #022646;
}

.by-the-numbers .inner-column-1 > .kt-inside-inner-col > .kb-row-layout-wrap:nth-of-type(2) .kt-row-column-wrap > .wp-block-kadence-column:nth-child(2) {
    background-color: var(--global-palette5);
    border-radius: 4px;
}

.by-the-numbers .inner-column-1 > .kt-inside-inner-col > .kb-row-layout-wrap:nth-of-type(2) .kt-row-column-wrap > .wp-block-kadence-column:nth-child(2) .kt-inside-inner-col {
    padding: clamp(24px, 4vw, 48px);
}

.by-the-numbers .inner-column-1 > .kt-inside-inner-col > .kb-row-layout-wrap:nth-of-type(2) .kt-row-column-wrap > .wp-block-kadence-column:nth-child(2) p.has-theme-palette-10-color {
    margin-bottom: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #022646;
}

/* Proud member / logos row: top rule */
.by-the-numbers .inner-column-1 > .kt-inside-inner-col > .kb-row-layout-wrap:nth-of-type(3) .kt-row-column-wrap {
    border-top: 1px solid #022646;
    padding-top: 32px;
}

.kadence-column7_7e4338-07>.kt-inside-inner-col {
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
}
.kb-row-layout-wrap.wp-block-kadence-rowlayout.kb-row-layout-id7_e061fa-32 {
    margin-bottom: 0;
    border-bottom: 0;
}
.by-the-numbers .stats > div {
    padding: 0!important;
}
.by-the-numbers .stats h2 {
    margin-bottom: 0;
    font-size: clamp(40px,8vw,60px);
}
.by-the-numbers .stats .stat-col {
    padding-top: 40px;
    padding-bottom: 50px;
}
.by-the-numbers {
    --global-palette8: #ffffef;
    --global-palette9: #ffffef;
}

.by-the-numbers .serve h3.has-text-color {
    font-size: 20px;
    padding: 16px 0;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: var(--font-nav);
    border-bottom: 1px solid #022646;
}
.by-the-numbers .serve h3 span {
    font-family: var(--font-nav);
    font-size: 11px;
}

.team .group-label {
  border-bottom: 1px solid rgba(199, 160, 92, 0.4);
}

.team .bio-card__photo,
.team .bio-card__photo .kt-inside-inner-col,
.team .bio-card__photo figure,
.team .bio-card__photo img {
  height: 100%;
  margin: 0;
}
.team .bio-card--wide .bio-card__photo img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

.team .bio-card--stacked .bio-card__photo img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

.team .contact-link .kb-btn {
  padding: 0 0 4px;
  border-bottom: 1px solid var(--global-palette3);
  color: var(--global-palette3);
  white-space: nowrap;
}
.team .contact-link .kb-btn:hover {
  border-color: var(--global-palette11);
  color: var(--global-palette11);
}

.heading-font { font-family: var(--font-heading); }
.img-no-margin .wp-block-image figure { margin-bottom: 0; }
.reviews-text p { font-size: 16px !important; letter-spacing: 2px; }
.reviews-text span { font-size: 10px; letter-spacing: 1px; }

.home-services-row .kt-blocks-info-box-media { padding-bottom: 0; padding-left: 0; }

.img-badge { top: 100px; position: absolute; }

.overline.no::before { display: none; }

.by-the-numbers .stats>.kt-row-column-wrap,
.by-the-numbers-white .stats>.kt-row-column-wrap { gap: 0; }
.by-the-numbers .stats>.kt-row-column-wrap>.stat-col { padding: 20px 10px;}
.by-the-numbers-white .stats>.kt-row-column-wrap>.stat-col { padding: 0px 10px;}

.by-the-numbers-white .stats>.kt-row-column-wrap>.stat-col:not(:last-child) { border-right: 1px solid #022646; }

.trojan-font { font-family: var(--font-nav); }

.team-row .wp-block-kadence-column,
.team-row .kt-inside-inner-col {     height: 100%; }

.full-width img { width: 100%; object-position: top!important; }

@media (max-width: 767px) {
  .team .bio-card--wide .bio-card__inner { display: block; }
  .team .bio-card--wide .bio-card__photo img { aspect-ratio: 4 / 3; }
}

.contact .step__head {
  display: flex;
  gap: 1.75rem;
  align-items: baseline;
}
.contact .step__num {
  color: var(--global-palette11);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  min-width: 1.75rem;
}
.contact .step__body {
  padding-left: 3.5rem;
}

.contact .panel-rule {
  border: 0;
  border-top: 1px solid var(--global-palette3);
  margin: 2.5rem 0 1.75rem;
  opacity: 0.35;
}

.contact .panel-note strong {
  color: var(--global-palette3);
}

@media (max-width: 767px) {
  .contact .step__body { padding-left: 3.5rem; }
}

.contact-methods .kt-blocks-info-box-learnmore {
  text-transform: uppercase;
}

.contact-methods .kt-blocks-info-box-link-wrap,
.contact-methods .kt-infobox-textcontent {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-methods .kt-blocks-info-box-learnmore-wrap {
  margin-top: auto;
  padding-top: 2.5rem;
}

.contact-methods .has-arrow .kt-blocks-info-box-learnmore::after {
  content: " →";
}

/* Footer */
.site-footer .footer-widget1 .widget_media_image {
    margin-bottom: 20px;
}

.site-footer .footer-widget1 img {
    max-width: 270px;
    width: 100%;
    height: auto;
}

.site-footer-wrap {
    padding-top: 70px;
    padding-bottom: 0px;
}

.site-footer p {
    font-size: 14px;
    color: #b3b3b3;
}

.site-footer-row.site-footer-row-columns-4 {
    grid-template-columns: 4fr 3fr 2fr 2fr;
    gap: 80px;
}

.site-footer .site-middle-footer-inner-wrap .wp-block-heading,
.site-footer .site-middle-footer-inner-wrap .wp-block-heading>a{
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--global-palette6);
     margin-bottom: 9px;
}

.site-footer a:hover, .site-footer a:focus {
   
    text-decoration: none;
}

.site-footer .wp-block-social-links {
    gap: 10px;
}

.site-footer .wp-block-social-links .wp-social-link {
    background-color: #ffffee !important;
    width: 30px;
    height: 30px;
}

.site-footer .wp-block-social-links .wp-social-link a {
    color: #0b1929;
}

.site-footer .wp-block-social-links .wp-social-link svg {
    width: 26px;
    height: 23px;
    fill: #0b1929 !important;
    color: #0b1929 !important;
}
.site-bottom-footer-wrap .site-container {
    border-top: 1px solid #132a45;
    font-size: 14px;
}
.site-bottom-footer-wrap #block-18 {
    text-align: right;
}
.site-bottom-footer-wrap a {
    color: #132a45;
}
.site-footer a { font-size: 14px; }

.site-footer a:hover,
.site-footer a:focus {
    color: var(--global-palette10);
}

.site-bottom-footer-wrap .footer-html {
    margin: 0;
}
.site-bottom-footer-wrap .footer-html p {
    font-size: 12px;
}

.site-footer .wp-block-social-links .wp-social-link a:hover,
.site-footer .wp-block-social-links .wp-social-link a:focus {
    border-radius: 90px;
    background-color: var(--global-palette10);
}

.values-row .value-card>.kt-inside-inner-col {
    position: relative;
}

.values-row .value-card+.value-card>.kt-inside-inner-col {
    box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.08);
}

.values-row .card-index {
    position: absolute;
    top: var(--global-kb-spacing-lg, 2rem);
    right: var(--global-kb-spacing-md, 1.5rem);
    margin: 0;
    opacity: 0.45;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.site-middle-footer-inner-wrap .widget {
    margin-bottom: 10px;
}

.site-footer .site-middle-footer-inner-wrap .wp-block-heading {
   
   
}

#block-14 {     color: #b3b3b3;
    font-size: 12px;
    text-align: right; }




/* Header */
.site-header-wrap .site-container { max-width: 100%; width: 100%; }
.site-branding a.brand img { max-width: 320px; }
#masthead .kadence-sticky-header.site-main-header-wrap.item-is-stuck > .site-header-row-container-inner { background-color: #001225; }
.site-main-header-wrap .site-header-row-container-inner>.site-container { padding: 10px 25px 10px 25px; }
body.page-id-244 .header-button-inner-wrap a,
body.page-id-244 .mobile-header-button-inner-wrap a {border: 1px solid var(--global-palette10)!important;
    padding: 14px 30px;
    transition: background-color 0.2s, color 0.2s;
    color: var(--global-palette7);
    text-transform: uppercase;
    border-radius: 0;
	 background: #fff0; font-family: var(--font-nav);
    font-weight: 700;
    font-style: normal;
    ont-style: normal;
    font-size: 15px; }
body.page-id-244 .header-button-inner-wrap a:hover, body.page-id-244 .header-button-inner-wrap a:focus,
body.page-id-244 .mobile-header-button-inner-wrap a, body.page-id-244 .mobile-header-button-inner-wrap a:focus {
    background-color: var(--global-palette10);
    color: var(--global-palette3);
}

body.page-id-244 .header-html-inner,
body.page-id-244 .mobile-html-inner { margin-right: 30px; }
body.page-id-244 .header-html-inner a,
body.page-id-244 .mobile-html-inner a { font-size: 13px;
    font-family: var(--font-nav);
    color: #fff;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center; }
body.page-id-244 .header-html-inner a:hover ,
body.page-id-244 .mobile-html-inner a:hover { color: #e2b66a; }

@media (max-width: 767px) {
	body.page-id-244 .mobile-header-button-wrap { display: none; }
	body.page-id-244 .mobile-html-inner a { font-size: 0; }
	body.page-id-244 .mobile-header-button-inner-wrap a { padding: 9px 19px; font-size: 13px;}
	body.page-id-244 .header-html-inner, body.page-id-244 .mobile-html-inner {
    margin-right: 0;
}
	.site-header-item {
   
    margin-right: 0;
    
}
}

.two-column h2 { text-transform: uppercase; }

/* Services */
.services-section div.two-column + div.two-column {
    padding-top: clamp(32px, 8vw, 80px);
}

section.four-columns h2 { text-transform: uppercase; }

/* Service info boxes: equal-height cards, "Learn More" pinned to bottom */
section.four-columns .kt-row-column-wrap { align-items: stretch; }

section.four-columns .kt-inside-inner-col,
section.four-columns .wp-block-kadence-infobox,
section.four-columns .kt-blocks-info-box-link-wrap { height: 100%; }
section.four-columns .kt-blocks-info-box-link-wrap { display: flex; flex-direction: column; }
section.four-columns .kt-infobox-textcontent { display: flex; flex-direction: column; flex: 1; }
section.four-columns .kt-row-column-wrap.kt-has-4-columns .inner-column-1 { border-right: 1px solid #e1dfc5; }

section.four-columns .kt-row-column-wrap.kt-has-4-columns {
    counter-reset: service-num;
}

section.four-columns .kt-row-column-wrap.kt-has-4-columns .inner-column-1 {
    position: relative;
    counter-increment: service-num;
}

section.four-columns .kt-row-column-wrap.kt-has-4-columns .inner-column-1::after {
    content: counter(service-num, decimal-leading-zero);
    position: absolute;
    top: 40px;
    right: 28px;
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 12px;
    color: #c5c5c5;
}

section.four-columns .kt-blocks-info-box-learnmore-wrap {
    margin-top: auto;
    padding-top: 24px;
}

section.four-columns .kt-info-svg-icon {
    color: var(--global-palette2);
}

section.four-columns .kt-blocks-info-box-title {
    padding-left: 0;
    font-family: var(--font-nav);
    font-weight: 400;
    text-transform: uppercase;
}

section.four-columns .kt-blocks-info-box-text {
    color: rgba(11, 25, 41, 0.7);
}

section.four-columns .kt-blocks-info-box-learnmore {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--global-palette2);
    padding-bottom: 4px;
}

section.four-columns .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,
section.four-columns .kt-blocks-info-box-learnmore:hover {
    color: #0b1929 !important;
}

section.four-columns .kt-blocks-info-box-learnmore::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 9px;
    margin-left: 6px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1 8H21M14 1L21 8L14 15' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1 8H21M14 1L21 8L14 15' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.kb-button.kb-btn-global-outline { border-radius: 0 !important; padding: 18px 34px; }

.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-element-button { padding: 18px 34px; }

.kb-button.kb-btn-global-outline.kb-btn-global-outline.kb-btn-global-outline:hover,
.kb-button.kb-btn-global-outline.kb-btn-global-outline.kb-btn-global-outline:focus,
.wp-block-button.is-style-outline.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline.is-style-outline .wp-block-button__link:focus,
.wp-block-button.is-style-outline.is-style-outline .wp-element-button:hover,
.wp-block-button.is-style-outline.is-style-outline .wp-element-button:focus { background-color: var(--global-palette10); border-color: var(--global-palette10); color: var(--global-palette3)!important; }

.site-footer .site-info-inner figure { margin-top: 0; }
.site-info a {
    font-family: var(--font-body);
    font-size: 12px;
    color: #b3b3b3;
    font-weight: normal;
    text-decoration:none!important;
}

.site-info a:hover {
    text-decoration:underline!important;
}

.termina-font span,
.termina-font { font-family: var(--font-heading); }

.trajan-font span,
.trajan-font .kt-blocks-accordion-title { font-family: var(--font-nav); }
.button-list .kb-button { padding-left: 20px; padding-right: 20px; }

.kt-accordion-inner-wrap { row-gap: 0!important; }
.kt-blocks-accordion-header  { padding: 29px 0 !important; }
.kt-accordion-panel-active.kt-blocks-accordion-header { border-bottom: 0px!important; }
.kt-accordion-panel-inner { padding: 0; padding-bottom: 20px; } 


.wp-block-kadence-accordion .kt-blocks-accordion-header:hover span {
    color: var(--global-palette3);
}
.wp-block-kadence-accordion .kt-blocks-accordion-header:hover span::before,
.wp-block-kadence-accordion .kt-blocks-accordion-header:hover span::after {
    color: var(--global-palette3);
    background: var(--global-palette3)!important;
}
div.has-theme-palette4-background-color .wp-block-kadence-accordion .kt-blocks-accordion-header:hover span {
    color: var(--global-palette7);
}
div.has-theme-palette4-background-color .wp-block-kadence-accordion .kt-blocks-accordion-header:hover span::before,
div.has-theme-palette4-background-color .wp-block-kadence-accordion .kt-blocks-accordion-header:hover span::after {
    color: var(--global-palette7);
    background: var(--global-palette7)!important;
}


/* =========================================================
   Dayhill Group -- Contact page only 
   ========================================================= */

/* ---- Form field labels ---- */
body #inner-wrap .form-column .gform_wrapper .gfield_label,
body #inner-wrap .form-column .gform_wrapper .gform-field-label,
body #inner-wrap .form-column .gform_wrapper .gform-field-label__text {
	color: var(--global-palette4, #001225);
	font-family: halcom, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

body #inner-wrap .form-column .gform_wrapper .gfield_required,
body #inner-wrap .form-column .gform_wrapper .gform-field-label__required {
	color: var(--global-palette13, #b82105);
}

body #inner-wrap .form-column .gform_wrapper .gform_required_legend {
	color: var(--global-palette4, #001225);
	font-family: halcom, sans-serif;
	font-size: 13px; display: none;
}

/* ---- Inputs, selects, textarea ---- */
body #inner-wrap .form-column .gform_wrapper input[type="text"],
body #inner-wrap .form-column .gform_wrapper input[type="email"],
body #inner-wrap .form-column .gform_wrapper input[type="tel"],
body #inner-wrap .form-column .gform_wrapper input[type="number"],
body #inner-wrap .form-column .gform_wrapper select,
body #inner-wrap .form-column .gform_wrapper textarea {
	    color: var(--global-palette4, #001225);
    background-color: #fff0;
    border: 2px solid #718096a6;
    border-radius: 0;
    font-family: halcom, sans-serif;
    font-size: 15px;
    height: 48px;
    line-height: 46px;
    padding: 0 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body #inner-wrap .form-column .gform_wrapper select {
	height: 48px;
}

body #inner-wrap .form-column .gform_wrapper textarea {

    line-height: 1.5;
    padding: 12px 14px;
    min-block-size: 7rem;
}

body #inner-wrap .form-column .gform_wrapper input::placeholder,
body #inner-wrap .form-column .gform_wrapper textarea::placeholder {
	color: var(--global-palette6, #718096);
	opacity: 1;
}

body #inner-wrap .form-column .gform_wrapper input:focus,
body #inner-wrap .form-column .gform_wrapper select:focus,
body #inner-wrap .form-column .gform_wrapper textarea:focus {
	border-color: var(--global-palette11, #6d552d);
	outline: none;
	box-shadow: 0 0 0 1px var(--global-palette11, #6d552d);
}

/* ---- Submit button: match site's outlined CTA style ---- */
body #inner-wrap .form-column .gform_wrapper .gform_footer {
	margin-top: 8px;
}

body #inner-wrap .form-column .gform_wrapper .gform_button {
	display: block;
	width: 100%;
	height: 54px;
	line-height: 52px;
	padding: 0;
	background-color: transparent;
	color: var(--global-palette4, #001225);
	border: 1px solid var(--global-palette11, #6d552d);
	border-radius: 0;
	font-family: trajan-sans-pro, sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

body #inner-wrap .form-column .gform_wrapper .gform_button {
	position: relative;
	padding-right: 34px;
}

body #inner-wrap .form-column .gform_wrapper .gform_button::after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 50%;
	right: calc(50% - 39px);
	width: 16px;
	height: 10px;
	margin-top: -5px;
	background-color: var(--global-palette4, #001225);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1 8H21M14 1L21 8L14 15' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1 8H21M14 1L21 8L14 15' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	transition: background-color .2s ease;
}

body #inner-wrap .form-column .gform_wrapper .gform_button:hover,
body #inner-wrap .form-column .gform_wrapper .gform_button:focus { background-color: var(--global-palette11, #6d552d); color: #ffffff; }

body #inner-wrap .form-column .gform_wrapper .gform_button:hover::after,
body #inner-wrap .form-column .gform_wrapper .gform_button:focus::after { background-color: #ffffff; }

body #inner-wrap .form-column .gform_wrapper .gfield_error .ginput_container  input {     border-color: #c55555; }

.gform-theme--framework .gform_validation_errors ol { display: none; }
body #inner-wrap .form-column .gform_wrapper .gform_validation_errors { padding: 10px;
    margin-bottom: 20px; }
body #inner-wrap .form-column .gform_wrapper .gform_submission_error {
   
    text-transform: none;
}
.gform_confirmation_message {     color: #6d552d!important; }

/* ---- Map section: keep the embed fluid inside its column ---- */
body.page-id-161 .field-notes-frame iframe {
	width: 100%;
	max-width: 100%;
}



@media (min-width: 1025px) and (max-width: 1199px) {
body #inner-wrap .home-services-row h2 { font-size: 18px; }
.by-the-numbers .serve h3.has-text-color { font-size: 17px; }
.home-partners img { max-height: 53px; object-fit: contain; width: max-content !important; }
.reviews-text p { letter-spacing: 1px; }
.reviews-text span { font-size: 9px; }
	
.adjusted {  font-size: 39px!important; line-height: 49px!important;}
}

@media (max-width: 1024px) {
.overline::before { width: 30px; }
.site-branding a.brand img { max-width: 250px !important; }
.kb-button.kb-btn-global-outline,
.wp-block-button.is-style-outline .wp-element-button { padding: 10px 17px!important; font-size: 15px; }
	.inner-banner-text {font-size: 17px !important; }
	
.values-row .value-card+.value-card>.kt-inside-inner-col  { box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.08); }

.wp-site-blocks .menu-toggle-open { border-radius: 0; }
.popup-drawer .drawer-inner { background: #6d552d; }
li.cta { margin-left: 0; }

.home-partners img { max-height: 43px; object-fit: contain; width: max-content !important; }
.reviews-text p { letter-spacing: 0px; font-size: 26px !important; }
.reviews-text span { font-size: 12px; display: block; }

.by-the-numbers .stats h2 { font-size: 30px; }
.by-the-numbers .stats .stat-col { padding-top: 20px; padding-bottom: 20px; }

.by-the-numbers .serve h3.has-text-color { font-size: 15px; }
.home-services-row .kt-blocks-info-box-media-container { margin-bottom: 0px; }
	
	.team-image {     width: 126px; }
	
	.kt-blocks-accordion-header {
    padding: 18px 0 !important;
}

.site-footer-row.site-footer-row-columns-4 { gap: 35px; }
.site-footer .wp-block-social-links { margin-bottom: 0px; }

.site-bottom-footer-wrap .footer-html p,
#block-14 { text-align: center; }
	.hero .kt-inside-inner-col { min-height: max-content; }
}

@media (max-width: 767px) {
	.br-none br { display: none; }
	h2.wp-block-kadence-advancedheading br{ display: none; }
	
	.site-branding a.brand img { max-width: 200px !important; }
	.hero .kt-inside-inner-col h1 { margin: 16px 0 8px; font-size: clamp(27px, 6vw, 85px); line-height: 37px; }
	.hero ul { flex-direction: column; left: 50%; transform: translate(-50%, 0px); right: inherit; gap: 6px; width: calc(100% - 48px); text-align: center; }
	
	.by-the-numbers .stat-col:not(:last-child) { border-right: 0px solid #022646; }
	.by-the-numbers .inner-column-1 > .kt-inside-inner-col > .kb-row-layout-wrap:nth-of-type(1) .kt-row-column-wrap { border-bottom: 0px solid #022646; }

	.by-the-numbers .serve h3.has-text-color { font-size: 12px!important; }
	.by-the-numbers-white .stats>.kt-row-column-wrap>.stat-col:not(:last-child) {
    border-right: 0px solid #022646;
    border-bottom: 1px solid #022646;
}
	.team-image {
                width: 100%;
        max-width: 450px;
        margin-bottom: 20px !important;
    }
	.team-image img {     width: 100%!important; }
	.kt-adv-heading1131_162921-05 { width: 96px!important;}
	.sub .menu>.menu-item>.kb-link-wrap>.kb-nav-link-content {
    font-size: 14px;
   
    padding-bottom: 11px;
}
}

@media (max-width: 500px) {
    .hero .kt-inside-inner-col h1 {
       
        font-size: clamp(24px, 6vw, 85px);
        line-height: 34px;
    }
}

/* Lenders card carries two stacked links. The Kadence Info Box only supports one, so the second sits in a paragraph beneath it; flex keeps both pinned to the card bottom like the neighbouring cards. */
.home-services-row .has-extra-link .kt-inside-inner-col { display: flex; flex-direction: column; }
.home-services-row .has-extra-link .wp-block-kadence-infobox { flex: 1 1 auto; height: auto; display: flex; flex-direction: column; }
/* Short bottom padding keeps the two links together; the paragraph below supplies the card's real bottom padding. */
.home-services-row .has-extra-link .kt-blocks-info-box-link-wrap { flex: 1 1 auto; height: auto; padding-bottom: 12px; }
.home-services-row .extra-learnmore { margin: 0; padding: 0 var(--global-kb-spacing-md, 2rem) var(--global-kb-spacing-md, 2rem); }
/* Arrow, border and font come from the shared .kt-blocks-info-box-learnmore rules; only the Kadence per-block settings (letter-spacing, colour) need repeating. */
.home-services-row .extra-learnmore a { letter-spacing: 1px; color: var(--global-palette3); text-decoration: none; }
/* Info Box switches to xs side padding at the Kadence tablet breakpoint; match it so the two links stay left-aligned. */
@media (max-width: 1024px) {
	.home-services-row .extra-learnmore { padding-left: var(--global-kb-spacing-xs, 1rem); padding-right: var(--global-kb-spacing-xs, 1rem); }
}

/* Default (non-Kadence-built) pages such as Privacy Policy: Kadence's body class
   "non-transparent-header" marks pages where the header does not overlay a hero,
   so the white nav text/logo needs a dark bar behind it. */
body.non-transparent-header .site-main-header-wrap .site-header-row-container-inner {
	background: #001225;
}
/* The global .entry-content-wrap { padding: 0 } rule serves Kadence-built pages;
   restore breathing room on default-template pages where the text is plain content. */
body.non-transparent-header .entry-content-wrap {
	padding: 50px 24px;
}

/* The About page eyebrow/breadcrumb and team job titles are <p> (they are labels, not
   headings). They used to be h2s, which inherited weight 600 + line-height 1.5 from the
   theme's heading rules and sat outside the .hero p max-width -- restore that look. */
p.wp-block-kadence-advancedheading.overline { font-weight: 600; line-height: 1.5; }
.hero .kt-inside-inner-col p.wp-block-kadence-advancedheading.overline { max-width: none; }
p.wp-block-kadence-advancedheading.trojan-font { line-height: 1.5; }

/* Footer Privacy Policy was plain text, now a link: keep it looking like the surrounding
   footer text instead of the default link color/size/weight. */
#colophon .widget_block a { color: inherit; font: inherit; text-decoration: none; }
#colophon .widget_block a:hover,
#colophon .widget_block a:focus-visible { text-decoration: underline; }

/* Clipping the header row stops a stale-paint strip appearing under the
   sticky/shrinking header. Lift the clip whenever a dropdown is open so
   sub-menus aren't cut off. */
#masthead .site-header-row-container-inner .site-container {
	overflow: hidden;
}
#masthead .site-header-row-container-inner .site-container:has(
	.menu-item-has-children:hover,
	.menu-item-has-children:focus-within,
	.menu-item--toggled-on
) {
	overflow: visible;
}
