/*
Theme Name: Seoul Woven
Template: blocksy
Version: 1.0.0
Text Domain: seoul-woven
*/
:root {
  --sw-ink: #182331;
  --sw-paper: #f5f7fa;
  --sw-blue: #214dd8;
  --sw-lime: #d9ebb9;
  --sw-line: #cbd5df;
  --sw-max: 1240px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--sw-paper);
  color: var(--sw-ink);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid var(--sw-blue);
  outline-offset: 3px;
}
.sw-shell {
  width: min(calc(100% - 40px), var(--sw-max));
  margin: auto;
}
.sw-kicker {
  color: var(--sw-blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.sw-site-header {
  border-bottom: 1px solid var(--sw-ink);
  padding: 22px 0 16px;
}
.sw-masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
}
.sw-wordmark {
  font:
    700 clamp(1.7rem, 4vw, 3.8rem)/0.9 Georgia,
    serif;
  letter-spacing: -0.08em;
}
.sw-wordmark span {
  color: var(--sw-blue);
}
.sw-nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 700;
}
.sw-intro {
  max-width: 28rem;
  font-size: 0.82rem;
  margin: 0;
}
.sw-menu-toggle {
  display: none;
}
.sw-grid {
  display: grid;
  grid-template-columns: 1.38fr 0.62fr;
  gap: 20px;
  padding: 38px 0;
}
.sw-feature {
  min-height: 420px;
  display: flex;
  align-items: end;
  padding: clamp(22px, 4vw, 52px);
  background: linear-gradient(
    135deg,
    #214dd8 0 47%,
    #d9ebb9 47% 57%,
    #eef1f5 57%
  );
  position: relative;
  overflow: hidden;
}
.sw-feature:before,
.sw-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 12%,
    rgba(24, 35, 49, 0.15) 12.3% 12.8%,
    transparent 13% 25%
  );
}
.sw-feature > * {
  position: relative;
}
.sw-feature > div {
  max-width: min(100%, 41rem);
  padding: clamp(18px, 3vw, 34px);
  background: rgba(14, 26, 39, 0.9);
  box-shadow: 14px 14px 0 rgba(245, 247, 250, 0.78);
}
.sw-feature .sw-kicker {
  color: var(--sw-lime);
}
.sw-feature h1 {
  max-width: 11ch;
  color: #fff;
  font:
    700 clamp(2.6rem, 6vw, 5.6rem)/0.85 Georgia,
    serif;
  letter-spacing: -0.075em;
  margin: 0.15em 0;
}
.sw-feature p {
  color: #fff;
  max-width: 27rem;
}
.sw-feature a {
  font-weight: 800;
  color: #fff;
  text-decoration: underline;
}
.sw-rail {
  display: grid;
  gap: 20px;
}
.sw-rail-card,
.sw-card {
  border-top: 3px solid var(--sw-ink);
  padding-top: 12px;
}
.sw-rail-card h2,
.sw-card h2 {
  font:
    700 clamp(1.35rem, 2.4vw, 2rem)/1 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0.2em 0;
}
.sw-art {
  min-height: 168px;
  background: linear-gradient(135deg, var(--sw-lime), #f5f7fa 50%, #9eb7ed);
  position: relative;
  overflow: hidden;
}
.sw-section {
  padding: 34px 0;
  border-top: 1px solid var(--sw-line);
}
.sw-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.sw-section h1,
.sw-section h2 {
  font:
    700 clamp(1.9rem, 4vw, 3.5rem)/0.93 Georgia,
    serif;
  letter-spacing: -0.06em;
  margin: 0 0 22px;
}
.sw-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sw-card .sw-art {
  min-height: 220px;
  margin-bottom: 14px;
}
.sw-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #52616e;
}
.sw-pagination {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.sw-pagination .page-numbers {
  border: 1px solid var(--sw-ink);
  padding: 7px 11px;
}
.sw-entry {
  width: min(100%, 760px);
  margin: 48px auto;
}
.sw-entry-title {
  font:
    700 clamp(2.5rem, 7vw, 5.9rem)/0.84 Georgia,
    serif;
  letter-spacing: -0.075em;
  margin: 0.15em 0 0.35em;
}
.sw-entry .wp-post-image {
  width: 100%;
  height: auto;
  margin: 14px 0 30px;
}
.sw-entry-content {
  font-size: 1.1rem;
}
.sw-entry-content > * {
  margin-block: 1.25em;
}
.sw-entry-content h2,
.sw-entry-content h3 {
  font-family: Georgia, serif;
  line-height: 1;
}
.sw-reading {
  border-top: 3px solid var(--sw-blue);
  margin: 38px 0;
  padding-top: 14px;
}
.sw-reading h2 {
  font:
    700 1.65rem/1 Georgia,
    serif;
}
.sw-reading-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0;
  list-style: none;
}
.sw-reading-list a {
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--sw-lime);
  text-decoration-thickness: 4px;
}
.sw-empty {
  padding: 70px 28px;
  background: linear-gradient(135deg, var(--sw-lime), #e8eff5);
  font:
    700 clamp(1.6rem, 4vw, 3rem)/1 Georgia,
    serif;
}
.sw-site-footer {
  background: var(--sw-ink);
  color: #fff;
  margin-top: 50px;
  padding: 35px 0;
}
.sw-site-footer a {
  color: #fff;
}
.sw-site-footer .sw-wordmark span {
  color: var(--sw-lime);
}
@media (max-width: 760px) {
  .sw-shell {
    width: min(calc(100% - 28px), var(--sw-max));
  }
  .sw-masthead {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }
  .sw-nav {
    justify-content: flex-start;
  }
  .sw-intro {
    display: none;
  }
  .sw-grid {
    grid-template-columns: 1fr;
  }
  .sw-feature {
    min-height: 360px;
  }
  .sw-cards {
    grid-template-columns: 1fr;
  }
  .sw-reading-list {
    grid-template-columns: 1fr;
  }
  .sw-entry {
    margin: 30px auto;
  }
  .sw-entry-content {
    font-size: 1rem;
  }
}
