@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bento-bg: #0b0f19;
  --bento-card: #151d2f;
  --bento-card-light: #1e293b;
  --bento-border: rgba(255, 255, 255, 0.08);
  --bento-border-hover: rgba(234, 88, 12, 0.4);
  --bento-saffron: #ea580c;
  --bento-emerald: #10b981;
  --bento-cyan: #06b6d4;
  --bento-text: #f8fafc;
  --bento-muted: #94a3b8;
  --bento-font-heading: 'Outfit', system-ui, sans-serif;
  --bento-font-body: 'Inter', system-ui, sans-serif;
  --bento-radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bento-bg); color: var(--bento-text); font-family: var(--bento-font-body); line-height: 1.6; font-size: 15px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.bento-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Bento Top Header */
.bento-header { background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--bento-border); position: sticky; top: 0; z-index: 90; }
.bento-header-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.bento-brand { display: flex; align-items: center; gap: 10px; }
.bento-logo-mark { width: 34px; height: 34px; background: linear-gradient(135deg, var(--bento-saffron), #f97316); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--bento-font-heading); font-weight: 800; font-size: 18px; color: #fff; }
.bento-logo-text { font-family: var(--bento-font-heading); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.bento-logo-text span { color: var(--bento-saffron); }

.bento-nav-menu { display: flex; list-style: none; gap: 6px; }
.bento-nav-item a { display: block; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--bento-muted); border-radius: 8px; transition: all 0.2s; }
.bento-nav-item a:hover, .bento-nav-item a.active { color: #fff; background: rgba(255,255,255,0.06); }
.bento-cta-btn { background: linear-gradient(135deg, var(--bento-saffron), #c2410c); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* Ticker */
.bento-ticker { background: #0f172a; border-bottom: 1px solid var(--bento-border); padding: 8px 0; font-size: 12px; color: var(--bento-muted); }
.bento-ticker-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.bento-badge-live { display: inline-flex; align-items: center; gap: 6px; background: rgba(16, 185, 129, 0.15); color: var(--bento-emerald); padding: 2px 8px; border-radius: 20px; font-weight: 700; font-size: 11px; }

/* Bento Grid */
.bento-main-section { padding: 36px 0 60px; }
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }

/* Lead 8-col card */
.bento-cell-lead { grid-column: span 8; background: var(--bento-card); border: 1px solid var(--bento-border); border-radius: var(--bento-radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s; }
.bento-cell-lead:hover { border-color: var(--bento-border-hover); }
.bento-lead-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.bento-lead-img img { width: 100%; height: 100%; object-fit: cover; }
.bento-lead-body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.bento-pill-saffron { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; background: var(--bento-saffron); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; align-self: flex-start; }
.bento-lead-h1 { font-family: var(--bento-font-heading); font-size: 28px; line-height: 1.3; font-weight: 800; color: #fff; margin-bottom: 14px; }
.bento-lead-h1 a:hover { color: var(--bento-saffron); }
.bento-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--bento-muted); margin-bottom: 14px; }
.bento-lead-desc { font-size: 15px; color: #cbd5e1; line-height: 1.6; margin-bottom: 20px; }
.bento-read-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--bento-saffron); margin-top: auto; }

/* 4-col Sidebar cell */
.bento-cell-side { grid-column: span 4; background: var(--bento-card); border: 1px solid var(--bento-border); border-radius: var(--bento-radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.bento-side-h3 { font-family: var(--bento-font-heading); font-size: 16px; font-weight: 700; color: #fff; border-bottom: 1px solid var(--bento-border); padding-bottom: 10px; margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; }
.bento-feed-item { padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.bento-feed-item:last-child { border-bottom: none; }
.bento-feed-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--bento-emerald); }
.bento-feed-title { font-size: 13px; font-weight: 600; color: #f1f5f9; margin-top: 4px; line-height: 1.4; }
.bento-feed-title a:hover { color: var(--bento-saffron); }

/* 4-col square cards */
.bento-cell-4 { grid-column: span 4; background: var(--bento-card); border: 1px solid var(--bento-border); border-radius: var(--bento-radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s; }
.bento-cell-4:hover { border-color: var(--bento-border-hover); }
.bento-cell-media { aspect-ratio: 16/10; overflow: hidden; }
.bento-cell-media img { width: 100%; height: 100%; object-fit: cover; }
.bento-cell-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.bento-cell-h2 { font-family: var(--bento-font-heading); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.35; }
.bento-cell-h2 a:hover { color: var(--bento-saffron); }
.bento-cell-p { font-size: 13px; color: var(--bento-muted); line-height: 1.5; margin-bottom: 12px; }

/* 6-col horizontal card */
.bento-cell-6 { grid-column: span 6; background: var(--bento-card); border: 1px solid var(--bento-border); border-radius: var(--bento-radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.bento-cell-6 .bento-cell-content { padding: 24px; justify-content: center; }

/* Stat Highlight Box */
.bento-stat-banner { grid-column: span 12; background: linear-gradient(135deg, rgba(234, 88, 12, 0.12), rgba(16, 185, 129, 0.08)); border: 1px solid rgba(234, 88, 12, 0.3); border-radius: var(--bento-radius); padding: 24px 32px; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px; }
.bento-stat-item { text-align: center; }
.bento-stat-val { font-family: var(--bento-font-heading); font-size: 28px; font-weight: 800; color: #fff; }
.bento-stat-lbl { font-size: 12px; color: var(--bento-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Article View in Dark Bento Theme */
.bento-article-page { max-width: 880px; margin: 36px auto; background: var(--bento-card); border: 1px solid var(--bento-border); border-radius: var(--bento-radius); padding: 40px; }
.bento-article-page h2 { font-family: var(--bento-font-heading); font-size: 22px; color: #fff; margin: 28px 0 12px; }
.bento-article-page h3 { font-family: var(--bento-font-heading); font-size: 18px; color: #fff; margin: 20px 0 8px; }
.bento-article-page p { color: #cbd5e1; font-size: 15px; line-height: 1.75; margin-bottom: 16px; }
.bento-quote-box { background: rgba(234, 88, 12, 0.08); border-left: 4px solid var(--bento-saffron); padding: 18px 24px; margin: 24px 0; border-radius: 0 12px 12px 0; font-family: var(--bento-font-heading); font-size: 16px; font-style: italic; color: #f8fafc; }
.bento-callout-box { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.2); border-radius: 12px; padding: 20px; margin: 24px 0; }
.bento-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 13px; }
.bento-table th { background: rgba(255,255,255,0.06); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; text-transform: uppercase; font-size: 11px; }
.bento-table td { padding: 10px 14px; border-bottom: 1px solid var(--bento-border); color: #cbd5e1; }
.bento-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Forms */
.bento-form-group { margin-bottom: 16px; }
.bento-form-label { display: block; font-size: 12px; font-weight: 600; color: var(--bento-muted); margin-bottom: 6px; text-transform: uppercase; }
.bento-form-input, .bento-form-textarea { width: 100%; background: #0b0f19; border: 1px solid var(--bento-border); border-radius: 8px; padding: 12px 14px; color: #fff; font-family: var(--bento-font-body); font-size: 14px; }
.bento-form-input:focus, .bento-form-textarea:focus { outline: none; border-color: var(--bento-saffron); }

/* Footer */
.bento-footer { background: #070a12; border-top: 1px solid var(--bento-border); padding: 48px 0 24px; font-size: 13px; color: var(--bento-muted); }
.bento-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--bento-border); }
.bento-foot-h4 { font-family: var(--bento-font-heading); font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 14px; }
.bento-foot-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bento-foot-links a { color: var(--bento-muted); transition: color 0.2s; }
.bento-foot-links a:hover { color: var(--bento-saffron); }

@media (max-width: 992px) {
  .bento-cell-lead, .bento-cell-side, .bento-cell-4, .bento-cell-6 { grid-column: span 12; }
  .bento-cell-6 { grid-template-columns: 1fr; }
  .bento-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bento-foot-grid { grid-template-columns: 1fr; }
  .bento-article-page { padding: 20px; }
}
