/* iamsysadmin layout voor Overlay Child */

/* HERO - eerste post groot bovenaan */
.ias-hero { display: flex; align-items: stretch; background: #080c14; border: 4px solid #1a2d50; border-radius: 10px; margin: 24px 0; overflow: hidden; }
.ias-hero-content { flex: 1; min-width: 0; padding: 28px; display: flex; flex-direction: column; }
.ias-badge { display: inline-block; background: #0d1f3c; color: #378ADD; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 4px; border: 1px solid #1a3a6a; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; align-self: flex-start; }
.ias-hero-title { font-size: 22px; margin-bottom: 8px; }
.ias-hero-title a { color: #378ADD; text-decoration: none; }
.ias-hero-title a:hover { color: #85b7eb; }
.ias-hero-thumb { flex: 0 0 40%; max-width: 560px; overflow: hidden; position: relative; border-left: 4px solid #1a2d50; min-height: 260px; }
.ias-hero-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* MAIN GRID - content links, sidebar rechts */
.ias-main { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 28px; padding: 0 0 28px; max-width: 1400px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* POST CARDS */
.ias-card { display: flex; align-items: stretch; background: #080c14; border: 4px solid #1a2d50; border-radius: 10px; margin-bottom: 16px; overflow: hidden; transition: border-color .2s; }
.ias-card:hover { border-color: #378ADD; }
.ias-card-thumb { flex: 0 0 35%; max-width: 400px; overflow: hidden; position: relative; border-right: 4px solid #1a2d50; min-height: 160px; }
.ias-card-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ias-card-body { flex: 1; min-width: 0; padding: 14px 16px; display: flex; flex-direction: column; }
.ias-card-title { font-size: 15px; margin-bottom: 6px; }
.ias-card-title a { color: #378ADD; text-decoration: none; }
.ias-card-title a:hover { color: #85b7eb; }
.ias-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }

/* GEMEENSCHAPPELIJK */
.ias-meta { font-size: 11px; color: #3a5a8f; margin-bottom: 10px; }
.ias-meta a { color: #378ADD; }
.ias-excerpt { color: #c8d8f0; font-size: 13px; line-height: 1.6; margin-bottom: 12px; flex: 1; }
.ias-tag { display: inline-block; background: #0d1f3c; color: #378ADD; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 3px; border: 1px solid #1a3a6a; text-transform: uppercase; margin-bottom: 6px; }
.ias-readmore { display: inline-block; background: #378ADD; color: #fff !important; font-size: 12px; font-weight: 700; padding: 9px 18px; border-radius: 6px; align-self: flex-start; text-decoration: none !important; margin-top: auto; }
.ias-readmore:hover { background: #2a6ab0 !important; }
.ias-more { font-size: 11px; font-weight: 600; color: #378ADD; text-decoration: none; }
.ias-more:hover { color: #85b7eb; }

/* SIDEBAR */
.ias-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* PAGINATION */
.ias-pagination { display: flex; gap: 8px; margin: 8px 0; align-items: center; }
.ias-pagination a { background: #080c14; border: 2px solid #1a2d50; color: #378ADD; border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; text-decoration: none; }
.ias-pagination a:hover { background: #378ADD; color: #fff; }
.ias-pagination span { color: #3a5a8f; font-size: 13px; }

/* MOBIEL */
@media(max-width:1024px) { .ias-main { grid-template-columns: 1fr; } }
@media(max-width:768px) {
  .ias-hero { flex-direction: column; }
  .ias-hero-content { padding: 16px; }
  .ias-hero-thumb { flex: none; width: 100%; max-width: 100%; min-height: 200px; border-left: none; border-top: 4px solid #1a2d50; }
  .ias-card { flex-direction: column; }
  .ias-card-thumb { flex: none; width: 100%; max-width: 100%; min-height: 160px; border-right: none; border-bottom: 4px solid #1a2d50; }
  .ias-main { gap: 16px; padding-left: 12px; padding-right: 12px; }
}
