/* Scoped Wonderweb identity refinement */
.hero .hero-kicker.ww-hero-identity-kicker {
  display:inline-flex!important; align-items:center!important; align-self:flex-start;
  gap:6px!important; padding:3px 7px!important; border-radius:5px!important;
  width:fit-content; max-width:100%; font-size:12px; line-height:1.25;
}
.hero .ww-hero-identity-kicker .ww-hero-flag-map {
  display:block; width:22px; height:20px; object-fit:contain; flex:0 0 auto;
}
.hero .ww-hero-identity-kicker > span {white-space:normal}
.footer .ww-zispa-member-badge {display:block; width:106px; height:43px; object-fit:contain; flex:none; max-width:100%;}
.footer .ww-registry-footer:has(.ww-zispa-member-badge) {flex-wrap:wrap; align-items:center; gap:9px;}
.footer .ww-zispa-member-link {display:block; width:fit-content; margin-top:12px;}
@media(max-width:760px){
  .hero:has(.ww-hero-domain-card) {padding-top:0!important;}
  .hero .hero-grid:has(.ww-hero-domain-card) {grid-template-columns:minmax(0,1fr)!important; gap:24px!important; align-items:stretch!important;}
  .hero .hero-grid:has(.ww-hero-domain-card) > .hero-copy {
    box-sizing:border-box; display:flex!important; flex-direction:column; align-items:flex-start;
    justify-content:flex-end!important; align-self:stretch; height:auto!important;
    min-height:max(0px,calc(100vh - var(--ww-hero-top,116px)))!important;
    min-height:max(0px,calc(100svh - var(--ww-hero-top,116px)))!important;
    padding-top:24px!important; padding-bottom:20px!important; margin:0!important;
  }
  .hero .hero-copy .hero-actions {flex-shrink:0; margin-bottom:0!important;}
  .hero .hero-grid:has(.ww-hero-domain-card) > .ww-hero-domain-card {margin-top:0!important; align-self:start;}
}


/* WW-MOBILE-HERO-SPACING-V2 */

@media(max-width:760px){

    .hero .hero-grid:has(.ww-hero-domain-card) > .hero-copy {
        justify-content:flex-start!important;
        padding-top:clamp(32px,8svh,56px)!important;
        padding-bottom:20px!important;
    }

    .hero .hero-copy > p {
        margin-bottom:18px!important;
    }

    .hero .hero-copy .hero-actions {
        margin-top:auto!important;
        margin-bottom:0!important;
    }
}


/* WW-MOBILE-HERO-SPACING-V3 */

@media(max-width:760px){

    /* Preserve the current trust badge position */
    .hero .hero-grid:has(.ww-hero-domain-card) > .hero-copy {
        justify-content:flex-start!important;
        padding-top:clamp(32px,8svh,56px)!important;
        padding-bottom:20px!important;
    }

    /* Increase separation between badge and headline */
    .hero .hero-copy .hero-kicker {
        margin-bottom:32px!important;
    }

    .hero .hero-copy h1 {
        margin-top:0!important;
        margin-bottom:0!important;
    }

    /* Balanced headline-to-description spacing */
    .hero .hero-copy > p {
        margin-top:20px!important;
        margin-bottom:0!important;
    }

    /* Keep buttons naturally grouped with the description */
    .hero .hero-copy .hero-actions {
        margin-top:22px!important;
        margin-bottom:0!important;
    }
}


/* WW-ZISPA-COMPACT-SPACING */

.footer .footer-brand .ww-registry-footer {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:5px!important;
    padding-top:18px!important;
}

.footer .ww-zispa-member-badge {
    margin:0!important;
}

.footer .ww-registry-footer span,
.footer .ww-registry-footer strong {
    margin:0!important;
    padding:0!important;
}

.footer .ww-registry-footer small:empty {
    display:none!important;
}
