/*===================================== 

YOU CAN WRIGHT CUSTOME CSS 

======================================*/

/* W3C heading hierarchy: preserve the original h5/h4 visual treatment. */

/* WCAG 2.1 AA: accessible contrast in the Home header. */

/* Official Fanciulli logo sizing */
.logo-header {
    width: 260px;
}
.logo-footer {
    max-width: 230px;
    height: 74px;
}
@media only screen and (max-width: 991px) {
    .logo-header {
        width: 220px;
    }
}
@media only screen and (max-width: 480px) {
    .logo-header {
        width: 160px;
    }
}

/* Service cards text wrapping */

/* About image layout stability */

/* Static homepage hero */

/* Homepage conversion actions */

/* Contact page: accessibility, responsive layout and conversion */
.contact-page {
    font-size: 16px;
}
.contact-page a:focus-visible,
.contact-page button:focus-visible {
    outline: 3px solid #075985;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #fff;
}
.contact-page .sr-only-focusable:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    width: auto;
    height: auto;
    padding: 12px 18px;
    overflow: visible;
    clip: auto;
    color: #fff;
    background: #1a1a1a;
    font-weight: 700;
}
.contact-page .top-bar .e-p-bx a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: #fff;
}
.contact-page .top-bar .e-p-bx a:hover,
.contact-page .top-bar .e-p-bx a:focus {
    color: #ffcf56;
}
.contact-page .logo-header picture,
.contact-page .logo-footer picture {
    display: table-cell;
    vertical-align: middle;
}
.contact-page .logo-header img,
.contact-page .logo-footer img {
    display: block;
}
.contact-page .logo-footer,
.contact-page .logo-footer picture,
.contact-page .logo-footer img {
    width: 230px;
    height: 74px;
}
.contact-page .logo-footer picture {
    display: block;
}
.contact-page .contact-submenu-toggle {
    border: 0;
    border-radius: 0;
    color: #555;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase;
}
.contact-page .contact-submenu-toggle i {
    margin-left: 5px;
    transition: transform 0.2s ease;
}
.contact-page .header-nav .nav > li.active > a {
    color: #765100;
    box-shadow: inset 0 -3px 0 #ffbc13;
}
.contact-page .has-child.nav-active > .contact-submenu-toggle i {
    transform: rotate(180deg);
}
.contact-page .wt-breadcrumb li a {
    color: #6d4c00;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact-page .wt-breadcrumb li a:hover,
.contact-page .wt-breadcrumb li a:focus {
    color: #1a1a1a;
}
.contact-intro {
    padding: 72px 0 42px;
}
.contact-eyebrow {
    margin: 0 0 8px;
    color: #765100;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.contact-intro h1 {
    margin: 0 0 18px;
    color: #1a1a1a;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.2;
    text-transform: none;
}
.contact-lead {
    max-width: 75ch;
    margin: 0;
    color: #333;
    font-size: 18px;
    line-height: 1.7;
}
.contact-details {
    padding-bottom: 80px;
}
.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.contact-card {
    min-width: 0;
    padding: 34px 30px;
    border-top: 5px solid #ffbc13;
    color: #d7d7d7;
    background: #1a1a1a;
}
.contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: #1a1a1a;
    background: #ffbc13;
    font-size: 22px;
}
.contact-card h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 24px;
    line-height: 1.3;
    text-transform: none;
}
.contact-card p,
.contact-card address {
    min-height: 54px;
    margin: 0 0 18px;
    color: #d7d7d7;
    font-size: 16px;
    font-style: normal;
    line-height: 1.7;
}
.contact-card a {
    color: #ffcf56;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}
.contact-card a:hover,
.contact-card a:focus {
    color: #fff;
}
.contact-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 40px;
    align-items: center;
    margin-top: 36px;
    padding: 38px;
    color: #1a1a1a;
    background: #f3f4f6;
}
.contact-note h2 {
    margin: 0 0 10px;
    color: #1a1a1a;
    font-size: 30px;
    line-height: 1.25;
    text-transform: none;
}
.contact-note p {
    max-width: 65ch;
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.contact-actions a {
    min-height: 48px;
    padding: 14px 22px;
    font-weight: 700;
}
.contact-actions .contact-primary-action {
    color: #1a1a1a;
    background: #ffbc13;
}
.contact-actions .contact-primary-action:hover,
.contact-actions .contact-primary-action:focus {
    color: #1a1a1a;
    background: #e1a000;
}
.contact-page .footer-dark .footer-top a,
.contact-page .footer-dark .footer-bottom a {
    color: #fff;
}
.contact-page .footer-dark .footer-top p,
.contact-page .footer-dark .copyrights-text {
    color: #d7d7d7;
}
.contact-page .footer-dark .footer-top .social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    border-color: #777;
}
.contact-page .footer-dark .footer-top .social-icons li a:hover,
.contact-page .footer-dark .footer-top .social-icons li a:focus {
    color: #1a1a1a;
    background: #ffbc13;
}
.contact-page button.scroltop {
    min-width: 44px;
    min-height: 44px;
}
@media only screen and (min-width: 992px) {
    .contact-page .contact-submenu-toggle {
        min-height: 90px;
        padding: 35px 12px;
    }
    .contact-page .is-fixed .contact-submenu-toggle {
        min-height: 60px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .contact-page .has-child:hover > .contact-submenu-toggle,
    .contact-page .has-child:focus-within > .contact-submenu-toggle,
    .contact-page .has-child.nav-active > .contact-submenu-toggle {
        color: #8a5d00;
    }
    .contact-page .header-nav .nav > li:focus-within > .sub-menu,
    .contact-page .header-nav .nav > li.nav-active > .sub-menu {
        margin-top: 0;
        opacity: 1;
        visibility: visible;
    }
}
@media only screen and (max-width: 991px) {
    .contact-page .contact-submenu-toggle {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 45px;
        padding: 10px 44px 10px 20px;
        color: #444;
        text-align: left;
    }
    .contact-page .header-nav .nav > li .sub-menu {
        display: none;
        opacity: 1;
        visibility: visible;
    }
    .contact-card-grid {
        grid-template-columns: 1fr;
    }
    .contact-card p,
    .contact-card address {
        min-height: 0;
    }
    .contact-note {
        grid-template-columns: 1fr;
    }
}
@media only screen and (max-width: 600px) {
    .contact-page .top-bar .e-p-bx,
    .contact-page .top-bar .social-bx {
        float: none !important;
        text-align: center;
    }
    .contact-page .top-bar .e-p-bx li {
        display: block;
        padding: 0;
    }
    .contact-page .top-bar .e-p-bx a {
        justify-content: center;
        min-height: 44px;
    }
    .contact-page .top-bar .social-bx li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }
    .contact-intro {
        padding: 52px 0 30px;
    }
    .contact-intro h1 {
        font-size: 32px;
    }
    .contact-lead {
        font-size: 17px;
        line-height: 1.6;
    }
    .contact-details {
        padding-bottom: 54px;
    }
    .contact-card,
    .contact-note {
        padding: 26px 22px;
    }
    .contact-actions {
        display: grid;
    }
    .contact-actions a {
        width: 100%;
        text-align: center;
    }
    .contact-page button.scroltop {
        width: 44px;
        height: 44px;
        font-size: 10px;
    }
}

/* Home page: keyboard access, navigation and project grid */

/* About page: accessibility, layout and conversion */
