/*
Theme Name: BTCSoul Editorial
Theme URI: https://www.btcsoul.com/
Author: BTCSoul
Author URI: https://www.btcsoul.com/
Description: Tema editorial moderno, rápido e sem dependências legadas, desenvolvido sob medida para o BTCSoul - O espírito do Bitcoin.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: btcsoul
*/

:root {
  --btc-orange: #ed5e00;
  --btc-orange-hover: #d45200;
  --btc-gold: #f7ca00;
  --btc-green: #16a34a;
  --btc-red: #dc2626;
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-header: rgba(255, 255, 255, 0.95);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-heading: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1240px;
}

[data-theme="dark"] {
  --bg-body: #0b0f17;
  --bg-surface: #131b2e;
  --bg-surface-alt: #1e293b;
  --bg-header: rgba(19, 27, 46, 0.95);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #1e293b;
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 12px 28px -4px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--btc-orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--btc-orange), var(--btc-gold));
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* Live Crypto Ticker Bar */
.crypto-ticker-bar {
  background: #0f172a;
  color: #f8fafc;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 0;
  overflow: hidden;
}

.crypto-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ticker-items {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.ticker-items::-webkit-scrollbar {
  display: none;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.ticker-symbol {
  color: var(--btc-gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ticker-price {
  color: #ffffff;
}

.ticker-change {
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
}

.ticker-change.up {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}

.ticker-change.down {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

.ticker-date {
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-branding img {
  max-height: 46px;
  width: auto;
}

.brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-fallback .btc-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--btc-orange), var(--btc-gold));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(237, 94, 0, 0.35);
}

.brand-fallback span em {
  font-style: normal;
  color: var(--btc-orange);
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-post-ancestor > a {
  color: var(--btc-orange);
  background: rgba(237, 94, 0, 0.08);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.icon-btn:hover {
  border-color: var(--btc-orange);
  color: var(--btc-orange);
}

.mobile-menu-toggle {
  display: none;
}

/* Search Bar Drawer */
.header-search-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.header-search-drawer.active {
  display: block;
}

.search-form-modern {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}

.search-form-modern input[type="search"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-body);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-body);
}

.search-form-modern input[type="search"]:focus {
  outline: none;
  border-color: var(--btc-orange);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--btc-orange);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: var(--btc-orange-hover);
  color: #ffffff;
}

/* Category Badges */
.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.cat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff !important;
  background-color: var(--btc-orange);
  line-height: 1.4;
}

.cat-badge.cat-destaque {
  background-color: #f7ca00;
  color: #111827 !important;
}

.cat-badge.cat-investimentos {
  background-color: #69b738;
}

.cat-badge.cat-noticias {
  background-color: #ed5e00;
}

.cat-badge.cat-criptos-tecnologias {
  background-color: #64748b;
}

.cat-badge.cat-tutoriais {
  background-color: #2563eb;
}

/* Hero Showcase Section */
.hero-section {
  padding: 32px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 20px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f172a;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--card-shadow);
}

.hero-side-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.hero-side-stack .hero-card {
  min-height: 210px;
}

.hero-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card:hover .hero-card-bg {
  transform: scale(1.04);
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.65) 55%, rgba(15, 23, 42, 0.94) 100%);
}

.hero-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
  color: #ffffff;
}

.hero-side-stack .hero-card-content {
  padding: 20px;
}

.hero-card-title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.22;
}

.hero-side-stack .hero-card-title {
  font-size: 19px;
  line-height: 1.3;
}

.hero-card-title a {
  color: #ffffff;
}

.hero-card-title a:hover {
  color: var(--btc-gold);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-card .post-meta {
  color: rgba(255, 255, 255, 0.78);
}

/* Postline Strip (Destaques Rápidos) */
.postline-strip {
  margin: 8px 0 32px;
  padding: 18px 22px;
  background: rgba(237, 94, 0, 0.07);
  border: 1px solid rgba(237, 94, 0, 0.18);
  border-radius: var(--radius-md);
}

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

.postline-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.postline-thumb {
  width: 72px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-surface-alt);
}

.postline-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.postline-info h4 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.postline-info .post-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* Main Layout (Content + Sidebar) */
.site-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  padding-bottom: 64px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.section-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--btc-orange);
}

/* Post Cards Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.post-card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-surface-alt);
  overflow: hidden;
}

.post-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-card:hover .post-card-image-wrap img {
  transform: scale(1.04);
}

.post-card-image-wrap .post-categories {
  position: absolute;
  bottom: 12px;
  left: 12px;
  margin-bottom: 0;
  z-index: 2;
}

.post-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.post-card-excerpt {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Pagination */
.pagination-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.15s ease;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--btc-orange);
  border-color: var(--btc-orange);
  color: #ffffff;
}

/* Sidebar Widgets */
.site-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--card-shadow);
}

.widget-title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title::before {
  content: "";
  width: 5px;
  height: 16px;
  background: var(--btc-orange);
  border-radius: 2px;
}

/* Top 5 Crypto Widget */
.crypto-market-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.crypto-market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
}

.crypto-coin-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-coin-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.crypto-coin-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
}

.crypto-coin-symbol {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
}

.crypto-coin-price-wrap {
  text-align: right;
}

.crypto-coin-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  display: block;
}

/* Sidebar Recent Posts */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.recent-post-thumb {
  width: 76px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-surface-alt);
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-title {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}

.recent-post-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* Category List Widget */
.category-list-modern {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-list-modern li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}

.category-list-modern li a:hover {
  background: var(--btc-orange);
  color: #ffffff;
}

.cat-count {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--bg-surface);
  color: var(--text-secondary);
}

/* Single Post Styles */
.single-post-header {
  padding: 36px 0 24px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumbs a:hover {
  color: var(--btc-orange);
}

.single-post-title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.single-featured-image {
  margin: 0 0 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.single-featured-image img {
  width: 100%;
  height: auto;
}

.entry-content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-primary);
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
  margin: 0 0 22px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 34px 0 14px;
  line-height: 1.3;
}

.entry-content h2 {
  font-size: 26px;
}

.entry-content h3 {
  font-size: 22px;
}

.entry-content a {
  color: var(--btc-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  padding: 18px 24px;
  border-left: 4px solid var(--btc-orange);
  background: var(--bg-surface-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

.entry-content figure,
.entry-content .wp-block-image {
  margin: 28px 0;
}

.entry-content img {
  border-radius: var(--radius-sm);
}

/* Tags & Share Box */
.post-footer-bar {
  margin-top: 36px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tags a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.post-tags a:hover {
  background: var(--btc-orange);
  color: #ffffff;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff !important;
  gap: 6px;
}

.share-btn.twitter { background: #0f172a; }
.share-btn.whatsapp { background: #16a34a; }
.share-btn.telegram { background: #0284c7; }
.share-btn.facebook { background: #1d4ed8; }
.share-btn.linkedin { background: #0369a1; }

.share-btn:hover {
  opacity: 0.9;
}

/* Author Bio Box */
.author-bio-box {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--card-shadow);
}

.author-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--btc-orange);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
}

.author-info p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Related Posts */
.related-posts-section {
  margin-top: 44px;
}

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

/* Archive Header */
.archive-header {
  padding: 36px 0 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.archive-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
}

.archive-description {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

/* Contact Form */
.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
}

.form-control:focus {
  outline: none;
  border-color: var(--btc-orange);
}

.alert-box {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}

.alert-box.success {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.alert-box.error {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

/* Footer */
.site-footer {
  background: #0b0f17;
  color: #cbd5e1;
  padding: 56px 0 36px;
  border-top: 3px solid var(--btc-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about p {
  color: #94a3b8;
  font-size: 14.5px;
  max-width: 420px;
  margin: 14px 0 20px;
}

.footer-heading {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--btc-gold);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: #64748b;
}

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--btc-orange);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(237, 94, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 900;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    min-height: 340px;
  }
  .postline-grid {
    grid-template-columns: 1fr;
  }
  .site-main-layout {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
    box-shadow: var(--card-shadow);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }
  .posts-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .author-bio-box {
    flex-direction: column;
    text-align: center;
  }
  .ticker-date {
    display: none;
  }
}
