/* 유니마인드랩 — 동적 게시판 렌더러 (Seoro-Api) 스타일 */
.uml-board{ max-width:1180px; margin:0 auto; padding:10px 20px 60px; }
.uml-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:900px){ .uml-grid{ grid-template-columns:repeat(2,1fr); gap:18px; } }
@media (max-width:560px){ .uml-grid{ grid-template-columns:1fr; } }
.uml-card{
  background:#fff; border:1px solid rgba(17,24,39,.08); border-radius:16px; overflow:hidden;
  cursor:pointer; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display:flex; flex-direction:column;
}
.uml-card:hover{ transform:translateY(-4px); box-shadow:0 16px 38px rgba(15,23,42,.14); border-color:transparent; }
.uml-thumb{ position:relative; width:100%; aspect-ratio:16/9; background:linear-gradient(135deg,#16307a,#1b52b8); overflow:hidden; }
.uml-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.uml-thumb .uml-ph{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.9); font-weight:800; font-size:20px; letter-spacing:.04em; }
.uml-card .body{ padding:16px 18px 18px; display:flex; flex-direction:column; gap:10px; flex:1; }
.uml-card .title{ font-size:16px; font-weight:700; color:#1f2733; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.uml-card .meta{ margin-top:auto; display:flex; gap:12px; color:#8a93a3; font-size:12.5px; }
.uml-card .meta .views::before{ content:"·"; margin-right:12px; color:#c7cdd8; }
/* 페이지네이션 */
.uml-pager{ display:flex; justify-content:center; align-items:center; gap:6px; margin-top:40px; flex-wrap:wrap; }
.uml-pager button{ min-width:38px; height:38px; padding:0 10px; border:1px solid rgba(17,24,39,.12); background:#fff; color:#3a4453; border-radius:10px; cursor:pointer; font-weight:600; transition:all .15s ease; }
.uml-pager button:hover:not(:disabled){ border-color:#16307a; color:#16307a; }
.uml-pager button.active{ background:#16307a; color:#fff; border-color:#16307a; }
.uml-pager button:disabled{ opacity:.4; cursor:default; }
.uml-empty{ text-align:center; color:#9aa3b2; padding:80px 0; font-size:15px; }
.uml-loading{ text-align:center; color:#9aa3b2; padding:80px 0; }
/* 상세 오버레이 */
.uml-detail{ position:fixed; inset:0; z-index:2000; background:rgba(15,23,42,.55); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); display:flex; justify-content:center; align-items:flex-start; padding:40px 16px; overflow:auto; opacity:0; transition:opacity .2s ease; }
.uml-detail.open{ opacity:1; }
.uml-detail .sheet{ background:#fff; max-width:880px; width:100%; border-radius:18px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.4); transform:translateY(12px); transition:transform .25s ease; }
.uml-detail.open .sheet{ transform:translateY(0); }
.uml-detail .dhd{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:26px 30px 16px; border-bottom:1px solid rgba(17,24,39,.08); }
.uml-detail .dhd h2{ font-size:22px; font-weight:800; color:#16307a; line-height:1.4; margin:0; }
.uml-detail .dhd .dmeta{ color:#8a93a3; font-size:13px; margin-top:8px; }
.uml-detail .dclose{ flex:0 0 auto; width:40px; height:40px; border:none; background:rgba(17,24,39,.06); border-radius:50%; cursor:pointer; font-size:20px; color:#3a4453; line-height:1; }
.uml-detail .dclose:hover{ background:rgba(22,48,122,.12); color:#16307a; }
.uml-detail .dbody{ padding:26px 30px 40px; color:#2a3340; font-size:16px; line-height:1.8; }
.uml-detail .dbody img{ max-width:100%; height:auto; border-radius:8px; }
.uml-detail .dbody a{ color:#1b52b8; word-break:break-all; }
.uml-detail .dbody iframe{ max-width:100%; }
/* 다크모드 */
html.uml-dark .uml-card{ background:#141b2b; border-color:rgba(255,255,255,.08); }
html.uml-dark .uml-card .title{ color:#e6e9f2; }
html.uml-dark .uml-pager button{ background:#141b2b; color:#c5ccdb; border-color:rgba(255,255,255,.12); }
html.uml-dark .uml-pager button.active{ background:#1b52b8; border-color:#1b52b8; color:#fff; }
html.uml-dark .uml-detail .sheet{ background:#141b2b; }
html.uml-dark .uml-detail .dhd{ border-bottom-color:rgba(255,255,255,.08); }
html.uml-dark .uml-detail .dhd h2{ color:#90b4ff; }
html.uml-dark .uml-detail .dbody{ color:#cdd3e0; }
html.uml-dark .uml-detail .dclose{ background:rgba(255,255,255,.08); color:#e6e9f2; }

/* 홈 섹션: 소식 썸네일 placeholder + 연구(RSS) 카드 */
.uml-news-box img{ width:100%; height:auto; display:block; border-radius:10px; }
.uml-news-ph{ width:100%; aspect-ratio:380/180; background:linear-gradient(135deg,#16307a,#1b52b8); border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; letter-spacing:.05em; }
.uml-rss{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:1140px; margin:0 auto; padding:0 16px; }
@media(max-width:900px){ .uml-rss{ grid-template-columns:1fr; } }
.uml-rss-card{ display:block; text-align:left; background:#fff; border:1px solid rgba(17,24,39,.08); border-radius:14px; padding:22px 24px; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; text-decoration:none; }
.uml-rss-card:hover{ transform:translateY(-3px); box-shadow:0 14px 32px rgba(15,23,42,.12); border-color:transparent; }
.uml-rss-card .rt{ font-weight:700; font-size:16px; color:#1f2733; line-height:1.45; margin-bottom:10px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.uml-rss-card .rx{ color:#5b6472; font-size:13.5px; line-height:1.65; margin-bottom:14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.uml-rss-card .rd{ color:#9aa3b2; font-size:12px; }
html.uml-dark .uml-rss-card{ background:#141b2b; border-color:rgba(255,255,255,.08); }
html.uml-dark .uml-rss-card .rt{ color:#e6e9f2; }
html.uml-dark .uml-rss-card .rx{ color:#aab2c2; }
