/* Gate 12A — organizers directory and profile. Presentation only. */

.g12a-banner.page-banner {
  padding-top: 28px !important;
  padding-bottom: 24px !important;
  background: #f4f4f5 !important;
  background-image: none !important;
}

.g12a-banner.overlay::before,
.g12a-banner.overlay::after {
  display: none !important;
}

.g12a-banner .page-title {
  color: #0a0a0a;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.g12a-banner .breadcrumb,
.g12a-banner .breadcrumb a,
.g12a-banner .breadcrumb-item,
.g12a-banner .breadcrumb-item.active {
  color: #3f3f46;
}

.g12a-page.mp-home {
  padding: 60px 0 3.5rem;
  background: transparent;
  overflow-x: clip;
}

.g12a-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.5rem 0;
  margin-bottom: 1.35rem;
}

.g12a-head__copy {
  min-width: 0;
  max-width: 760px;
}

.g12a-head h1,
.g12a-events-head h2 {
  margin: 0;
  color: #0a0a0a;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.g12a-head h1 {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
}

.g12a-head p {
  margin: 0.55rem 0 0;
  color: #3f3f46;
  font-size: 0.95rem;
  line-height: 1.5;
}

.g12a-head__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.g12a-head .g12a-count {
  margin: 0;
}

.g12a-count {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  height: 44px;
  margin: 0;
  padding: 0 0.35rem 0 0.9rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e6e6e9;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
  color: #3f3f46;
  box-sizing: border-box;
}

.g12a-count__value {
  display: grid;
  place-items: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.45rem;
  box-sizing: border-box;
  border: 1px solid #e6e6e9;
  border-radius: 10px;
  background: #fff;
  color: #0a0a0a;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.g12a-count__label {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.g12a-search {
  display: flex;
  align-items: center;
  flex: 0 0 240px;
  width: 240px;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 0.3rem 0 0.95rem;
  background: #fff;
  border: 1px solid #e6e6e9;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
}

.g12a-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: #0a0a0a;
  font-size: 0.92rem;
}

.g12a-search input:focus {
  outline: none;
}

.g12a-search:focus-within {
  border-color: #167dfe;
  box-shadow: 0 0 0 3px rgba(22, 125, 254, 0.12);
}

.g12a-search button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid #e6e6e9;
  border-radius: 10px;
  background: #fff;
  color: #0a0a0a;
}

.g12a-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.g12a-card__top {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  min-width: 0;
}

.g12a-card__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  flex: 1 1 auto;
}

.g12a-card__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  margin-left: auto;
  max-width: 46%;
  min-width: 0;
  text-align: right;
}

.g12a-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e6e6e9;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.g12a-card:hover {
  transform: translateY(-3px);
  border-color: #167dfe;
  box-shadow: 0 14px 28px rgba(22, 125, 254, 0.08);
  text-decoration: none;
  color: inherit;
}

.g12a-card:focus-visible {
  outline: 2px solid #167dfe;
  outline-offset: 3px;
}

.g12a-card__logo {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  background: #f4f4f5;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.45rem;
  color: #3f3f46;
  border: 1px solid #ececee;
}

.g12a-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g12a-card__name {
  display: block;
  max-width: 100%;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.g12a-card__count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.15rem 0.65rem;
  border-radius: 10px;
  background: #0a0a0a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.g12a-card__place {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.35rem;
  color: #3f3f46;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.g12a-card__place i {
  margin-top: 0.2rem;
  color: #167dfe;
}

.g12a-card__about {
  display: -webkit-box;
  overflow: hidden;
  color: #3f3f46;
  font-size: 0.9rem;
  line-height: 1.45;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.g12a-card__cta {
  align-self: flex-end;
  margin-top: auto;
  margin-left: auto;
  padding-top: 1rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: #3f3f46;
  text-align: right;
}

.g12a-card__cta::after {
  content: " →";
}

.g12a-card:hover .g12a-card__cta {
  color: #167dfe;
}

.g12a-page .ad-slot {
  margin-top: 1.5rem;
}

.author-area.g12a-page .ad-row {
  margin-top: 3.5rem;
}

.g12a-ads .ad-slot {
  margin-top: 0;
}

.g12a-page .pagination {
  margin-top: 1.25rem;
}

.g12a-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 320px);
  gap: 1.25rem 1.75rem;
  align-items: start;
  margin-bottom: 1.75rem;
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid #e6e6e9;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.04);
}

.g12a-identity__logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f4f5;
  border: 1px solid #ececee;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 750;
  color: #3f3f46;
}

.g12a-identity__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g12a-identity h1 {
  margin: 0;
  color: #0a0a0a;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.g12a-identity__role,
.g12a-identity__about {
  margin: 0.4rem 0 0;
  color: #3f3f46;
  line-height: 1.5;
}

.g12a-identity__role {
  font-size: 0.92rem;
  font-weight: 650;
}

.g12a-identity__about {
  font-size: 0.95rem;
  max-width: 42rem;
}

.g12a-identity__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.15rem 0 0.15rem 1.25rem;
  border-left: 1px solid #ececee;
  text-align: right;
}

.g12a-stat {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
}

.g12a-stat__value {
  color: #0a0a0a;
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
}

.g12a-stat__label {
  color: #71717a;
  font-size: 0.84rem;
  font-weight: 650;
}

.g12a-identity__address {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.45rem;
  margin: 0;
  color: #3f3f46;
  font-size: 0.9rem;
  line-height: 1.4;
}

.g12a-identity__address i {
  margin-top: 0.2rem;
  color: #167dfe;
}

.g12a-identity__address span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.g12a-identity__address strong {
  color: #0a0a0a;
  font-weight: 700;
}

.g12a-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 0.9rem;
}

.g12a-actions .g12a-identity__address {
  justify-content: flex-start;
  margin: 0;
  text-align: left;
}

.g12a-actions__rule {
  flex: 0 0 auto;
  width: 1px;
  height: 22px;
  background: #e6e6e9;
}

.g12a-page .organizer-social-links {
  display: flex;
  align-items: center;
  margin: 0;
}

.g12a-identity__side .organizer-social-links,
.g12a-identity__side .social-style-one {
  justify-content: flex-end;
}

.g12a-page .organizer-social-links__label,
.g12a-page .organizer-social-links h5 {
  display: none;
}

.g12a-page .social-style-one {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
}

.g12a-page .social-style-one a {
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid #e6e6e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  background: #fff;
}

.g12a-chip,
.g12a-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e6e6e9;
  background: #fafafa;
  color: #0a0a0a;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.g12a-chip:hover,
.g12a-action:hover {
  border-color: #167dfe;
  color: #167dfe;
  text-decoration: none;
}

.g12a-action--primary {
  border-radius: 10px;
  background: var(--primary-color, #030a15);
  border-color: transparent;
  color: #fff;
}

.g12a-action--primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.g12a-social {
  display: inline-flex;
  gap: 0.4rem;
}

.g12a-social a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #e6e6e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  background: #fff;
}

.g12a-social a:hover {
  border-color: #167dfe;
  color: #167dfe;
  text-decoration: none;
}

.g12a-events-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.g12a-events-head h2 {
  font-size: 1.25rem;
}

.g12a-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.35rem 1.05rem 0.35rem 0.95rem;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  background: #fff;
  color: #0a0a0a;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
  text-decoration: none;
}

.g12a-back::before {
  content: "←";
  font-size: 1em;
  line-height: 1;
}

.g12a-back:hover {
  border-color: #167dfe;
  background: #167dfe;
  color: #fff;
  text-decoration: none;
}

.g12a-page .author-tabs {
  margin-bottom: 23px;
}

.g12a-page .author-tabs .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  border: 0;
}

.author-area.g12a-page.organizer-details-page .author-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 1.15rem;
  border: 1px solid #e6e6e9;
  border-radius: 10px;
  color: #3f3f46;
  background: #fff;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.2;
}

.author-area.g12a-page.organizer-details-page .author-tabs .nav-link.active {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

.g12a-page .tab-pane {
  min-width: 0;
}

.g12a-empty {
  padding: 1.5rem;
  border: 1px dashed #e4e4e7;
  border-radius: 16px;
  background: #fff;
}

.g12a-empty h3 {
  margin: 0;
  font-size: 1rem;
  color: #3f3f46;
}

.g12a-ads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 1199.98px) {
  .g12a-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .g12a-page.mp-home {
    padding-top: 48px;
  }

  .g12a-events-head {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .g12a-head,
  .g12a-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .g12a-identity {
    display: flex;
  }

  .g12a-identity__side {
    width: 100%;
    align-items: flex-start;
    padding: 0.9rem 0 0;
    border-left: 0;
    border-top: 1px solid #ececee;
    text-align: left;
  }

  .g12a-identity__address {
    justify-content: flex-start;
  }

  .g12a-identity__side .organizer-social-links,
  .g12a-identity__side .social-style-one {
    justify-content: flex-start;
  }

  .g12a-head__tools {
    width: 100%;
    flex: 1 1 auto;
    flex-wrap: wrap;
  }

  .g12a-search {
    flex: 1 1 100%;
  }

  .g12a-count {
    margin-left: auto;
  }

  .g12a-grid,
  .g12a-ads {
    grid-template-columns: minmax(0, 1fr);
  }

  .g12a-count__label,
  .g12a-action {
    white-space: normal;
  }
}
