.rm-blog-page {
  min-width: 0;
  overflow-x: clip;
  background: var(--rm-light);
  color: var(--rm-dark);
}

main.rm-article-page {
  min-width: 0;
  padding-top: var(--rm-hero-pad);
  overflow-x: clip;
  background: var(--rm-light);
  color: var(--rm-dark);
}

.rm-blog-page [hidden],
.rm-article-page [hidden],
.article-float[hidden] {
  display: none !important;
}

.rm-blog-hero {
  padding-block: var(--rm-hero-pad);
  background: var(--rm-mauve);
  color: var(--rm-mauve-ink);
}

.rm-blog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  align-items: start;
  gap: var(--rm-space-7);
}

.rm-blog-hero__copy,
.rm-blog-index-board,
.rm-blog-index-board__rows,
.rm-blog-index-board__rows div {
  min-width: 0;
}

.rm-blog-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rm-blog-hero__copy .rm-kicker {
  margin-bottom: var(--rm-space-3);
}

.rm-blog-hero__copy h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--rm-mauve-ink);
  font-family: "Sora", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: var(--rm-text-display);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.rm-blog-hero__copy > p {
  max-width: 44rem;
  margin: var(--rm-space-4) 0 0;
  color: var(--rm-mauve-ink);
  font-size: var(--rm-text-lg);
  line-height: 1.7;
}

.rm-blog-count {
  display: inline-flex;
  align-items: center;
  gap: var(--rm-space-2);
  width: fit-content;
  margin-top: var(--rm-space-5);
  padding: var(--rm-space-2) var(--rm-space-3);
  border-radius: var(--rm-radius-pill);
  background: #171426;
  color: #fcfbf9;
  font-size: var(--rm-text-sm);
}

#blg-article-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: var(--rm-space-1);
  border-radius: var(--rm-radius-pill);
  background: var(--rm-primary);
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.rm-blog-index-board {
  overflow: hidden;
  border-radius: var(--rm-radius-lg);
  background: #ffffff;
  color: #171426;
  box-shadow: var(--rm-shadow);
}

.rm-blog-index-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rm-space-3);
  padding: var(--rm-space-4) var(--rm-space-5);
  background: #171426;
  color: #fcfbf9;
}

.rm-blog-index-board__head span {
  color: #fcfbf9;
  font-size: var(--rm-text-sm);
}

.rm-blog-index-board__head strong {
  color: #fcfbf9;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--rm-text-sm);
}

.rm-blog-index-board__rows {
  display: grid;
}

.rm-blog-index-board__rows div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--rm-space-4);
  padding: var(--rm-space-4) var(--rm-space-5);
  border-bottom: 1px solid var(--rm-line);
}

.rm-blog-index-board__rows div:last-child {
  border-bottom: 0;
}

.rm-blog-index-board__rows span {
  color: #696771;
}

.rm-blog-index-board__rows b {
  color: #171426;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--rm-text-sm);
  text-align: right;
  overflow-wrap: anywhere;
}

.rm-blog-content {
  background: var(--rm-light);
  color: var(--rm-dark);
}

.rm-blog-panel {
  min-width: 0;
}

.rm-blog-panel--series {
  margin-top: var(--rm-section-pad);
}

.rm-blog-panel__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 46rem;
  margin-bottom: var(--rm-space-6);
}

.rm-blog-panel__head .rm-kicker {
  margin-bottom: var(--rm-space-3);
}

.rm-blog-panel__head h2 {
  margin: 0;
  color: var(--rm-dark);
}

.rm-blog-panel__head p {
  margin: var(--rm-space-3) 0 0;
  color: var(--rm-muted);
}

.blg-magazine {
  margin-bottom: var(--rm-space-5);
}

.blog-grid,
.blg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--rm-space-5);
  min-width: 0;
}

.blog-card,
.blg-featured {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--rm-radius-lg);
  background: #ffffff;
  color: #171426;
  text-decoration: none;
  box-shadow: var(--rm-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-0.25rem);
  box-shadow: 0 1.25rem 2.5rem color-mix(in srgb, #171426 16%, transparent);
}

.blog-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--rm-primary) 55%, transparent);
  outline-offset: 3px;
}

.blg-featured {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 0;
}

.blg-featured__media {
  position: relative;
  width: 100%;
  height: clamp(15rem, 32vw, 24rem);
  min-width: 0;
  overflow: hidden;
  background: #171426;
  color: #ffffff;
}

.blg-featured__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.blog-card:hover .blg-featured__img,
.blog-card:focus-visible .blg-featured__img {
  transform: scale(1.025);
}

.blg-featured__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, #171426 4%, transparent) 15%, color-mix(in srgb, #171426 88%, transparent) 100%);
  pointer-events: none;
}

.blg-featured__overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: var(--rm-space-6);
  color: #ffffff;
}

.blg-featured__pill {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  padding: var(--rm-space-2) var(--rm-space-3);
  border-radius: var(--rm-radius-pill);
  background: #ffffff;
  color: #171426;
  font-size: var(--rm-text-xs);
  font-weight: 700;
}

.blg-featured__pill + .blg-featured__hl {
  margin-top: var(--rm-space-3);
}

.blg-featured__hl {
  max-width: 24ch;
  margin: 0;
  color: #ffffff;
  font-family: "Sora", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: var(--rm-text-xl);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.blg-featured__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: var(--rm-space-5);
  background: #ffffff;
  color: #171426;
}

.blg-featured__excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #696771;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blg-featured__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rm-space-3);
  margin-top: var(--rm-space-4);
  padding-top: var(--rm-space-3);
  border-top: 1px solid var(--rm-line);
}

.blg-featured__hint {
  color: #696771;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--rm-text-xs);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.blg-featured.blg-compact {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  align-self: stretch;
}

.blg-featured.blg-compact .blg-featured__media {
  height: clamp(10rem, 20vw, 13rem);
}

.blg-featured.blg-compact .blg-featured__overlay {
  padding: var(--rm-space-4);
}

.blg-featured.blg-compact .blg-featured__pill {
  padding: var(--rm-space-1) var(--rm-space-3);
}

.blg-featured.blg-compact .blg-featured__hl {
  max-width: none;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.35;
}

.blg-featured.blg-compact .blg-featured__body {
  flex: 1;
  padding: var(--rm-space-4);
}

.blg-featured.blg-compact .blg-featured__excerpt {
  margin-bottom: var(--rm-space-3);
  -webkit-line-clamp: 3;
}

.blg-featured.blg-compact .blg-featured__meta {
  margin-top: auto;
  padding-top: var(--rm-space-3);
}

.rm-blog-timeline {
  display: grid;
  min-width: 0;
}

.rm-blog-month {
  display: grid;
  grid-template-columns: minmax(9rem, 0.24fr) minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
}

.rm-blog-month__marker {
  position: relative;
  min-width: 0;
  padding: var(--rm-space-2) var(--rm-space-5) var(--rm-space-7) 0;
  border-right: 1px solid var(--rm-line);
}

.rm-blog-month__dot {
  position: absolute;
  top: var(--rm-space-2);
  right: -0.45rem;
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  border: 0.2rem solid var(--rm-light);
  border-radius: 50%;
  background: var(--rm-primary);
}

.rm-blog-month__title {
  margin: 0;
  color: var(--rm-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--rm-text-sm);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.rm-blog-month__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--rm-space-5);
  min-width: 0;
  padding: 0 0 var(--rm-space-7) var(--rm-space-6);
}

.rm-blog-empty {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: var(--rm-space-6);
  padding: var(--rm-space-6);
  border-radius: var(--rm-radius-lg);
  background: var(--rm-oat);
  color: var(--rm-oat-ink);
}

.rm-blog-empty__copy,
.rm-blog-empty__links {
  min-width: 0;
}

.rm-blog-empty__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rm-blog-empty__copy .rm-kicker {
  margin-bottom: var(--rm-space-3);
}

.rm-blog-empty__copy h2 {
  margin: 0;
  color: var(--rm-oat-ink);
}

.rm-blog-empty__copy p {
  margin: var(--rm-space-3) 0 0;
  color: var(--rm-oat-ink);
  line-height: 1.7;
}

.rm-blog-empty__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--rm-space-4);
}

.rm-blog-entry {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: var(--rm-space-5);
  border-radius: var(--rm-radius-md);
  text-decoration: none;
  transition: transform 180ms ease;
}

.rm-blog-entry:hover,
.rm-blog-entry:focus-visible {
  transform: translateY(-0.2rem);
}

.rm-blog-entry:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--rm-primary) 55%, transparent);
  outline-offset: 3px;
}

.rm-blog-entry span {
  font-size: var(--rm-text-xs);
  font-weight: 700;
}

.rm-blog-entry strong {
  margin-top: var(--rm-space-3);
  font-family: "Sora", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: var(--rm-text-base);
  line-height: 1.45;
}

.rm-blog-entry small {
  margin-top: var(--rm-space-3);
  font-size: var(--rm-text-sm);
  line-height: 1.6;
}

.rm-blog-closing {
  padding-block: var(--rm-section-pad);
}

.rm-blog-closing .rm-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--rm-space-6);
  padding: var(--rm-space-7);
  border-radius: var(--rm-radius-lg);
  background: #171426;
  color: #fcfbf9;
  box-shadow: var(--rm-shadow);
}

.rm-cta-panel__copy {
  min-width: 0;
}

.rm-cta-panel__copy .rm-kicker {
  margin-bottom: var(--rm-space-3);
}

.rm-cta-panel__copy h2 {
  margin: 0;
  color: #fcfbf9;
}

.rm-cta-panel__copy p {
  max-width: 48rem;
  margin: var(--rm-space-3) 0 0;
  color: #fcfbf9;
  line-height: 1.7;
}

.rm-cta-panel__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--rm-space-3);
  min-width: min(100%, 15rem);
}

.rm-blog-closing .rm-btn-ghost {
  border-color: color-mix(in srgb, #fcfbf9 38%, transparent);
  color: #fcfbf9;
}

.rm-article-breadcrumb,
.rm-article-header,
.article-hero,
.blog-article-body {
  width: min(100%, 54rem);
  margin-inline: auto;
  padding-inline: var(--rm-space-4);
}

.rm-article-page {
  padding-top: var(--rm-hero-pad);
}

.rm-article-breadcrumb {
  padding-top: var(--rm-hero-pad);
}

.rm-article-breadcrumb .rm-breadcrumb {
  min-width: 0;
}

.rm-breadcrumb ol {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--rm-space-2);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rm-breadcrumb li {
  min-width: 0;
  color: var(--rm-muted);
  font-size: var(--rm-text-sm);
}

.rm-breadcrumb li + li::before {
  margin-right: var(--rm-space-2);
  color: var(--rm-muted);
  content: "/";
}

.rm-breadcrumb [aria-current="page"] {
  max-width: 38ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-breadcrumb a {
  color: var(--rm-primary);
  text-decoration: none;
}

.rm-breadcrumb a:hover,
.rm-breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.rm-article-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: var(--rm-space-6);
  padding-bottom: var(--rm-space-5);
}

.rm-article-header h1 {
  max-width: 22ch;
  margin: 0;
  color: var(--rm-dark);
  font-family: "Sora", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: var(--rm-text-display);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.rm-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--rm-space-2);
  margin-top: var(--rm-space-4);
}

.blog-article-date,
.blog-article-lead {
  width: fit-content;
  margin: 0;
  padding: var(--rm-space-2) var(--rm-space-3);
  border-radius: var(--rm-radius-pill);
  font-size: var(--rm-text-sm);
  line-height: 1.4;
}

.blog-article-date {
  background: var(--rm-mauve);
  color: var(--rm-mauve-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.blog-article-lead {
  background: var(--rm-mint);
  color: var(--rm-mint-ink);
}

.blog-article-readtime {
  margin-left: var(--rm-space-1);
}

.article-hero {
  margin-top: 0;
  margin-bottom: var(--rm-space-6);
}

.article-hero img {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: var(--rm-radius-lg);
  box-shadow: var(--rm-shadow);
}

.blog-article-body {
  padding-bottom: var(--rm-section-pad);
  color: var(--rm-dark);
  font-size: max(1rem, var(--rm-text-base));
  line-height: 1.75;
}

.blog-article-body h2,
.blog-article-body h3 {
  color: var(--rm-dark);
  font-family: "Sora", "PingFang SC", "Hiragino Sans GB", sans-serif;
  overflow-wrap: anywhere;
}

.blog-article-body h2 {
  margin: var(--rm-space-5) 0 var(--rm-space-3);
  font-size: var(--rm-text-xl);
  line-height: 1.3;
}

.blog-article-body h3 {
  margin: var(--rm-space-5) 0 var(--rm-space-3);
  font-size: var(--rm-text-lg);
  line-height: 1.4;
}

.blog-article-body h2[id],
.blog-article-body h3[id] {
  scroll-margin-top: 7rem;
}

.blog-article-body p {
  margin: 0 0 var(--rm-space-3);
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 var(--rm-space-4);
  padding-left: 1.5rem;
}

.blog-article-body li + li {
  margin-top: var(--rm-space-2);
}

.blog-article-body a:not(.rm-btn) {
  color: var(--rm-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.blog-article-body a:not(.rm-btn):hover,
.blog-article-body a:not(.rm-btn):focus-visible {
  color: var(--rm-primary-hover);
}

.blog-article-body pre {
  max-width: 100%;
  margin: var(--rm-space-4) 0;
  padding: var(--rm-space-4);
  overflow-x: auto;
  border-radius: var(--rm-radius-md);
  background: #171426;
  color: #fcfbf9;
  font-size: var(--rm-text-sm);
  line-height: 1.65;
}

.blog-article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.blog-article-body :not(pre) > code {
  padding: 0.12em 0.36em;
  border-radius: var(--rm-radius-sm);
  background: var(--rm-mauve);
  color: var(--rm-mauve-ink);
  overflow-wrap: anywhere;
}

.blog-article-body blockquote {
  margin: var(--rm-space-4) 0;
  padding: var(--rm-space-4) var(--rm-space-5);
  border-left: 0.25rem solid var(--rm-primary);
  border-radius: 0 var(--rm-radius-md) var(--rm-radius-md) 0;
  background: var(--rm-oat);
  color: var(--rm-oat-ink);
}

.blog-article-body blockquote p:last-child {
  margin-bottom: 0;
}

.blog-article-body dl {
  margin: var(--rm-space-5) 0;
}

.blog-article-body dt {
  color: var(--rm-dark);
  font-weight: 700;
}

.blog-article-body dd {
  margin: var(--rm-space-2) 0 var(--rm-space-4);
  padding-left: var(--rm-space-4);
  border-left: 2px solid var(--rm-line);
  color: var(--rm-muted);
}

.blog-article-body mark {
  padding-inline: 0.16em;
  background: linear-gradient(transparent 18%, var(--rm-sand) 18%, var(--rm-sand) 90%, transparent 90%);
  color: var(--rm-sand-ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.blog-article-body del {
  color: var(--rm-muted);
}

.blog-article-body figure {
  margin: var(--rm-space-5) 0;
}

.blog-article-body figure img,
.blog-article-body > img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--rm-radius-md);
  box-shadow: var(--rm-shadow);
}

.blog-article-body figcaption {
  margin-top: var(--rm-space-2);
  color: var(--rm-muted);
  font-size: var(--rm-text-sm);
  text-align: center;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  margin: var(--rm-space-4) 0;
  overflow-x: auto;
}

.blog-article-body table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  color: #171426;
  font-size: var(--rm-text-sm);
}

.blog-article-body th,
.blog-article-body td {
  min-width: 9rem;
  padding: var(--rm-space-3) var(--rm-space-4);
  border-bottom: 1px solid var(--rm-line);
  color: #171426;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.blog-article-body th {
  background: var(--rm-oat);
  color: var(--rm-oat-ink);
  font-weight: 700;
}

.article-toc {
  margin: 0 0 var(--rm-space-6);
  padding: var(--rm-space-5);
  border-left: 0.25rem solid var(--rm-primary);
  border-radius: var(--rm-radius-md);
  background: var(--rm-mauve);
  color: var(--rm-mauve-ink);
}

.article-toc__title {
  margin: 0 0 var(--rm-space-3);
  color: var(--rm-mauve-ink);
  font-family: "Sora", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-weight: 700;
}

.article-toc__list {
  margin: 0;
  padding-left: 1.4rem;
}

.article-toc__list li::marker,
.article-toc__sublist li::marker {
  color: var(--rm-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.article-toc__sublist {
  margin: var(--rm-space-2) 0 0;
  padding-left: 1.25rem;
}

.article-toc a:not(.rm-btn) {
  color: var(--rm-mauve-ink);
}

.article-faq {
  margin: var(--rm-space-5) 0;
  border-top: 1px solid var(--rm-line);
}

.article-faq__item {
  padding-inline: var(--rm-space-3);
  background: var(--rm-light);
  color: var(--rm-dark);
  border-bottom: 1px solid var(--rm-line);
}

.article-faq__q {
  padding: var(--rm-space-3) 0;
  color: var(--rm-dark);
  font-weight: 700;
  cursor: pointer;
}

.article-faq__a {
  padding: var(--rm-space-4) 0;
  border-top: 1px solid var(--rm-line);
  background: var(--rm-light);
  color: var(--rm-dark);
}

.article-faq__a p:last-child {
  margin-bottom: 0;
}

.article-further-reading {
  margin: var(--rm-space-6) 0;
  padding: var(--rm-space-5);
  border-radius: var(--rm-radius-md);
  background: var(--rm-blue);
  color: var(--rm-blue-ink);
}

.article-further-reading h3 {
  margin: 0 0 var(--rm-space-4);
  color: var(--rm-blue-ink);
}

.article-further-reading ul {
  display: grid;
  gap: var(--rm-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-further-reading li {
  margin: 0;
}

.article-cta-link {
  position: relative;
  display: block;
  padding: var(--rm-space-4) calc(var(--rm-space-6) + 1rem) var(--rm-space-4) var(--rm-space-4);
  border: 1px solid color-mix(in srgb, var(--rm-blue-ink) 18%, transparent);
  border-radius: var(--rm-radius-md);
  background: #ffffff;
  color: #202d4d;
  text-decoration: none;
  transition: transform 180ms ease;
}

.article-cta-link::after {
  position: absolute;
  top: 50%;
  right: var(--rm-space-4);
  color: var(--rm-primary);
  content: "→";
  transform: translateY(-50%);
}

.article-cta-link:hover,
.article-cta-link:focus-visible {
  transform: translateX(0.2rem);
}

.article-mac-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--rm-space-5);
  margin: var(--rm-space-6) 0 0;
  padding: var(--rm-space-5);
  border-radius: var(--rm-radius-lg);
  background: #171426;
  color: #fcfbf9;
  box-shadow: var(--rm-shadow);
}

.article-mac-promo__copy {
  min-width: 0;
}

.article-mac-promo__copy .rm-kicker {
  margin-bottom: var(--rm-space-3);
}

.article-mac-promo h2,
.article-mac-promo h3 {
  margin: 0;
  color: #fcfbf9;
}

.article-mac-promo p {
  margin: var(--rm-space-3) 0 0;
  color: #fcfbf9;
}

.article-mac-promo .rm-btn-secondary {
  background: #ffffff;
  color: #981b38;
}

.article-float {
  position: fixed;
  right: var(--rm-space-5);
  bottom: var(--rm-space-5);
  z-index: 60;
  width: min(18rem, calc(100vw - 2rem));
  overflow: hidden;
  padding: var(--rm-space-4);
  border-top: 0.25rem solid var(--rm-primary);
  border-radius: var(--rm-radius-md);
  background: #171426;
  color: #fcfbf9;
  box-shadow: var(--rm-shadow);
}

.article-float__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--rm-space-3);
  margin-bottom: var(--rm-space-4);
}

.article-float__title {
  color: #fcfbf9;
  font-family: "Sora", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: var(--rm-text-sm);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.article-float__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, #fcfbf9 38%, transparent);
  border-radius: 50%;
  background: transparent;
  color: #fcfbf9;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.article-float__close:hover,
.article-float__close:focus-visible {
  background: #fcfbf9;
  color: #171426;
}

.article-float__cta {
  display: flex;
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

@media (max-width: 900px) {
  .article-float {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .blog-grid,
  .blg-grid,
  .rm-blog-month__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-blog-hero__grid,
  .rm-blog-empty,
  .rm-blog-closing .rm-cta-panel,
  .article-mac-promo {
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-blog-index-board {
    margin-top: var(--rm-space-2);
  }

  .rm-blog-month {
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-blog-month__marker {
    display: flex;
    align-items: center;
    gap: var(--rm-space-3);
    padding: 0 0 var(--rm-space-4);
    border-right: 0;
  }

  .rm-blog-month__dot {
    position: static;
    flex: 0 0 auto;
    border-color: var(--rm-light);
  }

  .rm-blog-month__cards {
    padding: 0 0 var(--rm-space-7);
  }

  .rm-blog-empty__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-cta-panel__actions {
    width: 100%;
    min-width: 0;
  }

  .article-mac-promo .rm-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .rm-blog-hero__copy h1,
  .rm-article-header h1 {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .rm-blog-index-board__rows div {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--rm-space-2);
  }

  .rm-blog-index-board__rows b {
    text-align: left;
  }

  .rm-blog-empty,
  .rm-blog-closing .rm-cta-panel {
    padding: var(--rm-space-5);
  }

  .blg-featured__overlay {
    padding: var(--rm-space-4);
  }

  .rm-article-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-article-date,
  .blog-article-lead {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blg-featured__img,
  .rm-blog-entry,
  .article-cta-link {
    transition: none;
  }
}
