/* ==========================================================================
   Insights — shared stylesheet for insights.html (listing) and insight.html
   (article detail). Namespaced under `.insights-*` / `.insight-*` so nothing
   here leaks into other pages or the #chatbot widget. Every color, gradient,
   shadow, radius and easing curve below references the design tokens
   theme-modern.css already establishes in :root (--primary, --secondary,
   --accent, --tm-gradient-*, --tm-shadow-*, --tm-radius-*, --tm-ease), so
   both pages inherit the site's brand identity automatically.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Accessibility primitives
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--tm-radius-sm);
  font-weight: 700;
  z-index: 10000;
  transition: top 0.25s var(--tm-ease);
}
.skip-link:focus {
  top: 12px;
  color: #fff;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.insights-chip:focus-visible,
.insights-card:focus-visible,
.insights-featured-card:focus-visible,
.insights-load-more:focus-visible,
.insights-reset-btn:focus-visible,
.insight-share-btn:focus-visible,
.insight-back-btn:focus-visible,
.insight-related-card:focus-visible,
.insight-prevnext-card:focus-visible,
.insights-search input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.insights-hero-subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 0.85rem + 0.5vw, 1.15rem);
  line-height: 1.75;
  max-width: 640px;
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   Reading progress bar (insight.html)
   -------------------------------------------------------------------------- */
.insight-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--tm-gradient-accent);
  z-index: 100000;
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   Toolbar — search + category chips
   -------------------------------------------------------------------------- */
.insights-toolbar {
  background: var(--surface);
  padding: 56px 0 8px;
  border-bottom: 1px solid var(--border);
}
.insights-search {
  position: relative;
  max-width: 620px;
  margin: 0 auto 32px;
}
.insights-search input {
  width: 100%;
  padding: 16px 22px 16px 52px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.3s var(--tm-ease), box-shadow 0.3s var(--tm-ease), background-color 0.3s var(--tm-ease);
}
.insights-search input::placeholder {
  color: var(--muted);
}
.insights-search input:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--surface);
  box-shadow: 0 0 0 5px rgba(24, 78, 138, 0.12), var(--tm-shadow-md);
}
.insights-search svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.3s var(--tm-ease);
}
.insights-search:focus-within svg {
  color: var(--secondary);
}

.insights-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-bottom: 28px;
}
.insights-chip {
  appearance: none;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--tm-ease), box-shadow 0.25s var(--tm-ease),
    border-color 0.25s var(--tm-ease), color 0.25s var(--tm-ease), background 0.25s var(--tm-ease);
}
.insights-chip:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--tm-shadow-sm);
}
.insights-chip.active {
  background: var(--tm-gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--tm-shadow-md);
}
.insights-chip.active:hover {
  color: #fff;
}
.insights-results-count {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  padding-bottom: 36px;
}

/* --------------------------------------------------------------------------
   Section heads
   -------------------------------------------------------------------------- */
.insights-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 42px;
}
.insights-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.insights-section-head h2 {
  font-size: clamp(1.6rem, 1.4rem + 1vw, 2.15rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Featured Insight
   -------------------------------------------------------------------------- */
.insights-featured {
  padding: 72px 0 8px;
  background: var(--tm-gradient-section);
}
.insights-featured-card {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--tm-radius-lg);
  box-shadow: var(--tm-shadow-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.insights-featured-media {
  position: relative;
  flex: 0 0 46%;
  max-width: 46%;
  min-height: 340px;
  overflow: hidden;
  background: var(--tm-primary-50);
}
.insights-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--tm-ease);
}
.insights-featured-card:hover .insights-featured-media img,
.insights-featured-card:focus-visible .insights-featured-media img {
  transform: scale(1.06);
}
.insights-featured-body {
  flex: 1;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.insights-featured-title {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 700;
  color: var(--primary);
  margin: 14px 0 14px;
  line-height: 1.3;
}
.insights-featured-excerpt {
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 22px;
}
.insights-featured-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  border: none;
  background: var(--tm-gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--tm-radius-sm);
  box-shadow: var(--tm-shadow-sm);
  transition: transform 0.3s var(--tm-ease), box-shadow 0.3s var(--tm-ease);
}
.insights-featured-cta i {
  margin-left: 8px;
  transition: transform 0.3s var(--tm-ease);
}
.insights-featured-card:hover .insights-featured-cta,
.insights-featured-card:focus-visible .insights-featured-cta {
  transform: translateY(-3px);
  box-shadow: var(--tm-shadow-md);
}
.insights-featured-card:hover .insights-featured-cta i,
.insights-featured-card:focus-visible .insights-featured-cta i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Badge + shared meta row (featured card, grid cards, article header)
   -------------------------------------------------------------------------- */
.insights-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--tm-gradient-primary);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--tm-shadow-sm);
}
.insights-featured-media .insights-badge,
.insights-card-media .insights-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}
.insights-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0 18px;
}
.insights-card-meta-item i {
  color: var(--accent);
  margin-right: 5px;
  width: 12px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Insights grid + cards
   -------------------------------------------------------------------------- */
.insights-grid-section {
  padding: 72px 0 96px;
  background: var(--bg-light);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.insights-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--tm-radius-md);
  box-shadow: var(--tm-shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--tm-ease), box-shadow 0.35s var(--tm-ease), border-color 0.35s var(--tm-ease);
}
.insights-card:hover,
.insights-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: var(--tm-shadow-lg);
  border-color: transparent;
}
.insights-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tm-primary-50);
}
.insights-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--tm-ease);
}
.insights-card:hover .insights-card-media img,
.insights-card:focus-visible .insights-card-media img {
  transform: scale(1.1);
}
.insights-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.insights-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin: 0;
}
.insights-card-excerpt {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 10px 0 0;
  flex: 1;
}
.insights-card-readmore {
  align-self: flex-start;
  font-weight: 700;
  font-size: 14px;
  color: var(--secondary);
  margin-top: 14px;
  transition: color 0.25s var(--tm-ease);
}
.insights-card-readmore i {
  margin-left: 6px;
  transition: transform 0.25s var(--tm-ease);
}
.insights-card:hover .insights-card-readmore,
.insights-card:focus-visible .insights-card-readmore {
  color: var(--primary);
}
.insights-card:hover .insights-card-readmore i,
.insights-card:focus-visible .insights-card-readmore i {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Entrance animation — fade + slide + scale, triggered on scroll-into-view
   via IntersectionObserver (see insights.html/insight.html scripts), so
   below-the-fold cards animate only when they actually become visible.
   -------------------------------------------------------------------------- */
@keyframes insightsCardIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.insights-animate-in {
  opacity: 0;
}
.insights-animate-in.in-view {
  animation: insightsCardIn 0.65s var(--tm-ease) both;
}

/* --------------------------------------------------------------------------
   Skeleton loading placeholders
   -------------------------------------------------------------------------- */
@keyframes insightsShimmer {
  0% { background-position: -320px 0; }
  100% { background-position: 320px 0; }
}
.insights-skeleton-media,
.insights-skeleton-line {
  background: linear-gradient(90deg, var(--tm-primary-50) 25%, #f1f5f9 37%, var(--tm-primary-50) 63%);
  background-size: 640px 100%;
  animation: insightsShimmer 1.4s linear infinite;
  border-radius: 8px;
}
.insights-skeleton .insights-card-media,
.insights-skeleton-media {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}
.insights-featured-card.insights-skeleton .insights-skeleton-media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 340px;
}
.insights-skeleton-line {
  height: 14px;
  margin-bottom: 12px;
  width: 100%;
}
.insights-skeleton-line-title {
  height: 20px;
  width: 80%;
}
.insights-skeleton-line-short {
  width: 45%;
  margin-bottom: 0;
}
.insights-card.insights-skeleton,
.insights-featured-card.insights-skeleton {
  cursor: default;
}
.insights-card.insights-skeleton:hover {
  transform: none;
  box-shadow: var(--tm-shadow-sm);
}

/* --------------------------------------------------------------------------
   Empty / error state
   -------------------------------------------------------------------------- */
.insights-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}
.insights-empty svg {
  color: var(--tm-secondary-light);
  margin-bottom: 18px;
}
.insights-empty h3 {
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.insights-empty p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 24px;
}
.insights-reset-btn {
  appearance: none;
  border: 1.5px solid var(--secondary);
  background: transparent;
  color: var(--secondary);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--tm-ease);
}
.insights-reset-btn:hover {
  background: var(--tm-gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--tm-shadow-md);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Load more
   -------------------------------------------------------------------------- */
.insights-load-more-wrap {
  text-align: center;
  margin-top: 52px;
}
.insights-load-more {
  appearance: none;
  border: 2px solid var(--secondary);
  background: transparent;
  color: var(--secondary);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 38px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--tm-ease);
}
.insights-load-more:hover {
  background: var(--tm-gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--tm-shadow-md);
  transform: translateY(-3px);
}

/* ==========================================================================
   Article detail page (insight.html)
   ========================================================================== */
.insight-article-section {
  padding: 48px 0 96px;
  background: var(--surface);
}
.insight-article-section .container {
  max-width: 860px;
}
.insight-breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 28px;
  font-size: 13.5px;
  color: var(--muted);
}
.insight-breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--border);
}
.insight-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.insight-breadcrumb a:hover {
  color: var(--secondary);
}
.insight-breadcrumb li:last-child {
  color: var(--primary);
  font-weight: 600;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-back-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg-light);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  margin-bottom: 30px;
  transition: all 0.3s var(--tm-ease);
}
.insight-back-btn:hover {
  background: var(--tm-gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--tm-shadow-sm);
}

.insight-article-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}
.insight-article-title {
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 26px;
}

.insight-author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--tm-radius-md);
  margin-bottom: 32px;
}
.insight-author-avatar {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tm-gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  overflow: hidden;
}
.insight-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insight-author-name {
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.insight-author-title {
  font-weight: 400;
  color: var(--muted);
}
.insight-author-linkedin {
  color: var(--secondary);
  margin-left: 2px;
}
.insight-author-linkedin:hover {
  color: var(--primary);
}
.insight-author-bio {
  color: var(--muted);
  font-size: 13.5px;
  margin: 2px 0 0;
}

.insight-article-image {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--tm-radius-lg);
  box-shadow: var(--tm-shadow-lg);
  margin-bottom: 36px;
  display: block;
  background: var(--tm-primary-50);
}
.insight-article-content {
  font-size: 17.5px;
  line-height: 1.9;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Scroll reveal — article sections (author card, cover image, each top-level
   content block, tags, share, prev/next) fade + slide in as the reader
   scrolls to them, via the same IntersectionObserver pattern insights.html
   uses for its card grid (see insight.html script: observeReveal()).
   -------------------------------------------------------------------------- */
@keyframes insightRevealIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.insight-reveal.reveal-pending {
  opacity: 0;
}
.insight-reveal.reveal-pending.in-view {
  animation: insightRevealIn 0.7s var(--tm-ease) both;
}
.insight-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tm-radius-sm);
}
.insight-article-content a {
  color: var(--secondary);
}

.insight-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 40px 0 8px;
}
.insight-tags-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 4px;
}
.insight-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  background: var(--tm-primary-50);
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.insight-tag:hover {
  background: var(--tm-gradient-primary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Share section
   -------------------------------------------------------------------------- */
.insight-share {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.insight-share-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.insight-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.insight-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s var(--tm-ease);
  cursor: pointer;
}
.insight-share-btn:hover {
  background: var(--tm-gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--tm-shadow-sm);
}
.insight-share-btn.insight-share-native {
  width: auto;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 700;
  font-size: 14px;
  gap: 8px;
}
.insight-copy-feedback {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s var(--tm-ease);
}
.insight-copy-feedback.is-visible {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Related insights
   -------------------------------------------------------------------------- */
.insight-related-section {
  background: var(--bg-light);
  padding: 64px 0 80px;
  border-top: 1px solid var(--border);
}
.insight-related-section .container {
  max-width: 1100px;
}
.insight-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight-related-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--tm-radius-md);
  box-shadow: var(--tm-shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--tm-ease), box-shadow 0.3s var(--tm-ease);
}
.insight-related-card:hover,
.insight-related-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--tm-shadow-lg);
}
.insight-related-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tm-primary-50);
}
.insight-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--tm-ease);
}
.insight-related-card:hover .insight-related-media img {
  transform: scale(1.08);
}
.insight-related-body {
  padding: 18px 20px 22px;
}
.insight-related-body h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px;
  line-height: 1.4;
}
.insight-related-body span {
  font-size: 12.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Previous / next navigation
   -------------------------------------------------------------------------- */
.insight-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.insight-prevnext-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--tm-radius-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--tm-ease);
}
.insight-prevnext-card:hover,
.insight-prevnext-card:focus-visible {
  border-color: var(--secondary);
  box-shadow: var(--tm-shadow-md);
  transform: translateY(-3px);
}
.insight-prevnext-card.next {
  text-align: right;
  align-items: flex-end;
}
.insight-prevnext-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}
.insight-prevnext-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Not-found state
   -------------------------------------------------------------------------- */
.insight-notfound {
  text-align: center;
  padding: 110px 20px;
}
.insight-notfound svg {
  color: var(--tm-secondary-light);
  margin-bottom: 20px;
}
.insight-notfound h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.insight-notfound p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 26px;
}

/* --------------------------------------------------------------------------
   Skeleton — article detail
   -------------------------------------------------------------------------- */
.insight-skeleton-title {
  height: 34px;
  width: 85%;
  margin-bottom: 26px;
}
.insight-skeleton-meta {
  height: 16px;
  width: 40%;
  margin-bottom: 24px;
}
.insight-skeleton-cover {
  aspect-ratio: 16 / 7;
  border-radius: var(--tm-radius-lg);
  margin-bottom: 36px;
}
.insight-skeleton-paragraph {
  height: 14px;
  width: 100%;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Responsive layout
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insight-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .insights-featured-card {
    flex-direction: column;
  }
  .insights-featured-media {
    max-width: 100%;
    flex-basis: auto;
    min-height: 260px;
  }
  .insights-featured-body {
    padding: 34px 28px;
  }
}
@media (max-width: 700px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .insight-related-grid {
    grid-template-columns: 1fr;
  }
  .insights-toolbar {
    padding-top: 40px;
  }
  .insight-prevnext {
    grid-template-columns: 1fr;
  }
  .insight-prevnext-card.next {
    text-align: left;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .insights-animate-in.in-view,
  .insight-reveal.reveal-pending.in-view,
  .insights-skeleton-media,
  .insights-skeleton-line,
  .hero-wrap.hero-wrap-2 .overlay,
  .hero-wrap.hero-wrap-2 .overlay:before,
  .hero-wrap.hero-wrap-2 .overlay:after {
    animation: none !important;
    opacity: 1;
    transform: none !important;
  }
  .insights-card,
  .insights-featured-card,
  .insight-related-card,
  .insight-prevnext-card,
  .insights-card-media img,
  .insights-featured-media img,
  .insight-related-media img {
    transition: none !important;
  }
}
