/* =========================================
   VARIABLES GLOBALES
========================================= */

:root {
  --paper: #faf7f2;
  --paper-d: #e8e3dc;
  --ink: #1a1a1a;
  --ink-soft: #444;
  --accent: #0056d2;
  --accent-soft: #dce8ff;
  --mono: "Space Mono", monospace;
  --serif: "Libre Baskerville", serif;
  --display: "Playfair Display", serif;
  --sans: "DM Sans", sans-serif;

  --radius: 6px;
  --shadow-soft: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-hard: 0 8px 20px rgba(0,0,0,0.12);

  --speed: 0.25s;
}

html.dark-mode {
  --paper: #0f131a;
  --paper-d: #232b38;
  --ink: #f2f5fa;
  --ink-soft: #c3ccda;
  --accent: #78a9ff;
  --accent-soft: #1a2740;
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.38);
  --shadow-hard: 0 10px 24px rgba(0,0,0,0.48);
}

/* =========================================
   RESET BÁSICO DEL CSS
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  padding-top: 80px; /* espacio para la navbar fija */
}

/* =========================================
   TIPOGRAFÍA GLOBAL
========================================= */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.2;
}

p, li {
  font-family: var(--sans);
  font-size: 1rem;
}

code {
  font-family: var(--mono);
  background: var(--paper-d);
  padding: 2px 4px;
  border-radius: 4px;
}

/* =========================================
   LAYOUT BASE — FLEX + PADDING
========================================= */

.entries {
  width: 100%;
  margin: 0;
  padding: 0 4%;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 20px;
}

.col-rule {
  border-left: 2px solid var(--paper-d);
  padding-left: 24px;
}

/* =========================================
   BANNER PRINCIPAL
========================================= */
/* styles.css */

/* Keyframes para la animación de pulso del indicador de estado */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Estilos generales del banner */
#available-banner {
  background-color: #f0f0f0; /* Fondo claro y discreto */
  color: #333; /* Texto oscuro */
  padding: 10px 20px;
  text-align: center;
  font-family: 'DM Sans', sans-serif; /* Tipografía moderna y legible */
  font-size: 0.95em;
  display: flex; /* Para alinear elementos */
  justify-content: center;
  align-items: center;
  gap: 10px; /* Espacio entre elementos */
  border-bottom: 1px solid #e0e0e0; /* Separador sutil */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Sombra suave */
  position: relative; /* Para posicionar el botón de cierre */
}

html.dark-mode #available-banner {
  background-color: #141c27;
  color: #d9e2f0;
  border-bottom: 1px solid #283347;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

html.dark-mode #available-banner .contact-link {
  color: #8fb6ff;
}

html.dark-mode .close-banner {
  color: #aab8ce;
}

/* Contenido del banner */
#available-banner .banner-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Indicador de estado (punto verde) */
.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #28a745; /* Verde para 'disponible' */
  border-radius: 50%;
  animation: pulse 1.5s infinite ease-in-out; /* Animación de pulso */
}

/* Texto del banner */
#available-banner p {
  margin: 0;
  padding: 0;
  line-height: 1;
}

/* Enlace de contacto */
#available-banner .contact-link {
  color: #007bff; /* Color de enlace estándar */
  text-decoration: none;
  font-weight: bold;
  margin-left: 10px;
}

#available-banner .contact-link:hover {
  text-decoration: underline;
}

/* Botón de cierre */
.close-banner {
  background: none;
  border: none;
  font-size: 1.2em;
  color: #666;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px;
  line-height: 1;
}

.close-banner:hover {
  color: #333;
}

/* Media queries para responsividad (opcional, pero buena práctica) */
@media (max-width: 768px) {
  #available-banner {
    font-size: 0.85em;
    padding: 8px 15px;
  }
  .close-banner {
    right: 10px;
    font-size: 1em;
  }
  #available-banner .banner-content {
    flex-direction: column; /* Apilar elementos en pantallas pequeñas */
    gap: 5px;
  }
  #available-banner p, #available-banner .contact-link {
    text-align: center;
  }
}
/* =========================================
   BARRAS DE BÚSQUEDA — ESTILO PERIÓDICO
========================================= */


.search-container {
  margin: 0;
  padding: 0;
  border: 0;
}


#search-input {
  width: min(340px, 100%);
  padding: 9px 13px;
  font-family: 'Georgia', serif; 
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--ink);
  background-color: #fcfcfc; 
  border: 1px solid var(--paper-d); 
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); 
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#search-input::placeholder {
  color: #aaa;
  font-style: italic;
}

#search-input:focus {
  border-color: var(--accent);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05), 0 0 0 3px rgba(0,86,210,0.12); 
  outline: none; 
}

#search-field,
#tag-select,
#date-from,
#date-to {
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--paper-d);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.88rem;
}

#search-field:focus,
#tag-select:focus,
#date-from:focus,
#date-to:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,86,210,0.12);
}

#clear-filters {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--paper-d);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-family: var(--sans);
  cursor: pointer;
  transition: all var(--speed);
}

#clear-filters:hover {
  border-color: var(--accent);
  color: var(--accent);
}
/* =========================================
   NAVBAR FIJA
========================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-d);
  padding: 14px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  z-index: 100;
}

.nav-brand {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-brand em {
  color: var(--accent);
  font-style: normal;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color var(--speed);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links .here {
  color: var(--accent);
  font-weight: 600;
}

.nav-cta {
  padding: 6px 14px;
  background: var(--accent);
  color: white !important;
  border-radius: var(--radius);
  transition: background var(--speed);
}

.nav-cta:hover {
  background: #003c96;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid var(--paper-d);
  background: white;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(55,66,250,0.2);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--paper-d);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--speed);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

html.dark-mode .theme-toggle {
  background: #182232;
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-label {
  line-height: 1;
}

/* =========================================
   MASTHEAD — estilo periódico
========================================= */

.masthead {
  text-align: center;
  padding: 60px 4% 40px;
  border-bottom: 1px solid var(--paper-d);
  width: 100%;
}

.mast-top {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}

.mast-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.mast-title .sub {
  display: block;
  font-size: 1rem;
  font-family: var(--serif);
  color: var(--ink-soft);
  margin-top: 4px;
}

.mast-tagline {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* =========================================
   STATS — contadores animados
========================================= */

.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 30px 4%;
  border-bottom: 1px solid var(--paper-d);
  width: 100%;
}

.stat-item {
  text-align: center;
}

.stat-n {
  font-size: 2.4rem;
  font-family: var(--display);
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.stat-l {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* =========================================
   FILTROS POR CATEGORÍA
========================================= */

.filter-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 22px 4%;
  border-bottom: 1px solid var(--paper-d);
  position: sticky;
  top: 57px;
  background: var(--paper);
  z-index: 40;
  width: 100%;
}

.filter-btn {
  padding: 6px 14px;
  border: 1px solid var(--paper-d);
  background: white;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--speed);
}

.filter-btn:hover {
  background: var(--paper-d);
}

.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* =========================================
   ENTRADAS DEL DIARIO — ESTRUCTURA GENERAL
========================================= */

.entry {
  padding: 50px 0;
  border-bottom: 1px solid var(--paper-d);
  width: 100%;
}

.entry:last-of-type {
  border-bottom: none;
}

.entry-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.day-badge {
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.entry-tags {
  list-style: none;
  display: flex;
  gap: 8px;
}

.entry-tags .etag {
  background: var(--paper-d);
  padding: 3px 8px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--ink-soft);
}

.entry-headline {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.25;
}

.entry-deck {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* =========================================
   LISTAS DE LOGS, ICONOS Y TEXTO
========================================= */

.log-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.li-icon {
  font-family: var(--mono);
  font-weight: bold;
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

.li-icon.w { color: #006400; }
.li-icon.b { color: #b30000; }
.li-icon.f { color: #444; }

.li-text {
  font-size: 0.95rem;
  color: var(--ink);
}

/* =========================================
   PULLQUOTES — citas destacadas
========================================= */

.pullquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-soft);
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  margin: 20px 0;
}

/* =========================================
   BARRAS DE NIVEL
========================================= */

.skill-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.skill-name {
  width: 90px;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.skill-bar-bg {
  flex: 1;
  height: 10px;
  background: var(--paper-d);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 1s ease;
}

.skill-pct {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* =========================================
   INTRO BLOCK
========================================= */

.intro-block {
  padding: 50px 0;
  border-bottom: 1px solid var(--paper-d);
  width: 100%;
}

.intro-kicker {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.intro-headline {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.25;
}

.intro-body {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.intro-sources {
  list-style: none;
  margin: 20px 0;
  padding-left: 0;
}

.intro-source {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.source-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.source-info {
  display: flex;
  flex-direction: column;
}

.source-name {
  font-family: var(--serif);
  font-size: 1rem;
}

.source-sub {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.intro-note {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 20px;
}

/* =========================================
   TEXTO LARGO
========================================= */

.body-text {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.6;
}

/* =========================================
   TITULARES DE COLUMNA
========================================= */

.col-label {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

/* =========================================
   NO RESULTS
========================================= */

.no-results {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 40px 0;
  display: none;
}

.results-toolbar {
  width: 100%;
  padding: 10px 4% 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.results-count {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-right: 4px;
}

.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.active-chip {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--paper-d);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.load-more-btn {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--paper-d);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--speed);
}

.load-more-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.load-more-bottom-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 18px 4% 30px;
  clear: both;
}

.load-more-bottom-wrap .load-more-btn {
  margin-left: 0;
}

/* =========================================
   CODE BLOCKS
========================================= */

.code-block {
  background: #171a20;
  color: #f5f7fa;
  padding: 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  overflow-x: auto;
  margin: 16px 0;
  box-shadow: var(--shadow-soft);
}

html.dark-mode .code-block {
  background: #0b1119;
  color: #dce6f7;
  border: 1px solid #273247;
}

.code-block code {
  background: none;
  padding: 0;
  color: inherit;
  font-family: var(--mono);
  line-height: 1.5;
}

/* =========================================
   ELEMENTOS DESTACADOS
========================================= */

.highlight {
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: var(--radius);
}

.mono {
  font-family: var(--mono);
}

.serif {
  font-family: var(--serif);
}

.display {
  font-family: var(--display);
}

/* =========================================
   ANIMACIONES
========================================= */

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* =========================================
   TRANSICIONES GENERALES
========================================= */

a,
button,
.filter-btn,
.nav-links a,
.nav-cta,
.lang-btn {
  transition: all var(--speed);
}

/* =========================================
   FOOTER
========================================= */

.footer {
  margin-top: 60px;
  padding: 40px 4%;
  text-align: center;
  border-top: 1px solid var(--paper-d);
  background: var(--paper);
  width: 100%;
}

.footer-text {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  transition: color var(--speed);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-copy i {
  color: var(--accent);
  margin-right: 6px;
}

/* =========================================
   RESPONSIVE — MOBILE FIRST
========================================= */

@media (max-width: 900px) {
  .cols {
    grid-template-columns: 1fr;
  }

  .col-rule {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid var(--paper-d);
    padding-top: 24px;
  }

  .mast-title {
    font-size: 2.4rem;
  }

  .entry-headline {
    font-size: 1.7rem;
  }

  .intro-headline {
    font-size: 1.9rem;
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 70px;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
    padding: 12px 4%;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .filter-nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 4%;
  }

  .mast-title {
    font-size: 2rem;
  }

  .entry {
    padding: 40px 0;
  }

  .entry-headline {
    font-size: 1.5rem;
  }

  .intro-headline {
    font-size: 1.7rem;
  }

  .code-block {
    font-size: 0.85rem;
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .mast-top {
    flex-direction: column;
    gap: 4px;
  }

  .day-badge {
    font-size: 0.7rem;
  }

  .entry-tags .etag {
    font-size: 0.7rem;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================================
   REFLEXIONES — estilos específicos
========================================= */

.reflexion {
  background: white;
  border: 1px solid var(--paper-d);
  border-radius: 12px;
  padding: 60px 50px;
  margin-bottom: 80px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.reflexion-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
  border-bottom: 1px solid var(--paper-d);
  padding-bottom: 15px;
}

.reflexion-num {
  font-weight: 700;
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 4px;
}

.reflexion-headline {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--ink);
}

.reflexion-deck {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 45px;
  font-style: italic;
  max-width: none;
}

.reflexion .cols {
  gap: 50px;
  align-items: start;
}

.reflexion .col-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
  border-bottom: 2px solid var(--accent-soft);
}

.reflexion .body-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #2d2d2d;
}

.reflexion .pullquote {
  font-size: 1.4rem;
  color: var(--ink);
  border-left: none;
  border-top: 1px solid var(--paper-d);
  border-bottom: 1px solid var(--paper-d);
  padding: 30px 0;
  margin: 40px 0;
  text-align: center;
  position: relative;
}


@media (max-width: 768px) {
  .reflexion {
    padding: 40px 20px;
    margin-bottom: 40px;
  }
  .reflexion-headline {
    font-size: 1.8rem;
  }
  .reflexion-deck {
    font-size: 1.1rem;
  }
}

/* =========================================
   NEXT TARGET
========================================= */

.next-target {
  margin-top: 32px;
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.next-target-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.next-target-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.next-target-list li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.next-target-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--ink);
}

.next-target-list code {
  background: var(--paper-d);
  padding: 1px 5px;
  font-family: var(--mono);
  font-size: 11px;
}

/* =========================================
   PROBLEM PATTERN
========================================= */

.problem-pattern {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--paper-d);
  border-bottom: 1px solid var(--paper-d);
  padding: 20px 0;
}

@media (max-width: 800px) {
  .problem-pattern {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.pp-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pp-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.pp-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* =========================================
   MENTAL MODEL
========================================= */

.mental-model {
  margin-top: 32px;
  border-top: 1px solid var(--paper-d);
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--paper-d);
}

.mental-model-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.mental-model-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mental-model-list li {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--paper-d);
  padding: 6px 14px;
  line-height: 1.5;
}

.mental-model-list code {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: none;
  padding: 0;
}