:root {
  --ink: #15162b;
  --muted: #666a7b;
  --paper: #f7f6fb;
  --card: #fff;
  --line: #e7e4ee;
  --violet: #6c45df;
  --coral: #f06f69;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(33,26,70, .1);
}
* {
  box-sizing: border-box;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial,"PingFang SC","Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
}
button {
  cursor: pointer;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.rainbow-line {
  height: 4px;
  background: linear-gradient(90deg, #e84d55, #f59e42, #e8ce38, #35a967, #388bd3, #7550ce);
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
}
.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 13px;
  font-weight: 800;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .08em;
}
.nav {
  display: flex;
  gap: 28px;
  font-weight: 700;
}
.nav a:hover {
  color: var(--violet);
}
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.carousel-section {
  padding: 26px 0 0;
}
.carousel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 56px 78px;
  color: #fff;
  background-position: center;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s;
}
.slide.active {
  opacity: 1;
  visibility: visible;
}
.slide-copy {
  max-width: 650px;
}
.slide-tag {
  display: inline-block;
  padding: 4px 11px;
  border: 1px solid rgba(255,255,255, .4);
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 800;
}
.slide-title {
  margin: 13px 0 12px;
  font-size: clamp(2rem,4vw,3.4rem);
  font-weight: 800;
  line-height: 1.15;
}
.slide-copy>p:not(.slide-title) {
  color: #e1dfeb;
}
.slide-copy a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 17px;
  color: var(--ink);
  background: #fff;
  border-radius: 11px;
  font-weight: 700;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 43px;
  height: 43px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(10,13,28, .42);
  transform: translateY(-50%);
}
.carousel-prev {
  left: 18px;
}
.carousel-next {
  right: 18px;
}
.carousel-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255, .5);
}
.carousel-dots button.active {
  width: 24px;
  background: #fff;
}
.hero {
  padding: 82px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 70px;
  align-items: end;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
}
.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(3rem,6vw,5.5rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--violet), #3277d6, var(--coral));
  background-clip: text;
}
.hero-lead {
  max-width: 720px;
  margin: 25px 0;
  color: var(--muted);
  font-size: 1.06rem;
}
.search-box {
  display: flex;
  max-width: 690px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(29,22,66, .08);
}
.search-box input {
  min-width: 0;
  flex: 1;
  padding: 12px 15px;
  border: 0;
  outline: 0;
}
.search-box button {
  padding: 10px 23px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 11px;
  font-weight: 700;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}
.chips button {
  padding: 6px 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 99px;
}
.hero-note {
  padding: 30px;
  color: #fff;
  background: var(--ink);
  border-radius: 24px 24px 24px 6px;
}
.hero-note h2 {
  margin-top: 0;
}
.hero-note p {
  color: #c8c9d5;
}
.spotlight {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  margin-bottom: 90px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #4c2bac, #315fae);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.spotlight>article {
  padding: 50px;
}
.spotlight .eyebrow {
  color: #d9ceff;
}
.spotlight h2 {
  margin: 0;
  font-size: clamp(2rem,4vw,3.3rem);
  line-height: 1.12;
}
.spotlight article>p:not(.eyebrow) {
  color: #e3def5;
}
.spotlight aside {
  padding: 45px 36px;
  background: rgba(13,14,29, .3);
}
.spotlight aside p {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255, .13);
}
.spotlight-links {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}
.spotlight-links a {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255, .3);
  border-radius: 10px;
  font-weight: 700;
}
.spotlight-links a:first-child {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}
.section {
  padding: 30px 0 90px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(2rem,4vw,3rem);
}
.section-head>p {
  max-width: 440px;
  color: var(--muted);
}
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
.content-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.content-card .tag {
  align-self: start;
  padding: 4px 10px;
  color: var(--violet);
  background: #f0ebff;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 800;
}
.content-card h3 {
  margin: 17px 0 8px;
  line-height: 1.35;
}
.content-card p {
  color: var(--muted);
  font-size: .93rem;
}
.content-card a {
  margin-top: auto;
  color: var(--violet);
  font-weight: 700;
}
.sidebar {
  display: grid;
  gap: 18px;
}
.sidebar section {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sidebar h2 {
  font-size: 1.15rem;
}
.sidebar ul {
  padding-left: 20px;
}
.sidebar p, .sidebar li {
  color: var(--muted);
  font-size: .9rem;
}
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
.toolkit-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.toolkit-grid article>span {
  color: var(--violet);
  font-size: .8rem;
  font-weight: 800;
}
.toolkit-grid h3 {
  margin: 17px 0 8px;
}
.toolkit-grid p {
  color: var(--muted);
  font-size: .92rem;
}
.toolkit-grid a {
  margin-top: auto;
  color: var(--violet);
  font-weight: 700;
}
.quick-answers {
  padding: 85px 0;
  background: #eceaf4;
}
.quick-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 75px;
}
.quick-layout h2 {
  margin: 0;
  font-size: clamp(2rem,4vw,3rem);
  line-height: 1.16;
}
.quick-layout>div:first-child>p:not(.eyebrow) {
  color: var(--muted);
}
.quick-layout>div:first-child>a {
  color: var(--violet);
  font-weight: 800;
}
.answer-list {
  display: grid;
  gap: 12px;
}
.answer-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 23px;
  background: #fff;
  border: 1px solid #dfdbe9;
  border-radius: 15px;
}
.answer-list article>span {
  color: #aaa4b7;
  font-size: .8rem;
  font-weight: 800;
}
.answer-list h3 {
  margin: 0 0 7px;
}
.answer-list p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.dark-section {
  padding: 80px 0;
  color: #fff;
  background: var(--ink);
}
.dark-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}
.dark-grid h2 {
  font-size: 2.5rem;
}
.dark-list p {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255, .12);
}
.dark-list strong {
  margin-right: 20px;
  color: #bca8ff;
}
.breadcrumb {
  padding-top: 28px;
  color: #858291;
  font-size: .85rem;
}
.breadcrumb ol {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li+li::before {
  content: "/";
  margin-right: 10px;
  color: #aaa6b5;
}
.page-hero {
  padding: 70px 0 60px;
  max-width: 900px;
  margin-left: max(20px, calc((100% - 1180px)/2));
}
.page-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}
.topic-nav {
  position: sticky;
  top: 82px;
  z-index: 10;
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  background: rgba(255,255,255, .94);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.topic-nav a {
  flex: 1;
  min-width: max-content;
  padding: 8px 13px;
  text-align: center;
  font-size: .88rem;
  font-weight: 700;
}
.article-list {
  padding-bottom: 80px;
}
.article-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  padding: 55px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 145px;
}
.article-no {
  color: #c5c1d0;
  font-size: 2rem;
  font-weight: 800;
}
.article-body h2 {
  margin: 0 0 15px;
  font-size: clamp(2rem,4vw,3rem);
  line-height: 1.15;
}
.article-body>p {
  max-width: 800px;
  color: var(--muted);
}
.content-notes {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  margin-top: 28px;
}
.content-notes section {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.content-notes small {
  color: var(--violet);
  font-size: .72rem;
  font-weight: 800;
}
.content-notes h3 {
  margin: 8px 0 7px;
  font-size: 1.03rem;
}
.content-notes p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.source-heading {
  margin: 30px 0 12px;
  font-size: .82rem;
  letter-spacing: .08em;
}
.article-body ul {
  max-width: 850px;
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.article-body li {
  padding: 13px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.notice {
  max-width: 850px;
  padding: 20px 22px;
  background: #fff4ed;
  border-left: 4px solid #ef8d57;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  padding-bottom: 70px;
}
.about-grid article {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.about-grid article:last-child {
  color: #fff;
  background: var(--ink);
}
.about-grid article:last-child p {
  color: #c8c9d5;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
  padding-bottom: 80px;
}
.principle-grid article {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.principle-grid p {
  color: var(--muted);
  font-size: .91rem;
}
.workflow {
  padding-bottom: 70px;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.workflow-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.workflow-grid span {
  color: var(--violet);
  font-size: .8rem;
  font-weight: 800;
}
.workflow-grid p {
  color: var(--muted);
}
.boundary {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 50px;
  margin-bottom: 90px;
  padding: 37px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.boundary h2 {
  margin: 0;
}
.boundary ul {
  display: grid;
  gap: 12px;
  margin: 0;
  color: var(--muted);
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 28px;
  align-items: start;
}
.faq-item {
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.faq-question-heading {
  margin: 0;
  font-size: inherit;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 19px 21px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 800;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s;
}
.faq-item.open .faq-answer {
  max-height: 420px;
}
.faq-answer p {
  margin: 0;
  padding: 0 21px 20px;
  color: var(--muted);
}
.faq-side {
  padding: 25px;
  color: #fff;
  background: var(--ink);
  border-radius: 16px;
}
.faq-side p {
  color: #c8c9d5;
}
.policy {
  max-width: 850px;
  padding-top: 55px;
}
.policy p {
  color: var(--muted);
}
.footer {
  padding: 32px 0 24px;
  color: #c8c9d7;
  background: #0d0e1d;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255, .1);
}
.footer-links a {
  padding: 0 15px;
  border-right: 1px solid rgba(255,255,255, .15);
  font-size: .85rem;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 20px;
  font-size: .8rem;
}
.footer-meta p {
  margin: 0;
}
.footer-meta span {
  color: #bba9fa;
}
.no-result {
  grid-column: 1/-1;
  padding: 50px;
  text-align: center;
  background: #fff;
  border: 1px dashed #ccc6d9;
  border-radius: 16px;
}
@media(max-width:900px) {
  .nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .nav.open {
    display: grid;
  }
  .menu-btn {
    display: block;
  }
  .hero-grid, .content-layout, .dark-grid, .about-grid, .faq-layout, .spotlight, .quick-layout, .boundary {
    grid-template-columns: 1fr;
  }
  .principle-grid, .toolkit-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .page-hero {
    margin-left: auto;
  }
  .quick-layout {
    gap: 40px;
  }
  .boundary {
    gap: 25px;
  }
}
@media(max-width:620px) {
  .container {
    width: calc(100% - 28px);
  }
  .logo-text small {
    display: none;
  }
  .carousel {
    min-height: 430px;
  }
  .slide {
    align-items: end;
    padding: 38px 37px 62px;
  }
  .slide-title {
    font-size: 2rem;
  }
  .carousel-arrow {
    top: 28px;
    transform: none;
  }
  .carousel-prev {
    left: auto;
    right: 66px;
  }
  .carousel-next {
    right: 16px;
  }
  .hero {
    padding: 58px 0;
  }
  .hero h1, .page-hero h1 {
    font-size: 3rem;
  }
  .search-box {
    display: grid;
  }
  .card-grid, .principle-grid, .toolkit-grid, .workflow-grid, .content-notes {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: block;
  }
  .spotlight>article, .spotlight aside {
    padding: 30px 25px;
  }
  .spotlight-links {
    flex-direction: column;
  }
  .quick-answers {
    padding: 60px 0;
  }
  .answer-list article {
    grid-template-columns: 1fr;
  }
  .article-block {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .article-no {
    font-size: 1rem;
  }
  .boundary {
    padding: 27px;
  }
  .footer-meta {
    flex-direction: column;
    gap: 7px;
  }
}
.slide {
  isolation: isolate;
  background: #0a0d1c;
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,13,28, .92), rgba(10,13,28, .35));
  pointer-events: none;
}
.slide-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-copy {
  position: relative;
  z-index: 2;
}
.auto-entity-link {
  color: #4d2bb5;
  text-decoration: underline;
  text-decoration-color: rgba(108,69,223, .35);
  text-underline-offset: 3px;
}
.slide-copy .auto-entity-link, .dark-section .auto-entity-link {
  color: inherit;
  text-decoration-color: rgba(255,255,255, .45);
}
.article-copy {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  margin: 28px 0;
}
.article-copy section {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.article-copy h3 {
  margin: 0 0 9px;
  font-size: 1.05rem;
}
.article-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}
@media(max-width:620px) {
  .article-copy {
    grid-template-columns: 1fr;
  }
}
.portal-hero {
  text-align: center;
  padding: 78px 0 62px;
}
.portal-inner {
  max-width: 900px;
}
.portal-hero h1 {
  font-size: clamp(3.4rem,7vw,6.4rem);
}
.portal-hero .hero-lead {
  max-width: 760px;
  margin: 24px auto;
}
.portal-search {
  max-width: 800px;
  margin: auto;
  align-items: center;
  text-align: left;
}
.portal-search>span {
  padding-left: 12px;
  color: var(--violet);
  font-size: 1.5rem;
}
.portal-hero .chips {
  justify-content: center;
}
.search-scope {
  margin-top: 16px;
  color: var(--muted);
  font-size: .82rem;
}
.category-section {
  padding-top: 48px;
  padding-bottom: 18px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.category-grid button {
  min-height: 184px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: .2s;
}
.category-grid button:hover {
  border-color: #bcb0e8;
  transform: translateY(-2px);
}
.category-no {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--violet);
  border-radius: 12px;
  background: #f0ebff;
  font-size: .75rem;
  font-weight: 800;
}
.category-grid button>span:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.category-grid b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 1rem;
}
.category-grid b em {
  padding: 3px 8px;
  color: var(--violet);
  border-radius: 99px;
  background: #f0ebff;
  font-size: .7rem;
  font-style: normal;
}
.category-grid small {
  color: var(--muted);
}
.category-grid i {
  padding-top: 10px;
  color: #5e586e;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  font-style: normal;
  line-height: 1.75;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}
.resource-card {
  min-height: 265px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: .2s;
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(33,26,70, .09);
}
.resource-card>div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.resource-card>div span, .resource-card>div em {
  padding: 4px 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: .72rem;
  font-style: normal;
}
.resource-card>div em {
  margin-left: auto;
}
.resource-card h3 {
  margin: 22px 0 8px;
  font-size: 1.15rem;
}
.resource-card>p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .9rem;
}
.resource-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.resource-card code {
  overflow: hidden;
  color: #686278;
  font-size: .74rem;
  text-overflow: ellipsis;
}
.resource-card b {
  flex: 0 0 auto;
  color: var(--violet);
  font-size: .78rem;
}
.portal-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 65px;
  margin-bottom: 75px;
  padding: 34px 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.portal-rule h2 {
  margin: 0;
}
.portal-rule p:last-child {
  color: var(--muted);
}
.portal-rule>a {
  flex: 0 0 auto;
  padding: 11px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  font-weight: 700;
}
@media(max-width:850px) {
  .category-grid, .resource-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media(max-width:560px) {
  .category-grid, .resource-grid {
    grid-template-columns: 1fr;
  }
  .portal-rule {
    align-items: flex-start;
    flex-direction: column;
  }
  .portal-search {
    display: grid;
    grid-template-columns: 30px 1fr;
  }
  .portal-search button {
    grid-column: 1/3;
  }
}
