/* ================================================
   PAGE.PHP — DISEÑO EDITORIAL PROFESIONAL.
   DISEÑADO POR IRVIS MURILLO PARA CASA POLSKA.
   TODOS LOS DERECHOS RESERVADOS 2026.
   ================================================ */

.page-layout {
  background: #faf9f7;
  min-height: 100vh;
}

.page-header {
  background: #ffffff;
  border-bottom: 1px solid #e8e2d9;
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c8a96e, #a8893e, #c8a96e);
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-breadcrumb {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 1.25rem;
}

.page-breadcrumb a {
  color: #c8a96e;
  text-decoration: none;
  transition: color 0.2s;
}

.page-breadcrumb a:hover {
  color: #a8893e;
}

.breadcrumb-sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 820px;
}

.page-meta {
  font-size: 0.8rem;
  color: #6b6b6b;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-meta::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: #c8a96e;
}

.page-featured {
  margin: 0;
  position: relative;
  background: #111;
  max-height: 520px;
  overflow: hidden;
}

.page-featured-image {
  position: relative;
  overflow: hidden;
}

.page-featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  filter: brightness(0.95);
}

.page-featured:hover .page-featured-image img {
  transform: scale(1.02);
}

.page-caption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 2rem;
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  flex-wrap: wrap;
}

.page-caption .caption-icon { color: #c8a96e; }
.page-caption .caption-credit { margin-left: auto; opacity: 0.6; }

.page-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  align-items: start;
}

.page-content-wrap {
  padding: 3rem 3rem 3rem 0;
  border-right: 1px solid #e8e2d9;
}

.page-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1a1a1a;
}

.page-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 2.5rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid #e8e2d9;
}

.page-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 2rem 0 0.75rem;
}

.page-content p { margin-bottom: 1.5rem; }

.page-content a {
  color: #a8893e;
  text-decoration: underline;
  text-decoration-color: rgba(168,137,62,0.3);
  transition: text-decoration-color 0.2s;
}

.page-content a:hover {
  text-decoration-color: #a8893e;
}

.page-content blockquote {
  border-left: 3px solid #c8a96e;
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: #f4f1ec;
  font-style: italic;
  font-size: 1.1rem;
  color: #6b6b6b;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

.page-sidebar-wrap {
  padding: 3rem 0 3rem 2.5rem;
  position: sticky;
  top: 2rem;
}

.site-sidebar .widget {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e8e2d9;
}

.site-sidebar .widget:last-child {
  border-bottom: none;
}

.site-sidebar .widget-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #c8a96e;
  display: inline-block;
}

@media (max-width: 900px) {
  .page-body {
    grid-template-columns: 1fr;
    padding: 0 1.25rem 3rem;
  }
  .page-content-wrap {
    padding: 2rem 0;
    border-right: none;
    border-bottom: 1px solid #e8e2d9;
  }
  .page-sidebar-wrap {
    padding: 2rem 0 0;
    position: static;
  }
  .page-header-inner { padding: 0 1.25rem; }
}