html { scroll-behavior: smooth; }
.scroll { scroll-margin-top: calc(var(--header-h, 68px) + 24px); }
[hidden] { display: none !important; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } }

.article-wrap__content { display: flex; flex-direction: column; gap: 24px; }
.article-wrap__content h2 { font-size: 40px; font-weight: 400; line-height: 45px; letter-spacing: -0.4px; color: #0d111a; }
.article-wrap__content h3 { font-size: 22px; font-weight: 400; line-height: 30px; color: #0d111a; }
.article-wrap__content p { font-family: "HelveticaNeue", Arial, sans-serif; font-size: 16px; line-height: 26px; color: #5a6478; }
.article-wrap__content a { color: #3167d8; text-decoration: underline; transition: opacity .3s; }
.article-wrap__content a:hover { opacity: .7; }
.article-wrap__content ul, .article-wrap__content ol { display: flex; flex-direction: column; gap: 12px; padding-left: 0; list-style: none; }
.article-wrap__content ol { list-style: decimal inside; }
.article-wrap__content ul li { position: relative; padding-left: 28px; font-family: "HelveticaNeue", Arial, sans-serif; font-size: 16px; line-height: 26px; color: #5a6478; }
.article-wrap__content ul li::before { content: ''; position: absolute; top: 3px; left: 0; width: 16px; height: 20px; background: url(img/main/privacy-bullet.svg) center / contain no-repeat; }
.article-wrap__content ol li { font-family: "HelveticaNeue", Arial, sans-serif; font-size: 16px; line-height: 26px; color: #5a6478; }
.article-wrap__content img { max-width: 100%; height: auto; border-radius: 20px; }
.article-wrap__content blockquote { margin: 0; padding: 20px 24px; border-left: 3px solid #3167d8; border-radius: 0 20px 20px 0; background: #f1f7fd; }
.article-wrap__content table { width: 100%; border-collapse: collapse; }
.article-wrap__content th, .article-wrap__content td { padding: 12px 16px; border: 1px solid #dadeea; font-size: 16px; line-height: 26px; text-align: left; }

.cc-form .wpcf7, .cc-form .wpcf7-form { display: contents; }
.cc-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.cc-form .wpcf7-spinner { display: none; }
body .cc-form .wpcf7 form .wpcf7-response-output { display: none !important; }
.cc-form .wpcf7-form.submitting .btn { opacity: .7; pointer-events: none; }
.cc-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; line-height: 16px; color: #e5484d; }
.cc-form input.wpcf7-not-valid, .cc-form textarea.wpcf7-not-valid, .cc-form select.wpcf7-not-valid { border-color: #e5484d !important; }
.cc-form .contact-wrap__select .choices.is-invalid .choices__inner { border-color: #e5484d; }

.modal__box { position: relative; width: 100%; max-width: 480px; max-height: 90vh; margin: auto; padding: 48px 40px 40px; overflow-y: auto; border-radius: 32px; background: #fff; text-align: center; box-shadow: 0 24px 60px -12px rgba(0, 13, 51, .25); }
.modal__box--form { max-width: 640px; text-align: left; }
.modal__close { position: absolute; top: 16px; right: 16px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #eef1f6; cursor: pointer; transition: background-color .3s; }
.modal__close:hover { background: #e1e7f2; }
.modal__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: #3167d8; }
.modal__title { margin: 0 0 12px; font-size: 28px; font-weight: 400; line-height: 34px; color: #0d111a; }
.modal__text { margin: 0 0 24px; font-family: "HelveticaNeue", Arial, sans-serif; font-size: 16px; line-height: 26px; color: #5a6478; }
.modal__box .btn { margin: 0 auto; }
.modal__form { display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 767px) {
    .modal__box { padding: 40px 20px 24px; border-radius: 24px; }
    .modal__title { font-size: 22px; line-height: 28px; }
}

.contact-wrap__field .wpcf7-form-control-wrap { display: block; width: 100%; }
.contact-wrap__area .wpcf7-form-control-wrap { flex: 1 0 0; min-height: 1px; display: flex; }
.contact-wrap__area .wpcf7-form-control-wrap textarea { flex: 1 0 0; min-height: 1px; height: 100%; }
.contact-wrap__select .wpcf7-form-control-wrap { display: block; }
.modal__fields { display: flex; flex-direction: column; gap: 16px; }
.modal__fields .contact-wrap__field { display: flex; flex-direction: column; gap: 8px; }
.modal__fields .contact-wrap__label { font-size: 14px; line-height: 20px; color: #5a6478; }
.modal__fields .contact-wrap__label span { color: #e5484d; }
.modal__fields .contact-wrap__input { width: 100%; height: 48px; padding: 0 16px; border: 1px solid #dadeea; border-radius: 10px; background: #fff; font-size: 16px; color: #0d111a; }
.modal__fields .contact-wrap__input:focus { border-color: #0d111a; outline: none; }
.modal__fields .btn { margin-top: 8px; }
