/*
Theme Name: Workbookly Editorial
Theme URI: https://workbookly.xyz/
Author: Workbookly
Author URI: https://workbookly.xyz/
Description: 직장인을 위한 생활 건강 정보에 최적화된 빠르고 읽기 쉬운 편집형 WordPress 테마입니다.
Version: 2.0.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: workbookly
*/

:root {
  --wb-paper: #f7f5ef;
  --wb-surface: #fffefa;
  --wb-ink: #17201d;
  --wb-muted: #65716c;
  --wb-line: #dce2dc;
  --wb-forest: #173f35;
  --wb-leaf: #2f6b59;
  --wb-mint: #dcebe3;
  --wb-amber: #c96d22;
  --wb-warning: #fff4df;
  --wb-radius: 18px;
  --wb-shadow: 0 18px 45px rgba(23, 63, 53, 0.08);
  --wb-content: 720px;
  --wb-wide: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--wb-ink);
  background: var(--wb-paper);
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--wb-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--wb-amber);
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--wb-amber);
  outline-offset: 3px;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--wb-forest);
  border-radius: 8px;
}

.site-shell {
  width: min(calc(100% - 40px), var(--wb-wide));
  margin-inline: auto;
}

.site-header {
  z-index: 100;
  position: relative;
  padding-bottom: 34px;
  background: var(--wb-paper);
}

.site-masthead {
  min-height: 180px;
  padding: 34px 0 54px;
  color: #fff;
  background: #1d2d28;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  color: var(--wb-forest);
  background: #fff;
  border-radius: 12px 12px 12px 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.site-title {
  color: #fff;
  font-family: Georgia, "Iowan Old Style", "Noto Serif KR", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-title:hover {
  color: #f2c495;
}

.site-tagline {
  margin: 8px 0 0;
  color: #c5d2cd;
  font-size: 13px;
  line-height: 1.45;
}

.masthead-ad {
  width: min(100%, 728px);
  margin-left: auto;
}

.masthead-ad .widget {
  overflow: hidden;
  min-height: 90px;
  background: #fff;
  border-radius: 6px;
}

.navigation-shell {
  position: sticky;
  z-index: 120;
  top: 12px;
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 22px;
  padding: 0 18px 0 26px;
  margin-top: -34px;
  background: var(--wb-surface);
  border: 1px solid rgba(23, 63, 53, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(16, 38, 31, 0.12);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--wb-ink);
  background: transparent;
  border: 1px solid var(--wb-line);
  border-radius: 10px;
  cursor: pointer;
}

.primary-navigation {
  min-width: 0;
  flex: 1;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.menu-toggle-lines::before {
  transform: translateY(-6px);
}

.menu-toggle-lines::after {
  transform: translateY(4px);
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a {
  color: #33403b;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a {
  color: var(--wb-amber);
}

.header-search {
  width: min(31vw, 300px);
  flex: 0 0 auto;
}

.header-search .search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.header-search .search-field {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--wb-ink);
  background: #f1f3f0;
  border: 1px solid transparent;
  border-radius: 999px;
}

.header-search .search-field:focus {
  background: #fff;
  border-color: var(--wb-leaf);
}

.header-search .search-submit,
.search-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: var(--wb-forest);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.search-toggle {
  display: none;
  font-size: 23px;
}

.ad-slot .widget,
.ad-slot .widget > :first-child {
  margin-top: 0;
}

.ad-slot .widget > :last-child {
  margin-bottom: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 10vw, 132px) 0 clamp(68px, 9vw, 116px);
  background:
    radial-gradient(circle at 78% 25%, rgba(220, 235, 227, 0.92), transparent 30%),
    linear-gradient(140deg, var(--wb-paper), #eef3ed 70%, #e2ebe5);
  border-bottom: 1px solid var(--wb-line);
}

.hero::after {
  position: absolute;
  right: max(5vw, 24px);
  bottom: -80px;
  width: min(34vw, 450px);
  height: min(34vw, 450px);
  border: 1px solid rgba(23, 63, 53, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(255, 255, 255, 0.14), inset 0 0 0 70px rgba(23, 63, 53, 0.035);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--wb-leaf);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--wb-amber);
  content: "";
}

.hero h1,
.page-title,
.entry-title,
.archive-title {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Noto Serif KR", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1.12;
}

.hero-description {
  max-width: 630px;
  margin: 26px 0 0;
  color: #43514c;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  color: #fff;
  background: var(--wb-forest);
  border: 1px solid var(--wb-forest);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  color: #fff;
  background: var(--wb-leaf);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--wb-forest);
  background: transparent;
}

.button-secondary:hover {
  color: var(--wb-forest);
  background: rgba(255, 255, 255, 0.7);
}

.home-section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.home-section + .home-section {
  border-top: 1px solid var(--wb-line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Noto Serif KR", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--wb-muted);
  font-size: 15px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}

.post-card {
  min-width: 0;
}

.post-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  background: var(--wb-mint);
  border-radius: var(--wb-radius);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.post-card:hover .post-card-media img {
  transform: scale(1.025);
}

.post-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--wb-forest);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(23, 63, 53, 0.035) 18px 19px);
  font-family: Georgia, serif;
  font-size: 42px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px;
  color: var(--wb-muted);
  font-size: 13px;
  font-weight: 650;
}

.post-meta a {
  color: var(--wb-leaf);
  text-decoration: none;
}

.post-card-title {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Noto Serif KR", serif;
  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.post-card-title a {
  color: var(--wb-ink);
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--wb-leaf);
}

.post-card-excerpt {
  margin: 12px 0 0;
  color: var(--wb-muted);
  font-size: 15px;
  line-height: 1.7;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--wb-line);
  list-style: none;
}

.topic-list li {
  border-bottom: 1px solid var(--wb-line);
}

.topic-list a {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
  color: var(--wb-ink);
  border-right: 1px solid var(--wb-line);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.topic-list li:first-child a {
  border-left: 1px solid var(--wb-line);
}

.topic-list a:hover {
  color: var(--wb-forest);
  background: var(--wb-mint);
}

.topic-number {
  color: var(--wb-amber);
  font-family: Georgia, serif;
  font-size: 14px;
}

.topic-name {
  font-size: 18px;
  font-weight: 750;
}

.editorial-band {
  color: #fff;
  background: var(--wb-forest);
}

.editorial-band .site-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.editorial-band h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Iowan Old Style", "Noto Serif KR", serif;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.editorial-band p {
  margin: 0;
  color: #d6e2dd;
}

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

.editorial-points li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 650;
}

.editorial-points li::before {
  margin-right: 10px;
  color: #f3ad6d;
  content: "✓";
}

.content-wrap {
  padding: clamp(60px, 8vw, 104px) 0;
}

.content-narrow {
  width: min(calc(100% - 40px), var(--wb-content));
  margin-inline: auto;
}

.content-wide {
  width: min(calc(100% - 40px), var(--wb-wide));
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--wb-muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--wb-muted);
  text-decoration: none;
}

.entry-header {
  margin-bottom: 38px;
}

.entry-title,
.page-title,
.archive-title {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.18;
}

.entry-summary {
  margin: 22px 0 0;
  color: #4e5a56;
  font-size: 20px;
  line-height: 1.7;
}

.entry-featured {
  overflow: hidden;
  width: min(calc(100% - 40px), 980px);
  aspect-ratio: 16 / 9;
  margin: 0 auto clamp(46px, 7vw, 76px);
  background: var(--wb-mint);
  border-radius: 24px;
  box-shadow: var(--wb-shadow);
}

.entry-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-content {
  font-size: 18px;
}

.entry-content > * {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.1em;
  margin-bottom: 0.75em;
  font-family: Georgia, "Iowan Old Style", "Noto Serif KR", serif;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.entry-content h2 {
  padding-top: 0.35em;
  font-size: clamp(28px, 4vw, 38px);
}

.entry-content h3 {
  font-size: clamp(23px, 3vw, 29px);
}

.entry-content p,
.entry-content li {
  color: #27322e;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25em;
}

.entry-content li + li {
  margin-top: 0.48em;
}

.entry-content blockquote {
  position: relative;
  padding: 26px 28px 26px 34px;
  margin: 2em 0;
  color: var(--wb-forest);
  background: var(--wb-mint);
  border: 0;
  border-left: 5px solid var(--wb-leaf);
  border-radius: 0 var(--wb-radius) var(--wb-radius) 0;
  font-family: Georgia, "Iowan Old Style", "Noto Serif KR", serif;
  font-size: 22px;
  line-height: 1.65;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 15px;
}

.entry-content th,
.entry-content td {
  min-width: 130px;
  padding: 13px 14px;
  border: 1px solid var(--wb-line);
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  color: var(--wb-forest);
  background: var(--wb-mint);
}

.entry-content .wp-block-image,
.entry-content figure {
  margin-block: 2.1em;
}

.entry-content figcaption {
  margin-top: 9px;
  color: var(--wb-muted);
  font-size: 13px;
  text-align: center;
}

.entry-content .wp-block-separator {
  margin-block: 2.8em;
  border-color: var(--wb-line);
}

.entry-content .workbookly-checklist,
.entry-content .workbookly-note,
.entry-content .workbookly-scenario {
  padding: 24px 26px;
  margin: 2em 0;
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
}

.entry-content .workbookly-checklist h3,
.entry-content .workbookly-note h3,
.entry-content .workbookly-scenario h3 {
  margin-top: 0;
}

.entry-content .workbookly-note {
  background: var(--wb-warning);
  border-color: #ead5aa;
}

.source-box,
.article-trust {
  padding: 22px 24px;
  margin-top: 42px;
  color: #47534f;
  background: #eef2ee;
  border-radius: 14px;
  font-size: 14px;
}

.article-trust strong {
  color: var(--wb-forest);
}

.author-box {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 17px;
  align-items: start;
  padding: 27px 0;
  margin-top: 48px;
  border-top: 1px solid var(--wb-line);
  border-bottom: 1px solid var(--wb-line);
}

.author-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: var(--wb-forest);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.author-box h2 {
  margin: 0 0 5px;
  font-size: 18px;
}

.author-box p {
  margin: 0;
  color: var(--wb-muted);
  font-size: 14px;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 50px;
}

.page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding-inline: 12px;
  color: var(--wb-forest);
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: 50px;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  color: #fff;
  background: var(--wb-forest);
}

.empty-state {
  max-width: 680px;
  padding: 42px;
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
}

.empty-state h2 {
  margin-top: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 30px;
}

.search-form {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.search-field {
  width: min(100%, 420px);
  min-height: 48px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--wb-line);
  border-radius: 12px;
}

.search-submit {
  padding: 10px 18px;
  color: #fff;
  background: var(--wb-forest);
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.site-footer {
  color: #d7e0dc;
  background: #102d26;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  padding: 64px 0 38px;
}

.footer-brand .site-title {
  color: #fff;
}

.footer-brand p {
  max-width: 460px;
  margin: 18px 0 0;
  color: #adc1b8;
  font-size: 14px;
}

.footer-nav-wrap {
  display: flex;
  justify-content: flex-end;
}

.footer-menu {
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 10px 20px;
}

.footer-menu a {
  color: #e8efeb;
  font-size: 14px;
  text-decoration: none;
}

.footer-menu a:hover {
  color: #f3ad6d;
}

.footer-bottom {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #91aaa0;
  font-size: 12px;
}

.footer-bottom p {
  max-width: 760px;
  margin: 0;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    position: absolute;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    background: var(--wb-surface);
    border: 1px solid var(--wb-line);
    border-radius: 16px;
    box-shadow: var(--wb-shadow);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 9px;
  }

  .primary-menu a:hover {
    background: var(--wb-mint);
  }

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

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

  .topic-list li:last-child {
    grid-column: 1 / -1;
  }

  .editorial-band .site-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
    word-break: normal;
  }

  .site-shell,
  .content-wide,
  .content-narrow,
  .entry-featured {
    width: min(calc(100% - 28px), var(--wb-wide));
  }

  .header-inner {
    min-height: 66px;
  }

  .site-title {
    font-size: 22px;
  }

  .site-mark {
    width: 34px;
    height: 34px;
  }

  .primary-navigation {
    top: 66px;
    right: 14px;
    left: 14px;
  }

  .hero {
    padding: 70px 0 66px;
  }

  .hero h1 {
    font-size: clamp(39px, 13vw, 56px);
  }

  .hero::after {
    right: -90px;
    width: 260px;
    height: 260px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .topic-list {
    grid-template-columns: 1fr;
  }

  .topic-list li:last-child {
    grid-column: auto;
  }

  .topic-list a,
  .topic-list li:first-child a {
    min-height: 104px;
    border-right: 1px solid var(--wb-line);
    border-left: 1px solid var(--wb-line);
  }

  .entry-title,
  .page-title,
  .archive-title {
    font-size: clamp(36px, 11vw, 48px);
  }

  .entry-content {
    font-size: 17px;
  }

  .entry-content blockquote {
    padding: 22px 20px 22px 24px;
    font-size: 20px;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .footer-nav-wrap,
  .footer-menu {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================
   Workbookly 2.0 — compact Korean editorial layout
   ======================================================================== */

:root {
  --wb-paper: #f2f4f1;
  --wb-surface: #ffffff;
  --wb-ink: #18231f;
  --wb-muted: #66716d;
  --wb-line: #dfe5e1;
  --wb-forest: #153f34;
  --wb-deep: #1b2b26;
  --wb-leaf: #2e6d5a;
  --wb-mint: #e8f0ec;
  --wb-amber: #d56c27;
  --wb-warning: #fff6e7;
  --wb-radius: 13px;
  --wb-shadow: 0 10px 30px rgba(20, 48, 39, 0.08);
  --wb-article: 780px;
  --wb-sidebar: 320px;
}

body {
  background: var(--wb-paper);
  font-size: 16px;
  line-height: 1.72;
}

.site-header {
  position: relative;
  padding: 0;
  background: var(--wb-deep);
  border: 0;
  backdrop-filter: none;
}

.site-masthead {
  min-height: 176px;
  padding: 34px 0 54px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--wb-deep);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.site-branding {
  min-width: 250px;
}

.site-mark {
  width: 46px;
  height: 46px;
  color: var(--wb-forest);
  background: #fff;
  border-radius: 13px 13px 13px 4px;
  font-size: 24px;
}

.site-title {
  color: #fff;
  font-size: 30px;
}

.site-title:hover {
  color: #f3c59e;
}

.site-tagline {
  max-width: 310px;
  margin: 9px 0 0;
  color: #bacac4;
  font-size: 12px;
  line-height: 1.45;
}

.masthead-ad {
  width: min(100%, 728px);
  margin: 0 0 0 auto;
}

.masthead-ad .widget {
  overflow: hidden;
  min-height: 90px;
  background: #fff;
  border-radius: 7px;
}

.site-navigation-wrap {
  position: sticky;
  z-index: 200;
  top: 0;
  height: 36px;
  margin-bottom: 34px;
  pointer-events: none;
}

.navigation-shell {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 22px;
  padding: 0 16px 0 25px;
  transform: translateY(-34px);
  background: var(--wb-surface);
  border: 1px solid rgba(21, 63, 52, 0.09);
  border-radius: 17px;
  box-shadow: 0 12px 34px rgba(13, 40, 31, 0.14);
  pointer-events: auto;
}

.primary-navigation {
  position: static;
  min-width: 0;
  flex: 1;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.primary-menu {
  gap: 24px;
}

.primary-menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
}

.header-search {
  display: block;
  width: min(29vw, 292px);
  flex: 0 0 auto;
}

.header-search .search-form {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.header-search .search-field {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--wb-ink);
  background: #f0f3f0;
  border: 1px solid transparent;
  border-radius: 999px;
}

.header-search .search-field:focus {
  background: #fff;
  border-color: var(--wb-leaf);
}

.header-search .search-submit,
.search-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: var(--wb-forest);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.search-toggle {
  display: none;
  font-size: 22px;
}

.home-intro {
  padding: 34px 0 42px;
  background: #fbfaf6;
  border-bottom: 1px solid var(--wb-line);
}

.home-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
}

.home-intro h1 {
  max-width: 680px;
  margin: 0;
  font-family: inherit;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.home-intro-copy p {
  margin: 0 0 12px;
  color: #4f5d58;
  font-size: 15px;
}

.home-intro-copy a {
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  width: 24px;
}

.feed-section,
.content-wrap {
  padding: 38px 0 78px;
}

.main-feed-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--wb-sidebar);
  gap: 24px;
  align-items: start;
}

.feed-column,
.article-main {
  min-width: 0;
}

.feed-heading {
  display: flex;
  min-height: 78px;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 0 2px 18px;
  border-bottom: 2px solid var(--wb-ink);
}

.feed-heading .eyebrow {
  margin-bottom: 5px;
}

.feed-heading h1,
.feed-heading h2,
.archive-title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.feed-heading > p,
.archive-description {
  max-width: 330px;
  margin: 0;
  color: var(--wb-muted);
  font-size: 13px;
  text-align: right;
}

.post-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.post-card {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 188px;
  overflow: hidden;
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.post-card:hover {
  border-color: #b9cbc3;
  box-shadow: var(--wb-shadow);
  transform: translateY(-2px);
}

.post-card-media {
  display: block;
  overflow: hidden;
  min-height: 188px;
  aspect-ratio: auto;
  margin: 0;
  background: var(--wb-mint);
  border-radius: 0;
  text-decoration: none;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.post-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 188px;
  place-content: center;
  color: var(--wb-forest);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), transparent),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(21, 63, 52, 0.04) 20px 21px),
    var(--wb-mint);
  text-align: center;
}

.post-card-placeholder strong {
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.post-card-placeholder small {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.post-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 20px 23px;
}

.post-card-title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 780;
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.post-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-card-read {
  align-self: flex-start;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.site-sidebar {
  display: grid;
  position: sticky;
  top: 82px;
  gap: 16px;
}

.sidebar-module,
.sidebar-ad-slot {
  overflow: hidden;
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
}

.sidebar-module-heading {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--wb-line);
}

.sidebar-module-heading h2,
.widget-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.sidebar-module-heading span {
  width: 25px;
  height: 5px;
  background: var(--wb-forest);
  border-radius: 99px;
}

.sidebar-categories ul,
.sidebar-recommended ol {
  padding: 10px 18px 14px;
  margin: 0;
  list-style: none;
}

.sidebar-categories li + li {
  border-top: 1px solid #eef1ef;
}

.sidebar-categories a {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #33413c;
  font-size: 13px;
  text-decoration: none;
}

.sidebar-categories a span:last-child {
  color: var(--wb-muted);
  font-size: 11px;
}

.sidebar-recommended li + li {
  margin-top: 11px;
}

.sidebar-recommended a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  color: var(--wb-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.sidebar-recommended img,
.sidebar-thumbnail-placeholder {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 7px;
}

.sidebar-thumbnail-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--wb-forest);
  font-family: Georgia, serif;
  font-size: 20px;
}

.sidebar-standard {
  padding-bottom: 18px;
}

.sidebar-standard p,
.sidebar-standard .sidebar-text-link {
  margin-right: 18px;
  margin-left: 18px;
}

.sidebar-standard p {
  margin-top: 16px;
  margin-bottom: 10px;
  color: var(--wb-muted);
  font-size: 12px;
}

.sidebar-text-link {
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.ad-slot {
  min-width: 0;
  margin: 22px 0;
  text-align: center;
}

.ad-slot .widget,
.ad-slot .widget > :first-child {
  margin-top: 0;
}

.ad-slot .widget > :last-child {
  margin-bottom: 0;
}

.sidebar-ad-slot {
  margin: 0;
  padding: 12px;
}

.article-header {
  width: min(calc(100% - 40px), 930px);
  padding-top: 4px;
  margin: 0 auto 28px;
}

.entry-title,
.page-title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(38px, 5.2vw, 56px);
  font-weight: 820;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.entry-summary {
  max-width: 790px;
  margin: 18px 0 0;
  color: #50605a;
  font-size: 18px;
  line-height: 1.7;
}

.article-main {
  padding: 30px 34px 42px;
  background: var(--wb-surface);
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
}

.entry-featured {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0 0 28px;
  background: var(--wb-mint);
  border-radius: 10px;
  box-shadow: none;
}

.article-toc {
  overflow: hidden;
  margin: 26px 0 34px;
  background: #f4f8f5;
  border: 1px solid #cbdad3;
  border-radius: 11px;
}

.entry-content .workbookly-composite-experience,
.entry-content .workbookly-editor-opinion {
  position: relative;
  padding: 26px 26px 24px;
  margin: 2.2em 0;
  border-radius: 12px;
}

.entry-content .workbookly-composite-experience {
  background: #fff8eb;
  border: 1px solid #ead5aa;
}

.entry-content .workbookly-composite-experience::before {
  display: block;
  margin-bottom: 10px;
  color: #9b531c;
  content: "COMMUNITY PATTERN";
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.entry-content .workbookly-editor-opinion {
  padding-left: 25px;
  background: #f2f6f3;
  border: 1px solid #d6e1da;
  border-left: 5px solid var(--wb-forest);
}

.entry-content .workbookly-composite-experience h2,
.entry-content .workbookly-editor-opinion h2 {
  padding: 0;
  margin: 0 0 14px;
  border: 0;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.4;
}

.entry-content .workbookly-composite-experience p:last-child,
.entry-content .workbookly-editor-opinion p:last-child {
  margin-bottom: 0;
}

.entry-content .workbookly-composite-disclosure {
  padding-top: 13px;
  margin-top: 17px;
  color: #776954;
  border-top: 1px solid rgba(155, 83, 28, 0.22);
  font-size: 13px;
  line-height: 1.65;
}

.toc-toggle {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #fff;
  background: var(--wb-forest);
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.toc-toggle span:last-child {
  font-size: 20px;
  transition: transform 160ms ease;
}

.toc-toggle[aria-expanded="false"] span:last-child {
  transform: rotate(-90deg);
}

.article-toc-list {
  padding: 16px 22px 18px 42px;
  margin: 0;
  columns: 2;
  column-gap: 34px;
}

.article-toc-list li {
  break-inside: avoid;
  margin: 5px 0;
  color: var(--wb-muted);
  font-size: 13px;
}

.article-toc-list .toc-level-3,
.article-toc-list .toc-level-4 {
  margin-left: 10px;
}

.article-toc-list a {
  color: #34433d;
  text-decoration: none;
}

.entry-content {
  font-size: 17px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  scroll-margin-top: 104px;
  font-family: inherit;
  font-weight: 800;
}

.entry-content h2 {
  padding: 0.48em 0 0.42em 14px;
  border-top: 1px solid var(--wb-line);
  border-left: 4px solid var(--wb-leaf);
  font-size: clamp(25px, 3vw, 32px);
}

.entry-content h3 {
  font-size: clamp(21px, 2.5vw, 25px);
}

.entry-content h4 {
  font-size: 19px;
}

.entry-content blockquote {
  padding: 22px 24px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 650;
}

.entry-content .workbookly-checklist,
.entry-content .workbookly-note,
.entry-content .workbookly-scenario {
  padding: 22px 24px;
  background: #fbfaf6;
  border-radius: 11px;
}

.source-box,
.article-trust {
  padding: 20px 22px;
  margin-top: 34px;
  border-radius: 10px;
  font-size: 13px;
}

.author-box {
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 25px 0 0;
  margin-top: 34px;
  border-bottom: 0;
}

.author-mark {
  width: 52px;
  height: 52px;
}

.page .content-wrap {
  padding-top: 34px;
}

.page .content-narrow {
  padding: 40px 44px;
  background: #fff;
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
}

.site-footer {
  color: #c7d3cf;
  background: var(--wb-deep);
}

.site-footer .site-title {
  color: #fff;
}

.footer-menu a {
  color: #d6dfdc;
}

@media (max-width: 1020px) {
  .masthead-inner {
    gap: 28px;
  }

  .site-tagline {
    display: none;
  }

  .primary-menu {
    gap: 15px;
  }

  .primary-menu a {
    font-size: 13px;
  }

  .header-search {
    width: 220px;
  }

  .main-feed-layout,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-ad-slot,
  .sidebar-standard {
    grid-column: 1 / -1;
  }

  .article-header {
    width: min(calc(100% - 40px), var(--wb-wide));
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
    word-break: keep-all;
  }

  .site-shell,
  .content-wide,
  .content-narrow,
  .entry-featured,
  .article-header {
    width: min(calc(100% - 24px), var(--wb-wide));
  }

  .site-masthead {
    min-height: 118px;
    padding: 22px 0 40px;
  }

  .site-branding {
    min-width: 0;
  }

  .site-mark {
    width: 39px;
    height: 39px;
    font-size: 21px;
  }

  .site-title {
    font-size: 25px;
  }

  .masthead-ad {
    display: none;
  }

  .site-navigation-wrap {
    height: 28px;
    margin-bottom: 24px;
  }

  .navigation-shell {
    position: relative;
    min-height: 56px;
    gap: 9px;
    padding: 0 10px;
    transform: translateY(-28px);
    border-radius: 13px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    position: absolute;
    z-index: 5;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    padding: 9px;
    background: #fff;
    border: 1px solid var(--wb-line);
    border-radius: 12px;
    box-shadow: var(--wb-shadow);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 0;
  }

  .primary-menu li + li {
    border-top: 1px solid #edf0ee;
  }

  .primary-menu a {
    min-height: 42px;
    padding: 0 9px;
  }

  .search-toggle {
    display: grid;
    margin-left: auto;
  }

  .header-search {
    position: absolute;
    z-index: 4;
    top: calc(100% + 7px);
    right: 0;
    display: none;
    width: 100%;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--wb-line);
    border-radius: 12px;
    box-shadow: var(--wb-shadow);
  }

  .header-search.is-open {
    display: block;
  }

  .home-intro {
    padding: 23px 0 29px;
  }

  .home-intro-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-intro h1 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .home-intro-copy p {
    font-size: 14px;
  }

  .feed-section,
  .content-wrap {
    padding: 26px 0 52px;
  }

  .feed-heading {
    min-height: 68px;
  }

  .feed-heading > p,
  .archive-description {
    display: none;
  }

  .post-card {
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 120px;
  }

  .post-card-media,
  .post-card-placeholder {
    min-height: 120px;
  }

  .post-card-media img {
    aspect-ratio: auto;
  }

  .post-card-placeholder strong {
    font-size: 30px;
  }

  .post-card-placeholder small,
  .post-card-excerpt,
  .post-card-read,
  .post-meta span:last-child {
    display: none;
  }

  .post-card-body {
    padding: 13px 14px;
  }

  .post-meta {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .post-card-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .site-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar-ad-slot,
  .sidebar-standard {
    grid-column: auto;
  }

  .entry-title,
  .page-title {
    font-size: clamp(31px, 10vw, 42px);
  }

  .entry-summary {
    font-size: 16px;
  }

  .article-main {
    padding: 16px 16px 28px;
  }

  .article-toc-list {
    columns: 1;
  }

  .entry-content {
    font-size: 16px;
  }

  .entry-content h2 {
    font-size: 24px;
  }

  .entry-content blockquote {
    padding: 19px 18px;
    font-size: 17px;
  }

  .entry-content .workbookly-composite-experience,
  .entry-content .workbookly-editor-opinion {
    padding: 21px 19px 20px;
  }

  .entry-content .workbookly-editor-opinion {
    padding-left: 18px;
  }

  .page .content-narrow {
    padding: 26px 20px;
  }
}
