/* ===== WordPress additions for the Aixor theme ===== */

/* Fixed header must sit below the admin bar */
.admin-bar .header-menu-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .header-menu-wrap { top: 46px; } }

/* Post / page content written in the block editor – same look as the template's .blog-content-box */
.blog-detail-sec .blog-detail-content-wrap .entry-content { display: contents; }
.blog-detail-sec .blog-detail-content-wrap .aixor-post-head { margin-bottom: -30px; }
.blog-detail-sec .blog-detail-content-wrap .entry-content > p,
.blog-detail-sec .blog-detail-content-wrap .entry-content > ul li,
.blog-detail-sec .blog-detail-content-wrap .entry-content > ol li {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
}
.blog-detail-sec .blog-detail-content-wrap .entry-content > h2,
.blog-detail-sec .blog-detail-content-wrap .entry-content > h3,
.blog-detail-sec .blog-detail-content-wrap .entry-content > h4 {
    margin: 0;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -1px;
    font-weight: 400;
}
.blog-detail-sec .blog-detail-content-wrap .entry-content > ul,
.blog-detail-sec .blog-detail-content-wrap .entry-content > ol {
    margin-bottom: 7px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.blog-detail-sec .blog-detail-content-wrap .entry-content > figure { margin: 0; }
.blog-detail-sec .blog-detail-content-wrap .entry-content blockquote {
    margin: 0;
    padding-left: 24px;
    border-left: 2px solid currentColor;
    font-size: 24px;
    line-height: 32px;
}
.aixor-page-content .blog-detail-content-wrap { margin: 0 auto; max-width: 1000px; padding: 40px 0 80px; }

/* Single project / service content written in the editor */
.project-single-content-wrap > p,
.project-single-content-wrap > ul,
.project-single-content-wrap > h2,
.project-single-content-wrap > h3 { max-width: 900px; margin-left: auto; margin-right: auto; }
.project-single-content-wrap .wp-block-image img { width: 100%; height: auto; }

/* Pagination */
.navigation.pagination { margin: 60px 0 0; }
.navigation.pagination .nav-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.navigation.pagination .page-numbers {
    min-width: 46px; height: 46px; padding: 0 16px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid currentColor; border-radius: 50px; font-size: 16px; font-weight: 500;
    text-decoration: none; color: inherit; transition: all .3s ease;
}
.navigation.pagination .page-numbers.current,
.navigation.pagination a.page-numbers:hover { background: #111; color: #fff; border-color: #111; }

.aixor-empty { padding: 60px 0; font-size: 20px; }

/* Comments */
.comment-box .comment-body .reply-btn,
.comment-box .comment-body .comment-reply-link { text-decoration: none; }
.comment-box .comment-body .comment-reply-link { display: inline-flex; align-items: center; gap: 8px; }
.comment-box > img.avatar { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; }
.comment-form input, .comment-form textarea { width: 100%; }

/* Contact form feedback */
#result.text-green-500 { color: #16a34a; }
#result.text-red-500 { color: #dc2626; }

/* WordPress core alignment helpers */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute; left: -9999px; }
