:root {
  --bg: #eef3f8;
  --surface: #ffffff;
  --line: #dbe4ee;
  --text: #203448;
  --muted: #5d7287;
  --topbar: #052a48;
  --orange-1: #ee7d29;
  --orange-2: #de6e21;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}

.site-topbar {
  background: var(--topbar);
  color: #d2e2f1;
  font-size: 13px;
}

.site-topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-topbar__links,
.site-topbar__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-topbar a {
  text-decoration: none;
  color: #e6f1fb;
}

.site-header {
  background: #f8f2e8;
  border-bottom: 1px solid #ebddca;
}

.header-banner {
  position: relative;
  overflow: hidden;
}

.header-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px 0 12px;
}

.brand-main {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
}

.brand-mark {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 4px solid #f4f8fc;
  background: #fff;
  box-shadow: 0 8px 18px rgba(18, 54, 84, 0.12);
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.brand-text__eyebrow {
  margin: 0 0 6px;
  color: #b55b15;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.brand-text__title {
  margin: 0;
  color: #bf5d10;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.brand-text__subtitle {
  margin: 8px 0 0;
  max-width: 980px;
  font-size: 13px;
  color: #264561;
  line-height: 1.55;
}

.site-nav {
  background: linear-gradient(180deg, var(--orange-1), var(--orange-2));
}

.site-nav__inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.primary-menu a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 15px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.primary-menu li:first-child a {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-tools {
  display: flex;
  gap: 8px;
}

.nav-tools a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
}

.portal-home {
  padding: 18px 0 28px;
}

.notice-line {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: #f5f8fc;
}

.notice-line span {
  background: linear-gradient(180deg, #f08a2f, #e87624);
  color: #fff;
  font-weight: 700;
  padding: 12px 14px;
  white-space: nowrap;
}

.notice-line p {
  margin: 0;
  padding: 12px 16px;
  color: #1f3950;
  font-weight: 600;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 18px;
}

.portal-side {
  display: grid;
  gap: 18px;
}

.portal-two-col {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.portal-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.portal-box__header {
  background: linear-gradient(180deg, #f08a2f, #e87624);
}

.portal-box__header h2 {
  margin: 0;
  padding: 12px 16px;
  color: #fff;
  font-size: 28px;
  font-size: 24px;
}

.portal-box__body {
  padding: 16px;
  line-height: 1.7;
  color: #2d465e;
}

.portal-main-article h3 {
  margin: 0 0 10px;
  font-size: 28px;
  font-size: 30px;
  line-height: 1.3;
  color: #0f2f4a;
}

.portal-main-article h4 {
  margin: 14px 0 8px;
  font-size: 18px;
  color: #173b59;
}

.portal-main-article h5 {
  margin: 10px 0 6px;
  font-size: 16px;
  color: #234864;
}

.portal-main-article .portal-bullet-list {
  padding: 2px 0 0 18px;
  margin: 0 0 10px;
}

.portal-main-article .subsection {
  margin-bottom: 6px;
  border-left: 3px solid #e8f0f7;
  padding-left: 10px;
}

.news-meta {
  margin: 0 0 8px;
  font-size: 14px;
  color: #698198;
}

.portal-bullet-list {
  margin: 0;
  padding: 16px 18px 18px 34px;
}

.portal-bullet-list li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.meta-list p {
  margin: 0 0 9px;
}

.attach-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.attach-item {
  display: block;
  border: 1px dashed #e6b17f;
  background: #fff8f1;
  color: #7e4b1d;
  text-decoration: none;
  padding: 9px 11px;
  border-radius: 6px;
  font-weight: 600;
}

.attach-note-inline {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  color: #8b633a;
  line-height: 1.45;
}

.site-footer {
  border-top: 1px solid #d9e1ec;
  background: #f3f6fb;
}

.site-footer__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #486076;
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-nav__inner {
    flex-direction: column;
    justify-content: center;
    padding: 10px 0 12px;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-main {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .notice-line {
    grid-template-columns: 1fr;
  }

  .primary-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .primary-menu li:first-child a {
    border-left: 0;
  }
}
