/*
Theme Name: Альтек Системс — полный редизайн
Theme URI: https://altecsystems.ru/
Author: Альтек Системс
Author URI: https://altecsystems.ru/
Description: Полная WordPress-версия нового сайта Альтек Системс с собственным дизайном, маршрутизацией, видео, анимациями, услугами, проектами и статьями.
Version: 5.0.35.7
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: altek-redesign
*/

/* WordPress compatibility. The visual system itself is in assets/css/site.css. */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .article-progress { top: 135px; }

.alignwide { width: min(1180px, calc(100vw - 48px)); max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.wp-caption, .wp-caption img, .wp-block-image img { max-width: 100%; height: auto; }
.wp-caption-text, .wp-element-caption { margin-top: 10px; color: #7f8b9d; font-size: 12px; line-height: 1.55; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; height: auto; }

.pagination .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 54px 0 0; padding: 0; list-style: none; }
.pagination a, .pagination span { display: grid; min-width: 46px; height: 46px; place-items: center; padding: 0 12px; border: 1px solid rgba(150,170,200,.3); border-radius: 999px; text-decoration: none; }
.pagination .current, .pagination a:hover { background: #2568ff; color: #fff; border-color: #2568ff; }

.contact-form .wpcf7 form { display: grid; gap: 20px; margin: 0; }
.contact-form .wpcf7 p { margin: 0; }
.contact-form .wpcf7 label { display: block; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .contact-form .wpcf7 textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.17); border-radius: 0; outline: 0; background: transparent; color: white; }
.contact-form .wpcf7 input[type="submit"] { width: 100%; min-height: 55px; border: 0; border-radius: 13px; background: #2568ff; color: white; cursor: pointer; }
.contact-form .wpcf7-spinner { display: none; }
.contact-form .wpcf7-response-output { margin: 18px 0 0 !important; padding: 13px 16px !important; border: 1px solid rgba(128,170,255,.45) !important; border-radius: 10px; color: white; font-size: 12px; }
.contact-form .wpcf7-not-valid-tip { padding-top: 6px; color: #ff9ea5; font-size: 11px; }
.contact-form .wpcf7-acceptance .wpcf7-list-item { display: block; margin: 0; }
.contact-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; border: 0; cursor: pointer; }
.contact-form .wpcf7-acceptance input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #2568ff; }
.contact-form .wpcf7-acceptance .wpcf7-list-item-label { margin: 0; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.55; letter-spacing: 0; text-transform: none; }
.contact-form .wpcf7-acceptance a { color: rgba(255,255,255,.9); text-decoration: underline; text-underline-offset: 3px; }

.hero__content .section-tag { margin-bottom: 30px; }
.service-tab-panel[hidden], .testimonial[hidden] { display: none !important; }
.service-detail-intro__copy > :first-child, .case-rich-content > :first-child, .article-detail__content > :first-child { margin-top: 0; }
.editorial__aside .button { margin-top: 30px; }
.nav-links { margin-top: 52px; display: flex; justify-content: center; gap: 8px; }
.nav-links .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border: 1px solid rgba(18,33,54,.14); border-radius: 999px; background: #fff; }
.nav-links .page-numbers.current { border-color: #2568ff; background: #2568ff; color: #fff; }

.altek-empty { padding: 70px 0; text-align: center; }
.altek-empty h2 { margin: 0 0 18px; }
.contacts-page { background: #eef0f2; }
.entry-content { max-width: 960px; font-size: 17px; line-height: 1.75; }
.entry-content h2 { margin: 58px 0 18px; font-size: clamp(30px, 3vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.entry-content img { max-width: 100%; height: auto; border-radius: 16px; }
.legal-page__section { background: #f2f4f7; }
.legal-page__content { padding: clamp(30px, 5vw, 72px); border: 1px solid rgba(26,49,80,.1); border-radius: 24px; background: #fff; box-shadow: 0 24px 70px rgba(24,43,68,.06); }
.legal-page__content h2:first-child { margin-top: 0; }
.legal-page__content h2 { margin: 46px 0 16px; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.3; letter-spacing: -.018em; font-weight: 700; }
.legal-page__content h3, .legal-page__content h4 { margin: 34px 0 13px; font-size: 19px; line-height: 1.35; letter-spacing: -.01em; font-weight: 700; }
.legal-page__content p, .legal-page__content li { font-size: 16px; line-height: 1.75; }
.legal-page__content ul { padding-left: 1.35em; }
.legal-page__content a { color: #175dde; text-decoration: underline; text-underline-offset: 3px; }
.legal-details { margin: 34px 0 0; border-top: 1px solid rgba(20,42,72,.14); }
.legal-details > div { display: grid; grid-template-columns: minmax(180px,.55fr) 1fr; gap: 28px; padding: 18px 0; border-bottom: 1px solid rgba(20,42,72,.14); }
.legal-details dt { color: #667181; }
.legal-details dd { margin: 0; color: #0b1421; }
.empty-state { grid-column: 1 / -1; min-height: 320px; display: grid; place-content: center; text-align: center; }

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar .article-progress { top: 149px; }
}

@media (max-width: 720px) {
	.alignwide { width: calc(100vw - 28px); }
	.gallery { grid-template-columns: 1fr; }
	.contacts-page .contact-cards { grid-template-columns: 1fr; }
	.legal-details > div { grid-template-columns: 1fr; gap: 5px; }
}
