/*
Theme Name: Payroll Deduction Loans Pro
Theme URI: https://payrolldeductionloans.com/
Author: PayrollDeductionLoans Engineering Team
Author URI: https://payrolldeductionloans.com/about
Description: High-performance, SEO-optimized, E-E-A-T and Google AdSense compliant WordPress theme designed specifically for financial education, loan calculators, and employer payroll lending portals.
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: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: payrolldeductionloans
Tags: finance, loan-calculator, adsense-ready, seo-friendly, e-e-a-t, responsive, custom-dashboard
*/

/* Core Layout & Reset */
*, ::before, ::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    line-height: 1.6;
}

/* AdSense Compliant Layout Styling (CLS Prevention) */
.pdl-ad-slot-wrapper {
    margin: 1.5rem auto;
    position: relative;
    box-sizing: border-box;
}

/* Range input styling for calculator */
input[type=range] {
    accent-color: #16a34a;
}

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

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

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
}

/* WordPress Navigation Styling & Bullet Point (Dot) Removal */
nav ul,
nav ol,
nav li,
header nav ul,
header nav ol,
header nav li,
.pdl-nav-menu,
.pdl-nav-menu ul,
.pdl-nav-menu li,
#mobileMenu,
#mobileMenu ul,
#mobileMenu li,
.menu,
.menu li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin: 0;
    padding: 0;
}

/* Ensure desktop header menu items sit cleanly inline */
header nav ul {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

header nav li {
    display: inline-flex;
    align-items: center;
    position: relative;
    list-style: none !important;
}

header nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.2s ease;
}

header nav a:hover {
    color: #16a34a;
}

header nav li.current-menu-item > a,
header nav li.current_page_item > a {
    color: #15803d;
    font-weight: 600;
}

/* Mobile navigation items */
#mobileMenu ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

#mobileMenu li {
    list-style: none !important;
    display: block;
}

#mobileMenu a {
    display: block;
    padding: 0.5rem 0;
    color: #334155;
    font-weight: 500;
    text-decoration: none;
}

#mobileMenu a:hover {
    color: #16a34a;
}

/* Prose Content & Typography Styling */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.8125rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.prose th,
.prose td {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.prose th {
    background-color: #f1f5f9;
    font-weight: 700;
    color: #0f172a;
}

.prose tr:nth-child(even) {
    background-color: #f8fafc;
}

.prose blockquote {
    border-left: 4px solid #16a34a;
    background-color: #f8fafc;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    font-style: normal;
    color: #334155;
}

.prose ul {
    list-style-type: disc !important;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.prose ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.prose li {
    margin-bottom: 0.35rem;
}

.prose h2 {
    color: #0f172a;
    font-weight: 800;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.prose h3 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose strong {
    color: #0f172a;
    font-weight: 700;
}

