.swc-shell {
  --swc-paper: #f3f7f6;
  --swc-card: #fcfefd;
  --swc-fog: #e8f1ef;
  --swc-ink: #173541;
  --swc-tide: #1d626d;
  --swc-deep: #123c49;
  --swc-muted: #51666b;
  --swc-line: #cbdad7;
  --swc-serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --swc-sans: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --swc-gutter: clamp(1rem, 4vw, 3.5rem);
  --swc-width: 74rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: radial-gradient(ellipse at 28% 11%, #e7f0ed, transparent 62%), var(--swc-paper);
  color: var(--swc-ink);
  color-scheme: light;
  font: 1rem/1.65 var(--swc-sans);
}

.swc-shell,
.swc-shell *,
.swc-shell *::before,
.swc-shell *::after { box-sizing: border-box; }
.swc-shell a { color: var(--swc-tide); text-underline-offset: .2em; }
.swc-shell :focus-visible { outline: 2px solid var(--swc-tide); outline-offset: 4px; }
.swc-shell h1, .swc-shell h2, .swc-shell h3 { margin: 0; color: inherit; line-height: 1.35; }
.swc-shell p { margin: 0; }

.swc-skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.swc-skip-link:focus {
  position: fixed;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  padding: .75rem;
  border-radius: .375rem;
  background: var(--swc-card);
}

.swc-header, .swc-main {
  width: min(100% - var(--swc-gutter) * 2, var(--swc-width));
  margin-inline: auto;
}

.swc-header {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .625rem 1rem;
  padding-block: .75rem;
  border-bottom: 1px solid var(--swc-line);
}

.swc-header .swc-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--swc-ink);
  font: 700 1.3rem/1.2 var(--swc-serif);
  text-decoration: none;
  flex-shrink: 0;
}

.swc-mark {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(155deg, #2c818a, var(--swc-deep));
}

.swc-mark::before, .swc-mark::after {
  position: absolute;
  content: "";
  left: .25rem;
  width: 1.35rem;
  height: .45rem;
  border-top: 1.5px solid #f1f4e6;
  border-radius: 50%;
  transform: rotate(-17deg);
}

.swc-mark::before { top: .9rem; }
.swc-mark::after { top: 1.18rem; left: .55rem; }

.swc-navigation { display: flex; gap: clamp(.625rem, 3vw, 1.5rem); }
.swc-navigation a { padding-block: .45rem; font-size: .925rem; text-decoration: none; }
.swc-navigation a:hover, .swc-navigation [aria-current] { text-decoration: underline; }
.swc-navigation [aria-current] { font-weight: 700; }
.swc-main { flex: 1; padding-block: clamp(1.5rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem); }

.swc-portal {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--swc-line);
  border-radius: 1.375rem;
  background: var(--swc-card);
  box-shadow: 0 18px 64px #18354112;
}

.swc-portal-copy {
  display: grid;
  align-content: center;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  padding: clamp(1.4rem, 5vw, 4.75rem);
}

.swc-shell .swc-portal h1 {
  font: 700 clamp(3.25rem, 8vw, 6.25rem)/1.12 var(--swc-serif);
  letter-spacing: -.045em;
}

.swc-modules { display: grid; gap: .75rem; }

.swc-shell .swc-module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .625rem;
  padding: .9rem 1.05rem;
  border: 1px solid var(--swc-line);
  border-radius: .75rem;
  background: var(--swc-paper);
  color: var(--swc-deep);
  text-decoration: none;
}

.swc-shell .swc-module:hover { border-color: var(--swc-tide); background: var(--swc-fog); }
.swc-module strong, .swc-module small { display: block; }
.swc-module strong { font: 700 clamp(1.25rem, 2.5vw, 1.55rem)/1.45 var(--swc-serif); }
.swc-module small { color: var(--swc-muted); font-size: .84rem; }

.swc-coast {
  min-height: 31rem;
  background: #315960 url("seawish-coast.jpg") 65% center / cover no-repeat;
}

.swc-archive { max-width: 54rem; margin-inline: auto; }
.swc-shell .swc-archive h1 { font: 700 clamp(2.4rem, 6vw, 4.1rem)/1.2 var(--swc-serif); }
.swc-articles { display: grid; gap: .85rem; margin-top: clamp(1.15rem, 4vw, 2rem); }

.swc-article {
  padding: clamp(1.1rem, 3.4vw, 1.75rem);
  border: 1px solid var(--swc-line);
  border-radius: .875rem;
  background: var(--swc-card);
}

.swc-article time { color: var(--swc-muted); font-size: .85rem; }
.swc-article h2 { margin-block: .35rem; font: 700 clamp(1.2rem, 2.4vw, 1.6rem)/1.45 var(--swc-serif); }
.swc-article h2 a { color: var(--swc-deep); text-decoration-thickness: .075em; }
.swc-article p, .swc-shell .swc-empty { color: var(--swc-muted); overflow-wrap: anywhere; }
.swc-shell .swc-empty { margin-top: 1.25rem; }
.swc-pagination { display: flex; gap: 1.5rem; margin-top: 1.5rem; }

.swc-shell .swc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .625rem 1.125rem;
  border: 1px solid var(--swc-tide);
  border-radius: .5rem;
  background: var(--swc-tide);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.swc-shell .swc-button:hover { background: var(--swc-deep); }

.swc-article-comments {
  margin-top: clamp(2rem, 7vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--wp--preset--color--line, #66898166);
}

.swc-article-comments .commentlist { padding-inline-start: 1.5rem; }
.swc-article-comments .swc-comment { margin-block: 1rem; }
.swc-article-comments .wp-block-comment-author-name { font-weight: 700; }
.swc-article-comments .wp-block-comment-date { opacity: .8; font-size: .875rem; }
.swc-article-comments .wp-block-post-comments-form :is(input, textarea) { max-width: 100%; }
.swc-article-comments .wp-block-post-comments-form label { margin-right: .3em; }

@media (max-width: 44rem) {
  .swc-header { min-height: 4.25rem; }
  .swc-portal { grid-template-columns: minmax(0, 1fr); }
  .swc-coast { min-height: clamp(11.5rem, 55vw, 19rem); }
}
