.portal-announcement {
  background: #e8f4e3;
  border-bottom: 1px solid #d5e4d1;
  color: #234b3c;
  font-size: 15px;
}
.portal-announcement p {
  padding-block: 10px;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 42%);
  align-items: stretch;
  min-height: 270px;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(ellipse at 87% 90%, #2d5746, transparent 65%), #172f2f;
  color: #fff;
}
.blog-intro {
  align-self: center;
  padding: clamp(24px, 5vw, 64px);
}
.blog-intro h1 {
  max-width: 13ch;
  font-size: clamp(36px, 5.3vw, 68px);
  font-weight: 640;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.blog-intro p {
  margin-top: 16px;
  max-width: 39ch;
  color: #d3e2da;
  font-size: clamp(16px, 2vw, 20px);
}
.blog-hero-art {
  display: grid;
  position: relative;
  isolation: isolate;
  place-items: center;
  min-height: 100px;
}
.blog-hero-art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(#acd4b22f 1px, transparent 1px),
    linear-gradient(90deg, #acd4b22f 1px, transparent 1px),
    linear-gradient(#acd4b212 1px, transparent 1px),
    linear-gradient(90deg, #acd4b212 1px, transparent 1px);
  background-position: center;
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  mask-image: radial-gradient(ellipse at center, #000 12%, transparent 76%);
  content: "";
}
.blog-hero-art img {
  width: clamp(68px, 10vw, 112px);
  height: auto;
  border-radius: 26%;
  box-shadow: 0 0 0 12px #cffa7621, 0 0 0 24px #cffa760e, 0 14px 42px #111f1c72;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: fit-content;
  margin: 24px 0 18px;
  padding: 4px;
  border-radius: 10px;
  background: #e9eeea;
}
.blog-filters a {
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 14px;
  color: #445852;
}
.blog-filters a:hover { background: #f5f8f4; }
.blog-filters [aria-current] {
  background: #fff;
  box-shadow: 0 1px 4px #19352e1c;
  color: #183e32;
  font-weight: 650;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.blog-card, .blog-empty, .blog-post {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.blog-card {
  display: flex;
  position: relative;
  flex-direction: column;
  height: 100%;
  padding: clamp(17px, 2.4vw, 28px);
  overflow-wrap: anywhere;
}
.blog-card:hover { border-color: #9eb9a8; background: #fbfdfb; }
.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}
.blog-kind {
  padding: 3px 8px;
  border-radius: 5px;
  background: #eaf3ea;
  color: #275b48;
  font-weight: 650;
}
.blog-kind[data-kind="news"] { background: #ecf0f7; color: #415b88; }
a.blog-kind:hover { text-decoration: underline; }
.blog-card h2 { margin: 14px 0 8px; font-size: clamp(21px, 2vw, 27px); }
.blog-card h2 a::after { position: absolute; inset: 0; border-radius: 16px; content: ""; }
.blog-card p { margin-bottom: 18px; color: var(--muted); font-size: 15px; }
.blog-card-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-weight: 650;
  font-size: 14px;
}
.blog-card:hover .blog-card-more { text-decoration: underline; }
.blog-empty { padding: clamp(22px, 4vw, 40px); }
.blog-empty :is(h1, h2) { margin-bottom: 10px; font-size: clamp(22px, 2.8vw, 30px); }
.blog-pages { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.blog-reader { max-width: 820px; margin-inline: auto; }
.blog-back { display: inline-block; margin-bottom: 14px; font-size: 15px; }
.blog-post { padding: clamp(20px, 5vw, 58px); overflow-wrap: anywhere; }
.blog-post-heading {
  margin-bottom: 25px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.blog-post h1 { margin: 15px 0 10px; }
.blog-summary { color: var(--muted); font-size: clamp(17px, 2.5vw, 21px); }
.blog-prose { font-size: 17px; line-height: 1.7; }
.blog-prose > * + * { margin-top: 1em; }
.blog-prose :is(h1, h2, h3, h4, h5, h6) { font-size: 1.3em; line-height: 1.25; }
.blog-prose h2 { font-size: 1.55em; }
.blog-prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.blog-prose blockquote { margin-inline: 0; padding-left: 16px; border-left: 3px solid #9eb9a8; }
.blog-prose pre { padding: 12px; overflow-x: auto; background: #edf2eb; border-radius: 8px; }
.blog-prose img { max-width: 100%; height: auto; }
.blog-footer { flex-wrap: wrap; }

@media (max-width: 1020px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not([data-portable]) .top { gap: 12px; }
  html:not([data-portable]) .nav-link { padding-inline: 8px; }
}
@media (min-width: 811px) and (max-width: 930px) {
  html:not([data-portable]) .progress-link .t { display: none; }
}
@media (max-width: 650px) {
  html:not([data-portable]) .top nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html:not([data-portable]) .nav-link { min-height: 36px; padding-inline: 3px; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .blog-hero { grid-template-columns: 1fr; min-height: 0; }
  .blog-intro { padding-bottom: 4px; }
  .blog-hero-art { min-height: 132px; }
}
@media (max-width: 560px) {
  html:not([data-portable]) .nav-link { flex-direction: column; gap: 2px; font-size: 12px; }
}
