.tp-article-archive {
  --tp: #07777c;
  --tp-dark: #055f63;
  --tp-soft: #e8f6f6;
  --tp-line: #e5e7eb;
  background: #fff;
  color: #111;
  padding-top: 116px;
}

.tp-article-archive .article-hero {
  align-items: center;
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  min-height: 420px;
  position: relative;
}

.tp-article-archive .article-hero:before {
  background: linear-gradient(90deg, rgba(7, 53, 55, .88), rgba(7, 119, 124, .52));
  content: "";
  inset: 0;
  position: absolute;
}

.tp-article-archive .article-hero .container {
  position: relative;
  z-index: 1;
}

.tp-article-archive .article-hero h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
  max-width: 920px;
}

.tp-article-archive .article-hero p {
  color: #fff;
  font-size: 18px;
  line-height: 1.72;
  margin-bottom: 0;
  max-width: 780px;
}

.tp-article-archive .hero-label {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.tp-article-archive .section {
  padding: 64px 0;
}

.tp-article-archive .breadcrumb-wrap {
  background: #f5f5f5;
  border-bottom: 1px solid var(--tp-line);
  color: #637773;
  font-size: 14px;
  padding: 14px 0;
}

.tp-article-archive .breadcrumb-wrap a {
  color: #111;
  font-weight: 700;
}

.tp-article-archive .breadcrumb-wrap span {
  color: var(--tp);
  font-weight: 700;
}

.tp-article-archive .section-title {
  color: #111;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 10px;
}

.tp-article-archive .section-desc {
  color: #5f6b6b;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
}

.tp-article-archive .filter-panel {
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 17, 17, .06);
  padding: 20px;
}

.tp-article-archive .search-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 150px;
}

.tp-article-archive .search-input {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #111;
  min-height: 46px;
  padding: 10px 14px;
  width: 100%;
}

.tp-article-archive .search-input:focus {
  border-color: var(--tp);
  box-shadow: 0 0 0 3px rgba(7, 119, 124, .12);
  outline: none;
}

.tp-article-archive .btn-main {
  background: var(--tp);
  border: 1px solid var(--tp);
  border-radius: 5px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  min-height: 46px;
  padding: 10px 18px;
}

.tp-article-archive .btn-main:hover {
  background: var(--tp-dark);
  border-color: var(--tp-dark);
  color: #fff;
  text-decoration: none;
}

.tp-article-archive .filter-group {
  border-top: 1px solid var(--tp-line);
  margin-top: 16px;
  padding-top: 16px;
}

.tp-article-archive .filter-label {
  color: #111;
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tp-article-archive .filter-chip {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  color: #111;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  margin: 4px 4px 4px 0;
  padding: 8px 13px;
}

.tp-article-archive .filter-chip.active,
.tp-article-archive .filter-chip:hover {
  background: var(--tp);
  border-color: var(--tp);
  color: #fff;
  text-decoration: none;
}

.tp-article-archive .article-card {
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, .07);
  height: 100%;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.tp-article-archive .article-card:hover {
  box-shadow: 0 14px 34px rgba(17, 17, 17, .11);
  transform: translateY(-3px);
}

.tp-article-archive .article-thumb {
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  display: block;
  overflow: hidden;
}

.tp-article-archive .article-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tp-article-archive .article-body {
  padding: 18px;
}

.tp-article-archive .article-meta {
  align-items: center;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.tp-article-archive .article-meta i,
.tp-article-archive .section-title i,
.tp-article-archive .filter-label i,
.tp-article-archive .breadcrumb-wrap i {
  color: var(--tp);
  margin-right: 6px;
}

.tp-article-archive .article-card h2 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.34;
  margin-bottom: 10px;
}

.tp-article-archive .article-card h2 a {
  color: #111;
}

.tp-article-archive .article-card h2 a:hover {
  color: var(--tp);
  text-decoration: none;
}

.tp-article-archive .article-card p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.68;
  margin-bottom: 14px;
}

.tp-article-archive .tag-soft {
  background: var(--tp-soft);
  border-radius: 999px;
  color: var(--tp);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.tp-article-archive .empty-box,
.tp-article-archive .link-panel {
  background: #f8faf9;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  padding: 24px;
}

.tp-article-archive .link-panel h3 {
  color: #111;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.tp-article-archive .internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tp-article-archive .internal-links a {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 13px;
}

.tp-article-archive .internal-links a:hover {
  background: var(--tp);
  border-color: var(--tp);
  color: #fff;
  text-decoration: none;
}

.tp-article-archive .pagination-wrap {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 30px;
}

.tp-article-archive .page-link-soft {
  align-items: center;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #111;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  min-height: 40px;
  min-width: 40px;
  justify-content: center;
  padding: 8px 12px;
}

.tp-article-archive .page-link-soft.active,
.tp-article-archive .page-link-soft:hover {
  background: var(--tp);
  border-color: var(--tp);
  color: #fff;
  text-decoration: none;
}

.tp-article-detail .detail-hero {
  min-height: 470px;
}

.tp-article-detail .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.tp-article-detail .detail-meta span {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 7px;
}

.tp-article-detail .detail-layout {
  align-items: flex-start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.tp-article-detail .detail-content {
  min-width: 0;
}

.tp-article-detail .detail-featured {
  aspect-ratio: 16 / 9;
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 17, 17, .1);
  margin: 0 0 30px;
  overflow: hidden;
}

.tp-article-detail .detail-featured img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tp-article-detail .article-copy {
  color: #222;
  font-size: 17px;
  line-height: 1.9;
}

.tp-article-detail .toc {
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, .07);
  margin: 0 0 28px;
  overflow: hidden;
}

.tp-article-detail .toc-toggle {
  align-items: center;
  background: var(--tp);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: space-between;
  min-height: 52px;
  padding: 14px 18px;
  text-align: left;
  width: 100%;
}

.tp-article-detail .toc-toggle span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.tp-article-detail .toc-icon {
  transition: transform .2s ease;
}

.tp-article-detail .toc-body {
  display: none;
  padding: 18px;
}

.tp-article-detail .toc.is-open .toc-body {
  display: block;
}

.tp-article-detail .toc.is-open .toc-icon {
  transform: rotate(180deg);
}

.tp-article-detail .toc-cols {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tp-article-detail .toc-list {
  counter-reset: none;
  margin: 0;
  padding-left: 20px;
}

.tp-article-detail .toc-list li {
  color: var(--tp);
  font-weight: 800;
  margin-bottom: 9px;
  padding-left: 4px;
}

.tp-article-detail .toc-list li:last-child {
  margin-bottom: 0;
}

.tp-article-detail .toc a {
  color: #111;
  line-height: 1.45;
}

.tp-article-detail .toc a:hover {
  color: var(--tp);
  text-decoration: none;
}

.tp-article-detail .article-copy h2,
.tp-article-detail .article-copy h3,
.tp-article-detail .article-copy h4 {
  color: #111;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.32;
  margin: 34px 0 14px;
}

.tp-article-detail .article-copy h2 {
  font-size: 30px;
}

.tp-article-detail .article-copy h3 {
  font-size: 24px;
}

.tp-article-detail .article-copy h4 {
  font-size: 20px;
}

.tp-article-detail .article-copy p {
  margin-bottom: 18px;
}

.tp-article-detail .article-copy img {
  border-radius: 8px;
  height: auto;
  max-width: 100%;
}

.tp-article-detail .article-copy blockquote {
  border-left: 6px solid var(--tp);
  color: #2f4f4f;
  font-size: 18px;
  margin: 28px 0;
  padding: 4px 0 4px 20px;
}

.tp-article-detail .detail-tags {
  border-top: 1px solid var(--tp-line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 22px;
}

.tp-article-detail .detail-tags strong {
  color: #111;
  margin-right: 4px;
  padding: 7px 0;
}

.tp-article-detail .detail-tags a,
.tp-article-detail .internal-links.compact a {
  background: var(--tp-soft);
  border: 1px solid #cfe7e7;
  border-radius: 999px;
  color: var(--tp);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 11px;
}

.tp-article-detail .detail-tags a:hover,
.tp-article-detail .internal-links.compact a:hover {
  background: var(--tp);
  border-color: var(--tp);
  color: #fff;
  text-decoration: none;
}

.tp-article-detail .detail-sidebar {
  position: sticky;
  top: 120px;
}

.tp-article-detail .sidebar-box {
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, .07);
  margin-bottom: 22px;
  padding: 22px;
}

.tp-article-detail .sidebar-box h3 {
  color: #111;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.tp-article-detail .sidebar-box h3 i {
  color: var(--tp);
  margin-right: 7px;
}

.tp-article-detail .sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tp-article-detail .sidebar-list li + li {
  border-top: 1px solid var(--tp-line);
  margin-top: 12px;
  padding-top: 12px;
}

.tp-article-detail .sidebar-list a {
  color: #111;
  font-weight: 800;
}

.tp-article-detail .sidebar-list a:hover {
  color: var(--tp);
  text-decoration: none;
}

.tp-article-detail .sidebar-list small {
  color: #6b7280;
  display: block;
  margin-top: 4px;
}

.tp-article-detail .internal-links.compact {
  gap: 7px;
}

.tp-article-detail .article-cta {
  align-items: center;
  background: var(--tp);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 34px;
}

.tp-article-detail .article-cta h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tp-article-detail .article-cta p {
  color: #fff;
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
}

@media (max-width: 767.98px) {
  .tp-article-archive {
    padding-top: 96px;
  }

  .tp-article-archive .article-hero {
    min-height: 360px;
  }

  .tp-article-archive .article-hero h1 {
    font-size: 34px;
    line-height: 1.18;
  }

  .tp-article-archive .article-hero p {
    font-size: 16px;
    line-height: 1.65;
  }

  .tp-article-archive .section {
    padding: 44px 0;
  }

  .tp-article-archive .section-title {
    font-size: 27px;
  }

  .tp-article-archive .search-row {
    grid-template-columns: 1fr;
  }

  .tp-article-archive .article-body {
    padding: 16px;
  }

  .tp-article-detail .detail-layout {
    display: block;
  }

  .tp-article-detail .detail-sidebar {
    position: static;
  }

  .tp-article-detail .detail-featured {
    aspect-ratio: 1 / 1;
  }

  .tp-article-detail .article-copy {
    font-size: 16px;
  }

  .tp-article-detail .toc-cols {
    grid-template-columns: 1fr;
  }

  .tp-article-detail .toc-list-right {
    margin-top: -8px;
  }

  .tp-article-detail .article-copy h2 {
    font-size: 25px;
  }

  .tp-article-detail .article-copy h3 {
    font-size: 21px;
  }

  .tp-article-detail .article-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .tp-article-detail .article-cta h2 {
    font-size: 25px;
  }
}
