/*
Theme Name:   Ishant Enterprises
Theme URI:    https://ishantenterprises.com/
Author:       Ishant Enterprises
Author URI:   https://ishantenterprises.com/
Description:  Custom theme for Ishant Enterprises — MS portable office containers, porta cabins and modular structures. Includes Products (with managed Product Categories) and Articles post types.
Version:      1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  ishant
*/

/* Layout utilities are provided by Tailwind (assets/js/tailwind.js + tailwind-config.js).
   This file only holds rules Tailwind's runtime cannot express. */

html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body { overscroll-behavior: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.scrollbar-none { scrollbar-width: none; }
.scrollbar-none::-webkit-scrollbar { display: none; }

/* WordPress core classes */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff; clip: auto !important; clip-path: none; color: #0a2540;
	display: block; height: auto; left: 8px; padding: 12px 20px; top: 8px; width: auto; z-index: 100000;
}
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 12px; color: #64748B; }

/* Prose for editor-managed content (articles, products, generic pages). */
.ishant-prose { color: #1E293B; line-height: 1.75; }
.ishant-prose > * + * { margin-top: 1rem; }
.ishant-prose h2 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.5rem; line-height: 2rem; font-weight: 700; color: #0a2540; margin-top: 2rem; }
.ishant-prose h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: #0a2540; margin-top: 1.5rem; }
.ishant-prose h4 { font-weight: 700; color: #0a2540; margin-top: 1.25rem; }
.ishant-prose a { color: #15803d; font-weight: 600; }
.ishant-prose a:hover { text-decoration: underline; }
.ishant-prose ul { list-style: disc; padding-left: 1.5rem; }
.ishant-prose ol { list-style: decimal; padding-left: 1.5rem; }
.ishant-prose li + li { margin-top: .25rem; }
.ishant-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ishant-prose th, .ishant-prose td { border: 1px solid #E2E8F0; padding: .5rem .625rem; text-align: left; }
.ishant-prose thead { background: #e5eeff; color: #0a2540; }
.ishant-prose img { max-width: 100%; height: auto; border-radius: .75rem; }
.ishant-prose blockquote { border-left: 4px solid #15803d; padding-left: 1rem; font-style: italic; color: #43474d; }

/* Legal pages: sections come from the editor; keep spacing between section cards. */
.ishant-legal > * + * { margin-top: 2rem; }
.ishant-legal h2 { scroll-margin-top: 12rem; }

/* Header mobile menu */
.ishant-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.ishant-mobile-menu li a { display: block; padding: .625rem .75rem; border-radius: .375rem; font-weight: 600; font-size: 14px; color: #0a2540; }
.ishant-mobile-menu li a:hover { background: #eff4ff; color: #15803d; }
.ishant-mobile-menu li.current-menu-item > a, .ishant-mobile-menu li.current-menu-ancestor > a { background: #e5eeff; color: #0a2540; }
.ishant-mobile-menu .sub-menu { padding-left: 1rem; border-left: 2px solid #E2E8F0; margin-left: .75rem; }
.ishant-mobile-menu .sub-menu a { font-weight: 500; font-size: 13px; }

/* Pagination (paginate_links output) */
.ishant-pagination .page-numbers {
	min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem; border-radius: .5rem;
	display: inline-flex; align-items: center; justify-content: center;
	background: #eff4ff; color: #0b1c30; font-weight: 600; font-size: 12px; transition: background-color .15s;
}
.ishant-pagination a.page-numbers:hover { background: #e5eeff; }
.ishant-pagination .page-numbers.current { background: #0f2b5c; color: #fff; }
.ishant-pagination .page-numbers.dots { background: transparent; }
