/*
Theme Name: LP Financial
Theme URI: http://localhost/lp-financial/
Author: Muhammad Irfan Ali
Author URI: https://github.com/MohammadIrfanAli
Description: Custom WordPress theme for LP Financial — connecting people, capital and opportunity across global markets. Preserves the original frontend design with full WordPress dynamic content integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lp-financial
Tags: custom-menu, featured-images, custom-logo, full-width-template
*/

/* =====================================================================
   WordPress Core Alignments, Accessibility & Admin Bar Adjustments
   ===================================================================== */

/* Accessibility / Screen Reader Text */
.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-color: var(--navy-ink, #0b1d40);
  border-radius: 4px;
  box-shadow: 0 0 4px 4px rgba(74, 143, 220, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 10px;
  line-height: normal;
  padding: 12px 18px;
  text-decoration: none;
  top: 10px;
  width: auto;
  z-index: 100000;
}

/* Alignments */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Captions */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted, #5d6679);
  margin-top: 8px;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .site-header {
  top: 32px;
}

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

/* Dynamic Pagination */
.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--paper, #fff);
  border: 1px solid var(--line, #dfe3ea);
  border-radius: 999px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink, #18223a);
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination .page-numbers:hover {
  background-color: var(--mist, #eceef2);
  color: var(--navy, #173a7a);
}

.pagination .page-numbers.current {
  background-color: var(--navy, #173a7a);
  color: #fff;
}
