/*
Theme Name: TJ Official Finance
Theme URI: https://tjofficial.site
Author: TJ Official Finance Team
Author URI: https://tjofficial.site/about
Description: High-authority, responsive WordPress theme for financial education, personal finance, investing, banking, and market analysis. AdSense ready, SEO Schema enabled, and compliant with Google E-E-A-T editorial standards.
Version: 1.0.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: tjofficial-finance
Tags: financial, blog, news, two-columns, custom-header, custom-menu, featured-images, theme-options, translation-ready
*/

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #F5F7FA;
  color: #172033;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: #071A33;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: #1257A6;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover {
  color: #0d3e75;
}

/* Content Formatting */
.prose {
  max-width: 68ch;
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #E2E8F0;
}

.prose h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

.prose blockquote {
  border-left: 4px solid #1257A6;
  padding-left: 1.25rem;
  font-style: italic;
  color: #475569;
  margin: 1.5rem 0;
  background-color: #F8FAFC;
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

/* WordPress Standard Classes */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0.5rem 1.5rem 1.5rem 0; }
.alignright { float: right; margin: 0.5rem 0 1.5rem 1.5rem; }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
  text-align: center;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: #64748B;
  margin-top: 0.5rem;
}

.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;
}

/* Ad Placement Slots */
.ad-slot-banner {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 0.5rem;
  text-align: center;
  padding: 1rem;
  margin: 1.5rem 0;
}
