/* WW Stomp & Play Tools — Trail Sign
   ------------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');

.snp-trail-sign-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 12px 0 24px;
}

/* ── Sign pill ── */
.snp-trail-sign {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    border-radius: 80px;
    overflow: hidden;
    border-top:    3px solid #704e2c;
    border-left:   5px solid #6b4a28;
    border-right:  5px solid #6b4a28;
    border-bottom: 6px solid #5a3d1e;
    box-shadow:
        inset 0 2px 3px rgba(254,245,226,0.4),
        inset 0 -3px 5px rgba(78,51,27,0.2),
        inset 4px 0 5px rgba(78,51,27,0.12),
        inset -4px 0 5px rgba(78,51,27,0.12),
        0 4px 12px rgba(40,20,5,0.2),
        0 1px 3px rgba(40,20,5,0.15);
}

/* ── Wood background ── */
.snp-wood-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.snp-wood-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Content layer ── */
.snp-sign-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 28px 56px 24px;
}

/* ── Title — <p> not <h*> to avoid theme heading overrides
       Scoped under .snp-trail-sign for specificity without !important on everything  ── */
.snp-trail-sign .snp-sign-title {
    font-family: 'Fredoka', sans-serif !important;
    font-weight: 600 !important;
    font-size: 30px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    color: #3a1e0a !important;
    line-height: 1.15 !important;
    border: none !important;
    background: none !important;
    text-shadow:
        0px  1.5px 0px rgba(254,245,226,0.55),
        0px  2.5px 1px rgba(254,245,226,0.2),
        0px -1px   0px rgba(30,15,3,0.35),
        1px  0px   0px rgba(30,15,3,0.1),
        -1px 0px   0px rgba(254,245,226,0.15),
        0px  0px   4px rgba(78,51,27,0.15) !important;
}

.snp-trail-sign--hero .snp-sign-title {
    font-size: 34px !important;
}

/* ── Subtitle ── */
.snp-trail-sign .snp-sign-subtitle {
    font-family: 'Fredoka', sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    color: #5e3a18 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0px 1px 0px rgba(254,245,226,0.4) !important;
    border: none !important;
    background: none !important;
}

/* ── Sign icon badges ── */
.snp-sign-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.snp-sign-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: #3a1e0a;
    /* Depth treatment matching the title text-shadow — using drop-shadow filter
       since text-shadow cannot be applied to SVG/inline elements              */
    filter:
        drop-shadow(0px 1.5px 0px rgba(254,245,226,0.55))
        drop-shadow(0px -1px 0px rgba(30,15,3,0.35))
        drop-shadow(0px 0px 3px rgba(78,51,27,0.2));
}

.snp-sign-badge .snp-icon {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

/* Code fallback when icon file is missing */
.snp-sign-badge .snp-4c-badge__code-fallback {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: currentColor;
    line-height: 1;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .snp-sign-content {
        padding: 22px 32px 20px;
    }
    .snp-trail-sign .snp-sign-title {
        font-size: 22px !important;
    }
    .snp-trail-sign--hero .snp-sign-title {
        font-size: 26px !important;
    }
    .snp-sign-badge {
        width: 36px;
        height: 36px;
    }
    .snp-sign-badges {
        gap: 10px;
    }
}
