.th-cnc-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 24px auto;
  box-sizing: border-box;
}

.th-cnc-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: stretch;
  padding: 28px 30px;
  border: 1px solid #dbe7f6;
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 0%, rgba(11, 94, 215, .15), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(220, 38, 38, .06), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.th-cnc-hero span {
  display: inline-flex;
  margin: 0 0 11px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #0b5ed7;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.th-cnc-hero h2 {
  margin: 0 0 10px;
  color: #061b46;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -.05em;
}

.th-cnc-hero p {
  max-width: 780px;
  margin: 0;
  color: #334155;
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 560;
}

.th-cnc-hero-note {
  display: grid;
  align-content: center;
  padding: 20px;
  border: 1px solid #dbe7f6;
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.th-cnc-hero-note strong {
  display: block;
  margin: 0 0 6px;
  color: #061b46;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 950;
}

.th-cnc-hero-note p {
  margin: 0;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.56;
  font-weight: 700;
}

.th-cnc-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto;
  gap: 12px;
  align-items: end;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #e3eaf5;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.th-cnc-filters label {
  display: grid;
  gap: 6px;
  color: #061b46;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
}

.th-cnc-filters select {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #dbe7f6;
  border-radius: 12px;
  background: #f8fbff;
  color: #111827;
  font-size: 14.5px;
}

.th-cnc-filters button,
.th-cnc-filters a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 43px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none !important;
}

.th-cnc-filters button {
  border: 0;
  background: #061b46;
  color: #ffffff;
  cursor: pointer;
}

.th-cnc-filters a {
  border: 1px solid #dbe7f6;
  background: #ffffff;
  color: #334155 !important;
}

.th-cnc-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.th-cnc-list-compact {
  gap: 12px;
}

.th-cnc-card {
  padding: 20px;
  border: 1px solid #e3eaf5;
  border-left: 5px solid #0b5ed7;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.th-cnc-card.th-cnc-importance-important {
  border-left-color: #f59e0b;
}

.th-cnc-card.th-cnc-importance-critical {
  border-left-color: #dc2626;
}

.th-cnc-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.th-cnc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.th-cnc-badges span,
.th-cnc-card-top time {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0b5ed7;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.th-cnc-badges .th-cnc-badge-importance {
  background: #f8fafc;
  color: #334155;
}

.th-cnc-importance-important .th-cnc-badge-importance {
  background: #fef3c7;
  color: #92400e;
}

.th-cnc-importance-critical .th-cnc-badge-importance {
  background: #fee2e2;
  color: #991b1b;
}

.th-cnc-card h3 {
  margin: 0 0 9px;
  color: #061b46;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -.028em;
}

.th-cnc-card h3 a {
  color: inherit;
  text-decoration: none !important;
}

.th-cnc-card h3 a:hover {
  color: #0b5ed7;
}

.th-cnc-summary {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.66;
  font-weight: 560;
}

.th-cnc-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.th-cnc-meta-grid div {
  padding: 12px;
  border: 1px solid #eef2f7;
  border-radius: 15px;
  background: #f8fbff;
}

.th-cnc-meta-grid strong {
  display: block;
  margin: 0 0 4px;
  color: #061b46;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.th-cnc-meta-grid span {
  display: block;
  color: #334155;
  font-size: 14.2px;
  line-height: 1.55;
  font-weight: 650;
}

.th-cnc-editor-note {
  margin: 13px 0 0;
  padding: 12px 13px;
  border: 1px solid #dbe7f6;
  border-radius: 15px;
  background: #fff;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.58;
}

.th-cnc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.th-cnc-actions a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none !important;
}

.th-cnc-read-more {
  background: #061b46;
  color: #ffffff !important;
}

.th-cnc-source-link {
  border: 1px solid #dbe7f6;
  background: #ffffff;
  color: #0b5ed7 !important;
}

.th-cnc-empty {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid #dbe7f6;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.th-cnc-empty strong {
  display: block;
  margin: 0 0 6px;
  color: #061b46;
  font-size: 18px;
  font-weight: 950;
}

.th-cnc-empty p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .th-cnc-wrap {
    margin: 18px auto;
  }

  .th-cnc-hero {
    display: block;
    padding: 22px 16px;
    border-radius: 22px;
  }

  .th-cnc-hero-note {
    margin-top: 16px;
  }

  .th-cnc-filters {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .th-cnc-meta-grid {
    grid-template-columns: 1fr;
  }

  .th-cnc-card-top {
    display: block;
  }

  .th-cnc-card-top time {
    margin-top: 8px;
  }

  .th-cnc-actions a {
    width: 100%;
  }
}



/* Single notice template */
body.th-cnc-single-page .entry-header,
body.th-cnc-single-page .page-header,
body.th-cnc-single-page .entry-title,
body.th-cnc-single-page .entry-meta,
body.th-cnc-single-page .post-meta,
body.th-cnc-single-page .author-box,
body.th-cnc-single-page .author-bio,
body.th-cnc-single-page .entry-author,
body.th-cnc-single-page .byline,
body.th-cnc-single-page .posted-by,
body.th-cnc-single-page .updated,
body.th-cnc-single-page .th-audio-player,
body.th-cnc-single-page .th-listen-box {
  display: none !important;
}

.th-cnc-single-wrap {
  width: 100%;
  background: #f6f8fc;
  padding: 0 18px 46px;
  box-sizing: border-box;
}

.th-cnc-single {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.th-cnc-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 16px 0 14px;
  padding: 9px 12px;
  border: 1px solid #dbe7f6;
  border-radius: 999px;
  background: #ffffff;
  color: #0b5ed7 !important;
  font-size: 13.5px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.th-cnc-single-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid #dbe7f6;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0%, rgba(11, 94, 215, .15), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(220, 38, 38, .06), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.th-cnc-single h1 {
  margin: 12px 0 12px;
  color: #061b46;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.055em;
}

.th-cnc-single-lead {
  max-width: 790px;
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.72;
  font-weight: 620;
}

.th-cnc-single-side {
  display: grid;
  gap: 10px;
  align-content: center;
}

.th-cnc-single-side div {
  padding: 13px 14px;
  border: 1px solid #dbe7f6;
  border-radius: 16px;
  background: rgba(255,255,255,.9);
}

.th-cnc-single-side strong,
.th-cnc-single-info-grid strong,
.th-cnc-single-editor-note strong {
  display: block;
  margin: 0 0 5px;
  color: #061b46;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.th-cnc-single-side span,
.th-cnc-single-side time {
  display: block;
  color: #334155;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 760;
}

.th-cnc-single-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.th-cnc-single-info-grid div,
.th-cnc-single-body,
.th-cnc-single-editor-note {
  padding: 20px 22px;
  border: 1px solid #e3eaf5;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.th-cnc-single-info-grid p,
.th-cnc-single-editor-note p {
  margin: 0;
  color: #334155;
  font-size: 15.8px;
  line-height: 1.66;
  font-weight: 610;
}

.th-cnc-single-body {
  margin: 16px 0;
}

.th-cnc-single-body h2 {
  margin: 0 0 14px;
  color: #061b46;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -.025em;
}

.th-cnc-single-body p,
.th-cnc-single-body li {
  color: #334155;
  font-size: 16.5px;
  line-height: 1.78;
  font-weight: 540;
}

.th-cnc-single-body p:first-of-type {
  margin-top: 0;
}

.th-cnc-single-body blockquote {
  margin: 0 0 16px;
  padding: 17px 18px;
  border-left: 5px solid #0b5ed7;
  border-radius: 16px;
  background: #f8fbff;
  color: #1f2937;
}

.th-cnc-single-editor-note {
  margin: 16px 0;
  border-color: #bfdbfe;
  background:
    radial-gradient(circle at 0 0, rgba(11, 94, 215, .08), transparent 34%),
    #ffffff;
}

.th-cnc-single-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.th-cnc-single-footer a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none !important;
}

.th-cnc-single-source {
  background: #061b46;
  color: #ffffff !important;
}

.th-cnc-single-all {
  border: 1px solid #dbe7f6;
  background: #ffffff;
  color: #0b5ed7 !important;
}

@media (max-width: 860px) {
  .th-cnc-single-wrap {
    padding: 0 10px 34px;
  }

  .th-cnc-single-hero {
    display: block;
    padding: 22px 16px;
    border-radius: 23px;
  }

  .th-cnc-single-side {
    margin-top: 16px;
  }

  .th-cnc-single-info-grid {
    grid-template-columns: 1fr;
  }

  .th-cnc-single-info-grid div,
  .th-cnc-single-body,
  .th-cnc-single-editor-note {
    padding: 18px 15px;
    border-radius: 19px;
  }

  .th-cnc-single-footer a {
    width: 100%;
  }
}



/* v1.0.5 center/search/single design cleanup */
body.th-cnc-center-page .entry-header,
body.th-cnc-center-page .page-header,
body.th-cnc-center-page .entry-title {
  display: none !important;
}

body.th-cnc-center-page .site-main,
body.th-cnc-center-page .content-area,
body.th-cnc-center-page .entry,
body.th-cnc-center-page .content-container,
body.th-cnc-center-page .entry-content-wrap,
body.th-cnc-center-page .entry-content,
body.th-cnc-center-page .content-bg,
body.th-cnc-center-page #primary {
  background: #f6f8fc !important;
}

body.th-cnc-center-page .site-main,
body.th-cnc-center-page .content-area,
body.th-cnc-center-page .entry,
body.th-cnc-center-page .content-container,
body.th-cnc-center-page .entry-content-wrap,
body.th-cnc-center-page .entry-content,
body.th-cnc-center-page .content-bg,
body.th-cnc-center-page #primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.th-cnc-center-page .content-container,
body.th-cnc-center-page .entry-content-wrap,
body.th-cnc-center-page .entry-content {
  max-width: none !important;
}

body.th-cnc-center-page .entry-content-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.th-cnc-center-page .entry-content > p:first-child {
  max-width: 1180px;
  margin: 0 auto 0 !important;
  padding: 0 18px;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

body.th-cnc-center-page .th-cnc-wrap {
  margin-top: 0;
  padding: 0 18px 46px;
}

.th-cnc-wrap-search .th-cnc-hero {
  border-color: #bfdbfe;
}

.th-cnc-active-filters {
  display: grid;
  grid-template-columns: minmax(170px, .7fr) minmax(0, 1.8fr) auto;
  gap: 12px;
  align-items: center;
  margin: -2px 0 18px;
  padding: 14px;
  border: 1px solid #dbe7f6;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.th-cnc-active-filters > div:first-child strong {
  display: block;
  margin: 0 0 3px;
  color: #061b46;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 950;
}

.th-cnc-active-filters > div:first-child span {
  display: block;
  color: #64748b;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.th-cnc-active-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.th-cnc-active-filter-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0f172a;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
}

.th-cnc-active-filter-list b {
  color: #0b5ed7;
  font-weight: 950;
}

.th-cnc-active-filters > a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid #dbe7f6;
  border-radius: 999px;
  background: #f8fbff;
  color: #0b5ed7 !important;
  font-size: 13.5px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none !important;
  white-space: nowrap;
}

body.th-cnc-single-page,
body.th-cnc-single-page .site,
body.th-cnc-single-page .site-main,
body.th-cnc-single-page .content-area,
body.th-cnc-single-page #primary {
  background: #f6f8fc !important;
}

body.th-cnc-single-page .site-main,
body.th-cnc-single-page .content-area,
body.th-cnc-single-page #primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.th-cnc-single-wrap {
  padding-top: 0 !important;
}

.th-cnc-single-hero {
  margin-top: 0;
}

.th-cnc-card {
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.th-cnc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .09);
}

.th-cnc-empty {
  text-align: left;
}

@media (max-width: 860px) {
  body.th-cnc-center-page .th-cnc-wrap {
    padding: 0 10px 34px;
  }

  body.th-cnc-center-page .entry-content > p:first-child {
    padding: 0 10px;
  }

  .th-cnc-active-filters {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .th-cnc-active-filters > a {
    width: 100%;
  }
}



/* v1.0.6 breadcrumb and return navigation */
.th-cnc-breadcrumb {
  max-width: 1180px;
  margin: 0 auto 12px;
  padding-top: 14px;
}

.th-cnc-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-cnc-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: #64748b;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
}

.th-cnc-breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 7px;
  color: #94a3b8;
  font-weight: 950;
}

.th-cnc-breadcrumb a {
  color: #0b5ed7 !important;
  font-weight: 950;
  text-decoration: none !important;
}

.th-cnc-breadcrumb a:hover {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.th-cnc-search-return {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 14px;
  padding: 14px 15px;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(11, 94, 215, .09), transparent 30%),
    #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.th-cnc-search-return strong {
  display: block;
  margin: 0 0 3px;
  color: #061b46;
  font-size: 15.5px;
  line-height: 1.2;
  font-weight: 950;
}

.th-cnc-search-return span {
  display: block;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 760;
}

.th-cnc-search-return a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 12px;
  background: #061b46;
  color: #ffffff !important;
  font-size: 13.5px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none !important;
  white-space: nowrap;
}

.th-cnc-search-return a:hover {
  background: #0b5ed7;
}

.th-cnc-single .th-cnc-breadcrumb {
  padding-top: 0;
  margin-bottom: 10px;
}

body.th-cnc-center-page .th-cnc-wrap {
  padding-top: 0;
}

@media (max-width: 860px) {
  .th-cnc-breadcrumb {
    padding-top: 10px;
    margin-bottom: 10px;
  }

  .th-cnc-breadcrumb li {
    font-size: 12.5px;
  }

  .th-cnc-search-return {
    grid-template-columns: 1fr;
    margin-bottom: 12px;
  }

  .th-cnc-search-return a {
    width: 100%;
  }
}



/* v1.0.9 compact list + pagination */
.th-cnc-list-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.th-cnc-card-compact {
  display: grid;
  gap: 7px;
  padding: 14px 15px;
  border-left-width: 4px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .045);
}

.th-cnc-card-compact .th-cnc-card-top {
  margin-bottom: 0;
  gap: 8px;
}

.th-cnc-card-compact .th-cnc-badges {
  gap: 5px;
}

.th-cnc-card-compact .th-cnc-badges span,
.th-cnc-card-compact .th-cnc-card-top time {
  min-height: 23px;
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 900;
}

.th-cnc-card-compact h3 {
  margin: 0;
  font-size: clamp(16.5px, 1.55vw, 20px);
  line-height: 1.22;
  letter-spacing: -.018em;
}

.th-cnc-card-compact .th-cnc-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #475569;
  font-size: 13.8px;
  line-height: 1.48;
  font-weight: 620;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.th-cnc-card-compact .th-cnc-actions {
  margin-top: 3px;
}

.th-cnc-card-compact .th-cnc-actions a {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12.8px;
}

.th-cnc-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px auto 0;
}

.th-cnc-pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #dbe7f6;
  border-radius: 999px;
  background: #fff;
  color: #0f172a !important;
  font-size: 13.5px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none !important;
}

.th-cnc-pagination .page-numbers.current {
  border-color: #061b46;
  background: #061b46;
  color: #fff !important;
}

.th-cnc-pagination a.page-numbers:hover {
  border-color: #0b5ed7;
  color: #0b5ed7 !important;
}

@media (max-width: 860px) {
  .th-cnc-list-compact {
    grid-template-columns: 1fr;
  }

  .th-cnc-card-compact {
    padding: 13px;
  }

  .th-cnc-card-compact .th-cnc-badges span:nth-child(n+4) {
    display: none;
  }
}



/* v1.1.2 safe related blocks on single notice pages */
.th-cnc-related-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.th-cnc-related-section {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #e3eaf5;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.th-cnc-related-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  margin: 0 0 14px;
}

.th-cnc-related-head span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0b5ed7;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.th-cnc-related-head h2 {
  margin: 0;
  color: #061b46;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -.025em;
}

.th-cnc-related-grid,
.th-cnc-related-news-grid {
  display: grid;
  gap: 12px;
}

.th-cnc-related-count-1 {
  grid-template-columns: 1fr;
}

.th-cnc-related-count-2 {
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
}

.th-cnc-related-count-3,
.th-cnc-related-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.th-cnc-related-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e3eaf5;
  border-left: 4px solid #0b5ed7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .045);
}

.th-cnc-related-card.th-cnc-importance-important {
  border-left-color: #f59e0b;
}

.th-cnc-related-card.th-cnc-importance-critical {
  border-left-color: #dc2626;
}

.th-cnc-related-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 8px;
}

.th-cnc-related-card-meta span,
.th-cnc-related-card-meta time {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f6fd;
  color: #334155;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.th-cnc-related-card h3 {
  margin: 0;
  color: #061b46;
  font-size: clamp(15.8px, 1.4vw, 19px);
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -.018em;
}

.th-cnc-related-card h3 a {
  color: inherit;
  text-decoration: none !important;
}

.th-cnc-related-card h3 a:hover {
  color: #0b5ed7;
}

.th-cnc-related-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.48;
  font-weight: 610;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.th-cnc-related-thumb {
  display: block;
  overflow: hidden;
  margin: -14px -14px 11px;
  border-radius: 17px 17px 0 0;
  aspect-ratio: 16 / 9;
  background: #edf2f7;
}

.th-cnc-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .th-cnc-related-section {
    margin-top: 22px;
    padding: 14px;
    border-radius: 20px;
  }

  .th-cnc-related-head {
    display: grid;
    gap: 8px;
    align-items: start;
  }

  .th-cnc-related-count-1,
  .th-cnc-related-count-2,
  .th-cnc-related-count-3,
  .th-cnc-related-news-grid {
    grid-template-columns: 1fr;
  }

  .th-cnc-related-card {
    padding: 13px;
  }

  .th-cnc-related-thumb {
    margin: -13px -13px 10px;
  }
}



/* v1.1.3 legal / editorial notice */
.th-cnc-legal-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  margin: 14px 0 18px;
  padding: 14px 15px;
  border: 1px solid #fde68a;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffbeb, #fffdf5);
  color: #713f12;
  box-shadow: 0 10px 24px rgba(120, 53, 15, .055);
}

.th-cnc-legal-box strong {
  display: block;
  margin: 0 0 4px;
  color: #713f12;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 950;
}

.th-cnc-legal-box p {
  grid-column: 1;
  margin: 0;
  color: #713f12;
  font-size: 13.6px;
  line-height: 1.52;
  font-weight: 650;
}

.th-cnc-legal-box a {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid #f59e0b;
  border-radius: 999px;
  background: #ffffff;
  color: #92400e !important;
  font-size: 12.8px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none !important;
  white-space: nowrap;
}

.th-cnc-legal-box-single {
  grid-template-columns: 1fr;
  margin: 18px 0 0;
}

.th-cnc-legal-box-single p {
  grid-column: auto;
}

@media (max-width: 860px) {
  .th-cnc-legal-box {
    grid-template-columns: 1fr;
    margin: 12px 0 16px;
    padding: 13px;
  }

  .th-cnc-legal-box a {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }
}


/* v1.1.4 country count index */
.th-cnc-country-index {
  margin: 14px 0 18px;
  padding: 16px;
  border: 1px solid #e3eaf5;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.th-cnc-country-index-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 0 0 13px;
}

.th-cnc-country-index-head strong {
  display: block;
  margin: 0 0 4px;
  color: #061b46;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -.015em;
}

.th-cnc-country-index-head span {
  display: block;
  color: #64748b;
  font-size: 13.8px;
  line-height: 1.45;
  font-weight: 760;
}

.th-cnc-country-index-head > a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 37px;
  padding: 8px 11px;
  border: 1px solid #dbe7f6;
  border-radius: 999px;
  background: #f8fbff;
  color: #0b5ed7 !important;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none !important;
  white-space: nowrap;
}

.th-cnc-country-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.th-cnc-country-pill {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #dbe7f6;
  border-radius: 15px;
  background: #f8fbff;
  color: #0f172a !important;
  text-decoration: none !important;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}

.th-cnc-country-pill:hover {
  transform: translateY(-1px);
  border-color: #0b5ed7;
  background: #eef6ff;
}

.th-cnc-country-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #061b46;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.th-cnc-country-pill b {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b5ed7;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

@media (max-width: 1020px) {
  .th-cnc-country-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .th-cnc-country-index {
    margin: 12px 0 16px;
    padding: 13px;
    border-radius: 20px;
  }

  .th-cnc-country-index-head {
    display: grid;
    gap: 10px;
    align-items: stretch;
  }

  .th-cnc-country-index-head > a {
    width: 100%;
  }

  .th-cnc-country-index-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* v1.1.9 country index compact limit + full countries page */
.th-cnc-country-index-full {
  margin-top: 18px;
}

.th-cnc-country-index-grid-full {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.th-cnc-country-page .th-cnc-search-return {
  margin-bottom: 14px;
}

@media (max-width: 1020px) {
  .th-cnc-country-index-grid-full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .th-cnc-country-index-grid-full {
    grid-template-columns: 1fr;
  }
}


/* v1.1.10 countries page: hide Kadence default page header and keep TH design as the visible page shell */
body.th-cnc-countries-page-body .entry-header,
body.th-cnc-countries-page-body .entry-hero,
body.th-cnc-countries-page-body .page-header,
body.th-cnc-countries-page-body .hero-section,
body.th-cnc-countries-page-body h1.entry-title {
  display: none !important;
}

body.th-cnc-countries-page-body .entry-content,
body.th-cnc-countries-page-body .content-area,
body.th-cnc-countries-page-body .site-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.th-cnc-countries-page-body .th-cnc-wrap {
  margin-top: 0;
}

body.th-cnc-countries-page-body .th-cnc-country-page {
  padding-top: 0;
}


/* v1.1.11 countries page readability */
.th-cnc-country-page .th-cnc-search-return span:empty {
  display: none !important;
}

.th-cnc-country-page .th-cnc-country-index-grid-full {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px;
}

.th-cnc-country-page .th-cnc-country-pill {
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 17px;
}

.th-cnc-country-page .th-cnc-country-pill span {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 950;
}

.th-cnc-country-page .th-cnc-country-pill b {
  min-height: 28px;
  padding: 6px 9px;
  font-size: 13px;
  line-height: 1;
}

.th-cnc-country-page .th-cnc-country-index-head strong {
  font-size: 20px;
}

.th-cnc-country-page .th-cnc-country-index-head span {
  font-size: 15px;
}

@media (max-width: 1020px) {
  .th-cnc-country-page .th-cnc-country-index-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .th-cnc-country-page .th-cnc-country-index-grid-full {
    grid-template-columns: 1fr !important;
  }

  .th-cnc-country-page .th-cnc-country-pill span {
    font-size: 16.5px;
  }
}
