/* Speaker and voice catalogue surface. Loaded only by VoiceCatalogAsset. */
body.voice-catalog-page {
  --studio-ink: #3b4173;
  --studio-muted: #69708d;
  --studio-accent: #c1492e;
  --studio-paper: #ffffff;
  --studio-line: rgba(59, 65, 115, .13);
  --studio-shadow: 0 14px 32px rgba(55, 61, 107, .08);
  background: #f8f8fb;
  color: var(--studio-ink);
}

body.voice-catalog-page .content {
  background:
    radial-gradient(circle at 100% 0, rgba(226, 231, 245, .5), transparent 30rem),
    #f8f8fb;
}

/* The blue display-heading treatment belongs to voice catalogue pages only. */
body.voice-catalog-page .content :is(h1, h2, h3, h4) {
  color: var(--studio-ink);
  letter-spacing: -.035em;
}

body.voice-catalog-page .content h1 {
  font-weight: 800;
}

body.voice-catalog-page .content h2 {
  font-weight: 800;
}

body.voice-catalog-page .content :is(p, li) {
  color: var(--studio-muted);
}

body.voice-catalog-page .content :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(193, 73, 46, .35);
  outline-offset: 3px;
}

body.voice-catalog-page .content :is(.btn, .button, .button-main, .button-show-filter, .s-base__button, .form__button, .card-speaker__button) {
  border-radius: 12px;
  background: var(--studio-accent);
  color: #fff;
  box-shadow: 0 9px 20px rgba(193, 73, 46, .18);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.voice-catalog-page .content :is(.btn, .button, .button-main, .button-show-filter, .s-base__button, .form__button, .card-speaker__button):is(:hover, :focus-visible) {
  background: #a93c25;
  box-shadow: 0 13px 26px rgba(193, 73, 46, .24);
  transform: translateY(-2px);
}

/* The famous-speaker carousel keeps its existing slider behavior while its
   cards use the same soft, rounded speaker surface as the homepage deck. */
body.voice-catalog-page .content #voices .s-ar-speakers__cards .card-speaker {
  box-sizing: border-box;
  display: flex;
  width: 190px;
  min-height: 285px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0 12px;
  padding: 17px 15px 20px;
  overflow: hidden;
  border: 1px solid rgba(39, 48, 82, .12);
  border-radius: 19px;
  background: #fcfcfd;
  box-shadow: 0 16px 24px -10px rgba(36, 49, 80, .25), inset 0 1px 0 #fff;
  text-align: center;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), border-color .28s, background-color .28s, box-shadow .28s;
}

body.voice-catalog-page .content #voices .s-ar-speakers__cards .card-speaker:is(:hover, :focus-within) {
  border-color: rgba(193, 73, 46, .38);
  background: #fff;
  box-shadow: 0 24px 38px -20px rgba(36, 49, 80, .32), inset 0 1px 0 #fff;
  transform: translateY(-3px);
}

body.voice-catalog-page .content #voices .s-ar-speakers__cards .card-speaker__top-name {
  display: flex;
  min-height: 36px;
  width: 100%;
  align-items: flex-end;
  justify-content: center;
  margin: 0 0 13px;
  color: #28345f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

body.voice-catalog-page .content #voices .s-ar-speakers__cards .card-speaker__player {
  display: block;
  width: 116px;
  height: 116px;
  flex: 0 0 116px;
  margin: 0 auto 17px;
  overflow: hidden;
  border-radius: 50%;
}

body.voice-catalog-page .content #voices .s-ar-speakers__cards .card-speaker__player .player__back {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

body.voice-catalog-page .content #voices .s-ar-speakers__cards .card-speaker__player .player__button {
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .92);
  transform: translate(-50%, -50%);
}

body.voice-catalog-page .content #voices .s-ar-speakers__cards .card-speaker__name {
  margin: auto 0 0;
  color: #3b4173;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

body.voice-catalog-page .content #voices .s-ar-speakers__cards .card-speaker__name a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(193, 73, 46, .5);
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  body.voice-catalog-page .content #voices .s-ar-speakers__cards .card-speaker {
    width: 220px;
    min-height: 300px;
  }
}

/* Catalogue, pricing and portfolio cards share the same quiet outer surface. */
body.voice-catalog-page .content :is(
  .card-price__in,
  .card-speaker,
  .card-video,
  .voice-card,
  .speaker-card,
  .article-card,
  .blog-card,
  .s-base__item,
  .s-base__card,
  .comment,
  .review,
  .service-card
) {
  overflow: hidden;
  border: 1px solid var(--studio-line);
  border-radius: 20px;
  background: var(--studio-paper);
  box-shadow: var(--studio-shadow);
}

body.voice-catalog-page .content :is(.card-price__in, .card-speaker, .card-video, .voice-card, .speaker-card, .article-card, .blog-card, .s-base__item, .s-base__card, .service-card) {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.voice-catalog-page .content :is(.card-price__in, .card-speaker, .card-video, .voice-card, .speaker-card, .article-card, .blog-card, .s-base__item, .s-base__card, .service-card):is(:hover, :focus-within) {
  border-color: rgba(193, 73, 46, .44);
  box-shadow: 0 19px 38px rgba(55, 61, 107, .13);
  transform: translateY(-3px);
}

body.voice-catalog-page .content :is(.card-price__title, .card-speaker__name, .card-video__title) {
  color: var(--studio-ink);
  font-weight: 800;
}

body.voice-catalog-page .content :is(.card-price__total, .price-info__cost, .s-base__price, .card-speaker__price) {
  color: var(--studio-accent);
  font-weight: 800;
}

/* Tables and calculators should feel like a structured set of cards rather
   than a sheet of grid lines. */
body.voice-catalog-page .content :is(table, .table, .price-table) {
  overflow: hidden;
  border: 1px solid var(--studio-line);
  border-radius: 18px;
  background: var(--studio-paper);
  box-shadow: var(--studio-shadow);
}

body.voice-catalog-page .content :is(th, .table__head) {
  background: #f2f3f8;
  color: var(--studio-ink);
  font-weight: 800;
}

body.voice-catalog-page .content :is(td, th) {
  border-color: var(--studio-line);
}

body.voice-catalog-page .content :is(input, select, textarea) {
  border: 1px solid var(--studio-line);
  border-radius: 12px;
  background: #fff;
  color: var(--studio-ink);
  box-shadow: inset 0 1px 0 rgba(59, 65, 115, .04);
}

body.voice-catalog-page .content :is(input, select, textarea):focus {
  border-color: rgba(193, 73, 46, .68);
  box-shadow: 0 0 0 4px rgba(193, 73, 46, .1);
}

body.voice-catalog-page .content :is(.breadcrumbs, .breadcrumb, .page-breadcrumbs) {
  color: var(--studio-muted);
}

body.voice-catalog-page .content :is(.breadcrumbs a, .breadcrumb a, .page-breadcrumbs a) {
  color: var(--studio-accent);
}

body.voice-catalog-page .content :is(.pagination__link, .pagination li a, .pager li a) {
  border: 1px solid var(--studio-line);
  border-radius: 10px;
  background: #fff;
  color: var(--studio-ink);
}

body.voice-catalog-page .content :is(.pagination__link, .pagination li a, .pager li a):is(:hover, :focus-visible),
body.voice-catalog-page .content :is(.pagination__item--active a, .pagination .active a, .pager .active a) {
  border-color: var(--studio-accent);
  background: var(--studio-accent);
  color: #fff;
}

/* Legacy catalogue cards are still used by the direct-contacts route. Give
   them the same contained card surface as the rest of the public catalogue. */
body.voice-catalog-page .s-base .card {
  width: 200px;
  min-height: 300px;
  margin: 0;
}

body.voice-catalog-page .s-base .card__wrapper {
  min-height: 300px;
  border: 1px solid var(--studio-line);
  border-radius: 20px;
  box-shadow: var(--studio-shadow);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.voice-catalog-page .s-base .card__wrapper:is(:hover, :focus-within) {
  z-index: 2;
  border-color: rgba(193, 73, 46, .48);
  box-shadow: 0 18px 36px rgba(55, 61, 107, .16);
  transform: translateY(-3px);
}

body.voice-catalog-page .s-base .card__name,
body.voice-catalog-page .s-base .card__price,
body.voice-catalog-page .s-base .card__descr {
  text-align: center;
}

/* Dialect routes use the older foreign-voice card partial.  Keep its special
   and regular cards visually identical, and let a profile link stay a normal
   in-site navigation instead of exposing the legacy hover arrow. */
body.voice-catalog-page .s-base--foreigner-dialect .card__wrapper,
body.voice-catalog-page .s-base--foreigner-dialect .card.featured .card__wrapper {
  top: auto;
  left: auto;
  background: #f4f4f6;
  box-shadow: 0 0 0 1px rgba(59, 65, 115, .1);
}

body.voice-catalog-page .s-base--foreigner-dialect .card.featured .card__wrapper {
  box-shadow: 0 0 0 1px rgba(59, 65, 115, .1);
}

body.voice-catalog-page .s-base--foreigner-dialect .card__name a {
  color: var(--studio-accent);
  text-decoration-color: rgba(193, 73, 46, .55);
}

body.voice-catalog-page .s-base--foreigner-dialect .card__name a .svg-icon,
body.voice-catalog-page .s-base--foreigner-dialect .card__wrapper:hover .card__name a .svg-icon {
  display: none;
}

body.voice-catalog-page .s-base--foreigner-dialect .card__lang,
body.voice-catalog-page .s-base--foreigner-dialect .card__price {
  color: var(--studio-ink);
}

@media (max-width: 700px) {
  body.voice-catalog-page .content :is(
    .card-price__in,
    .card-speaker,
    .card-video,
    .voice-card,
    .speaker-card,
    .article-card,
    .blog-card,
    .s-base__item,
    .s-base__card,
    .service-card
  ) {
    border-radius: 16px;
  }
}
