
.notice-hero,.notice-detail-hero{padding:40px 0}
.notice-browser{padding-top:28px}

.notice-category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:11px;
  margin-bottom:18px;
}

.notice-category-card,
.notice-subcategory-card{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  color:inherit;
  box-shadow:0 5px 15px rgba(14,43,92,.04);
}

.notice-category-card.active,
.notice-subcategory-card.active{
  background:#edf4ff;
  border-color:#4f85ef;
}

.notice-category-icon,
.notice-subcategory-icon{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:10px;
  background:#f2f6ff;
  display:grid;
  place-items:center;
  overflow:hidden;
  font-size:22px;
}

.notice-category-icon img,
.notice-subcategory-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.notice-category-card>span:nth-child(2),
.notice-subcategory-card>span:nth-child(2){
  min-width:0;
  flex:1;
}

.notice-category-card strong,
.notice-subcategory-card strong{
  display:block;
}

.notice-category-card small,
.notice-subcategory-card small{
  display:block;
  color:var(--muted);
  margin-top:3px;
}

.notice-category-card b,
.notice-subcategory-card b{
  color:var(--blue);
}

.notice-subcategory-section{
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  padding:17px;
  box-shadow:var(--shadow);
  margin-bottom:18px;
}

.notice-subcategory-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.notice-subcategory-heading h2{margin:0;font-size:21px}
.notice-subcategory-heading p{margin:3px 0 0;color:var(--muted)}

.notice-subcategory-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

.notice-no-subcategory{
  padding:12px 14px;
  background:#f5f7fb;
  border-radius:11px;
  color:var(--muted);
  font-size:13px;
}

.notice-search{
  display:flex;
  gap:9px;
  margin:7px 0 20px;
}

.notice-search input{
  flex:1;
  min-width:0;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 14px;
  font:inherit;
}

.notice-results-summary{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  color:var(--muted);
}

.notice-results-summary strong{color:var(--text)}

.notice-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.notice-card{
  padding:0;
  overflow:hidden;
}

.notice-thumb{
  display:block;
  height:180px;
  background:#edf3ff;
}

.notice-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.notice-thumb-placeholder{
  height:100%;
  display:grid;
  place-items:center;
  font-size:48px;
}

.notice-card-body{
  padding:17px;
  display:flex;
  flex-direction:column;
  min-height:215px;
}

.notice-meta{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:12px;
}

.notice-card h3{
  margin:8px 0 10px;
  font-size:18px;
  line-height:1.4;
}

.notice-date,.notice-expiry{
  display:block;
  color:var(--muted);
  margin-bottom:6px;
}

.notice-read-btn{margin-top:auto}

.notice-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:28px;
}

.notice-detail-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:22px;
  align-items:start;
}

.notice-detail-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.notice-detail-image{
  width:100%;
  max-height:550px;
  object-fit:contain;
  background:#f7f9fd;
}

.notice-detail-content{
  padding:24px;
  font-size:16px;
  line-height:1.8;
  overflow-wrap:anywhere;
}

.notice-detail-content img{
  max-width:100%;
  height:auto;
}

.notice-detail-content table{
  max-width:100%;
  display:block;
  overflow-x:auto;
}

.notice-download-box,
.notice-video-box{
  margin:0 24px 22px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#f8fbff;
}

.notice-download-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}

.notice-download-box p{
  margin:3px 0 0;
  color:var(--muted);
}

.notice-video-box a{
  display:block;
  color:var(--blue);
  margin-top:6px;
  word-break:break-all;
}

.notice-detail-sidebar{
  display:grid;
  gap:16px;
  position:sticky;
  top:90px;
}

.notice-info-card h3{margin-top:0}

.notice-info-card>div{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}

.notice-info-card>div:last-child{border-bottom:0}
.notice-info-card span{color:var(--muted)}
.notice-app-promo{margin-top:0}

@media(max-width:950px){
  .notice-category-grid,
  .notice-subcategory-grid,
  .notice-grid{grid-template-columns:repeat(2,1fr)}

  .notice-detail-layout{grid-template-columns:1fr}
  .notice-detail-sidebar{position:static}
}

@media(max-width:600px){
  .notice-category-grid,
  .notice-subcategory-grid,
  .notice-grid{grid-template-columns:1fr}

  .notice-search{flex-direction:column}
  .notice-subcategory-heading{align-items:flex-start;flex-direction:column}
  .notice-download-box{align-items:flex-start;flex-direction:column}
  .notice-download-box .btn{width:100%}
}
