/*
Theme Name: Habras Technologies
Theme URI: https://habras.tech
Author: Habras Technologies
Author URI: https://habras.tech
Description: Premium, conversion-focused theme for Habras Technologies — a technology solutions company. Full-width marketing pages (Home, About, Services, Portfolio, Industries, Contact) plus a built-in blog. Deep-blue / electric-blue / cyan brand system, server-rendered navigation, scroll animations and a working contact form.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: habras
*/

/* -----------------------------------------------------------
   The real design system lives in:
     assets/styles.css   (tokens, header, footer, buttons, cards)
     assets/pages.css    (inner-page components)
     assets/home.css     (hero + shared section components)
   All three are enqueued from functions.php.
   This file holds only WordPress-specific adjustments.
   ----------------------------------------------------------- */

/* Active nav state for wp_nav_menu output */
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links a.active { color: var(--blue); }
.nav-links li { list-style: none; }
.nav-links { margin: 0; padding: 0; }

/* WordPress core alignment + caption classes for post content */
.entry-content { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.5rem,3vw,2rem); margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img, .wp-caption img { border-radius: var(--r-md); height: auto; }
.entry-content blockquote { border-left: 3px solid var(--blue); padding-left: 22px; font-size: 1.15rem; color: var(--ink); font-style: italic; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin: 6px 0; }
.entry-content figure { margin: 1.6em 0; }
.aligncenter { margin-inline: auto; display: block; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 600; color: var(--ink-2); transition: all .2s; }
.pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Admin bar offset for sticky header */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px){ body.admin-bar .site-header { top: 46px; } }

/* Single post layout */
.post-hero { background: var(--ink); color: #CBD5E1; padding-top: clamp(48px,6vw,80px); padding-bottom: clamp(40px,5vw,64px); }
.post-hero h1 { color: #fff; font-size: clamp(2rem,4.4vw,3.1rem); margin-top: 16px; max-width: 22ch; }
.post-hero .post-meta { display: flex; gap: 14px; align-items: center; margin-top: 20px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); flex-wrap: wrap; }
.post-body { max-width: 760px; margin-inline: auto; padding-block: clamp(48px,6vw,80px); }
.post-feature-img { max-width: var(--maxw); margin: -60px auto 0; padding-inline: var(--gutter); position: relative; z-index: 2; }
.post-feature-img img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.comments-area { max-width: 760px; margin: 0 auto; padding-bottom: 80px; }
.comments-area .comment-list { list-style: none; padding: 0; }

/* Accessibility helpers */
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed !important; top: 10px; left: 10px; z-index: 200;
	background: #fff; color: var(--blue); padding: 12px 20px; border-radius: var(--r-sm);
	box-shadow: var(--sh-md); font-weight: 600;
}
