/* Assoc News Cards styles (brandable) */
.assoc-wrap{ --assoc-gap:24px; --assoc-radius:16px; --assoc-color:#1D6780; --assoc-accent:#CBA233; }
.assoc-news-grid{
  display:grid; gap:var(--assoc-gap);
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  direction: rtl;
}
.assoc-news-card{
  background:#FFF; border-radius:var(--assoc-radius); overflow:hidden;
  box-shadow:0 4px 10px rgba(0,0,0,.06);
  transition:transform .3s ease, box-shadow .3s ease;
  border:1px solid color-mix(in oklab, var(--assoc-accent) 35%, #0000);
  display:flex; flex-direction:column;
}
.assoc-news-card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.assoc-thumb img{ width:100%; height:200px; object-fit:cover; display:block; }
.assoc-body{ padding:18px; font-family:"Cairo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.assoc-title{ margin:0 0 .35rem; font-weight:700; font-size:1.08rem; }
.assoc-title a{ color:var(--assoc-color); text-decoration:none; }
.assoc-date{ color:#69707a; font-size:.82rem; margin:.15rem 0 .55rem; }
.assoc-excerpt{ color:#2c2c2c; margin:0 0 .85rem; }
.assoc-read{
  background:var(--assoc-accent); color:#fff; border-radius:10px;
  padding:10px 14px; text-decoration:none; display:inline-block; font-weight:600;
}
.assoc-read:hover{ filter:brightness(.92); }

@media (min-width: 1024px){
  .assoc-news-grid[data-cols="2"]{ grid-template-columns:repeat(2, 1fr); }
  .assoc-news-grid[data-cols="3"]{ grid-template-columns:repeat(3, 1fr); }
  .assoc-news-grid[data-cols="4"]{ grid-template-columns:repeat(4, 1fr); }
}
@media (max-width:768px){
  .assoc-thumb img{ height:180px; }
}
