/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */
/* =============================================================================
   PREMIUM AFFILIATE & PRODUCT REVIEW STYLES
   ============================================================================= */

:root {
    --brand-primary: #10b981;       /* Premium Tech Emerald */
    --brand-primary-hover: #059669;
    --bg-surface: #f8fafc;          /* Slate 50 */
    --border-color: #e2e8f0;        /* Slate 200 */
    --text-main: #1e293b;           /* Slate 800 */
    --text-muted: #64748b;          /* Slate 500 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.05);
}

/* Main Post Typography Refinements */
.grav-review-content {
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.75;
    font-size: 1.1rem;
}

.grav-review-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.grav-review-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* Quick Verdict Box */
.review-box {
    background-color: #ffffff;
    border-left: 4px solid var(--brand-primary);
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-left-width: 4px;
}

.review-box h3 {
    margin-top: 0 !important;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Modern Specifications Table */
.review-table, 
.grav-review-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.review-table th, 
.grav-review-content table th {
    background-color: #f1f5f9;
    color: #334155;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--border-color);
}

.review-table td, 
.grav-review-content table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: #475569;
}

.review-table tr:last-child td, 
.grav-review-content table tr:last-child td {
    border-bottom: none;
}

.review-table tr:nth-child(even), 
.grav-review-content table tr:nth-child(even) {
    background-color: var(--bg-surface);
}

/* Clean Pros & Cons Lists using CSS Grid instead of raw emojis */
.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .review-pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}

.review-pros, .review-cons {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.review-pros h4, .review-cons h4 {
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-pros h4 { color: #15803d; }
.review-cons h4 { color: #b91c1c; }

.review-pros ul, .review-cons ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.review-pros ul li, .review-cons ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Modern SVG Vector markers via CSS background masks */
.review-pros ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.1rem;
    height: 1.1rem;
    background-color: #16a34a;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E") no-repeat center;
}

.review-cons ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.1rem;
    height: 1.1rem;
    background-color: #dc2626;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 18 18 6M6 6l12 12'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 18 18 6M6 6l12 12'/%3E%3C/svg%3E") no-repeat center;
}

/* Premium Call To Action Buttons */
.btn-cta, 
[button type="primary"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    margin: 1.5rem 0;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

/* Grav Notice Core overrides */
.ui-notice, [ui-notice] {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid transparent;
}

.ui-notice.warning {
    background-color: #fffbec;
    border-color: #fef08a;
    color: #713f12;
}