/* ═══════════════════════════════════════════════════════════
   kata-sambutan.css
   Styles specific to the Kata Sambutan Kaprodi inner page.
   Load AFTER style.css so --navy, --orange, --font-main etc.
   are already declared.
═══════════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.page-main {
  min-height: 60vh;
  background: #ffffff;
}

/* ═══════════════════════════════════════
   KATA SAMBUTAN SECTION
═══════════════════════════════════════ */
.sambutan-section {
  padding: 56px 60px 72px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Page heading (top-left, large) ── */
.sambutan-section__heading {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 2rem;
  color: var(--navy);
  text-align: left;
  margin-bottom: 40px;
}

/* ── Two-column body: [photo col] + [text col] ── */
.sambutan-section__body {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Left column: photo + name ── */
.sambutan-section__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sambutan-section__photo {
  width: 360px;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  background: #c8d0e0;
  flex-shrink: 0;
}

.sambutan-section__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.sambutan-section__name {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.90rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}

.sambutan-section__role {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 0.85rem;
  color: #666666;
  text-align: center;
  margin-top: -8px;
}

/* ── Right column: body text ── */
.sambutan-section__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sambutan-section__text p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.92rem;
  color: #333333;
  line-height: 1.8;
  margin: 0;
}

/* ═══════════════════════════════════════
   TABLET & MOBILE (≤ 1024px)
   Photo stacks on top, full-width, text below —
   used for both tablet and phone sizes now.
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .sambutan-section {
    padding: 48px 40px 60px;
  }

  .sambutan-section__heading {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }

  .sambutan-section__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sambutan-section__profile {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  /* Big, wide photo filling the top of the section instead of
     a small square avatar. */
  .sambutan-section__photo {
    width: 100%;
    max-width: 480px;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
  }

  .sambutan-section__name,
  .sambutan-section__role {
    text-align: center;
  }

  .sambutan-section__role {
    margin-top: 0;
  }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  .sambutan-section {
    padding: 36px 24px 48px;
  }

  .sambutan-section__heading {
    font-size: 1.5rem;
    margin-bottom: 28px;
  }

  /* Let the photo use the full content width on phones. */
  .sambutan-section__photo {
    max-width: 100%;
    margin: 0;
  }

  .sambutan-section__profile {
    align-items: flex-start;
  }

  .sambutan-section__name,
  .sambutan-section__role {
    text-align: left;
  }

  .sambutan-section__text p {
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════
   SMALL MOBILE  (≤ 480px)
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .sambutan-section {
    padding: 28px 16px 40px;
  }

  .sambutan-section__heading {
    font-size: 1.3rem;
  }

  .sambutan-section__photo {
    aspect-ratio: 4 / 3;
  }
}