/* ── KAMA BLOG — Shared Article Styles ── */

@font-face {
  font-family: 'Clearface';
  src: url('./fonts/ltd_clearface_std.woff2') format('woff2'),
       url('./fonts/ltd_clearface_std.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: 'Karla', sans-serif; background: #FFF8F2; color: #090822; overflow-x: hidden; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: rgba(255,248,242,0.97);
  border-bottom: 1px solid rgba(9,8,34,0.06);
}
.nav-left { flex: 1; display: flex; align-items: center; gap: 1.5rem; }
.nav-center { flex: 1; display: flex; justify-content: center; }
.nav-logo { width: 96px; height: auto; filter: brightness(0); }
.nav-right { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; }
.nav-link { font-size: 0.9375rem; color: #090822; opacity: 0.55; transition: opacity 0.2s; }
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; font-weight: 600; }
.nav-pill {
  font-size: 0.9375rem;
  font-weight: 600;
  background: #090822;
  color: #FFF8F2;
  padding: 0.5rem 1.25rem;
  border-radius: 24rem;
  transition: background 0.2s;
}
.nav-pill:hover { background: #4A43F3; }
@media (max-width: 768px) {
  .nav-left .nav-link { display: none; }
  .nav { padding: 1rem 1.25rem; }
}

/* ── ARTICLE LAYOUT ── */
.article-wrap {
  padding-top: 4rem;
  max-width: 44rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 6rem;
}

/* ── ARTICLE HEADER ── */
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}
.article-tag {
  display: inline-block;
  background: #FF7A2A;
  color: #FFF8F2;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 24rem;
}
.article-read-time {
  font-size: 0.95rem;
  color: #3D3B55;
}
.article-title {
  font-family: 'Clearface', Georgia, serif;
  font-size: 3.5rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #090822;
  margin-bottom: 2rem;
}
.article-intro {
  font-size: 1.2rem;
  line-height: 1.85;
  color: #3A3850;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid #FF7A2A;
}

/* ── ARTICLE HERO IMAGE ── */
.article-hero-img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 3rem;
  display: block;
}

/* ── ARTICLE BODY ── */
.article-body h2 {
  font-family: 'Clearface', Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.25;
  color: #090822;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.article-body p {
  font-size: 1.2rem;
  line-height: 1.85;
  color: #3D3B55;
  margin-bottom: 1.375rem;
}
.article-body p strong {
  font-weight: 700;
  color: #090822;
}
.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.article-body ul li,
.article-body ol li {
  font-size: 1.2rem;
  line-height: 1.85;
  color: #3D3B55;
  margin-bottom: 0.65rem;
  padding-left: 0.35rem;
}
.article-body ol li::marker {
  color: #FF7A2A;
  font-weight: 700;
}

/* ── PULL QUOTE ── */
.article-quote {
  font-family: 'Clearface', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.55;
  font-style: italic;
  color: #090822;
  border-left: 2px solid #FF7A2A;
  padding-left: 1.5rem;
  margin: 2.5rem 0;
}

/* ── PRACTICE BOX ── */
.practice-box {
  background: #090822;
  border-radius: 20px;
  padding: 2.75rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.practice-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #FF7A2A;
  border-radius: 20px 20px 0 0;
}
.practice-box-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FF7A2A;
  margin-bottom: 1rem;
}
.practice-box h3 {
  font-family: 'Clearface', Georgia, serif;
  font-size: 1.35rem;
  color: #FFF8F2;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}
.practice-box p, .practice-box li {
  font-size: 1rem;
  line-height: 1.8;
  color: #FFF8F2;
  margin-bottom: 0.875rem;
}
.practice-box ul {
  margin-left: 1.25rem;
}
.practice-box ul li { margin-bottom: 0.5rem; }
.practice-box-note {
  font-size: 0.95rem;
  font-style: italic;
  color: #FFF8F2 !important;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

/* ── SCIENCE BOX ── */
.science-box {
  border-left: 3px solid #FF7A2A;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2.5rem 0;
}
.science-box-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FF7A2A;
  margin-bottom: 0.75rem;
}
.science-box p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #090822;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.science-box p:last-child { margin-bottom: 0; }
.science-box-source {
  font-size: 0.78rem;
  color: #090822;
  opacity: 0.35;
  font-style: italic;
  margin-top: 0.75rem;
}

/* ── CTA ── */
.article-cta {
  margin-top: 4rem;
  background: #FFF8F2;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(9,8,34,0.08);
}
.article-cta-main {
  padding: 2.75rem 2.5rem 2.25rem;
  text-align: center;
}
.article-cta-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C45A10;
  margin-bottom: 0.875rem;
}
.article-cta-title {
  font-family: 'Clearface', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #090822;
  margin-bottom: 2rem;
}
.article-cta-hook {
  font-size: 1rem;
  color: #3D3B55;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.article-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.article-cta-btn, .cta-button {
  display: inline-block;
  background: #090822;
  color: #FFF8F2;
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9375rem 2.25rem;
  border-radius: 24rem;
  transition: background 0.2s;
  white-space: nowrap;
}
.article-cta-btn:hover, .cta-button:hover { background: #3D3B55; }
.article-cta-secondary-link {
  font-size: 0.875rem;
  color: #8887A3;
  transition: color 0.2s;
}
.article-cta-secondary-link:hover { color: #090822; }

/* ── PRACTICE CARDS (paywall) ── */
.paywall-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0 2.5rem 2rem;
}
.paywall-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #090822;
}
.paywall-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.paywall-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,8,34,0.5) 0%, transparent 30%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.875rem;
}
.paywall-card-lock {
  align-self: flex-end;
  width: 28px;
  height: 28px;
  background: rgba(255,248,242,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.paywall-card-lock svg {
  width: 14px;
  height: 14px;
  fill: #FFF8F2;
}
.paywall-card-title {
  font-family: 'Clearface', Georgia, serif;
  font-size: 1rem;
  line-height: 1.3;
  color: #FFF8F2; text-shadow: 0 1px 6px rgba(9,8,34,0.7);
  margin: 0;
}

/* ── PAYWALL CTA BAR ── */
.paywall-cta-bar {
  padding: 1.75rem 2.5rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(9,8,34,0.07);
}
.paywall-cta-bar p {
  display: block;
  font-size: 0.875rem;
  color: #3D3B55;
  margin: 0;
}

/* ── CTA EMAIL ── */
.article-cta-email {
  padding: 1.75rem 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(9,8,34,0.07);
}
.article-cta-email-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8887A3;
  margin-bottom: 1rem;
}
.article-cta-email-form {
  display: flex;
  gap: 0.5rem;
  max-width: 340px;
  margin: 0 auto;
}
.article-cta-email-input {
  flex: 1;
  font-family: 'Karla', sans-serif;
  font-size: 0.9375rem;
  color: #090822;
  background: #fff;
  border: 1px solid rgba(9,8,34,0.15);
  border-radius: 24rem;
  padding: 0.65rem 1.125rem;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.article-cta-email-input::placeholder { color: rgba(9,8,34,0.3); }
.article-cta-email-input:focus { border-color: rgba(9,8,34,0.35); }
.article-cta-email-submit {
  font-family: 'Karla', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  background: #090822;
  color: #FFF8F2;
  border: none;
  border-radius: 24rem;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.article-cta-email-submit:hover { background: #FF7A2A; color: #090822; }

@media (max-width: 600px) {
  .paywall-cards { grid-template-columns: 1fr 1fr; padding: 0 1.25rem 1.5rem; }
  .paywall-cards .paywall-card:last-child { display: none; }
}

/* legacy class kept for compatibility */
.article-cta p { display: block; }

/* ── QUESTIONS LIST ── */
.article-questions {
  margin: 2.5rem 0;
  border: 1px solid rgba(9,8,34,0.08);
  border-radius: 20px;
  overflow: hidden;
}
.article-questions-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0.7rem 1.5rem;
  border-bottom: 1px solid rgba(9,8,34,0.06);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3D3B55;
}
.article-questions-item:last-child { border-bottom: none; }
.article-questions-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: #FF7A2A;
  letter-spacing: 0.05em;
  min-width: 1.25rem;
  padding-top: 0.3rem;
  flex-shrink: 0;
}

/* ── ARTICLE LIST ── */
.article-list {
  margin: 1.5rem 0 1.5rem 0;
  padding: 0;
  list-style: none;
}
.article-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3D3B55;
  border-bottom: 1px solid rgba(9,8,34,0.06);
}
.article-list li:last-child { border-bottom: none; }
.article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FF7A2A;
}

/* ── PRACTICE PREREQ ── */
.practice-prereq {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255,122,42,0.06);
  border-radius: 10px;
  border: 1px solid rgba(255,122,42,0.15);
}
.practice-prereq-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FF7A2A;
  white-space: nowrap;
}
.practice-prereq-link {
  font-size: 0.95rem;
  color: #090822;
  text-decoration: none;
  border-bottom: 1px solid rgba(9,8,34,0.2);
}
.practice-prereq-link:hover {
  border-bottom-color: #FF7A2A;
  color: #FF7A2A;
}

/* ── RELATED READING ── */
.article-related {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(9,8,34,0.08);
}
.article-related-label {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3D3B55;
  margin-bottom: 1.25rem;
}
.article-related-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.article-related-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(9,8,34,0.18);
  border-radius: 14px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.article-related-link:hover {
  box-shadow: 0 4px 18px rgba(9,8,34,0.12);
  transform: translateY(-1px);
}
.article-related-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C45A10;
}
.article-related-title {
  font-family: 'Clearface', Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #090822;
}

/* ── QUIZ NUDGE ── */
.article-quiz-nudge {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(9,8,34,0.08);
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
  color: #3D3B55;
}
.article-quiz-nudge a {
  color: #C45A10;
  font-weight: 600;
  text-decoration: none;
}
.article-quiz-nudge a:hover { text-decoration: underline; }

/* ── FOOTER ── */
.site-footer {
  background: #090822;
  border-top: 1px solid rgba(255,248,242,0.06);
  padding: 2rem 2.5rem;
  text-align: center;
}
.footer-copy { font-size: 0.8rem; color: #FFF8F2; opacity: 0.25; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .article-title { font-size: 2.25rem; }
  .article-wrap { padding-top: 2.5rem; }
  .practice-box { padding: 2rem 1.75rem; }
  .article-cta-main { padding: 2.25rem 1.5rem 2rem; }
  .article-cta-email { padding: 1.5rem; }
  .article-cta-email-form { flex-direction: column; }
  .article-cta-email-submit { width: 100%; }
}
