/*
Theme Name: Designer Shon Custom
Theme URI: https://designershon.com/
Description: A premium dark e-commerce landing page theme converted from React.
Version: 1.0.0
Author: Antigravity
Author URI: https://designershon.com/
Text Domain: designershon
*/

/* Base styles for WordPress compatibility */
.wp-block-image {
    max-width: 100%;
}
.alignwide {
    width: 100%;
    max-width: 100vw;
}
.alignfull {
    width: 100%;
    max-width: 100vw;
}

/* Blog Post Typography */
.single-post-content {
    font-size: 1.125rem;
    line-height: 1.75;
}
.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    color: hsl(var(--foreground));
    font-family: Poppins, system-ui, sans-serif;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.single-post-content h1 { font-size: 2.25rem; }
.single-post-content h2 { font-size: 1.875rem; }
.single-post-content h3 { font-size: 1.5rem; }
.single-post-content h4 { font-size: 1.25rem; }

.single-post-content p {
    margin-bottom: 1.5rem;
    color: hsl(var(--muted-foreground));
}

.single-post-content a {
    color: hsl(var(--primary));
    text-decoration: underline;
    text-underline-offset: 2px;
}
.single-post-content a:hover {
    color: hsl(var(--foreground));
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: hsl(var(--muted-foreground));
}
.single-post-content ul {
    list-style-type: disc;
}
.single-post-content ol {
    list-style-type: decimal;
}
.single-post-content li {
    margin-bottom: 0.5rem;
}

.single-post-content blockquote {
    border-left: 4px solid hsl(var(--primary));
    padding-left: 1rem;
    font-style: italic;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
    background-color: hsl(var(--primary) / 0.1);
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.single-post-content img {
    border-radius: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 100%;
    height: auto;
    border: 1px solid hsl(var(--border) / 0.5);
}

.single-post-content pre {
    background-color: hsl(var(--card));
    padding: 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid hsl(var(--border));
}

.single-post-content code {
    background-color: hsl(var(--muted));
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.875em;
    color: hsl(var(--primary));
}

.single-post-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

/* Form UX Refinements */
select option {
    background-color: #ffffff !important;
    color: #1f2937 !important; /* Dark Grey (Gray 800) */
}

/* Ensure the select itself remains readable while closed */
select:focus {
    background-color: hsl(var(--card) / 0.8) !important;
}
