/* ============================================================
   PROFILE CSS — layered on top of shared.css
   ============================================================ */

/* ---- PROFILE CONTENT ---- */
.profile-wrap {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

/* Profile header card */
.profile-header-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  margin-bottom: 1.5rem;
}

.profile-img {
  width: clamp(100px, 20vw, 150px);
  height: clamp(100px, 20vw, 150px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0077cc;
  margin: 0 auto 1rem;
  display: block;
}

.profile-name {
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: #0a3d62;
  margin-bottom: 0.3rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.profile-role {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.profile-summary {
  max-width: 620px;
  margin: 0.85rem auto 0;
  color: #555;
  line-height: 1.7;
}

/* Section label */
.section-label {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #0a3d62;
  font-weight: 700;
  margin: 1.75rem 0 0.7rem;
  line-height: 1.3;
}

/* Info box */
.info-box {
  background: #f0f6ff;
  border-left: 4px solid #0077cc;
  padding: 1rem 1.2rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.info-box ul { padding-left: 1.2rem; }
.info-box li { margin-bottom: 0.4rem; color: #333; line-height: 1.7; }
.info-box p  { color: #333; line-height: 1.7; margin-bottom: 0.4rem; }
.info-box p:last-child { margin-bottom: 0; }
.info-box a { color: #0077cc; text-decoration: none; }
.info-box a:hover { text-decoration: underline; }

/* Back button */
.back-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #0077cc;
  color: #fff;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-top: 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s;
}

.back-btn:hover { background: #005ea3; }

/* ---- FOOTER ---- */
.site-footer {
  background: #000;
  padding: clamp(2rem, 5vw, 3rem) 1rem clamp(1.5rem, 4vw, 2rem);
  border-top: 2px solid red;
  margin-top: clamp(2rem, 5vw, 3rem);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 1280px;
  margin: 0 auto clamp(1.5rem, 4vw, 2rem);
}

.footer-col h3 { color: #ff9933; font-size: 1.05rem; margin-bottom: 0.7rem; }
.footer-col h4 { color: #e8f1ff; font-size: 0.95rem; margin-bottom: 0.7rem; }

.footer-col p {
  color: #bbb;
  font-size: 0.875rem;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: break-word;
  margin-bottom: 0.5rem;
}

.footer-col p:last-child { margin-bottom: 0; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.3rem; }
.footer-col ul li a { color: #bbb; font-size: 0.875rem; text-decoration: none; transition: color 0.18s; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1.25rem;
  color: #777;
  font-size: 0.82rem;
  max-width: 1280px;
  margin: 0 auto;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem 1.25rem;
}

.footer-bottom a { color: #aaa; text-decoration: none; transition: color 0.18s; }
.footer-bottom a:hover { color: #fff; }
.footer-credit { margin-top: 0; font-size: 0.78rem; color: #555; }
.footer-credit a { color: #777; }
.footer-credit a:hover { color: #bbb; }

/* ---- RESPONSIVE ---- */
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; }
}

@media (max-width: 599px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .site-footer { padding: 1.75rem 1rem 1.25rem; }
  .footer-bottom {
    font-size: 0.78rem;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .site-header .brand-tagline { font-size: 0.72rem; }
  .site-nav a { padding: 0.4rem 0.8rem; font-size: 0.82rem; }
}
