/* === Landing Page Styles === */
/* Supplements /css/style.css — only styles unique to exam landing pages */

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 16px 0 0;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb-sep {
  margin: 0 6px;
  color: var(--border-color);
}

/* Landing Hero */
.landing-hero {
  padding: 32px 0 8px;
}

.landing-hero .section-badge {
  margin-bottom: 10px;
}

.landing-hero h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 8px 0 6px;
}

.landing-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
}

/* Landing Sections */
.landing-section {
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
}

.landing-section:first-of-type {
  border-top: none;
  padding-top: 16px;
}

.landing-section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.landing-section p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 12px;
}

.landing-section p:last-child {
  margin-bottom: 0;
}

/* Exam Details Grid */
.exam-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-top: 16px;
  overflow: hidden;
}

.detail-item {
  background: var(--surface);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-item strong {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  font-weight: 500;
}

.detail-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

/* Topic List */
.topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topic-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.topic-list li strong {
  color: var(--text);
}

/* Tips List */
.tips-list {
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tips-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  padding-left: 4px;
}

/* Source Note */
.source-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 16px;
}

/* Open test links by default on landing pages */
.landing-page .test-links-container {
  max-height: 300px;
}

/* Responsive */
@media (max-width: 600px) {
  .landing-hero h2 {
    font-size: 1.5rem;
  }

  .exam-details {
    grid-template-columns: 1fr 1fr;
  }
}

/* SEO Sample Questions */
.seo-questions-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.seo-question {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
}

.seo-question-stimulus {
  margin-bottom: 16px;
}

.seo-question-stimulus-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px;
}

.seo-question-stimulus-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.seo-question-stimulus-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.seo-question-stimulus-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.seo-question-stimulus-body p {
  margin-bottom: 12px;
}

.seo-question-stimulus-body p:last-child {
  margin-bottom: 0;
}

.seo-question-stimulus-image {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: calc(var(--radius) - 4px);
  background: #fff;
}

.seo-question-stimulus-caption,
.seo-question-stimulus-credit {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.seo-question-stimulus-caption {
  margin-top: 10px;
}

.seo-question-stimulus-credit {
  margin-top: 4px;
}

.seo-question-number {
  margin-bottom: 8px;
}

.seo-question-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
}

.seo-question-text p {
  margin-bottom: 12px;
}

.seo-question-text p:last-child {
  margin-bottom: 0;
}

.seo-question-choices {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-question-choices li {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-secondary);
  padding-left: 8px;
  border-left: 3px solid var(--border-color);
}

.seo-answer-details {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.seo-answer-details summary {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  user-select: none;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: -8px;
  transition: background-color 0.2s;
}

.seo-answer-details summary:hover {
  background-color: var(--hover-color, rgba(0, 0, 0, 0.04));
}

.seo-answer-content {
  margin-top: 12px;
  padding: 16px;
  background: rgba(0,0,0,0.02);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

.seo-answer-content p {
  margin-bottom: 12px;
}

.seo-answer-content p:last-child {
  margin-bottom: 0;
}
