/*
Theme Name: SkyTechAI
Theme URI: https://skytechai.co/
Author: SkyTechAI
Author URI: https://skytechai.co/
Description: Custom WordPress theme for SkyTechAI — AI products, custom models, AI-powered ERP and business automation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: skytechai
Tags: custom-logo, custom-menu, featured-images, full-width-template, one-column, responsive-layout
*/

/* ==========================================================================
   WordPress Core & Inner Page Styles
   ========================================================================== */

.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;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--brand-surface-light);
  border-radius: 4px;
  box-shadow: 0 0 2px 2px rgba(20, 33, 61, 0.25);
  clip: auto !important;
  clip-path: none;
  color: var(--brand-dark);
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 8px;
  line-height: normal;
  padding: 12px 18px;
  text-decoration: none;
  top: 8px;
  width: auto;
  z-index: 100000;
}

/* WordPress admin bar sticky header offset */
body.admin-bar .site-header.sticky-top {
  top: 32px;
}

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

/* Inner Page Banner */
.page-banner {
  background-color: var(--brand-surface-light);
  border-bottom: 1px solid var(--brand-border);
  padding: 64px 0 56px;
}

.page-banner--dark {
  background-color: var(--brand-dark);
  border-bottom-color: var(--brand-dark-border);
  color: #FFFFFF;
}

.page-banner--dark .page-banner-lead {
  color: var(--brand-dark-muted);
}

.page-banner-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.page-banner--dark .page-banner-eyebrow {
  color: var(--brand-dark-accent);
}

.page-banner-title {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-banner-lead {
  margin: 18px 0 0;
  font-size: 1.1875rem;
  font-weight: 300;
  color: var(--brand-text-muted);
  max-width: 40rem;
}

/* WordPress Content & Blog Cards */
.wp-entry-content > * + * {
  margin-top: 1.25rem;
}

.wp-entry-content h2,
.wp-entry-content h3,
.wp-entry-content h4 {
  margin-top: 2rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.wp-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.post-card {
  background-color: #FFFFFF;
  border: 1px solid var(--brand-card-border);
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -18px rgba(20, 33, 61, 0.18);
}

.post-card-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}

.post-meta {
  font-size: 0.875rem;
  color: var(--brand-text-subtle);
}

/* Pagination */
.skytechai-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.skytechai-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--brand-card-border);
  background-color: #FFFFFF;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.skytechai-pagination .page-numbers.current,
.skytechai-pagination .page-numbers:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

/* WordPress Alignment Helpers */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
}

@media (max-width: 767.98px) {
  .page-banner {
    padding: 44px 0 40px;
  }

  .post-card {
    padding: 24px;
    border-radius: 20px;
  }
}
