/* DLE static pages, feedback form and info messages in the tvcom.uz look. */
.service-page:has(.static-page,.feedback-page) { width: min(90%, 1146px); margin: 0 auto; padding: 40px 0 70px; }
.service-page:has(.sp-own-head) { width: calc(100% - 48px); max-width: 1360px; }
.static-page { color: #fff; }
.static-edit { text-align: right; font-size: 14px; }
.static-edit a { color: rgba(255,255,255,.45); }
.static-title { font-size: 24px; font-weight: 700; margin: 10px 0; }
.static-page:has(.sp-own-head) .static-title { display: none; }
.static-body a { color: #e41a4b; }
.static-body img { max-width: 100%; }

/* Plain text pages (policy, offer) */
.sp-text { font-size: 16px; line-height: 20px; overflow-wrap: anywhere; }
.sp-text h3 { font-size: 18.72px; font-weight: 700; line-height: normal; margin: 10px 0 0; }
.sp-text h3:not(:first-child) { margin-top: 16px; }
.sp-offer .offer-title { font-size: 24px; font-weight: 700; margin: 10px 0 16px; }
.sp-offer p { margin: 0 0 8px; }
.sp-offer .row { display: flex; gap: 10px; }
.sp-offer .label { flex: 0 0 auto; min-width: 3.2em; }
.sp-offer h3 span { margin-right: 6px; }

/* FAQ accordion on native <details> */
.faq .answer { background: #1c1c1c; border-radius: 7px; margin: 20px 0; padding: 20px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { font-size: 24px; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin: -4px 6px 0; border: solid rgba(255,255,255,.7); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq .answer[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq .answerBlock { font-size: 16px; margin-top: 20px; line-height: 20px; }
.faq .answerBlock p { margin: 0; }

/* Payment methods */
.pay .title { font-size: 28px; margin: 0 0 20px; }
.pay .way { display: flex; align-items: center; background: #1c1c1c; border-radius: 7px; padding: 20px; }
.pay .way h2 { margin: 0 20px 0 0; font-size: 24px; font-weight: 700; }
.pay .way p { margin: 0; font-size: 20px; }
.pay .cards { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.pay .item { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 7px; width: 293px; height: 142px; max-width: 100%; }
.pay .payIcon { width: 182px; max-width: 80%; }

/* Buttons shared by about/job */
.btn-grey, .btn-red { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 40px; border-radius: 10px; font-size: 18px; font-weight: 500; color: #fff !important; text-decoration: none; transition: .3s; }
.btn-grey { background: #272727; }
.btn-red { background: #e41a4b; }
.btn-grey:hover, .btn-red:hover { filter: brightness(1.2); }

/* About */
.aboutPage { min-height: 60vh; }
.aboutPageHead { padding: 0 0 40px; }
.aboutPageHead__wrapper { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.aboutPageHead h1 { font-size: 32px; font-weight: 600; letter-spacing: .32px; margin: 0; }
.aboutPagebanner__wrapper { display: flex; flex-direction: column; align-items: center; gap: 50px; padding: 130px 80px; border-radius: 20px; background: radial-gradient(55% 70% at 0 0, rgba(168,28,52,.85), transparent 70%), radial-gradient(40% 55% at 100% 100%, rgba(168,28,52,.8), transparent 70%), #141414; }
.aboutPagebanner__logo { width: 275px; max-width: 100%; }
.aboutPagebanner__logo img { display: block; width: 100%; height: auto; }
.aboutPagebanner__title { font-size: 40px; font-weight: 600; letter-spacing: .4px; text-align: center; }
.aboutPageList { padding: 20px 0 50px; }
.aboutPageList__wrapper { display: flex; flex-wrap: wrap; gap: 15px; }
.aboutPageList__item { display: flex; flex: 1 1 300px; flex-direction: column; justify-content: space-between; min-height: 250px; padding: 47px 40px; border-radius: 20px; background: linear-gradient(132deg, #383838, #111); color: #fff !important; text-decoration: none; transition: .3s; }
.aboutPageList__item--wide { flex-basis: 100%; }
.aboutPageList__item--img { padding: 0; overflow: hidden; }
.aboutPageList__item--img .aboutPageList__item_head { padding: 47px 40px 0; }
.aboutPageList__item svg { flex: 0 0 auto; transition: .3s; }
.aboutPageList__item:hover svg path { stroke: #e41a4b; }
.aboutPageList__item_head { display: flex; align-items: center; gap: 16px; }
.aboutPageList__item_head p { font-size: 30px; font-weight: 600; letter-spacing: .32px; margin: 0; }
.aboutPageList__item_text { font-size: 20px; color: rgba(255,255,255,.5); }
.aboutPageList__item_img img { display: block; width: 100%; height: auto; }
.aboutPagePartners { padding: 50px 0; overflow: hidden; }
.aboutPagePartners__title { font-size: 40px; font-weight: 600; line-height: 50px; text-align: center; margin-bottom: 65px; }
.aboutPagePartners .slider { overflow: hidden; width: 100%; }
.aboutPagePartners .slider-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.aboutPagePartners .slide { flex: 0 0 auto; width: 200px; margin-right: 0; border-radius: 20px; background: #1f1f1f; overflow: hidden; }
.aboutPagePartners .slide__wrapper { position: relative; padding-bottom: 72%; }
.aboutPagePartners .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .aboutPagePartners .slider-track { animation: none; } }
.aboutPageGo { padding: 50px 0 40px; }
.aboutPageGo__wrapper { display: flex; flex-direction: column; gap: 40px; max-width: 1053px; margin: 0 auto; }
.aboutPageGo__title { font-size: 40px; font-weight: 600; line-height: 50px; text-align: center; }
.aboutPageGo__subtitle { font-size: 24px; color: rgba(255,255,255,.5); text-align: center; }
.aboutPageGo__content { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 75px; }
.aboutPageGo__content_item { display: flex; align-items: center; gap: 16px; color: #fff !important; text-decoration: none; }
.aboutPageGo__content_item_icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #282828; }
.aboutPageGo__content_item_text { font-size: 24px; font-weight: 500; transition: .3s; }
.aboutPageGo__content_item:hover .aboutPageGo__content_item_text { color: #e41a4b; }

/* Vacancies */
.vacaBanner__wrapper { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 300px; padding: 40px 55px; border-radius: 20px; background: radial-gradient(70% 90% at 50% 120%, rgba(168,28,52,.85), transparent 70%), #141414; }
.vacaBanner__title { font-size: 40px; font-weight: 700; letter-spacing: .4px; margin-bottom: 30px; }
.vacaBanner__subtitle { font-size: 32px; font-weight: 500; }
.vacaBanner__logo { width: 349px; max-width: 40%; height: auto; }
.vacaJobs { padding: 65px 0 50px; }
.vacaJobs__title, .vacaWhat__title { font-size: 40px; font-weight: 600; letter-spacing: .4px; margin: 0 0 20px; }
.vacaJobs__content { display: flex; align-items: center; gap: 30px; max-width: 920px; padding: 38px 32px; border-radius: 20px; background: #1f1f1f; }
.vacaJobs__content img { width: 230px; max-width: 30%; height: auto; }
.vacaJobs__body { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.vacaJobs__subtitle { font-size: 28px; font-weight: 700; }
.vacaJobs__text { font-size: 20px; max-width: 604px; }
.vacaWhat { padding-bottom: 65px; }
.vacaWhat__title { margin-bottom: 50px; }
.vacaWhat__content { display: flex; gap: 24px; overflow-x: auto; }
.vacaWhat__item { flex: 1 0 250px; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; min-height: 300px; padding: 30px 25px; border-radius: 20px; background: linear-gradient(160deg, #2d2d2d, #101010); }
.vacaWhat__item_title { font-size: 24px; font-weight: 600; }
.vacaWhat__item_text { font-size: 16px; color: #e1e1e1; }
.vacaForm__wrapper { display: flex; flex-direction: column; align-items: center; padding: 70px 140px; border-radius: 40px; background: #1f1f1f; text-align: center; }
.vacaForm__title { font-size: 40px; font-weight: 600; margin-bottom: 20px; }
.vacaForm__subtitle { font-size: 24px; color: rgba(255,255,255,.5); margin-bottom: 40px; }

/* Feedback: styled like the resume form on /job */
.feedback-card { background: #1f1f1f; border-radius: 30px; padding: 60px; }
.feedback-head { text-align: center; margin-bottom: 40px; }
.feedback-title { font-size: 40px; font-weight: 600; line-height: 50px; margin: 0 0 12px; }
.feedback-sub { font-size: 24px; color: rgba(255,255,255,.5); margin: 0; }
.feedback-body { display: flex; gap: 40px; align-items: flex-start; }
.feedback-contacts { display: flex; flex-direction: column; gap: 24px; flex: 0 0 280px; padding-top: 6px; }
.feedback-contact { display: flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; }
.feedback-contact__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: #282828; }
.feedback-contact__text { font-size: 22px; font-weight: 500; transition: .3s; overflow-wrap: anywhere; }
.feedback-contact:hover .feedback-contact__text { color: #e41a4b; }
.feedback-form { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.feedback-row { display: flex; gap: 14px; }
.feedback-row > * { flex: 1 1 0; min-width: 0; }
.feedback-form input[type=text], .feedback-form input[type=email], .feedback-form textarea, .feedback-form select { width: 100%; box-sizing: border-box; background: #282828; border: 1px solid transparent; border-radius: 10px; color: #fff; font: 500 16px/110% Inter, sans-serif; letter-spacing: .16px; outline: none; padding: 16px; resize: none; }
.feedback-form select { appearance: none; }
.feedback-form ::placeholder { color: #9a9a9a; }
.feedback-form input:focus, .feedback-form textarea:focus, .feedback-form select:focus { border-color: rgba(255,255,255,.5); }
.feedback-form input:user-invalid, .feedback-form textarea:user-invalid { border-color: #ec2d30; }
.feedback-recipient { display: flex; flex-direction: column; gap: 8px; }
.feedback-recipient label, .feedback-question label { font-size: 14px; color: rgba(255,255,255,.5); }
.feedback-question { display: flex; flex-direction: column; gap: 8px; }
.feedback-file { position: relative; display: flex; align-items: center; justify-content: center; min-height: 64px; border: 1px dashed #8e8e8e; border-radius: 10px; cursor: pointer; }
.feedback-file input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.feedback-file:focus-within { outline: 2px solid #e41a4b; outline-offset: 2px; }
.feedback-file__name { font-size: 18px; font-weight: 500; color: rgba(255,255,255,.5); }
.feedback-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.feedback-captcha img { border-radius: 6px; }
.feedback-form .feedback-captcha input { flex: 1 1 140px; width: auto; min-width: 0; }
.feedback-submit { align-self: center; height: 50px; margin-top: 10px; padding: 0 40px; border: 0; border-radius: 10px; background: #e41a4b; color: #fff; font: 500 18px Inter, sans-serif; cursor: pointer; transition: .3s; }
.feedback-submit:hover { filter: brightness(1.15); }

/* Info and error messages */
.info-box { max-width: 720px; margin: 20px auto; padding: 28px 30px; border-radius: 20px; background: #1c1c1c; border-left: 4px solid #e41a4b; color: #fff; }
.info-box__title { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.info-box__text { font-size: 16px; line-height: 22px; color: rgba(255,255,255,.75); overflow-wrap: anywhere; }
.info-box__text a { color: #e41a4b; }

@media (max-width: 991.98px) {
  .feedback-body { flex-direction: column; align-items: stretch; gap: 30px; }
  .feedback-contacts { flex: none; flex-direction: row; flex-wrap: wrap; gap: 20px 40px; }
  .vacaForm__wrapper { padding: 50px 40px; }
  .vacaBanner__wrapper { padding: 40px 30px; }
}
@media (min-width: 768px) { .service-page:has(.sp-own-head) { width: calc(100% - 80px); } }
@media (max-width: 575.98px) {
  .service-page:has(.static-page,.feedback-page) { padding-top: 20px; }
  .faq summary h2 { font-size: 18px; }
  .faq .answer { padding: 16px; }
  .pay .title { font-size: 24px; }
  .pay .way p { font-size: 16px; }
  .pay .cards { gap: 12px; }
  .pay .item { width: calc(50% - 6px); height: 100px; }
  .aboutPageHead { padding-bottom: 20px; }
  .aboutPageHead h1 { display: none; }
  .aboutPageHead__wrapper { justify-content: flex-end; }
  .aboutPagebanner__wrapper { padding: 60px 26px; gap: 30px; }
  .aboutPagebanner__logo { width: 100%; }
  .aboutPagebanner__title { font-size: 24px; }
  .aboutPageList__item { min-height: 240px; padding: 32px; }
  .aboutPageList__item_head p { font-size: 26px; }
  .aboutPagePartners__title, .aboutPageGo__title { font-size: 30px; line-height: normal; }
  .aboutPagePartners__title { margin-bottom: 30px; }
  .aboutPageGo__subtitle { font-size: 20px; }
  .aboutPageGo__content_item_text { font-size: 20px; }
  .aboutPagePartners .slide { width: 100px; margin-right: 12px; }
  .vacaBanner__wrapper { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .vacaBanner__title { font-size: 28px; }
  .vacaBanner__subtitle { font-size: 22px; }
  .vacaBanner__logo { max-width: 60%; }
  .vacaJobs__title, .vacaWhat__title, .vacaForm__title { font-size: 28px; }
  .vacaJobs__content { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .vacaJobs__text { font-size: 16px; }
  .vacaForm__wrapper { padding: 40px 20px; border-radius: 30px; }
  .vacaForm__subtitle { font-size: 18px; margin-bottom: 30px; }
  .feedback-card { padding: 30px 20px; border-radius: 20px; }
  .feedback-title { font-size: 28px; line-height: normal; }
  .feedback-sub { font-size: 18px; }
  .feedback-row { flex-direction: column; }
  .feedback-contacts { flex-direction: column; }
  .info-box { padding: 20px; }
}

/* Registration rules step (static page dle-rules-page with the accept form): login-card look */
.service-page:has(.static-page #registration) { width: 100%; max-width: none; margin: 0; min-height: calc(100dvh - 80px); padding: 70px 20px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #000 url('../images/login-bg.jpg') center / cover no-repeat; }
.static-page:has(#registration) { width: 100%; max-width: 640px; margin: auto; padding: 40px; border-radius: 20px; background: #1f1f1f; }
.static-page:has(#registration) .static-title { font-size: 26px; font-weight: 500; text-align: center; margin: 0 0 24px; }
.static-page:has(#registration) .static-body { overflow-wrap: anywhere; }
.static-page:has(#registration) .static-body { font-size: 14px; line-height: 20px; color: #c7c7c7; max-height: none; }
.static-page:has(#registration) .static-body p, .static-page:has(#registration) .static-body ul { margin: 0 0 12px; }
.static-page:has(#registration) .static-body ul { padding-left: 20px; }
.static-page:has(#registration) .static-body b { color: #fff; }
.static-page:has(#registration) form { display: flex; flex-direction: column; gap: 10px; }
.static-page:has(#registration) .bbcodes { display: block; width: 100%; padding: 12px; border: 0; border-radius: 6px; background: #e4104c; color: #fff; font: 500 16px Inter, sans-serif; cursor: pointer; }
.static-page:has(#registration) .bbcodes[type=button] { background: #272727; }
.static-page:has(#registration) .static-body > div:last-child { text-align: center; }
@media (min-width: 577px) { .static-page:has(#registration) .static-body { max-height: 60vh; overflow-y: auto; } .static-page:has(#registration) .static-body > div:last-child { position: sticky; bottom: 0; background: #1f1f1f; padding-top: 10px; } }
@media (max-width: 576px) { .static-page:has(#registration) { padding: 30px 20px; } }

/* Info messages above the auth card */
.service-page:has(.tvcom-auth-page) > .info-box { width: 100%; max-width: 458px; margin: 0 0 20px; background: #1f1f1f; }
.service-page:has(.static-page #registration) > .info-box { max-width: 640px; background: #1f1f1f; }
