/* Auriala Pornstar Profiles — intentionally scoped to the plugin UI. */
.ap-page {
  --ap-bg: #101113;
  --ap-panel: #19181d;
  --ap-panel-soft: #211b21;
  --ap-line: #3d3039;
  --ap-line-bright: #684458;
  --ap-text: #f7f2f4;
  --ap-muted: #aaa0aa;
  --ap-pink: #efa9c4;
  --ap-pink-soft: #facbdb;
  padding: 34px 0 88px;
}

.ap-page *,
.ap-media-performers * { box-sizing: border-box; }

.ap-page img { display: block; }

.ap-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  color: var(--ap-pink);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .2em;
  line-height: 1.25;
  text-transform: uppercase;
}

.ap-kicker > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px #efa9c4aa;
}

.ap-directory-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  height: 520px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--ap-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0, #77445d33, transparent 37%),
    linear-gradient(135deg, #211b21 0, #17171b 60%, #221820 100%);
  isolation: isolate;
}

.ap-directory-hero::before,
.ap-profile-hero::before {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border: 1px solid #a86d8944;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ap-directory-hero::before { left: -245px; bottom: -290px; }

.ap-directory-hero__copy {
  display: flex;
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 66px 58px;
  flex-direction: column;
  justify-content: center;
}

.ap-directory-hero h1,
.ap-profile-hero h1 {
  margin: 0;
  color: var(--ap-text);
  font-size: clamp(54px, 6.2vw, 94px);
  font-weight: 560;
  letter-spacing: -.065em;
  line-height: .92;
}

.ap-directory-hero__intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: #c2b7c1;
  font-size: 15px;
  line-height: 1.78;
}

.ap-directory-stats,
.ap-profile-stats {
  display: flex;
  margin: 42px 0 0;
  gap: 0;
}

.ap-directory-stats div,
.ap-profile-stats div {
  min-width: 112px;
  padding-right: 28px;
}

.ap-directory-stats div + div,
.ap-profile-stats div + div {
  padding-left: 28px;
  border-left: 1px solid #44353f;
}

.ap-directory-stats dt,
.ap-profile-stats dt {
  color: var(--ap-text);
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -.035em;
  line-height: 1;
}

.ap-directory-stats dd,
.ap-profile-stats dd {
  margin: 8px 0 0;
  color: #998e98;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ap-featured-portraits {
  display: grid;
  min-width: 0;
  min-height: 0;
  padding: 28px 28px 28px 4px;
  grid-template-columns: 1.12fr .88fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}

.ap-featured-portrait {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #ffffff16;
  border-radius: 18px;
  background: #29202a;
  box-shadow: 0 22px 55px #0005;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2, .75, .2, 1), border-color .25s, box-shadow .35s;
}

.ap-featured-portrait:first-child { grid-row: 1 / 4; }

.ap-featured-portrait::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, #0d0b0fdb 0, #17101655 30%, transparent 60%);
  content: "";
  pointer-events: none;
}

.ap-featured-portrait__image,
.ap-profile-card__image,
.ap-profile-hero__image,
.ap-related-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform .55s cubic-bezier(.2, .75, .2, 1);
}

.ap-featured-portrait > span:last-child {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  left: 18px;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ap-featured-portrait:hover,
.ap-featured-portrait:focus-visible {
  z-index: 2;
  border-color: #efa9c477;
  box-shadow: 0 28px 65px #0009;
  transform: translateY(-4px);
}

.ap-featured-portrait:hover .ap-featured-portrait__image,
.ap-featured-portrait:focus-visible .ap-featured-portrait__image { transform: scale(1.045); }

.ap-initial {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, #e2a7bd6b, transparent 25%),
    linear-gradient(145deg, #57364a, #231b25 58%, #14151a);
  color: #f3c1d4;
  font: italic clamp(54px, 8vw, 110px)/1 Georgia, serif;
  text-shadow: 0 12px 45px #000;
}

.ap-initial::before {
  position: absolute;
  width: 60%;
  height: 145%;
  border: 1px solid #efb6cd30;
  border-radius: 50%;
  content: "";
  transform: rotate(28deg);
}

/* Search and alphabet controls. */
.ap-directory-tools {
  margin: 28px 0 68px;
  padding: 26px 30px 24px;
  border: 1px solid #352c33;
  border-radius: 18px;
  background: #17171a;
}

.ap-directory-search label {
  display: block;
  margin: 0 0 10px;
  color: #b4a9b3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ap-directory-search__field {
  display: grid;
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #493944;
  border-radius: 12px;
  background: #0f1012;
  transition: border-color .2s, box-shadow .2s;
}

.ap-directory-search__field:focus-within {
  border-color: #efa9c4aa;
  box-shadow: 0 0 0 4px #efa9c413;
}

.ap-directory-search__field > span {
  display: grid;
  padding: 0 0 0 18px;
  place-items: center;
  color: #8f828d;
}

.ap-directory-search__field svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }

.ap-directory-search input {
  min-width: 0;
  padding: 15px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ap-text);
  font-size: 14px;
}

.ap-directory-search input::placeholder { color: #706872; }

.ap-directory-search button {
  display: flex;
  min-height: 46px;
  margin: 4px;
  padding: 0 19px;
  align-items: center;
  gap: 20px;
  border: 0;
  border-radius: 9px;
  background: var(--ap-pink);
  color: #271820;
  font-size: 12px;
  font-weight: 720;
  transition: background .2s, transform .2s;
}

.ap-directory-search button:hover { background: var(--ap-pink-soft); transform: translateX(-2px); }
.ap-directory-search button span { font-size: 17px; }

.ap-alpha-filter {
  display: flex;
  margin-top: 20px;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ap-alpha-filter a,
.ap-alpha-filter > span {
  display: grid;
  flex: 0 0 auto;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50px;
  color: #9f949e;
  font-size: 11px;
  font-weight: 680;
  transition: border-color .2s, background .2s, color .2s;
}

.ap-alpha-filter a:first-child { min-width: 52px; }
.ap-alpha-filter a:hover { border-color: #614657; color: #fff; }
.ap-alpha-filter a[aria-current="page"] { border-color: transparent; background: var(--ap-pink); color: #261820; }
.ap-alpha-filter > span { opacity: .28; }

/* Headings shared by directory/profile sections. */
.ap-section-heading {
  display: flex;
  margin-bottom: 26px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.ap-section-heading .ap-kicker { margin-bottom: 10px; }
.ap-section-heading h2 { margin: 0; font-size: clamp(29px, 3.3vw, 44px); font-weight: 560; letter-spacing: -.045em; }

.ap-result-count {
  flex: 0 0 auto;
  margin: 0 0 5px;
  color: #90868f;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ap-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 18px;
}

.ap-profile-card { min-width: 0; }
.ap-profile-card > a { display: block; }

.ap-profile-card__portrait {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid #3f313b;
  border-radius: 16px;
  background: #211a22;
  isolation: isolate;
  transition: border-color .25s, transform .35s cubic-bezier(.2, .75, .2, 1), box-shadow .35s;
}

.ap-profile-card__glow {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, #0d0c0fe0 0, #100d102e 34%, transparent 63%);
  pointer-events: none;
}

.ap-profile-card__cta {
  display: flex;
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  left: 14px;
  align-items: center;
  justify-content: space-between;
  color: #f1e4eb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ap-profile-card__cta b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #ffffff4a;
  border-radius: 50%;
  background: #120e12a8;
  color: var(--ap-pink);
  font-size: 15px;
  transition: background .2s, color .2s, transform .25s;
}

.ap-profile-card__copy { display: block; padding: 14px 2px 0; }

.ap-profile-card__copy strong {
  display: block;
  overflow: hidden;
  color: var(--ap-text);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ap-profile-card__copy small {
  display: flex;
  margin-top: 7px;
  align-items: center;
  gap: 8px;
  color: #908590;
  font-size: 10px;
  line-height: 1.35;
}

.ap-profile-card__copy i { width: 3px; height: 3px; border-radius: 50%; background: #8c6074; }

.ap-profile-card > a:hover .ap-profile-card__portrait,
.ap-profile-card > a:focus-visible .ap-profile-card__portrait {
  border-color: #efa9c480;
  box-shadow: 0 20px 48px #0007;
  transform: translateY(-5px);
}

.ap-profile-card > a:hover .ap-profile-card__image,
.ap-profile-card > a:focus-visible .ap-profile-card__image { transform: scale(1.04); }
.ap-profile-card > a:hover .ap-profile-card__cta b { background: var(--ap-pink); color: #271820; transform: rotate(7deg); }

.ap-pagination { flex-wrap: wrap; margin-top: 54px; }
.ap-pagination .page-numbers { min-width: 38px; justify-content: center; border-color: #3d3239; background: #171619; color: #c6bbc3; }
.ap-pagination .page-numbers:hover { border-color: var(--ap-pink); color: var(--ap-pink); }
.ap-pagination .page-numbers.current { border-color: transparent; background: var(--ap-pink); color: #24171d; }

.ap-empty-state {
  display: flex;
  min-height: 390px;
  padding: 70px 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #493843;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 20%, #6b3e552c, transparent 34%), #151518;
  text-align: center;
}

.ap-empty-state > span {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid #735167;
  border-radius: 50%;
  color: var(--ap-pink);
  font: italic 36px Georgia, serif;
}

.ap-empty-state h1,
.ap-empty-state h3 { margin: 22px 0 0; font-size: 26px; font-weight: 560; }
.ap-empty-state p { color: var(--ap-muted); }
.ap-empty-state--compact { min-height: 220px; padding: 40px 20px; }
.ap-empty-state--compact > span { width: 52px; height: 52px; font-size: 27px; }

.ap-button {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 18px;
  align-items: center;
  gap: 28px;
  border-radius: 9px;
  background: var(--ap-pink);
  color: #271820;
  font-size: 12px;
  font-weight: 700;
}

/* Performer profile. */
.ap-breadcrumb {
  display: flex;
  margin: 0 0 24px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  color: #8d848d;
  font-size: 11px;
  white-space: nowrap;
}

.ap-breadcrumb a { color: #cbbfc7; }
.ap-breadcrumb a:hover { color: var(--ap-pink); }
.ap-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }

.ap-profile-hero {
  display: grid;
  position: relative;
  min-height: 520px;
  padding: 30px;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 5vw, 76px);
  overflow: hidden;
  border: 1px solid var(--ap-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 12%, #77425c55, transparent 33%),
    linear-gradient(130deg, #211b21, #17171b 64%);
  isolation: isolate;
}

.ap-profile-hero::before { right: -190px; bottom: -280px; }

.ap-profile-hero__portrait {
  position: relative;
  margin: 0;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #ffffff14;
  border-radius: 18px;
  background: #291f28;
  box-shadow: 0 30px 75px #0008;
}

.ap-profile-hero__portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #100d1094, transparent 36%);
  content: "";
  pointer-events: none;
}

.ap-profile-hero__ring {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid #f4c5d7a8;
  border-radius: 50%;
  box-shadow: inset 0 0 0 9px #120f1288;
}

.ap-profile-photo-credit {
  display: flex;
  position: absolute;
  z-index: 3;
  right: 78px;
  bottom: 16px;
  left: 16px;
  width: fit-content;
  max-width: calc(100% - 100px);
  padding: 7px 10px;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  border: 1px solid #ffffff1c;
  border-radius: 999px;
  background: #110e11c7;
  color: #b8adb5;
  font-size: 8px;
  line-height: 1.2;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.ap-profile-photo-credit > span {
  color: #8e838c;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ap-profile-photo-credit a {
  overflow: hidden;
  color: #f1d3df;
  text-overflow: ellipsis;
}

.ap-profile-photo-credit a:hover { color: #fff; }
.ap-profile-photo-credit b { color: #c4b8c0; font-weight: 500; }

.ap-profile-hero__copy {
  display: flex;
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 38px 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ap-profile-hero__labels {
  display: flex;
  margin: 0 0 17px;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.ap-profile-hero__labels .ap-kicker { margin: 0; }

.ap-verified-badge {
  display: inline-flex;
  padding: 6px 10px 6px 7px;
  align-items: center;
  gap: 6px;
  border: 1px solid #b6759245;
  border-radius: 999px;
  background: #efa9c40d;
  color: #d9cbd3;
  font-size: 8px;
  font-weight: 680;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}

.ap-verified-badge b {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--ap-pink);
  color: #271820;
  font-size: 9px;
}

.ap-profile-hero h1 { font-size: clamp(50px, 6vw, 88px); overflow-wrap: anywhere; }

.ap-profile-hero__intro {
  max-width: 650px;
  margin: 27px 0 0;
  color: #d1c5cd;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
}

.ap-profile-hero__description {
  display: -webkit-box;
  max-width: 660px;
  margin: 15px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #9e939c;
  font-size: 12px;
  line-height: 1.7;
}

.ap-profile-stats { margin-top: 34px; }
.ap-profile-stats div { min-width: 106px; }

.ap-back-link {
  display: inline-flex;
  margin-top: 36px;
  align-items: center;
  gap: 13px;
  color: #c7bac4;
  font-size: 11px;
  font-weight: 650;
  transition: color .2s;
}

.ap-back-link span { color: var(--ap-pink); transition: transform .2s; }
.ap-back-link:hover { color: #fff; }
.ap-back-link:hover span { transform: translateX(-3px); }

.ap-profile-hero__monogram {
  position: absolute;
  z-index: 0;
  right: 30px;
  bottom: -72px;
  color: #efa9c40a;
  font: italic 300px/.7 Georgia, serif;
  pointer-events: none;
}

.ap-profile-jump {
  display: flex;
  position: relative;
  z-index: 4;
  width: fit-content;
  margin: -27px auto 0;
  padding: 6px;
  gap: 6px;
  border: 1px solid #4a3943;
  border-radius: 999px;
  background: #171619eb;
  box-shadow: 0 15px 45px #0008;
  backdrop-filter: blur(12px);
}

.ap-profile-jump a {
  display: flex;
  min-width: 150px;
  padding: 10px 14px 10px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 999px;
  color: #c9bec6;
  font-size: 11px;
  font-weight: 650;
  transition: background .2s, color .2s;
}

.ap-profile-jump b {
  display: grid;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  place-items: center;
  border-radius: 999px;
  background: #362630;
  color: var(--ap-pink);
  font-size: 9px;
}

.ap-profile-jump a:hover { background: #292028; color: #fff; }

/* Source-checked biography and performer facts. */
.ap-profile-about {
  display: grid;
  margin-top: 44px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  align-items: stretch;
  gap: 18px;
}

.ap-profile-about--single { grid-template-columns: minmax(0, 1fr); }

.ap-profile-biography,
.ap-profile-details {
  min-width: 0;
  border: 1px solid #392f36;
  border-radius: 20px;
  background: #17171a;
}

.ap-profile-biography {
  position: relative;
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, #85506a24, transparent 35%),
    linear-gradient(135deg, #1b181d, #151619 72%);
}

.ap-profile-biography::after {
  position: absolute;
  right: -72px;
  bottom: -115px;
  width: 250px;
  height: 250px;
  border: 1px solid #efa9c412;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ap-profile-biography .ap-kicker { margin-bottom: 12px; }

.ap-profile-biography h2,
.ap-profile-details h2 {
  margin: 0;
  color: var(--ap-text);
  font-weight: 580;
  letter-spacing: -.04em;
}

.ap-profile-biography h2 { font-size: clamp(29px, 3vw, 42px); }

.ap-profile-biography > p:not(.ap-kicker) {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 18px 0 0;
  color: #c8bdc5;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.82;
}

.ap-profile-biography > h2 + p { margin-top: 24px; }

.ap-profile-details {
  padding: clamp(26px, 3vw, 38px);
  background: linear-gradient(145deg, #1d191e, #17171a 68%);
}

.ap-profile-details__heading {
  display: flex;
  padding-bottom: 21px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #352c33;
}

.ap-profile-details h2 { font-size: clamp(22px, 2.1vw, 30px); }

.ap-profile-details__heading > span {
  display: grid;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid #a56b863d;
  border-radius: 50%;
  background: #efa9c412;
  color: var(--ap-pink);
  font-size: 13px;
}

.ap-facts-grid {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ap-facts-grid > div {
  min-width: 0;
  padding: 18px 14px 18px 0;
  border-bottom: 1px solid #30292f;
}

.ap-facts-grid > div:nth-child(2n) { padding-right: 0; padding-left: 18px; border-left: 1px solid #30292f; }

.ap-facts-grid dt {
  margin: 0 0 7px;
  color: #8f858e;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ap-facts-grid dd {
  margin: 0;
  color: #f2e9ee;
  font-size: 12px;
  font-weight: 570;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ap-facts-grid dd a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f3d4df;
}

.ap-facts-grid dd a span { color: var(--ap-pink); font-size: 11px; transition: transform .2s; }
.ap-facts-grid dd a:hover { color: #fff; }
.ap-facts-grid dd a:hover span { transform: translate(2px, -2px); }

.ap-fact-sources {
  display: inline-flex;
  margin-left: 7px;
  align-items: center;
  gap: 4px;
}

.ap-facts-grid dd .ap-fact-sources a {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #a56b8645;
  border-radius: 50%;
  color: var(--ap-pink);
  font-size: 9px;
}

.ap-profile-sources { padding-top: 22px; }

.ap-profile-sources h3 {
  margin: 0 0 11px;
  color: #948993;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ap-profile-sources > div { display: flex; flex-wrap: wrap; gap: 8px; }

.ap-profile-sources a {
  display: inline-flex;
  max-width: 100%;
  padding: 7px 10px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid #463641;
  border-radius: 999px;
  background: #120f12;
  color: #cfc1ca;
  font-size: 9px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s;
}

.ap-profile-sources a span { flex: 0 0 auto; color: var(--ap-pink); }
.ap-profile-sources a:hover { border-color: #a56b8673; background: #241a21; color: #fff; }

.ap-profile-section {
  padding: 82px 0 4px;
  scroll-margin-top: 28px;
}

.ap-profile-section + .ap-profile-section { margin-top: 60px; border-top: 1px solid #29242a; }
.ap-video-grid { row-gap: 36px; }

.ap-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 18px;
}

.ap-gallery-card { min-width: 0; }

.ap-gallery-card > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.ap-gallery-image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  grid-column: 1 / 3;
  overflow: hidden;
  border: 1px solid #40323c;
  border-radius: 14px;
  background: #221a22;
  isolation: isolate;
  transition: transform .35s, border-color .25s, box-shadow .35s;
}

.ap-gallery-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s; }
.ap-gallery-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, #0d0b0dbf, transparent 48%); }
.ap-gallery-image small { position: absolute; z-index: 2; right: 13px; bottom: 11px; color: #f5e9ef; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ap-gallery-card strong { min-width: 0; color: var(--ap-text); font-size: 15px; font-weight: 620; letter-spacing: -.02em; line-height: 1.4; }
.ap-gallery-card > a > span:last-child { color: #7e717b; font-size: 18px; transition: color .2s, transform .2s; }
.ap-gallery-card a:hover .ap-gallery-image { border-color: #efa9c47a; box-shadow: 0 18px 45px #0007; transform: translateY(-4px); }
.ap-gallery-card a:hover .ap-gallery-image img { transform: scale(1.04); }
.ap-gallery-card a:hover > span:last-child { color: var(--ap-pink); transform: rotate(6deg); }

.ap-heading-link {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
  gap: 13px;
  color: #b9adb6;
  font-size: 11px;
  font-weight: 650;
}

.ap-heading-link span { color: var(--ap-pink); transition: transform .2s; }
.ap-heading-link:hover span { transform: translateX(3px); }

.ap-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ap-related-card { min-width: 0; }

.ap-related-card > a {
  display: grid;
  padding: 10px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #392f36;
  border-radius: 13px;
  background: #18171a;
  transition: border-color .2s, background .2s, transform .2s;
}

.ap-related-card__portrait {
  display: block;
  position: relative;
  width: 58px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #281f28;
}

.ap-related-card__portrait .ap-initial { font-size: 25px; }
.ap-related-card__copy { min-width: 0; }
.ap-related-card__copy strong { display: block; overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.ap-related-card__copy small { display: block; margin-top: 4px; overflow: hidden; color: #8e838c; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ap-related-card > a > b { color: var(--ap-pink); font-size: 14px; font-weight: 400; }
.ap-related-card > a:hover { border-color: #70495d; background: #211a20; transform: translateY(-2px); }

/* Performer links injected under individual videos and galleries. */
.ap-media-performers {
  display: flex;
  max-width: 900px;
  margin: 18px 0 8px;
  align-items: flex-start;
  gap: 14px;
}

.ap-media-performers > span {
  padding-top: 8px;
  color: #8f8791;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ap-media-performers > div { display: flex; flex-wrap: wrap; gap: 8px; }

.ap-media-performers a {
  display: inline-flex;
  padding: 6px 12px;
  align-items: center;
  border: 1px solid #483541;
  border-radius: 999px;
  background: #19161b;
  color: #dfcad6;
  font-size: 11px;
  line-height: 1.2;
  transition: border-color .2s, background .2s, color .2s;
}

.ap-media-performers a::before { margin-right: 6px; color: var(--pink, #efa9c4); content: "●"; font-size: 5px; }
.ap-media-performers a:hover { border-color: #efa9c4; background: #291d24; color: #fff; }

@media (max-width: 1180px) {
  .ap-directory-hero { grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr); }
  .ap-directory-hero__copy { padding: 52px 42px; }
  .ap-profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ap-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .ap-page { padding-top: 26px; }
  .ap-directory-hero { height: 470px; grid-template-columns: minmax(0, 1fr) 330px; min-height: 0; }
  .ap-directory-hero__copy { padding: 40px 30px; }
  .ap-directory-hero h1 { font-size: clamp(48px, 7vw, 68px); }
  .ap-directory-hero__intro { margin-top: 20px; font-size: 13px; }
  .ap-directory-stats { margin-top: 30px; }
  .ap-directory-stats div { min-width: 88px; padding-right: 16px; }
  .ap-directory-stats div + div { padding-left: 16px; }
  .ap-directory-stats dt { font-size: 20px; }
  .ap-featured-portraits { padding: 22px 22px 22px 0; }
  .ap-profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 14px; }
  .ap-profile-hero { min-height: 470px; grid-template-columns: minmax(245px, 320px) minmax(0, 1fr); gap: 34px; }
  .ap-profile-hero__portrait { min-height: 410px; }
  .ap-profile-hero__copy { padding: 22px 0; }
  .ap-profile-stats div { min-width: 82px; padding-right: 14px; }
  .ap-profile-stats div + div { padding-left: 14px; }
  .ap-profile-about { grid-template-columns: minmax(0, 1fr); }
  .ap-profile-biography > p:last-child { max-width: 820px; }
  .ap-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ap-page { padding: 16px 0 60px; }
  .ap-directory-hero { display: block; height: auto; min-height: 0; border-radius: 18px; }
  .ap-directory-hero__copy { padding: 31px 24px 28px; }
  .ap-directory-hero h1 { font-size: 48px; }
  .ap-directory-hero__intro { max-width: 540px; font-size: 12px; line-height: 1.65; }
  .ap-directory-stats { margin-top: 26px; }
  .ap-directory-stats div { min-width: 0; flex: 1; }
  .ap-directory-stats dd { font-size: 8px; letter-spacing: .07em; }
  .ap-featured-portraits {
    display: grid;
    padding: 0 24px 24px;
    grid-auto-flow: column;
    grid-auto-columns: 42%;
    grid-template-columns: none;
    grid-template-rows: 190px;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .ap-featured-portraits::-webkit-scrollbar { display: none; }
  .ap-featured-portrait,
  .ap-featured-portrait:first-child { grid-row: auto; scroll-snap-align: start; }
  .ap-featured-portrait > span:last-child { right: 12px; bottom: 11px; left: 12px; font-size: 12px; }
  .ap-directory-tools { margin: 18px 0 48px; padding: 20px 16px 18px; border-radius: 14px; }
  .ap-directory-search button { min-width: 48px; padding: 0 14px; }
  .ap-directory-search button > span { display: block; }
  .ap-directory-search button { font-size: 0; gap: 0; }
  .ap-directory-search button span { font-size: 18px; }
  .ap-alpha-filter { margin-top: 15px; }
  .ap-alpha-filter a,
  .ap-alpha-filter > span { min-width: 32px; height: 32px; font-size: 10px; }
  .ap-section-heading { margin-bottom: 20px; align-items: flex-end; }
  .ap-section-heading h2 { font-size: 27px; }
  .ap-result-count { font-size: 9px; }
  .ap-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
  .ap-profile-card__portrait { border-radius: 12px; }
  .ap-profile-card__copy { padding-top: 10px; }
  .ap-profile-card__copy strong { font-size: 14px; }
  .ap-profile-card__copy small { align-items: flex-start; flex-direction: column; gap: 2px; font-size: 9px; }
  .ap-profile-card__copy i { display: none; }
  .ap-profile-card__cta { right: 9px; bottom: 9px; left: 9px; font-size: 8px; }
  .ap-profile-card__cta b { width: 29px; height: 29px; }
  .ap-pagination { margin-top: 38px; }
  .ap-breadcrumb { margin-bottom: 16px; }
  .ap-profile-hero { min-height: 0; padding: 18px; grid-template-columns: 122px minmax(0, 1fr); gap: 20px; border-radius: 18px; }
  .ap-profile-hero__portrait { min-height: 180px; max-height: 230px; border-radius: 13px; }
  .ap-profile-hero__ring { right: 9px; bottom: 9px; width: 30px; height: 30px; box-shadow: inset 0 0 0 6px #120f1288; }
  .ap-profile-hero__copy { padding: 8px 0; }
  .ap-profile-hero__labels { margin-bottom: 9px; gap: 7px; }
  .ap-profile-hero .ap-kicker { font-size: 7px; letter-spacing: .13em; }
  .ap-verified-badge { width: 23px; height: 23px; padding: 0; justify-content: center; overflow: hidden; font-size: 0; }
  .ap-verified-badge b { width: 15px; height: 15px; font-size: 8px; }
  .ap-profile-hero h1 { font-size: clamp(32px, 9.5vw, 48px); line-height: .95; }
  .ap-profile-hero__intro { margin-top: 15px; font-size: 11px; line-height: 1.5; }
  .ap-profile-hero__description { display: none; }
  .ap-profile-photo-credit { right: 6px; bottom: 6px; left: 6px; max-width: none; padding: 5px 6px; flex-wrap: wrap; font-size: 6px; white-space: normal; }
  .ap-profile-photo-credit > span,
  .ap-profile-photo-credit > i { display: none; }
  .ap-profile-photo-credit a { max-width: 100%; }
  .ap-profile-hero__portrait:has(.ap-profile-photo-credit) .ap-profile-hero__ring { display: none; }
  .ap-profile-stats { margin-top: 18px; }
  .ap-profile-stats { width: 100%; overflow: hidden; }
  .ap-profile-stats div { min-width: 0; padding-right: 10px; flex: 1; }
  .ap-profile-stats div + div { padding-left: 10px; }
  .ap-profile-stats dt { font-size: 17px; }
  .ap-profile-stats dd { margin-top: 5px; overflow: hidden; font-size: 7px; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }
  .ap-back-link { display: none; }
  .ap-profile-hero__monogram { display: none; }
  .ap-profile-jump { width: calc(100% - 38px); margin-top: 12px; border-radius: 12px; }
  .ap-profile-jump a { min-width: 0; flex: 1; border-radius: 9px; }
  .ap-profile-jump a > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ap-profile-jump b { flex: 0 0 auto; }
  .ap-profile-about { margin-top: 30px; gap: 12px; }
  .ap-profile-biography,
  .ap-profile-details { border-radius: 16px; }
  .ap-profile-biography { padding: 27px 22px; }
  .ap-profile-biography h2 { font-size: 28px; }
  .ap-profile-biography > p:not(.ap-kicker) { margin-top: 14px; font-size: 13px; line-height: 1.72; }
  .ap-profile-details { padding: 24px 20px; }
  .ap-profile-details__heading { padding-bottom: 17px; }
  .ap-profile-details h2 { font-size: 22px; }
  .ap-facts-grid > div { padding-top: 15px; padding-bottom: 15px; }
  .ap-profile-section { padding-top: 50px; }
  .ap-profile-section + .ap-profile-section { margin-top: 38px; }
  .ap-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
  .ap-gallery-image { border-radius: 11px; }
  .ap-gallery-card strong { font-size: 12px; }
  .ap-gallery-card > a > span:last-child { font-size: 14px; }
  .ap-related-grid { grid-template-columns: 1fr; gap: 10px; }
  .ap-heading-link { font-size: 9px; }
  .ap-media-performers { display: block; }
  .ap-media-performers > span { display: block; padding: 0; margin-bottom: 8px; }
}

@media (max-width: 430px) {
  .ap-directory-stats div:nth-child(3) { display: none; }
  .ap-featured-portraits { grid-auto-columns: 53%; }
  .ap-profile-hero { grid-template-columns: 105px minmax(0, 1fr); padding: 14px; gap: 15px; }
  .ap-profile-hero__portrait { min-height: 165px; }
  .ap-profile-hero h1 { font-size: 31px; }
  .ap-profile-stats div:nth-child(3) { display: none; }
  .ap-profile-jump a { padding: 9px 10px 9px 13px; }
  .ap-profile-jump b { min-width: 23px; height: 23px; }
  .ap-facts-grid { grid-template-columns: minmax(0, 1fr); }
  .ap-facts-grid > div,
  .ap-facts-grid > div:nth-child(2n) { padding: 14px 0; border-left: 0; }
}

/* Verified profile attributes: compact on desktop, one-column on phones. */
.ap-advanced-filters {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(231, 164, 195, .16);
  border-radius: 18px;
  background: rgba(16, 14, 18, .58);
}
.ap-advanced-filters > p { margin: 0 0 14px; color: #d4a4bb; font-size: 10px; font-weight: 720; letter-spacing: .16em; text-transform: uppercase; }
.ap-advanced-filters__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ap-advanced-filters label { display: grid; gap: 7px; }
.ap-advanced-filters label > span { color: #bcaeb6; font-size: 10px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; }
.ap-advanced-filters select {
  min-width: 0;
  min-height: 45px;
  padding: 0 38px 0 13px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  color: #f8edf2;
  background-color: #171419;
}
.ap-advanced-filters > button,
.ap-advanced-filters > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.ap-advanced-filters > button { color: #21151b; background: #e8a6c4; cursor: pointer; }
.ap-advanced-filters > button span { margin-left: 12px; }
.ap-advanced-filters > a { margin-left: 8px; color: #d7c7cf; background: rgba(255,255,255,.06); }
@media (max-width: 960px) { .ap-advanced-filters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ap-advanced-filters { padding: 17px; }
  .ap-advanced-filters__grid { grid-template-columns: 1fr; }
  .ap-advanced-filters > button,
  .ap-advanced-filters > a { width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ap-page *,
  .ap-page *::before,
  .ap-page *::after,
  .ap-media-performers * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Pornstar directory 2.6 — portrait-first showcase and catalogue controls. */
.ap-directory .ap-directory-hero {
  display: grid;
  position: relative;
  height: auto;
  min-height: 360px;
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, .72fr);
  align-items: stretch;
  overflow: hidden;
  border-color: #493542;
  background:
    radial-gradient(circle at 10% 10%, #985b7933, transparent 34%),
    radial-gradient(circle at 86% 25%, #d382a32b, transparent 28%),
    linear-gradient(122deg, #251d24 0, #19171c 57%, #241921 100%);
}

.ap-directory .ap-directory-hero::before {
  display: none;
}

.ap-directory .ap-directory-hero__copy {
  display: flex;
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: clamp(50px, 6vw, 84px);
  flex-direction: column;
  justify-content: center;
}

.ap-directory-hero__accent {
  width: 54px;
  height: 5px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ap-pink), #f7d6e2);
  box-shadow: 0 0 30px #efa9c47a;
}

.ap-directory .ap-directory-hero h1 {
  max-width: 850px;
  font-size: clamp(62px, 7.5vw, 112px);
  font-weight: 570;
  line-height: .86;
}

.ap-directory .ap-directory-hero__intro {
  max-width: 680px;
  margin-top: 30px;
  color: #cfc2ca;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.72;
}

.ap-directory-hero__link {
  display: inline-flex;
  width: fit-content;
  margin-top: 32px;
  align-items: center;
  gap: 14px;
  color: #f2d3df;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ap-directory-hero__link b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #efa9c466;
  border-radius: 50%;
  background: #efa9c410;
  color: var(--ap-pink);
  transition: background .2s, color .2s, transform .2s;
}

.ap-directory-hero__link:hover b,
.ap-directory-hero__link:focus-visible b {
  background: var(--ap-pink);
  color: #261820;
  transform: translateY(3px);
}

.ap-directory .ap-directory-stats {
  display: grid;
  position: relative;
  z-index: 2;
  margin: 24px;
  padding: 16px;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 10px;
  border: 1px solid #ffffff14;
  border-radius: 18px;
  background: #0f0e12a8;
  box-shadow: 0 30px 80px #0005;
  backdrop-filter: blur(14px);
}

.ap-directory .ap-directory-stats div,
.ap-directory .ap-directory-stats div + div {
  display: flex;
  min-width: 0;
  padding: 24px 23px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #ffffff0e;
  border-radius: 13px;
  background: linear-gradient(135deg, #ffffff0a, #ffffff03);
}

.ap-directory .ap-directory-stats dt {
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 650;
}

.ap-directory .ap-directory-stats dd {
  max-width: 120px;
  margin: 0;
  color: #aa9ca6;
  text-align: right;
}

.ap-directory-hero__orb {
  position: absolute;
  z-index: 1;
  border: 1px solid #efa9c424;
  border-radius: 50%;
  pointer-events: none;
}

.ap-directory-hero__orb--one {
  top: -190px;
  right: 18%;
  width: 390px;
  height: 390px;
}

.ap-directory-hero__orb--two {
  right: -100px;
  bottom: -210px;
  width: 430px;
  height: 430px;
}

.ap-featured-showcase {
  margin-top: 30px;
  padding: clamp(26px, 3.2vw, 44px);
  overflow: hidden;
  border: 1px solid #3d3039;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, #8d4d6926, transparent 27%),
    linear-gradient(145deg, #1b191e, #151518 72%);
}

.ap-featured-showcase__heading {
  display: flex;
  margin-bottom: 28px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.ap-featured-showcase__heading h2 {
  margin: 0;
  color: var(--ap-text);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 570;
  letter-spacing: -.05em;
  line-height: 1;
}

.ap-featured-showcase__heading p {
  max-width: 660px;
  margin: 12px 0 0;
  color: #a99da6;
  font-size: 13px;
  line-height: 1.6;
}

.ap-featured-showcase__heading > span {
  color: #efa9c421;
  font-size: clamp(55px, 6vw, 90px);
  font-weight: 720;
  letter-spacing: -.07em;
  line-height: .7;
}

.ap-featured-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.ap-featured-card,
.ap-featured-card > a {
  display: block;
  min-width: 0;
}

.ap-featured-card__portrait {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid #4b3844;
  border-radius: 16px;
  background: #251d25;
  box-shadow: 0 20px 45px #0004;
  isolation: isolate;
  transition: border-color .25s, box-shadow .35s, transform .35s cubic-bezier(.2, .75, .2, 1);
}

.ap-featured-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform .55s cubic-bezier(.2, .75, .2, 1);
}

.ap-featured-card__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, #0b090cd1 0, transparent 43%);
  pointer-events: none;
}

.ap-featured-card__arrow {
  display: grid;
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  background: #100d10a8;
  color: #fff;
  font-size: 14px;
  backdrop-filter: blur(8px);
  transition: background .2s, color .2s, transform .25s;
}

.ap-featured-card__copy {
  display: block;
  padding: 14px 2px 1px;
}

.ap-featured-card__copy strong {
  display: block;
  overflow: hidden;
  color: #f8f2f5;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ap-featured-card__copy small {
  display: flex;
  margin-top: 6px;
  align-items: center;
  gap: 7px;
  color: #8f858d;
  font-size: 9px;
  line-height: 1.35;
}

.ap-featured-card__copy i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9a667d;
}

.ap-featured-card > a:hover .ap-featured-card__portrait,
.ap-featured-card > a:focus-visible .ap-featured-card__portrait {
  border-color: #efa9c48c;
  box-shadow: 0 28px 60px #0008;
  transform: translateY(-5px);
}

.ap-featured-card > a:hover .ap-featured-card__image,
.ap-featured-card > a:focus-visible .ap-featured-card__image {
  transform: scale(1.045);
}

.ap-featured-card > a:hover .ap-featured-card__arrow,
.ap-featured-card > a:focus-visible .ap-featured-card__arrow {
  background: var(--ap-pink);
  color: #25171e;
  transform: rotate(8deg);
}

.ap-directory .ap-directory-tools {
  margin: 30px 0 68px;
  padding: clamp(22px, 2.6vw, 34px);
  border-color: #3d3039;
  border-radius: 20px;
  background: linear-gradient(145deg, #19181c, #141518);
  scroll-margin-top: 28px;
}

.ap-directory-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(210px, 270px) auto;
  align-items: end;
  gap: 12px;
}

.ap-directory-controls label,
.ap-filter-panel > p {
  display: block;
  margin: 0 0 10px;
  color: #b4a9b3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ap-directory .ap-directory-search__field {
  min-height: 52px;
  border-radius: 12px;
}

.ap-directory-sort select {
  width: 100%;
  min-height: 52px;
  padding: 0 42px 0 16px;
  border: 1px solid #493944;
  border-radius: 12px;
  outline: 0;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #b596a7 50%) calc(100% - 20px) 22px / 5px 5px no-repeat,
    linear-gradient(135deg, #b596a7 50%, transparent 50%) calc(100% - 15px) 22px / 5px 5px no-repeat,
    #0f1012;
  color: #eee6eb;
  font-size: 13px;
}

.ap-directory-sort select:focus {
  border-color: #efa9c4aa;
  box-shadow: 0 0 0 4px #efa9c413;
}

.ap-directory-controls__submit {
  display: flex;
  min-height: 52px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 0;
  border-radius: 12px;
  background: var(--ap-pink);
  color: #271820;
  font-size: 12px;
  font-weight: 750;
  transition: background .2s, transform .2s;
}

.ap-directory-controls__submit:hover,
.ap-directory-controls__submit:focus-visible {
  background: var(--ap-pink-soft);
  transform: translateY(-2px);
}

.ap-directory-controls__submit span {
  font-size: 17px;
}

.ap-filter-panel {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #352b32;
}

.ap-profile-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ap-profile-filters a {
  display: inline-flex;
  min-height: 38px;
  padding: 0 9px 0 15px;
  align-items: center;
  gap: 10px;
  border: 1px solid #453640;
  border-radius: 999px;
  background: #111114;
  color: #c4b8c0;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}

.ap-profile-filters a small {
  display: grid;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: #2c2229;
  color: #c995aa;
  font-size: 8px;
}

.ap-profile-filters a:hover {
  border-color: #8c5d73;
  color: #fff;
  transform: translateY(-1px);
}

.ap-profile-filters a[aria-current="page"] {
  border-color: transparent;
  background: var(--ap-pink);
  color: #271820;
}

.ap-profile-filters a[aria-current="page"] small {
  background: #251820;
  color: #f7d4e1;
}

.ap-directory .ap-alpha-filter {
  margin-top: 20px;
  padding-top: 19px;
  border-top: 1px solid #2f282d;
}

@media (max-width: 1180px) {
  .ap-directory .ap-directory-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  }

  .ap-directory .ap-directory-hero__copy {
    padding: 50px 42px;
  }

  .ap-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 14px;
  }
}

@media (max-width: 900px) {
  .ap-directory .ap-directory-hero {
    display: block;
    min-height: 0;
  }

  .ap-directory .ap-directory-hero__copy {
    padding: 48px 36px 34px;
  }

  .ap-directory .ap-directory-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 24px 24px;
  }

  .ap-directory .ap-directory-stats div,
  .ap-directory .ap-directory-stats div + div {
    min-height: 105px;
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .ap-directory .ap-directory-stats dd {
    max-width: none;
    text-align: left;
  }

  .ap-directory-controls {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  }

  .ap-directory-controls__submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .ap-directory .ap-directory-hero {
    border-radius: 18px;
  }

  .ap-directory .ap-directory-hero__copy {
    padding: 35px 24px 28px;
  }

  .ap-directory-hero__accent {
    width: 42px;
    height: 4px;
    margin-bottom: 22px;
  }

  .ap-directory .ap-directory-hero h1 {
    font-size: clamp(51px, 17vw, 76px);
  }

  .ap-directory .ap-directory-hero__intro {
    margin-top: 21px;
    font-size: 12px;
  }

  .ap-directory-hero__link {
    margin-top: 24px;
  }

  .ap-directory .ap-directory-stats {
    padding: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .ap-directory .ap-directory-stats div,
  .ap-directory .ap-directory-stats div + div {
    min-height: 88px;
    padding: 12px 10px;
    gap: 8px;
  }

  .ap-directory .ap-directory-stats dt {
    font-size: 19px;
  }

  .ap-directory .ap-directory-stats dd {
    font-size: 7px;
  }

  .ap-featured-showcase {
    margin-top: 18px;
    padding: 25px 0 24px;
    border-radius: 18px;
  }

  .ap-featured-showcase__heading {
    margin-bottom: 21px;
    padding: 0 20px;
  }

  .ap-featured-showcase__heading h2 {
    font-size: 31px;
  }

  .ap-featured-showcase__heading p {
    max-width: 85%;
    font-size: 11px;
  }

  .ap-featured-showcase__heading > span {
    display: none;
  }

  .ap-featured-grid {
    display: grid;
    padding: 0 20px 8px;
    grid-auto-flow: column;
    grid-auto-columns: 48%;
    grid-template-columns: none;
    grid-template-rows: auto;
    gap: 11px;
    overflow-x: auto;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ap-featured-grid::-webkit-scrollbar {
    display: none;
  }

  .ap-featured-card {
    scroll-snap-align: start;
  }

  .ap-featured-card__portrait {
    border-radius: 13px;
  }

  .ap-featured-card__copy strong {
    font-size: 14px;
  }

  .ap-featured-card__copy small {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .ap-featured-card__copy i {
    display: none;
  }

  .ap-directory .ap-directory-tools {
    margin-top: 18px;
    padding: 20px 16px 18px;
    border-radius: 15px;
  }

  .ap-directory-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .ap-directory-controls__submit {
    grid-column: auto;
  }

  .ap-profile-filters {
    margin-right: -16px;
    padding-right: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ap-profile-filters::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 430px) {
  .ap-directory .ap-directory-stats div:nth-child(3) {
    display: flex;
  }

  .ap-featured-grid {
    grid-auto-columns: 62%;
  }
}
