/* AFIC V.1.10.9.10.39 — clima compacto panorâmico no Feed */
.afic-weather-feed-card{padding:0!important;overflow:hidden;cursor:pointer;position:relative;border:0!important;background:#dcebf5;box-shadow:0 12px 28px rgba(18,54,84,.14);isolation:isolate;border-radius:20px!important}
.afic-weather-feed-card:focus-visible{outline:3px solid rgba(34,126,184,.55);outline-offset:3px}
.afic-weather-feed-media{position:relative;width:100%;height:clamp(96px,20vw,145px);overflow:hidden;background:#b9d8ec}
.afic-weather-feed-media>img{position:absolute;inset:-2px;width:calc(100% + 4px);height:calc(100% + 4px);min-width:calc(100% + 4px);min-height:calc(100% + 4px);object-fit:cover!important;object-position:center center;display:block;transform:none;transition:transform .22s ease;background:transparent}
.afic-weather-feed-card:active .afic-weather-feed-media>img{transform:scale(1.012)}
.afic-weather-feed-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,17,29,.70) 0%,rgba(3,18,31,.48) 32%,rgba(3,20,33,.20) 62%,rgba(2,14,24,.52) 100%);pointer-events:none}
.afic-weather-feed-overlay{position:absolute;inset:0;display:grid;grid-template-columns:auto minmax(118px,1.35fr) minmax(220px,2fr) auto;align-items:center;gap:12px;padding:11px 13px;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.30)}
.afic-weather-feed-temp{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:68px}
.afic-weather-feed-temp strong{font-size:2.65rem;line-height:.84;letter-spacing:-.08em;font-weight:980;white-space:nowrap}
.afic-weather-feed-temp span{margin-top:4px;font-size:.61rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.92)}
.afic-weather-feed-summary{display:flex;align-items:center;gap:9px;min-width:0}
.afic-weather-feed-summary>div{display:grid;gap:1px;min-width:0}
.afic-weather-feed-summary b{font-size:.9rem;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afic-weather-feed-summary small{font-size:.62rem;font-weight:730;color:rgba(255,255,255,.91);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afic-weather-feed-icon{width:37px;height:37px;display:grid;place-items:center;flex:0 0 37px;background:rgba(255,255,255,.15);border-radius:12px;backdrop-filter:blur(6px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.afic-weather-feed-icon svg{width:32px;height:32px;overflow:visible;filter:drop-shadow(0 2px 7px rgba(0,0,0,.16))}
.afic-weather-feed-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;min-width:0}
.afic-weather-feed-metric{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0;padding:5px 6px;border-radius:10px;background:rgba(255,255,255,.11);backdrop-filter:blur(5px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.afic-weather-feed-metric small{font-size:.54rem;font-weight:800;opacity:.88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afic-weather-feed-metric b{font-size:.72rem;font-weight:950;line-height:1.05;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afic-weather-feed-arrow{font-size:1.5rem;font-weight:500;opacity:.95;align-self:center}
html[data-afic-theme="night"] .afic-weather-feed-card{background:#0e2231;border-color:rgba(145,182,209,.12)!important;box-shadow:0 13px 30px rgba(0,0,0,.26)}
@media(max-width:760px){
  .afic-weather-feed-overlay{grid-template-columns:auto minmax(110px,1.25fr) minmax(190px,1.9fr) auto;gap:9px;padding:10px 11px}
  .afic-weather-feed-temp strong{font-size:2.4rem}
  .afic-weather-feed-summary b{font-size:.84rem}
  .afic-weather-feed-metrics{gap:4px}
  .afic-weather-feed-metric{padding:4px 5px}
  .afic-weather-feed-metric b{font-size:.67rem}
}
@media(max-width:560px){
  .afic-weather-feed-media{height:clamp(98px,26vw,122px)}
  .afic-weather-feed-overlay{grid-template-columns:auto minmax(100px,1.3fr) minmax(118px,1.35fr) auto;gap:7px;padding:8px 9px}
  .afic-weather-feed-temp{min-width:58px}.afic-weather-feed-temp strong{font-size:2.08rem}.afic-weather-feed-temp span{font-size:.53rem;margin-top:2px}
  .afic-weather-feed-icon{width:31px;height:31px;flex-basis:31px;border-radius:10px}.afic-weather-feed-icon svg{width:27px;height:27px}
  .afic-weather-feed-summary{gap:6px}.afic-weather-feed-summary b{font-size:.75rem}.afic-weather-feed-summary small{font-size:.52rem}
  .afic-weather-feed-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
  .afic-weather-feed-metric{padding:4px 4px}.afic-weather-feed-metric small{font-size:.48rem}.afic-weather-feed-metric b{font-size:.62rem}
  .afic-weather-feed-metric.secondary{display:none}
  .afic-weather-feed-arrow{font-size:1.25rem}
}
@media(max-width:390px){
  .afic-weather-feed-card{border-radius:17px!important}
  .afic-weather-feed-media{height:102px}
  .afic-weather-feed-overlay{grid-template-columns:auto minmax(84px,1.2fr) minmax(100px,1.2fr) auto;gap:5px;padding:7px 8px}
  .afic-weather-feed-temp strong{font-size:1.92rem}
  .afic-weather-feed-summary b{font-size:.7rem}.afic-weather-feed-summary small{font-size:.48rem}
  .afic-weather-feed-icon{width:28px;height:28px;flex-basis:28px}.afic-weather-feed-icon svg{width:24px;height:24px}
  .afic-weather-feed-metric small{font-size:.44rem}.afic-weather-feed-metric b{font-size:.57rem}
}

/* V.1.10.9.10.39 — garantia de preenchimento total das artes flat */
.afic-weather-feed-card,.afic-weather-feed-media{background:transparent!important}
.afic-weather-feed-media{isolation:isolate}
.afic-weather-feed-media>img{z-index:0}
.afic-weather-feed-shade{z-index:1}
.afic-weather-feed-overlay{z-index:2}

/* V.1.10.9.10.40 — controle do card de clima no perfil da Diretoria */
.afic-weather-feed-admin-row{align-items:center;gap:18px}
.afic-weather-feed-switch{display:inline-flex;align-items:center;flex:0 0 auto;cursor:pointer;user-select:none}
.afic-weather-feed-switch input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.afic-weather-feed-switch-track{width:54px;height:30px;padding:3px;border-radius:999px;background:#cbd5df;display:flex;align-items:center;transition:background .18s ease,box-shadow .18s ease;box-shadow:inset 0 0 0 1px rgba(17,48,75,.08)}
.afic-weather-feed-switch-track i{display:block;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 3px 9px rgba(15,42,66,.22);transform:translateX(0);transition:transform .18s ease}
.afic-weather-feed-switch input:checked+.afic-weather-feed-switch-track{background:#238f68}
.afic-weather-feed-switch input:checked+.afic-weather-feed-switch-track i{transform:translateX(24px)}
.afic-weather-feed-switch input:focus-visible+.afic-weather-feed-switch-track{box-shadow:0 0 0 4px rgba(35,143,104,.16)}
.afic-weather-feed-switch input:disabled+.afic-weather-feed-switch-track{opacity:.55;cursor:wait}
html[data-afic-theme="night"] .afic-weather-feed-switch-track{background:#314252;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-afic-theme="night"] .afic-weather-feed-switch input:checked+.afic-weather-feed-switch-track{background:#238f68}
