/* page-geo-6.css — custom component styles for /what-is-generative-engine-optimisation/ (page ID 6) */
/* Enqueued conditionally via is_page(6). Do not load globally. */

.entry-content .definition-block {
  background: #f5f5f5;
  border-left: 5px solid #111;
  padding: 1.25rem 1.6rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}
.entry-content .definition-block p { margin: 0 0 0.5rem; }
.entry-content .definition-block p:last-child { margin: 0; }
.entry-content .definition-block .label {
  font-family: -apple-system, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 0.5rem;
  display: block;
}

.entry-content .callout {
  background: #fffbf0;
  border-left: 5px solid #d4a012;
  padding: 1.1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}
.entry-content .callout p { margin: 0 0 0.5rem; }
.entry-content .callout p:last-child { margin: 0; }

.entry-content .data-callout {
  background: #f0f5ff;
  border-left: 5px solid #2255aa;
  padding: 1.1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}
.entry-content .data-callout p { margin: 0 0 0.5rem; }
.entry-content .data-callout p:last-child { margin: 0; }
.entry-content .data-callout .label {
  font-family: -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2255aa;
  margin-bottom: 0.4rem;
  display: block;
}

/* Pipeline diagram */
.entry-content .pipeline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.5rem 0 2rem;
  font-family: -apple-system, sans-serif;
}
.entry-content .pipeline-stage {
  border: 2px solid #111;
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  text-align: center;
  min-width: 120px;
  flex: 1;
}
.entry-content .pipeline-stage .stage-name {
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
  color: #111;
}
.entry-content .pipeline-stage .stage-q {
  font-size: 0.75rem;
  color: #555;
  display: block;
  margin-top: 0.2rem;
}
.entry-content .pipeline-arrow {
  font-size: 1.2rem;
  color: #888;
  flex-shrink: 0;
}

/* Comparison table */
.entry-content .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  font-size: 0.9rem;
  font-family: -apple-system, sans-serif;
}
.entry-content .compare-table th {
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.83rem;
}
.entry-content .compare-table th:first-child { background: #f5f5f5; color: #555; width: 22%; }
.entry-content .compare-table th:nth-child(2) { background: #e8e8e8; color: #444; }
.entry-content .compare-table th:nth-child(3) { background: #dce8f5; color: #2255aa; }
.entry-content .compare-table th:nth-child(4) { background: #111; color: #fff; }
.entry-content .compare-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}
.entry-content .compare-table tr:last-child td { border-bottom: none; }
.entry-content .compare-table td:first-child { font-weight: 600; color: #555; }

/* GEO Stack layers */
.entry-content .stack-layers {
  margin: 1.5rem 0 2rem;
  font-family: -apple-system, sans-serif;
}
.entry-content .stack-layer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #ececec;
}
.entry-content .stack-layer:last-child { border-bottom: none; }
.entry-content .layer-badge {
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25em 0.55em;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.entry-content .layer-badge.layer-0 { background: #888; }
.entry-content .layer-content strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.entry-content .layer-content span {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.5;
}

/* Experiment results */
.entry-content .experiment-result {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  margin: 1rem 0;
  font-family: -apple-system, sans-serif;
}
.entry-content .experiment-id {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin-bottom: 0.3rem;
}
.entry-content .experiment-finding {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.4rem;
}
.entry-content .experiment-detail {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.55;
}

/* Steps list */
.entry-content .steps-list {
  counter-reset: steps;
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
}
.entry-content .steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ececec;
  font-family: -apple-system, sans-serif;
  font-size: 0.95rem;
}
.entry-content .steps-list li:last-child { border-bottom: none; }
.entry-content .steps-list li::before {
  content: counter(steps);
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.entry-content .steps-list li strong { display: block; margin-bottom: 0.2rem; color: #111; }
.entry-content .steps-list li span { color: #444; line-height: 1.5; }

/* FAQ */
.entry-content .faq-item {
  border-top: 1px solid #ececec;
  padding: 1.25rem 0;
}
.entry-content .faq-item:first-child { border-top: none; }
.entry-content .faq-item h3 {
  margin-top: 0;
  font-size: 1rem;
  font-family: -apple-system, sans-serif;
}
.entry-content .faq-item p {
  font-size: 0.95rem;
  color: #333;
  margin: 0.5rem 0 0;
}

/* Meta section */
.entry-content .meta-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid #ececec;
  font-family: -apple-system, sans-serif;
  font-size: 0.9rem;
  color: #555;
}
.entry-content .meta-section h2 {
  font-size: 1rem;
  border: none;
  padding: 0;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}
.entry-content .meta-section ul { margin-left: 1.2rem; }
.entry-content .meta-section li { margin-bottom: 0.3rem; }

/* Author bio */
.entry-content .author-bio {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
  font-family: -apple-system, sans-serif;
  font-size: 0.88rem;
  color: #444;
}
.entry-content .author-bio p { margin: 0 0 0.5rem; }
.entry-content .author-bio p:last-child { margin: 0; }
