/*
Theme Name: Mobolade CPA
Theme URI: https://moboladecpas.com
Author: Mobolade CPA
Author URI: https://moboladecpas.com
Description: Professional WordPress theme for Mobolade CPA - Accounting, Consulting, and Tax Services in Marietta, GA. Features full Tailwind CSS integration, mobile responsiveness, and custom Gutenberg block patterns.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
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: mobolade
Tags: business, accounting, consulting, professional-services, one-column, two-columns, custom-menu, custom-logo, editor-style, featured-images, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns

Mobolade CPA WordPress Theme, Copyright 2026
Mobolade CPA Theme is distributed under the terms of the GNU GPL.
*/

/* ==========================================================================
   Base Styles & WordPress Compatibility
   ========================================================================== */

/* Ensure WordPress admin bar doesn't break layout */
.admin-bar nav.sticky {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar nav.sticky {
        top: 46px;
    }
}

/* WordPress Alignment Classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.alignwide {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100%;
    width: 100%;
}

/* WordPress Image Captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
    text-align: center;
}

/* WordPress Gallery */
.gallery {
    margin: 1rem 0;
}

.gallery-item {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    padding: 0.5rem;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-3 .gallery-item {
    width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

/* ==========================================================================
   Gutenberg Editor Styles
   ========================================================================== */

/* Make Gutenberg blocks look consistent with front-end */
.wp-block {
    max-width: 1200px;
}

/* WordPress Core Blocks - Tailwind-friendly */
.wp-block-heading {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.wp-block-paragraph {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.wp-block-image img {
    height: auto;
    max-width: 100%;
    border-radius: 0.5rem;
}

.wp-block-quote {
    border-left: 4px solid #2d6aa6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #475569;
}

.wp-block-button__link {
    background-color: #2d6aa6;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px);
}

/* ==========================================================================
   Blog Post Content Styles (Prose)
   ========================================================================== */

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    font-weight: 700;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose h1 { font-size: 2.5rem; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.25rem; }

.prose p {
    margin-bottom: 1.5rem;
    color: #475569;
    line-height: 1.75;
}

.prose a {
    color: #2d6aa6;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.prose a:hover {
    color: #1e3a8a;
}

.prose ul, .prose ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: #475569;
}

.prose ul li, .prose ol li {
    margin-bottom: 0.5rem;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose blockquote {
    border-left: 4px solid #2d6aa6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #64748b;
}

.prose img {
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.prose pre {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose code {
    background-color: #f1f5f9;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #e11d48;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: #334155;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.prose th, .prose td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    text-align: left;
}

.prose th {
    background-color: #f8fafc;
    font-weight: 600;
}

/* ==========================================================================
   Comments Styles
   ========================================================================== */

.comment-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.comment {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.comment-content p {
    margin-bottom: 0.5rem;
    color: #475569;
}

.reply {
    margin-top: 0.75rem;
}

.comment-reply-link {
    color: #2d6aa6;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

.children {
    list-style: none;
    margin-left: 2rem;
    margin-top: 1rem;
}

/* Comment Form */
.comment-form {
    margin-top: 2rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-family: inherit;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #2d6aa6;
}

.comment-form input[type="submit"] {
    background-color: #2d6aa6;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background-color: #1e3a8a;
}

/* ==========================================================================
   Pagination Styles
   ========================================================================== */

.pagination {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #2d6aa6;
    color: white;
    border-color: #2d6aa6;
}

.pagination .current {
    background-color: #2d6aa6;
    color: white;
    border-color: #2d6aa6;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 2.5rem;
    z-index: 999999999;
    text-decoration: underline;
}

.skip-link:focus {
    display: block;
    left: 6px;
    top: 7px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: normal;
    padding: 15px 23px 14px;
    z-index: 100000;
    right: auto;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    nav, footer, .no-print {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}