/*
Theme Name: Blocksy Child
Theme URI: https://marketbeacon.blog/
Description: Custom magazine/newspaper theme for MarketBeacon.blog
Author: Antigravity AI
Author URI: https://marketbeacon.blog/
Template: blocksy
Version: 1.0.0
*/

:root {
  --primary-dark: #0D1F44;
  --hero-bg: #0A0F1E;
  --brand-green: #2DB84B;
  --vivid-green: #27AE60;
  --mint-accent: #E8F5E9;
  --dark-slate: #111827;
  --charcoal: #1A1A2E;
  --meta-gray: #6B7280;
  --bg-main: #FFFFFF;
  --bg-alt: #F5F7FA;
  --steel: #E2E8F0;
  --deep-green: #1E8C3A;
  
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-body: 'Merriweather', Georgia, serif;
}

/* Base resets & typography */
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background-color: var(--bg-main);
  line-height: 1.6;
}

/* Announcement Ticker */
.mb-ticker-bar {
  background-color: var(--dark-slate);
  color: #FFFFFF;
  font-size: 13px;
  font-family: var(--font-sans);
  height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  position: relative;
  z-index: 9999;
}
.mb-ticker-bar a {
  color: #FFFFFF;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s ease;
}
.mb-ticker-bar a:hover {
  color: var(--brand-green);
}

/* Custom Header & Navigation */
.mb-header {
  background-color: #FFFFFF;
  border-bottom: 2px solid var(--steel);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}
.mb-header-container {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.mb-logo img {
  height: 45px;
  width: auto;
  display: block;
}
.mb-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mb-nav > li {
  position: relative;
  margin: 0 15px;
}
.mb-nav > li > a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-dark);
  text-decoration: none;
  padding: 24px 0;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}
.mb-nav > li > a:hover {
  color: var(--brand-green);
}

/* Animated Nav Active Underline */
.mb-nav > li.active > a::after,
.mb-nav > li > a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--brand-green);
  border-radius: 2px;
  animation: navLine 0.3s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes navLine {
  from { width: 0; }
  to { width: 100%; }
}

/* Mega/Submenu dropdown styling */
.mb-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  border: 1px solid var(--steel);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  list-style: none;
  min-width: 220px;
  padding: 10px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mb-nav > li:hover .mb-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mb-dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--primary-dark);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
.mb-dropdown a:hover {
  background-color: var(--bg-alt);
  border-left-color: var(--brand-green);
  color: var(--brand-green);
}

/* Custom Search Overlay Trigger */
.mb-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-dark);
  font-size: 18px;
  padding: 5px;
  margin-left: 15px;
  transition: color 0.3s ease;
}
.mb-search-btn:hover {
  color: var(--brand-green);
}

/* Mobile responsive hamburger drawer */
.mb-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mb-hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-dark);
  transition: all 0.3s ease;
}

/* Hero Section style */
.mb-hero {
  background: linear-gradient(135deg, var(--hero-bg) 0%, var(--primary-dark) 100%);
  height: 520px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.mb-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  width: 100%;
}
.mb-hero-left {
  width: 55%;
  padding-right: 40px;
}
.mb-hero-right {
  width: 45%;
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.mb-hero-badge {
  background-color: var(--vivid-green);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--font-sans);
}
.mb-hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1.15;
  margin: 0 0 20px 0;
}
.mb-hero-title span {
  color: var(--brand-green);
}
.mb-hero-sub {
  color: #94A3B8;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}
.mb-hero-ctas {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}
.mb-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mb-btn-primary {
  background-color: var(--brand-green);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(45, 184, 75, 0.3);
}
.mb-btn-primary:hover {
  background-color: var(--deep-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 184, 75, 0.4);
}
.mb-btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}
.mb-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.mb-hero-stats {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  gap: 30px;
}
.mb-stat-item {
  display: flex;
  align-items: center;
}
.mb-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-sans);
}
.mb-stat-label {
  font-size: 13px;
  color: #94A3B8;
  margin-left: 8px;
  font-family: var(--font-sans);
}
.mb-stat-sep {
  width: 1px;
  height: 20px;
  background-color: var(--brand-green);
}

/* Glowing Lighthouse Illustration */
.mb-lighthouse-illus {
  position: relative;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(45, 184, 75, 0.2) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mb-lighthouse-svg {
  filter: drop-shadow(0 0 20px rgba(45, 184, 75, 0.4));
  animation: beaconPulse 4s infinite alternate ease-in-out;
}

@keyframes beaconPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(45, 184, 75, 0.3)); }
  100% { transform: scale(1.03); filter: drop-shadow(0 0 35px rgba(45, 184, 75, 0.6)); }
}

/* Category Strip */
.mb-cat-strip {
  background-color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 28px 0;
  position: relative;
  z-index: 10;
}
.mb-cat-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  gap: 15px;
}
.mb-cat-box {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 135px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  background-color: #FFFFFF;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
.mb-cat-box:hover {
  background-color: var(--bg-alt);
  border-bottom-color: var(--brand-green);
  transform: translateY(-2px);
}
.mb-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--mint-accent);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-right: 12px;
  flex-shrink: 0;
}
.mb-cat-info {
  display: flex;
  flex-direction: column;
}
.mb-cat-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-dark);
  margin: 0;
}
.mb-cat-desc {
  font-size: 11px;
  color: var(--meta-gray);
  margin-top: 2px;
}

/* Dynamic Grid layouts */
.mb-section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--steel);
  padding-bottom: 12px;
}
.mb-section-title {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  position: relative;
  padding-left: 15px;
}
.mb-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 4px;
  background-color: var(--brand-green);
  border-radius: 2px;
}
.mb-title-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-green);
  text-decoration: none;
  transition: color 0.3s ease;
}
.mb-title-link:hover {
  color: var(--deep-green);
}

.mb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.mb-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Post Cards */
.mb-card {
  background-color: #FFFFFF;
  border: 1px solid var(--steel);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(13, 31, 68, 0.06);
  border-left: 3px solid var(--brand-green);
}
.mb-card-img {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
  display: block;
}
.mb-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.mb-card-badge {
  background-color: var(--mint-accent);
  color: var(--brand-green);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
  font-family: var(--font-sans);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.mb-card-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--primary-dark);
  margin: 0 0 10px 0;
  transition: color 0.3s ease;
}
.mb-card-title a {
  color: inherit;
  text-decoration: none;
}
.mb-card-title a:hover {
  color: var(--brand-green);
}
.mb-card-excerpt {
  font-size: 14px;
  color: var(--meta-gray);
  line-height: 1.5;
  margin: 0 0 15px 0;
  flex-grow: 1;
}
.mb-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--meta-gray);
  border-top: 1px solid var(--steel);
  padding-top: 12px;
}

/* Sidebar Styling */
.mb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.mb-widget {
  background-color: #FFFFFF;
  border: 1px solid var(--steel);
  border-radius: 8px;
  padding: 24px;
}
.mb-widget-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-dark);
  margin: 0 0 20px 0;
  border-left: 3px solid var(--brand-green);
  padding-left: 10px;
}

/* Newsletter Sidebar Widget */
.mb-widget-newsletter {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #FFFFFF;
}
.mb-widget-newsletter .mb-widget-title {
  color: #FFFFFF;
  border-left-color: var(--brand-green);
}
.mb-newsletter-text {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 20px;
}
.mb-form-input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--steel);
  font-family: var(--font-sans);
  font-size: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.mb-btn-block {
  width: 100%;
  justify-content: center;
}

/* Popular tags */
.mb-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mb-tag-cloud a {
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--primary-dark);
  background-color: #FFFFFF;
  border: 1px solid var(--steel);
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.mb-tag-cloud a:hover {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: #FFFFFF;
}

/* Popular Posts Widget */
.mb-widget-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.mb-widget-post-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mb-widget-post-num {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-green);
  background-color: var(--mint-accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mb-widget-post-info {
  display: flex;
  flex-direction: column;
}
.mb-widget-post-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  color: var(--primary-dark);
  margin: 0 0 4px 0;
  text-decoration: none;
}
.mb-widget-post-title:hover {
  color: var(--brand-green);
}
.mb-widget-post-date {
  font-size: 11px;
  color: var(--meta-gray);
}

/* Trending section blocks */
.mb-trending-container {
  display: flex;
  gap: 30px;
}
.mb-trending-left {
  width: 55%;
}
.mb-trending-right {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mb-trending-hero {
  position: relative;
  aspect-ratio: 16/11;
  border-radius: 8px;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.mb-trending-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(10,15,30,0.9) 0%, rgba(10,15,30,0.4) 60%, transparent 100%);
  z-index: 1;
}
.mb-trending-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.mb-trending-hero-content {
  position: relative;
  z-index: 2;
  padding: 30px;
}
.mb-trending-hero-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px 0;
}
.mb-trending-hero-title a {
  color: inherit;
  text-decoration: none;
}
.mb-trending-hero-title a:hover {
  color: var(--brand-green);
}
.mb-trending-hero-meta {
  font-size: 13px;
  color: #94A3B8;
}

.mb-trending-row {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid var(--steel);
  border-radius: 8px;
  padding: 12px;
  gap: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.mb-trending-row:hover {
  border-color: var(--brand-green);
  transform: translateX(4px);
}
.mb-trending-row-img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.mb-trending-row-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.mb-trending-row-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  color: var(--primary-dark);
  margin: 0 0 6px 0;
}
.mb-trending-row:hover .mb-trending-row-title {
  color: var(--brand-green);
}
.mb-trending-row-meta {
  font-size: 11px;
  color: var(--meta-gray);
}
.mb-trending-row-badge {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  border: 1px solid var(--steel);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Compact Section layout */
.mb-compact-card {
  background-color: #FFFFFF;
  border: 1px solid var(--steel);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.mb-compact-card:hover {
  border-top: 3px solid var(--brand-green);
  box-shadow: 0 10px 20px rgba(13,31,68,0.05);
}
.mb-compact-img {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
}
.mb-compact-body {
  padding: 15px;
}
.mb-compact-badge {
  color: var(--brand-green);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}
.mb-compact-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  color: var(--primary-dark);
  margin: 0 0 8px 0;
}
.mb-compact-title a {
  color: inherit;
  text-decoration: none;
}
.mb-compact-title a:hover {
  color: var(--brand-green);
}
.mb-compact-meta {
  font-size: 11px;
  color: var(--meta-gray);
}

/* Contrast zones */
.mb-dark-section {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  padding: 60px 0;
}
.mb-dark-section .mb-section-title {
  color: #FFFFFF;
}
.mb-dark-card {
  background-color: #1A2F5E;
  border-color: #1A2F5E;
  color: #FFFFFF;
}
.mb-dark-card .mb-compact-title {
  color: #FFFFFF;
}
.mb-dark-card .mb-compact-meta {
  color: #94A3B8;
}
.mb-dark-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Write For Us CTA banner */
.mb-write-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1A3A6B 100%);
  color: #FFFFFF;
  padding: 70px 0;
}
.mb-write-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}
.mb-write-left {
  width: 55%;
  padding-right: 40px;
}
.mb-write-right {
  width: 45%;
  display: flex;
  justify-content: flex-end;
}
.mb-write-badge {
  background-color: var(--brand-green);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
}
.mb-write-title {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px 0;
}
.mb-write-desc {
  color: #94A3B8;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.mb-write-bullets {
  display: flex;
  gap: 25px;
}
.mb-bullet-item {
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: #FFFFFF;
}
.mb-bullet-icon {
  color: var(--brand-green);
  font-size: 16px;
  margin-right: 8px;
}
.mb-stats-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  padding: 30px;
  width: 100%;
  max-width: 380px;
  color: var(--primary-dark);
}
.mb-stats-card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 20px 0;
  border-bottom: 1px solid var(--steel);
  padding-bottom: 10px;
}
.mb-stats-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-family: var(--font-sans);
  font-size: 14px;
}
.mb-stats-label {
  color: var(--meta-gray);
}
.mb-stats-val {
  font-weight: 700;
  color: var(--primary-dark);
}
.mb-stats-val-green {
  color: var(--brand-green);
}
.mb-stats-btn {
  width: 100%;
  text-align: center;
  background-color: var(--brand-green);
  color: #FFFFFF;
  border-radius: 6px;
  padding: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.mb-stats-btn:hover {
  background-color: var(--deep-green);
}

/* Green Newsletter strip */
.mb-newsletter-strip {
  background-color: var(--brand-green);
  color: #FFFFFF;
  padding: 60px 0;
  text-align: center;
}
.mb-newsletter-strip-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.mb-newsletter-strip-title {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 10px 0;
}
.mb-newsletter-strip-desc {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}
.mb-newsletter-strip-form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 15px auto;
}
.mb-newsletter-strip-input {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: 6px;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
}
.mb-newsletter-strip-btn {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.mb-newsletter-strip-btn:hover {
  background-color: var(--hero-bg);
}
.mb-newsletter-strip-fine {
  font-size: 12px;
  opacity: 0.8;
}

/* Footer layout style */
.mb-footer {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  padding: 60px 0 0 0;
  border-top: 4px solid var(--brand-green);
}
.mb-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.mb-footer-col {
  display: flex;
  flex-direction: column;
}
.mb-footer-logo img {
  height: 45px;
  margin-bottom: 20px;
}
.mb-footer-about-text {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}
.mb-footer-socials {
  display: flex;
  gap: 12px;
}
.mb-footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}
.mb-footer-social-btn:hover {
  background-color: var(--brand-green);
  transform: translateY(-2px);
}
.mb-footer-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 0 0 25px 0;
}
.mb-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mb-footer-links li {
  margin-bottom: 12px;
}
.mb-footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
  display: inline-block;
}
.mb-footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.mb-footer-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.mb-footer-input::placeholder {
  color: #6B7280;
}
.mb-footer-btn {
  width: 100%;
  background-color: var(--brand-green);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.mb-footer-btn:hover {
  background-color: var(--deep-green);
}

.mb-footer-bottom {
  background-color: #070F22;
  color: #94A3B8;
  font-size: 13px;
  padding: 24px 0;
}
.mb-footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mb-footer-legal-links {
  display: flex;
  gap: 20px;
}
.mb-footer-legal-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.3s ease;
}
.mb-footer-legal-links a:hover {
  color: #FFFFFF;
}

/* Responsive breakdowns */
@media (max-width: 1024px) {
  .mb-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .mb-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .mb-footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mb-ticker-bar {
    padding: 0 15px;
  }
  .mb-ticker-socials {
    display: none;
  }
  .mb-hamburger {
    display: flex;
  }
  .mb-nav {
    display: none; /* hidden on mobile, normally handled by drawer */
  }
  .mb-hero {
    height: auto;
    padding: 60px 0;
  }
  .mb-hero-container {
    flex-direction: column;
    text-align: center;
  }
  .mb-hero-left {
    width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }
  .mb-hero-right {
    width: 100%;
    justify-content: center;
  }
  .mb-hero-title {
    font-size: 38px;
  }
  .mb-hero-ctas {
    justify-content: center;
  }
  .mb-hero-stats {
    justify-content: center;
  }
  .mb-trending-container {
    flex-direction: column;
  }
  .mb-trending-left, .mb-trending-right {
    width: 100%;
  }
  .mb-write-container {
    flex-direction: column;
    text-align: center;
  }
  .mb-write-left {
    width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }
  .mb-write-bullets {
    justify-content: center;
  }
  .mb-write-right {
    width: 100%;
    justify-content: center;
  }
  .mb-footer-container {
    grid-template-columns: 1fr;
  }
  .mb-footer-bottom-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .mb-footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
