/* =====================================================================
   PAGE.CSS — R3 Medispa Theme
   Loaded only on: page.php (generic pages) and single.php.
Not yet designed. Likely just a readable content column (max-width, spacing) built
from global.css's typography tokens -- lowest priority, build last.
   ===================================================================== */

.r3-page {
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.r3-page article {
  max-width: 760px;
  margin-inline: auto;
}

.r3-page-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.r3-page-thumb {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.r3-page-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- entry-content typography ---- */

.entry-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
}

.entry-content > * + * {
  margin-top: 1.25em;
}

.entry-content h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--ink);
  margin-top: 2.25em;
  line-height: 1.25;
}

.entry-content h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink);
  margin-top: 1.75em;
  line-height: 1.3;
}

.entry-content p {
  max-width: 68ch;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
  max-width: 68ch;
}

.entry-content li + li {
  margin-top: 0.4em;
}

.entry-content a {
  color: var(--forest-600, var(--terra));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content a:hover {
  color: var(--terra);
}

.entry-content strong {
  color: var(--ink);
  font-weight: 600;
}

.entry-content blockquote {
  border-left: 3px solid var(--sand-200);
  padding-left: 1.25em;
  font-style: italic;
  color: var(--charcoal);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.entry-content table th,
.entry-content table td {
  border: 1px solid var(--sand-200);
  padding: 0.6em 0.9em;
  text-align: left;
}

/* ---- mobile ---- */

@media (max-width: 640px) {
  .r3-page-title {
    margin-bottom: 1rem;
  }
}