/* Profile pages (/ml-ai/ …): only layout glue. Every visual style comes from
   styles.css so these pages keep the main portfolio's design. */
.hero--profile { min-height: auto; padding-bottom: 0; }
.hero--profile .hero__content { max-width: 860px; }

.pf-skills { grid-template-columns: 2fr 1fr; }
.pf-projects { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.pf-projects .project-card__flow .project-card__desc { margin: var(--space-sm) 0 0; }
.pf-projects .project-card__footer { flex-wrap: wrap; gap: var(--space-sm) var(--space-md); }

.pf-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: var(--space-lg); }
.pf-edu { margin-top: var(--space-xl); display: flex; align-items: center; gap: var(--space-sm); }

.pf-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); }
.pf-others { margin-top: var(--space-2xl); display: grid; justify-items: center; gap: var(--space-md); }
.pf-others .stack__items { justify-content: center; }
.pf-others a { text-decoration: none; }

@media (max-width: 900px) {
  .pf-skills { grid-template-columns: 1fr; }
}
