/*
Theme Name: Vibe Code Secrets
Theme URI: https://outsourceai.io
Author: OutsourceAI
Author URI: https://outsourceai.io
Description: Basic WP template for vibe coding
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aideveloper
*/

/*** Custom Styling Here ***/

/* Dark Theme Styles for Single Posts */

/* Post Content Base */
.post-content {
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.4rem;
    font-family: Arial, sans-serif;
    font-size: 1.32rem;
}

.post-content strong {
    color: #8397e3;
    font-weight: normal;
}

.post-content a {
    color: #4D7CFE;
    text-decoration: none;
}

.post-content a:hover {
    color: #00ffa2;
    text-decoration: underline;
}

/* Headings */
.post-content h2,
.post-content h2.wp-block-heading {
    background: linear-gradient(to right, #3b82f6, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.8rem 0 .8rem;
    font-weight: 700 !important;
    font-size: 3rem;
    font-family: 'Bebas Neue', 'Inter', system-ui, -apple-system, sans-serif !important;
    letter-spacing: 0.02em;
    line-height: 1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.8rem;
}

.post-content h3 {
    color: #e7ecff;
    margin: 1.8rem 0 .8rem; 
    margin-bottom: 1.8rem;
    font-weight: 500;
    font-size: 1.5rem;
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    line-height: 1.3;
}

/* Lists */
.post-content ul,
.post-content ol {
    color: #e2e8f0;
    margin-bottom: 1.4rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

/* Blockquotes and Code */
.post-content blockquote {
    border-left: 4px solid #4D7CFE;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #cbd5e1;
    font-style: italic;
}

.post-content code {
    background: #1e293b;
    color: #00ffa2;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.9em;
}

.post-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

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

/* Sidebar Headings */
#sidebar-widgets h2 {
    color: #e7ecff;
    margin: 1.8rem 0 .8rem;
    margin-bottom: 0.5rem;
    padding-top: 0.7rem;
    font-weight: 500;
    font-size: 1.5rem;
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    line-height: 1.3;
}

/* Sidebar basic lists */
#sidebar-widgets ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1rem 0;
}

#sidebar-widgets ul li {
    position: relative;
    padding-left: 1.75rem;
    margin: 0.5rem 0;
    color: #e2e8f0;
    line-height: 1.5;
}

#sidebar-widgets ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 9999px;
    background: linear-gradient(to bottom right, #10b981, #059669);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.1rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

#sidebar-widgets ol {
    list-style: decimal;
    padding-left: 1.25rem;
    margin: 0 0 1rem 0;
}

#sidebar-widgets ol li {
    margin: 0.5rem 0;
    line-height: 1.5;
}

/* Sidebar button-like links */
#sidebar-widgets a.btn-link {
    display: inline-block;
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    color: #0b1220;
    padding: 0.6rem 0.9rem;
    border-radius: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(147, 197, 253, 0.35);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

#sidebar-widgets a.btn-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
    filter: brightness(1.05);
}

#sidebar-widgets a.btn-link:active {
    transform: translateY(0);
}

/* Nearly full-width variant with side spacing */
#sidebar-widgets a.btn-link.btn-wide {
    display: block;
    width: calc(100% - 2rem);
    margin: 0.75rem 1rem 0;
    text-align: center;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(to right, #60a5fa, #2563eb);
}

/* Keep lists visually left-aligned when wrapped in <center> */
#sidebar-widgets center ul {
    display: inline-block;
    text-align: left;
}

/* WordPress Image Alignment */
.post-content .alignleft,
.post-content img.alignleft,
.post-content .wp-block-image.alignleft,
.post-content figure.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.post-content .alignright,
.post-content img.alignright,
.post-content .wp-block-image.alignright,
.post-content figure.alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

.post-content .aligncenter,
.post-content img.aligncenter,
.post-content .wp-block-image.aligncenter,
.post-content figure.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.post-content figure.alignleft img,
.post-content figure.alignright img {
    margin-bottom: 0 !important;
}

/* Mobile: Make aligned images full-width and centered */
@media (max-width: 639px) {
    .post-content .alignleft,
    .post-content img.alignleft,
    .post-content .wp-block-image.alignleft,
    .post-content figure.alignleft,
    .post-content .alignright,
    .post-content img.alignright,
    .post-content .wp-block-image.alignright,
    .post-content figure.alignright {
        float: none !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .post-content .alignleft img,
    .post-content .alignright img,
    .post-content figure.alignleft img,
    .post-content figure.alignright img {
        width: 100% !important;
        height: auto !important;
    }
}

/* Emoji images - keep inline */
.post-content img.emoji,
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    height: 1em !important;
    width: 1em !important;
}

/* Clear Float Utility - Can be added to any element */
.clear-float,
.post-content .clear-float {
    clear: both;
    display: block;
    padding-top: 2rem;
}

/* Quote Wrapper */
figure.achv-quote-wrapper p {
    margin-bottom: 0px !important;
}

/* Feature Card Images */
.feature-card img {
    border: none;
}

/* Feature Card Paragraphs */
.feature-card p {
    margin-bottom: 0px !important;
}

/* Testimonial Author */
p.testimonial-author {
    margin-bottom: 0px !important;
}

/* Testimonial Card Headings */
.testimonial-card h3 {
    margin-bottom: 0px;
    margin-top: 0px;
    font-family: 'Outfit', sans-serif !important;
    text-transform: uppercase !important;
    font-size: 1.125rem !important;
}

/* Testimonial Card Paragraphs */
.testimonial-card p {
    margin-bottom: 0px !important;
    font-size: 18px !important;
}

/* Testimonial Card Stars */
.testimonial-card svg {
    width: 1rem !important;
    height: 1rem !important;
}

