/* ============================================
   Miklós Ferencz Design – Subpage styles
   (about, contact)
   ============================================ */

/* ── COMMON SUBPAGE ── */
.subpage {
  padding-top: 16px;
  padding-bottom: 80px;
}

.subpage-header {
  margin: 16px 26px 40px;
}

.subpage-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

/* ── ABOUT – MULTI-COLUMN TEXT ── */
/*
  column-width: 380px → 2 columns on ~900px,
  3+ columns automatically on wide screens
*/
.about-body {
  column-count: 1;
  max-width: 660px;
  margin: 0 26px;
  padding: 0;
}

.about-body p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
}

.about-body h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  -moz-column-break-after: avoid;
       break-after: avoid;
}

.about-body a {
  font-family: var(--font-body);
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.about-body a:hover {
  color: var(--tile-hover);
  text-decoration-color: var(--tile-hover);
}

/* ── CONTACT ── */
.contact-body {
  max-width: 600px;
  margin: 0 26px;
}

.contact-body p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.contact-body a {
  font-family: var(--font-body);
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-body a:hover {
  color: var(--tile-hover);
  text-decoration-color: var(--tile-hover);
}

/* Contact list (e.g. email, Instagram, etc.) */
.contact-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.contact-body ul li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-body ul li:first-child {
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

/* ── HOME INTRO ── */
.home-intro {
  max-width: 600px;
  padding: 8px 26px;
}

.home-intro p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.55);
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .subpage-header {
    margin: 16px 12px 32px;
  }

  .about-body {
    -moz-column-width: unset;
         column-width: unset;
    -moz-column-count: 1;
         column-count: 1;
    margin: 0 12px;
  }

  .contact-body {
    margin: 0 12px;
  }

  .home-intro {
    padding: 24px 12px 4px;
  }
}