/* Palette: Slate Grey, News Red, White, Light Grey */
:root {
    --slate: #2C3E50;
    --slate-dark: #1a252f;
    --red: #C0392B;
    --red-hover: #a93226;
    --white: #FFFFFF;
    --grey-light: #ECF0F1;
    --text: #2c3e50;
    
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--grey-light);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 60px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* Ticker */
.market-ticker { background: var(--slate-dark); color: #fff; font-size: 0.8rem; padding: 5px 0; overflow: hidden; white-space: nowrap; border-bottom: 1px solid #444; }
.ticker-wrap { display: inline-block; padding-left: 100%; animation: scroll 20s linear infinite; font-family: var(--font-sans); font-weight: 500; }
.ticker-wrap span { margin-right: 30px; }
.up { color: #2ecc71; } .down { color: #e74c3c; } .neutral { color: #f1c40f; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Header */
.insider-header { background: var(--white); padding: 20px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-bottom: 3px solid var(--red); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-serif); font-weight: 900; font-size: 1.8rem; color: var(--slate); letter-spacing: -1px; }
.red-box { background: var(--red); color: var(--white); padding: 0 5px; margin-left: 2px; font-style: italic; }

.news-nav a { margin-left: 25px; font-weight: 700; color: var(--slate); text-transform: uppercase; font-size: 0.9rem; }
.news-nav a:hover, .news-nav a.active { color: var(--red); text-decoration: underline; }

.btn-subscribe { background: var(--red); color: var(--white); padding: 8px 20px; font-weight: 700; font-size: 0.8rem; border-radius: 2px; }
.btn-subscribe:hover { background: var(--red-hover); }

.mobile-toggle { display: none; background: transparent; border: none; font-size: 1.5rem; cursor: pointer; color: var(--slate); margin-left: 15px; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100%; background: var(--slate); z-index: 2000; padding: 40px; transition: 0.3s; }
.mobile-menu.active { right: 0; }
.close-btn { background: none; border: none; font-size: 1.5rem; color: var(--white); margin-bottom: 20px; cursor: pointer; }
.mobile-menu a { display: block; font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); margin-bottom: 15px; border-bottom: 1px solid #444; padding-bottom: 5px; }

@media (max-width: 900px) {
    .news-nav, .btn-subscribe { display: none; }
    .mobile-toggle { display: block; }
}

/* Hero */
.hero-news { background: var(--white); padding: 40px 0; border-bottom: 1px solid #ddd; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: flex-start; }

.badge { background: var(--red); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 3px 8px; display: inline-block; margin-bottom: 10px; }
.hero-main h1 { font-family: var(--font-serif); font-size: 3rem; line-height: 1.1; margin-bottom: 15px; color: var(--slate-dark); }
.lead { font-size: 1.2rem; color: #555; margin-bottom: 20px; font-family: var(--font-serif); }
.read-more { color: var(--red); font-weight: 700; font-size: 0.9rem; border-bottom: 2px solid var(--red); }

.hero-visual { position: relative; }
.chart-overlay { position: absolute; bottom: 20px; right: 20px; background: rgba(255,255,255,0.9); padding: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 1px solid #ddd; }
.chart-overlay span { font-size: 0.7rem; font-weight: 700; display: block; margin-bottom: 5px; }
.bars { display: flex; gap: 5px; align-items: flex-end; height: 50px; width: 100px; }
.bar { width: 30%; background: #ccc; }
.bar.active { background: var(--red); }

/* Latest News */
.section-header { margin-bottom: 40px; }
.section-header h2 { font-family: var(--font-sans); font-size: 1.2rem; color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.slate-line { width: 100%; height: 2px; background: #ddd; position: relative; }
.slate-line::after { content: ''; position: absolute; width: 50px; height: 4px; background: var(--slate); top: -1px; left: 0; }
.slate-line.left { width: 50px; height: 4px; background: var(--slate); margin-top: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: var(--white); padding: 25px; border: 1px solid #e0e0e0; transition: 0.3s; border-top: 3px solid transparent; }
.news-card:hover { transform: translateY(-3px); border-top-color: var(--red); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.category { font-size: 0.7rem; color: var(--slate); font-weight: 700; display: block; margin-bottom: 10px; }
.news-card h3 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 10px; line-height: 1.3; }
.news-card p { font-size: 0.9rem; color: #666; margin-bottom: 15px; }
.date { font-size: 0.75rem; color: #999; display: block; border-top: 1px solid #eee; padding-top: 10px; }

/* Data Strip */
.data-strip { background: var(--slate); color: var(--white); padding: 30px 0; margin-top: 20px; }
.data-flex { display: flex; justify-content: space-around; text-align: center; }
.data-item strong { display: block; font-size: 0.8rem; opacity: 0.7; margin-bottom: 5px; }
.data-item .val { font-size: 1.5rem; font-weight: 700; font-family: var(--font-sans); }

/* Article List */
.article-list { display: flex; flex-direction: column; gap: 30px; max-width: 800px; margin: 0 auto; }
.article-row { display: flex; gap: 20px; background: var(--white); padding: 20px; border: 1px solid #ddd; align-items: flex-start; }
.art-img img { width: 200px; height: 130px; object-fit: cover; }
.topic { font-size: 0.7rem; color: var(--red); font-weight: 700; text-transform: uppercase; }
.art-content h3 { font-family: var(--font-serif); font-size: 1.4rem; margin: 5px 0 10px; }
.art-content p { font-size: 0.9rem; color: #555; margin-bottom: 10px; }
.read-link { font-size: 0.8rem; font-weight: 700; color: var(--slate); text-decoration: underline; }

/* Sector Grid */
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sector-card { background: var(--white); padding: 30px; border: 1px solid #ddd; }
.sc-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }
.sc-head h3 { font-family: var(--font-sans); font-weight: 900; color: var(--slate); margin: 0; }
.trend { font-size: 0.8rem; font-weight: 700; padding: 2px 6px; border-radius: 2px; }
.trend.up { background: #d4edda; color: #155724; }
.trend.down { background: #f8d7da; color: #721c24; }
.trend.neutral { background: #fff3cd; color: #856404; }
.sc-stats { display: flex; justify-content: space-between; margin-top: 20px; font-size: 0.9rem; color: #666; }

/* Subscribe Form */
.sub-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: var(--white); padding: 60px; border: 1px solid #ddd; align-items: center; }
.sub-intro h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--slate); margin-bottom: 15px; }
.benefits { list-style: none; margin-top: 20px; }
.benefits li { margin-bottom: 10px; font-weight: 500; color: var(--slate); }

.sub-form { background: var(--grey-light); padding: 30px; border-radius: 4px; }
.sub-form h3 { font-family: var(--font-sans); font-weight: 900; margin-bottom: 20px; color: var(--red); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 5px; color: var(--slate); }
.form-group input, .form-group select { width: 100%; padding: 10px; border: 1px solid #ccc; font-family: var(--font-sans); }
.form-check { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; font-size: 0.8rem; }
.btn-red { background: var(--red); color: var(--white); border: none; padding: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-red:hover { background: var(--red-hover); }
.full { width: 100%; }
.form-note { font-size: 0.7rem; color: #888; margin-top: 10px; text-align: center; }

/* Legal */
.legal-doc { max-width: 800px; margin: 0 auto; background: var(--white); padding: 50px; }
.legal-doc h1 { font-family: var(--font-serif); color: var(--slate); }

/* Footer */
.insider-footer { background: var(--slate-dark); color: #ccc; padding: 50px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid #333; padding-bottom: 30px; }
.f-col h4 { font-family: var(--font-serif); font-weight: 900; color: var(--white); letter-spacing: -1px; margin-bottom: 5px; }
.f-nav a { margin-left: 20px; color: #999; font-size: 0.9rem; }
.f-nav a:hover { color: var(--white); }
.copyright { text-align: center; font-size: 0.8rem; color: #666; }

@media (max-width: 900px) {
    .hero-grid, .grid-3, .sector-grid, .sub-layout, .article-row { grid-template-columns: 1fr; }
    .hero-main h1 { font-size: 2.2rem; }
    .hero-visual { order: -1; }
    .data-flex { flex-direction: column; gap: 20px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .article-row { flex-direction: column; }
    .art-img img { width: 100%; }
}