:root {
  --portal-brand: #00ccbf;
  --portal-brand-dark: #00b5aa;
  --portal-text: #1f2937;
  --portal-text-muted: #667085;
  --portal-border: #d8dee8;
  --portal-bg: #f5f7fb;
  --portal-bg-muted: #eef2f7;
  --portal-card: #ffffff;
  --portal-radius-sm: 2px;
  --portal-radius-md: 3px;
  --portal-shadow-soft: none;
  --portal-section-gap: 8px;
  --portal-card-padding: 8px;
  --portal-title-gap: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--portal-text);
  background: var(--portal-bg);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--portal-brand-dark); }
mark { background: #fff3bf; color: #8a5a00; padding: 0 2px; }

.portal-container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 10px; }
.portal-main { padding-bottom: 92px; }
.reading-width { max-width: 860px; }

.portal-topbar {
  height: 26px;
  border-bottom: 1px solid var(--portal-border);
  background: #f7f9fc;
  color: var(--portal-text-muted);
  font-size: 11px;
}
.portal-topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.portal-topbar-links a { color: #637083; }
.portal-topbar-links a:hover { color: var(--portal-brand); }

.portal-header-main { height: 56px; border-bottom: 1px solid var(--portal-border); background: #fff; }
.portal-header-main-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.portal-logo-badge {
  width: 30px;
  height: 30px;
  border-radius: var(--portal-radius-sm);
  background: var(--portal-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-nav { display: flex; align-items: center; gap: 12px; min-width: 0; }
.portal-nav-item { position: relative; font-size: 13px; color: #2a3648; }
.portal-nav-item > a { display: inline-block; line-height: 34px; border-bottom: 2px solid transparent; }
.portal-nav-item:hover > a,
.portal-nav-item.is-active > a { color: var(--portal-brand); border-bottom-color: var(--portal-brand); }

.portal-nav-sub {
  position: absolute;
  left: 0;
  top: 34px;
  min-width: 188px;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-sm);
  box-shadow: var(--portal-shadow-soft);
  background: #fff;
  display: none;
  z-index: 30;
}
.portal-nav-item:hover .portal-nav-sub { display: block; }
.portal-nav-sub a { display: block; padding: 7px 10px; font-size: 12px; border-bottom: 1px solid #edf1f7; }
.portal-nav-sub a:last-child { border-bottom: 0; }
.portal-nav-sub a:hover,
.portal-nav-sub a.is-active { color: var(--portal-brand); background: #f3f7ff; }

.portal-search { display: flex; align-items: center; }
.portal-search input {
  width: 220px;
  height: 30px;
  border: 1px solid var(--portal-border);
  border-right: 0;
  border-radius: var(--portal-radius-sm) 0 0 var(--portal-radius-sm);
  padding: 0 9px;
  font-size: 12px;
}
.portal-search button,
.portal-btn-primary {
  height: 30px;
  min-height: 30px;
  border: 1px solid var(--portal-brand);
  background: var(--portal-brand);
  color: #fff;
  font-size: 12px;
  padding: 0 10px;
  border-radius: 0 var(--portal-radius-sm) var(--portal-radius-sm) 0;
}
.portal-search button:hover,
.portal-btn-primary:hover { background: var(--portal-brand-dark); border-color: var(--portal-brand-dark); color: #fff; }
.portal-mobile-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-sm);
  background: #fff;
  font-size: 12px;
}

.portal-announcement { background: #fff; border-bottom: 1px solid var(--portal-border); }
.portal-announcement-inner { height: 30px; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.portal-announcement-label { font-size: 11px; color: #fff; background: var(--portal-brand); padding: 0 6px; border-radius: 2px; line-height: 17px; }
.portal-announcement-link { font-size: 12px; color: #28374d; }
.portal-announcement-more { font-size: 11px; color: var(--portal-brand); }
.portal-announcement-more:hover { color: var(--portal-brand-dark); }
.portal-announcement-close {
  width: 16px;
  height: 16px;
  border: 0;
  background: transparent;
  color: #95a1b3;
  font-size: 12px;
  align-items: center;
  justify-content: center;
}
.portal-announcement-close:hover { color: #64748b; }

.portal-breadcrumb { color: var(--portal-text-muted); font-size: 12px; padding: 8px 0 9px; }
.portal-breadcrumb a:hover { color: var(--portal-brand); }

.portal-section {
  background: var(--portal-card);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-md);
  padding: 9px;
  margin-bottom: var(--portal-section-gap);
}
.portal-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--portal-border);
  padding-bottom: 7px;
  margin-bottom: var(--portal-title-gap);
}
.portal-section-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.portal-section-title::before {
  content: "";
  width: 2px;
  height: 13px;
  border-radius: 1px;
  background: var(--portal-brand);
}
.portal-more-link { font-size: 11px; color: var(--portal-brand); }
.portal-more-link:hover { color: var(--portal-brand-dark); }

.portal-tabs { overflow-x: auto; margin-bottom: 7px; }
.portal-tabs-track { display: inline-flex; min-width: 100%; gap: 5px; padding-bottom: 1px; }
.portal-tab-btn {
  border: 1px solid var(--portal-border);
  background: #fff;
  color: #2b3647;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: var(--portal-radius-sm);
  white-space: nowrap;
}
.portal-tab-btn.is-active { border-color: #9bb9e6; background: #f0f6ff; color: var(--portal-brand-dark); }

.portal-grid-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.portal-card {
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-sm);
  background: #fff;
  padding: var(--portal-card-padding);
  transition: border-color .2s ease, background-color .2s ease;
}
.portal-card:hover { border-color: #9ebbe6; background: #fff; }
.portal-card-title { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.35; }
.portal-card-summary { margin: 6px 0 0; font-size: 12px; color: var(--portal-text-muted); line-height: 1.55; }
.portal-meta-line,
.portal-sub-meta { font-size: 12px; color: var(--portal-text-muted); }
.portal-sub-meta { margin-top: 6px; }

.portal-item-card-top { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: center; }
.portal-item-logo {
  width: 34px;
  height: 34px;
  border: 1px solid var(--portal-border);
  border-radius: 3px;
  object-fit: cover;
  background: #f4f6fa;
}

.portal-product-thumb-wrap {
  border: 1px solid var(--portal-border);
  border-radius: 3px;
  background: #f4f6fa;
  overflow: hidden;
}
.portal-product-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

.portal-news-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  border-bottom: 1px dashed #e5ebf3;
  padding: 6px 0;
}
.portal-news-list-item:last-child { border-bottom: 0; }
.portal-news-title { font-size: 13px; font-weight: 500; line-height: 1.4; }
.portal-news-date { font-size: 11px; color: var(--portal-text-muted); white-space: nowrap; }

.portal-filter-row { margin-top: 10px; display: flex; gap: 6px; overflow-x: auto; }
.portal-filter-chip {
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-sm);
  background: #fff;
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
}
.portal-filter-chip:hover,
.portal-filter-chip.is-active { border-color: var(--portal-brand); color: var(--portal-brand-dark); background: #edf4ff; }

.portal-list-article {
  border-bottom: 1px solid #ebeff5;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.portal-list-article:last-child { border-bottom: 0; }
.portal-list-article-title { font-size: 16px; line-height: 1.4; font-weight: 600; }
.portal-list-article-meta { font-size: 12px; color: var(--portal-text-muted); }
.portal-list-article-excerpt { font-size: 13px; color: #4b5565; line-height: 1.6; }

.portal-btn-secondary {
  height: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--portal-border);
  background: #fff;
  border-radius: var(--portal-radius-sm);
  color: #2f3a4b;
  font-size: 13px;
  padding: 0 12px;
}
.portal-btn-secondary:hover { border-color: var(--portal-brand); color: var(--portal-brand-dark); }
.portal-cta-row { display: flex; flex-wrap: wrap; gap: 8px; }

.portal-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.portal-media-cell { border: 1px solid var(--portal-border); border-radius: var(--portal-radius-sm); background: #fff; padding: 4px; }
.portal-media-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 3px; display: block; }

.portal-block { border: 1px solid var(--portal-border); border-radius: var(--portal-radius-sm); background: #fff; padding: 10px; }
.portal-block-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.portal-block-body { font-size: 13px; }

.portal-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.portal-feature-item { border: 1px solid var(--portal-border); border-radius: 4px; background: #fafbfd; padding: 8px; }
.portal-feature-title { margin: 0; font-size: 13px; font-weight: 600; }
.portal-feature-desc { margin: 4px 0 0; font-size: 12px; color: var(--portal-text-muted); }

.portal-faq-list { display: grid; gap: 8px; }
.portal-faq-item { border: 1px solid var(--portal-border); border-radius: 4px; background: #fff; }
.portal-faq-q {
  width: 100%;
  border: 0;
  background: #f8fbff;
  border-bottom: 1px solid var(--portal-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #223246;
}
.portal-faq-a { padding: 8px 10px; font-size: 12px; color: #4b5565; display: none; }
.portal-faq-item.is-open .portal-faq-a { display: block; }
.portal-faq-item.is-open .portal-faq-icon { transform: rotate(45deg); }
.portal-faq-icon { transition: transform .2s ease; }

.portal-spec-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.portal-spec-table th,
.portal-spec-table td { border: 1px solid var(--portal-border); padding: 7px 8px; text-align: left; }
.portal-spec-table th { width: 32%; background: #f3f6fb; color: #334155; }

.portal-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.portal-gallery-item { display: block; border: 1px solid var(--portal-border); border-radius: 4px; overflow: hidden; background: #f6f8fb; }

.portal-video-wrap { border: 1px solid var(--portal-border); border-radius: 4px; overflow: hidden; }
.portal-video,
.portal-video-placeholder img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.portal-video-frame iframe { width: 100%; min-height: 280px; border: 0; display: block; }

.portal-related-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 8px; }
.portal-empty {
  border: 1px dashed var(--portal-border);
  border-radius: var(--portal-radius-sm);
  background: #fbfcff;
  color: var(--portal-text-muted);
  text-align: center;
  padding: 16px 12px;
  font-size: 13px;
}

.portal-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.portal-link-list a {
  border: 1px solid var(--portal-border);
  border-radius: 3px;
  background: #fff;
  padding: 6px 8px;
  font-size: 12px;
  color: #334155;
  text-align: center;
}
.portal-link-list a:hover { border-color: var(--portal-brand); color: var(--portal-brand-dark); }

.portal-home { padding-top: 4px; }
.portal-home-cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--portal-border);
  background: #fff;
  margin-bottom: 8px;
}
.portal-home-cat-strip a {
  font-size: 12px;
  color: #243244;
  line-height: 30px;
  padding: 0 10px;
  border-right: 1px solid #edf2f8;
  border-bottom: 1px solid #edf2f8;
}
.portal-home-cat-strip a:hover,
.portal-home-cat-strip a.is-active {
  color: var(--portal-brand-dark);
  background: #f0f5fe;
}
.portal-home-section { padding: 8px; }
.portal-home-news .portal-news-list-item { border-bottom-style: solid; border-bottom-color: #edf1f6; }
.portal-home-news .portal-section-header { margin-bottom: 6px; }
.portal-home-product .portal-home-grid { gap: 7px; }
.portal-home-tool .portal-home-grid { gap: 7px; }
.portal-home-friend { padding-bottom: 9px; }

.portal-section-header-news .portal-section-title { font-size: 17px; }
.portal-section-header-news .portal-section-title::before { height: 14px; }
.portal-section-header-product .portal-section-title { font-size: 16px; }
.portal-section-header-tool .portal-section-title { font-size: 15px; }
.portal-section-header-friend .portal-section-title { font-size: 15px; }

.portal-tab-group-tool .portal-tabs-track,
.portal-tab-group-product .portal-tabs-track { gap: 4px; }

.portal-item-card-home-dense { padding: 7px; }
.portal-item-card-home-dense .portal-item-card-top { grid-template-columns: 28px 1fr; gap: 7px; }
.portal-item-card-home-dense .portal-item-logo { width: 28px; height: 28px; }
.portal-item-card-home-dense .portal-card-title { font-size: 13px; font-weight: 600; line-height: 1.3; }
.portal-item-card-home-dense .portal-card-summary {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: #566272;
  -webkit-line-clamp: 2;
}
.portal-item-card-home-dense .portal-sub-meta { margin-top: 5px; font-size: 11px; }

.portal-product-card-home-product { padding: 7px; }
.portal-product-card-home-product .portal-product-thumb-wrap { border: 1px solid #e5ebf3; }
.portal-product-card-home-product .portal-product-thumb { aspect-ratio: 16/8.8; }
.portal-product-card-home-product .portal-card-title { font-size: 13px; line-height: 1.3; }
.portal-product-card-home-product .portal-card-summary {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: #556377;
}
.portal-product-card-home-product .portal-sub-meta { margin-top: 5px; font-size: 11px; }

.portal-news-list-item-home-news { padding: 5px 0; }
.portal-news-list-item-home-news .portal-news-title { font-size: 13px; line-height: 1.35; }
.portal-news-list-item-home-news .portal-sub-meta { margin-top: 2px; font-size: 11px; }
.portal-news-list-item-home-news .portal-news-date { font-size: 11px; color: #7a8697; }

.portal-home-link-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #edf1f7;
  border-left: 1px solid #edf1f7;
}
.portal-home-link-list a {
  border: 0;
  border-right: 1px solid #edf1f7;
  border-bottom: 1px solid #edf1f7;
  border-radius: 0;
  text-align: left;
  padding: 6px 8px;
  background: #fff;
  font-size: 12px;
}
.portal-home-link-list a:hover { background: #f8fbff; color: var(--portal-brand-dark); }

.portal-homepage { background: #eef0f3; }
.portal-home-shell { display: flex; min-height: 100vh; }
.portal-home-sidebar {
  width: 276px;
  flex: 0 0 276px;
  background: #262a30;
  border-right: 1px solid #1d2128;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  flex-direction: column;
}
.portal-home-sidebar-brand {
  height: 86px;
  padding: 12px 16px;
  border-bottom: 1px solid #343a43;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e6ecf4;
}
.portal-home-sidebar-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #19bbb3;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.portal-home-sidebar-text { font-size: 24px; font-weight: 700; letter-spacing: .3px; }
.portal-home-sidebar-nav { padding: 10px 0; overflow-y: auto; }
.portal-home-sidebar-link {
  height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: #d5dce6;
  border-left: 2px solid transparent;
  position: relative;
}
.portal-home-sidebar-link::after {
  content: ">";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #808999;
  font-size: 12px;
}
.portal-home-sidebar-link:hover { color: #fff; background: #2d323a; }
.portal-home-sidebar-link.is-active {
  color: #f2f6fc;
  background: #2e3440;
  border-left-color: #41c8bf;
}
.portal-home-sidebar-link.is-active::after { color: #b4bfce; }
.portal-home-sidebar-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7e8796;
  flex: 0 0 auto;
}
.portal-home-sidebar-link.is-active .portal-home-sidebar-dot { background: #41c8bf; }
.portal-home-body {
  flex: 1 1 auto;
  width: calc(100% - 276px);
  margin-left: 276px;
  min-width: 0;
}

.portal-homepage .portal-topbar { display: none; }
.portal-homepage .portal-header-main {
  height: 62px;
  border-bottom: 1px solid #d6dde8;
  background: #fff;
}
.portal-homepage .portal-header-main-inner { gap: 10px; }
.portal-homepage .portal-header-start,
.portal-homepage .portal-header-end {
  width: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 68px;
}
.portal-homepage .portal-toolbar-icon {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #5d6777;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}
.portal-homepage .portal-nav {
  flex: 1;
  justify-content: flex-start;
  gap: 14px;
}
.portal-homepage .portal-nav-item { font-size: 13px; font-weight: 700; }
.portal-homepage .portal-nav-item > a { line-height: 40px; }
.portal-homepage .portal-nav-sub { top: 40px; }

.portal-homepage .portal-announcement {
  background: #f9fbff;
  border-bottom: 1px solid #e5eaf2;
}
.portal-homepage .portal-announcement-inner {
  height: 26px;
  gap: 6px;
  font-size: 11px;
}
.portal-homepage .portal-announcement-label {
  line-height: 15px;
  padding: 0 5px;
  font-size: 10px;
}
.portal-homepage .portal-announcement-link { font-size: 11px; }

.portal-home-refine { padding-top: 4px; }
.portal-homepage .portal-main { padding-bottom: 18px; }
.portal-homepage .portal-home-cat-strip { margin-bottom: 6px; }

.portal-home-hero-row {
  display: grid;
  grid-template-columns: 2.15fr 1.05fr 1fr;
  gap: 8px;
  margin-bottom: 7px;
}
.portal-home-hero-main,
.portal-home-hero-sub {
  border: 1px solid #dce3ef;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.portal-home-hero-main img,
.portal-home-hero-sub img,
.portal-home-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portal-home-hero-main { height: 328px; }
.portal-home-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0));
  color: #fff;
  padding: 14px 14px 12px;
}
.portal-home-hero-caption h3 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.15; }
.portal-home-hero-caption p { margin: 6px 0 0; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .9); }
.portal-home-hero-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: 328px;
}
.portal-home-hero-sub span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .54), rgba(0, 0, 0, 0));
}
.portal-home-news-panel {
  border: 1px solid #dce3ef;
  border-radius: 2px;
  background: #fff;
  height: 328px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.portal-home-news-head {
  height: 42px;
  border-bottom: 1px solid #e7edf6;
  background: #f3f5f8;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.portal-home-news-head strong { font-size: 18px; line-height: 1; }
.portal-home-news-head a { font-size: 12px; color: #4b5563; }
.portal-home-news-body { padding: 4px 10px; overflow-y: auto; }

.portal-home-banner-strips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
.portal-home-strip {
  height: 86px;
  border: 1px solid #dce3ef;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

.portal-homepage .portal-section { border-radius: 2px; padding: 7px; }
.portal-homepage .portal-section-header { padding-bottom: 6px; margin-bottom: 6px; }
.portal-homepage .portal-section-title { font-size: 16px; font-weight: 700; letter-spacing: .1px; }
.portal-homepage .portal-section-title::before { width: 16px; height: 14px; border: 1px solid #d1d9e8; background: transparent; }
.portal-homepage .portal-more-link { font-size: 12px; font-weight: 600; color: #4e5b6d; }

.portal-homepage .portal-tab-btn {
  font-size: 14px;
  padding: 3px 9px;
  border-color: #d9e2ef;
  color: #5f6b7c;
}
.portal-homepage .portal-tab-btn.is-tool.is-active {
  border-color: #31beb5;
  color: #1c8f89;
  background: #e8f8f6;
}
.portal-homepage .portal-home-grid { gap: 8px; }
.portal-homepage .portal-item-card-home-dense,
.portal-homepage .portal-product-card-home-product { padding: 7px; min-height: 100px; }
.portal-homepage .portal-item-card-home-dense .portal-item-card-top { grid-template-columns: 24px 1fr; gap: 6px; }
.portal-homepage .portal-item-card-home-dense .portal-item-logo { width: 24px; height: 24px; border-radius: 999px; border-color: #d7dfeb; }
.portal-homepage .portal-item-card-home-dense .portal-card-title,
.portal-homepage .portal-product-card-home-product .portal-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.portal-homepage .portal-item-card-home-dense .portal-card-summary,
.portal-homepage .portal-product-card-home-product .portal-card-summary {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.2;
  color: #6b7687;
}
.portal-homepage .portal-item-card-home-dense .portal-sub-meta,
.portal-homepage .portal-product-card-home-product .portal-sub-meta {
  margin-top: 4px;
  font-size: 12px;
}
.portal-homepage .portal-product-top {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 7px;
  align-items: center;
}
.portal-homepage .portal-product-logo {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #d7dfeb;
  object-fit: cover;
  background: #f3f6fb;
}

.portal-homepage .portal-news-list-item-home-news {
  padding: 6px 0;
  gap: 8px;
}
.portal-homepage .portal-news-list-item-home-news .portal-news-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.32;
}
.portal-homepage .portal-news-list-item-home-news .portal-sub-meta { font-size: 11px; line-height: 1.2; }
.portal-homepage .portal-news-list-item-home-news .portal-news-date { font-size: 11px; }

.portal-home-search-modal {
  max-width: 940px;
}
.portal-search-layer {
  position: fixed;
  inset: 62px 0 auto;
  background: rgba(255, 255, 255, .97);
  z-index: 44;
  border-top: 1px solid #d9e1ee;
  border-bottom: 1px solid #d9e1ee;
}
.portal-search-modal {
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 14px 10px;
}
.portal-search-modal-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}
.portal-search-modal-tabs button {
  border: 0;
  background: transparent;
  color: #697588;
  font-size: 12px;
  padding: 0;
}
.portal-search-modal-tabs button.is-active { color: #1f2f46; font-weight: 700; }
.portal-search-modal-form { display: flex; align-items: center; }
.portal-search-modal-form input {
  height: 42px;
  border: 1px solid #cfd8e8;
  border-right: 0;
  padding: 0 12px;
  font-size: 14px;
  flex: 1;
}
.portal-search-modal-form button {
  width: 86px;
  height: 42px;
  border: 1px solid #1f2f46;
  background: #1f2f46;
  color: #fff;
  font-size: 13px;
}
.portal-search-hot {
  margin-top: 7px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: #667689;
}
.portal-search-hot a {
  border: 1px solid #d7dfeb;
  padding: 2px 7px;
  color: #516175;
  background: #fff;
}
.portal-search-close {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #d8e0ed;
  background: #fff;
  color: #748397;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 8px;
}

.portal-home-float-btn {
  position: fixed;
  right: 14px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #3ec9c0;
  background: #31beb5;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  z-index: 39;
}

.portal-pagination { margin-top: 12px; text-align: center; }
.portal-pagination .pagination,
.portal-pagination ul { list-style: none; margin: 0; padding: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.portal-pagination li { list-style: none; }
.portal-pagination a,
.portal-pagination span {
  min-width: 30px;
  height: 30px;
  border: 1px solid var(--portal-border);
  border-radius: 3px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #334155;
  background: #fff;
}
.portal-pagination a:hover { border-color: var(--portal-brand); color: var(--portal-brand-dark); }
.portal-pagination .active span,
.portal-pagination .current { border-color: var(--portal-brand); background: #edf4ff; color: var(--portal-brand-dark); }
.portal-pagination .disabled span,
.portal-pagination .disabled a { color: #9aa4b2; background: #fafbfd; border-color: #e8edf5; }

.portal-mobile-drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .28);
  z-index: 48;
}
.portal-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 84%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  border-left: 1px solid var(--portal-border);
  z-index: 49;
  transform: translateX(100%);
  transition: transform .2s ease;
}
.portal-mobile-drawer.is-open { transform: translateX(0); }
.portal-mobile-drawer section.is-active > a { color: var(--portal-brand-dark); }

.portal-mobile-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--portal-border);
  z-index: 36;
}
.portal-mobile-bottom-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.portal-mobile-bottom-tabs button {
  height: 40px;
  border: 0;
  border-right: 1px solid var(--portal-border);
  background: #fff;
  font-size: 12px;
}
.portal-mobile-bottom-tabs button:last-child { border-right: 0; }
.portal-mobile-bottom-tabs button.is-active { background: #edf4ff; color: var(--portal-brand-dark); }
.portal-mobile-bottom-panels { border-top: 1px solid var(--portal-border); background: #f8fafc; max-height: 180px; overflow-y: auto; }
.portal-mobile-bottom-panel { display: none; padding: 8px 10px; }
.portal-mobile-bottom-panel.is-active { display: block; }
.portal-mobile-bottom-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.portal-mobile-bottom-links a {
  border: 1px solid var(--portal-border);
  border-radius: 3px;
  background: #fff;
  padding: 6px 8px;
  font-size: 12px;
}

.portal-footer { background: #fff; border-top: 1px solid var(--portal-border); margin-top: 6px; }
.portal-footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.portal-footer-group-title { font-size: 12px; font-weight: 700; margin-bottom: 6px; color: #1f2d42; }
.portal-footer-link { display: block; margin-bottom: 5px; font-size: 12px; color: #667689; }
.portal-footer-link:hover { color: var(--portal-brand-dark); }

.portal-line-2,
.portal-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portal-line-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portal-line-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-content { font-size: 14px; line-height: 1.75; color: #243041; }
.portal-content h1,
.portal-content h2,
.portal-content h3,
.portal-content h4 { margin: 1.1em 0 .55em; line-height: 1.35; color: #172132; }
.portal-content h1 { font-size: 24px; }
.portal-content h2 { font-size: 20px; }
.portal-content h3 { font-size: 17px; }
.portal-content h4 { font-size: 15px; }
.portal-content p { margin: 0 0 .9em; }
.portal-content ul,
.portal-content ol { margin: 0 0 .9em 1.4em; padding: 0; }
.portal-content li { margin-bottom: .35em; }
.portal-content blockquote { margin: .9em 0; border-left: 3px solid var(--portal-brand); background: #f5f8ff; padding: 8px 10px; color: #334155; }
.portal-content img { max-width: 100%; height: auto; border: 1px solid var(--portal-border); border-radius: 4px; display: block; margin: .8em auto; }
.portal-content table { width: 100%; border-collapse: collapse; margin: .9em 0; font-size: 13px; }
.portal-content th,
.portal-content td { border: 1px solid var(--portal-border); padding: 7px 8px; text-align: left; }
.portal-content th { background: #f3f6fb; }
.portal-content a { color: var(--portal-brand); text-decoration: underline; }
.portal-content a:hover { color: var(--portal-brand-dark); }
.portal-content code { background: #f2f4f8; border: 1px solid #e6eaf1; border-radius: 3px; padding: 1px 4px; font-size: 12px; }
.portal-content pre { background: #111827; color: #f8fafc; border-radius: 4px; padding: 10px; overflow-x: auto; margin: .9em 0; }
.portal-content pre code { border: 0; background: transparent; color: inherit; padding: 0; }
.portal-content hr { border: 0; border-top: 1px solid var(--portal-border); margin: 1em 0; }

/* Home source-mapped layout */
.customize-width { max-width: 1600px; margin: 0 auto; }
.portal-homepage .portal-container { max-width: none; padding: 0 14px; }
.portal-homepage .portal-home-shell { background: #eceef2; }
.portal-homepage .portal-home-sidebar {
  width: 220px;
  flex: 0 0 220px;
}
.portal-homepage .portal-home-body {
  width: calc(100% - 220px);
  margin-left: 220px;
}
.portal-homepage .portal-home-sidebar-brand {
  height: 98px;
  padding: 10px 14px;
}
.portal-homepage .portal-home-sidebar-text { font-size: 16px; }
.portal-homepage .portal-home-sidebar-link {
  height: 52px;
  font-size: 14px;
  padding: 0 12px 0 16px;
}
.portal-homepage .portal-home-sidebar-dot { width: 7px; height: 7px; }

.portal-homepage .portal-header-main { height: 62px; }
.portal-homepage .portal-header-main-inner { gap: 0; }
.portal-homepage .header-mini-btn,
.portal-homepage .nav-search {
  width: 58px;
  flex: 0 0 58px;
}
.portal-homepage .site-menu {
  flex: 1;
  gap: 18px;
}
.portal-homepage .site-menu .portal-nav-item {
  font-size: 15px;
  font-weight: 700;
}
.portal-homepage .site-menu .portal-nav-item > a { line-height: 38px; }

.portal-homepage .portal-announcement { margin: 6px 0; border: 1px solid #dde3ec; border-radius: 2px; }
.portal-homepage .portal-announcement-inner {
  height: 28px;
  padding: 0 8px;
  gap: 6px;
}
.portal-homepage .portal-announcement-label { font-size: 10px; line-height: 16px; }
.portal-homepage .portal-announcement-link { font-size: 11px; }

.portal-homepage .swiper-widgets-card {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}
.portal-homepage .swiper-widget-item { display: block; }
.portal-homepage .swiper-widgets-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px 0;
}
.portal-homepage .swiper-widgets-dots button {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: #cbd5e2;
}
.portal-homepage .swiper-widgets-dots button.is-active { background: #00ccbf; }

.portal-homepage .media { display: block; overflow: hidden; background: #f3f6fb; }
.portal-homepage .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portal-homepage .media-30x9 { aspect-ratio: 30/9; }
.portal-homepage .media-21x9 { aspect-ratio: 21/9; }

.portal-homepage .slice-article { margin-bottom: 10px; }
.portal-homepage .slice-article .row.no-gutters {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}
.portal-homepage .slice-article .col-12,
.portal-homepage .slice-article .col-md-7,
.portal-homepage .slice-article .col-lg-8,
.portal-homepage .slice-article .col-xl-6,
.portal-homepage .slice-article .col-md-5,
.portal-homepage .slice-article .col-lg-4,
.portal-homepage .slice-article .col-xl-3 {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.portal-homepage .slice-article .d-none { display: none; }
.portal-homepage .slice-article .d-flex { display: flex; }
.portal-homepage .slice-article .flex-column { flex-direction: column; }
.portal-homepage .slice-article .justify-content-between { justify-content: space-between; }
.portal-homepage .slice-article .h-100 { height: 100%; }
.portal-homepage .slice-article .mt-4 { margin-top: 14px; }
.portal-homepage .slice-article .mb-0 { margin-bottom: 0; }
.portal-homepage .slice-article .mb-2 { margin-bottom: 8px; }
.portal-homepage .slice-article .mr-2 { margin-right: 8px; }
.portal-homepage .slice-article .rounded-xl { border-radius: 4px; }
.portal-homepage .slice-article .overflow-hidden { overflow: hidden; }

.portal-homepage .slice-article .swiper.swiper-post-module.rounded-xl {
  position: relative;
  border: 1px solid #dce3ef;
  background: #fff;
  overflow: hidden;
}
.portal-homepage .slice-article .swiper-post-module .swiper-wrapper {
  position: relative;
}
.portal-homepage .slice-article .swiper-post-module .swiper-slide.media.media-21x9 {
  display: none;
}
.portal-homepage .slice-article .swiper-post-module .swiper-slide.media.media-21x9.is-active {
  display: block;
}
.portal-homepage .slice-article .media-content.media-title-bg {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.portal-homepage .slice-article .carousel-caption.d-none.d-md-block {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .56), rgba(0, 0, 0, 0));
}
.portal-homepage .slice-article .swiper-pagination.carousel-blog {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  display: flex;
  gap: 5px;
}
.portal-homepage .slice-article .swiper-pagination.carousel-blog .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  display: inline-block;
  cursor: pointer;
}
.portal-homepage .slice-article .swiper-pagination.carousel-blog .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 14px;
  background: #fff;
}

.portal-homepage .slice-article .media.media-21x9.rounded-xl {
  border: 1px solid #dce3ef;
  overflow: hidden;
}
.portal-homepage .slice-article .hero-side-stack {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.portal-homepage .slice-article .hero-side-card {
  margin-bottom: 0 !important;
}
.portal-homepage .slice-article .hero-side-card + .hero-side-card {
  margin-top: 8px !important;
}
.portal-homepage .slice-article .media-title.d-none.d-md-block.overflowClip_1 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-homepage .slice-article .card.new-news.mb-0.overflow-hidden.rounded-xl {
  border: 1px solid #dce3ef;
  background: #fff;
  height: 286px;
  min-height: 0;
  position: relative;
}
.portal-homepage .slice-article .news_title {
  margin: 0;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #1f2f45;
  border-bottom: 1px solid #e7edf6;
  background: #f1f4f8;
}
.portal-homepage .slice-article .news_all_btn.text-xs {
  position: absolute;
  top: 0;
  right: 12px;
  height: 40px;
  line-height: 40px;
  color: #5c6b80;
  font-size: 12px;
}
.portal-homepage .slice-article .card.new-news ul {
  list-style: none;
  margin: 0;
  padding: 6px 12px;
  height: calc(100% - 40px);
  overflow-y: auto;
}
.portal-homepage .slice-article .card.new-news ul li {
  padding: 7px 0;
  border-bottom: 1px solid #edf1f7;
}
.portal-homepage .slice-article .card.new-news ul li:last-child {
  border-bottom: 0;
}
.portal-homepage .slice-article .card.new-news ul li > i.iconfont.icon-point {
  font-size: 10px;
  color: #8b97aa;
  margin-right: 6px;
}
.portal-homepage .slice-article .card.new-news ul li > a.text-sm {
  display: inline-block;
  max-width: calc(100% - 18px);
  vertical-align: top;
  font-size: 13px;
  line-height: 1.35;
  color: #2b384c;
}
.portal-homepage .slice-article .card.new-news ul li > a.text-sm span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portal-homepage .slice-article .card.new-news ul li .d-flex.flex-fill.text-xs.text-muted {
  display: flex;
  align-items: center;
  margin-top: 4px;
  font-size: 11px;
  color: #8a95a6;
}
.portal-homepage .slice-article .card.new-news ul li .d-flex.flex-fill.text-xs.text-muted .flex-fill {
  flex: 1;
}

@media (min-width: 768px) {
  .portal-homepage .slice-article .col-md-7 { width: 58.333333%; }
  .portal-homepage .slice-article .col-md-5 { width: 41.666667%; }
  .portal-homepage .slice-article .pl-md-2 { padding-left: 8px; }
  .portal-homepage .slice-article .mt-md-0 { margin-top: 0; }
  .portal-homepage .slice-article .d-md-block { display: block; }
}
@media (min-width: 992px) {
  .portal-homepage .slice-article .col-lg-8 { width: 66.666667%; }
  .portal-homepage .slice-article .col-lg-4 { width: 33.333333%; }
}
@media (min-width: 1200px) {
  .portal-homepage .slice-article .col-xl-6 { width: 50%; }
  .portal-homepage .slice-article .col-xl-3 { width: 25%; }
  .portal-homepage .slice-article .d-xl-block { display: block; }
  .portal-homepage .slice-article .hero-side-col { align-self: flex-start; }
}

.portal-homepage .row.mb-4 {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 12px;
}
.portal-homepage .row.mb-4 .apd.apd-home {
  width: 100%;
  padding: 0;
}
.portal-homepage .row.mb-4 .apd.apd-home a {
  display: block;
}
.portal-homepage .row.mb-4 .apd.apd-home img {
  width: 100%;
  height: auto;
  display: block;
}

.portal-homepage .content-layout {
  margin-bottom: 10px;
  padding: 0;
}
.portal-homepage .content-layout .d-flex.flex-fill.align-items-center.mb-4 {
  margin-bottom: 10px;
}
.portal-homepage .content-layout h4.text-gray.text-lg.m-0 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #3b4655;
  line-height: 1.1;
}
.portal-homepage .content-layout .site-tag.iconfont.icon-tag.icon-lg.mr-1 {
  font-size: 16px;
  color: #7b8797;
}
.portal-homepage .content-layout .btn-move.text-xs {
  color: #59677b;
  font-size: 12px;
}
.portal-homepage .content-layout .row.io-mx-n2 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}
.portal-homepage .content-layout .io-px-2 {
  padding-left: 8px;
  padding-right: 8px;
}
.portal-homepage .content-layout .url-card {
  width: 50%;
}
.portal-homepage .content-layout .url-body.default .card.no-c.mb-4 {
  margin-bottom: 12px;
  border: 1px solid #e1e7ef;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
}
.portal-homepage .content-layout .url-body.default .card-body.url-content.d-flex.align-items-center {
  padding: 8px 10px;
  gap: 8px;
}
.portal-homepage .content-layout .url-img.rounded-circle.mr-2.d-flex.align-items-center.justify-content-center {
  width: 40px;
  height: 40px;
  border: 1px solid #d7dfeb;
  background: #f5f7fb;
  border-radius: 999px;
  margin-right: 8px;
  flex: 0 0 auto;
}
.portal-homepage .content-layout .url-img.rounded-circle img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.portal-homepage .content-layout .url-info.flex-fill .text-sm.overflowClip_1 {
  font-size: 13px;
  line-height: 1.25;
  color: #243247;
}
.portal-homepage .content-layout .url-info.flex-fill p.overflowClip_1.m-0.text-muted.text-xs {
  font-size: 12px;
  line-height: 1.2;
  color: #7d8898;
  margin-top: 3px;
}
@media (min-width: 576px) {
  .portal-homepage .content-layout .url-card.col-sm-2a { width: 50%; }
}
@media (min-width: 768px) {
  .portal-homepage .content-layout .url-card.col-md-2a { width: 50%; }
}
@media (min-width: 992px) {
  .portal-homepage .content-layout .url-card.col-lg-3a { width: 33.3333%; }
}
@media (min-width: 1200px) {
  .portal-homepage .row.mb-4 .apd.apd-home.col-xl-6 { width: 50%; }
  .portal-homepage .content-layout .url-card.col-xl-5a { width: 20%; }
}
@media (min-width: 1400px) {
  .portal-homepage .content-layout .url-card.col-xxl-6a { width: 16.6667%; }
}

.portal-homepage .portal-home-section {
  border: 1px solid #dde3ec;
  border-radius: 2px;
  background: #fff;
  margin-bottom: 8px;
  padding: 10px;
}
.portal-homepage .portal-section-header {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 8px;
}
.portal-homepage .portal-section-header h4.text-gray.text-lg {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #344153;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.portal-homepage .portal-section-title::before { display: none; }
.portal-homepage .site-tag {
  width: 14px;
  height: 14px;
  border: 1px solid #cfd7e5;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #8a96a7;
}
.portal-homepage .btn-move { font-size: 12px; color: #5f6c80; }

.portal-homepage .slider_menu.mini_tab .nav.nav-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.portal-homepage .slider_menu.mini_tab .portal-tab-btn {
  border: 1px solid #d8e0ec;
  background: #fff;
  font-size: 12px;
  color: #667489;
  padding: 3px 8px;
  border-radius: 2px;
}
.portal-homepage .slider_menu.mini_tab .portal-tab-btn.is-active {
  border-color: #00ccbf;
  color: #00a79d;
  background: #e9fbf9;
}
.portal-homepage .tab-content.mt-4 { margin-top: 8px; }

.portal-homepage .portal-home-grid { gap: 8px; }
.portal-homepage .url-card.card.no-c.mb-4.portal-url-card {
  margin-bottom: 0;
  border: 1px solid #e0e6ef;
  border-radius: 2px;
  background: #fff;
}
.portal-homepage .url-card .card-body.url-content {
  display: flex;
  align-items: center;
  padding: 9px 10px;
  gap: 9px;
}
.portal-homepage .url-card .url-img.rounded-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #d7deea;
  object-fit: cover;
  background: #f3f6fb;
  flex: 0 0 auto;
}
.portal-homepage .url-card .url-info h3.text-sm {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  color: #253246;
  font-weight: 700;
}
.portal-homepage .url-card .url-info p.text-xs.text-muted {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.2;
  color: #7a8698;
}

/* Home tools section (scoped 007hi-like url-card rules) */
.portal-home-source .portal-home-tool-real {
  margin-bottom: 10px;
}
.portal-home-source .portal-home-tool-real .d-flex { display: flex; }
.portal-home-source .portal-home-tool-real .align-items-center { align-items: center; }
.portal-home-source .portal-home-tool-real .justify-content-center { justify-content: center; }
.portal-home-source .portal-home-tool-real .flex-fill { flex: 1 1 auto; min-width: 0; }
.portal-home-source .portal-home-tool-real .ml-2 { margin-left: 8px; }
.portal-home-source .portal-home-tool-real .mr-2 { margin-right: 8px; }
.portal-home-source .portal-home-tool-real .rounded-circle { border-radius: 999px; }
.portal-home-source .portal-home-tool-real .overflow-x-auto { overflow-x: auto; }
.portal-home-source .portal-home-tool-real .text-muted { color: #8b9098; }

.portal-home-source .portal-home-tool-real > h4.text-gray.text-lg,
.portal-home-source .portal-home-tool-real .d-flex.flex-fill.align-items-center.mb-4 > h4.text-gray.text-lg {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  font-size: 19px;
  line-height: 1.1;
  font-weight: 700;
  color: #3b4655;
}
.portal-home-source .portal-home-tool-real > h4 .site-tag,
.portal-home-source .portal-home-tool-real .d-flex.flex-fill.align-items-center.mb-4 > h4 .site-tag {
  margin-right: 6px;
  font-size: 15px;
  color: #7b8797;
}
.portal-home-source .portal-home-tool-real .d-flex.flex-fill.align-items-center.mb-4 > h4.text-gray.text-lg.m-0 {
  margin: 0;
}

.portal-home-source .portal-home-tool-real .flex-tab {
  display: flex;
  align-items: center;
  min-height: 28px;
}
.portal-home-source .portal-home-tool-real .slider_menu.mini_tab.ajax-list-home.into {
  display: inline-block;
  position: relative;
}
.portal-home-source .portal-home-tool-real .slider_menu .nav.nav-pills.tab-auto-scrollbar.menu {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  position: relative;
  width: auto;
  max-width: 100%;
  min-height: 28px;
  padding: 0 4px;
  gap: 1px;
  border-radius: 16px;
  border: 1px solid #d8e1ec;
  background: #eef3f8;
  overflow-y: hidden;
}
.portal-home-source .portal-home-tool-real .slider_menu .nav > li.anchor {
  position: absolute;
  top: 0;
  z-index: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #12c9bc 0%, #0eb9ad 100%);
  box-shadow: 0 3px 8px rgba(18, 201, 188, .35);
  transition: left .18s ease, width .18s ease;
}
.portal-home-source .portal-home-tool-real .slider_menu .nav > li.pagenumber {
  position: relative;
  z-index: 1;
}
.portal-home-source .portal-home-tool-real .slider_menu .nav > li.pagenumber > a.nav-link.tab-noajax {
  display: block;
  height: 28px;
  line-height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: #56657a;
  background: transparent;
  border: 0;
  position: relative;
  z-index: 2;
  transition: color .15s ease;
}
.portal-home-source .portal-home-tool-real .slider_menu .nav > li.pagenumber > a.nav-link.tab-noajax:hover {
  color: #2f4058;
}
.portal-home-source .portal-home-tool-real .slider_menu .nav > li.pagenumber > a.nav-link.tab-noajax.active {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}
.portal-home-source .portal-home-tool-real .btn-move.tab-move {
  margin-left: 10px !important;
  padding: 0;
  border: 0;
  background: transparent;
  color: #556274;
  font-size: 12px;
  line-height: 1;
  transform: translateY(-2px);
  white-space: nowrap;
}
.portal-home-source .portal-home-tool-real .btn-move.tab-move:hover {
  color: #3f4d61;
}
.portal-home-source .portal-home-tool-real .btn-move.tab-move.is-hidden {
  display: none;
}

.portal-home-source .portal-home-tool-real .tab-content.mt-4 {
  margin-top: 16px;
}
.portal-home-source .portal-home-tool-real .tab-pane {
  display: none;
}
.portal-home-source .portal-home-tool-real .tab-pane.active {
  display: block;
}
.portal-home-source .portal-home-tool-real .ajax-list-body.position-relative {
  position: relative;
  margin-top: 16px;
}

.portal-home-source .portal-home-tool-real .io-mx-n2 {
  margin-left: -8px;
  margin-right: -8px;
}
.portal-home-source .portal-home-tool-real .io-px-2 {
  padding-left: 8px;
  padding-right: 8px;
}
.portal-home-source .portal-home-tool-real .row.io-mx-n2 {
  display: flex;
  flex-wrap: wrap;
}

.portal-home-source .portal-home-tool-real .col-2a,
.portal-home-source .portal-home-tool-real .col-sm-2a,
.portal-home-source .portal-home-tool-real .col-md-2a,
.portal-home-source .portal-home-tool-real .col-lg-3a,
.portal-home-source .portal-home-tool-real .col-xl-5a,
.portal-home-source .portal-home-tool-real .col-xxl-6a {
  position: relative;
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.portal-home-source .portal-home-tool-real .url-card {
  margin-bottom: 0;
}
.portal-home-source .portal-home-tool-real .url-body.default {
  height: 100%;
}
.portal-home-source .portal-home-tool-real .url-body.default > a.card.no-c {
  display: block;
  height: 100%;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 8px;
  box-shadow: none;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background-color .18s ease;
}
.portal-home-source .portal-home-tool-real .url-body.default > a.card.no-c:hover {
  border-color: #dfe4ea;
  background: #fff;
  transform: translateY(-1px);
}
.portal-home-source .portal-home-tool-real .url-body.default .card-body.url-content {
  display: flex;
  align-items: center;
  min-height: 106px;
  padding: 16px 18px;
  box-sizing: border-box;
}
.portal-home-source .portal-home-tool-real .url-body.default .url-img {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  margin-right: 14px;
  border-radius: 999px;
  background: #f5f6f8;
  overflow: hidden;
}
.portal-home-source .portal-home-tool-real .url-body.default .url-img img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  max-width: none;
  max-height: none;
}
.portal-home-source .portal-home-tool-real .url-body.default .url-info {
  min-width: 0;
  flex: 1 1 auto;
}
.portal-home-source .portal-home-tool-real .url-body.default .url-info .text-sm {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.08;
  font-weight: 700;
  color: #23262d;
  letter-spacing: 0;
}
.portal-home-source .portal-home-tool-real .url-body.default .url-info .text-sm strong {
  font-weight: 700;
}
.portal-home-source .portal-home-tool-real .url-body.default .url-info .text-xs,
.portal-home-source .portal-home-tool-real .url-body.default .url-info p.text-xs {
  margin: 0;
  font-size: 13px;
  line-height: 1.22;
  font-weight: 600;
  color: #8b9098;
}

.portal-home-source .portal-home-tool-real .overflowClip_1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-home-source .portal-home-tool-real .customize_nothing {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}
.portal-home-source .portal-home-tool-real .nothing.mb-4 {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #8f959d;
}
.portal-home-source .portal-home-tool-real .icon-spin {
  display: inline-block;
  animation: portal-spin 1s linear infinite;
}

@media (min-width: 576px) {
  .portal-home-source .portal-home-tool-real .col-sm-2a {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 768px) {
  .portal-home-source .portal-home-tool-real .col-md-2a {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}
@media (min-width: 992px) {
  .portal-home-source .portal-home-tool-real .col-lg-3a {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (min-width: 1200px) {
  .portal-home-source .portal-home-tool-real .col-xl-5a {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 1600px) {
  .portal-home-source .portal-home-tool-real .col-xxl-6a {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}
@media (max-width: 767.98px) {
  .portal-home-source .portal-home-tool-real .url-body.default .card-body.url-content {
    min-height: 88px;
    padding: 12px 14px;
  }
  .portal-home-source .portal-home-tool-real .url-body.default .url-img {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-right: 10px;
  }
  .portal-home-source .portal-home-tool-real .url-body.default .url-img img {
    width: 32px;
    height: 32px;
  }
  .portal-home-source .portal-home-tool-real .url-body.default .url-info .text-sm {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .portal-home-source .portal-home-tool-real .url-body.default .url-info .text-xs,
  .portal-home-source .portal-home-tool-real .url-body.default .url-info p.text-xs {
    font-size: 12px;
  }
}

.portal-homepage .portal-home-link-list { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.portal-homepage .portal-home-link-list a {
  text-align: left;
  border: 0;
  border-right: 1px solid #edf1f7;
  border-bottom: 1px solid #edf1f7;
  border-radius: 0;
}

/* Bottom blocks tune */
.portal-homepage .row.mb-4 {
  margin: 0 -8px 18px;
}
.portal-homepage .row.mb-4 .apd.apd-home {
  padding: 0 8px;
  margin-bottom: 6px;
}
.portal-homepage .row.mb-4 .apd.apd-home img {
  border-radius: 0;
}

.portal-homepage .portal-home-friend {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 8px 0 10px;
}
.portal-homepage .portal-home-friend .portal-section-header {
  margin-bottom: 12px;
}
.portal-homepage .portal-home-friend h4.text-gray.text-lg.m-0 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  color: #3a4555;
  display: inline-flex;
  align-items: center;
}
.portal-homepage .portal-home-friend h4 .site-tag {
  font-size: 18px;
  color: #6f7b8b;
  margin-right: 8px;
}
.portal-homepage .portal-home-friend .portal-home-link-list {
  display: block;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  padding: 18px 20px;
}
.portal-homepage .portal-home-friend .portal-home-link-list a {
  display: block;
  border: 0;
  padding: 12px 10px 12px 28px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #17263c;
  position: relative;
  background: transparent;
}
.portal-homepage .portal-home-friend .portal-home-link-list a::before {
  content: "•";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-52%);
  color: #25364b;
  font-size: 20px;
  line-height: 1;
}
.portal-homepage .portal-home-friend .portal-home-link-list a:hover {
  color: #0f1f35;
  background: #f7f9fc;
}

.portal-homepage .portal-footer {
  background: transparent;
  border-top: 0;
  margin-top: 8px;
}
.portal-homepage .portal-footer .portal-footer-grid {
  display: none;
}
.portal-homepage .portal-footer .portal-container.py-4 {
  padding-top: 8px;
  padding-bottom: 12px;
}
.portal-homepage .portal-footer .text-xs.text-textSub.mt-3.pt-2.border-t.border-borderBase {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  color: #1c2b3f;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
  font-style: italic;
}

.portal-homepage .portal-search-layer {
  inset: 62px 0 auto;
  border-top: 1px solid #d9e1ee;
  border-bottom: 1px solid #d9e1ee;
  background: rgba(255, 255, 255, .98);
}
.portal-homepage .portal-search-modal { max-width: 1000px; padding: 12px; }
.portal-homepage .portal-search-modal-tabs { gap: 10px; margin-bottom: 8px; }
.portal-homepage .portal-search-modal-tabs button { font-size: 12px; }
.portal-homepage .portal-search-modal-form input { height: 44px; }
.portal-homepage .portal-search-modal-form button { height: 44px; width: 92px; }
.portal-homepage .portal-search-hot { margin-top: 6px; }
.portal-homepage .portal-search-close {
  width: 24px;
  height: 24px;
  font-size: 14px;
  margin: 4px auto 8px;
}

.portal-homepage .portal-home-float-btn {
  width: 58px;
  height: 58px;
  right: 10px;
  bottom: 12px;
  border: 0;
  border-radius: 999px;
  background: #d2d3d6;
  color: transparent;
  box-shadow: none;
}
.portal-homepage .portal-home-float-btn::before {
  content: "▲";
  display: block;
  color: #6f747b;
  font-size: 28px;
  line-height: 58px;
  text-align: center;
}

/* Bulletin box clone */
.portal-homepage .container.container-fluid.customize-width {
  max-width: 1600px;
  padding-left: 14px;
  padding-right: 14px;
}
.portal-homepage #bulletin_box.card.my-2 {
  margin: 8px 0;
  border: 1px solid #dfe5ee;
  border-radius: 2px;
  background: #fff;
}
.portal-homepage #bulletin_box .card-body.py-1.px-2.px-md-3.d-flex.flex-fill.text-xs.text-muted {
  min-height: 30px;
  padding-top: 2px;
  padding-bottom: 2px;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #667789;
}
.portal-homepage #bulletin_box .bulletin-swiper {
  width: 1%;
  flex: 1 1 auto;
  min-width: 0;
}
.portal-homepage #bulletin_box .carousel.slide,
.portal-homepage #bulletin_box .carousel-inner {
  width: 100%;
}
.portal-homepage #bulletin_box .carousel-item {
  min-height: 25px;
}
.portal-homepage #bulletin_box .overflowClip_1 {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #4c5a70;
  line-height: 25px;
}
.portal-homepage #bulletin_box .overflowClip_1:hover {
  color: #00ccbf;
}
.portal-homepage #bulletin_box .bulletin-close {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #91a0b4;
}
.portal-homepage #bulletin_box .bulletin-close:hover {
  color: #65758a;
}
.portal-homepage .no-search.my-2.p-1 {
  min-height: 8px;
  margin: 6px 0;
  padding: 0 !important;
}

/* Top widget swiper clone */
.portal-homepage .swiper-widgets-card.position-relative {
  position: relative;
  border: 1px solid #dfe5ee;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}
.portal-homepage .swiper.swiper-widgets.rounded-xl {
  border-radius: 4px;
}
.portal-homepage .swiper-widgets .swiper-wrapper {
  position: relative;
}
.portal-homepage .swiper-widgets .swiper-slide.media.media-30x9 {
  position: relative;
  display: none;
}
.portal-homepage .swiper-widgets .swiper-slide.media.media-30x9.is-active {
  display: block;
}
.portal-homepage .swiper-widgets .media-content.media-title-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.portal-homepage .swiper-widgets .swiper-pagination.carousel-blog-big {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.portal-homepage .swiper-widgets .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  display: inline-block;
  cursor: pointer;
  transition: all .2s ease;
}
.portal-homepage .swiper-widgets .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 18px;
  background: #fff;
}

/* Header 1:1 source mapping (home only) */
.header-nav {
  position: relative;
  z-index: 46;
}
#header.page-header.sticky {
  position: fixed;
  top: 0;
  left: 220px;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #dce3ee;
  z-index: 46;
}
.header-nav .placeholder { height: 62px; }
.header-nav .navbar { min-height: 62px; }
.header-nav .container-fluid.p-0.position-relative {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 16px;
}
.header-nav .collapse.navbar-collapse {
  display: flex !important;
  align-items: center;
  width: 100%;
  visibility: visible !important;
}
.header-nav .site-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex !important;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
}
.header-nav .site-menu > li { position: relative; }
.header-nav .site-menu > li > a {
  display: inline-flex;
  align-items: center;
  height: 62px;
  color: #283547;
  font-size: 15px;
  font-weight: 600;
}
.header-nav .site-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 220px;
  position: absolute;
  top: 62px;
  left: 0;
  border: 1px solid #dce3ee;
  background: #fff;
  display: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}
.header-nav .site-menu li.is-open > .sub-menu,
.header-nav .site-menu li:hover > .sub-menu { display: block; }
.header-nav .site-menu .sub-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: #3b495d;
  white-space: nowrap;
}
.header-nav .header-mini-btn {
  flex: 0 0 auto;
  margin-right: 12px;
}
.header-nav .header-mini-btn label {
  margin: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.header-nav #mini-button {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.header-nav .header-mini-btn svg {
  width: 24px;
  height: 24px;
}
.header-nav .header-mini-btn path {
  stroke: #495469;
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
}
.header-nav .nav-search a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4f5d72;
}
@media (max-width: 1199px) {
  #header.page-header.sticky { left: 0; }
}
@media (max-width: 767px) {
  .header-nav .site-menu,
  .header-nav .header-mini-btn { display: none !important; }
  .header-nav .container-fluid.p-0.position-relative { min-height: 54px; padding: 0 8px; }
  .header-nav .navbar,
  .header-nav .placeholder { min-height: 54px; height: 54px; }
}

.portal-homepage .header-nav {
  position: relative;
  z-index: 46;
}
.portal-homepage #header.page-header.sticky {
  position: fixed;
  top: 0;
  left: 220px;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #dce3ee;
  z-index: 46;
}
.portal-homepage.sidebar-mini #header.page-header.sticky {
  left: 72px;
}
.portal-homepage .header-nav .placeholder {
  height: 62px;
}
.portal-homepage .header-nav .navbar {
  min-height: 62px;
}
.portal-homepage .header-nav .container-fluid.p-0.position-relative {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 16px;
}
.portal-homepage .header-nav .collapse.navbar-collapse {
  display: flex;
  align-items: center;
  width: 100%;
}
.portal-homepage .header-nav .header-mini-btn {
  flex: 0 0 auto;
  margin-right: 12px;
}
.portal-homepage .header-nav .header-mini-btn label {
  margin: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.portal-homepage .header-nav #mini-button {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.portal-homepage .header-nav .header-mini-btn svg {
  width: 24px;
  height: 24px;
}
.portal-homepage .header-nav .header-mini-btn path {
  stroke: #495469;
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
  transition: stroke .2s ease, transform .2s ease;
}
.portal-homepage .header-nav .header-mini-btn label:hover path {
  stroke: #00ccbf;
}

.portal-homepage .header-nav .site-menu {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
}
.portal-homepage .header-nav .site-menu > li {
  position: relative;
}
.portal-homepage .header-nav .site-menu > li > a {
  display: inline-flex;
  align-items: center;
  height: 62px;
  color: #283547;
  font-size: 15px;
  font-weight: 600;
}
.portal-homepage .header-nav .site-menu > li.current-menu-item > a,
.portal-homepage .header-nav .site-menu > li > a:hover {
  color: #101828;
}
.portal-homepage .header-nav .site-menu > li.menu-item-has-children > a::after {
  content: "";
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #7d8898;
  margin-left: 6px;
}
.portal-homepage .header-nav .site-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 220px;
  position: absolute;
  top: 62px;
  left: 0;
  border: 1px solid #dce3ee;
  background: #fff;
  display: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}
.portal-homepage .header-nav .site-menu li.is-open > .sub-menu,
.portal-homepage .header-nav .site-menu li:hover > .sub-menu {
  display: block;
}
.portal-homepage .header-nav .site-menu .sub-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: #3b495d;
  white-space: nowrap;
}
.portal-homepage .header-nav .site-menu .sub-menu li a:hover {
  background: #f3f7fb;
  color: #1f2d42;
}

.portal-homepage .header-nav .navbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.portal-homepage .header-nav .nav-search a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4f5d72;
}
.portal-homepage .header-nav .nav-search a:hover {
  color: #00ccbf;
}

.portal-homepage .header-nav .position-absolute.w-100.text-center {
  left: 0;
  right: 0;
  pointer-events: none;
}
.portal-homepage .header-nav .position-absolute.w-100.text-center .navbar-brand {
  pointer-events: auto;
}
.portal-homepage .header-nav .navbar-brand img {
  height: 34px;
  width: auto;
}

.portal-homepage .header-nav .mobile-menu a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4f5d72;
}

.portal-homepage .header-nav .d-md-none { display: none; }
.portal-homepage .header-nav .order-md-1 { order: 1; }
.portal-homepage .header-nav .order-md-2 { order: 2; }

@media (max-width: 1199px) {
  .portal-homepage #header.page-header.sticky,
  .portal-homepage.sidebar-mini #header.page-header.sticky {
    left: 0;
  }
}

@media (max-width: 767px) {
  .portal-homepage .header-nav .d-md-none { display: block; }
  .portal-homepage .header-nav .collapse.navbar-collapse {
    display: flex;
    justify-content: space-between;
  }
  .portal-homepage .header-nav .site-menu,
  .portal-homepage .header-nav .header-mini-btn {
    display: none;
  }
  .portal-homepage .header-nav .container-fluid.p-0.position-relative {
    padding: 0 8px;
    min-height: 54px;
  }
  .portal-homepage .header-nav .navbar,
  .portal-homepage .header-nav .placeholder {
    min-height: 54px;
    height: 54px;
  }
  .portal-homepage .header-nav .position-absolute.w-100.text-center .navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
  }
}

/* Sidebar source clone */
.portal-homepage #sidebar.sidebar-nav {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 220px;
  background: #262b31;
  border-right: 1px solid #1f242b;
  z-index: 50;
  display: none;
}
@media (min-width: 1200px) {
  .portal-homepage .d-xl-flex { display: flex !important; }
}
.portal-homepage #sidebar .logo-dark.d-none,
.portal-homepage #sidebar .logo-collapsed,
.portal-homepage #sidebar .logo-expanded .d-none {
  display: none !important;
}
@media (min-width: 1200px) {
  .portal-homepage #sidebar.sidebar-nav { display: block; }
}
.portal-homepage #sidebar .sidebar-nav-inner {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.portal-homepage #sidebar .sidebar-logo {
  height: 98px;
  border-bottom: 1px solid #343b45;
  padding: 10px 14px;
}
.portal-homepage #sidebar .logo {
  position: relative;
  height: 100%;
}
.portal-homepage #sidebar .text-hide.position-absolute {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.portal-homepage #sidebar .logo-expanded,
.portal-homepage #sidebar .logo-collapsed {
  display: inline-flex;
  align-items: center;
  height: 100%;
}
.portal-homepage #sidebar .logo-expanded img:first-child {
  width: 156px;
  height: auto;
}
.portal-homepage #sidebar .logo-collapsed {
  display: none;
}
.portal-homepage #sidebar .sidebar-menu {
  flex: 1 1 auto;
  min-height: 0;
}
.portal-homepage #sidebar .sidebar-scroll {
  height: 100%;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.portal-homepage #sidebar .sidebar-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.portal-homepage #sidebar .sidebar-menu-inner ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.portal-homepage #sidebar .sidebar-item {
  position: relative;
}
.portal-homepage #sidebar .sidebar-item > a {
  height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d4dbe5;
  font-size: 14px;
  font-weight: 600;
  border-left: 2px solid transparent;
}
.portal-homepage #sidebar .sidebar-item > a i {
  width: 18px;
  text-align: center;
  color: #b5bfce;
}
.portal-homepage #sidebar .sidebar-item:hover > a {
  background: #2e343d;
  color: #f1f5fb;
}
.portal-homepage #sidebar .sidebar-item.is-active > a {
  border-left-color: #00ccbf;
  background: #2f353e;
  color: #fff;
}
.portal-homepage #sidebar .sidebar-item.is-active > a i { color: #d2f7f3; }
.portal-homepage #sidebar .sidebar-item .sidebar-more {
  position: absolute;
  right: 12px;
  top: 18px;
  color: #7f8997;
  cursor: pointer;
  transition: transform .15s ease;
}
.portal-homepage #sidebar .sidebar-item.is-open .sidebar-more {
  transform: rotate(90deg);
}
.portal-homepage #sidebar .sidebar-submenu {
  display: none;
  padding: 0 0 8px 0;
}
.portal-homepage #sidebar .sidebar-item.is-open > .sidebar-submenu {
  display: block;
}
.portal-homepage #sidebar .sidebar-submenu li a {
  display: block;
  color: #b7c0ce;
  font-size: 12px;
  line-height: 1.2;
  padding: 7px 16px 7px 42px;
}
.portal-homepage #sidebar .sidebar-submenu li a:hover,
.portal-homepage #sidebar .sidebar-submenu li a.is-active {
  color: #f4fbff;
  background: #2e343d;
}
.portal-homepage #sidebar .sidebar-item.has-children > a {
  padding-right: 32px;
}
.portal-homepage #sidebar .sidebar-contact {
  border-top: 1px solid #343b45;
  padding: 6px 0;
}
.portal-homepage #sidebar .sidebar-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal-homepage .main-content {
  margin-left: 220px;
  width: calc(100% - 220px);
}
.portal-homepage.sidebar-mini #sidebar.sidebar-nav {
  width: 72px;
}
.portal-homepage.sidebar-mini #sidebar .sidebar-item > a span,
.portal-homepage.sidebar-mini #sidebar .sidebar-more,
.portal-homepage.sidebar-mini #sidebar .sidebar-submenu,
.portal-homepage.sidebar-mini #sidebar .sidebar-contact {
  display: none !important;
}
.portal-homepage.sidebar-mini #sidebar .logo-expanded {
  display: none !important;
}
.portal-homepage.sidebar-mini #sidebar .logo-collapsed {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.portal-homepage.sidebar-mini .main-content {
  margin-left: 72px;
  width: calc(100% - 72px);
}
@media (max-width: 1199px) {
  .portal-homepage .main-content {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 1199px) {
  .portal-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portal-home-link-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .portal-home-body { width: 100%; margin-left: 0; }
  .portal-home-hero-row { grid-template-columns: 1.65fr 1fr; }
  .portal-home-news-panel { grid-column: 1 / -1; height: auto; max-height: 290px; }
  .portal-homepage .portal-home-sidebar { display: none; }
  .portal-homepage .portal-col-main { flex: 0 0 calc(66.666% - 4px); }
  .portal-homepage .portal-col-side { display: none; }
  .portal-homepage .portal-col-news { flex: 0 0 calc(33.333% - 4px); }
}

@media (max-width: 991px) {
  .portal-topbar { display: none; }
  .portal-header-main { height: 54px; }
  .portal-main { padding-bottom: 100px; }
  .portal-container { padding: 0 10px; }
  .portal-search input { width: 190px; }
  .reading-width { max-width: 100%; }
  .portal-home-cat-strip { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
  .portal-home-cat-strip a { border-bottom: 0; }
  .portal-home-link-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .portal-home-hero-row { grid-template-columns: 1fr; }
  .portal-home-hero-main { height: 260px; }
  .portal-home-hero-stack { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .portal-home-hero-sub { height: 126px; }
  .portal-home-news-panel { height: auto; max-height: none; }
  .portal-home-banner-strips { grid-template-columns: 1fr; }
  .portal-home-strip { height: 72px; }
  .portal-search-layer { inset: 54px 0 auto; }
  .portal-homepage .portal-home-body { margin-left: 0; width: 100%; }
  .portal-homepage .portal-home-hero-source { flex-direction: column; }
  .portal-homepage .portal-col-main,
  .portal-homepage .portal-col-news { flex: 1 1 auto; }
  .portal-homepage .swiper-post-module .media { min-height: 220px; }
}

@media (max-width: 767px) {
  .portal-main { padding-bottom: 112px; }
  .portal-section { padding: 8px; margin-bottom: 8px; }
  .portal-section-title { font-size: 16px; }
  .portal-grid-items { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .portal-feature-list { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .portal-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-media-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .portal-link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-pagination a,
  .portal-pagination span { min-width: 28px; height: 28px; padding: 0 6px; }
  .portal-announcement-inner { height: 28px; }
  .portal-home-cat-strip { margin-bottom: 6px; }
  .portal-home-link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-search-modal { padding: 10px; }
  .portal-search-modal-form input,
  .portal-search-modal-form button { height: 38px; }
  .portal-home-float-btn { width: 40px; height: 40px; font-size: 18px; }
}

/* Item detail page rebuild (source-like structure) */
.portal-detail-page {
  position: relative;
  padding: 10px 0 22px;
}
.portal-detail-page.container {
  max-width: 100%;
  padding: 0;
}
.portal-detail-page .background-fx {
  position: absolute;
  inset: 0 0 auto;
  height: 360px;
  pointer-events: none;
  overflow: hidden;
}
.portal-detail-page .background-fx .fx {
  position: absolute;
  opacity: .2;
  border-radius: 20px;
  filter: blur(.4px);
}
.portal-detail-page .background-fx .fx-a {
  width: 230px;
  height: 170px;
  right: 120px;
  top: 18px;
  background: #e9d4b8;
  transform: rotate(24deg);
}
.portal-detail-page .background-fx .fx-b {
  width: 190px;
  height: 210px;
  right: 220px;
  top: 40px;
  background: #cde7cf;
  transform: rotate(-18deg);
}
.portal-detail-page .background-fx .fx-c {
  width: 10px;
  height: 44px;
  right: 90px;
  top: 26px;
  background: #ff80c7;
  border-radius: 99px;
  transform: rotate(32deg);
}

.portal-detail-page .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}
.portal-detail-page .row > [class*="col-"] {
  padding: 0 12px;
}
.portal-detail-page .col,
.portal-detail-page .col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.portal-detail-page .site-content {
  position: relative;
  z-index: 1;
}
.portal-detail-page .detail-hero-row {
  margin-bottom: 20px;
}
.portal-detail-page .siteico {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e7ef;
  background: #eff4fb;
  min-height: 320px;
  padding: 14px;
}
.portal-detail-page .siteico .blur-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(14px);
  transform: scale(1.12);
  opacity: .22;
}
.portal-detail-page .img-cover-wrap {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5ebf4;
  background: #f5f8fd;
}
.portal-detail-page .img-cover {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.portal-detail-page .country-piece {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #02cdbf, #09a7cb);
}
.portal-detail-page .tool-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.portal-detail-page .tool-action-item {
  min-width: 86px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid #dce4ef;
  background: rgba(246, 249, 253, .95);
  color: #3b4a60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.portal-detail-page .tool-action-item i {
  font-size: 20px;
  margin-bottom: 3px;
}

.portal-detail-page .site-body {
  position: relative;
  z-index: 1;
  padding-top: 4px;
}
.portal-detail-page .detail-cat-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.portal-detail-page .btn-cat {
  height: 26px;
  line-height: 24px;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid #d6e4f3;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #2f4260;
}
.portal-detail-page .btn-arrow {
  color: #95a2b8;
  font-size: 12px;
}
.portal-detail-page .detail-title {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  font-style: italic;
  font-weight: 700;
  color: #1f2f47;
  letter-spacing: .4px;
}
.portal-detail-page .detail-summary {
  margin: 14px 0 0;
  color: #2f3f57;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
}
.portal-detail-page .detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.portal-detail-page .btn-open-url,
.portal-detail-page .btn-mobile-view {
  height: 48px;
  min-width: 150px;
  border-radius: 10px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  font-style: italic;
}
.portal-detail-page .btn-open-url {
  background: #dadde3;
  color: #2a3444;
}
.portal-detail-page .btn-mobile-view {
  border: 1px solid #d2d8e2;
  background: #f1f2f4;
  color: #3f4b61;
}
.portal-detail-page .detail-link-status {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2a3b52;
  font-size: 38px;
  font-style: italic;
  font-weight: 800;
}
.portal-detail-page .detail-link-status .status-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #31cf55;
  box-shadow: 0 0 0 3px rgba(49, 207, 85, .15);
}

.portal-detail-page .content-wrap {
  position: relative;
  z-index: 1;
}
.portal-detail-page .content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}
.portal-detail-page main.content {
  min-width: 0;
}
.portal-detail-page .sidebar-tools {
  position: sticky;
  top: 84px;
}

.portal-detail-page .panel.site-content.card.transparent {
  border: 1px solid #dde3ec;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.portal-detail-page .card-body.p-0 {
  padding: 0;
}
.portal-detail-page .apd-bg img,
.portal-detail-page .post-apd img {
  display: block;
  width: 100%;
  height: auto;
}
.portal-detail-page .panel-body.single {
  margin: 16px 0;
  padding: 0 18px;
}
.portal-detail-page .panel-body.single .portal-content {
  font-size: 34px;
  line-height: 1.8;
  color: #202f46;
}
.portal-detail-page .panel-body.single .portal-content h2 {
  font-size: 54px;
  line-height: 1.3;
  font-weight: 900;
  font-style: italic;
  border-left: 5px solid #22c9bf;
  padding-left: 12px;
  margin-top: 30px;
}
.portal-detail-page .panel-body.single .portal-content h3 {
  font-size: 44px;
  line-height: 1.35;
  font-weight: 800;
  margin-top: 24px;
}
.portal-detail-page .panel-body.single .portal-content p {
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 700;
}
.portal-detail-page .panel-body.single .portal-content ul,
.portal-detail-page .panel-body.single .portal-content ol {
  margin-left: 26px;
  margin-bottom: 18px;
}
.portal-detail-page .panel-body.single .portal-content li {
  margin-bottom: 8px;
}
.portal-detail-page .panel-body.single .portal-content a {
  color: #00bcb1;
  text-decoration: underline;
}
.portal-detail-page .panel-body.single .portal-content hr {
  margin: 24px 0;
  border-top-color: #d7deea;
}
.portal-detail-page .panel-body.single .portal-content img {
  border-radius: 6px;
  border-color: #d6ddea;
}

.portal-detail-page .detail-data-wrap .text-gray.text-lg {
  font-size: 32px;
  font-style: italic;
  font-weight: 800;
  color: #394860;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.portal-detail-page .io-chart {
  border: 1px solid #dce3ee;
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
}
.portal-detail-page #chart-container {
  min-height: 150px;
}
.portal-detail-page .chart-placeholder {
  height: 150px;
  border: 1px dashed #cdd8e7;
  border-radius: 7px;
  background: linear-gradient(180deg, #f8fbff, #f1f6fd);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
}
.portal-detail-page .chart-bars {
  height: 76px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
}
.portal-detail-page .chart-bars span {
  background: linear-gradient(180deg, #5cb4ff, #3179dd);
  border-radius: 4px 4px 2px 2px;
}
.portal-detail-page .chart-meta {
  margin-top: 10px;
  font-size: 12px;
  color: #637083;
}

.portal-detail-page .detail-section-title {
  font-size: 32px;
  font-style: italic;
  font-weight: 800;
  color: #394860;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.portal-detail-page .io-mx-n2 {
  margin-left: -8px;
  margin-right: -8px;
}
.portal-detail-page .io-px-2 {
  padding-left: 8px;
  padding-right: 8px;
}
.portal-detail-page .detail-related-grid .url-card {
  margin-bottom: 6px;
}
.portal-detail-page .detail-related-grid .url-body.default > a.card.no-c.mb-4 {
  display: block;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  background: #fff;
  margin: 0 0 12px;
  transition: border-color .2s ease, transform .2s ease;
}
.portal-detail-page .detail-related-grid .url-body.default > a.card.no-c.mb-4:hover {
  border-color: #00c9bd;
  transform: translateY(-1px);
}
.portal-detail-page .detail-related-grid .card-body.url-content {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 12px;
  gap: 10px;
}
.portal-detail-page .detail-related-grid .url-img.rounded-circle {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 999px;
  border: 1px solid #dce3ee;
  background: #f4f7fb;
  overflow: hidden;
}
.portal-detail-page .detail-related-grid .url-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portal-detail-page .detail-related-grid .url-info .text-sm {
  font-size: 16px;
  color: #21324b;
  margin: 0;
}
.portal-detail-page .detail-related-grid .url-info .text-xs {
  margin-top: 2px;
  font-size: 12px;
  color: #728096;
}
.portal-detail-page .overflowClip_1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-detail-page .post-apd {
  border-radius: 8px;
  overflow: hidden;
}

.portal-detail-page .io-sidebar-widget {
  border: 1px solid #dce3ee;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.portal-detail-page .widget-author-cover {
  height: 176px;
  background-size: cover;
  background-position: center;
}
.portal-detail-page .widget-author-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-top: -58px;
}
.portal-detail-page .widget-author-avatar {
  width: 116px;
  height: 116px;
  border-radius: 999px;
  border: 5px solid #fff;
  background: #f4f8fd;
  object-fit: cover;
}
.portal-detail-page .widget-author-meta {
  text-align: center;
  padding: 12px 16px 18px;
}
.portal-detail-page .widget-author-meta h4 {
  margin: 8px 0 6px;
  font-size: 20px;
  line-height: 1.25;
  color: #1f2f47;
  font-weight: 800;
}
.portal-detail-page .widget-author-meta p {
  margin: 0;
  color: #556379;
  font-size: 13px;
  line-height: 1.5;
}
.portal-detail-page .widget-contact-btn {
  margin-top: 18px;
  width: 112px;
  height: 44px;
  border-radius: 4px;
  background: #00cdbf;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 800;
  font-style: italic;
}
.portal-detail-page .widget-contact-btn:hover {
  color: #fff;
  background: #00b9ad;
}

.portal-detail-page .d-none { display: none; }
@media (min-width: 992px) {
  .portal-detail-page .d-lg-block { display: block; }
}
@media (min-width: 576px) {
  .portal-detail-page .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .portal-detail-page .mt-sm-0 { margin-top: 0 !important; }
}
@media (min-width: 768px) {
  .portal-detail-page .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .portal-detail-page .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 1200px) {
  .portal-detail-page .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .portal-detail-page .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}
@media (max-width: 1199px) {
  .portal-detail-page .content-layout { grid-template-columns: minmax(0, 1fr); }
  .portal-detail-page .detail-title { font-size: 42px; }
  .portal-detail-page .detail-summary { font-size: 19px; }
  .portal-detail-page .btn-open-url,
  .portal-detail-page .btn-mobile-view { font-size: 26px; height: 44px; }
  .portal-detail-page .detail-link-status { font-size: 28px; }
  .portal-detail-page .panel-body.single .portal-content { font-size: 24px; }
  .portal-detail-page .panel-body.single .portal-content h2 { font-size: 38px; }
  .portal-detail-page .panel-body.single .portal-content h3 { font-size: 30px; }
}
@media (max-width: 767px) {
  .portal-detail-page .siteico { min-height: auto; }
  .portal-detail-page .detail-title { font-size: 34px; }
  .portal-detail-page .detail-summary { font-size: 17px; }
  .portal-detail-page .panel-body.single { padding: 0 12px; }
  .portal-detail-page .panel-body.single .portal-content { font-size: 18px; }
  .portal-detail-page .panel-body.single .portal-content h2 { font-size: 28px; margin-top: 18px; }
  .portal-detail-page .panel-body.single .portal-content h3 { font-size: 22px; }
  .portal-detail-page .detail-data-wrap .text-gray.text-lg,
  .portal-detail-page .detail-section-title { font-size: 22px; }
}
