/* AceCMS overlays for the Acestra / Northwest kit */

:root {
    --ace-green: #60d158;
    /* Sampled from Acestra mark (sky blue / lime green halves) */
    --ace-brand-blue: #5ea9dd;
    --ace-brand-green: #92d050;
    --ace-footer-bg: #2b2b2b;
    --ace-footer-text: rgba(255, 255, 255, 0.72);
    --ace-footer-heading: #ffffff;
}

.theme-acestra .nw_brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.theme-acestra .nw_brand img {
    height: 58px;
    width: auto;
    max-width: 92px;
    display: block;
}

.theme-acestra .nw_brand_text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    color: #252525;
}

.theme-acestra .nw_brand_text span,
.theme-acestra .nw_brand_text .nw_brand_name {
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ace-brand-blue) !important;
}

.theme-acestra .nw_brand_text strong,
.theme-acestra .nw_brand_text .nw_brand_tagline {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    margin-top: 2px;
}

.theme-acestra .nw_brand_text .nw_brand_think_green {
    color: var(--ace-brand-green) !important;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: inherit;
    text-transform: none;
}

.theme-acestra .nw_header_style .nw_brand_text,
.theme-acestra .nw_header_style .nw_brand_text .nw_brand_name {
    color: var(--ace-brand-blue) !important;
}

.theme-acestra .nw_navbar_custom .nw_logo {
    height: auto;
    margin: 12px 0;
}

.theme-acestra .nw_logo.nw_logo_brand {
    margin: 10px 0;
}

/* Top nav links (with or without submenu) */
.theme-acestra .nw_navbar_custom .navbar-nav > li > a {
    padding: 10px 13px;
    float: left;
    color: #252525;
    font-weight: 600;
    font-size: 17px;
    line-height: 66px;
    position: relative;
    text-decoration: none;
}

.theme-acestra .nw_navbar_custom .navbar-nav > li > a:hover,
.theme-acestra .nw_navbar_custom .navbar-nav > li > a.active {
    color: var(--ace-green);
}

/* Kill Bootstrap/WebKit blue focus ring on primary nav clicks */
.theme-acestra .nw_menu a:focus,
.theme-acestra .nw_menu a:active,
.theme-acestra .nw_navbar_custom a:focus,
.theme-acestra .nw_navbar_custom a:active,
.theme-acestra .nw_brand:focus,
.theme-acestra .nw_brand:active {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.theme-acestra .nw_menu a:focus-visible,
.theme-acestra .nw_navbar_custom a:focus-visible,
.theme-acestra .nw_brand:focus-visible {
    outline: 2px solid var(--ace-green);
    outline-offset: 3px;
}

/* Don't let a stuck preloader block the whole site */
.theme-acestra .northwest_preloader_holder {
    pointer-events: none;
}

/* Header above page hero so nav clicks work */
.theme-acestra .nw_header,
.theme-acestra .nw_header.nw_header_style {
    height: auto;
    z-index: 1000;
    pointer-events: auto;
}

.theme-acestra .nw_header .navbar,
.theme-acestra .nw_header .nw_menu,
.theme-acestra .nw_header .nw_menu a {
    pointer-events: auto;
}

/*
 * Match home logo + primary nav on every page:
 * grey outer strip + white inner panel, dark brand/nav text.
 */
.theme-acestra .nw_header.nw_header_style .navbar.navbar-default.nw_navbar_custom,
.theme-acestra .nw_header.nw_header_style .navbar.navbar-default.nw_navbar_custom > div {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.theme-acestra .nw_navbar_custom .nw_navbar_custom_cont,
.theme-acestra .nw_header.nw_header_style .nw_navbar_custom .nw_navbar_custom_cont {
    background-color: rgb(234, 234, 234) !important;
    padding: 10px 0;
    margin: 0 15px;
}

.theme-acestra .nw_navbar_custom .nw_navbar_custom_cont .nw_navbar_custom_row,
.theme-acestra .nw_header.nw_header_style .nw_navbar_custom .nw_navbar_custom_cont .nw_navbar_custom_row {
    background-color: #ffffff !important;
}

.theme-acestra .nw_header.nw_header_style .nw_brand_text,
.theme-acestra .nw_header.nw_header_style .nw_brand_text .nw_brand_name {
    color: var(--ace-brand-blue) !important;
}

.theme-acestra .nw_header.nw_header_style .nw_brand_text strong,
.theme-acestra .nw_header.nw_header_style .nw_brand_text .nw_brand_tagline {
    color: #666;
}

.theme-acestra .nw_header.nw_header_style .nw_brand_text .nw_brand_think_green {
    color: var(--ace-brand-green) !important;
}

.theme-acestra .nw_header.nw_header_style .nw_navbar_custom .navbar-nav > li > a,
.theme-acestra .nw_header.nw_header_style .nw_menu a {
    color: #252525;
}

.theme-acestra .nw_header.nw_header_style .nw_navbar_custom .navbar-nav > li > a:hover,
.theme-acestra .nw_header.nw_header_style .nw_navbar_custom .navbar-nav > li > a.active,
.theme-acestra .nw_header.nw_header_style .nw_menu a:hover,
.theme-acestra .nw_header.nw_header_style .nw_menu a.active {
    color: var(--ace-green);
}

.theme-acestra .nw_header.nw_header_style .nw_navbar_button {
    border-color: #252525;
}

.theme-acestra .nw_header.nw_header_style .nw_navbar_button .icon-bar {
    background-color: #252525;
}

/* Inner-page hero + breadcrumbs sit under absolute header; title below the white nav panel */
.theme-acestra .nw_background.nw_background_style {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    margin-top: 0;
    z-index: 0;
}

.theme-acestra .nw_background.nw_background_style .nw_background_image {
    height: 300px;
    top: 0;
    background-size: cover;
    background-position: center center;
}

.theme-acestra .nw_background.nw_background_style .nw_image_cut {
    position: relative;
    height: 300px;
}

.theme-acestra .nw_background.nw_background_style .ace-page-hero-inner.container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding: 160px 15px 36px;
    box-sizing: border-box;
    pointer-events: none;
}

.theme-acestra .nw_background.nw_background_style .ace-page-hero-inner a {
    pointer-events: auto;
}

.theme-acestra .nw_background.nw_background_style .nw_layer_4 {
    position: static;
    align-self: flex-start;
    font-size: 40px;
    padding: 0 0 8px;
    margin: 0;
    width: auto;
    max-width: 100%;
    text-align: left;
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
    text-transform: capitalize;
}

.theme-acestra .nw_background.nw_background_style .nw_layer_5 {
    position: static;
    align-self: flex-start;
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
    font-size: 17px;
    font-weight: 400;
}

.theme-acestra .nw_background.nw_background_style .nw_layer_5 a {
    color: var(--ace-green);
}

/* Footer — dark grey + thin green top border */
.theme-acestra .nw_footer {
    background: var(--ace-footer-bg);
    border-top: 3px solid var(--ace-green);
    padding-top: 48px;
    margin-top: 40px;
}

.theme-acestra .nw_footer .nw_post {
    margin-bottom: 36px;
}

.theme-acestra .nw_footer .footer_title,
.theme-acestra .nw_footer .footer_phone_number {
    color: var(--ace-footer-heading);
}

.theme-acestra .nw_footer .nw_brand_text .nw_brand_name {
    color: var(--ace-brand-blue) !important;
}

.theme-acestra .nw_footer .nw_brand_text .nw_brand_tagline {
    color: rgba(255, 255, 255, 0.72);
}

.theme-acestra .nw_footer .nw_brand_text .nw_brand_think_green {
    color: var(--ace-brand-green) !important;
}

.theme-acestra .nw_footer .footer_title {
    height: auto;
}

.theme-acestra .nw_footer .footer_phone_number,
.theme-acestra .nw_footer .ace-footer-phones {
    height: auto;
    color: var(--ace-footer-heading);
    margin-top: 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.theme-acestra .nw_footer .ace-footer-phones a {
    display: block;
    color: var(--ace-footer-heading);
    text-decoration: none;
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.theme-acestra .nw_footer .ace-footer-phones a:hover {
    color: var(--ace-green);
}

.theme-acestra .nw_footer .nw_brand_text strong,
.theme-acestra .nw_footer .nw_footer_description,
.theme-acestra .nw_footer .footer_pages ul > li > a,
.theme-acestra .nw_footer .footer_pages p,
.theme-acestra .nw_footer .footer_address {
    color: var(--ace-footer-text);
}

.theme-acestra .nw_footer .nw_footer_description {
    margin-top: 16px;
    max-width: 420px;
}

.theme-acestra .nw_footer .footer_pages {
    margin-top: 16px;
}

.theme-acestra .nw_footer .footer_pages ul > li {
    margin-bottom: 8px;
}

.theme-acestra .nw_footer .footer_pages ul > li > a {
    height: auto;
    margin-top: 0;
    display: inline-block;
    line-height: 1.45;
}

.theme-acestra .nw_footer .footer_line {
    background-color: var(--ace-green);
}

.theme-acestra .nw_footer .nw_footer_social {
    height: auto;
}

.theme-acestra .nw_footer .nw_footer_social ul li a {
    color: var(--ace-footer-text);
    border-color: rgba(255, 255, 255, 0.18);
}

.theme-acestra .nw_footer .nw_footer_social ul > li:hover a,
.theme-acestra .nw_footer ul > li:hover a {
    color: var(--ace-green);
    border-color: var(--ace-green);
}

.theme-acestra .nw_footer #footer_logo {
    height: auto;
    margin-bottom: 8px;
}

.theme-acestra .nw_footer #footer_logo img {
    float: none;
    height: 48px;
    width: auto;
}

.theme-acestra .nw_footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0 28px;
    color: var(--ace-footer-text);
    font-size: 14px;
}

.theme-acestra .nw_footer_bottom span {
    color: var(--ace-footer-text);
}

/* Services hub / detail */
.theme-acestra .nw_cases_strategy {
    padding-top: 40px;
    padding-bottom: 64px;
}

.theme-acestra .nw_cases_strategy > .row {
    display: flex;
    flex-wrap: wrap;
}

.theme-acestra .nw_cases_strategy .ace-service-feature {
    margin-bottom: 22px;
    overflow: hidden;
    max-height: 360px;
}

.theme-acestra .nw_cases_strategy .ace-service-feature img,
.theme-acestra .nw_cases_strategy .img-responsive {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.theme-acestra .nw_cases_strategy .nw_page_about {
    margin-bottom: 24px;
}

.theme-acestra .nw_cases_strategy .nw_page_about_cont1 {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(37, 37, 37, 0.78);
}

.theme-acestra .nw_cases_strategy .nw_post_title {
    margin-top: 8px;
    margin-bottom: 18px;
}

.theme-acestra .ace-service-list {
    margin-top: 8px;
}

.theme-acestra .ace-service-list-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 0 22px;
    padding: 0 0 22px;
    border-bottom: 1px solid #e8eef3;
    text-align: left;
}

.theme-acestra .ace-service-list-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.theme-acestra .ace-service-list-icon {
    flex: 0 0 64px;
}

.theme-acestra .ace-service-list-icon img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.theme-acestra .ace-service-list-icon i {
    color: var(--ace-green);
    font-size: 22px;
    line-height: 64px;
}

.theme-acestra .ace-service-list-body {
    flex: 1 1 auto;
    min-width: 0;
}

.theme-acestra .ace-service-list-body h3 {
    margin: 2px 0 6px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.theme-acestra .ace-service-list-body h3 a {
    color: #252525;
    text-decoration: none;
    text-align: left;
}

.theme-acestra .ace-service-list-body,
.theme-acestra .ace-service-list-body p,
.theme-acestra .ace-service-list-body .nw_read_more {
    text-align: left;
}

.theme-acestra .ace-service-list-body h3 a:hover {
    color: var(--ace-green);
}

.theme-acestra .ace-service-list-body p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(37, 37, 37, 0.72);
}

.theme-acestra .ace-service-list-body .nw_read_more {
    margin-top: 0;
}

.theme-acestra .ace-service-list-body .nw_read_more a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ace-green);
}

.theme-acestra .nw-wealth-right {
    padding-left: 24px;
}

.theme-acestra .nw-wealth-right .panel {
    margin-bottom: 24px;
}

.theme-acestra .nw-wealth-right .panel-heading {
    margin: 0;
}

.theme-acestra .nw-wealth-right .panel-heading h2 {
    margin: 0;
    font-size: 18px;
}

.theme-acestra .nw-wealth-right .panel-body {
    padding-top: 0;
}

.theme-acestra .menu-services-sidebar .menu,
.theme-acestra #menu-services-sidebar.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Full-width rows: kit uses inline-block on <a>, which only tints text width */
.theme-acestra .nw-wealth-right #menu-services-sidebar.menu > li.menu-item {
    padding: 0 !important;
    width: 100% !important;
    background: #f7fafd;
}

.theme-acestra .nw-wealth-right #menu-services-sidebar.menu > li.menu-item > a {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    float: none !important;
    padding: 18px 20px !important;
    text-decoration: none !important;
    color: #252525;
    border-left: 5px solid var(--ace-green) !important;
    font-weight: 600;
    background: transparent !important;
}

.theme-acestra .nw-wealth-right #menu-services-sidebar.menu > li.menu-item:hover,
.theme-acestra .nw-wealth-right #menu-services-sidebar.menu > li.menu-item:hover > a {
    color: #252525;
    border-left-color: #252525 !important;
    background: rgba(96, 209, 88, 0.1) !important;
}

.theme-acestra .nw-wealth-right #menu-services-sidebar.menu > li.menu-item.current-menu-item,
.theme-acestra .nw-wealth-right #menu-services-sidebar.menu > li.menu-item.current-menu-item > a {
    color: #1f1f1f !important;
    border-left-color: var(--ace-green) !important;
    background: rgba(96, 209, 88, 0.22) !important;
    font-weight: 700;
}

.theme-acestra .nw_get_consultation {
    margin-top: 8px;
    padding: 22px 20px;
}

.theme-acestra .ace-consult-cta {
    margin-top: 16px;
    margin-bottom: 0;
}

/* News listing */
.theme-acestra .ace-news-page {
    padding: 48px 0 64px;
}

.theme-acestra .ace-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.theme-acestra .ace-news-item {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid #e8eef3;
    text-align: left;
}

.theme-acestra .ace-news-item:first-child {
    padding-top: 0;
}

.theme-acestra .ace-news-item:last-child {
    border-bottom: 0;
}

.theme-acestra .ace-news-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef2f6;
    text-decoration: none;
}

.theme-acestra .ace-news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.theme-acestra .ace-news-plus {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 250, 253, 0.92);
    color: var(--ace-green);
    font-size: 28px;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.theme-acestra .ace-news-media:hover .ace-news-plus {
    opacity: 1;
    transform: scale(1);
}

.theme-acestra .ace-news-body {
    min-width: 0;
    text-align: left;
}

.theme-acestra .ace-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #7a7a7a;
    text-align: left;
}

.theme-acestra .ace-news-meta .ace-news-date,
.theme-acestra .ace-news-meta .ace-news-cats,
.theme-acestra .ace-news-meta span,
.theme-acestra .ace-news-meta i {
    display: inline;
    float: none;
    color: #7a7a7a !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.4;
}

.theme-acestra .ace-news-meta .ace-news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.theme-acestra .ace-news-meta .ace-news-cats {
    display: inline-block;
}

.theme-acestra .ace-news-meta i {
    margin: 0;
}

.theme-acestra .ace-news-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.theme-acestra .ace-news-title a {
    color: #252525;
    text-decoration: none;
}

.theme-acestra .ace-news-title a:hover {
    color: var(--ace-green);
}

.theme-acestra .ace-news-excerpt {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(37, 37, 37, 0.68);
    text-align: left;
}

.theme-acestra .ace-news-more a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ace-green);
    text-decoration: none;
}

.theme-acestra .ace-news-more i {
    margin-left: 6px;
}

.theme-acestra .ace-news-more a:hover {
    color: #252525;
}

.theme-acestra .ace-news-empty {
    padding: 24px 0 40px;
}

.theme-acestra .ace-news-pager {
    margin-top: 28px;
}

/* Home news cards — keep kit overlay centered */
.theme-acestra .nw_news .container_image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef2f6;
}

.theme-acestra .nw_news .container_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.theme-acestra .nw_news .container_image .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1;
    opacity: 0;
    transform: scale(0.92);
    background-color: rgba(247, 250, 253, 0.92);
    color: var(--ace-green);
    font-size: 28px;
    pointer-events: none;
}

.theme-acestra .nw_news .container_image:hover .overlay {
    opacity: 1;
    transform: scale(1);
    line-height: 1;
}

.theme-acestra .nw_news .container_details {
    height: auto;
    margin-top: 14px;
    text-align: left;
    color: #9a9a9a;
}

.theme-acestra .nw_news .nw_title h1,
.theme-acestra .nw_news .nw_title a {
    text-align: left;
    color: #252525;
    font-size: 20px;
    line-height: 1.35;
}

.theme-acestra .nw_news .nw_text p {
    color: rgba(37, 37, 37, 0.68);
    text-align: left;
}

/* Contact page — light, readable form (no photo washout) */
.theme-acestra .ace-contact-page {
    padding: 40px 0 72px;
    background: #fff;
}

.theme-acestra .ace-contact-intro {
    max-width: 640px;
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(37, 37, 37, 0.78);
}

.theme-acestra .ace-contact-intro p {
    margin: 0 0 0.75em;
    color: rgba(37, 37, 37, 0.78);
}

.theme-acestra .ace-contact-support {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 36px;
}

.theme-acestra .ace-contact-support-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 16px;
    background: #f7fafd;
    border-left: 3px solid var(--ace-green);
}

.theme-acestra .ace-contact-support-item i {
    color: var(--ace-green);
    font-size: 20px;
    line-height: 1.4;
    margin-top: 2px;
}

.theme-acestra .ace-contact-support-item a,
.theme-acestra .ace-contact-support-item span {
    display: block;
    color: #252525;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.theme-acestra .ace-contact-support-item a:hover {
    color: var(--ace-green);
}

.theme-acestra .ace-contact-status {
    margin: 0 0 20px;
    padding: 12px 14px;
    background: rgba(96, 209, 88, 0.12);
    color: #252525;
    font-weight: 600;
}

.theme-acestra .ace-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
    gap: 40px;
    align-items: start;
}

.theme-acestra .ace-contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.theme-acestra .ace-contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    width: 100%;
}

.theme-acestra .ace-contact-label,
.theme-acestra .ace-contact-field .ace-contact-label {
    display: block;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.theme-acestra .ace-contact-field input,
.theme-acestra .ace-contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #c5ced8;
    border-radius: 2px;
    background: #fbfcfd;
    color: #252525;
    font-size: 16px;
    line-height: 1.45;
    font-family: inherit;
}

.theme-acestra .ace-contact-field input:focus,
.theme-acestra .ace-contact-field textarea:focus {
    outline: none;
    border-color: var(--ace-green);
    box-shadow: 0 0 0 3px rgba(96, 209, 88, 0.18);
}

.theme-acestra .ace-contact-field textarea {
    min-height: 140px;
    resize: vertical;
}

.theme-acestra .ace-contact-error {
    display: block;
    color: #c0392b;
    font-size: 13px;
    margin-top: -6px;
}

.theme-acestra .ace-contact-submit {
    align-self: flex-start;
    margin-top: 8px;
    border: 0;
    background: var(--ace-green);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    cursor: pointer;
}

.theme-acestra .ace-contact-submit:hover {
    background: #252525;
}

.theme-acestra .ace-contact-submit i {
    margin-left: 8px;
}

.theme-acestra .ace-contact-aside {
    padding: 24px 22px;
    background: #f7fafd;
    border-top: 3px solid var(--ace-green);
}

.theme-acestra .ace-contact-aside h2 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    color: #252525;
}

.theme-acestra .ace-contact-aside p,
.theme-acestra .ace-contact-aside a {
    margin: 0 0 8px;
    color: rgba(37, 37, 37, 0.78);
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
}

.theme-acestra .ace-contact-aside a:hover {
    color: var(--ace-green);
}

.theme-acestra .ace-contact-address {
    margin-top: 12px !important;
}

.theme-acestra .ace-contact-social {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.theme-acestra .ace-contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #d7dee6;
    border-radius: 50%;
    color: #252525;
    margin: 0;
}

.theme-acestra .ace-contact-social a:hover {
    border-color: var(--ace-green);
    color: var(--ace-green);
}

/* Shared section chrome */
.theme-acestra .ace-section-head {
    margin: 48px 0 28px;
    max-width: 720px;
}

.theme-acestra .ace-section-head--spaced {
    margin-top: 64px;
}

.theme-acestra .ace-eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(37, 37, 37, 0.55);
}

.theme-acestra .ace-section-title {
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #252525;
}

.theme-acestra .ace-section-rule {
    display: block;
    width: 72px;
    height: 4px;
    background: var(--ace-green);
}

/* About page */
.theme-acestra .ace-about-page {
    padding-bottom: 48px;
}

.theme-acestra .ace-about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(200px, 280px);
    gap: 32px 40px;
    align-items: center;
}

.theme-acestra .ace-about-copy {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(37, 37, 37, 0.78);
}

.theme-acestra .ace-about-copy p {
    margin: 0 0 1em;
}

.theme-acestra .ace-about-copy p:last-child {
    margin-bottom: 0;
}

.theme-acestra .ace-about-media {
    margin: 0;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: #f3f6f9;
    justify-self: end;
}

.theme-acestra .ace-about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.theme-acestra .ace-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
}

.theme-acestra .ace-process-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.theme-acestra .ace-process-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 14px;
}

.theme-acestra .ace-process-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.theme-acestra .ace-process-copy h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #252525;
}

.theme-acestra .ace-process-copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(37, 37, 37, 0.7);
}

.theme-acestra .ace-industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.theme-acestra .ace-industry-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
    padding: 18px 16px;
    background: #f7fafd;
    border-left: 3px solid var(--ace-green);
}

.theme-acestra .ace-industry-icon {
    width: 56px;
    height: 56px;
}

.theme-acestra .ace-industry-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    filter: none;
}

.theme-acestra .ace-industry-copy h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.theme-acestra .ace-industry-copy h3 a {
    color: #252525;
    text-decoration: none;
}

.theme-acestra .ace-industry-copy h3 a:hover {
    color: var(--ace-green);
}

.theme-acestra .ace-industry-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(37, 37, 37, 0.7);
}

/* Responsive */
@media (max-width: 991px) {
    .theme-acestra .ace-news-item {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 20px;
    }

    .theme-acestra .ace-contact-support {
        grid-template-columns: 1fr;
    }

    .theme-acestra .ace-contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .theme-acestra .ace-about-intro {
        grid-template-columns: minmax(0, 1.2fr) minmax(180px, 240px);
        gap: 24px;
        align-items: start;
    }

    .theme-acestra .ace-about-media {
        max-width: 240px;
    }

    .theme-acestra .ace-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-acestra .ace-industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-acestra .nw-wealth-right {
        padding-left: 15px;
        margin-top: 36px;
    }

    .theme-acestra .nw_cases_strategy > .row {
        display: block;
    }
}

@media (max-width: 767px) {
    .theme-acestra .nw_brand_text strong {
        display: none;
    }

    .theme-acestra .nw_brand_text span {
        font-size: 18px;
    }

    .theme-acestra .nw_brand img {
        height: 48px;
    }

    .theme-acestra .nw_background.nw_background_style,
    .theme-acestra .nw_background.nw_background_style .nw_background_image,
    .theme-acestra .nw_background.nw_background_style .nw_image_cut {
        min-height: 260px;
        height: 260px;
    }

    .theme-acestra .nw_background.nw_background_style .ace-page-hero-inner.container {
        padding: 150px 15px 24px;
    }

    .theme-acestra .nw_background.nw_background_style .nw_layer_4 {
        font-size: 28px;
    }

    .theme-acestra .ace-section-head {
        margin: 36px 0 22px;
    }

    .theme-acestra .ace-section-head--spaced {
        margin-top: 48px;
    }

    .theme-acestra .ace-section-title {
        font-size: 28px;
    }

    .theme-acestra .ace-about-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .theme-acestra .ace-about-media {
        max-width: 100%;
        justify-self: stretch;
        aspect-ratio: 16 / 10;
    }

    .theme-acestra .ace-process-grid,
    .theme-acestra .ace-industry-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .theme-acestra .ace-service-list-item {
        gap: 14px;
    }

    .theme-acestra .ace-service-list-icon {
        flex-basis: 56px;
    }

    .theme-acestra .ace-service-list-icon img {
        width: 56px;
        height: 56px;
    }

    .theme-acestra .nw_cases_strategy .ace-service-feature {
        max-height: 220px;
    }

    .theme-acestra .ace-news-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px 0;
    }

    .theme-acestra .ace-news-media {
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }

    .theme-acestra .ace-news-title {
        font-size: 20px;
    }

}

/* -------------------------------------------------------------------------
   Home hero — light grey wash matched to the visible hero height
   ------------------------------------------------------------------------- */
.theme-acestra .nw_background:not(.nw_background_style) {
    position: relative;
    overflow: hidden;
}

.theme-acestra .nw_background:not(.nw_background_style) .nw_image_cut {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Cover the full hero block (same box as the cropped image height), not only
   the taller background-image layer that sits offset inside the cut. */
.theme-acestra .nw_background:not(.nw_background_style)::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(186, 190, 196, 0.42) 0%,
        rgba(120, 126, 134, 0.5) 55%,
        rgba(96, 102, 110, 0.55) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.theme-acestra .nw_background:not(.nw_background_style) .nw_layers {
    z-index: 2;
}

.theme-acestra .nw_background:not(.nw_background_style) .nw_layer_1,
.theme-acestra .nw_background:not(.nw_background_style) .nw_layer_2 {
    text-shadow: 0 1px 2px rgba(40, 44, 48, 0.35), 0 8px 24px rgba(40, 44, 48, 0.25);
}

/* -------------------------------------------------------------------------
   Home tech stack (brand marks + short labels)
   ------------------------------------------------------------------------- */
.theme-acestra .ace-tech-stack {
    padding: 56px 0 72px;
    background: #f7f7f8;
    border-top: 1px solid #eaeaea;
}

.theme-acestra .ace-tech-stack-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
}

.theme-acestra .ace-tech-stack-head .ace-eyebrow,
.theme-acestra .ace-tech-stack-head .ace-section-title,
.theme-acestra .ace-tech-stack-head .ace-tech-stack-lead {
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.theme-acestra .ace-tech-stack-head .ace-eyebrow {
    margin-bottom: 10px;
}

.theme-acestra .ace-tech-stack-head .ace-section-title {
    margin-bottom: 12px;
}

.theme-acestra .ace-tech-stack-lead {
    margin: 0;
    max-width: 540px;
    font-size: 15px;
    line-height: 1.55;
    color: #666;
}

.theme-acestra .ace-tech-stack-head .ace-section-rule {
    margin: 18px auto 0;
}

.theme-acestra .ace-tech-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.theme-acestra .ace-tech-track {
    list-style: none;
    margin: 0;
    padding: 8px 0 4px;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 14px;
    width: max-content;
    animation: ace-tech-scroll 42s linear infinite;
}

.theme-acestra .ace-tech-marquee:hover .ace-tech-track {
    animation-play-state: paused;
}

.theme-acestra .ace-tech-item {
    margin: 0;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 124px;
    min-height: 96px;
    padding: 16px 12px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.theme-acestra .ace-tech-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.theme-acestra .ace-tech-logo img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: none;
    opacity: 0.9;
}

.theme-acestra .ace-tech-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    /* Kit sets bare `span { color: #fff }` — keep labels readable on white cards */
    color: #555 !important;
    text-align: center;
    white-space: nowrap;
}

.theme-acestra .ace-tech-item:hover {
    border-color: #c8c8c8;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    color: #111;
}

.theme-acestra .ace-tech-item:hover .ace-tech-logo img {
    opacity: 1;
}

.theme-acestra .ace-tech-item:hover .ace-tech-label {
    color: #252525 !important;
}

@keyframes ace-tech-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .theme-acestra .ace-tech-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .theme-acestra .ace-tech-track {
        animation: none;
        padding-left: 16px;
        padding-right: 16px;
    }
}
