@charset "UTF-8";
/**
 * SCSS ミックスイン
 *
 * ブレークポイントを一元管理する。
 * 使用例:
 *   @use 'mixins' as *;
 *   .element { @include mobile { font-size: 14px; } }
 */
/* ヘッダー高さ（front-page 等で calc(100vh - var(--header-height)) に利用） */
:root {
  --header-height: 99px;
  /* padding 24*2 + content 51 */
}

@media (max-width: 768px) {
  :root {
    --header-height: 83px;
    /* padding 16*2 + content 51 */
  }
}
/* ヘッダー：自身のレイアウト */
.c-header {
  background-color: var(--color-bg-base);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.3s ease;
  /* スマホ版：スクロール中に非表示 */
}
@media (max-width: 768px) {
  .c-header.is-scrolling-down {
    transform: translateY(-100%);
  }
}

/* ヘッダー配下のみに適用（@scope） */
@scope (.c-header) {
  /* header active state */
  :scope.is-active .list {
    display: none;
  }
  :scope.is-active .contact {
    display: none;
  }
  /* layout */
  .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-24) var(--space-40);
    max-width: 100%;
  }
  @media (max-width: 768px) {
    .inner {
      padding: var(--space-16) var(--space-16);
    }
  }
  /* logo */
  .logo {
    height: 51px;
    width: 200px;
    position: relative;
    flex-shrink: 0;
  }
  .logo .link {
    display: block;
    height: 100%;
    width: 100%;
  }
  .logo .media {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 35px;
    width: 192px;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
  }
  /* navigation */
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex-shrink: 0;
  }
  .list {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  @media (max-width: 768px) {
    .list {
      display: none;
    }
  }
  .menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .menu .menu-item {
    margin: 0;
  }
  .menu .menu-item a {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-8);
    text-decoration: none;
    color: var(--color-white);
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    transition: var(--link-transition, opacity 0.2s ease);
  }
  .menu .menu-item a .dot {
    display: block;
    width: 4px;
    height: 4px;
    flex-shrink: 0;
    background-color: var(--color-white);
    border-radius: 50%;
  }
  .menu .menu-item a .text {
    flex-shrink: 0;
  }
  /* contact CTA */
  .contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    height: 51px;
    width: 167px;
    padding: var(--space-8) var(--space-24);
    background-color: var(--color-white);
    border: 0.5px solid var(--color-key);
    border-radius: 500px;
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--link-transition, opacity 0.2s ease);
  }
  @media (max-width: 768px) {
    .contact {
      display: none;
    }
  }
  .contact .text {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--color-key);
  }
  .contact .dot {
    width: 5px;
    height: 5px;
    background: var(--color-key);
    border-radius: 50%;
  }
  /* trigger */
  .trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    position: relative;
    flex-shrink: 0;
    background-color: var(--color-key);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
    z-index: 101;
  }
  .trigger:hover {
    opacity: 0.8;
  }
  .trigger.is-active .icon span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .trigger.is-active .icon span:nth-child(2) {
    opacity: 0;
  }
  .trigger.is-active .icon span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
  .icon {
    position: relative;
    width: 20px;
    height: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 1px;
    transition: all 0.3s ease;
    position: absolute;
  }
  .icon span:nth-child(1) {
    top: 0;
  }
  .icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .icon span:nth-child(3) {
    bottom: 0;
  }
}
/* オーバーレイ：自身のレイアウト */
.c-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-base);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* オーバーレイ配下のみに適用（@scope） */
@scope (.c-overlay) {
  .inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--space-160) var(--space-40);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
  }
  @media (max-width: 768px) {
    .inner {
      padding: var(--space-160) var(--space-40);
      justify-content: flex-start;
    }
  }
  .header {
    display: none;
  }
  @media (max-width: 768px) {
    .header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      width: 100%;
      padding-bottom: var(--space-40);
      margin-bottom: var(--space-40);
      border-bottom: 1px solid var(--color-white-10);
    }
  }
  .header .logo {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
  }
  .header .logo .image {
    display: block;
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 40px;
    object-fit: contain;
  }
  .header .logo .tagline {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
  }
  .header .close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: transparent;
    border: 2px solid var(--color-key-light);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
  }
  .header .close:hover {
    opacity: 0.8;
  }
  .header .close .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-white);
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
  }
  .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-24);
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
  }
  @media (max-width: 768px) {
    .content {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  .nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: var(--space-24);
    width: 560px;
    margin-top: 0;
  }
  @media (max-width: 768px) {
    .nav {
      display: flex;
      flex-direction: column;
      gap: var(--space-24);
      width: 100%;
      flex: 1;
    }
  }
  .link {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    padding: var(--space-8) var(--space-8);
    width: 280px;
    text-decoration: none;
    color: inherit;
  }
  @media (max-width: 768px) {
    .link {
      gap: var(--space-8);
      padding: var(--space-8) 0;
      width: 100%;
    }
  }
  .dot {
    display: block;
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    background-color: var(--color-key);
    border-radius: 50%;
  }
  @media (max-width: 768px) {
    .dot {
      width: 4px;
      height: 4px;
      background-color: var(--color-white);
    }
  }
  .text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-8);
    color: var(--color-white);
    line-height: 1;
  }
  .text-en {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 24px;
    text-transform: capitalize;
  }
  .text-ja {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 14px;
  }
  .banner {
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
    width: 480px;
    margin-top: 0;
  }
  @media (max-width: 768px) {
    .banner {
      gap: var(--space-24);
      width: 100%;
      margin-top: var(--space-40);
    }
  }
  .banner .item {
    display: block;
    width: 480px;
    position: relative;
    border-radius: 18px;
    overflow: visible;
    text-decoration: none;
    transition: opacity 0.3s ease;
  }
  .banner .item:hover {
    opacity: 0.8;
  }
  @media (max-width: 768px) {
    .banner .item {
      width: 100%;
    }
  }
  .banner .media {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
}
/* ヘッダー is-active 時にオーバーレイ表示（スコープ外） */
.c-header.is-active ~ .c-overlay,
.c-header.is-active + .c-overlay {
  opacity: 1;
  visibility: visible;
}
.c-header.is-active ~ .c-overlay .content,
.c-header.is-active + .c-overlay .content {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.c-footer {
  width: 100%;
  background-color: var(--color-bg-base);
  color: var(--color-white);
  padding: var(--space-80) var(--space-0) var(--space-40);
}

@scope (.c-footer) {
  .inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: var(--space-0) var(--space-40);
    display: flex;
    flex-direction: column;
    gap: var(--space-40);
  }
  .logo-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
  }
  .logo-section .logo {
    display: flex;
    align-items: center;
  }
  .logo-section .logo .image {
    display: block;
    width: auto;
    height: auto;
    width: 192px;
    height: 49px;
    object-fit: contain;
  }
  .logo-section .tagline {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
  }
  .nav-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-40);
    padding-top: var(--space-40);
    border-top: 1px solid var(--color-white-20);
  }
  .nav-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    min-width: 0;
  }
  .nav-column .column-title {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
    padding-bottom: var(--space-16);
    border-bottom: 1px solid var(--color-white-20);
    position: relative;
    padding-left: var(--space-8);
  }
  .nav-column .column-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  .nav-column .column-title a:hover {
    opacity: 0.75;
  }
  .nav-column .column-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 9px);
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--color-white);
    border-radius: 50%;
  }
  .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
  }
  .nav-list li {
    margin: 0;
    padding: 0;
  }
  .nav-list a {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white-80);
    text-decoration: none;
    transition: var(--link-transition, color 0.2s ease);
  }
  .nav-list a::before {
    content: ">";
    color: var(--color-white-50);
    font-size: 12px;
  }
  .nav-list a:hover {
    color: var(--color-white);
  }
  .legal-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    padding-top: var(--space-40);
    border-top: 1px solid var(--color-white-20);
  }
  .legal-links {
    display: flex;
    gap: var(--space-24);
  }
  .legal-links a {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white-80);
    text-decoration: none;
    transition: var(--link-transition, color 0.2s ease);
  }
  .legal-links a:hover {
    color: var(--color-white);
  }
  .copyright {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white-80);
    margin: 0;
  }
}
@media (max-width: 768px) {
  @scope (.c-footer) {
    padding: var(--space-40) 0 var(--space-24);
    .inner {
      padding: 0 var(--space-16);
      gap: var(--space-24);
    }
    .nav-section {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-24) var(--space-24);
      padding-top: var(--space-24);
    }
    .legal-links {
      flex-direction: column;
      gap: var(--space-8);
    }
  }
}
/* p-chapter: Other Chapter section (Figma) */
@scope (.p-chapter) {
  :scope {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-80);
  }
  @media (max-width: 768px) {
    .inner {
      gap: var(--space-40);
    }
  }
  .title {
    font-family: "Montserrat", sans-serif;
    font-size: 88px;
    font-weight: 500;
    color: var(--color-text-base);
    text-align: center;
  }
  @media (max-width: 768px) {
    .title {
      font-size: 40px;
      text-align: left;
    }
  }
  .grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-24);
  }
  @media (max-width: 768px) {
    .grid {
      flex-direction: column;
      flex-wrap: nowrap;
      gap: var(--space-16);
    }
  }
  .grid > .item {
    list-style: none;
    width: 588px;
    height: 278px;
  }
  @media (max-width: 768px) {
    .grid > .item {
      width: 100%;
      height: 200px;
    }
  }
  .grid > .item > .item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    text-decoration: none;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
  }
  .grid > .item > .item .visual {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    z-index: 0;
  }
  .grid > .item > .item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 18px;
    z-index: 1;
    transition: background 0.3s ease;
  }
  .grid > .item > .item:hover .visual {
    transform: scale(1.05);
  }
  .grid > .item > .item:hover::before {
    background: rgba(0, 0, 0, 0.3);
  }
  .label {
    position: relative;
    z-index: 2;
    font-family: "Montserrat", sans-serif;
    font-size: 44px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
  }
  @media (max-width: 768px) {
    .label {
      font-size: 24px;
    }
  }
  .label-ja {
    font-size: 18px;
    font-weight: 500;
  }
  @media (max-width: 768px) {
    .label-ja {
      font-size: 14px;
    }
  }
}
/* single-knowledge: コラム詳細 */
.page-single-knowledge {
  width: 100%;
  background: var(--color-overlay-black);
  padding: var(--space-80) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@scope (.c-hero) {
  :scope {
    width: 100%;
    min-height: 100vh;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
  }
  .background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-base);
    overflow: hidden;
  }
  .background .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
  }
}
/* --- Contents wrapper --- */
.page-single-knowledge .c-contents {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--space-80) var(--space-8) var(--space-160);
}

.page-single-knowledge .main-container {
  display: flex;
  gap: var(--space-40);
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-160) var(--space-80);
  background: var(--color-white);
  border-radius: 18px;
}
@media (max-width: 1024px) {
  .page-single-knowledge .main-container {
    flex-direction: column;
    padding: var(--space-80) var(--space-40);
  }
}
@media (max-width: 768px) {
  .page-single-knowledge .main-container {
    padding: var(--space-40) var(--space-16);
    border-radius: 9px;
  }
}

/* --- TOC sidebar --- */
.toc-sidebar {
  position: sticky;
  top: 120px;
  flex-shrink: 0;
  width: 280px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  padding: var(--space-24) var(--space-24);
  background: var(--color-gray-10);
  border-radius: 9px;
  align-self: flex-start;
}
@media (max-width: 1024px) {
  .toc-sidebar {
    position: static;
    width: 100%;
    max-height: none;
  }
}

.toc-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.64px;
  color: var(--color-text-base);
  margin-bottom: var(--space-16);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.toc-item a {
  text-decoration: none;
  color: var(--color-text-base);
  line-height: 1.5;
  display: block;
}
.toc-item a:hover {
  opacity: 0.7;
}

.toc-h2 a {
  font-size: 16px;
  letter-spacing: 0.64px;
}

.toc-h3 {
  padding-left: var(--space-8);
}
.toc-h3 a {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-gray-80);
}

/* --- Article --- */
.page-single-knowledge .article {
  flex: 1;
  max-width: 728px;
  min-width: 0;
}
@media (max-width: 1024px) {
  .page-single-knowledge .article {
    max-width: 100%;
  }
}

/* --- Article thumb --- */
.article-thumb {
  margin-bottom: var(--space-24);
  border-radius: 9px;
  overflow: hidden;
}
.article-thumb .image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 728/410;
  object-fit: cover;
}

/* --- Article header --- */
.article-header {
  margin-bottom: var(--space-24);
}

.article-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-base);
  margin-bottom: var(--space-16);
}
@media (max-width: 768px) {
  .article-title {
    font-size: 22px;
  }
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  font-size: 12px;
  color: var(--color-gray-50);
  margin-bottom: var(--space-8);
}
.article-meta .date {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.article-tags .tag {
  font-size: 12px;
  color: var(--color-gray-50);
  text-decoration: none;
}
.article-tags .tag:hover {
  color: var(--color-text-base);
}

/* --- Article intro --- */
.article-intro {
  margin-bottom: var(--space-24);
  padding-bottom: var(--space-24);
  border-bottom: 1px solid var(--color-gray-20);
}
.article-intro p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-base);
}

/* --- Writer --- */
.article-writer {
  display: flex;
  gap: var(--space-16);
  padding: var(--space-24);
  margin-bottom: var(--space-40);
  background: var(--color-gray-10);
  border-radius: 9px;
}
@media (max-width: 768px) {
  .article-writer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.writer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.writer-info {
  flex: 1;
  min-width: 0;
}

.writer-label {
  font-size: 14px;
  color: var(--color-gray-80);
  margin-bottom: var(--space-8);
}

.writer-name {
  font-weight: 500;
  color: var(--color-text-base);
}

.writer-profile {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-base);
  margin-bottom: var(--space-8);
}

.writer-social {
  display: flex;
  gap: var(--space-8);
}
@media (max-width: 768px) {
  .writer-social {
    justify-content: center;
  }
}

.social-link {
  display: block;
  width: 32px;
  height: 32px;
  transition: opacity 0.2s;
}
.social-link:hover {
  opacity: 0.7;
}

/* ===========================
   Article content (the_content)
   =========================== */
.article-content {
  margin-bottom: var(--space-40);
}
.article-content h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-base);
  padding: var(--space-8) var(--space-16);
  margin: var(--space-40) 0 var(--space-24);
  position: relative;
}
.article-content h2::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-text-base) 0%, transparent 100%);
}
@media (max-width: 768px) {
  .article-content h2 {
    font-size: 18px;
  }
}
.article-content h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-base);
  padding-left: var(--space-16);
  margin: var(--space-40) 0 var(--space-16);
  position: relative;
}
.article-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-text-base) 0%, transparent 100%);
}
@media (max-width: 768px) {
  .article-content h3 {
    font-size: 16px;
  }
}
.article-content h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-base);
  margin: var(--space-24) 0 var(--space-16);
}
@media (max-width: 768px) {
  .article-content h4 {
    font-size: 15px;
  }
}
.article-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-base);
  margin-bottom: var(--space-16);
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 9px;
  margin-bottom: var(--space-16);
}
.article-content ul,
.article-content ol {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-base);
  margin: 0 0 var(--space-16) var(--space-24);
  padding: 0;
}
.article-content ul {
  list-style: disc;
}
.article-content ol {
  list-style: decimal;
}
.article-content li {
  margin-bottom: var(--space-8);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-24);
  font-size: 16px;
  letter-spacing: 0.32px;
}
.article-content th,
.article-content td {
  padding: var(--space-16) var(--space-16);
  border: 1px solid var(--color-gray-50);
  text-align: left;
}
.article-content th {
  background: var(--color-gray-10);
  font-weight: 500;
}
.article-content td {
  background: var(--color-white);
}
.article-content blockquote {
  position: relative;
  margin: var(--space-24) 0;
  padding: var(--space-24) var(--space-40);
  border: 1px solid var(--color-gray-20);
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-base);
}
.article-content blockquote::before, .article-content blockquote::after {
  font-family: "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--color-gray-20);
  position: absolute;
  line-height: 1;
}
.article-content blockquote::before {
  content: "“";
  top: -8px;
  left: 12px;
}
.article-content blockquote::after {
  content: "”";
  bottom: -24px;
  right: 12px;
}
.article-content a {
  color: #018bff;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}
.article-content a:hover {
  opacity: 0.85;
}

/* --- CTA banner --- */
.article-cta {
  margin-top: var(--space-40);
}

.cta-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 100%;
  height: 180px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(51, 51, 51, 0.58)), url("../../images/single-cases/chapter-banner-cases.webp") center/cover no-repeat;
  border-radius: 18px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.cta-link:hover {
  opacity: 0.85;
}
@media (max-width: 768px) {
  .cta-link {
    height: 140px;
  }
}

.cta-title {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--color-white);
  text-transform: capitalize;
}
@media (max-width: 768px) {
  .cta-title {
    font-size: 24px;
  }
}

.cta-desc {
  font-size: 18px;
  color: var(--color-white);
}
@media (max-width: 768px) {
  .cta-desc {
    font-size: 14px;
  }
}

/* ===========================
   Related posts
   =========================== */
.c-related-knowledge {
  width: 100%;
  padding: var(--space-160) var(--space-8);
  background: rgba(51, 51, 51, 0.7);
  backdrop-filter: blur(15px);
}
@media (max-width: 768px) {
  .c-related-knowledge {
    padding: var(--space-80) var(--space-8);
  }
}

.c-related-knowledge .inner {
  max-width: 1080px;
  margin: 0 auto;
}

.c-related-knowledge .section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--color-white);
  text-transform: capitalize;
  text-align: center;
  margin-bottom: var(--space-8);
}
@media (max-width: 768px) {
  .c-related-knowledge .section-title {
    font-size: 32px;
  }
}

.c-related-knowledge .section-subtitle {
  font-size: 18px;
  color: var(--color-white);
  text-align: center;
  margin-bottom: var(--space-40);
}

.c-related-knowledge .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}
@media (max-width: 768px) {
  .c-related-knowledge .card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
}

/* Knowledge card (shared with archive) */
.knowledge-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 9px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 17, 31, 0.04);
  transition: box-shadow 0.3s, transform 0.2s;
}
.knowledge-card:hover {
  box-shadow: 0 8px 28px rgba(0, 17, 31, 0.08);
  transform: translateY(-2px);
}
.knowledge-card .card-image {
  overflow: hidden;
}
.knowledge-card .card-image .image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 334/188;
  object-fit: cover;
}
.knowledge-card .card-body {
  padding: var(--space-16);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.knowledge-card .card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-base);
  margin-bottom: var(--space-8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.knowledge-card .card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-gray-80);
  margin-bottom: var(--space-8);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.knowledge-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.knowledge-card .tag {
  font-size: 12px;
  color: var(--color-gray-50);
}

/* Chapter */
.c-chapter {
  width: 100%;
  background-color: var(--color-white);
  padding: var(--space-80) var(--space-80);
}
@media (max-width: 768px) {
  .c-chapter {
    padding: var(--space-80) var(--space-16);
  }
}

/*# sourceMappingURL=style.css.map */
