/* Google Ads Page Overrides */

.evmt-google-hero-bg {
    background-image:
        linear-gradient(90deg, rgba(5, 8, 16, 0.9) 0%, rgba(5, 8, 16, 0.7) 34%, rgba(5, 8, 16, 0.3) 66%, transparent 100%),
        url('../assets/img/bg/google-ads-hero-bg.png?v=20260513a') !important;
    background-size: cover;
    background-position: right 10% center;
    background-repeat: no-repeat;
}

.google-framework-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-primary);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    border: 1px solid rgba(211, 160, 47, 0.28);
    color: #fff;
    background:
        radial-gradient(circle at 30% 30%, rgba(246, 227, 171, 0.34), rgba(246, 227, 171, 0.06) 58%),
        radial-gradient(circle at 68% 68%, rgba(211, 160, 47, 0.3), rgba(211, 160, 47, 0.04) 62%),
        rgba(4, 10, 20, 0.75);
    box-shadow: 0 0 28px rgba(211, 160, 47, 0.26);
}

#meta-creative .creative-card span {
    color: rgba(223, 239, 255, 0.88);
}

#meta-creative .creative-card h3 {
    font-size: 1.22rem;
}

.control-query-map {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    border: 1px solid rgba(155, 203, 255, 0.22);
    background:
        radial-gradient(circle at 55% 42%, rgba(112, 174, 255, 0.16), rgba(11, 20, 42, 0.18) 50%, rgba(5, 10, 22, 0.88)),
        linear-gradient(160deg, rgba(26, 44, 80, 0.66), rgba(6, 11, 24, 0.92));
    overflow: hidden;
}

.query-flow-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.query-core {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: grid;
    justify-items: center;
    gap: 10px;
    width: min(240px, calc(100% - 64px));
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(211, 160, 47, 0.25);
    background: linear-gradient(180deg, rgba(16, 28, 52, 0.88), rgba(7, 12, 24, 0.96));
    z-index: 2;
}

.query-core img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.query-core-badge {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(180deg, rgba(240, 208, 117, 0.9), rgba(130, 177, 242, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.query-core strong {
    font-family: var(--font-primary);
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.query-ping {
    position: absolute;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(165, 205, 255, 0.24);
    background: rgba(10, 18, 34, 0.78);
    color: rgba(231, 243, 255, 0.95);
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    line-height: 1.2;
    letter-spacing: 0.2px;
    z-index: 3;
    backdrop-filter: blur(6px);
}

.query-ping.is-hot {
    border-color: rgba(240, 208, 117, 0.45);
    color: rgba(255, 247, 222, 0.98);
    box-shadow: 0 0 18px rgba(240, 208, 117, 0.18);
}

@media (max-width: 900px) {
    .evmt-google-hero-bg {
        background-image:
            linear-gradient(180deg, rgba(5, 8, 16, 0.64) 0%, rgba(5, 8, 16, 0.28) 44%, transparent 100%),
            url('../assets/img/bg/google ads mobile bg.png?v=20260513a') !important;
        background-position: center 72% !important;
    }
    #evmt-meta-hero .evmt-tag {
        font-size: 0.84rem;
        letter-spacing: 1.4px;
    }
    #evmt-meta-hero .evmt-headline {
        font-size: clamp(1.9rem, 6.8vw, 2.35rem) !important;
        line-height: 1.18 !important;
        letter-spacing: -0.01em;
    }
    #evmt-meta-hero .evmt-desc {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        max-width: 96%;
    }
    #evmt-meta-hero .evmt-premium-cta span {
        font-size: 0.98rem;
    }
    .meta-section-header h2 {
        font-size: clamp(1.78rem, 7.2vw, 2.22rem);
        line-height: 1.2;
    }
    .meta-section-header p {
        font-size: 0.98rem;
        line-height: 1.62;
        max-width: 100%;
    }
    .meta-signal-card h3,
    .build-lane h3,
    .campaign-type-stage h3,
    .creative-card h3,
    .evmt-card h3,
    .metric-card h3 {
        font-size: 1.18rem;
        line-height: 1.34;
    }
    .meta-signal-card p,
    .build-lane p,
    .campaign-type-stage p,
    .creative-card p,
    .evmt-card p,
    .metric-stack span small,
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.58;
    }
    .faq-question {
        font-size: 0.97rem;
    }
    .control-query-map {
        min-height: 280px;
    }
    .query-core {
        width: min(220px, calc(100% - 36px));
        padding: 14px 14px;
    }
    .query-ping {
        font-size: 0.74rem;
        padding: 8px 10px;
        max-width: 45%;
    }
}
/* Retargeting-specific polish */
.evmt-google-hero-bg {
    background-image:
        linear-gradient(90deg, rgba(5, 8, 16, 0.92) 0%, rgba(5, 8, 16, 0.72) 34%, rgba(5, 8, 16, 0.32) 66%, transparent 100%),
        url('../assets/img/bg/meta-ads-background-desktop-evmt.png?v=20260513a') !important;
}
.google-framework-icon {
    background:
        radial-gradient(circle at 28% 32%, rgba(247, 214, 130, 0.34), rgba(247, 214, 130, 0.05) 58%),
        radial-gradient(circle at 72% 66%, rgba(148, 206, 255, 0.24), rgba(148, 206, 255, 0.03) 62%),
        rgba(5, 10, 22, 0.75);
    box-shadow: 0 0 28px rgba(247, 214, 130, 0.2);
}
.query-core-badge {
    background: linear-gradient(180deg, rgba(247, 214, 130, 0.95), rgba(96, 147, 222, 0.88));
}
@media (max-width: 900px) {
    .evmt-google-hero-bg {
        background-image:
            linear-gradient(180deg, rgba(5, 8, 16, 0.64) 0%, rgba(5, 8, 16, 0.28) 44%, transparent 100%),
            url('../assets/img/bg/meta-ads-background-mobile-evmt.png?v=20260513a') !important;
    }
}
