.modelling-casting-actions {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.modelling-casting-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid #d5c7cf;
  border-radius: 1rem;
  background: var(--example-blush, #eee5e6);
  color: var(--example-plum, #654558);
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}

.modelling-casting-entry:hover {
  border-color: currentColor;
}

.modelling-casting-entry__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--example-plum, #654558);
}

.modelling-casting-entry__arrow {
  font-size: 1.15rem;
}

.modelling-arrangements :is(summary, .modelling-arrangement-link) {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr) 1.15rem;
  align-items: center;
  gap: 0.6rem;
}

.modelling-arrangements .modelling-arrangement-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--example-plum, #654558);
}

.modelling-arrangements :is(summary, .modelling-arrangement-link) > span {
  justify-self: center;
}

.modelling-arrangement-link {
  min-height: 50px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.modelling-arrangement-link:hover {
  background: #fff;
}

.modelling-arrangement-link > span {
  color: var(--example-plum, #654558);
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 720px) {
  .modelling-arrangement-link {
    font-size: 14px;
  }
}

.example-projectbar .modelling-casting-form-button {
  align-self: center;
  flex: 0 1 auto;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(101 69 88 / 50%);
  color: #fff;
}

.example-projectbar .modelling-casting-form-button:hover {
  background: rgb(81 55 71 / 50%);
}

@media (max-width: 720px) {
  .example-projectbar .modelling-casting-form-button {
    gap: 15.6px;
    min-height: 57.2px;
    max-width: 100%;
    padding: 7.8px 15.6px;
    font-size: clamp(14.3px, 4vw, 15.6px);
  }
}

.modelling-casting-page .modelling-casting-page__hero {
  display: block;
  padding-top: clamp(2rem, 6vw, 4rem);
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

.modelling-casting-page .modelling-casting-page__hero--photo {
  position: relative;
  isolation: isolate;
  padding-bottom: 3.5rem;
}

.modelling-casting-hero-photo {
  --photo-fade: linear-gradient(to bottom, #000 0%, #000 72%, transparent 96%);
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  overflow: hidden;
  border-radius: 1.4rem 1.4rem 0 0;
  background: #272227;
  -webkit-mask-image: var(--photo-fade);
  mask-image: var(--photo-fade);
}

.modelling-casting-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  opacity: 0.7;
}

.modelling-casting-hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(29 23 27 / 54%), rgb(29 23 27 / 30%) 62%, rgb(29 23 27 / 10%));
  content: "";
}

body[data-copy-example] .modelling-casting-page .modelling-casting-page__hero--photo :is(h1, .example-lead, .modelling-casting-page__back) {
  color: #fff9f5;
  text-shadow: 0 1px 5px rgb(20 16 21 / 80%);
}

body[data-copy-example] .modelling-casting-page .modelling-casting-page__hero--photo .example-lead strong {
  color: inherit;
}

@media (max-width: 720px) {
  .modelling-casting-page .modelling-casting-page__hero--photo {
    margin-inline: -16px;
    padding-inline: 21px;
  }

  .modelling-casting-hero-photo {
    --photo-fade: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
    border-radius: 0;
  }

  .modelling-casting-hero-photo img {
    object-position: center 12%;
  }

  .modelling-casting-hero-photo::after {
    background: linear-gradient(90deg, rgb(29 23 27 / 45%), rgb(29 23 27 / 10%));
  }
}

.modelling-casting-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-bottom: 0.5rem;
  color: var(--example-plum, #654558);
  text-underline-offset: 0.2em;
}

.modelling-casting-page h1 {
  max-width: 21ch;
}

.modelling-casting-page .example-lead {
  max-width: 55ch;
}

.modelling-casting-page .example-section > p {
  max-width: 73ch;
}

body[data-copy-example] .modelling-casting-page .example-section[id] {
  scroll-margin-top: 0.75rem;
}

.modelling-casting-page .modelling-casting-page__calls {
  border: 1px solid #d5c7cf;
  background: var(--example-paper, #fffcf8);
}

.modelling-casting-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.modelling-casting-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(0.9rem, 2.2vw, 1.35rem);
  border: 1px solid #d5c7cf;
  border-radius: 1rem;
  background: var(--example-blush, #eee5e6);
  text-decoration: none;
}

.modelling-casting-card:is(:hover, :focus-within) {
  border-color: var(--example-plum, #654558);
}

body[data-copy-example] .modelling-casting-page .modelling-casting-card > h3 {
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 400;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.modelling-casting-card > p {
  margin: 0 0 auto;
  color: var(--example-muted, #696168);
  font-size: 0.9rem;
}

.modelling-casting-card > p:has(+ .modelling-casting-card__thumbnail) {
  margin-bottom: 0;
}

.modelling-casting-card__thumbnail {
  width: 7rem;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 0.55rem;
  align-self: flex-start;
  margin-bottom: auto;
}

.modelling-casting-card__facts {
  display: grid;
  gap: 0.3rem;
  margin: 0.35rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid #d5c7cf;
  font-size: 0.875rem;
  line-height: 1.4;
}

.modelling-casting-card__facts > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.modelling-casting-card__facts dt {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.modelling-casting-card__fact-icon {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  color: var(--example-plum, #654558);
}

.modelling-casting-card__facts dd {
  overflow-wrap: anywhere;
}

.modelling-casting-card__facts dt,
.modelling-casting-facts dt {
  overflow-wrap: anywhere;
  font-weight: 650;
}

.modelling-casting-card__facts dd,
.modelling-casting-facts dd {
  margin: 0;
}

.modelling-casting-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding-top: 0.6rem;
  border-top: 1px solid #d5c7cf;
  color: var(--example-plum, #654558);
}

body[data-copy-example] .modelling-casting-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border-radius: 0.65rem;
  background: var(--example-plum, #654558);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.modelling-casting-apply:hover {
  filter: brightness(0.9);
}

.modelling-casting-card__action .modelling-casting-apply {
  position: relative;
  z-index: 2;
}

.modelling-casting-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  text-decoration: none;
}

.modelling-casting-card__read-more::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
}

.modelling-casting-card__read-more:is(:hover, :focus-visible) strong {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.modelling-casting-detail #casting-details > .modelling-casting-apply {
  margin-top: 0.9rem;
}

.modelling-casting-contact > :last-child {
  grid-column: 1 / -1;
}

.example-form--models {
  --modelling-error-color: #ad2439;
}

@supports (color: light-dark(black, white)) {
  .example-form--models {
    --modelling-error-color: light-dark(#ad2439, #ffa0ad);
  }
}

.example-form--models :is(input, textarea, fieldset)[aria-invalid="true"] {
  border-color: var(--modelling-error-color);
  outline: 2px solid var(--modelling-error-color);
  outline-offset: 2px;
}

.example-form--models .modelling-casting-field-error:not([hidden]) {
  display: block;
  margin-top: 0.375rem;
  color: var(--modelling-error-color);
  font-size: 0.8125rem;
}

.modelling-casting-references .example-field-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.modelling-casting-references input[type="file"] {
  min-width: 0;
  max-width: 100%;
  font-size: 0.875rem;
}

@media (max-width: 720px) {
  .modelling-casting-card--mobile-photo {
    --photo-shadow-stop: 24%;
    --photo-paper-stop: 49%;
    isolation: isolate;
    overflow: hidden;
    min-height: 26rem;
  }

  .modelling-casting-card--mobile-photo[data-casting="copenhagen-streetwear-2027"] {
    --photo-shadow-stop: 32%;
    --photo-paper-stop: 56%;
  }

  .modelling-casting-card--mobile-photo[data-casting="swimwear-underwear-2027"] {
    --photo-shadow-stop: 34%;
  }

  .modelling-casting-card--mobile-photo > .modelling-casting-card__thumbnail {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
  }

  .modelling-casting-card--mobile-photo::before {
    --card-shadow: 28 23 29;
    --card-paper: 250 244 244;
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(to bottom, rgb(var(--card-shadow) / 84%), rgb(var(--card-shadow) / 73%) var(--photo-shadow-stop), rgb(var(--card-shadow) / 25%) calc(var(--photo-shadow-stop) + 13%), transparent calc(var(--photo-shadow-stop) + 29%)),
      linear-gradient(to top, rgb(var(--card-paper) / 98%), rgb(var(--card-paper) / 94%) 43%, rgb(var(--card-paper) / 88%) var(--photo-paper-stop), rgb(var(--card-paper) / 22%) calc(var(--photo-paper-stop) + 11%), transparent calc(var(--photo-paper-stop) + 19%));
    content: "";
  }

  body[data-copy-example] .modelling-casting-page .modelling-casting-card--mobile-photo > :is(h3, p) {
    color: #fff9f5;
    text-shadow: 0 1px 4px rgb(22 17 23 / 75%);
  }

  .modelling-casting-card--mobile-photo > .modelling-casting-card__facts {
    margin-top: auto;
  }
}

@media (max-width: 360px) {
  .modelling-casting-card--mobile-photo {
    min-height: 30rem;
  }
}

body[data-copy-example] .modelling-casting-page.modelling-casting-detail h1 {
  max-width: 26ch;
  font-size: clamp(2rem, 5vw, 3.85rem);
}

.modelling-casting-photo {
  max-width: 48rem;
  margin: 0 auto 1rem;
}

.modelling-casting-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 0.9rem 0.9rem 0 0;
  mask-image: linear-gradient(to bottom, #000 63%, transparent);
}

.modelling-casting-photo--collage {
  max-width: 32rem;
}

.modelling-casting-photo--collage img {
  aspect-ratio: auto;
}

.modelling-casting-page img[data-photo-focus="upper"] {
  object-position: center top;
}

.modelling-casting-page img[data-photo-focus="lower"] {
  object-position: center 73%;
}

.modelling-casting-photo img[data-photo-focus="lower"] {
  aspect-ratio: 4 / 3;
}

.modelling-casting-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
}

.modelling-casting-facts > div {
  padding: 0.7rem 0.9rem;
  border: 1px solid #d5c7cf;
  border-radius: 0.85rem;
  background: var(--example-paper, #fffcf8);
}

.modelling-casting-facts dt {
  margin-bottom: 0.2rem;
  color: var(--example-plum, #654558);
}

.modelling-casting-fact__icon {
  display: none;
}

@media (max-width: 720px) {
  .modelling-casting-facts--mobile-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .modelling-casting-facts--mobile-icons > div {
    min-width: 0;
    padding: 0.65rem 0.55rem;
    border-radius: 0.75rem;
  }

  .modelling-casting-facts--mobile-icons dt {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
    font-size: clamp(0.75rem, 3.3vw, 0.85rem);
    font-weight: 750;
    letter-spacing: 0.015em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .modelling-casting-fact__icon {
    display: block;
    flex: none;
  }

  .modelling-casting-facts--mobile-icons dd {
    font-size: 0.84rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 559px) {
  .modelling-casting-facts--mobile-icons > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .modelling-casting-facts--mobile-icons > div {
    padding-inline: 0.5rem;
  }

  .modelling-casting-facts--mobile-icons dt {
    display: grid;
    justify-items: start;
    gap: 0.25rem;
  }

  .modelling-casting-fact__icon {
    width: 1rem;
    height: 1rem;
  }
}

@media (min-width: 560px) and (max-width: 720px) {
  .modelling-casting-facts--mobile-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modelling-casting-facts--mobile-icons > div:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }

  .modelling-casting-facts--mobile-icons > div:last-child:nth-child(3n + 2) {
    grid-column: span 2;
  }
}

.modelling-casting-page__contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.65rem;
  max-width: 53rem;
  margin: 1rem 0 0;
}

.modelling-casting-page__contacts > div {
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d5c7cf;
  border-radius: 0.85rem;
  background: var(--example-paper, #fffcf8);
}

.modelling-casting-page__contacts dt {
  font-weight: 650;
}

.modelling-casting-page__contacts dd {
  margin: 0;
}

.modelling-casting-page__contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--example-plum, #654558);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
