/*
Theme Name: SiteDoc Theme
Theme URI: https://sitedoc.jp/
Author: SiteDoc
Author URI: https://sitedoc.jp/
Description: SiteDoc static HTML converted to a WordPress theme with custom post types for news and column.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sitedoc
*/

:root {
  --sitedoc-blue: #185fa5;
  --sitedoc-blue-dark: #0c447c;
  --sitedoc-gray-100: #f3f4f6;
  --sitedoc-gray-200: #e5e7eb;
  --sitedoc-gray-400: #9ca3af;
  --sitedoc-gray-600: #6b7280;
  --sitedoc-gray-800: #1f2937;
  --sitedoc-gray-900: #111827;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--sitedoc-gray-900);
}

.sitedoc-form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a {
  color: var(--sitedoc-blue);
}

a:hover {
  color: var(--sitedoc-blue-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sitedoc-gray-200);
}

.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.site-logo img {
  display: block;
  width: 176px;
  max-width: 45vw;
  height: auto;
}

.site-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.site-logo-tag {
  margin: 0;
  color: var(--sitedoc-gray-800);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-header,
.nav-toggle,
.nav-backdrop,
.nav-cta {
  display: none;
}

.site-nav a {
  font-size: 14px;
  color: var(--sitedoc-gray-600);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--sitedoc-gray-900);
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--sitedoc-blue);
  color: #fff;
}

.site-btn:hover {
  background: var(--sitedoc-blue-dark);
  color: #fff;
}

.site-footer {
  background: var(--sitedoc-gray-900);
  padding: 44px 24px;
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.site-footer__logo img {
  display: block;
  width: 180px;
  max-width: 52vw;
  height: auto;
}

.site-footer__tagline {
  font-size: 13px;
  color: var(--sitedoc-gray-400);
  margin-bottom: 18px;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.site-footer__links a {
  font-size: 13px;
  color: var(--sitedoc-gray-400);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__copy {
  margin: 0;
  font-size: 12px;
  color: var(--sitedoc-gray-600);
}

@media (max-width: 900px) {
  .site-header__inner {
    padding: 12px 16px;
    min-height: auto;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  backdrop-filter: none;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-header__inner {
  max-width: none;
  margin: 0;
  padding: 0 0 0 26px;
  min-height: 76px;
  gap: 24px;
  flex-wrap: nowrap;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-brand-wrap {
  gap: 18px;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-logo img {
  width: clamp(150px, 14vw, 176px);
  max-width: none;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-logo-tag {
  font-size: 16px;
  color: #222;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav {
  gap: 4px;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-links {
  display: contents;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav a {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--sitedoc-gray-800);
  padding: 6px 12px;
  border-radius: 6px;
  transition:
    color 0.15s,
    background 0.15s;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--sitedoc-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav a:not(.nav-cta):hover {
  color: var(--sitedoc-blue);
  background: #e6f1fb;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav .nav-cta::after {
  display: none;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-btn {
  min-width: 240px;
  min-height: 76px;
  padding: 0 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  border-radius: 0 0 0 18px;
  border: 0;
  background: linear-gradient(135deg, #ff6e35 0%, #ff9c96 100%);
  transition: background 0.2s ease;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-btn:hover {
  background: linear-gradient(135deg, #ff7440 0%, #ffa59e 100%);
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  background: #fff;
  border: 1.5px solid var(--sitedoc-gray-200);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(12, 68, 124, 0.08);
  transition:
    background 0.15s,
    border-color 0.15s;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle:hover {
  background: #e6f1fb;
  border-color: var(--sitedoc-blue);
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle span,
body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle::before,
body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--sitedoc-blue-dark);
  border-radius: 2px;
  transition:
    transform 0.22s ease,
    opacity 0.18s ease,
    top 0.22s ease,
    bottom 0.22s ease;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle::before {
  top: 15px;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle span {
  top: 24px;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle::after {
  bottom: 15px;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle[aria-expanded="true"]::before {
  top: 24px;
  transform: rotate(45deg);
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle[aria-expanded="true"]::after {
  bottom: 24px;
  transform: rotate(-45deg);
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 68, 124, 0.3);
  backdrop-filter: blur(2px);
  z-index: 90;
}

body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-backdrop.is-open {
  display: block;
}

@media (max-width: 1200px) {
  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-header__inner {
    padding-left: 16px;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-logo-tag {
    display: none;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-btn {
    min-width: 236px;
    font-size: 22px;
  }
}

@media (max-width: 1024px) {
  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-btn {
    display: none;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 88vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    box-shadow: -8px 0 40px rgba(12, 68, 124, 0.14);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 95;
    overflow-y: auto;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav.is-open {
    transform: translateX(0);
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 68px;
    background: var(--sitedoc-blue-dark);
    flex-shrink: 0;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-header-label {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.7);
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.15s;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-close:hover {
    background: rgba(255, 255, 255, 0.22);
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-close svg {
    width: 16px;
    height: 16px;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-links {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    flex: 1;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--sitedoc-gray-800);
    border-bottom: 1px solid var(--sitedoc-gray-100);
    text-decoration: none;
    transition:
      background 0.12s,
      color 0.12s;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-links a::after {
    display: none;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .nav-links a:hover {
    background: #e6f1fb;
    color: var(--sitedoc-blue);
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 20px 32px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff6e35 0%, #ff9c96 100%);
    border-radius: 12px;
    border: 0;
    box-shadow: 0 6px 18px rgba(255, 110, 53, 0.28);
    text-decoration: none;
    transition:
      background 0.15s,
      box-shadow 0.15s;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav .nav-cta::after {
    content: "→";
    font-size: 16px;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-nav .nav-cta:hover {
    background: linear-gradient(135deg, #ff7440 0%, #ffa59e 100%);
    box-shadow: 0 8px 22px rgba(255, 110, 53, 0.35);
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-header__inner {
    padding-left: 12px;
    min-height: 68px;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-brand-wrap {
    gap: 10px;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-logo img {
    width: 160px;
  }
}

@media (max-width: 768px) {
  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-logo img {
    width: 150px;
  }
}

@media (max-width: 480px) {
  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-header__inner {
    min-height: 62px;
    padding-left: 8px;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-brand-wrap {
    gap: 6px;
  }

  body:is(.post-type-archive-news, .post-type-archive-column, .single-news, .single-column, .tax-news_category, .tax-column_category) .site-logo img {
    width: 142px;
  }
}

.column-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}

.column-main {
  min-width: 0;
}

.column-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 88px;
}

.column-sidebar__section {
  background: #fff;
  border: 1px solid var(--sitedoc-gray-200);
  border-radius: 12px;
  padding: 16px;
}

.column-sidebar__title {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.4;
}

.column-sidebar__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.column-sidebar__list a {
  display: inline-block;
  text-decoration: none;
  line-height: 1.5;
}

.column-sidebar__tag-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.column-sidebar__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #c3d9f0;
  background: #f4f9ff;
  color: var(--sitedoc-blue-dark);
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
}

.column-sidebar__tag:hover {
  border-color: #91bde6;
  background: #e9f3fe;
}

.column-sidebar__tag.is-active {
  border-color: var(--sitedoc-blue);
  background: var(--sitedoc-blue);
  color: #fff;
}

.column-sidebar__clear-wrap {
  margin: 10px 0 0;
}

.column-sidebar__clear {
  font-size: 12px;
  color: var(--sitedoc-blue-dark);
}

.column-sidebar__count {
  color: var(--sitedoc-gray-600);
}

.column-sidebar__empty {
  margin: 0;
  color: var(--sitedoc-gray-600);
  font-size: 14px;
}

.column-search__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--sitedoc-gray-600);
}

.column-search__row {
  display: flex;
  gap: 8px;
}

.column-search__input {
  width: 100%;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 14px;
}

.column-search__button {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--sitedoc-blue);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.column-search__button:hover {
  background: var(--sitedoc-blue-dark);
}

.column-featured-image {
  margin: 0 0 18px;
}

.column-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.column-list-thumb {
  display: block;
  margin: 0 0 10px;
}

.column-list-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 960px) {
  .column-layout {
    grid-template-columns: 1fr;
  }

  .column-sidebar {
    position: static;
  }
}

.insights-page {
  background:
    radial-gradient(1200px 460px at 50% -120px, #e6f1fb 0%, transparent 65%),
    #f9fbfe;
  padding: 36px 20px 72px;
}

.insights-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.insights-shell--narrow {
  max-width: 860px;
}

.insights-head {
  margin-bottom: 26px;
}

.insights-label {
  margin: 0 0 10px;
  color: var(--sitedoc-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insights-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.post-type-archive-column .insights-title,
body.tax-column_category .insights-title {
  font-size: clamp(28px, 3.6vw, 40px);
}

.insights-lead,
.insights-term-description {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--sitedoc-gray-600);
  font-size: 15px;
  line-height: 1.85;
}

.insights-term-description p {
  margin: 0;
}

.insights-layout {
  align-items: start;
}

.insights-main {
  min-width: 0;
}

.insights-list {
  display: grid;
  gap: 16px;
}

.insights-item {
  background: #fff;
  border: 1px solid #dbe8f6;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 8px 20px rgba(12, 68, 124, 0.05);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.insights-item:hover {
  transform: translateY(-2px);
  border-color: #bdd4ef;
  box-shadow: 0 12px 24px rgba(12, 68, 124, 0.09);
}

.insights-meta {
  margin: 0 0 10px;
  color: var(--sitedoc-gray-600);
  font-size: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.insights-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--sitedoc-blue);
  background: #e6f1fb;
}

.insights-pill--tag {
  text-decoration: none;
  color: #8a4b0a;
  background: #fff4e8;
}

.insights-pill--tag:hover {
  background: #ffe9d2;
}

.insights-item-title {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
}

.insights-item-title a {
  color: var(--sitedoc-gray-900);
  text-decoration: none;
}

.insights-item-title a:hover {
  color: var(--sitedoc-blue);
}

.insights-excerpt {
  margin: 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.85;
}

.insights-empty {
  margin: 0;
  background: #fff;
  border: 1px solid #dbe8f6;
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--sitedoc-gray-600);
  font-size: 14px;
}

.insights-pager {
  margin-top: 24px;
}

.insights-pager .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.insights-pager .page-numbers {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 10px;
  text-decoration: none;
  color: var(--sitedoc-gray-800);
  background: #fff;
}

.insights-pager .page-numbers.current {
  border-color: var(--sitedoc-blue);
  background: var(--sitedoc-blue);
  color: #fff;
}

.insights-backlink {
  margin: 0 0 18px;
  font-size: 14px;
}

.insight-article {
  background: #fff;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(12, 68, 124, 0.06);
  padding: 30px 32px;
}

.insight-article__meta {
  margin-bottom: 14px;
}

.insight-article__title {
  margin: 0 0 22px;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.insight-article__content {
  color: #1f2937;
  line-height: 1.95;
  font-size: 16px;
}

.insight-article__content > *:first-child {
  margin-top: 0;
}

.insight-article__content > *:last-child {
  margin-bottom: 0;
}

.insight-article__content h2,
.insight-article__content h3,
.insight-article__content h4 {
  color: var(--sitedoc-gray-900);
}

.insight-article__content h2 {
  position: relative;
  margin: 1.7em 0 0.9em;
  padding: 0.7em 0.9em 0.7em 1em;
  border-left: 5px solid var(--sitedoc-blue);
  border-radius: 10px;
  background: linear-gradient(90deg, #eaf3fe 0%, #f8fbff 100%);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.insight-article__content h3 {
  position: relative;
  margin: 1.6em 0 0.8em;
  padding: 0 0 0.45em 0.85em;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.45;
}

.insight-article__content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sitedoc-blue);
  box-shadow: 0 0 0 5px rgba(24, 95, 165, 0.15);
}

.insight-article__content h3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #bfd8f2 0%, rgba(191, 216, 242, 0) 100%);
}

.insight-article__content h4 {
  margin: 1.35em 0 0.7em;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  display: inline-block;
  padding: 0.15em 0.55em;
  border-radius: 8px;
  background: #f2f7fe;
  border: 1px solid #d3e4f6;
}

.insight-article__content h2 + *,
.insight-article__content h3 + *,
.insight-article__content h4 + * {
  margin-top: 0;
}

.insight-article__content p,
.insight-article__content ul,
.insight-article__content ol,
.insight-article__content blockquote {
  margin: 0 0 1.05em;
}

.insight-article__content ul,
.insight-article__content ol {
  padding-left: 1.3em;
}

.insight-article__content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.2em 0 1.5em;
  border: 1px solid #dbe8f6;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  line-height: 1.7;
}

.insight-article__content caption {
  margin-bottom: 0.6em;
  font-size: 13px;
  color: var(--sitedoc-gray-600);
  text-align: left;
}

.insight-article__content th,
.insight-article__content td {
  padding: 12px 14px;
  border-bottom: 1px solid #e6eef8;
  border-right: 1px solid #eef4fb;
  text-align: left;
  vertical-align: top;
}

.insight-article__content thead th {
  background: #eaf3fe;
  color: var(--sitedoc-blue-dark);
  font-weight: 700;
}

.insight-article__content tbody tr:nth-child(even) td {
  background: #f9fbff;
}

.insight-article__content tr:last-child th,
.insight-article__content tr:last-child td {
  border-bottom: none;
}

.insight-article__content th:last-child,
.insight-article__content td:last-child {
  border-right: none;
}

.insight-article__content a {
  text-underline-offset: 0.2em;
}

.insight-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.insight-article__nav {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.insight-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #bfd8f2;
  text-decoration: none;
  color: var(--sitedoc-blue-dark);
  background: #f4f9ff;
  font-size: 14px;
  font-weight: 500;
}

.insight-link-btn:hover {
  border-color: var(--sitedoc-blue);
  color: var(--sitedoc-blue);
  background: #e8f2fd;
}

.insights-page .column-sidebar {
  gap: 16px;
  top: 84px;
}

.insights-page .column-sidebar__section {
  border-color: #dbe8f6;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(12, 68, 124, 0.05);
}

.insights-page .column-sidebar__title {
  color: var(--sitedoc-blue);
}

.insights-page .column-search__input:focus {
  outline: none;
  border-color: var(--sitedoc-blue);
  box-shadow: 0 0 0 3px rgba(24, 95, 165, 0.15);
}

.insights-page .column-list-thumb {
  margin-bottom: 12px;
}

.insights-page .column-list-thumb img {
  border-radius: 12px;
}

.insights-page--single-column .insights-shell {
  max-width: 1180px;
}

.insights-page--single-column .column-layout {
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 961px) {
  .insights-page--single-column .column-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  }
}

.insight-article-cta {
  margin-top: 32px;
  border-radius: 20px;
  padding: 28px 20px;
  background: linear-gradient(135deg, #0c447c 0%, #185fa5 55%, #2a7fd4 100%);
  box-shadow: 0 16px 36px rgba(12, 68, 124, 0.24);
  text-align: center;
}

.insight-article-cta__label {
  margin: 0 0 10px;
  color: #d4e8fb;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.insight-article-cta__title {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(22px, 3.1vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.insight-article-cta__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insight-article-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.insight-article-cta__btn:hover {
  transform: translateY(-2px);
}

.insight-article-cta__btn--primary {
  background: #ffffff;
  color: var(--sitedoc-blue-dark);
  box-shadow: 0 10px 20px rgba(7, 39, 70, 0.24);
}

.insight-article-cta__btn--primary:hover {
  background: #f2f7fe;
}

.insight-article-cta__btn--secondary {
  background: #ffd84d;
  color: #0c447c;
  box-shadow: 0 10px 20px rgba(181, 140, 0, 0.24);
}

.insight-article-cta__btn--secondary:hover {
  background: #ffcd31;
}

@media (max-width: 768px) {
  .insights-page {
    padding: 28px 14px 56px;
  }

  .insights-head {
    margin-bottom: 20px;
  }

  .insights-item {
    border-radius: 14px;
    padding: 18px 16px;
  }

  .insight-article {
    border-radius: 14px;
    padding: 22px 18px;
  }

  .insight-article__nav {
    flex-direction: column;
  }

  .insight-link-btn {
    width: 100%;
  }

  .insight-article-cta {
    margin-top: 26px;
    border-radius: 16px;
    padding: 24px 14px 16px;
  }

  .insight-article-cta__title {
    font-size: 22px;
  }

  .insight-article-cta__buttons {
    grid-template-columns: 1fr;
  }

  .insight-article__content h2 {
    border-left-width: 4px;
    border-radius: 8px;
    padding: 0.62em 0.7em 0.62em 0.78em;
  }

  .insight-article__content h3 {
    padding-left: 0.75em;
  }

  .insight-article__content h3::before {
    width: 8px;
    height: 8px;
  }

  .insight-article__content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
