/* ============================================================
   TAPA GLOBAL FIXES v2 — Nuclear City Link Kill + Branding
   ============================================================ */

/* ── 1. NUCLEAR HIDE — ALL SEO CITY / LOCATION LINK CONTAINERS ── */
.tapa-seo-cities-list,
.tapa-seo-links,
.tapa-geo-links,
.tapa-location-links,
.service-areas-list,
.service-area-links,
.ai-seo-links-container,
.seo-link-container,
.tapa-auto-seo-links,
.tapa-city-links,
.tapa-footer-cities,
.city-links-wrap,
.engine-city-links,
.tapa-serp-cities,
[class*="tapa-seo"],
[class*="tapa-geo"],
[class*="tapa-city"],
[class*="tapa-location"],
[class*="city-link"],
[class*="engine-link"],
[class*="service-area"],
[id*="tapa-seo"],
[id*="tapa-geo"],
[id*="tapa-city"],
[id*="tapa-location"],
[id*="service-area"],
[id*="city-link"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    opacity: 0 !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
}

/* ── 2. HIDE ANY INLINE-STYLED LINK BLOCKS (white text SEO dumps) ── */
div[style*="text-align: center"] > a[style*="color"],
div[style*="text-align:center"] > a[style*="color"],
p[style*="font-size: 1"] > a,
p[style*="font-size:1"] > a {
    display: none !important;
}

/* ── 3. REMOVE GAPS FROM EMPTY ELEMENTOR ELEMENTS ── */
.elementor-section:empty,
.elementor-container:empty,
.elementor-column:empty,
.elementor-widget:empty,
.e-container:empty,
.e-con:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
}

/* ── 4. ENFORCE GREEN + WHITE — KILL ALL GOLD/YELLOW ── */
.elementor-button,
.elementor-button-wrapper .elementor-button,
.elementor-widget-button .elementor-button {
    background-color: #1a5c2a !important;
    color: #ffffff !important;
    border-color: #1a5c2a !important;
}
.elementor-button:hover,
.elementor-button-wrapper .elementor-button:hover {
    background-color: #145022 !important;
    color: #ffffff !important;
    border-color: #145022 !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.woocommerce .checkout-button,
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #1a5c2a !important;
    color: #ffffff !important;
    border-color: #1a5c2a !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .button.alt:hover {
    background-color: #145022 !important;
    color: #ffffff !important;
    border-color: #145022 !important;
}

/* Gold killer */
[style*="background-color: #d4af37"],[style*="background-color: #ffd700"],
[style*="background-color: #daa520"],[style*="background-color: #b8860b"],
[style*="background-color: #cfb53b"],[style*="background-color: #c9a84c"],
[style*="background-color: #e6b800"],[style*="background-color: #f0c040"],
[style*="background-color:gold"],[style*="background: gold"] {
    background-color: #1a5c2a !important;
    background: #1a5c2a !important;
    color: #ffffff !important;
}
