/* Team-page additions to the existing Modern Agency theme. */
.umino-team-page .main-header > section:not(.lqd-stickybar-wrap) { background-color: #fff; }
.umino-team-page .team-titlebar { padding: 190px 30px 75px; background: #f3f8ef; }
.umino-team-page .team-intro { max-width: 720px; margin-inline: auto; }
.umino-team-page .team-titlebar h1 { margin: 25px 0; }
.umino-team-page .team-titlebar p { max-width: 630px; margin: 0 auto 30px; }
.umino-team-page .team-jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.umino-team-page .team-jump-links a { padding: 11px 22px; border: 1px solid #c8dbc2; border-radius: 100px; font-size: 14px; color: var(--lqd-color-title); background: #fff; }
.umino-team-page .team-jump-links a:hover { background: var(--lqd-color-primary); border-color: var(--lqd-color-primary); color: #fff; }
.umino-team-page .team-section { padding: 85px 30px; scroll-margin-top: 110px; }
.umino-team-page .team-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.umino-team-page .team-section-heading h2 { margin-bottom: 0; }
.umino-team-page .team-section-heading p { max-width: 390px; margin-bottom: 5px; }
.umino-team-page .team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 36px 30px; }
.umino-team-page .team-card { min-width: 0; }
.umino-team-page .team-portrait { overflow: hidden; border-radius: 10px; background: #edf3e8; margin-bottom: 20px; }
.umino-team-page .team-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; transition: transform .4s; }
.umino-team-page .team-card:hover img { transform: scale(1.025); }
.umino-team-page .team-card h3 { font-size: 22px; line-height: 1.35; margin-bottom: 7px; }
.umino-team-page .team-role { color: #24842a; font-size: 14px; margin: 0; }
.umino-team-page .team-management { background: #f8faf6; }
.umino-team-page .team-contact { padding: 65px 30px 80px; text-align: center; }
.umino-team-page .team-contact p { max-width: 600px; margin: 0 auto 25px; }
.umino-team-page a:focus-visible { outline: 3px solid #24842a; outline-offset: 5px; }
@media (max-width: 1199px) {
  .umino-team-page .team-titlebar { padding-top: 150px; }
  .umino-team-page .team-section-heading { align-items: start; }
}
@media (max-width: 991px) {
  .umino-team-page .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .umino-team-page .team-titlebar { padding: 70px 20px 50px; }
  .umino-team-page .team-titlebar h1 { font-size: 42px; }
  .umino-team-page .team-section { padding: 55px 20px; }
  .umino-team-page .team-section-heading { flex-direction: column; gap: 20px; margin-bottom: 30px; }
  .umino-team-page .team-section-heading h2 { font-size: 34px; }
  .umino-team-page .team-grid { gap: 30px 20px; }
  .umino-team-page .team-card h3 { font-size: 19px; }
}
@media (max-width: 479px) {
  .umino-team-page .team-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .umino-team-page .team-portrait img { transition: none; }
  .umino-team-page .team-card:hover img { transform: none; }
}
