/* CASTING LAB v115: PC-only layout corrections. Mobile layout is unchanged. */

/* The filter-style search block below the home hero is no longer used. */
#homeView > .search {
  display: none !important;
}

@media (min-width: 1024px) {
  /* Keep the global navigation clear of the wordmark and header actions. */
  .header .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .header .brand b {
    flex: 0 0 auto;
  }

  /* Place the service feedback entry at the viewport's lower-right corner. */
  .beta-v81-fab {
    right: 24px !important;
    bottom: 24px !important;
  }

  /* /experts/ desktop shell and navigation */
  body.experts-list-fluid-v101 .app {
    width: min(calc(100% - 48px), 1440px);
    max-width: 1440px;
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 48px;
    overflow: visible;
    border-inline: 1px solid rgba(16, 17, 20, .05);
    box-shadow: 0 24px 80px rgba(20, 21, 24, .08);
  }

  body.experts-list-fluid-v101 .header {
    height: 82px;
    padding: 0 52px;
  }

  body.experts-list-fluid-v101 .header .brand b {
    font-size: 24px;
  }

  body.experts-list-fluid-v101 .header .brand span {
    font-size: 9px;
    letter-spacing: 2.3px;
  }

  body.experts-list-fluid-v101 main {
    padding: 0 52px 64px;
  }

  body.experts-list-fluid-v101 .bottom {
    position: fixed;
    top: 0;
    bottom: auto;
    left: 50%;
    width: min(48vw, 610px);
    max-width: 610px;
    height: 82px;
    padding: 0;
    transform: translateX(-50%);
    background: transparent;
    border: 0;
    backdrop-filter: none;
    z-index: 43;
  }

  body.experts-list-fluid-v101 .bottom .nav {
    min-width: 0;
    height: 82px;
    padding: 0 12px;
    flex-direction: row;
    gap: 8px;
    border-radius: 0;
    color: #666862;
    font-size: 12px;
  }

  body.experts-list-fluid-v101 .bottom .nav:hover {
    color: #111318;
    background: rgba(54, 89, 232, .05);
  }

  body.experts-list-fluid-v101 .bottom .nav.active {
    color: #111318;
    box-shadow: inset 0 -3px 0 var(--blue);
  }

  body.experts-list-fluid-v101 .bottom .nav svg {
    width: 19px;
    height: 19px;
  }

  body.experts-list-fluid-v101 .bottom .plus {
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 11px;
  }

  body.experts-list-fluid-v101 .bottom .plus svg {
    width: 19px;
    height: 19px;
  }

  /* /experts/ wide content composition */
  body.experts-list-fluid-v101 .intro {
    padding: 42px 0 24px;
  }

  body.experts-list-fluid-v101 .intro h1 {
    font-size: 44px;
  }

  body.experts-list-fluid-v101 .intro p {
    font-size: 14px;
  }

  body.experts-list-fluid-v101 .search {
    min-height: 64px;
    padding: 10px 16px 10px 20px;
    border-radius: 20px;
  }

  body.experts-list-fluid-v101 .search input {
    font-size: 15px;
  }

  body.experts-list-fluid-v101 .search button {
    min-width: 82px;
    min-height: 44px;
    font-size: 13px;
  }

  body.experts-list-fluid-v101 .section {
    margin: 44px 0;
  }

  body.experts-list-fluid-v101 .title {
    font-size: 28px;
  }

  body.experts-list-fluid-v101 .sub,
  body.experts-list-fluid-v101 .count {
    font-size: 13px;
  }

  body.experts-list-fluid-v101 .all-roles-toggle {
    min-height: 56px;
    padding-inline: 20px;
    font-size: 14px;
  }

  body.experts-list-fluid-v101 .role-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.experts-list-fluid-v101 .role-group-body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.experts-list-fluid-v101 .role-group-toggle b,
  body.experts-list-fluid-v101 .selected-head b {
    font-size: 16px;
  }

  body.experts-list-fluid-v101 .directory-role strong,
  body.experts-list-fluid-v101 .role {
    font-size: 12px;
  }

  body.experts-list-fluid-v101 .model-filter-options.model-purpose-options {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  body.experts-list-fluid-v101 .model-purpose-option {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  body.experts-list-fluid-v101 .talent-list.model-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  body.experts-list-fluid-v101 .talent-list.model-grid .talent-card {
    border-radius: 21px;
  }

  body.experts-list-fluid-v101 .talent-list.model-grid .talent-info {
    padding: 16px 15px 17px;
  }

  body.experts-list-fluid-v101 .talent-list.model-grid .name-row b {
    font-size: 18px;
  }

  body.experts-list-fluid-v101 .talent-list.model-grid .card-role {
    font-size: 13px;
  }

  body.experts-list-fluid-v101 .talent-list.model-grid .talent-metrics {
    font-size: 11px;
  }

  body.experts-list-fluid-v101 .model-profile-view {
    margin: 46px 0 0;
    padding: 0 0 42px;
    scroll-margin-top: 82px;
  }

  body.experts-list-fluid-v101 .model-profile-hero {
    height: min(68vh, 720px);
    min-height: 560px;
    margin: 0;
    border-radius: 28px;
  }

  body.experts-list-fluid-v101 .model-profile-panel,
  body.experts-list-fluid-v101 .model-profile-section,
  body.experts-list-fluid-v101 .other-models {
    margin-inline: 0;
  }

  body.experts-list-fluid-v101 .model-profile-portfolio,
  body.experts-list-fluid-v101 .other-model-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.experts-list-fluid-v101 .profile-sheet {
    align-items: center;
  }

  body.experts-list-fluid-v101 .sheet {
    width: min(calc(100% - 48px), 760px);
    border-radius: 26px;
  }
}

/* At compact desktop widths, the tagline is removed before it can meet the nav. */
@media (min-width: 1024px) and (max-width: 1399px) {
  .header .brand span {
    display: none !important;
  }

  body.experts-list-fluid-v101 .header,
  body.experts-list-fluid-v101 main {
    padding-left: 30px;
    padding-right: 30px;
  }

  body.experts-list-fluid-v101 .bottom {
    width: 540px;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  body.experts-list-fluid-v101 .talent-list.model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.experts-list-fluid-v101 .model-filter-options.model-purpose-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
