/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparallel speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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
Template: astra
*/


/* Typography System */
:root {
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Lora', Georgia, 'Times New Roman', serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

/* FIXED: Only hide horizontal overflow on body, NOT html */
/* overflow-x: hidden on html breaks sticky positioning! */

/* Allow sticky positioning on single posts */
html.single,
html.single-post {
    overflow: visible !important;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: #2d2d2d;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Ensure single posts have consistent warm background */
body.single,
body.single-post {
    background: #F6F5F2 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 600;
    color: #1a1a1a;
}

h1 { font-size: 48px; font-weight: 700; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

/* Code blocks */
code, pre {
    font-family: var(--font-mono);
    font-size: 16px;
}

/* Responsive Typography */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
    h5 { font-size: 18px; }
    h6 { font-size: 16px; }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }
    h5 { font-size: 16px; }
    h6 { font-size: 16px; }
}

/* Better spacing for headings */
h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 { margin-top: 0; } /* No top margin on H1 */

/* Article content max-width */
.entry-content,
.ast-single-post .entry-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Better paragraph spacing */
p {
    margin-bottom: 1.5em;
}

/* Improved link styling */
a {
    color: #9C7A4B;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #736045;
    text-decoration: underline;
}

/* Block quotes */
blockquote {
    font-family: var(--font-body);
    font-size: 1.25em;
    font-style: italic;
    line-height: 1.6;
    margin: 2em 0;
    padding-left: 1.5em;
    border-left: 4px solid #e0e0e0;
    color: #444;
}

/* Lists */
ul, ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

/* Code styling */
code {
    background: #F9F6FE;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

pre {
    background: #F9F6FE;
    padding: 1.5em;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 1.5em;
}

pre code {
    background: none;
    padding: 0;
}

/* Remove all image border-radius and box-shadow globally for single posts */
.single .entry-content img,
.single-post .entry-content img,
.single figure img,
.single-post figure img,
.single .wp-block-image img,
.single-post .wp-block-image img {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}