/* HU Notices Manager: polished bilingual announcement cards. */
.hu-event-list-outer {
  --hu-notice-blue: #183d79;
  --hu-notice-blue-hover: #12366c;
  --hu-notice-accent: #08a9c6;
  --hu-notice-white: #fff;
  width: 100%;
  font-family: inherit !important;
}
.hu-event-list-outer .hu-event-list-wrapper {
  width: 100%;
  margin: 0 0 9px;
  font-family: inherit !important;
}
.hu-event-list-outer .hu-event-row {
  direction: ltr !important;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hu-notice-blue) 0%, #214b86 100%);
  box-shadow: 0 3px 10px rgba(10,33,76,.14);
  color: var(--hu-notice-white) !important;
  text-decoration: none !important;
  font-family: inherit !important;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.hu-event-list-outer .hu-event-row:hover {
  background: linear-gradient(135deg, var(--hu-notice-blue-hover) 0%, #1a427c 100%);
  box-shadow: 0 6px 16px rgba(10,33,76,.20);
  transform: translateY(-1px);
  color: var(--hu-notice-white) !important;
}
.hu-event-list-outer .hu-event-row:focus-visible {
  outline: 3px solid rgba(8,169,198,.45);
  outline-offset: 2px;
}
.hu-event-list-outer .hu-event-date-badge {
  flex: 0 0 102px;
  width: 102px;
  min-width: 102px;
  min-height: 84px;
  align-self: center;
  padding: 8px 7px;
  border-radius: 7px;
  background: var(--hu-notice-accent);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: inherit !important;
}
.hu-event-list-outer .hu-event-date-badge .hu-day {
  display: block;
  margin: 0;
  color: #fff;
  font-family: inherit !important;
  font-size: 40px;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}
.hu-event-list-outer .hu-event-date-badge .hu-day-empty {
  font-size: 34px;
  line-height: 1;
}
.hu-event-list-outer .hu-event-date-badge .hu-month {
  display: block;
  max-width: 100%;
  margin-top: 7px;
  color: #fff;
  font-family: inherit !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  white-space: normal;
  text-transform: none;
}
.hu-event-list-outer .hu-event-title-wrap {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 6px;
  display: flex;
  align-items: center;
  color: #fff;
  font-family: inherit !important;
}
.hu-event-list-outer .hu-event-title-inner {
  width: 100%;
  min-width: 0;
}
.hu-event-list-outer .hu-event-title-wrap h3 {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.5 !important;
  letter-spacing: 0;
  text-decoration: none !important;
  overflow-wrap: break-word;
  word-break: normal;
}
.hu-event-list-outer .hu-event-list-wrapper[dir="rtl"] .hu-event-title-wrap,
.hu-event-list-outer .hu-event-row[dir="rtl"] .hu-event-title-wrap {
  direction: rtl !important;
  text-align: right !important;
}
.hu-event-list-outer .hu-event-list-wrapper[dir="ltr"] .hu-event-title-wrap,
.hu-event-list-outer .hu-event-row[dir="ltr"] .hu-event-title-wrap {
  direction: ltr !important;
  text-align: left !important;
}
.hu-event-list-outer .hu-event-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  min-width: 76px;
  align-self: center;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hu-event-list-outer .hu-event-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
}
.hu-event-list-outer .hu-no-thumb {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: #f3f6fa;
  color: #b8c1cc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hu-event-list-outer .hu-event-cancelled-label {
  display: inline-block;
  margin-top: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  font-family: inherit !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}
@media (max-width: 1024px) {
  .hu-event-list-outer .hu-event-row {
    gap: 10px;
    padding: 7px;
  }
  .hu-event-list-outer .hu-event-date-badge {
    flex-basis: 88px;
    width: 88px;
    min-width: 88px;
    min-height: 76px;
    padding: 7px 6px;
  }
  .hu-event-list-outer .hu-event-date-badge .hu-day { font-size: 35px; }
  .hu-event-list-outer .hu-event-date-badge .hu-month { font-size: 12px; }
  .hu-event-list-outer .hu-event-title-wrap { padding: 8px 4px; }
  .hu-event-list-outer .hu-event-title-wrap h3 {
    font-size: 14px !important;
    line-height: 1.48 !important;
  }
  .hu-event-list-outer .hu-event-thumb {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
    min-width: 68px;
  }
}

@media (max-width: 767px) {
  .hu-event-list-outer .hu-event-list-wrapper { margin-bottom: 7px; }
  .hu-event-list-outer .hu-event-row {
    gap: 8px;
    padding: 6px;
    border-radius: 8px;
  }
  .hu-event-list-outer .hu-event-date-badge {
    flex-basis: 72px;
    width: 72px;
    min-width: 72px;
    min-height: 64px;
    padding: 6px 5px;
    border-radius: 6px;
  }
  .hu-event-list-outer .hu-event-date-badge .hu-day { font-size: 29px; }
  .hu-event-list-outer .hu-event-date-badge .hu-day-empty { font-size: 26px; }
  .hu-event-list-outer .hu-event-date-badge .hu-month {
    margin-top: 4px;
    font-size: 10.5px;
    line-height: 1.12;
  }
  .hu-event-list-outer .hu-event-title-wrap {
    min-width: 0;
    padding: 6px 2px;
  }
  .hu-event-list-outer .hu-event-title-wrap h3 {
    font-size: 13px !important;
    line-height: 1.46 !important;
  }
  .hu-event-list-outer .hu-event-thumb {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    min-width: 56px;
    padding: 4px;
    border-radius: 8px;
  }
}

/* Phones: put the compact date/image controls above the title. This gives
 * long Arabic and English headlines the full card width instead of squeezing
 * them between two fixed-width columns. Physical positions remain date-left
 * and image-right in both RTL and LTR sites. */
@media (max-width: 600px) {
  .hu-event-list-outer .hu-event-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    padding: 7px;
  }
  .hu-event-list-outer .hu-event-date-badge {
    order: 1;
    flex: 0 0 62px;
    width: 62px;
    min-width: 62px;
    min-height: 56px;
    padding: 5px 4px;
  }
  .hu-event-list-outer .hu-event-date-badge .hu-day { font-size: 26px; }
  .hu-event-list-outer .hu-event-date-badge .hu-month {
    margin-top: 4px;
    font-size: 9.5px;
  }
  .hu-event-list-outer .hu-event-thumb {
    order: 2;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    min-width: 52px;
    margin-left: auto;
    padding: 3px;
  }
  .hu-event-list-outer .hu-event-title-wrap {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    padding: 4px 5px 6px;
  }
  .hu-event-list-outer .hu-event-title-wrap h3 {
    font-size: 12.5px !important;
    line-height: 1.46 !important;
  }
  .hu-event-list-outer .hu-event-row.hu-notice-no-date .hu-event-thumb {
    margin-left: auto;
  }
  .hu-event-list-outer .hu-event-row.hu-notice-no-image .hu-event-date-badge {
    margin-right: auto;
  }
  .hu-event-list-outer .hu-event-row.hu-notice-no-date.hu-notice-no-image .hu-event-title-wrap {
    padding-top: 7px;
  }
}

@media (max-width: 400px) {
  .hu-event-list-outer .hu-event-row {
    gap: 5px 8px;
    padding: 6px;
  }
  .hu-event-list-outer .hu-event-date-badge {
    flex-basis: 56px;
    width: 56px;
    min-width: 56px;
    min-height: 52px;
  }
  .hu-event-list-outer .hu-event-date-badge .hu-day { font-size: 24px; }
  .hu-event-list-outer .hu-event-date-badge .hu-month { font-size: 9px; }
  .hu-event-list-outer .hu-event-thumb {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  .hu-event-list-outer .hu-event-title-wrap h3 {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
  .hu-event-list-outer .hu-no-thumb svg { width: 20px; height: 20px; }
}



/* Stage 3: lightweight listing-only additions. */
.hunm-notices{width:100%;max-width:100%;font-family:inherit!important}
.hunm-notices .hu-event-list-wrapper:last-child{margin-bottom:0}
.hunm-empty-state{padding:24px 20px;border:1px solid #e1e6ea;border-radius:10px;background:#f7f9fb;color:#5a6570;text-align:center;font-family:inherit}
.hunm-pagination{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;margin-top:18px;font-family:inherit}
.hunm-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border:1px solid #d8e0e7;border-radius:7px;background:#fff;color:#183d79;text-decoration:none!important;font-weight:600;line-height:1;transition:.18s ease}
.hunm-pagination .page-numbers:hover,.hunm-pagination .page-numbers:focus{border-color:#08a9c6;color:#08a9c6;outline:0}
.hunm-pagination .page-numbers.current{border-color:#183d79;background:#183d79;color:#fff}
.hu-event-list-outer .hu-event-row.hu-notice-no-date .hu-event-title-wrap{padding-inline-start:12px}
.hu-event-list-outer .hu-event-row.hu-notice-no-image .hu-event-title-wrap{padding-inline-end:12px}
@media(max-width:480px){.hunm-empty-state{padding:18px 14px}.hunm-pagination .page-numbers{min-width:32px;height:32px;padding:0 8px;font-size:13px}}

/* ===== Single Notice Page redesign ===== */
.hunm-single-notice{
  --hunm-blue:#143d7a;
  --hunm-blue-dark:#0d2f60;
  --hunm-accent:#0ca8c8;
  --hunm-border:#e5ebf2;
  --hunm-text:#18314f;
  --hunm-muted:#5f6f82;
  --hunm-surface:#ffffff;
  --hunm-bg:#f6f8fb;
  font-family:inherit !important;
  color:var(--hunm-text);
  margin:30px 0 40px;
}
.hunm-single-notice *{box-sizing:border-box}
.hunm-single-shell{max-width:1320px;margin:0 auto;padding:0 16px}
body.single-event_listing .hunm-single-shell{max-width:1400px}

.hunm-breadcrumb-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;flex-wrap:wrap}
.hunm-breadcrumbs{font-size:14px;color:var(--hunm-muted)}
.hunm-breadcrumbs a{color:var(--hunm-muted);text-decoration:none}
.hunm-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hunm-action-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border:1px solid var(--hunm-border);border-radius:12px;background:#fff;color:var(--hunm-blue);font:inherit;font-weight:700;cursor:pointer;box-shadow:0 2px 8px rgba(13,47,96,.04);transition:.18s}
.hunm-action-btn:hover{transform:translateY(-1px);border-color:#cbd8e8;background:#fbfdff}
.hunm-page-header{margin-bottom:22px;text-align:center}
.hunm-title{margin:0;color:var(--hunm-blue);font-family:inherit !important;font-size:clamp(28px,3vw,48px);line-height:1.35;font-weight:800}
.hunm-title-underline{width:86px;height:5px;border-radius:999px;background:var(--hunm-accent);margin:14px auto 0}
.hunm-hero-card{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.hunm-main-column,.hunm-sidebar-card,.hunm-content-card,.hunm-related-card{background:var(--hunm-surface);border:1px solid var(--hunm-border);border-radius:24px;box-shadow:0 10px 28px rgba(13,47,96,.06)}
.hunm-main-column{padding:24px}
.hunm-media-card{overflow:hidden;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbfe);border:1px solid var(--hunm-border)}
.hunm-media-card img{display:block;width:100%;height:auto;max-height:760px;object-fit:contain;background:#fff}
.hunm-summary-grid{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}
.hunm-date-box{padding:18px 12px;border-radius:20px;background:linear-gradient(180deg,#24b6d2 0%, #08a9c6 100%);color:#fff;text-align:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.hunm-date-day{display:block;font-size:54px;line-height:1;font-weight:800;letter-spacing:-1px}
.hunm-date-month{display:block;margin-top:8px;font-size:20px;line-height:1.15;font-weight:700}
.hunm-date-year{display:block;margin-top:8px;font-size:18px;line-height:1.2;opacity:.96}
.hunm-meta-chips{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.hunm-chip{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;background:#eef4fb;color:var(--hunm-blue);font-size:14px;font-weight:700;line-height:1.2}
.hunm-chip-alt{background:#e3f7fb;color:#02758c}
.hunm-chip-soft{background:#f5f7fa;color:#506072;font-weight:600}
.hunm-excerpt{font-size:18px;line-height:1.95;color:#304963}
.hunm-excerpt p{margin:0}
.hunm-share-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid var(--hunm-border)}
.hunm-share-strip-title{font-weight:800;color:var(--hunm-blue)}
.hunm-share-list{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hunm-share-list a{display:inline-flex;align-items:center;justify-content:center;min-width:90px;padding:10px 14px;border-radius:12px;background:var(--hunm-blue);color:#fff !important;text-decoration:none;font-weight:700;transition:.18s}
.hunm-share-list a:hover{background:var(--hunm-blue-dark);transform:translateY(-1px)}
.hunm-sidebar-card{padding:22px;position:sticky;top:24px}
.hunm-sidebar-title{margin:0 0 10px;color:var(--hunm-blue);font-size:26px;font-weight:800}
.hunm-detail-row{display:flex;align-items:flex-start;gap:14px;padding:16px 0;border-bottom:1px solid var(--hunm-border)}
.hunm-detail-row:last-of-type{border-bottom:none}
.hunm-detail-icon{width:46px;height:46px;border-radius:14px;background:#eef4fb;display:flex;align-items:center;justify-content:center;font-size:23px;flex:0 0 46px}
.hunm-detail-label{font-size:14px;font-weight:700;color:var(--hunm-muted);margin-bottom:5px}
.hunm-detail-value{font-size:18px;line-height:1.6;color:var(--hunm-blue);font-weight:700}
.hunm-back-btn{display:block;width:100%;margin-top:18px;padding:16px 18px;border-radius:14px;background:var(--hunm-blue);color:#fff !important;text-align:center;text-decoration:none;font-size:20px;font-weight:800;transition:.18s}
.hunm-back-btn:hover{background:var(--hunm-blue-dark);transform:translateY(-1px)}
.hunm-content-card,.hunm-related-card{margin-top:24px;padding:24px}
.hunm-content-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.hunm-content-header h2{margin:0;color:var(--hunm-blue);font-size:34px;line-height:1.3;font-weight:800}
.hunm-content-body{font-size:18px;line-height:2;color:#23384f}
.hunm-content-body > *:first-child{margin-top:0}
.hunm-content-body img{max-width:100%;height:auto;border-radius:16px}
.hunm-content-body ul,.hunm-content-body ol{padding-inline-start:22px}
.hunm-content-body a{color:#136fb4}
.hunm-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hunm-related-item{overflow:hidden;border:1px solid var(--hunm-border);border-radius:18px;background:#fff;transition:.18s;box-shadow:0 6px 18px rgba(13,47,96,.04)}
.hunm-related-item:hover{transform:translateY(-2px);box-shadow:0 12px 22px rgba(13,47,96,.08)}
.hunm-related-thumb{display:block;aspect-ratio:16/9;background:#f5f7fa}
.hunm-related-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.hunm-related-body{padding:16px}
.hunm-related-body h3{margin:0 0 10px;font-size:22px;line-height:1.55;font-weight:800}
.hunm-related-body h3 a{color:var(--hunm-blue);text-decoration:none}
.hunm-related-date{font-size:14px;color:var(--hunm-muted);font-weight:600}
.hunm-view-all-wrap{text-align:center;margin-top:22px}
.hunm-view-all-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 28px;border:2px solid var(--hunm-blue);border-radius:12px;color:var(--hunm-blue);text-decoration:none;font-weight:800;background:#fff;transition:.18s}
.hunm-view-all-btn:hover{background:var(--hunm-blue);color:#fff !important}

.hunm-dir-rtl .hunm-breadcrumb-row,
.hunm-dir-rtl .hunm-detail-row,
.hunm-dir-rtl .hunm-share-strip,
.hunm-dir-rtl .hunm-content-body,
.hunm-dir-rtl .hunm-excerpt,
.hunm-dir-rtl .hunm-sidebar-card,
.hunm-dir-rtl .hunm-related-body,
.hunm-dir-rtl .hunm-breadcrumbs{text-align:right}
.hunm-dir-ltr .hunm-breadcrumbs,.hunm-dir-ltr .hunm-sidebar-card,.hunm-dir-ltr .hunm-content-body,.hunm-dir-ltr .hunm-excerpt,.hunm-dir-ltr .hunm-related-body{text-align:left}
.hunm-share-strip:not(.is-open) .hunm-share-list{display:flex}

@media (max-width: 1280px){
  .hunm-hero-card{grid-template-columns:1fr;gap:18px}
  .hunm-title{font-size:clamp(25px,2.7vw,40px)}
  .hunm-summary-grid{grid-template-columns:1fr}
  .hunm-date-box{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 18px}
  .hunm-date-day,.hunm-date-month,.hunm-date-year{display:inline-block;margin:0}
  .hunm-date-day{font-size:42px}.hunm-date-month{font-size:18px}.hunm-date-year{font-size:16px}
  .hunm-content-header h2{font-size:30px}
  .hunm-detail-value{font-size:17px}
}
@media (max-width: 991px){
  .hunm-sidebar-card{position:relative;top:auto}
  .hunm-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 767px){
  .hunm-single-notice{margin:20px 0 30px}
  .hunm-single-shell{padding:0 12px}
  .hunm-breadcrumb-row{gap:10px}
  .hunm-action-btn{padding:10px 14px;border-radius:10px}
  .hunm-title{font-size:clamp(21px,7vw,30px);line-height:1.45}
  .hunm-title-underline{width:68px;height:4px;margin-top:10px}
  .hunm-main-column,.hunm-sidebar-card,.hunm-content-card,.hunm-related-card{border-radius:18px}
  .hunm-main-column,.hunm-content-card,.hunm-related-card,.hunm-sidebar-card{padding:16px}
  .hunm-summary-grid{grid-template-columns:1fr;gap:14px}
  .hunm-date-box{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 16px;text-align:center}
  .hunm-date-day,.hunm-date-month,.hunm-date-year{display:inline-block;margin:0}
  .hunm-date-day{font-size:34px}
  .hunm-date-month{font-size:18px}
  .hunm-date-year{font-size:17px}
  .hunm-excerpt,.hunm-content-body{font-size:16px;line-height:1.9}
  .hunm-meta-chips{gap:8px;margin-bottom:12px}
  .hunm-chip{font-size:13px;padding:7px 12px}
  .hunm-share-strip{padding-top:14px;margin-top:14px}
  .hunm-share-list a{min-width:82px;padding:9px 12px;font-size:14px}
  .hunm-sidebar-title{font-size:22px}
  .hunm-detail-row{padding:14px 0}
  .hunm-detail-icon{width:40px;height:40px;flex-basis:40px;font-size:20px;border-radius:12px}
  .hunm-detail-value{font-size:16px}
  .hunm-back-btn{font-size:17px;padding:14px}
  .hunm-content-header h2{font-size:25px}
  .hunm-related-grid{grid-template-columns:1fr}
  .hunm-related-body h3{font-size:18px}
}
@media (max-width: 480px){
  .hunm-breadcrumb-row{align-items:stretch}
  .hunm-top-actions{width:100%}
  .hunm-action-btn{flex:1 1 0;justify-content:center}
  .hunm-main-column,.hunm-content-card,.hunm-related-card,.hunm-sidebar-card{padding:14px}
  .hunm-date-box{gap:8px;padding:12px 14px;border-radius:16px}
  .hunm-date-day{font-size:30px}
  .hunm-date-month{font-size:16px}
  .hunm-date-year{font-size:15px}
  .hunm-share-list{width:100%}
  .hunm-share-list a{flex:1 1 calc(50% - 5px);min-width:0}
}
@media print{
  .hunm-breadcrumb-row,.hunm-related-card,.hunm-share-strip,.hunm-back-btn{display:none !important}
  .hunm-main-column,.hunm-sidebar-card,.hunm-content-card{box-shadow:none;border:1px solid #d8dee7}
  .hunm-hero-card{display:block}
  .hunm-sidebar-card{margin-top:20px}
}

/* ===== v2.4.2: compact typography + redesigned related notices ===== */
.hunm-single-notice .hunm-title{
  font-size:clamp(22px,2vw,32px) !important;
  line-height:1.45 !important;
  font-weight:800 !important;
}
.hunm-single-notice .hunm-title-underline{width:64px;height:4px;margin-top:10px}
.hunm-single-notice .hunm-excerpt{
  font-size:15px !important;
  line-height:1.85 !important;
}
.hunm-single-notice .hunm-content-header h2{
  font-size:22px !important;
  line-height:1.4 !important;
}
.hunm-single-notice .hunm-content-body{
  font-size:15px !important;
  line-height:1.95 !important;
}
.hunm-single-notice .hunm-content-body p,
.hunm-single-notice .hunm-content-body li{
  font-size:15px !important;
  line-height:1.95 !important;
}
.hunm-single-notice .hunm-content-body h1{font-size:24px !important;line-height:1.45 !important}
.hunm-single-notice .hunm-content-body h2{font-size:21px !important;line-height:1.5 !important}
.hunm-single-notice .hunm-content-body h3{font-size:18px !important;line-height:1.55 !important}
.hunm-single-notice .hunm-content-body h4,
.hunm-single-notice .hunm-content-body h5,
.hunm-single-notice .hunm-content-body h6{font-size:16px !important;line-height:1.6 !important}
.hunm-single-notice .hunm-sidebar-title{font-size:19px !important}
.hunm-single-notice .hunm-detail-label{font-size:12px !important}
.hunm-single-notice .hunm-detail-value{font-size:14px !important;line-height:1.55 !important}
.hunm-single-notice .hunm-back-btn{font-size:15px !important;padding:13px 16px}
.hunm-single-notice .hunm-chip{font-size:12px !important;padding:7px 11px}
.hunm-single-notice .hunm-date-day{font-size:38px !important}
.hunm-single-notice .hunm-date-month{font-size:15px !important}
.hunm-single-notice .hunm-date-year{font-size:13px !important}

/* Related notices: clean, fully-clickable cards with consistent media. */
.hunm-single-notice .hunm-related-card{
  padding:22px;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.hunm-single-notice .hunm-related-header{
  margin-bottom:16px;
  padding-bottom:12px;
  border-bottom:1px solid var(--hunm-border);
}
.hunm-single-notice .hunm-related-header h2{font-size:22px !important}
.hunm-single-notice .hunm-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.hunm-single-notice .hunm-related-item{
  min-width:0;
  overflow:hidden;
  border:1px solid #e2e9f1;
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 16px rgba(13,47,96,.055);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.hunm-single-notice .hunm-related-item:hover{
  transform:translateY(-3px);
  border-color:#c7d8ea;
  box-shadow:0 12px 26px rgba(13,47,96,.11);
}
.hunm-single-notice .hunm-related-card-link{
  display:flex;
  flex-direction:column;
  height:100%;
  color:inherit !important;
  text-decoration:none !important;
}
.hunm-single-notice .hunm-related-thumb{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:16/9;
  padding:12px;
  overflow:hidden;
  background:linear-gradient(145deg,#f7f9fc,#eef3f8);
  border-bottom:1px solid #e8edf3;
}
.hunm-single-notice .hunm-related-thumb img{
  width:100%;
  height:100%;
  padding:0;
  object-fit:contain;
  object-position:center;
  border-radius:10px;
  transition:transform .25s ease;
}
.hunm-single-notice .hunm-related-item:hover .hunm-related-thumb img{transform:scale(1.025)}
.hunm-single-notice .hunm-related-category{
  position:absolute;
  inset-block-start:10px;
  inset-inline-start:10px;
  display:inline-flex;
  align-items:center;
  max-width:calc(100% - 20px);
  padding:5px 9px;
  border-radius:999px;
  background:rgba(20,61,122,.94);
  color:#fff;
  font-size:10.5px !important;
  line-height:1.25;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  box-shadow:0 3px 10px rgba(13,47,96,.18);
}
.hunm-single-notice .hunm-related-body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-width:0;
  padding:14px 15px 13px;
}
.hunm-single-notice .hunm-related-body h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  margin:0 !important;
  color:var(--hunm-blue) !important;
  font-family:inherit !important;
  font-size:15px !important;
  line-height:1.6 !important;
  font-weight:750 !important;
}
.hunm-single-notice .hunm-related-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid #edf1f5;
}
.hunm-single-notice .hunm-related-date{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-width:0;
  color:#6b7888;
  font-size:11.5px !important;
  line-height:1.4;
  font-weight:600;
}
.hunm-single-notice .hunm-related-more{
  flex:0 0 auto;
  color:var(--hunm-accent);
  font-size:11.5px !important;
  line-height:1.4;
  font-weight:800;
  white-space:nowrap;
}
.hunm-single-notice .hunm-view-all-wrap{margin-top:18px}
.hunm-single-notice .hunm-view-all-btn{
  padding:10px 22px;
  border-width:1px;
  border-radius:10px;
  font-size:13px !important;
}

@media (max-width:991px){
  .hunm-single-notice .hunm-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .hunm-single-notice .hunm-title{font-size:20px !important;line-height:1.5 !important}
  .hunm-single-notice .hunm-excerpt,
  .hunm-single-notice .hunm-content-body,
  .hunm-single-notice .hunm-content-body p,
  .hunm-single-notice .hunm-content-body li{font-size:14px !important;line-height:1.85 !important}
  .hunm-single-notice .hunm-content-header h2,
  .hunm-single-notice .hunm-related-header h2{font-size:18px !important}
  .hunm-single-notice .hunm-sidebar-title{font-size:17px !important}
  .hunm-single-notice .hunm-related-grid{grid-template-columns:1fr;gap:12px}
  .hunm-single-notice .hunm-related-card-link{display:grid;grid-template-columns:112px minmax(0,1fr);min-height:108px}
  .hunm-single-notice .hunm-related-thumb{height:100%;min-height:108px;aspect-ratio:auto;padding:8px;border-bottom:0;border-inline-end:1px solid #e8edf3}
  .hunm-single-notice .hunm-related-category{inset-block-start:7px;inset-inline-start:7px;max-width:calc(100% - 14px);font-size:9px !important;padding:4px 7px}
  .hunm-single-notice .hunm-related-body{padding:11px 12px}
  .hunm-single-notice .hunm-related-body h3{-webkit-line-clamp:3;font-size:13px !important;line-height:1.55 !important}
  .hunm-single-notice .hunm-related-footer{padding-top:8px;gap:6px}
  .hunm-single-notice .hunm-related-date,.hunm-single-notice .hunm-related-more{font-size:10px !important}
}
@media (max-width:420px){
  .hunm-single-notice .hunm-related-card{padding:12px}
  .hunm-single-notice .hunm-related-card-link{grid-template-columns:92px minmax(0,1fr);min-height:96px}
  .hunm-single-notice .hunm-related-thumb{min-height:96px}
  .hunm-single-notice .hunm-related-more{display:none}
  .hunm-single-notice .hunm-related-body h3{font-size:12.5px !important}
}

/* v2.4.3: notice view counts */
.hunm-single-notice .hunm-view-count{
  font-variant-numeric:tabular-nums;
}
.hunm-single-notice .hunm-view-icon{
  font-size:18px;
}
.hunm-single-notice .hunm-related-meta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex-wrap:wrap;
}
.hunm-single-notice .hunm-related-views{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#6b7888;
  font-size:11.5px !important;
  line-height:1.4;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
@media(max-width:767px){
  .hunm-single-notice .hunm-related-meta{gap:7px}
  .hunm-single-notice .hunm-related-views{font-size:10px !important}
}
