/* ============================================================
   HISTORY / CONTENT SECTION
   ============================================================ */
.history-block {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 28px 30px;
  margin-bottom: 24px;
}
.history-block p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 14px;
  text-align: justify;
}
.history-block p:last-child { margin-bottom: 0; }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-pale); }
.news-card .nc-img {
  height: 180px;
  overflow: hidden;
  background: var(--primary-pale);
  position: relative;
}
.news-card .nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .nc-img img { transform: scale(1.07); }
.news-card .nc-date {
  position: absolute;
  bottom: 10px; left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-family: var(--font-ui);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; gap: 5px;
}
.news-card .nc-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.news-card .nc-body h6 a {
  color: var(--text-dark);
  font-size: 13.5px;
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .nc-body h6 a:hover { color: var(--primary-light); }
.news-card .nc-body p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 8px;
}
.news-card .nc-footer {
  border-top: 1px solid var(--border);
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--font-ui);
  color: var(--text-muted);
}
.news-card .nc-footer a { color: var(--primary-light); font-weight: 600; font-size: 12px; }
.news-card .nc-footer a:hover { color: var(--accent); }

/* ============================================================
   ACHIEVEMENT CARD (similar to news card)
   ============================================================ */
.award-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}
.award-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.award-card .ac-img {
  height: 170px;
  overflow: hidden;
  background: #fef9e7;
  position: relative;
}
.award-card .ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.award-card:hover .ac-img img { transform: scale(1.07); }
.award-card .ac-badge {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--text-dark);
}
.award-card .ac-body { padding: 15px 17px; flex: 1; }
.award-card .ac-body h6 a {
  color: var(--text-dark);
  font-size: 13px;
  font-family: var(--font-ui);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.award-card .ac-body h6 a:hover { color: var(--gold); }
.award-card .ac-body p {
  font-size: 12.5px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
}
.award-card .ac-foot {
  border-top: 1px solid var(--border);
  padding: 8px 17px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item .g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,78,168,.78), rgba(192,57,43,.5));
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.gallery-item .g-overlay i { font-size: 26px; color: #fff; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .g-overlay { opacity: 1; }

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section-stripe {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.section-stripe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-block { text-align: center; position: relative; z-index: 1; }
.cta-block h2 { color: #fff; font-family: var(--font-heading); font-size: 2rem; margin-bottom: 12px; }
.cta-block p { color: rgba(255,255,255,.85); font-size: 15px; max-width: 580px; margin: 0 auto 26px; }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 44px 0 36px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='.04'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.page-banner .pb-content { position: relative; z-index: 1; }
.page-banner h2 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.page-banner .breadcrumb { background: none; padding: 0; margin: 0; }
.page-banner .breadcrumb-item a { color: rgba(255,255,255,.75); font-size: 13px; font-family: var(--font-ui); }
.page-banner .breadcrumb-item.active { color: var(--gold-light); font-size: 13px; font-family: var(--font-ui); }
.page-banner .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }
.banner-icon-wrap {
  width: 70px; height: 70px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  color: var(--gold-light);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
}

/* ============================================================
   INNER PAGE LAYOUT
   ============================================================ */
.inner-page { padding: 40px 0 60px; }

/* Content card */
.c-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 28px 30px;
  margin-bottom: 22px;
}
.c-card h3 {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  color: var(--primary);
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.c-card h3 i { color: var(--primary-light); }
.c-card p { font-size: 14.5px; line-height: 1.8; color: var(--text-body); }

/* Sidebar */
.sidebar-widget {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 20px;
}
.sw-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 13px 18px;
  display: flex; align-items: center; gap: 9px;
}
.sw-header h5 {
  color: #fff;
  font-size: 13px;
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin: 0;
}
.sw-header i { color: var(--gold-light); font-size: 14px; }
.sw-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: var(--text-body);
  font-size: 13.5px;
  font-family: var(--font-ui);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.sw-nav-link:last-child { border-bottom: none; }
.sw-nav-link i { color: var(--primary-light); font-size: 13px; flex-shrink: 0; width: 18px; }
.sw-nav-link:hover, .sw-nav-link.active {
  background: var(--primary);
  color: #fff;
  padding-left: 24px;
}
.sw-nav-link:hover i, .sw-nav-link.active i { color: var(--gold-light); }

/* ============================================================
   TABLE
   ============================================================ */
.t-custom { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 13.5px; }
.t-custom thead th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.t-custom tbody tr { border-bottom: 1px solid var(--border); transition: var(--transition); }
.t-custom tbody tr:hover { background: var(--bg-subtle); }
.t-custom tbody td { padding: 11px 16px; color: var(--text-body); vertical-align: middle; }
.t-custom tbody tr:nth-child(even) td { background: var(--bg-subtle); }

/* ============================================================
   PERSON CARDS
   ============================================================ */
.person-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}
.person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.person-card .pc-img-wrap {
  height: 200px;
  overflow: hidden;
  background: var(--primary-pale);
  position: relative;
}
.person-card .pc-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.person-card:hover .pc-img-wrap img { transform: scale(1.05); }
.person-card .pc-body { padding: 16px 14px 18px; }
.person-card .pc-body h5 { font-size: 1rem; font-family: var(--font-ui); font-weight: 700; color: var(--text-dark); margin-bottom: 5px; }
.person-card .pc-role {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 11px;
  font-family: var(--font-ui);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.person-card .pc-contact { margin-top: 10px; display: flex; justify-content: center; gap: 8px; }
.person-card .pc-contact a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}
.person-card .pc-contact a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-field label span { color: var(--accent); }
.form-control-c {
  width: 100%;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-ui);
  color: var(--text-dark);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-control-c:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(36,113,163,.12); }
.form-control-c::placeholder { color: var(--text-light); }

/* ============================================================
   NOTICE FULL LIST PAGE
   ============================================================ */
.notice-row {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}
.notice-row:hover { border-color: var(--primary-pale); box-shadow: var(--shadow-sm); transform: translateX(3px); }
.nr-date { text-align: center; }
.nr-date .d-num { font-size: 1.7rem; font-weight: 800; font-family: var(--font-ui); color: var(--primary); line-height: 1; }
.nr-date .d-mon { font-size: 11px; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-ui); font-weight: 600; }
.nr-date .d-yr  { font-size: 10.5px; color: var(--text-light); font-family: var(--font-ui); }
.nr-content h6 { font-family: var(--font-ui); font-weight: 700; color: var(--text-dark); font-size: 14.5px; margin-bottom: 4px; }
.nr-content p { font-size: 12.5px; color: var(--text-muted); margin: 0; }
.nr-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.nr-actions a { font-size: 12px; font-family: var(--font-ui); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.nr-actions .view-btn { color: var(--primary-light); }
.nr-actions .dl-btn { color: var(--accent); }
.nr-actions .view-btn:hover { color: var(--primary); }
.nr-actions .dl-btn:hover { color: var(--accent-light); }

