/*
 Theme Name:   ManyMoney MFO Aggregator
 Description:  Child theme for MFO aggregator based on GeneratePress
 Author:       Antigravity
 Template:     generatepress
 Version:      1.0.0
*/

/* Premium Global Styles & Typography */
:root {
    --brand-blue: #0b1a30;
    --brand-light: #f4f7f6;
    --text-main: #333333;
    --text-muted: #666666;
    --accent-orange: #f59e0b;
    --accent-green: #10b981;
}

body {
    background-color: var(--brand-light);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

/* Header Trust Styles */
.site-header, .main-navigation, .main-navigation ul ul {
    background-color: var(--brand-blue) !important;
    color: #ffffff;
}
.main-navigation {
    border-bottom: 3px solid var(--accent-orange);
}
.site-header a, .main-navigation a {
    color: #ffffff !important;
}
.main-navigation .main-nav ul li a:hover, 
.main-navigation .main-nav ul li:hover > a {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--accent-orange) !important;
}
.main-title a {
    font-weight: 800;
    letter-spacing: -1px;
}
.site-description {
    color: #cbd5e1;
}

/* Article Typography (Merriweather) */
.single-post .entry-content {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    line-height: 1.8;
    color: #2d3748;
    max-width: 800px;
    margin: 0 auto;
}
.single-post .entry-title {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: center;
}
.single-post h2, .single-post h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--brand-blue);
    margin-top: 2em;
    margin-bottom: 1em;
}

/* Trust Elements */
.trust-badge {
    display: inline-flex;
    align-items: center;
    background: #edf2f7;
    color: #2b6cb0;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}
.trust-badge::before {
    content: '✓';
    display: inline-block;
    background: #3182ce;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin-right: 8px;
}

.legal-quote {
    background: #fffaf0;
    border-left: 4px solid var(--accent-orange);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 17px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.mfo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 20px 0;
}
.mfo-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.mfo-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mfo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.mfo-card:hover::before {
    opacity: 1;
}
.mfo-logo {
    height: 60px;
    object-fit: contain;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.mfo-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a202c;
    letter-spacing: -0.5px;
}
.mfo-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    text-align: left;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}
.mfo-details span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #4a5568;
}
.mfo-details span strong {
    color: #2d3748;
    font-weight: 600;
}
.mfo-btn {
    display: block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    padding: 16px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.mfo-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}


