/* PMK Advisors — Knowledge Hub editorial layer */
.kh-page {
  background: var(--pmk-paper, #fbfaf7);
}

.kh-hero {
  padding: 104px 0 96px;
  background: linear-gradient(180deg, #f5f8f8 0%, #faf9f6 100%);
  border-bottom: 1px solid var(--border-light, rgba(5, 17, 37, 0.06));
  position: relative;
  overflow: hidden;
}

.kh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  gap: 64px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.kh-title {
  max-width: 900px;
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 56px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy, #12252d);
  margin-bottom: 24px;
  text-wrap: balance;
}

.kh-lead {
  max-width: 720px;
  color: var(--text, #3f4d54);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 20px;
  line-height: 1.6;
}

.kh-hero-aside {
  padding: 0 0 6px 28px;
  border-left: 2px solid var(--accent, #008fa3);
  max-width: 380px;
}

.kh-aside-kicker {
  color: var(--accent-dark, #006b7a);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.kh-hero-aside p {
  margin-top: 14px;
  color: var(--text-muted, rgba(63, 77, 84, 0.8));
  line-height: 1.65;
  font-size: 16px;
}

.kh-aside-rule {
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 24px;
  background: var(--accent, #008fa3);
}

.kh-featured {
  padding: 104px 0 96px;
  background: #ffffff;
}

.kh-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 46px;
}

.kh-section-note {
  max-width: 420px;
  color: var(--text-muted, rgba(63, 77, 84, 0.8));
  font-size: 15px;
  line-height: 1.6;
}

.kh-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 460px;
  border: 1px solid var(--border, rgba(5, 17, 37, 0.1));
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(18, 37, 45, 0.04);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.72, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.72, 0.2, 1), border-color 0.3s ease;
}

.kh-featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border, rgba(0, 143, 163, 0.35));
  box-shadow: 0 16px 40px rgba(18, 37, 45, 0.08);
}

.kh-featured-media {
  min-height: 460px;
  overflow: hidden;
  position: relative;
  background: #f0f7f8;
}

.kh-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kh-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}

.kh-card-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent-dark, #006b7a);
}

.kh-featured-copy h3 {
  margin-top: 18px;
  max-width: 520px;
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy, #12252d);
}

.kh-featured-copy p {
  margin-top: 18px;
  color: var(--text, #3f4d54);
  line-height: 1.65;
  font-size: 16px;
  max-width: 500px;
}

.kh-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light, rgba(5, 17, 37, 0.08));
  font-size: 13px;
  color: var(--footer-muted, #87969c);
}

.kh-read {
  color: var(--accent-dark, #006b7a);
  font-weight: 600;
  transition: color 0.2s ease;
}

.kh-featured-card:hover .kh-read {
  color: var(--accent, #008fa3);
}

.kh-library {
  padding: 104px 0 112px;
  background: var(--pmk-paper, #fbfaf7);
  border-top: 1px solid var(--border-light, rgba(5, 17, 37, 0.06));
}

.kh-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px 24px;
}

.kh-card {
  grid-column: span 6;
  background: #ffffff;
  border: 1px solid var(--border, rgba(5, 17, 37, 0.09));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(18, 37, 45, 0.03);
  transition: transform 0.3s cubic-bezier(0.2, 0.72, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.72, 0.2, 1), border-color 0.3s ease;
}

.kh-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border, rgba(0, 143, 163, 0.32));
  box-shadow: 0 14px 34px rgba(18, 37, 45, 0.07);
}

.kh-card-media {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border-light, rgba(5, 17, 37, 0.06));
  background: linear-gradient(135deg, #faf9f6, #edf7f8);
  position: relative;
  overflow: hidden;
}

.kh-card-media::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(0, 143, 163, 0.15);
  background: radial-gradient(circle at 50% 50%, rgba(0, 143, 163, 0.04), transparent 70%);
  pointer-events: none;
}

.kh-image-index {
  position: absolute;
  left: 18px;
  top: 16px;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 37, 45, 0.15);
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy, #12252d);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}

.kh-card-body {
  padding: 28px 28px 24px;
}

.kh-card-body h3 {
  margin-top: 12px;
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy, #12252d);
}

.kh-card-body p {
  margin-top: 12px;
  color: var(--text, #3f4d54);
  line-height: 1.6;
  font-size: 15px;
}

.kh-card-body .kh-meta {
  margin-top: 20px;
}

.kh-closing {
  padding: 112px 0 120px;
  background: #ffffff;
  border-top: 1px solid var(--border-light, rgba(5, 17, 37, 0.06));
}

.kh-closing-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kh-closing-inner .eyebrow {
  margin-bottom: 20px;
}

.kh-closing-title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 46px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy, #12252d);
  margin-bottom: 32px;
  text-wrap: balance;
}

@media (max-width: 900px) {
  .kh-hero {
    padding: 80px 0 72px;
  }
  .kh-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .kh-title {
    font-size: 42px;
  }
  .kh-featured-card {
    grid-template-columns: 1fr;
  }
  .kh-featured-media {
    min-height: 300px;
  }
  .kh-featured-copy {
    padding: 36px 28px;
  }
  .kh-card {
    grid-column: span 12;
  }
  .kh-closing-title {
    font-size: 36px;
  }
}

@media (max-width: 560px) {
  .kh-title {
    font-size: 32px;
    line-height: 1.2;
  }
  .kh-lead {
    font-size: 17px;
  }
  .kh-featured-copy h3 {
    font-size: 28px;
  }
  .kh-card-body h3 {
    font-size: 22px;
  }
  .kh-closing-title {
    font-size: 28px;
  }
}
/* Dynamic Blogger article cards */

.kh-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.kh-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.kh-card:hover .kh-card-media img {
  transform: scale(1.035);
}


/* LinkedIn article cards */
.kh-linkedin {
  padding: 104px 0 112px;
  background: #ffffff;
  border-top: 1px solid var(--border-light, rgba(5, 17, 37, 0.06));
}

.kh-linkedin-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px 24px;
}

.kh-card--linkedin .kh-card-media--linkedin {
  background: linear-gradient(135deg, #faf9f6, #edf7f8);
}

.kh-card--linkedin .kh-card-source {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark, #006b7a);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.kh-linkedin-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 26%, rgba(0, 143, 163, 0.16), transparent 34%),
    linear-gradient(135deg, #fbfaf7 0%, #edf7f8 100%);
}

.kh-linkedin-fallback span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--navy, #12252d);
}

.kh-linkedin-action {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.kh-linkedin-action .btn {
  min-width: 184px;
  justify-content: center;
}

@media (max-width: 900px) {
  .kh-linkedin {
    padding: 80px 0 88px;
  }
  .kh-linkedin-grid .kh-card {
    grid-column: span 12;
  }
}
