/*
Theme Name: Slip-Ons Review Theme
Theme URI: https://slip-on-shoes.com
Author: Eric Franklin
Description: Clean, fast affiliate review theme for slip-on shoe reviews
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: slipons
*/

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #2c3e50;
    background: #ffffff;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.875rem; margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 2px solid #e8e8e8; padding-bottom: 0.5rem; }
h3 { font-size: 1.5rem; margin-top: 2rem; }

p { margin-bottom: 1.5rem; }

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover { color: #1d4ed8; }

/* ===== LAYOUT ===== */
.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header.site-header {
    background: #1a1a1a;
    color: #ffffff;
    padding: 1.5rem 0;
    margin-bottom: 3rem;
}

.site-header .site-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: #ffffff;
    text-decoration: none;
}

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav.main-nav a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
}

nav.main-nav a:hover {
    color: #60a5fa;
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    margin-bottom: 4rem;
}

.main-content {
    min-width: 0;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.sidebar-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-box h3 {
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.sidebar-box ul {
    list-style: none;
}

.sidebar-box li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-box li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-box a {
    color: #2563eb;
    font-weight: 500;
}

/* ===== CTA BOX ===== */
.cta-box {
    background: #dbeafe;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin: 2.5rem 0;
}

.cta-box h3 {
    margin-top: 0;
    color: #1e40af;
}

.cta-button {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #1d4ed8;
    color: #ffffff;
}

/* ===== FEATURED INTRO ===== */
.featured-intro {
    background: #f1f5f9;
    border-left: 4px solid #3b82f6;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    font-style: italic;
    color: #334155;
}

/* ===== LISTS ===== */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* ===== DISCLOSURE ===== */
.affiliate-disclosure {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    margin: 2rem 0;
    color: #78350f;
}

/* ===== FOOTER ===== */
footer.site-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* ===== HOMEPAGE GRID ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-card h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.review-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.review-card a {
    color: #2563eb;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body { font-size: 16px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .site-header .site-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav.main-nav ul {
        gap: 1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        position: static;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
