/* ── EW Hogan Google Review Badge ─────────────────────────────────────────── */

/* ── Single line variant ─────────────────────────────────────────────────── */
.hero__grvw--single {
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    gap: 10px;
    align-items: center;
}

/* Mobile: wrap single line badge onto 2 lines to prevent overflow */
@media (max-width: 575px) {
    .hero__grvw--single {
        display: flex !important;
        flex-wrap: wrap;
        gap: 4px 8px;
        max-width: 100%;
    }

    .hero__grvw--single .hero__grvw-inline-info {
        white-space: normal;
        flex: 0 0 100%;
        padding-left: 32px;
    }

    /* Centered context (hero_section): center both lines */
    .hero__grvw-wrap--center .hero__grvw--single {
        justify-content: center;
    }

    .hero__grvw-wrap--center .hero__grvw--single .hero__grvw-inline-info {
        text-align: center;
        padding-left: 0;
    }

    /* Shortcode context: full badge centered, line 2 centered under line 1 */
    .hero__grvw-wrap--light-bg {
        text-align: center;
    }

    .hero__grvw-wrap--light-bg .hero__grvw--single {
        display: inline-flex !important;
        justify-content: center;
        max-width: 100%;
    }

    .hero__grvw-wrap--light-bg .hero__grvw--single .hero__grvw-inline-info {
        text-align: center;
        padding-left: 0;
        display: block;
    }
}

.hero__grvw--single .hero__grvw-logo {
    background: none !important;
    width: 32px;
    height: 32px;
}

.hero__grvw--single .hero__grvw-logo svg {
    width: 32px;
    height: 32px;
}

.hero__grvw-google-label {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.hero__grvw--single .hero__grvw-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.hero__grvw--single .hero__grvw-stars svg {
    width: 20px;
    height: 20px;
}

.hero__grvw-inline-info {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

/* Responsive — single line */
@media (min-width: 768px) {
    .hero__grvw-google-label,
    .hero__grvw-inline-info {
        font-size: 18px;
    }

    .hero__grvw--single .hero__grvw-stars svg {
        width: 22px;
        height: 22px;
    }

    .hero__grvw--single .hero__grvw-logo {
        width: 36px;
        height: 36px;
    }

    .hero__grvw--single .hero__grvw-logo svg {
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 992px) {
    .hero__grvw-google-label,
    .hero__grvw-inline-info {
        font-size: 20px;
    }

    .hero__grvw--single .hero__grvw-stars svg {
        width: 24px;
        height: 24px;
    }
}

/* Bottom row: badge left, video button right */
.hero__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

/* Override theme float positioning — video button now lives inside flex row */
.hero__bottom .hero__trst {
    float: none !important;
    margin: 0 !important;
    position: static;
}

.hero__grvw-wrap {
    display: block;
    margin-top: 60px;
}

/* Centered variant — used in hero_section (image banner), sits on white bg */
.hero__grvw-wrap--center {
    text-align: center;
    margin-top: 28px;
}

/* On white background — single line: dark text */
.hero__grvw-wrap--center .hero__grvw--single .hero__grvw-google-label,
.hero__grvw-wrap--center .hero__grvw--single .hero__grvw-inline-info {
    color: #444444;
}

/* On white background — gray box: keep white text but ensure box is visible */
.hero__grvw-wrap--center .hero__grvw:not(.hero__grvw--single) {
    background-color: rgba(60, 60, 60, 0.85);
}

/* Light background variant — used by shortcode in page/post content */
.hero__grvw-wrap--light-bg {
    margin-top: 14px;
}

.hero__grvw-wrap--light-bg .hero__grvw--single .hero__grvw-google-label,
.hero__grvw-wrap--light-bg .hero__grvw--single .hero__grvw-inline-info {
    color: #444444;
    font-size: 16px;
}

.hero__grvw-wrap--light-bg .hero__grvw:not(.hero__grvw--single) {
    background-color: rgba(60, 60, 60, 0.85);
}

/* Mobile: switch to block flex so it respects parent width and wraps to 2 lines */
@media (max-width: 575px) {
    .hero__grvw-wrap--light-bg .hero__grvw--single {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 8px;
        max-width: 100%;
    }

    .hero__grvw-wrap--light-bg .hero__grvw--single .hero__grvw-inline-info {
        white-space: normal;
        flex: 0 0 100%;
        padding-left: 32px;
    }
}

@media (min-width: 576px) {
    .hero__grvw-wrap--light-bg {
        margin-top: 18px;
    }
}

@media (min-width: 768px) {
    .hero__grvw-wrap--light-bg {
        margin-top: 24px;
    }
}

@media (min-width: 992px) {
    .hero__grvw-wrap--light-bg {
        margin-top: 30px;
    }
}

.hero__grvw {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 60px;
    padding: 10px 18px 10px 10px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

a.hero__grvw:hover {
    background-color: rgba(0, 0, 0, 0.78);
}

.hero__grvw-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.hero__grvw-logo svg {
    width: 30px;
    height: 30px;
}

.hero__grvw-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero__grvw-top {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero__grvw-score {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.hero__grvw-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.hero__grvw-stars svg {
    width: 13px;
    height: 13px;
}

.hero__grvw-label {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.hero__grvw-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    font-weight: 400;
}

/* ── sm: 576px ────────────────────────────────────────────────────────────── */
@media (min-width: 576px) {
    .hero__bottom {
        margin-top: 44px;
    }

    .hero__grvw {
        gap: 12px;
        padding: 11px 22px 11px 11px;
    }

    .hero__grvw-logo {
        width: 46px;
        height: 46px;
    }

    .hero__grvw-logo svg {
        width: 34px;
        height: 34px;
    }

    .hero__grvw-score {
        font-size: 16px;
    }

    .hero__grvw-stars svg {
        width: 15px;
        height: 15px;
    }

    .hero__grvw-label {
        font-size: 14px;
    }

    .hero__grvw-count {
        font-size: 12px;
    }
}

/* ── md: 768px ────────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
    .hero__bottom {
        margin-top: 52px;
    }

    .hero__grvw {
        gap: 14px;
        padding: 12px 24px 12px 12px;
    }

    .hero__grvw-logo {
        width: 50px;
        height: 50px;
    }

    .hero__grvw-logo svg {
        width: 38px;
        height: 38px;
    }

    .hero__grvw-score {
        font-size: 17px;
    }

    .hero__grvw-stars svg {
        width: 16px;
        height: 16px;
    }

    .hero__grvw-label {
        font-size: 15px;
    }

    .hero__grvw-count {
        font-size: 13px;
    }
}

/* ── lg: 992px ────────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
    .hero__bottom {
        margin-top: 60px;
    }

    .hero__grvw {
        gap: 16px;
        padding: 14px 28px 14px 14px;
    }

    .hero__grvw-logo {
        width: 56px;
        height: 56px;
    }

    .hero__grvw-logo svg {
        width: 42px;
        height: 42px;
    }

    .hero__grvw-body {
        gap: 5px;
    }

    .hero__grvw-top {
        gap: 8px;
    }

    .hero__grvw-score {
        font-size: 19px;
    }

    .hero__grvw-stars svg {
        width: 18px;
        height: 18px;
    }

    .hero__grvw-label {
        font-size: 16px;
    }

    .hero__grvw-count {
        font-size: 14px;
    }
}
