/* Thought Leadership public feed (static page) */

.tl-page {
  background: var(--bg-light);
  min-height: 60vh;
}

.tl-hero {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 56px 0 48px;
}

.tl-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.88);
  max-width: 42rem;
}

.tl-feed-section {
  background: var(--bg-light);
  padding: 40px 0 64px;
}

.tl-feed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 768px) {
  .tl-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

.tl-feed .post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(45, 27, 78, 0.08);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tl-feed .post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(45, 27, 78, 0.12);
}

.post-card__media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-card__media {
  aspect-ratio: 4 / 3;
  background: #1e0f3c;
  overflow: hidden;
  flex-shrink: 0;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
  min-width: 0;
}

.post-card__date {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5c6178;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.post-card__title {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--bg-dark);
  margin: 0 0 8px;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--accent);
}

.post-card__content {
  margin-bottom: 0;
}

.post-card__content p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4a4a5c;
  white-space: pre-line;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.post-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.post-card__tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(45, 27, 78, 0.06);
  border: none;
  color: #5c5670;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.post-card__footer {
  margin-top: auto;
  padding-top: 14px;
}

.post-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--bg-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.post-card__cta:hover {
  color: var(--accent);
}

.post-card__cta-arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}

.post-card__cta:hover .post-card__cta-arrow {
  transform: translateX(3px);
}

.tl-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px dashed rgba(45, 27, 78, 0.2);
  color: #555;
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

/* Individual post page */
.tl-post-section {
  background: var(--bg-light);
  padding: 32px 0 64px;
}

.tl-back-link-wrap {
  margin: 0 0 20px;
}

.tl-back-link {
  font-weight: 800;
  color: var(--bg-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tl-back-link:hover {
  color: var(--accent);
}

.tl-post {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(45, 27, 78, 0.08);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}

.tl-post__media {
  aspect-ratio: 4 / 3;
  background: #1e0f3c;
  overflow: hidden;
}

.tl-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.tl-post__body {
  padding: 24px 24px 28px;
}

.tl-post__date {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5c6178;
  margin-bottom: 8px;
}

.tl-post__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--bg-dark);
  margin: 0 0 16px;
}

.tl-post__content p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #3a3a4d;
  white-space: pre-line;
  margin: 0 0 16px;
}

.tl-related {
  max-width: 760px;
  margin: 40px auto 0;
}

.tl-related__heading {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--bg-dark);
  margin: 0 0 16px;
}

.tl-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .tl-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tl-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(45, 27, 78, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(45, 27, 78, 0.12);
}

.tl-related-card__media {
  aspect-ratio: 4 / 3;
  background: #1e0f3c;
  overflow: hidden;
}

.tl-related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.tl-related-card__body {
  padding: 12px 14px 14px;
}

.tl-related-card__body h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--bg-dark);
}

@media (max-width: 767px) {
  .tl-hero {
    padding: 40px 0 32px;
  }

  .tl-feed-section {
    padding: 28px 0 48px;
  }

  .tl-feed {
    gap: 16px;
  }

  .post-card__body {
    padding: 14px 16px 16px;
  }

  .post-card__content p {
    font-size: 0.92rem;
  }
}
