/*
Theme Name: FinancePress
Theme URI: https://developer.wordpress.org/themes/
Author: FinancePress
Author URI: https://developer.wordpress.org/
Description: A lightweight, AdSense-optimized WordPress theme built for the USA finance niche. Features lazy ad loading, SEO schema markup, and Core Web Vitals optimization.
Version: 1.0.0
Requires at least: 5.9
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: financepress
Tags: blog, finance, adsense, two-columns, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
    --fp-primary: #1B5E20;
    --fp-primary-light: #2E7D32;
    --fp-primary-dark: #0D3311;
    --fp-accent: #4CAF50;
    --fp-bg: #FFFFFF;
    --fp-bg-light: #F5F7F5;
    --fp-text: #212121;
    --fp-text-light: #616161;
    --fp-text-lighter: #9E9E9E;
    --fp-border: #E0E0E0;
    --fp-border-light: #F0F0F0;
    --fp-link: #1B5E20;
    --fp-link-hover: #2E7D32;
    --fp-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --fp-shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
    --fp-radius: 6px;
    --fp-max-width: 1200px;
    --fp-content-width: 800px;
    --fp-sidebar-width: 340px;
    --fp-gap: 30px;
    --fp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ==========================================================================
   2. CSS Reset
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--fp-font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--fp-text);
    background-color: var(--fp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--fp-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--fp-link-hover);
}

ul, ol {
    list-style-position: inside;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--fp-text);
    margin-bottom: 0.5em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1.25em;
}

blockquote {
    border-left: 4px solid var(--fp-primary);
    padding: 1em 1.5em;
    margin: 1.5em 0;
    background: var(--fp-bg-light);
    border-radius: 0 var(--fp-radius) var(--fp-radius) 0;
    font-style: italic;
    color: var(--fp-text-light);
}

pre, code {
    font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
    font-size: 0.9em;
}

code {
    background: var(--fp-bg-light);
    padding: 0.15em 0.4em;
    border-radius: 3px;
}

pre {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 1.25em;
    border-radius: var(--fp-radius);
    overflow-x: auto;
    margin-bottom: 1.5em;
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

th, td {
    padding: 0.75em 1em;
    border: 1px solid var(--fp-border);
    text-align: left;
}

th {
    background: var(--fp-primary);
    color: #fff;
    font-weight: 600;
}

tr:nth-child(even) {
    background: var(--fp-bg-light);
}

hr {
    border: none;
    border-top: 1px solid var(--fp-border);
    margin: 2em 0;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
    max-width: var(--fp-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.site-content {
    display: flex;
    flex-direction: column;
    gap: var(--fp-gap);
    padding: 30px 0;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 100%;
}

@media (min-width: 1024px) {
    .site-content {
        flex-direction: row;
    }

    .content-area {
        flex: 1;
    }

    .sidebar {
        width: var(--fp-sidebar-width);
        flex-shrink: 0;
    }
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
    background: var(--fp-primary);
    color: #fff;
    box-shadow: var(--fp-shadow-lg);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-branding .custom-logo {
    max-height: 45px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.site-title a:hover {
    color: rgba(255,255,255,0.9);
}

.site-description {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ==========================================================================
   6. Navigation
   ========================================================================== */

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li {
    list-style: none;
}

.main-navigation ul li a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.main-navigation ul li a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: var(--fp-radius);
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--fp-radius);
    line-height: 1;
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.25);
}

/* Mobile nav open */
.main-navigation.toggled ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--fp-primary-dark);
    padding: 10px 20px;
    box-shadow: var(--fp-shadow-lg);
    z-index: 99;
}

@media (min-width: 768px) {
    .main-navigation ul {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .nav-toggle {
        display: none;
    }

    .main-navigation.toggled ul {
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
    }
}

/* Sub-menu */
.main-navigation .sub-menu {
    display: none;
    background: #fff;
    position: absolute;
    min-width: 200px;
    box-shadow: var(--fp-shadow-lg);
    border-radius: var(--fp-radius);
    z-index: 101;
}

.main-navigation li:hover > .sub-menu {
    display: block;
}

.main-navigation .sub-menu a {
    color: var(--fp-text);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.main-navigation .sub-menu a:hover {
    background: var(--fp-bg-light);
    color: var(--fp-primary);
}

/* ==========================================================================
   7. Post Cards (Index/Archive)
   ========================================================================== */

.post-card {
    background: var(--fp-bg);
    border: 1px solid var(--fp-border-light);
    border-radius: var(--fp-radius);
    overflow: hidden;
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.post-card:hover {
    box-shadow: var(--fp-shadow-lg);
    transform: translateY(-2px);
}

.post-card-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--fp-bg-light);
}

.post-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-thumbnail img {
    transform: scale(1.03);
}

.post-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--fp-primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card-content {
    padding: 20px;
}

.post-card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-card-title a {
    color: var(--fp-text);
}

.post-card-title a:hover {
    color: var(--fp-primary);
}

.post-card-excerpt {
    color: var(--fp-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--fp-text-lighter);
    flex-wrap: wrap;
}

.post-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.read-more-link {
    display: inline-block;
    color: var(--fp-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
}

.read-more-link:hover {
    color: var(--fp-primary-light);
}

/* ==========================================================================
   8. Single Post
   ========================================================================== */

.entry-header {
    margin-bottom: 25px;
}

.entry-breadcrumbs {
    font-size: 0.85rem;
    color: var(--fp-text-lighter);
    margin-bottom: 15px;
}

.entry-breadcrumbs a {
    color: var(--fp-text-light);
}

.entry-breadcrumbs a:hover {
    color: var(--fp-primary);
}

.entry-breadcrumbs .separator {
    margin: 0 6px;
    color: var(--fp-text-lighter);
}

.entry-title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 15px;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.85rem;
    color: var(--fp-text-light);
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--fp-border);
    margin-bottom: 25px;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.entry-featured-image {
    margin-bottom: 25px;
    border-radius: var(--fp-radius);
    overflow: hidden;
}

.entry-featured-image img {
    width: 100%;
    border-radius: var(--fp-radius);
}

/* Single post content styles */
.entry-content h2 {
    margin-top: 1.75em;
    padding-top: 0.75em;
    border-top: 1px solid var(--fp-border-light);
}

.entry-content h3 {
    margin-top: 1.5em;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
    list-style-position: outside;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content a {
    color: var(--fp-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: var(--fp-primary-light);
}

.entry-tags {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--fp-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.entry-tags .tag-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--fp-text);
}

.entry-tags a {
    display: inline-block;
    background: var(--fp-bg-light);
    color: var(--fp-text-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--fp-border);
}

.entry-tags a:hover {
    background: var(--fp-primary);
    color: #fff;
    border-color: var(--fp-primary);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 20px;
    padding: 25px;
    margin-top: 30px;
    background: var(--fp-bg-light);
    border-radius: var(--fp-radius);
    border: 1px solid var(--fp-border-light);
}

.author-bio-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-bio-name a {
    color: var(--fp-text);
}

.author-bio-description {
    font-size: 0.9rem;
    color: var(--fp-text-light);
    line-height: 1.6;
}

/* Related Posts */
.related-posts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--fp-border-light);
}

.related-posts-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-post-card {
    border: 1px solid var(--fp-border-light);
    border-radius: var(--fp-radius);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.related-post-card:hover {
    box-shadow: var(--fp-shadow);
}

.related-post-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.related-post-card-content {
    padding: 12px 15px;
}

.related-post-card-title {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.related-post-card-title a {
    color: var(--fp-text);
}

.related-post-card-title a:hover {
    color: var(--fp-primary);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--fp-border);
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation .nav-label {
    display: block;
    font-size: 0.8rem;
    color: var(--fp-text-lighter);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-navigation a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--fp-primary);
}

/* ==========================================================================
   9. Ad Containers
   ========================================================================== */

.ad-unit {
    text-align: center;
    overflow: hidden;
    background: var(--fp-bg-light);
    border-radius: var(--fp-radius);
}

.ad-unit .ad-label {
    display: block;
    font-size: 0.7rem;
    color: var(--fp-text-lighter);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 0 2px;
}

.ad-header {
    min-height: 90px;
    margin: 15px auto;
    max-width: 728px;
    display: none;
}

@media (min-width: 768px) {
    .ad-header {
        display: block;
    }
}

.ad-in-article {
    min-height: 250px;
    margin: 25px 0;
    padding: 10px;
}

.ad-sidebar {
    min-height: 250px;
    margin-bottom: 20px;
    padding: 10px;
}

.sidebar-sticky {
    position: sticky;
    top: 20px;
}

/* ==========================================================================
   10. Sidebar & Widgets
   ========================================================================== */

.widget {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--fp-bg);
    border: 1px solid var(--fp-border-light);
    border-radius: var(--fp-radius);
}

.widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--fp-primary);
    color: var(--fp-text);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--fp-border-light);
    list-style: none;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--fp-text-light);
    font-size: 0.9rem;
}

.widget ul li a:hover {
    color: var(--fp-primary);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.site-footer {
    background: var(--fp-primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 40px 0 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-section h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
    list-style: none;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    padding: 10px 0 15px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==========================================================================
   12. Page Templates (Legal Pages)
   ========================================================================== */

.page-template-content {
    max-width: var(--fp-content-width);
    margin: 0 auto;
}

.page-template-content h1 {
    margin-bottom: 10px;
}

.page-template-content .page-updated {
    font-size: 0.85rem;
    color: var(--fp-text-lighter);
    margin-bottom: 30px;
}

.page-template-content h2 {
    margin-top: 2em;
    font-size: 1.4rem;
}

.page-template-content p,
.page-template-content li {
    font-size: 0.95rem;
    color: var(--fp-text-light);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--fp-text);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius);
    font-family: var(--fp-font);
    font-size: 0.95rem;
    color: var(--fp-text);
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--fp-primary);
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-submit {
    display: inline-block;
    background: var(--fp-primary);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: var(--fp-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-form .btn-submit:hover {
    background: var(--fp-primary-light);
}

.form-message {
    padding: 12px 16px;
    border-radius: var(--fp-radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-message.success {
    background: #E8F5E9;
    color: var(--fp-primary);
    border: 1px solid #C8E6C9;
}

.form-message.error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* ==========================================================================
   13. Comments
   ========================================================================== */

.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--fp-border-light);
}

.comments-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--fp-border-light);
    list-style: none;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.comment-author .fn {
    font-weight: 600;
    font-size: 0.95rem;
}

.comment-metadata {
    font-size: 0.8rem;
    color: var(--fp-text-lighter);
    margin-bottom: 10px;
}

.comment-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.comment-respond {
    margin-top: 30px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius);
    font-family: var(--fp-font);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .submit {
    background: var(--fp-primary);
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: var(--fp-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.comment-form .submit:hover {
    background: var(--fp-primary-light);
}

/* ==========================================================================
   14. Search
   ========================================================================== */

.search-form {
    display: flex;
    gap: 8px;
    max-width: 500px;
}

.search-form .search-field {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius);
    font-family: var(--fp-font);
    font-size: 0.95rem;
}

.search-form .search-field:focus {
    outline: none;
    border-color: var(--fp-primary);
}

.search-form .search-submit {
    background: var(--fp-primary);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: var(--fp-radius);
    font-weight: 600;
    cursor: pointer;
}

.search-form .search-submit:hover {
    background: var(--fp-primary-light);
}

/* ==========================================================================
   15. Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--fp-border);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--fp-text-light);
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
    border-color: var(--fp-primary);
    color: var(--fp-primary);
}

.pagination .page-numbers.current {
    background: var(--fp-primary);
    border-color: var(--fp-primary);
    color: #fff;
}

/* ==========================================================================
   16. 404 Page
   ========================================================================== */

.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-404 .error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--fp-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.error-404 .error-message {
    font-size: 1.3rem;
    color: var(--fp-text-light);
    margin-bottom: 25px;
}

.error-404 .search-form {
    margin: 0 auto 30px;
}

/* ==========================================================================
   17. Utility Classes
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.text-center { text-align: center; }

.page-title {
    font-size: 1.75rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--fp-primary);
}

.category-description {
    color: var(--fp-text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--fp-primary);
    color: #fff;
    padding: 10px 20px;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

/* ==========================================================================
   18. Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .ad-unit,
    .nav-toggle,
    .comments-area,
    .post-navigation,
    .related-posts,
    .search-form {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
