/**
 * Página genérica — default template (futuro page.php)
 * Título + contenido editorial
 */

.page-default {
  padding: 2.5rem 0 4rem;
  border-bottom: 1px solid var(--laooz-border);
}

.page-default-inner {
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .page-default {
    padding: 3.25rem 0 5rem;
  }
}

/* Breadcrumb */
.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

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

.page-breadcrumb a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.page-breadcrumb [aria-current="page"] {
  color: #6b7280;
}

/* Título */
.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--laooz-border);
}

.page-title {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #000;
}

/* Contenido — equivalente a .entry-content en WP */
.page-prose,
.entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}

.page-prose > :first-child,
.entry-content > :first-child {
  margin-top: 0;
}

.page-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #151c27;
}

.page-prose h2,
.entry-content h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000;
}

.page-prose h3,
.entry-content h3 {
  margin: 1.75rem 0 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #151c27;
}

.page-prose p,
.entry-content p {
  margin: 0 0 1.1rem;
}

.page-prose ul,
.page-prose ol,
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.page-prose li,
.entry-content li {
  margin-bottom: 0.45rem;
}

.page-prose li::marker,
.entry-content li::marker {
  color: var(--link);
}

.page-prose blockquote,
.entry-content blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: var(--brand-soft);
}

.page-prose blockquote p,
.entry-content blockquote p {
  margin: 0;
  font-size: 1.02rem;
  font-style: italic;
  color: #384d0e;
}

.page-prose a,
.entry-content a {
  color: var(--link);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-prose a:hover,
.entry-content a:hover {
  color: var(--link-hover);
}

.page-prose img,
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--laooz-border);
}

.page-prose hr,
.entry-content hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid var(--laooz-border);
}

.page-prose table,
.entry-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.page-prose th,
.page-prose td,
.entry-content th,
.entry-content td {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--laooz-border);
  text-align: left;
}

.page-prose th,
.entry-content th {
  background: #f9fafb;
  font-weight: 600;
}

.page-prose .table-wrapper,
.entry-content .table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
}
