/* Ecowitt Weather Station — Wind Card Shortcode */

.ews-wind-card {
    width: 100%;
    max-width: 100%;
    background: transparent;
    color: var(--ews-text-primary, #1e293b);
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    font-family: inherit;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.ews-wind-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--ews-text-primary, #1e293b);
    text-align: center;
}

.ews-wind-card .content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.ews-wind-card .speed {
    font-size: 30px;
    font-weight: 800;
    color: var(--ews-text-primary, #1e293b);
    margin-bottom: 0;
}

.ews-wind-card .dir {
    font-size: 14px;
    color: var(--ews-text-secondary, #334155);
    margin: 0;
}

.ews-wind-card .time {
    font-size: 12px;
    color: var(--ews-text-muted, #64748b);
    margin-top: 2px;
}

.ews-wind-card .cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: var(--ews-radius-md, 12px);
    background: var(--ews-accent, #0ea5e9);
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    width: 100%;
    max-width: 260px;
    transition: all 0.15s ease;
}

.ews-wind-card .cta span {
    display: block;
}

.ews-wind-card .cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.30);
}

@media (min-width: 768px) {
    .ews-wind-card .speed {
        font-size: 32px;
    }
}

/* 2.1.1 — contrasto pulsante */
.ews-wind-card .cta, .ews-wind-card .cta:visited, .ews-wind-card .cta:hover { background: #0369a1; color: #ffffff; }
