/* PsychBoard PH Blog — Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0A1220;
  color: #B8B0A0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: #C4943A; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
.site-header {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-psi {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #C4943A;
  line-height: 1;
}
.logo-name {
  font-family: Georgia, serif;
  font-size: 18px;
  color: #F0EDE6;
  font-weight: 600;
}
.header-cta {
  background: #C4943A;
  color: #0A1220;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.header-cta:hover { opacity: 0.85; text-decoration: none; }

/* ── Layout ── */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 13px;
  color: #555;
  padding: 20px 0 0;
}
.breadcrumb a { color: #555; }
.breadcrumb a:hover { color: #C4943A; }
.breadcrumb span { margin: 0 6px; }

/* ── Article ── */
article {
  padding: 32px 0 60px;
}
.post-meta {
  font-size: 12px;
  color: #444;
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.tag {
  background: rgba(196,148,58,0.12);
  color: #C4943A;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 {
  font-family: Georgia, serif;
  font-size: clamp(24px, 4vw, 38px);
  color: #F0EDE6;
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 700;
}
h2 {
  font-family: Georgia, serif;
  font-size: clamp(18px, 3vw, 24px);
  color: #E8E4DC;
  margin: 40px 0 14px;
  font-weight: 600;
}
h3 {
  font-size: 17px;
  color: #D4CFC6;
  margin: 28px 0 10px;
  font-weight: 600;
}
p { margin-bottom: 18px; color: #A8A098; }
ul, ol { padding-left: 22px; margin-bottom: 18px; }
li { margin-bottom: 8px; color: #A8A098; }
strong { color: #D4CFC6; font-weight: 600; }

/* ── Sample Questions ── */
.questions-block {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 28px;
  margin: 32px 0;
}
.questions-block h2 { margin-top: 0; }
.question-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.question-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.question-text {
  font-weight: 600;
  color: #D4CFC6;
  margin-bottom: 12px;
  font-size: 15px;
}
.choices { list-style: none; padding-left: 0; margin-bottom: 10px; }
.choices li {
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  color: #888;
}
.choices li.correct {
  background: rgba(74,155,111,0.15);
  border-color: rgba(74,155,111,0.3);
  color: #7FD4A0;
}
.explanation {
  font-size: 13px;
  color: #555;
  background: rgba(255,255,255,0.03);
  padding: 10px 14px;
  border-radius: 6px;
  border-left: 3px solid #C4943A;
  margin-top: 8px;
}

/* ── CTA Box ── */
.cta-box {
  background: linear-gradient(135deg, #111827, #0f1d30);
  border: 1px solid rgba(196,148,58,0.3);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  margin: 48px 0;
}
.cta-box .cta-icon { font-size: 36px; margin-bottom: 12px; }
.cta-box h2 {
  font-family: Georgia, serif;
  font-size: 22px;
  color: #F0EDE6;
  margin: 0 0 10px;
}
.cta-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 22px;
}
.cta-btn {
  display: inline-block;
  background: #C4943A;
  color: #0A1220;
  padding: 13px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}
.cta-btn:hover { opacity: 0.85; text-decoration: none; }
.cta-note { font-size: 12px; color: #444; margin-top: 10px; margin-bottom: 0; }

/* ── Subject Cards ── */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.subject-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px;
}
.subject-card .s-icon { font-size: 24px; margin-bottom: 8px; }
.subject-card h3 { font-size: 15px; color: #E8E4DC; margin: 0 0 6px; }
.subject-card p { font-size: 13px; color: #555; margin: 0; }

/* ── Blog Index Cards ── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.post-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.15s;
}
.post-card:hover { border-color: rgba(196,148,58,0.3); }
.post-card .pc-tag {
  font-size: 11px;
  font-weight: 600;
  color: #C4943A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.post-card h2 {
  font-family: Georgia, serif;
  font-size: 17px;
  color: #E8E4DC;
  margin: 0 0 10px;
  line-height: 1.4;
}
.post-card p { font-size: 13px; color: #555; margin-bottom: 16px; }
.post-card a.read-more {
  font-size: 13px;
  color: #C4943A;
  font-weight: 600;
}

/* ── Related Posts ── */
.related {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 40px;
  margin-top: 40px;
}
.related h2 { margin-top: 0; font-size: 20px; }
.related-links { list-style: none; padding: 0; }
.related-links li { margin-bottom: 10px; }
.related-links a { font-size: 15px; }

/* ── Info Box ── */
.info-box {
  background: rgba(196,148,58,0.08);
  border: 1px solid rgba(196,148,58,0.2);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
}
.info-box p { margin: 0; font-size: 14px; color: #A8A098; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 32px 24px;
  text-align: center;
  font-size: 12px;
  color: #333;
}
.site-footer a { color: #444; margin: 0 10px; }
.site-footer a:hover { color: #C4943A; }
.footer-links { margin-bottom: 8px; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .site-header { padding: 14px 16px; }
  .container { padding: 0 16px; }
  .cta-box { padding: 28px 20px; }
  .questions-block { padding: 20px; }
}
