/* Public trainers list — desktop + mobile */
.trn-page {
  background: #F5F7FB;
  padding-bottom: 4rem;
}
.trn-hero { padding: 1.35rem 0 0.5rem; }
.trn-breadcrumb {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 700; color: #7b8794; margin-bottom: 1.1rem;
}
.trn-breadcrumb a { color: #08264A; text-decoration: none; }
.trn-breadcrumb a:hover { color: #C99A2E; }
.trn-hero__title-wrap { text-align: center; }
.trn-hero__title {
  display: inline-flex; align-items: center; gap: 0.85rem;
  margin: 0; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; color: #08264A;
}
.trn-hero__line {
  width: 48px; height: 2px; background: #C99A2E; position: relative;
}
.trn-hero__line::after {
  content: ''; position: absolute; top: 50%; inset-inline-end: -6px;
  width: 8px; height: 8px; background: #C99A2E; transform: translateY(-50%) rotate(45deg);
}
.trn-hero__title .trn-hero__line:last-child::after {
  inset-inline-end: auto; inset-inline-start: -6px;
}
.trn-hero__sub {
  margin: 0.7rem 0 0; color: #6b7785; font-size: 0.95rem; font-weight: 600;
}

/* Featured manager */
.trn-featured { padding: 1.25rem 0 1.75rem; }
.trn-featured-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.35rem;
  align-items: center;
  background: #fff;
  border: 1px solid #E7ECF3;
  border-radius: 1.4rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 12px 32px rgba(8, 38, 74, 0.06);
}
.trn-featured-card__avatar {
  width: 110px; height: 110px; border-radius: 50%;
  border: 3px solid #C99A2E;
  background: #F3E6C4; color: #08264A;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  font-size: 1.6rem; font-weight: 800;
}
.trn-featured-card__avatar.has-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.trn-featured-card__avatar.has-photo span { display: none; }
.trn-featured-card__crown {
  position: absolute; bottom: 4px; inset-inline-start: 4px;
  width: 28px; height: 28px; border-radius: 50%;
  background: #C99A2E; color: #fff;
  display: grid; place-items: center; font-style: normal; font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(201, 154, 46, 0.4);
}
.trn-featured-card__label {
  margin: 0; color: #C99A2E; font-weight: 800; font-size: 0.86rem;
}
.trn-featured-card__body h2 {
  margin: 0.2rem 0 0; font-size: 1.35rem; font-weight: 800; color: #08264A;
}
.trn-featured-card__role {
  margin: 0.25rem 0 0; color: #5b6573; font-weight: 700; font-size: 0.9rem;
}
.trn-featured-card__bio {
  margin: 0.7rem 0 0; color: #6b7785; font-size: 0.88rem; line-height: 1.7; font-weight: 600;
  max-width: 36rem;
}
.trn-featured-card__social {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding-inline-start: 1rem; border-inline-start: 1px solid #E7ECF3;
}
.trn-featured-card__social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid #08264A; color: #08264A;
  display: grid; place-items: center; text-decoration: none;
}
.trn-featured-card__social a:hover { background: #08264A; color: #fff; }

/* Filters + toolbar */
.trn-team { padding: 0.5rem 0 1rem; }
.trn-filters {
  display: flex; gap: 0.55rem; overflow-x: auto; padding-bottom: 0.35rem;
  margin-bottom: 1rem; scrollbar-width: thin;
}
.trn-filter {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 40px; padding: 0.4rem 0.95rem;
  border-radius: 999px; border: 1px solid #D7DEE8;
  background: #fff; color: #08264A;
  font: inherit; font-size: 0.82rem; font-weight: 800; cursor: pointer;
}
.trn-filter.is-active {
  background: #08264A; color: #fff; border-color: #08264A;
}
.trn-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  align-items: center; margin-bottom: 1.25rem;
}
.trn-search {
  flex: 1 1 240px;
  display: flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid #E7ECF3; border-radius: 12px;
  padding: 0.55rem 0.95rem; min-height: 46px;
}
.trn-search iconify-icon { color: #9aa5b3; }
.trn-search input {
  border: 0; outline: 0; width: 100%; background: transparent;
  font: inherit; font-weight: 600; color: #08264A;
}
.trn-toolbar__actions { display: flex; gap: 0.55rem; align-items: center; }
.trn-sort {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 1px solid #E7ECF3; border-radius: 999px;
  padding: 0.35rem 0.85rem; min-height: 46px;
  font-size: 0.82rem; font-weight: 700; color: #5b6573;
}
.trn-sort select {
  border: 0; outline: 0; background: transparent;
  font: inherit; font-weight: 800; color: #08264A;
}

/* Cards grid */
.trn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.trn-card {
  position: relative;
  background: #fff;
  border: 1px solid #E7ECF3;
  border-radius: 1.15rem;
  padding: 1.25rem 1.1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(8, 38, 74, 0.04);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.trn-card__cat-ico {
  position: absolute; top: 0.85rem; inset-inline-start: 0.85rem;
  width: 32px; height: 32px; border-radius: 10px;
  background: #F8EFD5; color: #C99A2E;
  display: grid; place-items: center; font-size: 0.95rem;
}
.trn-card__avatar {
  width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid #E7ECF3; overflow: hidden;
  background: var(--av, #E8EEF8); color: #08264A;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.trn-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.trn-card__avatar.has-photo span { display: none; }
.trn-card__tag {
  display: inline-flex; align-items: center;
  min-height: 26px; padding: 0.15rem 0.7rem;
  border-radius: 999px; font-size: 0.72rem; font-weight: 800;
  background: #F8EFD5; color: #A67B1F; margin-bottom: 0.45rem;
}
.trn-card__tag.tag-health { background: #FCE4EC; color: #BE185D; }
.trn-card__tag.tag-it { background: #E4EBF6; color: #08264A; }
.trn-card__tag.tag-lang { background: #E2F3E9; color: #15803D; }
.trn-card__tag.tag-design { background: #EDE4FF; color: #6D28D9; }
.trn-card__tag.tag-business { background: #FFE8D6; color: #C2410C; }
.trn-card__tag.tag-science { background: #DDF3F5; color: #0F766E; }
.trn-card__name {
  margin: 0; font-size: 1rem; font-weight: 800; color: #08264A;
}
.trn-card__role {
  margin: 0.3rem 0 0; font-size: 0.8rem; font-weight: 600; color: #6b7785;
  line-height: 1.45; min-height: 2.4em;
}
.trn-card__years {
  margin: 0.55rem 0 0; font-size: 0.78rem; font-weight: 700; color: #C99A2E;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.trn-card__social {
  display: flex; gap: 0.45rem; margin-top: 0.75rem;
}
.trn-card__social a, .trn-card__social span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid #D7DEE8; color: #08264A;
  display: grid; place-items: center; text-decoration: none; font-size: 0.9rem;
}
.trn-card__social a:hover { border-color: #C99A2E; color: #C99A2E; }
.trn-card__btn {
  margin-top: 0.9rem; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  min-height: 42px; border-radius: 11px;
  background: #08264A; color: #fff; font-weight: 800; font-size: 0.86rem;
  text-decoration: none;
}
.trn-card__btn:hover { background: #0a335e; color: #fff; }

.trn-empty {
  text-align: center; color: #8a97a8; font-weight: 700; padding: 2rem 0;
}
.trn-more { display: flex; justify-content: center; margin-top: 1.5rem; }
.trn-more-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 46px; padding: 0.5rem 1.6rem;
  border-radius: 999px; border: 1px solid #D7DEE8;
  background: #fff; color: #08264A; font: inherit; font-weight: 800; cursor: pointer;
}
.trn-more-btn:hover { border-color: #C99A2E; color: #C99A2E; }

@media (max-width: 980px) {
  .trn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .trn-featured-card {
    grid-template-columns: 1fr;
    text-align: center;
    background: #08264A;
    color: #fff;
    border: 0;
  }
  .trn-featured-card__body h2,
  .trn-featured-card__role { color: #fff; }
  .trn-featured-card__label { color: #C99A2E; }
  .trn-featured-card__bio { color: rgba(255,255,255,0.78); margin-inline: auto; }
  .trn-featured-card__photo { display: flex; justify-content: center; }
  .trn-featured-card__social {
    flex-direction: row; justify-content: center;
    border: 0; padding: 0;
  }
  .trn-featured-card__social a {
    border-color: rgba(255,255,255,0.45); color: #fff;
  }
  .trn-featured-card__social a:hover { background: #C99A2E; border-color: #C99A2E; }
  .trn-card__social { display: none; }
  .trn-sort span { display: none; }
}
@media (max-width: 420px) {
  .trn-grid { grid-template-columns: 1fr; }
}
