/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme
 Author:       Kref Studio
 Author URI:   https://krefstudio.com/
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/
/* =========================================
   Frontend Styles for Editor Compatibility
   (Matching editor-style.css)
   ========================================= */

/* Fix Paragraph Spacing */
.entry-content p {
    margin-bottom: 1.5em;
}

/* Tables */
.entry-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1.5em;
    border: 1px solid #ddd;
}

.entry-content th,
.entry-content td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.entry-content th {
    background-color: #f5f5f5;
    font-weight: 600;
}

/* Code Blocks (ChatGPT Style) */
.entry-content pre {
    background: #0d0d0d;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    margin-bottom: 1.5em;
    font-size: 14px;
    line-height: 1.4;
}

.entry-content code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background: #f0f0f0;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.9em;
}

.entry-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
    border-radius: 0;
}

/* Blockquotes */
.entry-content blockquote {
    border-left: 4px solid #0073aa;
    margin: 0 0 1.5em 0;
    padding: 0 0 0 15px;
    color: #555;
    font-style: italic;
}