body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-stretch: normal;
  font-optical-sizing: auto;
  color: #373737;
}

a {
  text-decoration: none;
  color: #373737;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}

a:hover {
  text-decoration: underline;
}
.phone {
  text-decoration: none;
  color: #373737;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}

img {
  max-width: 100%;
  height: auto;
}

h5 {
  text-decoration: none;
  font-weight: 400;
  color: #7e7e7e;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

.footer_contact {
  text-decoration: none;
  font-weight: 200;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

.polit {
  text-decoration: none;
  font-weight: 200;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

.card img {
  border-radius: 10px;
}
.cont1 {
  margin-top: 15px;
  font-size: 20px;
}

.cont1 a {
  margin-top: 15px;
}

.cp {
  cursor: pointer;
}

.lonev1 {
  width: 100%;
  height: 1px;
  background: #5b539e;
  background: linear-gradient(
    90deg,
    rgba(91, 83, 158, 1) 0%,
    rgba(240, 202, 50, 1) 50%,
    rgba(166, 64, 44, 1) 100%
  );
}

footer a {
  color: #373737;
}

main {
  margin-top: 3rem !important;
  margin-bottom: 6rem !important;
  min-height: 75vh;
}


.menu a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px; /* отступ от текста */
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(91, 83, 158, 1) 0%,
    rgba(240, 202, 50, 1) 50%,
    rgba(166, 64, 44, 1) 100%
  );
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.main_pic {
  width: 100%;
  height: 395px;
  border-radius: 4px;
  background-size: cover!important;
  background-repeat: no-repeat!important;
  background-position: center!important;
}
/* Стиль для постоянного градиентного подчеркивания */
a.gradient-permanent {
    display: inline-block;
    position: relative;
}

a.gradient-permanent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px; /* Отступ от текста */
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(91, 83, 158, 1) 0%,
        rgba(240, 202, 50, 1) 50%,
        rgba(166, 64, 44, 1) 100%
    );
    border-radius: 2px;
}

.footermt img {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .logo img {
    height: 80px;
  }
  .menu {
    margin-top: 35px;
  }
  main {
    margin-top: 1rem !important;
  }
  .fxbot15 {
    margin-bottom: 50px!important;
  }

  .main_pic {
    height: 518px;
  }

  .actor-page .back-link {
    font-size: 32px!important;
  }
}

.textinfo strong {
  font-size: 14px;
  color: #373737;
  line-height: 100%;
  letter-spacing: 0%;
  font-weight: 200;
}

.textinfo span {
    font-size: 16px;
  color: #373737;
  line-height: 100%;
  letter-spacing: 0%;
  font-weight: 500;
}

.textstrong strong {
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  font-weight: 500;
}

.actor-page {
  margin-bottom: 75px!important;
}

.actor-page .main-photo {
  width: 100%;
  border-radius: 10px;
}

.actor-page .gallery img {
  border-radius: 6px;
}

.actor-page .back-link {
  font-size: 36px;
  color: #373737;
  line-height: 100%;
  letter-spacing: 0%;
  font-weight: 200;
      margin-bottom: 30px;
}

.actor-page h5 {
  font-size: 18px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.actor-page ul {
  padding-left: 1rem;
}

.actor-page .row.small {
  font-size: 14px;
}

/* Левый блок на странице актёра */
.actor-left .media-top{
  display: grid;
  gap: 16px;
}

/* на мобилке — в столбик; на десктопе — 2 колонки:
   слева большое фото, справа сетка 3×3 миниатюр */
@media (min-width: 768px){
  .actor-left .media-top{
    grid-template-columns: minmax(0,1fr) 280px; /* ширину правого столбца можно подогнать 260–320px */
    align-items: start;
  }
  .actor-left .thumbs{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-content: start; /* чтобы сетка прилипала к верху */
}
}

/* Большое фото как квадрат с обрезкой — как в макете */
.actor-left .main-photo{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

/* Сетка миниатюр 3×3 справа от большого фото */
.actor-left .thumbs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-content: start; /* чтобы сетка прилипала к верху */
}

.actor-left .thumb{
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
}

.actor-left .thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px){
  .actor-left .thumbs{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-content: start; /* чтобы сетка прилипала к верху */
  }
}

/* Заголовки над видео чуть плотнее к плееру, как в макете */
.actor-left h5{
  margin-bottom: 1.5rem;
    font-size: 20px;
  color: #373737;
  line-height: 100%;
  letter-spacing: 0%;
  font-weight: 200;
}


.cp {
  cursor: pointer;
}

video {
      border-radius: 5px;
}