@charset "utf-8";

/* ==========================================================================
   一品楼论坛 yplbbs.sbs — 基础与设计 token
   ========================================================================== */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --surface-3: #F1F5F9;
  --hot: #FF69B4;
  --hot-soft: rgba(255, 105, 180, .5);
  --pink-50: #FDF2F8;
  --pink-100: #FCE7F3;
  --pink-400: #F472B6;
  --pink-500: #EC4899;
  --pink-600: #DB2777;
  --fill: #DB2777;
  --fill-deep: #BE185D;
  --ink-link: #C2185B;
  --indigo: #4F46E5;
  --indigo-chip: rgba(255, 255, 255, .18);
  --rose: #E11D48;
  --rose-ink: #BE123C;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --line: #E2E8F0;
  --line-soft: #F1F5F9;
  --ink: #252525;
  --cta-ink: #FFFFFF;
  --cta-glaze: rgba(90, 10, 45, .9);
  --cta-pin: rgba(255, 214, 170, .85);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-cta: 8px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  --container: 1280px;
  --head-h: 60px;
  --cta-h: 56px;
  --cta-gap: 12px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Nunito", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  padding-bottom: calc(var(--cta-h) + 56px + env(safe-area-inset-bottom, 0px));
}

h1 {
  font-size: 26px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 17px;
}

h1,
h2,
h3 {
  color: var(--slate-800);
  margin: 0;
  line-height: 1.35;
  font-weight: 600;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--ink-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  color: var(--slate-800);
}

:focus-visible {
  outline: 2px solid var(--fill-deep);
  outline-offset: 2px;
  border-radius: 3px;
}

.ct {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 90;
  background-color: var(--fill-deep);
  color: var(--cta-ink);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip:focus {
  left: 0;
}

.ico {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
}

/* ==========================================================================
   顶部（复刻 .navbar-fixed-top）
   ========================================================================== */
.head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--line-soft);
}

.head-in {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--head-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

/* 复刻 .forum-logo-ring：图标外加一圈环 */
.logo-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 9999px;
  border: 2px solid var(--hot-soft);
  background-color: var(--surface);
}

.logo-ring img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
}

.menu {
  display: none;
}

.head-tail {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 220px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9999px;
  transition: border-color .2s;
}

.search-form:focus-within {
  border-color: var(--hot);
  background-color: var(--surface);
}

.search-form .ico {
  width: 15px;
  height: 15px;
  fill: var(--slate-400);
}

.search-form input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background-color: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--slate-700);
  padding: 0;
}

.search-form input::placeholder {
  color: var(--slate-400);
}

.search-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 320px;
  max-width: 78vw;
  max-height: 60vh;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 65;
}

.search-list[hidden] {
  display: none;
}

.search-list li {
  margin: 0;
}

.search-list a {
  display: block;
  padding: 9px 10px;
  border-radius: var(--radius-xs);
  color: var(--slate-600);
  font-size: 15px;
}

.search-list a:hover,
.search-list a:focus-visible {
  background-color: var(--pink-50);
  color: var(--ink-link);
  text-decoration: none;
}

.search-list .no-hit {
  padding: 10px;
  font-size: 14px;
  color: var(--slate-400);
}

.head-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 9999px;
  background-color: transparent;
  color: var(--slate-600);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

.head-btn:hover {
  color: var(--ink-link);
}

/* 复刻 .btn-base / .btn-theme（.btn-theme 原色 #FF69B4 白字仅 2.6:1，填充改深一档） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--hot-soft);
  border-radius: 5px;
  background-color: transparent;
  color: var(--slate-700);
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--hot);
  color: var(--ink-link);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--fill-deep);
  outline-offset: 2px;
}

.btn-hot {
  background-color: var(--fill);
  border-color: var(--fill);
  color: var(--cta-ink);
}

.btn-hot:hover {
  background-color: var(--fill-deep);
  border-color: var(--fill-deep);
  color: var(--cta-ink);
}

/* 公告条：复刻 bg-indigo-500，改用深一档让白字达标 */
.bar {
  background-color: var(--indigo);
  padding: 8px 12px;
}

.bar-in {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.bar-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background-color: var(--indigo-chip);
}

.bar-chip .ico {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.bar-text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: 14px;
}

.bar-x {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
}

/* ==========================================================================
   主体与标题区
   ========================================================================== */
.stage {
  padding-top: calc(var(--head-h) + 12px);
  padding-bottom: 16px;
}

.page-head {
  margin-bottom: 14px;
}

.page-head h1 {
  margin-bottom: 4px;
}

.lead {
  margin: 0 0 6px;
  color: var(--rose-ink);
  font-size: 15px;
  font-weight: 600;
}

.meta {
  margin: 0 0 4px;
  color: var(--slate-500);
  font-size: 14px;
}

.cols {
  display: flex;
  flex-wrap: wrap;
}

.col-main,
.col-side {
  width: 100%;
  min-width: 0;
}

/* ==========================================================================
   三维筛选（复刻 .forum-quick-filter）
   ========================================================================== */
.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background-color: var(--surface-2);
  color: var(--slate-600);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.pill:hover {
  border-color: var(--hot);
  color: var(--ink-link);
}

.pill .ico {
  width: 15px;
  height: 15px;
  fill: var(--pink-500);
}

.panel {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.panel[hidden] {
  display: none;
}

.panel h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  font: inherit;
  cursor: pointer;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background-color: var(--surface-2);
  color: var(--slate-600);
  font-size: 14px;
  white-space: nowrap;
}

.tag:hover {
  border-color: var(--hot);
  background-color: var(--pink-50);
  color: var(--ink-link);
  text-decoration: none;
}

.tag.is-on {
  background-color: var(--pink-100);
  border-color: var(--pink-400);
  color: var(--ink-link);
  font-weight: 600;
}

.dim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--slate-500);
}

.dim b {
  color: var(--slate-700);
}

/* ==========================================================================
   帖子列表（复刻 ul.article-list > li.article-item）
   ========================================================================== */
.topics {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.topic {
  display: flex;
  gap: 14px;
  padding: 16px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--slate-600);
}

.topic:hover {
  border-color: var(--hot-soft);
  box-shadow: var(--shadow-md);
}

.topic-body {
  flex: 1 1 auto;
  min-width: 0;
}

.topic-city {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 6px;
  font-size: 13px;
}

.topic-city .c {
  color: var(--ink-link);
  font-weight: 600;
}

.topic-city .t {
  color: var(--slate-400);
}

.topic-title {
  margin: 0 0 8px;
  color: var(--slate-800);
  font-size: 17px;
  font-weight: 600;
}

.topic-sum {
  margin: 0 0 10px;
  color: var(--slate-500);
  font-size: 15px;
}

.topic-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 13px;
  color: var(--slate-400);
}

.topic-thumb {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 92px;
  height: 122px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--pink-50);
  text-align: center;
}

.topic-thumb .ico {
  width: 24px;
  height: 24px;
  fill: var(--pink-500);
}

.topic-thumb-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-link);
  line-height: 1.4;
}

.seal {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--pink-400);
  border-radius: 9999px;
  background-color: var(--pink-100);
  color: var(--ink-link);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.rank {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9999px;
  background-color: var(--slate-100);
  color: var(--slate-600);
  font-size: 13px;
  white-space: nowrap;
}

.tail {
  margin-top: 12px;
  text-align: center;
  color: var(--slate-400);
  font-size: 14px;
}

/* ==========================================================================
   侧栏（复刻 .card / .board / .download-app）
   ========================================================================== */
.side {
  padding-top: 4px;
}

.side-card {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.side-card h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.side-card .tags {
  gap: 6px;
}

.side-card .tag {
  padding: 4px 10px;
  font-size: 13px;
}

.btn-wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  margin-top: 4px;
  border: 1px solid var(--fill);
  border-radius: 5px;
  background-color: var(--fill);
  color: var(--cta-ink);
  font-size: 15px;
  font-weight: 600;
}

.btn-wide:hover {
  background-color: var(--fill-deep);
  border-color: var(--fill-deep);
  color: var(--cta-ink);
  text-decoration: none;
}

/* ==========================================================================
   内页通用块
   ========================================================================== */
.block {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.block > h2 {
  margin-bottom: 10px;
}

.note {
  padding: 14px;
  border: 1px solid var(--pink-100);
  border-left: 0;
  border-radius: var(--radius);
  background-color: var(--pink-50);
  color: var(--slate-700);
  font-size: 15px;
}

.fact {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  margin-bottom: 10px;
  font-size: 15px;
}

.fact:last-child {
  margin-bottom: 0;
}

.fact-k {
  flex: 0 0 auto;
  min-width: 5em;
  color: var(--slate-800);
  font-weight: 700;
}

.fact-v {
  flex: 1 1 12em;
  min-width: 0;
  color: var(--slate-600);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  padding: 12px 0;
  margin: 0;
  border-bottom: 1px solid var(--line-soft);
}

.steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.steps .s-name {
  display: block;
  color: var(--slate-800);
  font-size: 15px;
  font-weight: 700;
}

.steps .s-note {
  color: var(--slate-500);
  font-size: 14px;
}

.qa {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.qa:first-child {
  padding-top: 0;
}

.qa:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.qa h3 {
  margin-bottom: 6px;
}

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

.jump a {
  display: inline-block;
  padding: 9px 0;
  color: var(--slate-500);
  font-size: 15px;
}

.jump a:hover {
  color: var(--ink-link);
}

.tbl {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background-color: var(--surface-2);
  color: var(--slate-800);
  font-weight: 700;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.pf {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  background-color: var(--surface-2);
  padding: 24px 0 16px;
}

.pf-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--slate-800);
  font-size: 17px;
  font-weight: 700;
}

.pf-brand .ico {
  width: 22px;
  height: 22px;
  fill: var(--pink-500);
}

.pf-brand:hover {
  color: var(--ink-link);
  text-decoration: none;
}

.pf-line {
  max-width: 62ch;
  margin: 0 0 16px;
  color: var(--slate-500);
  font-size: 14px;
}

.pf-cols {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.pf-col h2 {
  font-size: 14px;
  color: var(--slate-700);
  margin-bottom: 2px;
}

.pf-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pf-col li {
  margin: 0;
}

.pf-col a {
  display: inline-block;
  padding: 8px 0;
  color: var(--slate-500);
  font-size: 14px;
}

.pf-col a:hover {
  color: var(--ink-link);
}

.pf-end {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--slate-400);
  font-size: 13px;
}

.pf-end p {
  margin-bottom: 6px;
}

/* ==========================================================================
   固定 CTA：朱漆洇开 ＋ 四角金钉亮起
   ========================================================================== */
.site-cta {
  position: fixed;
  left: 50%;
  bottom: 12px;
  bottom: calc(var(--cta-gap) + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 24px);
  min-height: var(--cta-h);
  padding: 12px 20px;
  border-radius: var(--radius-cta);
  background-color: var(--fill-deep);
  color: var(--cta-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 8px 18px -8px rgba(190, 24, 93, .55);
}

.site-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 150% at 50% 118%, var(--cta-glaze) 0%, rgba(90, 10, 45, 0) 72%);
  opacity: 0;
  transform: scale(.96);
  pointer-events: none;
  animation: lacquer-glaze 2.8s var(--ease) infinite;
}

.site-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    radial-gradient(circle at 9px 9px, var(--cta-pin) 0 2.5px, rgba(0, 0, 0, 0) 3px),
    radial-gradient(circle at calc(100% - 9px) 9px, var(--cta-pin) 0 2.5px, rgba(0, 0, 0, 0) 3px),
    radial-gradient(circle at 9px calc(100% - 9px), var(--cta-pin) 0 2.5px, rgba(0, 0, 0, 0) 3px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), var(--cta-pin) 0 2.5px, rgba(0, 0, 0, 0) 3px);
  opacity: 0;
  transform: scale(.96);
  pointer-events: none;
  animation: corner-pin 2.8s var(--ease) infinite;
}

.site-cta .cta-text {
  position: relative;
  z-index: 1;
}

.site-cta:hover,
.site-cta:focus {
  background-color: #9D174D;
  text-decoration: none;
}

@keyframes lacquer-glaze {
  0%,
  44% {
    opacity: 0;
    transform: scale(.96);
  }

  64% {
    opacity: .34;
    transform: scale(1.04);
  }

  82%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes corner-pin {
  0%,
  50% {
    opacity: 0;
    transform: scale(.96);
  }

  70% {
    opacity: 1;
    transform: scale(1);
  }

  88%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta::before {
    animation: none;
    opacity: .18;
    transform: none;
  }

  .site-cta::after {
    animation: none;
    opacity: .55;
    transform: none;
  }

  .drawer {
    transition: none;
  }
}

/* 移动端抽屉 */
.veil {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, .45);
  z-index: 70;
}

.veil[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 272px;
  max-width: 84vw;
  z-index: 71;
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(-102%);
  transition: transform .24s var(--ease);
  overflow-y: auto;
}

.drawer[data-open="true"] {
  transform: translateX(0);
}

.drawer[hidden] {
  display: none;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-x {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background-color: transparent;
  color: var(--slate-500);
  cursor: pointer;
}

.drawer-search {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-search .search {
  max-width: none;
  margin: 0;
}

.drawer-search .search-list {
  position: static;
  width: auto;
  max-width: none;
  border: 0;
  box-shadow: none;
  padding: 6px 0 0;
}

.drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav a {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--slate-700);
  font-size: 16px;
}

.drawer-nav a:hover,
.drawer-nav a:focus-visible {
  color: var(--ink-link);
  text-decoration: none;
}

/* ==========================================================================
   断点（对齐抓取页实际使用：640 / 768 / 1024 / 1280）
   ========================================================================== */
@media (min-width: 640px) {
  .ct {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 28px;
  }

  .pf-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-cta {
    width: auto;
    min-width: 420px;
    max-width: 560px;
  }
}

@media (min-width: 768px) {
  .col-main {
    width: 66.6667%;
  }

  .col-side {
    width: 33.3333%;
  }

  .side {
    padding-left: 16px;
  }

  .pf-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  :root {
    --head-h: 64px;
  }

  .menu {
    display: block;
    margin-left: 8px;
  }

  .menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu a {
    display: flex;
    align-items: center;
    height: var(--head-h);
    padding: 0 16px;
    color: var(--slate-700);
    font-size: 16px;
    white-space: nowrap;
  }

  .menu a:hover {
    color: var(--ink-link);
    text-decoration: none;
  }

  .menu a[aria-current="page"] {
    color: var(--ink-link);
    font-weight: 700;
    box-shadow: inset 0 -3px 0 0 var(--pink-500);
  }

  .jump {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .ct {
    padding-left: 20px;
    padding-right: 20px;
  }
}
