/* Original design. Only text colors on light surfaces are adjusted. */
@media screen {
  :where(.main-content, .sidebar, .contact-copy, .footer, .subscribe-card) p, .faq-item > div {
    color: #4b566b;
  }

  .card-kicker, .subscribe-card .card-kicker,
  .nav-caption, .nav-group, .section-index,
  .section-heading h2 span, .values-row > span,
  .membership-price span, .big-price > span,
  .diploma-tag, .service-meta, .community-note h3 span,
  .contact-details, .footer-top > div > p > span,
  .footer-top > div > a:not(.brand), .footer-bottom,
  .check-list, .fact-row span, .catalog-toolbar > span,
  .document-links small, .rewards-table,
  .date-field-label > span, .birth-calendar-footer > span,
  .birth-calendar-weekdays span,
  .newsletter label:not(.consent),
  .question-form > label:not(.consent), .question-form .field-row > label,
  .consent, .newsletter .consent, .question-form .consent, .subscribe-bottom {
    color: #526079;
  }

  .eyebrow:not(.light), .label, .version,
  .text-link:not(.light-link), .btn-outline, .btn-white,
  .sidebar nav > a.active, .sidebar nav > a:hover,
  .sidebar-future > a, .soon, .sidebar-help,
  .student-link, .membership-copy .student-link,
  .community-note a, .telegram-link, .renewal,
  .status-timeline article > span, .steps > li::before,
  .fact-row strong, .requirement-tags span,
  .filter-btn, .filter-btn.active,
  .legal-copy a, .document-links > a,
  .rewards-table th, .rewards-table td:first-child,
  .birth-calendar select, .birth-calendar-footer > button,
  .birth-calendar-heading button, .date-picker-toggle {
    color: #405987;
  }

  .newsletter-row input::placeholder, .email-input input::placeholder,
  .question-form input::placeholder, .question-form textarea::placeholder,
  .search-field input::placeholder,
  .date-input:not(.has-value) input:not(:focus) {
    color: #59667c;
  }

  .policy-sidebar .policy-toc > a, .policy-back,
  .policy-toc-number, .policy-meta-label,
  .policy-date, .policy-domain, .policy-clause-number,
  .policy-document-end {
    color: #526079;
  }

  .policy-intro, .policy-preface, .policy-clause > p {
    color: #3c485d;
  }

  .policy-section-number, .policy-section:target > h2,
  .policy-document a, .policy-print {
    color: #405987;
  }

  .bitrix-form .b24-form-control,
  .bitrix-form .b24-form-control-label,
  .bitrix-form .b24-form-control-desc,
  .bitrix-form .b24-form-control-string,
  .bitrix-form .b24-form-control-list .b24-form-control,
  .bitrix-form .b24-form-control-product-price,
  .bitrix-form .b24-form-control-product-quantity-counter,
  .bitrix-form .b24-form-control-select-label {
    color: #26334a;
  }

  .bitrix-form .b24-form-control::placeholder {
    color: #59667c;
  }
}
