/**
 * Wiki Weather Widget — Estilos complementares.
 *
 * Os estilos críticos (above-the-fold) estão inline via wp_head.
 * Este arquivo contém ajustes de integração com o tema e animações.
 */

/* ============================================================
   INTEGRAÇÃO COM O TEMA WIKI
   ============================================================ */

/* Espaçamento dentro da content-column */
.content-column .wiki-weather-widget {
    margin-bottom: 20px;
}

/* Ajuste de scroll no mobile — garante que o scroll horizontal
   não cause overflow na página */
@media (max-width: 991.98px) {
    .content-column .wiki-weather-scroll {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ============================================================
   ANIMAÇÕES SUTIS
   ============================================================ */

.wiki-weather-day {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wiki-weather-day:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   PLACEHOLDER DE ERRO (admin only)
   ============================================================ */

.wiki-weather-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    color: #991b1b;
    font-size: 0.78rem;
    text-align: center;
}
