/*
Theme Name: Fraud Alert News
Theme URI: https://fraudalertnews.com
Description: Child theme for Fraud Alert News — a citizen journalism investigation site covering financial fraud. Built on Hello Elementor for full compatibility with Elementor Free. All 9 site pages are auto-created on activation with full content.
Author: Fraud Alert News
Template: hello-elementor
Version: 1.0.0
Text Domain: fraud-alert-news
Tags: elementor, child-theme, investigation, news
*/

/* ==============================================
   FRAUD ALERT NEWS — Custom Styles
   Parent: Hello Elementor
   ============================================== */

:root {
    --fan-navy:       #0d1b2a;
    --fan-dark-blue:  #1b3a5c;
    --fan-mid-blue:   #2463a4;
    --fan-red:        #c41230;
    --fan-red-dark:   #9e0f26;
    --fan-light-bg:   #f4f6f9;
    --fan-border:     #d1d9e6;
    --fan-text:       #1a1a2e;
    --fan-text-light: #556070;
    --fan-white:      #ffffff;
    --fan-gold:       #c9a234;
}

/* =========================================
   GLOBAL RESETS & TYPOGRAPHY
   ========================================= */

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--fan-text);
    background: var(--fan-white);
    margin: 0;
    padding: 0;
}

a { color: var(--fan-mid-blue); transition: color 0.2s; }
a:hover { color: var(--fan-red); }

h1, h2, h3, h4, h5 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--fan-navy);
    line-height: 1.3;
}

/* =========================================
   TOP ALERT BAR
   ========================================= */

.fan-topbar {
    background: var(--fan-red);
    color: var(--fan-white);
    text-align: center;
    padding: 7px 20px;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
}

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

.fan-header {
    background: linear-gradient(135deg, var(--fan-navy) 0%, var(--fan-dark-blue) 60%, #1e4a7a 100%);
    position: relative;
    overflow: hidden;
}

.fan-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(36,99,164,0.2) 0%, transparent 60%),
                      radial-gradient(circle at 80% 20%, rgba(196,18,48,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.fan-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 30px 24px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.fan-logo a {
    text-decoration: none;
    display: block;
}

.fan-logo-title {
    display: block;
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--fan-white);
    letter-spacing: 4px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.fan-logo-title .fan-logo-accent {
    color: var(--fan-gold);
}

.fan-logo-tagline {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 6px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.fan-header-badge {
    background: rgba(196,18,48,0.15);
    border: 1px solid rgba(196,18,48,0.4);
    border-radius: 4px;
    padding: 12px 18px;
    text-align: center;
    flex-shrink: 0;
}

.fan-header-badge span {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.fan-header-badge strong {
    color: var(--fan-gold);
    font-size: 13px;
    display: block;
}

/* Page-level subtitle */
.fan-page-subtitle {
    background: rgba(0,0,0,0.35);
    border-top: 2px solid var(--fan-red);
    padding: 11px 0;
    position: relative;
    z-index: 1;
}

.fan-subtitle-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fan-subtitle-label {
    background: var(--fan-red);
    color: white;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.fan-subtitle-text {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* =========================================
   NAVIGATION
   ========================================= */

.fan-nav {
    background: var(--fan-dark-blue);
    border-bottom: 3px solid var(--fan-red);
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.fan-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.fan-menu,
.fan-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fan-menu {
    display: flex;
    flex-wrap: wrap;
}

.fan-menu > li {
    position: relative;
}

.fan-menu > li > a {
    display: block;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    padding: 15px 17px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.fan-menu > li > a:hover,
.fan-menu > li.current-menu-item > a,
.fan-menu > li.current-page-ancestor > a {
    color: var(--fan-white);
    border-bottom-color: var(--fan-gold);
    background: rgba(255,255,255,0.06);
}

/* Dropdown */
.fan-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--fan-navy);
    min-width: 230px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    z-index: 10000;
    border-top: 2px solid var(--fan-red);
}

.fan-menu li:hover > ul {
    display: block;
}

.fan-menu li ul li a {
    display: block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 11px 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.fan-menu li ul li a:hover {
    color: var(--fan-white);
    border-left-color: var(--fan-gold);
    background: rgba(255,255,255,0.05);
    padding-left: 22px;
}

/* =========================================
   MAIN CONTENT WRAPPER
   ========================================= */

.fan-main {
    min-height: 65vh;
    background: var(--fan-white);
}

.fan-content-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 30px 40px;
}

/* =========================================
   ARTICLE TYPOGRAPHY
   ========================================= */

.fan-article-label {
    display: inline-block;
    background: var(--fan-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-bottom: 16px;
    border-radius: 2px;
}

.fan-content-wrap h1 {
    font-size: 34px;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--fan-navy);
}

.fan-content-wrap h2 {
    font-size: 24px;
    color: var(--fan-dark-blue);
    border-left: 4px solid var(--fan-red);
    padding-left: 16px;
    margin: 40px 0 16px;
    line-height: 1.35;
}

.fan-content-wrap h3 {
    font-size: 19px;
    color: var(--fan-dark-blue);
    margin: 30px 0 12px;
}

.fan-content-wrap p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--fan-text);
    margin: 0 0 18px;
}

.fan-byline {
    font-size: 14px;
    color: var(--fan-text-light);
    font-style: italic;
    border-bottom: 2px solid var(--fan-border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* Article divider */
.fan-section-divider {
    border: none;
    border-top: 2px solid var(--fan-border);
    margin: 35px 0;
}

/* Document links — [CS001] style */
.doc-link {
    color: var(--fan-red) !important;
    font-weight: 700;
    text-decoration: none !important;
    border-bottom: 1px dashed var(--fan-red);
    padding: 0 1px;
}
.doc-link:hover {
    background: rgba(196,18,48,0.06);
    color: var(--fan-red-dark) !important;
}

/* =========================================
   LINKS TO PRESS BOX
   ========================================= */

.fan-press-box {
    background: var(--fan-light-bg);
    border: 1px solid var(--fan-border);
    border-left: 5px solid var(--fan-dark-blue);
    border-radius: 4px;
    padding: 28px 30px;
    margin: 55px 0 20px;
}

.fan-press-box h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fan-dark-blue);
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--fan-border);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.fan-press-box p.placeholder {
    color: var(--fan-text-light);
    font-style: italic;
    font-size: 14px;
    margin: 0;
}

.fan-press-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fan-press-box ul li {
    padding: 9px 0;
    border-bottom: 1px solid var(--fan-border);
    font-size: 14px;
}

.fan-press-box ul li:last-child { border-bottom: none; }

.fan-press-box ul li a {
    color: var(--fan-mid-blue);
    text-decoration: none;
}
.fan-press-box ul li a:hover { color: var(--fan-red); }

/* =========================================
   DISCLAIMER / ALERT BOXES
   ========================================= */

.fan-disclaimer {
    background: #eef2f7;
    border: 1px solid #c5d3e8;
    border-left: 5px solid var(--fan-mid-blue);
    border-radius: 4px;
    padding: 20px 24px;
    margin: 30px 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--fan-text-light);
}

.fan-alert-box {
    background: #fff8f0;
    border: 1px solid #ffd4a3;
    border-left: 5px solid #e07b39;
    border-radius: 4px;
    padding: 20px 24px;
    margin: 30px 0;
    font-size: 15px;
    line-height: 1.75;
}

.fan-alert-box strong { color: #b85a00; }

/* =========================================
   HOME PAGE STYLES
   ========================================= */

.fan-home-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;
}

.fan-home-intro > p.lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--fan-text);
    border-left: 4px solid var(--fan-red);
    padding-left: 20px;
    margin-bottom: 25px;
}

.fan-latest-update {
    background: var(--fan-navy);
    color: white;
    padding: 30px;
    border-radius: 6px;
    margin: 40px 0;
}

.fan-latest-update h3 {
    color: var(--fan-gold);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 10px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.fan-latest-update p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    margin: 0;
}

/* Investigation Cards Grid */
.fan-investigations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin: 40px 0;
}

.fan-inv-card {
    background: var(--fan-white);
    border: 1px solid var(--fan-border);
    border-top: 4px solid var(--fan-dark-blue);
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.22s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.fan-inv-card:hover {
    border-top-color: var(--fan-red);
    box-shadow: 0 5px 18px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    color: inherit;
}

.fan-inv-card h3 {
    font-size: 17px;
    color: var(--fan-dark-blue);
    margin: 0 0 10px;
}

.fan-inv-card p {
    font-size: 13px;
    color: var(--fan-text-light);
    line-height: 1.65;
    margin: 0 0 14px;
}

.fan-inv-card .read-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--fan-red);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* =========================================
   DOCUMENT STORE
   ========================================= */

.fan-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin: 30px 0;
}

.fan-doc-card {
    background: var(--fan-light-bg);
    border: 1px solid var(--fan-border);
    border-left: 4px solid var(--fan-mid-blue);
    border-radius: 4px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.2s;
}

.fan-doc-card:hover {
    border-left-color: var(--fan-red);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.fan-doc-card .doc-badge {
    background: var(--fan-dark-blue);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 3px;
    letter-spacing: 1px;
    white-space: nowrap;
    margin-top: 2px;
}

.fan-doc-card .doc-info a {
    font-size: 14px;
    font-weight: 600;
    color: var(--fan-navy);
    text-decoration: none;
    display: block;
    margin-bottom: 3px;
}

.fan-doc-card .doc-info a:hover { color: var(--fan-red); }

.fan-doc-card .doc-info small {
    font-size: 12px;
    color: var(--fan-text-light);
}

.fan-doc-note {
    background: #fffbea;
    border: 1px solid #ffe066;
    border-left: 4px solid #f0a500;
    padding: 16px 20px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 25px;
    color: #6b4c00;
}

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

.fan-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 30px 0;
}

.fan-contact-card {
    background: var(--fan-light-bg);
    border: 1px solid var(--fan-border);
    border-top: 4px solid var(--fan-dark-blue);
    border-radius: 4px;
    padding: 28px;
}

.fan-contact-card h3 {
    font-size: 16px;
    color: var(--fan-dark-blue);
    margin: 0 0 10px;
}

.fan-contact-card p { font-size: 14px; line-height: 1.75; }
.fan-contact-card a { font-weight: 700; color: var(--fan-mid-blue); }
.fan-contact-card a:hover { color: var(--fan-red); }

/* =========================================
   TERMS & CONDITIONS
   ========================================= */

.fan-terms h2 {
    font-size: 18px;
    border-left: none;
    padding-left: 0;
    border-bottom: 2px solid var(--fan-border);
    padding-bottom: 8px;
    margin: 35px 0 14px;
}

.fan-terms h3 {
    font-size: 16px;
    color: var(--fan-dark-blue);
    margin: 22px 0 8px;
}

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

.fan-footer {
    background: var(--fan-navy);
    color: rgba(255,255,255,0.65);
    padding: 50px 0 24px;
    margin-top: 0;
}

.fan-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.fan-footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 28px;
}

.fan-footer-brand-title {
    display: block;
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--fan-white);
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.fan-footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.fan-footer-col-title {
    display: block;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--fan-white);
    margin-bottom: 16px;
    font-weight: 700;
}

.fan-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fan-footer-links li { margin-bottom: 9px; }

.fan-footer-links li a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.fan-footer-links li a:hover { color: var(--fan-white); }

.fan-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.fan-footer-copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

.fan-footer-legal {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    max-width: 600px;
    line-height: 1.6;
    font-style: italic;
}

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

@media (max-width: 900px) {
    .fan-logo-title { font-size: 30px; letter-spacing: 2px; }
    .fan-content-wrap { padding: 35px 20px; }
    .fan-content-wrap h1 { font-size: 26px; }
    .fan-content-wrap h2 { font-size: 20px; }
    .fan-footer-top { grid-template-columns: 1fr; gap: 28px; }
    .fan-contact-grid { grid-template-columns: 1fr; }
    .fan-investigations-grid { grid-template-columns: 1fr; }
    .fan-header-badge { display: none; }
}

@media (max-width: 680px) {
    .fan-logo-title { font-size: 24px; letter-spacing: 1px; }
    .fan-menu > li > a { padding: 12px 13px; font-size: 11px; }
    .fan-doc-grid { grid-template-columns: 1fr; }
}

/* =========================================
   ELEMENTOR COMPATIBILITY
   ========================================= */

/* Ensure Elementor full-width sections work */
.elementor-section.elementor-section-stretched {
    left: 0 !important;
    width: 100% !important;
}

/* Hide FAN content wrap when Elementor renders content */
.elementor-page .fan-content-wrap > .entry-content > *:not(.elementor) {
    /* Elementor manages its own layout */
}

/* =========================================
   BREADCRUMB / READING BAR
   ========================================= */

.fan-reading-bar {
    background: var(--fan-light-bg);
    border-bottom: 1px solid var(--fan-border);
    padding: 9px 0;
    font-size: 12px;
    color: var(--fan-text-light);
}

.fan-reading-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fan-reading-bar a {
    color: var(--fan-text-light);
    text-decoration: none;
}

.fan-reading-bar a:hover { color: var(--fan-red); }

.fan-reading-bar .sep { color: var(--fan-border); }
