/* Nova página inicial — Bahia Atual (usa variáveis do tema para suportar modo escuro) */
.bah{max-width:var(--container,1280px);margin:0 auto;padding:0 var(--pad,10px) 40px;display:flex;flex-direction:column;gap:32px}
.bah-cities{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:14px 0 2px;scrollbar-width:none}
.bah-cities::-webkit-scrollbar{display:none}
.bah-cities__label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);white-space:nowrap}
.bah-cities a{white-space:nowrap;border:1px solid var(--border);border-radius:20px;padding:8px 14px;font-size:14px;font-weight:600;color:var(--text);background:var(--surface)}
.bah-cities a:hover{border-color:var(--ba-accent,#C8102E);color:var(--ba-accent,#C8102E);text-decoration:none}
.bah-sec{display:flex;flex-direction:column;gap:16px}
.bah-sec__head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.bah-sec__title{margin:0;font-size:22px;font-weight:800;color:var(--text);display:flex;align-items:center;gap:10px}
.bah-sec__title:before{content:"";width:6px;height:22px;background:var(--ba-accent,#C8102E);border-radius:2px;flex:none}
.bah-sec__more{font-size:14px;font-weight:600;color:var(--ba-accent,#C8102E)}
.bah-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.bah-grid--feed{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){
  .bah-grid--feed{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.bah-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius,10px);overflow:hidden}
.bah-card a{color:inherit;display:flex;flex-direction:column;height:100%}
.bah-card a:hover{text-decoration:none}
.bah-card a:hover .bah-card__title{color:var(--ba-accent,#C8102E)}
.bah-card__img{margin:0;aspect-ratio:16/9;overflow:hidden;background:var(--surface-2)}
.bah-card__img img{width:100%;height:100%;object-fit:cover;display:block}
.bah-card__body{padding:12px 14px 16px;display:flex;flex-direction:column;gap:6px}
.bah-kicker{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--ba-accent,#C8102E)}
.bah-card__title{margin:0;font-size:17px;line-height:1.3;font-weight:700;color:var(--text)}
.bah-card__date{font-size:12px;color:var(--muted)}
.bah-split{display:flex;flex-wrap:wrap;gap:28px}
.bah-split__main{flex:999 1 620px;min-width:0}
.bah-split__side{flex:1 1 300px;display:flex;flex-direction:column;gap:16px}
.bah-split__main .bah-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.bah-latest{list-style:none;margin:0;padding:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius,10px)}
.bah-latest li{border-bottom:1px solid var(--border)}
.bah-latest li:last-child{border-bottom:0}
.bah-latest a{display:block;padding:13px 16px;color:var(--text);font-weight:700;font-size:15px;line-height:1.35}
.bah-latest a:hover{color:var(--ba-accent,#C8102E);text-decoration:none}
.bah-latest small{display:block;font-weight:600;font-size:11px;color:var(--ba-accent,#C8102E);text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px}
.bah-wa{background:var(--ba-whatsapp,#1FA855);border-radius:14px;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#fff}
.bah-wa h2{margin:0 0 4px;font-size:24px;font-weight:800;color:#fff}
.bah-wa p{margin:0;font-size:16px;color:#E4F7EC}
.bah-wa a{background:#fff;color:#0F6B35;font-weight:800;font-size:16px;padding:14px 26px;border-radius:28px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.bah-wa a:hover{text-decoration:none;background:#F0FFF5}
.bah-serv{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.bah-serv .bah-card a{flex-direction:row;align-items:center;gap:12px;padding:10px}
.bah-serv .bah-card__img{width:110px;flex:none;border-radius:8px}
.bah-serv .bah-card__body{padding:0}
.bah-serv .bah-card__title{font-size:15px}
.bah-ad{text-align:center;min-height:100px}
.bah-ad__label{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.bah .feed{display:flex;flex-direction:column;gap:12px}
.bah .home-pagination{margin-top:20px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px}
@media (max-width:640px){
  .bah{gap:26px}
  .bah-sec__title{font-size:19px}
  /* blocos da home viram UMA lista por seção, como os destaques */
  .bah-grid,.bah-grid--feed,.bah-split__main .bah-grid,.bah-serv{display:block!important;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}
  .bah-grid .bah-card,.bah-serv .bah-card{border:0!important;border-radius:0!important;background:transparent}
  .bah-grid .bah-card+.bah-card,.bah-serv .bah-card+.bah-card{border-top:1px solid var(--border)!important}
  .bah-grid .bah-card a,.bah-serv .bah-card a{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:12px;padding:12px!important}
  .bah-grid .bah-card__img,.bah-serv .bah-card__img{flex:0 0 112px!important;width:112px!important;height:84px!important;aspect-ratio:auto!important;border-radius:8px!important;margin:0}
  .bah-grid .bah-card__img img,.bah-serv .bah-card__img img{width:100%;height:100%;object-fit:cover;display:block}
  .bah-grid .bah-card__body,.bah-serv .bah-card__body{padding:0!important;gap:4px;min-width:0}
  .bah-grid .bah-card__title,.bah-serv .bah-card__title{font-size:15px!important;line-height:1.3;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .bah-kicker{font-size:10px}
  .bah-card__date{font-size:11px}
  .bah-wa{padding:20px}
  .bah-wa h2{font-size:20px}
  .bah-wa a{width:100%;text-align:center}
}
