.astrot-stallions-page {
  background: linear-gradient(180deg, #f7f2e9 0%, #fbf7ef 100%);
  color: #27362d;
  padding: 32px 0 56px;
}

.astrot-stallions-hero {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 24px;
  background: #fffdf8;
  color: #27362d;
  box-shadow: 0 18px 44px rgba(7, 22, 35, .07);
}

.astrot-stallions-hero__inner,
.astrot-stallions-content__inner {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

.astrot-stallions-hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: stretch;
  padding: 42px;
}

.astrot-stallions-hero__copy {
  display: grid;
  align-content: center;
}

.astrot-stallions-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(7, 22, 35, .07);
  color: #995b32;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.astrot-stallions-hero h1 {
  margin: 0;
  color: #27362d;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.astrot-stallions-hero p {
  max-width: 58ch;
  margin: 18px 0 0;
  color: #70665b;
  font-size: 17px;
  line-height: 1.6;
}

.astrot-stallions-summary {
  min-height: 190px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 24px;
  background: #fffdf8;
}

.astrot-stallions-summary__icon {
  color: #26352d;
  font-size: 28px;
}

.astrot-stallions-summary__count {
  color: #27362d;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.astrot-stallions-summary__label {
  color: #70665b;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.astrot-stallions-content {
  padding: 28px 0 0;
}

.astrot-stallions-content__inner {
  display: grid;
  gap: 20px;
}

.astrot-stallions-docs {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(7, 22, 35, .07);
}

.astrot-stallions-docs__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.astrot-stallions-docs__header .astrot-stallions-eyebrow {
  margin-bottom: 12px;
}

.astrot-stallions-docs__header h2 {
  margin: 0;
  color: #27362d;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.astrot-stallions-docs__header p:not(.astrot-stallions-eyebrow) {
  max-width: 62ch;
  margin: 10px 0 0;
  color: #70665b;
  font-size: 16px;
  line-height: 1.6;
}

.astrot-stallions-docs__header > span {
  min-width: 58px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 18px;
  background: #fffaf4;
  color: #27362d;
  font-size: 28px;
  font-weight: 900;
}

.astrot-stallions-docs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.astrot-stallions-doc-card {
  min-height: 188px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 12px;
  background: #fffaf4;
  color: #27362d;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.astrot-stallions-doc-card:hover,
.astrot-stallions-doc-card:focus {
  border-color: rgba(153, 91, 50, .38);
  background: #fffdf8;
  color: #27362d;
  text-decoration: none;
  transform: translateY(-1px);
}

.astrot-stallions-doc-card__icon {
  color: #995b32;
  font-size: 24px;
}

.astrot-stallions-doc-card__type {
  width: fit-content;
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f3ece0;
  color: #995b32;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.astrot-stallions-doc-card strong {
  color: #27362d;
  font-size: 18px;
  line-height: 1.35;
}

.astrot-stallions-doc-card em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #26352d;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.astrot-stallions-search {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(7, 22, 35, .07);
}

.astrot-stallions-search label {
  margin: 0;
  color: #27362d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.astrot-stallions-search__control {
  min-height: 52px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  padding: 0 8px 0 16px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 14px;
  background: #fffdf8;
}

.astrot-stallions-search__control .fa-search {
  color: #995b32;
  font-size: 16px;
}

.astrot-stallions-search__control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #27362d;
  font-size: 16px;
  font-weight: 700;
}

.astrot-stallions-search__control input::placeholder {
  color: #a8947d;
  font-weight: 600;
}

.astrot-stallions-search__control button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #f3ece0;
  color: #995b32;
}

.astrot-stallions-search__control button:hover,
.astrot-stallions-search__control button:focus {
  background: #efe4d7;
}

.astrot-stallions-search__control button[hidden] {
  display: none;
}

.astrot-stallions-no-results,
.astrot-stallions-table-card {
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(7, 22, 35, .07);
}

.astrot-stallions-no-results {
  margin: 0;
  padding: 20px;
  color: #70665b;
  font-size: 16px;
  line-height: 1.6;
}

.astrot-stallions-table-card {
  overflow: hidden;
}

.astrot-stallions-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.astrot-stallions-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #27362d;
}

.astrot-stallions-table th {
  padding: 16px 14px;
  background: #26352d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.astrot-stallions-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(162, 112, 73, .24);
  color: #70665b;
  font-size: 15px;
  line-height: 1.45;
  vertical-align: middle;
}

.astrot-stallions-table tbody tr:last-child td {
  border-bottom: 0;
}

.astrot-stallions-table tbody tr:hover td {
  background: #fffaf4;
}

.astrot-stallions-table__center {
  text-align: center;
}

.astrot-stallions-table__name {
  color: #27362d;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.astrot-stallions-table__name:hover,
.astrot-stallions-table__name:focus {
  color: #26352d;
  text-decoration: none;
}

.astrot-stallions-badge {
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3ece0;
  color: #995b32;
  font-size: 13px;
  font-weight: 900;
}

.astrot-stallions-link {
  min-height: 38px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 8px;
  background: #26352d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.astrot-stallions-link:hover,
.astrot-stallions-link:focus {
  background: #1f2c26;
  color: #ffffff;
  text-decoration: none;
}

.astrot-stallions-empty {
  padding: 22px;
  color: #70665b;
  text-align: center;
}

@media (max-width: 780px) {
  .astrot-stallions-hero__inner {
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .astrot-stallions-summary {
    min-height: 130px;
  }

  .astrot-stallions-docs__header {
    flex-direction: column;
  }

  .astrot-stallions-table-wrap {
    overflow: visible;
  }

  .astrot-stallions-table,
  .astrot-stallions-table thead,
  .astrot-stallions-table tbody,
  .astrot-stallions-table tr,
  .astrot-stallions-table th,
  .astrot-stallions-table td {
    display: block;
  }

  .astrot-stallions-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .astrot-stallions-table tr {
    padding: 16px;
    border-bottom: 1px solid rgba(162, 112, 73, .24);
  }

  .astrot-stallions-table tr:last-child {
    border-bottom: 0;
  }

  .astrot-stallions-table td {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
    border-bottom: 0;
    text-align: left;
  }

  .astrot-stallions-table td::before {
    content: attr(data-label);
    color: #27362d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .astrot-stallions-table__action {
    grid-template-columns: 1fr;
  }

  .astrot-stallions-table__action::before {
    display: none;
  }

  .astrot-stallions-link {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .astrot-stallions-hero__inner {
    padding: 30px 22px;
  }

  .astrot-stallions-table td {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
