.page-head {
  background: var(--c-bg);
  padding: 84px 0 40px;
}
.page-head-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--c-ink);
}
.page-head-desc {
  margin-top: 18px;
  font-size: 20px;
  color: var(--c-ink);
  max-width: 720px;
}
.blog-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.blog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-tab {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--c-bg-alt);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text-sub);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.blog-tab:hover {
  background: var(--c-border-soft);
  color: var(--c-ink);
}
.blog-tab.is-active {
  background: var(--c-ink);
  color: #FFFFFF;
}
.blog-search {
  position: relative;
  flex-shrink: 0;
  width: 280px;
}
.blog-search input {
  width: 100%;
  height: 42px;
  padding: 0 44px 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--c-bg-alt);
  font: inherit;
  font-size: 14.5px;
  color: var(--c-ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.blog-search input::placeholder {
  color: var(--c-text-mute);
}
.blog-search input:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #FFFFFF;
}
.blog-search button {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--c-text-sub);
  cursor: pointer;
}
.section-blog {
  padding: 48px 0 120px;
}
.blog-result {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--c-text-mute);
}
.blog-result strong {
  color: var(--c-primary-deep);
  font-weight: 700;
}
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  box-shadow: rgba(6, 12, 23, 0.06) 0 10px 25px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  border-color: var(--c-primary);
  box-shadow: rgba(6, 12, 23, 0.1) 0 14px 30px;
}
.blog-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.blog-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-thumb img {
  transform: scale(1.03);
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-cat {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--c-tint);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary-deep);
}
.blog-date {
  font-size: 13px;
  color: var(--c-text-mute);
}
.blog-featured {
  flex-direction: row;
  margin-bottom: 40px;
}
.blog-featured .blog-thumb {
  flex: 0 0 50%;
  aspect-ratio: auto;
}
.blog-featured-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 40px 44px;
}
.blog-featured-title {
  margin-top: 18px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  transition: color 0.15s ease;
}
.blog-featured-summary {
  display: -webkit-box;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text-sub);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-more {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
}
.blog-more .arrow {
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.blog-card:hover .blog-featured-title,
.blog-card:hover .blog-more {
  color: var(--c-primary-deep);
}
.blog-card:hover .blog-more .arrow {
  transform: translateX(4px);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.blog-grid > li {
  list-style: none;
}
.blog-grid .blog-card {
  height: 100%;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 26px;
}
.blog-card-title {
  display: -webkit-box;
  margin-top: 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}
.blog-card:hover .blog-card-title {
  color: var(--c-primary-deep);
}
.blog-card-summary {
  display: -webkit-box;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--c-text-sub);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 72px;
}
.page-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  color: var(--c-text-sub);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.page-arrow:hover {
  border-color: var(--c-primary-deep);
  color: var(--c-primary-deep);
}
.page-arrow.is-disabled {
  border-color: var(--c-border-soft);
  color: var(--c-text-mute);
  pointer-events: none;
}
.page-nums {
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--c-text-mute);
  transition: color 0.15s ease;
}
.page-num:hover {
  color: var(--c-ink);
}
.page-num.is-active {
  color: var(--c-ink);
  font-weight: 700;
}
.post {
  padding: 72px 0 96px;
}
.post-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-sub);
}
.post-back:hover {
  color: var(--c-ink);
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.post-meta .blog-date,
.post-read {
  font-size: 14px;
  color: var(--c-text-mute);
}
.post-title {
  margin-top: 18px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.post-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border);
}
.post-share-label {
  margin-right: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-mute);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.share-btn:hover {
  border-color: var(--c-ink);
}
.share-btn svg {
  width: 15px;
  height: 15px;
}
.post-hero {
  max-width: 960px;
  margin: 40px auto 0;
}
.post-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.post-hero figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-text-mute);
  text-align: center;
}
.post-body {
  margin-top: 48px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-text);
  word-break: keep-all;
}
.post-body > * + * {
  margin-top: 22px;
}
.post-lead {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--c-ink);
}
.post-body h2 {
  margin-top: 56px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
.post-body h3 {
  margin-top: 40px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-ink);
}
.post-body h2 + *,
.post-body h3 + * {
  margin-top: 14px;
}
.post-body a {
  color: var(--c-primary-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body strong {
  font-weight: 700;
  color: var(--c-ink);
}
.post-body ul {
  list-style: disc;
  padding-left: 24px;
}
.post-body ol {
  list-style: decimal;
  padding-left: 24px;
}
.post-body li + li {
  margin-top: 8px;
}
.post-body ul li::marker {
  color: var(--c-primary-deep);
}
.post-body blockquote {
  padding: 20px 24px;
  border-left: 3px solid var(--c-primary);
  border-radius: 0 12px 12px 0;
  background: var(--c-tint);
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-ink);
}
.post-body blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-style: normal;
  color: var(--c-text-sub);
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}
.post-body th,
.post-body td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}
.post-body th {
  background: var(--c-bg-alt);
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
}
.post-body code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--c-bg-alt);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  font-size: 0.88em;
  color: var(--c-ink);
}
.post-body pre {
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--c-footer);
  color: #E6EAF0;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: auto;
}
.post-body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}
.post-body figure {
  margin-top: 36px;
  margin-bottom: 36px;
}
.post-body figure img {
  display: block;
  width: 100%;
  border-radius: 12px;
}
.post-body figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-text-mute);
  text-align: center;
}
.post-callout {
  padding: 24px 28px;
  border-radius: 12px;
  background: var(--c-tint);
}
.post-callout-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-primary-deep);
}
.post-callout ul {
  margin-top: 10px;
  padding-left: 20px;
  list-style: disc;
  font-size: 16px;
}
.post-body hr {
  border: 0;
  border-top: 1px solid var(--c-border);
  margin-top: 48px;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}
.post-tag {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-text-sub);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.post-tag:hover {
  border-color: var(--c-ink);
  color: var(--c-ink);
}
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease;
}
.post-nav-item:hover {
  border-color: var(--c-primary);
}
.post-nav-item.is-next {
  text-align: right;
}
.post-nav-item.is-empty {
  border-style: dashed;
  pointer-events: none;
}
.post-nav-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-mute);
}
.post-nav-title {
  display: -webkit-box;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-ink);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav-item.is-empty .post-nav-title {
  color: var(--c-text-mute);
  font-weight: 500;
}
.post-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.section-related {
  padding: 96px 0 40px;
  background: var(--c-bg-alt);
}
.section-related .section-head {
  margin-bottom: 40px;
}
.section-related .blog-grid {
  gap: 24px;
}
.section-related + .cta-section {
  background: var(--c-bg-alt);
}
@media (max-width: 1279px) {
  .post-body img,
  .post-body video {
    max-width: 100%;
    height: auto;
  }
  .post-body iframe,
  .post-body embed,
  .post-body object {
    max-width: 100%;
  }
  .blog-card-title,
  .blog-featured-title,
  .post-title,
  .post-nav-title {
    text-wrap: balance;
  }
}
@media (max-width: 1023px) {
  .page-head {
    padding: 64px 0 32px;
  }
  .page-head-title {
    font-size: 40px;
  }
  .page-head-desc {
    margin-top: 14px;
    font-size: 18px;
  }
  .blog-filter {
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 20px 0;
  }
  .blog-search {
    flex: 1 1 280px;
  }
  .section-blog {
    padding: 40px 0 96px;
  }
  .blog-featured-body {
    padding: 32px;
  }
  .blog-featured-title {
    font-size: 24px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-meta {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .blog-cat {
    height: auto;
    min-height: 24px;
    padding-top: 2px;
    padding-bottom: 2px;
    line-height: 1.4;
  }
  .pagination {
    margin-top: 56px;
  }
  .page-num {
    height: 40px;
  }
  .post {
    padding: 56px 0 80px;
  }
  .post-title {
    font-size: 38px;
  }
  .share-btn {
    height: 40px;
  }
  .post-hero {
    margin-top: 32px;
  }
  .post-body {
    margin-top: 40px;
  }
  .post-body .wp-block-table {
    overflow-x: auto;
  }
  .section-related {
    padding: 80px 0 32px;
  }
  .section-related .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .section-related .blog-card-body {
    padding: 18px 16px 22px;
  }
  .section-related .blog-card-title {
    font-size: 17px;
  }
}
@media (max-width: 1023px), (hover: none) and (pointer: coarse) {
  .blog-search input {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .page-head {
    padding: 48px 0 28px;
  }
  .page-head-title {
    font-size: 30px;
  }
  .page-head-desc {
    margin-top: 12px;
    font-size: 16px;
  }
  .blog-filter {
    gap: 12px;
    padding: 16px 0;
  }
  .blog-tabs {
    gap: 6px;
  }
  .blog-tab {
    height: 40px;
    padding: 0 14px;
  }
  .section-blog {
    padding: 28px 0 72px;
  }
  .blog-result {
    margin-bottom: 16px;
  }
  .blog-featured {
    flex-direction: column;
    margin-bottom: 24px;
  }
  .blog-featured .blog-thumb {
    flex: none;
    aspect-ratio: 16 / 9;
  }
  .blog-featured-body {
    padding: 22px 22px 24px;
  }
  .blog-featured-title {
    margin-top: 14px;
    font-size: 21px;
  }
  .blog-featured-summary {
    margin-top: 10px;
    font-size: 15px;
  }
  .blog-more {
    padding-top: 18px;
  }
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .blog-card-body {
    padding: 20px 22px 24px;
  }
  .blog-card-title {
    margin-top: 12px;
    font-size: 18px;
  }
  .blog-card-summary {
    font-size: 15px;
  }
  .pagination {
    gap: 8px;
    margin-top: 44px;
  }
  .page-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
  .page-nums {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    min-width: 0;
  }
  .page-num {
    min-width: 32px;
  }
  .pagination:has(.page-ellipsis) {
    gap: 4px;
  }
  .page-nums:has(.page-ellipsis) .page-num {
    min-width: 28px;
  }
  .page-nums:has(.page-ellipsis) .page-ellipsis {
    min-width: 16px;
  }
  .post {
    padding: 28px 0 64px;
  }
  .post-back {
    min-height: 40px;
  }
  .post-meta {
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 12px;
  }
  .post-title {
    margin-top: 14px;
    font-size: 28px;
    line-height: 1.35;
  }
  .post-share {
    flex-wrap: wrap;
    margin-top: 20px;
    padding-bottom: 24px;
  }
  .post-hero {
    margin-top: 24px;
  }
  .post-body {
    margin-top: 32px;
    font-size: 16px;
    line-height: 1.8;
  }
  .post-body > * + * {
    margin-top: 18px;
  }
  .post-lead {
    font-size: 18px;
  }
  .post-body h2 {
    margin-top: 44px;
    font-size: 22px;
  }
  .post-body h3 {
    margin-top: 32px;
    font-size: 18px;
  }
  .post-body h2 + *,
  .post-body h3 + * {
    margin-top: 12px;
  }
  .post-body blockquote {
    padding: 16px 18px;
    font-size: 16px;
  }
  .post-body table {
    display: block;
    overflow-x: auto;
  }
  .post-body .wp-block-table table {
    display: table;
  }
  .post-body th,
  .post-body td {
    min-width: 7em;
    padding: 10px 12px;
  }
  .post-body pre {
    padding: 16px 18px;
    font-size: 13px;
  }
  .post-body figure {
    margin-top: 28px;
    margin-bottom: 28px;
  }
  .post-callout {
    padding: 20px;
  }
  .post-body hr {
    margin-top: 36px;
  }
  .post-tags {
    margin-top: 36px;
    padding-top: 24px;
  }
  .post-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 28px;
  }
  .post-nav-item {
    padding: 18px 20px;
  }
  .post-actions {
    margin-top: 28px;
  }
  .section-related {
    padding: 64px 0 24px;
  }
  .section-related .section-head {
    margin-bottom: 28px;
  }
  .section-related .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .section-related .blog-card-body {
    padding: 20px 22px 24px;
  }
  .section-related .blog-card-title {
    font-size: 18px;
  }
}
