/*
Theme Name: BB Institutional
Theme URI: https://blockchainbriefing.io
Description: Bloomberg-style institutional theme for Blockchain Briefing
Author: BB Editorial
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@400;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #f5f3ef;
  font-family: 'Libre Baskerville', Georgia, serif;
  color: #1a1a2e;
  font-size: 16px;
  line-height: 1.7;
}

a { color: #1a1a2e; text-decoration: none; }
a:hover { color: #b8860b; }

/* HEADER - Bloomberg style dark */
.site-header {
  background: #0c1220;
  padding: 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  border-bottom: 1px solid #1e2a42;
}

.site-logo {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.site-logo span { color: #d4a847; }

.header-date {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  color: #667799;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-nav {
  display: flex;
  padding: 0 40px;
  border-bottom: 3px solid #d4a847;
}

.header-nav a {
  font-family: 'Source Sans 3', sans-serif;
  color: #8899bb;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 20px 10px 0;
  transition: color 0.2s;
}

.header-nav a:hover { color: #d4a847; }

/* MAIN */
.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* LEAD STORY */
.lead-story {
  border-bottom: 2px solid #1a1a2e;
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.lead-story .lead-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #d4a847;
  margin-bottom: 8px;
}

.lead-story h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lead-story h2 a { color: #1a1a2e; }
.lead-story h2 a:hover { color: #b8860b; }

.lead-story .lead-excerpt {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
  font-style: italic;
}

.lead-story .post-meta {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* TWO COLUMN LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.main-col { }

.sidebar-col {
  border-left: 1px solid #ddd;
  padding-left: 25px;
}

/* STORY LIST */
.story-item {
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
}

.story-item .story-cat {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #d4a847;
  margin-bottom: 4px;
}

.story-item h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.story-item h3 a { color: #1a1a2e; }
.story-item h3 a:hover { color: #b8860b; }

.story-item .story-excerpt {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

.story-item .story-meta {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  color: #999;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SIDEBAR SECTIONS */
.sidebar-section {
  margin-bottom: 25px;
}

.sidebar-section h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #d4a847;
  border-bottom: 2px solid #d4a847;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.sidebar-link {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.sidebar-link:hover { color: #b8860b; }

.sidebar-link .sb-meta {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  color: #999;
  font-weight: 400;
}

/* SINGLE POST */
.single-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 20px;
}

.single-wrap h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.single-wrap .post-meta {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #1a1a2e;
}

.single-wrap .post-content { font-size: 17px; line-height: 1.8; }
.single-wrap .post-content p { margin-bottom: 18px; }

.single-wrap .post-categories {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-wrap .post-categories a { color: #d4a847; margin-right: 12px; }

/* FOOTER */
.site-footer {
  background: #0c1220;
  padding: 25px 40px;
  text-align: center;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  color: #556688;
}

.site-footer a { color: #8899bb; }
.site-footer a:hover { color: #d4a847; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .sidebar-col { border-left: none; padding-left: 0; border-top: 1px solid #ddd; padding-top: 20px; }
  .header-top, .header-nav { padding-left: 15px; padding-right: 15px; }
  .lead-story h2 { font-size: 24px; }
  .single-wrap h1 { font-size: 26px; }
}
