/* Framework-neutral widgets: usable with both Bootstrap 4 and Bootstrap 5. */
.cms-widget{margin:0 0 1.5rem;padding:1.5rem;background:#fff;border:1px solid #e8edf5;border-radius:16px;box-shadow:0 4px 16px rgba(14,41,205,.04);min-width:0;color:#0f172a}
.cms-widget-title{font-size:1.25rem;font-weight:700;margin:0 0 1.25rem;color:#0f172a}
.cms-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.cms-text-link{font-size:.875rem;color:#0e29cd}.cms-link-items{display:grid;gap:1rem}
.cms-link-item{display:flex;gap:1rem;align-items:center;padding:1rem;border:1px solid #e8edf5;border-radius:12px;text-decoration:none!important;color:#0f172a!important;transition:box-shadow .2s,transform .2s;min-width:0}
.cms-link-item:hover{box-shadow:0 8px 20px rgba(14,41,205,.08);transform:translateY(-2px);border-color:var(--link-accent)}
.cms-link-image{width:64px;height:64px;object-fit:contain;flex-shrink:0}.cms-link-icon{display:grid;place-items:center;width:52px;height:52px;flex-shrink:0;color:var(--link-accent);font-size:1.75rem;background:#eef2ff;border-radius:14px}
.cms-link-body{display:flex;flex-direction:column;gap:.35rem;min-width:0;overflow-wrap:anywhere}.cms-link-description{font-size:.875rem;color:#64748b}.cms-link-button{color:var(--link-accent);font-size:.8rem;font-weight:600}
.cms-links--cards .cms-link-items,.cms-links--applications .cms-link-items{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}
.cms-links--cards .cms-link-item,.cms-links--applications .cms-link-item{flex-direction:column;align-items:center;text-align:center;height:100%;border-top:3px solid var(--link-accent);padding:1.5rem}
.cms-links--applications .cms-link-image{height:78px;width:90px}.cms-links--quick-links .cms-link-items{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}.cms-links--quick-links .cms-link-item{align-items:center;flex-direction:column;text-align:center}
.cms-news-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}.cms-news-item{display:flex;gap:1rem;min-width:0}.cms-news-item img{width:96px;height:76px;object-fit:cover;border-radius:8px}.cms-news-item time{font-size:.75rem;color:#64748b}.cms-news-item h3{font-size:.95rem;margin:.35rem 0;line-height:1.5}.cms-news-item h3 a{color:#0f172a;text-decoration:none}.cms-news-item p{font-size:.9rem;color:#64748b}.cms-news-featured{display:block;grid-row:span 5}.cms-news-featured img{width:100%;height:230px;margin-bottom:.7rem}.cms-news-featured h3{font-size:1.25rem}.cms-announcements .cms-news-item{border-bottom:1px solid #e8edf5;padding-bottom:1rem}
.cms-video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}.cms-video{width:100%;aspect-ratio:16/9;border:0;border-radius:12px}.cms-agenda-item{display:flex;align-items:center;gap:1rem;border-bottom:1px solid #e8edf5;padding:.75rem 0}.cms-agenda-item time{font-size:.8rem;color:#0e29cd;flex-shrink:0}.cms-agenda-item h3{font-size:1rem;margin:0}
.cms-rich-content{overflow-wrap:anywhere}.cms-rich-content img,.cms-rich-content iframe{max-width:100%}.cms-rich-content table{max-width:100%;display:block;overflow:auto}.cms-empty{color:#64748b;padding:1rem 0}.cms-carousel img{border-radius:12px;max-height:480px;object-fit:contain}.cms-schedule-filters{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end;margin-bottom:1rem}.cms-schedule-filters label{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem}.cms-schedule-filters input{border:1px solid #cbd5e1;border-radius:8px;padding:.6rem;max-width:100%;font:inherit}.cms-button{display:inline-block;background:#0e29cd;color:#fff!important;border:0;border-radius:8px;padding:.6rem 1rem;text-decoration:none;cursor:pointer}.cms-table-wrap{overflow:auto}.cms-table{border-collapse:collapse;width:100%;font-size:.875rem}.cms-table th{background:#eef2ff;text-align:left;color:#0e29cd}.cms-table th,.cms-table td{padding:.85rem;border-bottom:1px solid #e2e8f0}.cms-pagination{display:flex;gap:1rem;justify-content:space-between;align-items:center;margin-top:1rem;flex-wrap:wrap}.cms-pagination a{padding:.5rem;color:#0e29cd}.cms-schedule-message{padding:1rem;background:#f8fafc;border-radius:8px}
@media(max-width:767px){.cms-widget{padding:1rem}.cms-news-grid{grid-template-columns:1fr}.cms-news-featured{grid-row:auto}.cms-schedule-filters label{flex:1;min-width:150px}}
