/*
Theme Name: Money Site Theme
Theme URI: https://moneysitekit.com
Author: SitePlot Media
Description: Premium WordPress theme for content & affiliate sites. Magazine-style layout, auto-generated legal pages, conversion-focused design.
Version: 1.0.0
License: GPL v2 or later
Text Domain: money-site-theme
*/

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --primary-rgb: 79, 70, 229;
    
    --accent: #10b981;
    --accent-dark: #059669;
    
    --text: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1200px;
    --container-narrow: 720px;
    --section-gap: 80px;
    
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(var(--primary-rgb), 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.5rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

/* Logo Mark */
.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.logo-mark svg {
    width: 22px;
    height: 22px;
}

/* Logo Mark Shapes */
.logo-mark-circle { border-radius: 50%; }
.logo-mark-rounded { border-radius: var(--radius); }
.logo-mark-square { border-radius: 4px; }

/* Logo Mark Color Variants */
.logo-mark-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.logo-mark-solid { background: var(--primary); box-shadow: none; }
.logo-mark-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); }
.logo-mark-dark { background: linear-gradient(135deg, var(--text) 0%, #374151 100%); }
.logo-mark-orange { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.logo-mark-pink { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.logo-mark-cyan { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a {
    display: block;
    padding: 10px 18px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius);
}
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--primary); background: rgba(var(--primary-rgb), 0.06); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); }

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero-home {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    margin-bottom: 24px;
}
.hero-badge svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.hero-home h1 { color: #fff; margin-bottom: 20px; }
.hero-home p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 32px; }

/* Post/Archive Hero */
.hero-post {
    padding: 60px 0 80px;
    background: var(--bg-alt);
    text-align: center;
}

.hero-category-badge {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero-post h1 { margin-bottom: 16px; }
.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 15px;
}

.hero-featured-image {
    margin: -40px auto 0;
    max-width: 900px;
    padding: 0 24px;
}
.hero-featured-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Author Hero */
.hero-author { padding: 60px 0; background: var(--bg-alt); }
.author-profile {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}
.author-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: var(--shadow-lg);
}
.author-info h1 { font-size: 2rem; margin-bottom: 8px; }
.author-info p { color: var(--text-secondary); margin-bottom: 0; }

/* Category Hero */
.hero-archive {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 100%);
    text-align: center;
}
.hero-archive-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    margin-bottom: 24px;
}
.hero-archive h1 { margin-bottom: 12px; }
.hero-archive p { color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

/* ==========================================================================
   POST CARDS
   ========================================================================== */

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.posts-section { padding: var(--section-gap) 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.section-title {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

.post-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: 0.3s;
}
.post-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-6px);
}

.post-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-alt);
}
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.post-card:hover .post-card-image img { transform: scale(1.05); }

.post-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
}

.post-card-content { padding: 24px; }
.post-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; color: var(--text-muted); }
.post-card-category {
    padding: 4px 12px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.post-card-title { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.4; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--primary); }
.post-card-excerpt { color: var(--text-secondary); font-size: 15px; margin: 0; }

/* Featured Grid */
.featured-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; }
.featured-main { grid-row: span 2; }
.featured-main .post-card-content { padding: 28px; }
.featured-main .post-card-title { font-size: 1.5rem; }

/* ==========================================================================
   SINGLE POST - Article Design
   ========================================================================== */

.article-content { padding: 60px 0; }
.article-body { font-size: 18px; line-height: 1.85; }
.article-body h2 { margin: 48px 0 20px; padding-top: 32px; border-top: 1px solid var(--border-light); }
.article-body h2:first-child { margin-top: 0; padding-top: 0; border: none; }
.article-body h3 { margin: 36px 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 24px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-secondary);
}
.article-body img { border-radius: var(--radius); margin: 32px 0; }

/* TOC Box */
.toc-box {
    margin: 32px 0;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
}
.toc-title { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.toc-list { list-style: none; }
.toc-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 15px; }
.toc-list a:hover { color: var(--primary); }
.toc-list a::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; opacity: 0.5; }

/* Key Takeaways */
.key-takeaways {
    margin: 40px 0;
    padding: 28px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.04) 0%, transparent 100%);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius-lg);
}
.key-takeaways-title { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 16px; color: var(--primary); }
.key-takeaways ul { margin: 0; padding: 0; list-style: none; }
.key-takeaways li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.key-takeaways li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

/* Callout Boxes */
.callout { margin: 32px 0; padding: 24px; border-radius: var(--radius); border-left: 4px solid; }
.callout-info { background: #eff6ff; border-color: #3b82f6; }
.callout-tip { background: #ecfdf5; border-color: var(--accent); }
.callout-warning { background: #fffbeb; border-color: #f59e0b; }
.callout-title { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; }

/* Author Box */
.author-box {
    display: flex;
    gap: 24px;
    margin: 48px 0;
    padding: 28px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
}
.author-box-avatar img { width: 80px; height: 80px; border-radius: 50%; }
.author-box-name { font-size: 1.125rem; margin-bottom: 4px; }
.author-box-bio { color: var(--text-secondary); font-size: 15px; margin: 0; }

/* Related Posts */
.related-posts { margin-top: 60px; padding-top: 48px; border-top: 1px solid var(--border); }
.related-posts h3 { margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

.page-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 100%);
    text-align: center;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero .updated { color: var(--text-muted); font-size: 14px; }

.legal-content { padding: 60px 0; }
.legal-section { margin-bottom: 40px; }
.legal-section h2 { font-size: 1.375rem; margin-bottom: 16px; color: var(--text); }
.legal-section p, .legal-section li { color: var(--text-secondary); }
.legal-section ul { margin: 16px 0 16px 24px; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-right: 20px;
}

.contact-info h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.contact-card:hover {
    background: #fff;
    box-shadow: var(--shadow);
}

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-card-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.form-label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-submit svg {
    width: 18px;
    height: 18px;
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 15px;
    display: none;
}

.form-message.show {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-message-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-message svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: auto;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   AD ZONES
   ========================================================================== */

.ad-zone {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-container {
    max-width: 100%;
    overflow: hidden;
}

/* Header Ad */
.ad-zone-header {
    background: var(--bg-alt);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

/* Before/After Content Ads */
.ad-zone-before_content,
.ad-zone-after_content {
    margin: 32px 0;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    text-align: center;
}

/* In-Content Ad */
.ad-zone-in-content {
    margin: 32px -24px;
    padding: 24px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .ad-zone-in-content {
        margin: 24px -16px;
        padding: 16px;
    }
}

/* Between Posts Ad */
.ad-zone-between_posts {
    grid-column: 1 / -1;
    padding: 32px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin: 8px 0;
}

/* Sticky Footer Ad */
.ad-zone-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 12px 16px;
    border-top: 1px solid var(--border);
}

.ad-zone-sticky-footer .ad-container {
    max-width: var(--container);
    margin: 0 auto;
}

.ad-close {
    position: absolute;
    top: 8px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.ad-close:hover {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

/* Hide on Mobile */
@media (max-width: 768px) {
    .ad-hide-mobile {
        display: none !important;
    }
}

/* Ad Label (optional - for transparency) */
.ad-zone::before {
    content: '';
    /* Uncomment below to show "Advertisement" label */
    /* content: 'Advertisement';
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px; */
}

/* About Page */
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 48px 0; }
.value-card { padding: 32px; background: var(--bg-alt); border-radius: var(--radius-lg); text-align: center; transition: 0.3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    margin-bottom: 20px;
}
.value-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.value-card p { color: var(--text-secondary); margin: 0; font-size: 15px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 80px 0 0;
    margin-top: var(--section-gap);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p { color: #94a3b8; font-size: 15px; line-height: 1.7; margin-top: 16px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: var(--radius);
}
.footer-social a:hover { background: var(--primary); }

.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #94a3b8; font-size: 15px; }
.footer-col a:hover { color: #fff; }

.footer-bottom { display: flex; justify-content: space-between; padding: 24px 0; font-size: 14px; color: #64748b; }

/* ==========================================================================
   BUTTONS & FORMS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .posts-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-grid { grid-template-columns: 1fr; }
    .featured-main { grid-row: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .about-values { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-nav { display: none; width: 100%; padding: 16px 0; }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border-light); }
    
    .hero-home { padding: 60px 0; text-align: center; }
    .posts-grid, .related-grid { grid-template-columns: 1fr; }
    .author-profile { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { grid-column: auto; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .author-box { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   SOCIAL SHARING
   ========================================================================== */

.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    margin: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.share-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    margin-right: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    color: #fff;
    transition: all 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: #fff;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn-facebook { background: #1877f2; }
.share-btn-facebook:hover { background: #0d65d9; }

.share-btn-twitter { background: #000; }
.share-btn-twitter:hover { background: #333; }

.share-btn-linkedin { background: #0a66c2; }
.share-btn-linkedin:hover { background: #084d93; }

.share-btn-pinterest { background: #e60023; }
.share-btn-pinterest:hover { background: #c7001e; }

.share-btn-email { background: var(--text-secondary); }
.share-btn-email:hover { background: var(--text); }

.share-btn-copy { background: var(--primary); }
.share-btn-copy:hover { background: var(--primary-dark); }
.share-btn-copy.copied { background: var(--accent); }

/* Floating Share Bar (Desktop) */
.share-floating {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.share-floating.visible {
    opacity: 1;
    visibility: visible;
}

.share-floating .share-btn {
    width: 44px;
    height: 44px;
    box-shadow: var(--shadow);
}

@media (max-width: 1400px) {
    .share-floating {
        display: none;
    }
}

@media (max-width: 768px) {
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .share-label {
        width: 100%;
        margin-bottom: 8px;
    }
}

.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
