/* ============================================================
   ProAndes — main.css
   CSS-Prefix: pa-
   Single Source of Truth: mockup_c_editorial.html
   ============================================================ */

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

body {
  font-family: var(--pa-font-body);
  background: var(--pa-papel);
  color: #2A2A2A;
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--pa-font-head);
  color: var(--pa-slate);
  line-height: 1.25;
}

a { color: var(--pa-cobre); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   GLOBAL LAYOUT
   ============================================================ */
.pa-wrapper {
  max-width: var(--pa-max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.pa-topbar {
  background: var(--pa-slate);
  height: 6px;
}

/* ============================================================
   HEADER
   ============================================================ */
.pa-header {
  background: var(--pa-papel);
  border-bottom: 3px solid var(--pa-slate);
  position: relative;
}

.pa-header-inner {
  max-width: var(--pa-max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.pa-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.pa-logo:hover { text-decoration: none; }

.pa-logo-name {
  font-family: var(--pa-font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--pa-slate);
  letter-spacing: -0.02em;
}

.pa-logo-name span {
  color: var(--pa-cobre);
}

.pa-logo-tagline {
  font-family: var(--pa-font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--pa-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
}

.pa-nav {
  display: flex;
  gap: 0;
  align-items: center;
}

.pa-nav a {
  font-family: var(--pa-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--pa-slate);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 3px;
  transition: background 0.2s;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pa-nav a:hover {
  background: #E8E3DC;
  color: var(--pa-cobre);
  text-decoration: none;
}

.pa-nav-cta {
  background: var(--pa-cobre) !important;
  color: #fff !important;
  margin-left: 8px;
  padding: 7px 16px !important;
  border-radius: 4px !important;
}

.pa-nav-cta:hover {
  background: #9A6840 !important;
  color: #fff !important;
}

/* hamburger — hidden on desktop */
.pa-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.pa-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pa-slate);
  border-radius: 2px;
  transition: 0.2s;
}

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* ── Persona Block ── */
.pa-persona-block {
  background: linear-gradient(135deg, #3D4E5C 0%, #4E6270 100%);
  padding: 40px 20px;
}

.pa-persona-inner {
  max-width: var(--pa-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.pa-persona-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B87D52 0%, #D4956A 50%, #E8B090 100%);
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  overflow: hidden;
}

.pa-persona-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pa-persona-text {
  color: var(--pa-papel);
}

.pa-home-h1 {
  font-family: var(--pa-font-head);
  font-size: 13px;
  font-weight: 400;
  color: rgba(245,242,238,0.6);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.5;
}

.pa-persona-text h2 {
  font-family: var(--pa-font-head);
  font-size: 22px;
  color: var(--pa-papel);
  margin-bottom: 6px;
  font-weight: 700;
}

.pa-persona-text p {
  font-size: 15px;
  color: rgba(245,242,238,0.88);
  line-height: 1.6;
  max-width: 680px;
}

.pa-persona-location {
  font-size: 12px;
  color: var(--pa-cobre);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* ── Section Labels ── */
.pa-section-label {
  font-family: var(--pa-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pa-cobre);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pa-cobre);
  display: inline-block;
}

/* ── Featured Area ── */
.pa-featured-section {
  padding: 44px 20px 0;
  max-width: var(--pa-max-w);
  margin: 0 auto;
}

.pa-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-top: 0;
}

.pa-card-featured {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 2px 12px rgba(61,78,92,0.08);
  border: 1px solid var(--pa-border);
}

.pa-card-featured-img {
  background: linear-gradient(135deg, #3D4E5C 0%, #B87D52 60%, #D4A07A 100%);
  min-height: 280px;
  position: relative;
}

.pa-card-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pa-card-featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(61,78,92,0.15) 0%, transparent 100%);
  pointer-events: none;
}

.pa-card-featured-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pa-tag {
  display: inline-block;
  font-family: var(--pa-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--pa-cobre);
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.pa-card-featured-body h2 {
  font-family: var(--pa-font-head);
  font-size: 24px;
  color: var(--pa-slate);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pa-card-featured-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 20px;
}

.pa-btn-read {
  display: inline-block;
  font-family: var(--pa-font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--pa-slate);
  border: 2px solid var(--pa-slate);
  padding: 8px 18px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.04em;
  align-self: flex-start;
  transition: all 0.2s;
}

.pa-btn-read:hover {
  background: var(--pa-slate);
  color: var(--pa-papel);
  text-decoration: none;
}

.pa-meta {
  font-size: 12px;
  color: #8E8E8E;
  margin-bottom: 10px;
}

/* ── Small Cards ── */
.pa-card-small {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(61,78,92,0.07);
  border: 1px solid var(--pa-border);
  display: flex;
  flex-direction: column;
}

.pa-card-small-img {
  height: 160px;
  background: linear-gradient(160deg, #4E6270 0%, #B87D52 100%);
  overflow: hidden;
}

.pa-card-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pa-card-small-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pa-card-small-body h3 {
  font-family: var(--pa-font-head);
  font-size: 17px;
  color: var(--pa-slate);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pa-card-small-body h3 a {
  color: var(--pa-slate);
  text-decoration: none;
}

.pa-card-small-body h3 a:hover {
  color: var(--pa-cobre);
  text-decoration: none;
}

.pa-card-small-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  flex: 1;
}

.pa-card-small-body .pa-meta {
  margin-top: 12px;
}

/* ── Silos Section ── */
.pa-silos-section {
  padding: 48px 20px 0;
  max-width: var(--pa-max-w);
  margin: 0 auto;
}

.pa-silos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
}

.pa-silo-card {
  background: #fff;
  border: 1px solid var(--pa-border);
  border-radius: 6px;
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.pa-silo-card:hover {
  border-color: var(--pa-cobre);
  box-shadow: 0 3px 12px rgba(184,125,82,0.12);
  text-decoration: none;
}

.pa-silo-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.pa-silo-info h3 {
  font-family: var(--pa-font-head);
  font-size: 15px;
  color: var(--pa-slate);
  margin-bottom: 4px;
}

.pa-silo-info p {
  font-size: 13px;
  color: var(--pa-muted);
  line-height: 1.5;
}

.pa-silo-count {
  font-size: 11px;
  color: var(--pa-cobre);
  font-weight: 700;
  margin-top: 6px;
  display: block;
  letter-spacing: 0.04em;
}

/* ── Quote Bar ── */
.pa-quote-bar {
  background: linear-gradient(90deg, #3D4E5C 0%, #4E6270 100%);
  padding: 28px 20px;
  margin: 48px 0 0;
  text-align: center;
}

.pa-quote-bar blockquote {
  font-family: var(--pa-font-head);
  font-size: 19px;
  font-style: italic;
  color: var(--pa-papel);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

.pa-quote-bar cite {
  display: block;
  margin-top: 10px;
  font-family: var(--pa-font-body);
  font-size: 12px;
  font-style: normal;
  color: var(--pa-cobre);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.pa-footer {
  background: var(--pa-slate);
  color: #C8D4DC;
  padding: 40px 20px 24px;
  margin-top: 60px;
}

.pa-footer-inner {
  max-width: var(--pa-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.pa-footer h4 {
  font-family: var(--pa-font-head);
  color: var(--pa-papel);
  font-size: 15px;
  margin-bottom: 14px;
}

.pa-footer p,
.pa-footer li {
  font-size: 13px;
  color: #A8B8C2;
  line-height: 1.7;
}

.pa-footer ul {
  list-style: none;
}

.pa-footer ul li {
  padding: 3px 0;
}

.pa-footer ul li a {
  color: #A8B8C2;
  text-decoration: none;
  font-size: 13px;
}

.pa-footer ul li a:hover {
  color: var(--pa-cobre);
}

.pa-footer-bottom {
  max-width: var(--pa-max-w);
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6E8090;
}

.pa-footer-logo {
  font-family: var(--pa-font-head);
  font-size: 18px;
  color: var(--pa-papel);
  font-weight: 700;
  margin-bottom: 10px;
}

.pa-footer-logo span { color: var(--pa-cobre); }

/* ============================================================
   ARTICLE (single.php)
   ============================================================ */

/* ── Breadcrumb ── */
.pa-breadcrumb {
  background: #EDEAE4;
  border-bottom: 1px solid #DDD8D0;
  padding: 10px 20px;
  font-size: 12px;
  color: #8E8E8E;
}

.pa-breadcrumb-inner {
  max-width: var(--pa-max-w);
  margin: 0 auto;
}

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

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

.pa-breadcrumb-sep { margin: 0 7px; color: #BDB8B0; }

/* ── Article Layout ── */
.pa-article-layout {
  max-width: var(--pa-max-w);
  margin: 40px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: start;
}

/* ── Article Header ── */
.pa-article-header {
  margin-bottom: 28px;
}

.pa-article-header .pa-tag {
  margin-bottom: 16px;
}

.pa-article-header h1 {
  font-family: var(--pa-font-head);
  font-size: 32px;
  color: var(--pa-slate);
  line-height: 1.22;
  margin-bottom: 14px;
}

.pa-article-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #8E8E8E;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pa-border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.pa-article-meta-row span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Author Box ── */
.pa-author-box {
  background: #fff;
  border: 1px solid var(--pa-border);
  border-left: 4px solid var(--pa-cobre);
  border-radius: 4px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.pa-author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B87D52 0%, #D4A07A 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  overflow: hidden;
  object-fit: cover;
}

.pa-author-avatar img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.pa-author-info h4 {
  font-family: var(--pa-font-head);
  font-size: 15px;
  color: var(--pa-slate);
  margin-bottom: 2px;
}

.pa-author-info p {
  font-size: 13px;
  color: var(--pa-muted);
  line-height: 1.5;
}

/* ── Article Image ── */
.pa-article-img {
  width: 100%;
  height: 300px;
  border-radius: 5px;
  margin-bottom: 28px;
  overflow: hidden;
}

.pa-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Article Content ── */
.pa-article-content p {
  font-size: 16px;
  color: #3A3A3A;
  line-height: 1.78;
  margin-bottom: 20px;
}

.pa-article-content h2 {
  font-family: var(--pa-font-head);
  font-size: 22px;
  color: var(--pa-slate);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pa-border);
}

.pa-article-content h3 {
  font-family: var(--pa-font-head);
  font-size: 18px;
  color: var(--pa-slate);
  margin: 28px 0 10px;
}

.pa-article-content ul,
.pa-article-content ol {
  margin: 0 0 20px 20px;
}

.pa-article-content ul li,
.pa-article-content ol li {
  font-size: 15px;
  color: #3A3A3A;
  line-height: 1.7;
  margin-bottom: 6px;
}

.pa-article-content a {
  color: var(--pa-cobre);
  text-decoration: underline;
}

.pa-article-content strong {
  color: var(--pa-slate);
}

/* ── Dato Clave Box ── */
.pa-dato-clave {
  background: #FDF8F3;
  border-left: 4px solid var(--pa-cobre);
  border-radius: 0 4px 4px 0;
  padding: 20px 22px;
  margin: 28px 0;
}

.pa-dato-clave-label {
  font-family: var(--pa-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pa-cobre);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pa-dato-clave p {
  font-size: 15px;
  color: #3A3A3A;
  line-height: 1.65;
  margin: 0 !important;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.pa-sidebar {
  position: sticky;
  top: 20px;
}

.pa-sidebar-widget {
  background: #fff;
  border: 1px solid var(--pa-border);
  border-radius: 5px;
  padding: 22px;
  margin-bottom: 24px;
}

.pa-sidebar-widget h3 {
  font-family: var(--pa-font-head);
  font-size: 15px;
  color: var(--pa-slate);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pa-border);
}

.pa-popular-list {
  list-style: none;
}

.pa-popular-list li {
  border-bottom: 1px solid #F0EDE8;
  padding: 10px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pa-popular-list li:last-child { border-bottom: none; }

.pa-popular-num {
  font-family: var(--pa-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--pa-border);
  flex-shrink: 0;
  line-height: 1.2;
}

.pa-popular-title {
  font-size: 13px;
  color: var(--pa-slate);
  font-weight: 600;
  line-height: 1.4;
}

.pa-popular-title a {
  color: var(--pa-slate);
  text-decoration: none;
}

.pa-popular-title a:hover {
  color: var(--pa-cobre);
}

.pa-popular-meta {
  font-size: 11px;
  color: #A0A0A0;
  margin-top: 3px;
}

.pa-sidebar-bio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B87D52 0%, #D4A07A 100%);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.pa-sidebar-bio-text {
  font-size: 13px;
  color: #5A6A74;
  line-height: 1.6;
  text-align: center;
}

.pa-sidebar-bio-name {
  font-family: var(--pa-font-head);
  font-size: 15px;
  color: var(--pa-slate);
  text-align: center;
  margin-bottom: 6px;
}

.pa-rubrica-list {
  list-style: none;
}

.pa-rubrica-list li {
  border-bottom: 1px solid #F0EDE8;
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pa-rubrica-list li:last-child { border-bottom: none; }

.pa-rubrica-list a {
  font-size: 13px;
  color: var(--pa-slate);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
}

.pa-rubrica-list a:hover { color: var(--pa-cobre); }

.pa-rubrica-count {
  font-size: 11px;
  color: var(--pa-cobre);
  font-weight: 700;
  background: #FDF8F3;
  padding: 2px 7px;
  border-radius: 10px;
}

/* ============================================================
   ARCHIVE (archive.php)
   ============================================================ */

/* ── Category Banner ── */
.pa-cat-banner {
  background: linear-gradient(135deg, #3D4E5C 0%, #4A5F70 60%, #5A7285 100%);
  padding: 48px 20px;
  position: relative;
  overflow: hidden;
}

.pa-cat-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(184,125,82,0.18);
}

.pa-cat-banner::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(184,125,82,0.10);
}

.pa-cat-banner-inner {
  max-width: var(--pa-max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pa-cat-banner-eyebrow {
  font-family: var(--pa-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pa-cobre);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pa-cat-banner-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--pa-cobre);
}

.pa-cat-banner h1 {
  font-family: var(--pa-font-head);
  font-size: 34px;
  color: var(--pa-papel);
  margin-bottom: 12px;
  line-height: 1.22;
}

.pa-cat-banner p {
  font-size: 16px;
  color: rgba(245,242,238,0.82);
  max-width: 580px;
  line-height: 1.6;
}

.pa-cat-banner-icon {
  font-size: 42px;
  margin-bottom: 16px;
  display: block;
}

.pa-cat-stats {
  margin-top: 20px;
  display: flex;
  gap: 28px;
}

.pa-cat-stat {
  display: flex;
  flex-direction: column;
}

.pa-cat-stat-num {
  font-family: var(--pa-font-head);
  font-size: 22px;
  color: var(--pa-cobre);
  font-weight: 700;
  line-height: 1;
}

.pa-cat-stat-label {
  font-size: 11px;
  color: rgba(245,242,238,0.65);
  margin-top: 3px;
  letter-spacing: 0.05em;
}

/* ── Archive Content ── */
.pa-archive-content {
  max-width: var(--pa-max-w);
  margin: 40px auto 60px;
  padding: 0 20px;
}

.pa-archive-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pa-border);
  font-size: 13px;
  color: var(--pa-muted);
  flex-wrap: wrap;
}

.pa-archive-filter strong {
  color: var(--pa-slate);
}

.pa-filter-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--pa-slate);
  color: var(--pa-papel);
  cursor: pointer;
}

.pa-filter-chip-ghost {
  background: transparent;
  color: var(--pa-muted);
  border: 1px solid #D0CAC2;
}

/* ── Archive List ── */
.pa-archive-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pa-archive-item {
  background: #fff;
  border: 1px solid var(--pa-border);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  box-shadow: 0 2px 8px rgba(61,78,92,0.06);
}

.pa-archive-item-img {
  background: linear-gradient(135deg, #3D4E5C 0%, #B87D52 100%);
  min-height: 160px;
  overflow: hidden;
}

.pa-archive-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pa-archive-item-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pa-archive-item-body .pa-tag {
  margin-bottom: 10px;
}

.pa-archive-item-title {
  font-family: var(--pa-font-head);
  font-size: 19px;
  color: var(--pa-slate);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pa-archive-item-title a {
  color: var(--pa-slate);
  text-decoration: none;
}

.pa-archive-item-title a:hover {
  color: var(--pa-cobre);
}

.pa-archive-item-excerpt {
  font-size: 14px;
  color: #5A6A74;
  line-height: 1.65;
  margin-bottom: 14px;
}

.pa-no-posts {
  font-size: 15px;
  color: var(--pa-muted);
  padding: 40px 0;
  text-align: center;
}

/* ── Pagination ── */
.pa-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pa-pagination a,
.pa-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 4px;
  font-family: var(--pa-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--pa-slate);
  border: 1px solid #D0CAC2;
  text-decoration: none;
  transition: all 0.2s;
}

.pa-pagination a:hover {
  background: var(--pa-slate);
  color: var(--pa-papel);
  border-color: var(--pa-slate);
  text-decoration: none;
}

.pa-pagination .current {
  background: var(--pa-slate);
  color: var(--pa-papel);
  border-color: var(--pa-slate);
}

.pa-pagination .next,
.pa-pagination .prev {
  background: var(--pa-cobre);
  color: #fff;
  border-color: var(--pa-cobre);
  padding: 0 16px;
  font-size: 13px;
}

.pa-pagination .next:hover,
.pa-pagination .prev:hover {
  background: #9A6840;
  border-color: #9A6840;
}

/* ============================================================
   STATIC PAGE (page.php)
   ============================================================ */
.pa-page-content {
  max-width: var(--pa-max-w);
  margin: 48px auto 80px;
  padding: 0 20px;
}

.pa-static-page .pa-page-title {
  font-family: var(--pa-font-head);
  font-size: 32px;
  color: var(--pa-slate);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--pa-border);
  line-height: 1.22;
}

.pa-static-page .pa-article-content {
  max-width: 720px;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.pa-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 60px 20px;
}

.pa-404-inner {
  text-align: center;
  max-width: 480px;
}

.pa-404-code {
  font-family: var(--pa-font-head);
  font-size: 96px;
  font-weight: 700;
  color: var(--pa-border);
  line-height: 1;
  display: block;
  margin-bottom: 20px;
}

.pa-404-inner h1 {
  font-size: 26px;
  color: var(--pa-slate);
  margin-bottom: 12px;
}

.pa-404-inner p {
  font-size: 15px;
  color: var(--pa-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.pa-img-placeholder {
  background: linear-gradient(135deg, #3D4E5C 0%, #B87D52 100%);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   POR DÓNDE EMPEZAR
   ============================================================ */
.pa-start-section {
  padding: 56px 20px;
  background: #fff;
}

.pa-start-intro {
  color: #555;
  font-size: 15px;
  margin: 8px 0 28px;
  max-width: 560px;
}

.pa-start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pa-start-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--pa-papel);
  border: 1px solid #E0DAD2;
  border-radius: 8px;
  padding: 28px 24px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.pa-start-card:hover {
  box-shadow: 0 4px 16px rgba(61,78,92,0.12);
  border-color: var(--pa-cobre);
  text-decoration: none;
}

.pa-start-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
}

.pa-start-card h3 {
  font-family: var(--pa-font-head);
  font-size: 17px;
  color: var(--pa-slate);
  margin: 0;
}

.pa-start-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  flex: 1;
}

.pa-start-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--pa-cobre);
  margin-top: 4px;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.pa-trust-strip {
  background: var(--pa-slate);
  padding: 36px 20px;
}

.pa-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--pa-max-w);
  margin: 0 auto;
}

.pa-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.pa-trust-num {
  font-family: var(--pa-font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--pa-cobre);
  line-height: 1;
}

.pa-trust-label {
  font-size: 13px;
  color: rgba(245,242,238,0.82);
  line-height: 1.4;
  max-width: 160px;
}

/* ============================================================
   FAQ
   ============================================================ */
.pa-faq-section {
  padding: 56px 20px;
  background: var(--pa-papel);
}

.pa-faq-title {
  font-size: 22px;
  color: var(--pa-slate);
  margin: 10px 0 28px;
  max-width: 680px;
}

.pa-faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pa-faq-item {
  border-bottom: 1px solid #DDD7CF;
}

.pa-faq-item:first-child {
  border-top: 1px solid #DDD7CF;
}

.pa-faq-q {
  list-style: none;
  padding: 18px 0;
  font-family: var(--pa-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--pa-slate);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.pa-faq-q::-webkit-details-marker { display: none; }

.pa-faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--pa-cobre);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.pa-faq-item[open] .pa-faq-q::after {
  transform: rotate(45deg);
}

.pa-faq-a {
  padding: 0 0 18px;
  font-size: 15px;
  color: #444;
  line-height: 1.65;
}

.pa-faq-a p { margin: 0; }

.pa-faq-a a {
  color: var(--pa-cobre);
  font-weight: 600;
}

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

  .pa-sidebar {
    position: static;
  }

  .pa-featured-grid {
    grid-template-columns: 1fr;
  }

  .pa-card-featured {
    grid-template-columns: 1fr;
  }

  .pa-card-featured-img {
    min-height: 200px;
  }

  .pa-silos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pa-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .pa-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .pa-header-inner {
    height: 60px;
  }

  .pa-logo-name {
    font-size: 22px;
  }

  .pa-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pa-papel);
    border-bottom: 3px solid var(--pa-slate);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .pa-nav.is-open {
    display: flex;
  }

  .pa-nav a {
    padding: 10px 20px;
    border-radius: 0;
    text-transform: none;
    font-size: 15px;
  }

  .pa-nav-cta {
    margin: 8px 20px 0;
    text-align: center;
    border-radius: 4px !important;
  }

  .pa-nav-toggle {
    display: flex;
  }

  .pa-persona-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .pa-persona-location {
    margin-bottom: 4px;
  }

  .pa-silos-grid {
    grid-template-columns: 1fr;
  }

  .pa-archive-item {
    grid-template-columns: 1fr;
  }

  .pa-archive-item-img {
    height: 160px;
    min-height: unset;
  }

  .pa-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pa-footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .pa-article-header h1 {
    font-size: 26px;
  }

  .pa-cat-banner h1 {
    font-size: 26px;
  }

  .pa-article-meta-row {
    gap: 10px;
  }

  .pa-404-code {
    font-size: 64px;
  }

  .pa-start-grid {
    grid-template-columns: 1fr;
  }

  .pa-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pa-trust-num {
    font-size: 28px;
  }
}
