/* STX Online homepage portal cards: News / Directory / Politics - 2026-08-10 */
.stx-home-directory-card,
.stx-home-politics-card {
  min-width: 0;
}

.stx-home-directory-list,
.stx-home-ticket-list {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.stx-home-directory-loading,
.stx-home-directory-empty {
  padding: 12px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.stx-home-business-item,
.stx-home-ticket {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  color: inherit;
  background: rgba(255,255,255,.025);
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.stx-home-business-item:hover,
.stx-home-business-item:focus-visible,
.stx-home-ticket:hover,
.stx-home-ticket:focus-visible {
  border-color: rgba(118,196,66,.55);
  background: rgba(118,196,66,.07);
  transform: translateY(-1px);
  outline: none;
}

.stx-home-business-item {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr);
  gap: 11px;
  align-items: center;
  padding: 9px;
}

.stx-home-business-thumb,
.stx-home-business-initials {
  display: block;
  width: 64px;
  height: 58px;
  border-radius: 9px;
  background: rgba(255,255,255,.06);
}

.stx-home-business-thumb {
  object-fit: cover;
}

.stx-home-business-thumb.is-logo {
  padding: 5px;
  background: rgba(255,255,255,.92);
  object-fit: contain;
}

.stx-home-business-initials {
  display: grid;
  place-items: center;
  border: 1px solid rgba(118,196,66,.28);
  color: var(--green-bright);
  background: linear-gradient(145deg, rgba(118,196,66,.14), rgba(255,255,255,.035));
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .06em;
}

.stx-home-business-copy {
  min-width: 0;
}

.stx-home-business-category,
.stx-home-ticket-party {
  display: block;
  margin-bottom: 4px;
  color: var(--green-bright);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .10em;
  line-height: 1.25;
  text-transform: uppercase;
}

.stx-home-business-name {
  display: block;
  overflow: hidden;
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stx-home-business-location {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stx-home-directory-all,
.stx-home-politics-all {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  color: var(--green-bright);
  font-weight: 800;
  text-decoration: none;
}

.stx-home-directory-all:hover,
.stx-home-directory-all:focus-visible,
.stx-home-politics-all:hover,
.stx-home-politics-all:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stx-home-ticket {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr);
  gap: 11px;
  align-items: center;
  padding: 9px;
}

.stx-home-ticket-portraits {
  display: flex;
  width: 105px;
  height: 66px;
}

.stx-home-ticket-portrait,
.stx-home-ticket-placeholder {
  width: 57px;
  height: 66px;
  border: 2px solid #20272a;
  border-radius: 9px;
  object-fit: cover;
  background: #252d31;
}

.stx-home-ticket-portrait + .stx-home-ticket-portrait,
.stx-home-ticket-portrait + .stx-home-ticket-placeholder {
  margin-left: -9px;
}

.stx-home-ticket-placeholder {
  display: grid;
  place-items: center;
  border-color: rgba(118,196,66,.30);
  color: var(--green-bright);
  background: linear-gradient(145deg, rgba(118,196,66,.13), rgba(255,255,255,.04));
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .05em;
}

.stx-home-ticket-copy {
  min-width: 0;
}

.stx-home-ticket-name {
  display: block;
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.stx-home-ticket-name + .stx-home-ticket-name {
  margin-top: 2px;
  color: #d8dfe2;
  font-size: 12px;
}

.stx-home-ticket-role {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

@media (max-width: 850px) {
  .stx-home-business-item {
    grid-template-columns: 82px minmax(0,1fr);
  }

  .stx-home-business-thumb,
  .stx-home-business-initials {
    width: 82px;
    height: 66px;
  }

  .stx-home-business-name {
    font-size: 15px;
  }

  .stx-home-ticket {
    grid-template-columns: 122px minmax(0,1fr);
  }

  .stx-home-ticket-portraits {
    width: 122px;
    height: 76px;
  }

  .stx-home-ticket-portrait,
  .stx-home-ticket-placeholder {
    width: 66px;
    height: 76px;
  }

  .stx-home-ticket-name {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .stx-home-business-item {
    grid-template-columns: 66px minmax(0,1fr);
  }

  .stx-home-business-thumb,
  .stx-home-business-initials {
    width: 66px;
    height: 58px;
  }

  .stx-home-ticket {
    grid-template-columns: 104px minmax(0,1fr);
  }

  .stx-home-ticket-portraits {
    width: 104px;
    height: 66px;
  }

  .stx-home-ticket-portrait,
  .stx-home-ticket-placeholder {
    width: 57px;
    height: 66px;
  }
}
