.insights-main {
  min-height: 55vh;
}

/* Enforce the same public-site container width inside WP theme pages. */
:root {
  --container: 1920px;
}

.container {
  width: min(90vw, var(--container));
  margin-inline: auto;
  max-width: 100%;
}

.insights-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.insights-section + .insights-section {
  border-top: 1px solid var(--line);
}

.insights-header-card {
  margin-top: 1rem;
}

.insights-header-card p {
  color: var(--muted);
}

.insights-post-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.insight-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.insight-card-media {
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
}

.insight-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight-card-media-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
}

.insight-card-body {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.6rem;
}

.insight-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #c8d5ed;
}

.insight-card-title {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.25;
}

.insight-card-excerpt {
  color: var(--muted);
}

.insight-card-link {
  color: #9ed8ff;
  font-weight: 600;
}

.insight-card-link:hover,
.insight-card-link:focus-visible {
  color: #ffffff;
}

.insights-pagination {
  margin-top: 1.4rem;
}

.insights-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.insights-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #dceaff;
}

.insights-pagination .page-numbers.current {
  border-color: rgba(0, 224, 184, 0.68);
  background: rgba(0, 200, 150, 0.2);
  color: #ffffff;
}

.insights-pagination .page-numbers:hover,
.insights-pagination .page-numbers:focus-visible {
  border-color: rgba(0, 224, 184, 0.68);
  color: #ffffff;
}

.insights-article-wrap {
  margin-top: 1rem;
}

.insights-article {
  padding: clamp(1.2rem, 2vw, 1.7rem);
}

.insights-article-header {
  display: grid;
  gap: 0.6rem;
}

.insights-article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.1;
}

.insights-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.insights-article-thumbnail {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
}

.insights-article-content {
  margin-top: 1.1rem;
  color: #e6eefc;
}

.insights-article-content p,
.insights-article-content ul,
.insights-article-content ol,
.insights-article-content blockquote {
  margin-top: 0.9rem;
}

.insights-article-content a {
  color: #9ed8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.insights-article-content a:hover,
.insights-article-content a:focus-visible {
  color: #ffffff;
}

.insights-article-content h2,
.insights-article-content h3,
.insights-article-content h4 {
  margin-top: 1.2rem;
}

.insights-article-content img {
  border-radius: 10px;
}

.insights-post-navigation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.insights-post-navigation a {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem;
  color: #dceaff;
}

.insights-post-navigation a:hover,
.insights-post-navigation a:focus-visible {
  border-color: rgba(0, 224, 184, 0.56);
  color: #ffffff;
}

.insights-post-navigation-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.insights-empty {
  margin-top: 1.2rem;
}

.insights-search-form .search-form {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.insights-search-form .search-field {
  flex: 1 1 240px;
  min-height: 2.8rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 20, 38, 0.88);
  color: #ffffff;
}

.insights-search-form .search-submit {
  min-height: 2.8rem;
  border-radius: 999px;
  border: 0;
  padding: 0.6rem 1rem;
  background: var(--accent-gradient);
  color: #06382f;
  font-weight: 700;
  cursor: pointer;
}

.insights-search-form .search-submit:hover,
.insights-search-form .search-submit:focus-visible {
  filter: brightness(1.06);
}

.insights-breadcrumb {
  font-size: 0.82rem;
  color: #c4d3ef;
  margin-bottom: 0.35rem;
}

.insights-breadcrumb a {
  color: #c4d3ef;
}

.insights-breadcrumb a:hover,
.insights-breadcrumb a:focus-visible {
  color: #ffffff;
}

@media (min-width: 760px) {
  .insights-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insights-post-navigation {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1040px) {
  .insights-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

