/* ==========================================
   ESTRUTURA GERAL DO WIDGET DE SLIDER DO WP
   ========================================== */
.obs-news-slider-widget {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.obs-slider-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.obs-slider {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.obs-slide-item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.obs-slide-item a {
    text-decoration: none;
    display: block;
}

.obs-slide-image-container {
    width: 100%;
    height: 220px;
    background-color: #e2e8f0;
    position: relative;
}

.obs-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.obs-slide-legenda {
    background-color: #009c4d; 
    padding: 12px 15px;
    box-sizing: border-box;
}

.obs-slide-legenda h3 {
    color: #ffffff;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.obs-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e2540;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.obs-slider-btn:hover {
    background: #ffffff;
    color: #009c4d;
}

.obs-slider-btn.prev { left: 10px; }
.obs-slider-btn.next { right: 10px; }

.obs-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    width: 100%;
}

.obs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.obs-dot.active {
    background-color: #0073aa; 
    transform: scale(1.2);
}


/* ==========================================
   APP DE CLIMA LOCAL (CORREÇÃO DE ALINHAMENTO DE ÍCONES)
   ========================================== */
.clima-app-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px auto;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.clima-app-data {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.clima-app-dia {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 12px;
}

.clima-app-temp {
    font-size: 4.5rem;
    font-weight: 800;
    color: #1e2540;
    line-height: 1;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.clima-app-temp span {
    font-size: 2.5rem;
    font-weight: 400;
    position: absolute;
    top: 5px;
    right: -40px;
}

.clima-app-detalhes {
    display: flex;
    justify-content: space-between;
    background-color: #f8fafc;
    border-radius: 16px;
    padding: 14px 10px;
}

.clima-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e2e8f0;
    padding: 0 2px;
}

.clima-col:last-child {
    border-right: none;
}

/* Modificado para alinhar perfeitamente o ícone ao lado ou antes do texto de forma limpa */
.clima-col-titulo {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* Espaço uniforme entre ícone e texto */
    white-space: nowrap;
    width: 100%;
}

/* Cores dedicadas e tamanho corrigido para os novos ícones */
.clima-col-titulo i {
    font-size: 0.85rem;
    display: inline-block;
    line-height: 1;
}
.clima-col-titulo i.icone-uv { color: #ff9800; }        /* Laranja vibrante */
.clima-col-titulo i.icone-umidade { color: #2196f3; }   /* Azul gota */
.clima-col-titulo i.icone-chuva { color: #546e7a; }     /* Nuvem densa */

.clima-col-valor {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.clima-col-sub {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}


/* ==========================================
   CARDS DOS MÓDULOS DE MONITORAMENTO
   ========================================== */
.obs-card-modulo {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.obs-card-modulo h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
}

.obs-dado-destaque {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 5px 0;
}

.obs-subtexto {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}