/*
Theme Name: BriskPick Review
Theme URI: https://briskpick.com
Description: BriskPick professional software review theme (GeneratePress child)
Author: BriskPick
Template: generatepress
Version: 1.0.0
*/

/* ── Reset & Base ── */
:root {
    --bp-primary: #2563eb;
    --bp-primary-dark: #1d4ed8;
    --bp-accent: #f59e0b;
    --bp-bg: #f8fafc;
    --bp-card: #ffffff;
    --bp-text: #1e293b;
    --bp-muted: #64748b;
    --bp-border: #e2e8f0;
    --bp-green: #10b981;
    --bp-red: #ef4444;
    --bp-radius: 12px;
    --bp-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --bp-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
}

/* ── Site Header ── */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--bp-border);
    box-shadow: var(--bp-shadow);
}
.inside-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
}
.site-logo .main-title,
.main-title a {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--bp-text) !important;
    letter-spacing: -0.5px;
}
.main-navigation a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--bp-muted) !important;
    transition: color .2s;
}
.main-navigation a:hover {
    color: var(--bp-primary) !important;
}

/* ── Body & Layout ── */
body {
    background: var(--bp-bg);
    color: var(--bp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Single Post: wide, no sidebar feel ── */
.single .content-area {
    max-width: 860px;
}
.single .site-main {
    background: var(--bp-card);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
    padding: 40px 48px;
    margin: 32px auto;
}

/* ── Article Title ── */
.single .entry-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--bp-text);
    margin-bottom: 16px;
}
.entry-header .entry-meta {
    font-size: 0.85rem;
    color: var(--bp-muted);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bp-border);
}

/* ── Article Content Typography ── */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}
.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bp-text);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bp-primary);
}
.entry-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bp-text);
    margin-top: 28px;
    margin-bottom: 12px;
}
.entry-content p {
    margin-bottom: 16px;
}
.entry-content ul, .entry-content ol {
    margin: 12px 0 20px 0;
    padding-left: 24px;
}
.entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.entry-content strong {
    color: var(--bp-text);
    font-weight: 700;
}
.entry-content a {
    color: var(--bp-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s;
}
.entry-content a:hover {
    color: var(--bp-primary-dark);
}
.entry-content blockquote {
    border-left: 4px solid var(--bp-primary);
    background: #eff6ff;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

/* ── TL;DR / Key Takeaways Box ── */
.entry-content h2:first-of-type {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    padding: 16px 20px;
    border-radius: var(--bp-radius) var(--bp-radius) 0 0;
    border-bottom: 2px solid var(--bp-primary);
    margin-top: 24px;
}
.entry-content h2:first-of-type + ul {
    background: #f8fafc;
    border: 1px solid var(--bp-border);
    border-top: none;
    border-radius: 0 0 var(--bp-radius) var(--bp-radius);
    padding: 16px 20px 16px 44px;
    margin-bottom: 28px;
}

/* ── Homepage Hero ── */
.home .page-header,
.home .entry-header {
    display: none;
}

/* ── Category Cards on Homepage ── */
.home .inside-article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Sidebar ── */
.widget-area {
    font-size: 0.9rem;
}
.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bp-text);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bp-primary);
}

/* ── Article Cards in Lists ── */
.archive .site-main article,
.blog .site-main article {
    background: var(--bp-card);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
    padding: 28px 32px;
    margin-bottom: 20px;
    transition: box-shadow .2s, transform .2s;
}
.archive .site-main article:hover,
.blog .site-main article:hover {
    box-shadow: var(--bp-shadow-lg);
    transform: translateY(-2px);
}
.archive .entry-title,
.blog .entry-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.archive .entry-title a,
.blog .entry-title a {
    color: var(--bp-text);
    text-decoration: none;
}
.archive .entry-title a:hover,
.blog .entry-title a:hover {
    color: var(--bp-primary);
}

/* ── Footer ── */
.site-footer {
    background: var(--bp-text);
    color: #94a3b8;
    padding: 32px 20px;
    margin-top: 48px;
    text-align: center;
    font-size: 0.85rem;
}
.site-footer a {
    color: #cbd5e1;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .single .site-main {
        padding: 24px 20px;
        margin: 16px 12px;
    }
    .single .entry-title {
        font-size: 1.5rem;
    }
    .entry-content h2 {
        font-size: 1.25rem;
    }
}

/* ── Affiliate CTA Link Style ── */
.entry-content a[href*="pricing"],
.entry-content a[href*="check"],
.entry-content a[href*="try"],
.entry-content a[href*="visit"] {
    display: inline-block;
    background: var(--bp-primary);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background .2s;
    margin: 4px 0;
}
.entry-content a[href*="pricing"]:hover,
.entry-content a[href*="check"]:hover,
.entry-content a[href*="try"]:hover,
.entry-content a[href*="visit"]:hover {
    background: var(--bp-primary-dark);
    color: #fff !important;
}
