/*
Theme Name: BTC Analyze
Theme URI: https://btc-analyze.com
Description: Premium dark cryptocurrency education theme
Version: 1.0
Author: BTC Analyze
Text Domain: btc-theme
*/

/* ==========================================================================
   1. CSS Variables (Design Tokens)
   ========================================================================== */

:root {
  /* Navy palette */
  --navy-950: #050a12;
  --navy-900: #0a1628;
  --navy-800: #1a2744;
  --navy-700: #2a3b5a;
  --navy-surface: #13233f;
  --navy-border: rgba(255, 255, 255, 0.06);

  /* Gold accent */
  --gold: #d4a843;
  --gold-hover: #e5be5a;
  --gold-light: #f0d78c;

  /* Text */
  --text-white: #ffffff;
  --text-primary: #e5e7eb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;

  /* Typography */
  --font-sans: 'Noto Sans JP', 'Inter', sans-serif;
  --font-en: 'Inter', sans-serif;

  /* Spacing */
  --header-height: 72px;
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.3s var(--ease-smooth);
  --transition-slow: 0.5s var(--ease-out);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 20px rgba(212, 168, 67, 0.15);
}


/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.btc-body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--navy-900);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--gold);
  color: var(--navy-950);
}

::-moz-selection {
  background: var(--gold);
  color: var(--navy-950);
}


/* ==========================================================================
   3. Custom Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-700);
  border-radius: var(--radius-full);
  border: 2px solid var(--navy-900);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--navy-700) var(--navy-900);
}


/* ==========================================================================
   4. Layout
   ========================================================================== */

.btc-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.btc-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.btc-content-area {
  display: flex;
  gap: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.btc-main {
  flex: 1;
  min-width: 0;
}

.btc-sidebar {
  width: 340px;
  flex-shrink: 0;
}


/* ==========================================================================
   5. Header
   ========================================================================== */

.btc-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 9999;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.btc-header.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btc-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btc-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.btc-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--navy-950);
  font-family: var(--font-en);
  flex-shrink: 0;
}

.btc-logo-text {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.btc-logo-text .logo-btc {
  color: var(--text-white);
}

.btc-logo-text .logo-analyze {
  color: var(--gold);
}

.btc-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.btc-nav ul li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.btc-nav ul li a:hover,
.btc-nav ul li a.is-active {
  color: var(--gold);
}

.btc-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-normal);
}

.btc-nav ul li a:hover::after,
.btc-nav ul li a.is-active::after {
  width: 100%;
}

.btc-header-spacer {
  height: var(--header-height);
}

/* Mobile menu toggle */
.btc-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.btc-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 1px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}


/* ==========================================================================
   6. Category Nav
   ========================================================================== */

.btc-cat-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.75rem 0;
}

.btc-cat-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.btc-cat-nav-inner::-webkit-scrollbar {
  display: none;
}

.btc-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btc-cat-pill:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btc-cat-pill.is-active {
  color: var(--gold);
  border-color: rgba(212, 168, 67, 0.3);
  background: rgba(212, 168, 67, 0.08);
}

.btc-cat-pill.is-active {
  background: rgba(212, 168, 67, 0.12);
  color: var(--gold-light);
}


/* Section title */
.btc-section-title {
  color: var(--text-white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}


/* ==========================================================================
   7. Card Grid
   ========================================================================== */

.btc-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.btc-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal),
              border-color var(--transition-normal);
}

.btc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 168, 67, 0.2);
}

.btc-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.btc-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.btc-card:hover .btc-card-thumb img {
  transform: scale(1.05);
}

.btc-card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.btc-card-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(212, 168, 67, 0.9);
  color: var(--navy-950);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.btc-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

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

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

.btc-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

.btc-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btc-card-excerpt {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ==========================================================================
   8. Single Article
   ========================================================================== */

.btc-article {
  max-width: 100%;
}

/* Breadcrumb */
.btc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btc-breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.btc-breadcrumb .separator {
  color: var(--navy-700);
  font-size: 0.7rem;
}

.btc-breadcrumb .current {
  color: var(--text-secondary);
}

/* Article header */
.btc-article-header {
  margin-bottom: 2rem;
}

.btc-article-header .btc-card-cat {
  margin-bottom: 0.75rem;
}

.btc-article-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.btc-article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.btc-article-meta .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--navy-border);
}

.btc-article-meta .author-name {
  color: var(--text-secondary);
  font-weight: 600;
}

.btc-article-meta .meta-sep {
  color: var(--navy-700);
}

/* Featured image */
.btc-featured-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: 1px solid var(--navy-border);
}

.btc-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}


/* ==========================================================================
   9. Article Body (Rich Typography)
   ========================================================================== */

.btc-article-body {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.btc-article-body > *:first-child {
  margin-top: 0;
}

/* Headings */
.btc-article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--gold);
  background: rgba(19, 35, 63, 0.5);
  border-radius: 0 8px 8px 0;
  line-height: 1.4;
}

.btc-article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.4;
}

.btc-article-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.btc-article-body h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.btc-article-body h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Paragraphs */
.btc-article-body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Links */
.btc-article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  transition: all var(--transition-fast);
}

.btc-article-body a:hover {
  color: var(--gold-hover);
  text-decoration-style: solid;
}

/* Strong / Emphasis */
.btc-article-body strong,
.btc-article-body b {
  color: var(--text-white);
  font-weight: 700;
}

.btc-article-body em,
.btc-article-body i {
  font-style: italic;
}

/* Blockquote */
.btc-article-body blockquote {
  background: var(--navy-surface);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-secondary);
}

.btc-article-body blockquote p {
  margin-bottom: 0;
}

.btc-article-body blockquote p + p {
  margin-top: 0.75rem;
}

.btc-article-body blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
}

/* Unordered lists */
.btc-article-body ul {
  margin: 1.5rem 0;
  padding-left: 0;
}

.btc-article-body ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.btc-article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Ordered lists */
.btc-article-body ol {
  margin: 1.5rem 0;
  padding-left: 0;
  counter-reset: ol-counter;
}

.btc-article-body ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  counter-increment: ol-counter;
}

.btc-article-body ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 0.9rem;
  min-width: 1.5rem;
}

/* Nested lists */
.btc-article-body ul ul,
.btc-article-body ol ol,
.btc-article-body ul ol,
.btc-article-body ol ul {
  margin: 0.5rem 0;
}

/* Table */
.btc-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--navy-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--navy-border);
  font-size: 0.9rem;
}

.btc-article-body table th {
  background: var(--gold);
  color: var(--navy-950);
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.85rem;
}

.btc-article-body table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--navy-border);
  color: var(--text-secondary);
}

.btc-article-body table tr:last-child td {
  border-bottom: none;
}

.btc-article-body table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Code blocks */
.btc-article-body pre {
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  -webkit-overflow-scrolling: touch;
}

.btc-article-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-primary);
  font-size: inherit;
  border-radius: 0;
}

/* Inline code */
.btc-article-body code {
  background: var(--navy-surface);
  color: var(--gold);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.875em;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

/* Images within content */
.btc-article-body img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-border);
  margin: 1.5rem 0;
}

.btc-article-body figure {
  margin: 2rem 0;
}

.btc-article-body figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Horizontal rule */
.btc-article-body hr {
  border: none;
  height: 1px;
  background: var(--navy-border);
  margin: 2.5rem 0;
}

/* Note/callout box */
.btc-note-box {
  border: 1px solid rgba(212, 168, 67, 0.3);
  background: rgba(212, 168, 67, 0.05);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.btc-note-box strong {
  color: var(--gold-light);
}

/* Embedded content */
.btc-article-body iframe {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
}

.btc-article-body .wp-block-embed {
  margin: 2rem 0;
}


/* ==========================================================================
   10. Tags
   ========================================================================== */

.btc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy-border);
}

.btc-tags a {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: all var(--transition-normal);
}

.btc-tags a:hover {
  color: var(--gold);
  border-color: rgba(212, 168, 67, 0.3);
  background: rgba(212, 168, 67, 0.06);
}


/* ==========================================================================
   11. Share Buttons
   ========================================================================== */

.btc-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btc-share-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.btc-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.btc-share a:hover {
  background: var(--gold);
  color: var(--navy-950);
  border-color: var(--gold);
  transform: translateY(-2px);
}


/* ==========================================================================
   12. Author Box
   ========================================================================== */

.btc-author-box {
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.btc-author-box .author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--navy-border);
}

.btc-author-box .author-info {
  flex: 1;
}

.btc-author-box .author-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.btc-author-box .author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.btc-author-box .author-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ==========================================================================
   13. Related Posts
   ========================================================================== */

.btc-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-border);
}

.btc-related-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.btc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.btc-related-grid .btc-card {
  font-size: 0.9rem;
}

.btc-related-grid .btc-card-body {
  padding: 1rem 1.25rem;
}

.btc-related-grid .btc-card-title {
  font-size: 0.9rem;
}


/* ==========================================================================
   14. Sidebar
   ========================================================================== */

.btc-widget {
  background: var(--navy-800);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.btc-widget-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-left: 0.75rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 1rem;
}

/* Search widget */
.btc-search-form {
  position: relative;
}

.btc-search-input {
  width: 100%;
  padding: 0.6rem 1rem;
  padding-right: 2.5rem;
  background: var(--navy-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btc-search-input::placeholder {
  color: var(--text-muted);
}

.btc-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 168, 67, 0.1);
}

.btc-search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  padding: 0.25rem;
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.btc-search-btn:hover {
  color: var(--gold);
}

/* Popular posts widget */
.btc-popular-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btc-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--navy-border);
  transition: all var(--transition-fast);
}

.btc-popular-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.btc-popular-item:first-child {
  padding-top: 0;
}

.btc-popular-num {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-700);
  min-width: 1.5rem;
  line-height: 1.3;
}

.btc-popular-item:nth-child(1) .btc-popular-num {
  color: var(--gold);
}

.btc-popular-item:nth-child(2) .btc-popular-num {
  color: var(--gold);
  opacity: 0.7;
}

.btc-popular-item:nth-child(3) .btc-popular-num {
  color: var(--gold);
  opacity: 0.5;
}

.btc-popular-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.btc-popular-item:hover .btc-popular-title {
  color: var(--gold);
}

/* Category list widget */
.btc-cat-list {
  display: flex;
  flex-direction: column;
}

.btc-cat-list li {
  border-bottom: 1px solid var(--navy-border);
}

.btc-cat-list li:last-child {
  border-bottom: none;
}

.btc-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.btc-cat-list li a:hover {
  color: var(--gold);
}

.btc-cat-count {
  background: var(--navy-surface);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-en);
}

/* Tag cloud widget */
.btc-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.btc-tag-cloud a {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: all var(--transition-normal);
}

.btc-tag-cloud a:hover {
  color: var(--gold);
  border-color: rgba(212, 168, 67, 0.3);
}


/* ==========================================================================
   15. Footer
   ========================================================================== */

.btc-footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4rem 0 2rem;
  margin-top: auto;
  color: var(--text-muted);
}

.btc-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.btc-footer-brand .btc-logo {
  margin-bottom: 1rem;
}

.btc-footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.btc-footer-social {
  display: flex;
  gap: 0.75rem;
}

.btc-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid var(--navy-border);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.btc-footer-social a:hover {
  background: var(--gold);
  color: var(--navy-950);
  border-color: var(--gold);
}

.btc-footer-links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.btc-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btc-footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.btc-footer-disclaimer {
  background: rgba(19, 35, 63, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.btc-footer-disclaimer p {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.btc-footer-copyright {
  border-top: 1px solid var(--navy-border);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btc-footer-copyright a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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


/* ==========================================================================
   16. Pagination
   ========================================================================== */

.btc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
}

.btc-page-num,
.btc-page-prev,
.btc-page-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  background: var(--navy-800);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-en);
  transition: all var(--transition-normal);
}

.btc-page-num:hover,
.btc-page-prev:hover,
.btc-page-next:hover {
  border-color: rgba(212, 168, 67, 0.3);
  color: var(--gold);
}

.btc-page-num.is-current {
  background: var(--gold);
  color: var(--navy-950);
  border-color: var(--gold);
  font-weight: 700;
}

.btc-page-dots {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0 0.25rem;
}


/* ==========================================================================
   17. 404 Page
   ========================================================================== */

.btc-404 {
  text-align: center;
  padding: 5rem 2rem;
}

.btc-404-code {
  font-family: var(--font-en);
  font-size: 6rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.btc-404-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.btc-404-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btc-404-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: var(--navy-950);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btc-404-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}


/* ==========================================================================
   18. Comments (WordPress)
   ========================================================================== */

.btc-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-border);
}

.btc-comments-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.btc-comment-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.btc-comment {
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.btc-comment-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.btc-comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--navy-border);
}

.btc-comment-author {
  font-weight: 600;
  color: var(--text-white);
  font-size: 0.9rem;
}

.btc-comment-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btc-comment-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.btc-comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.btc-comment-reply-link:hover {
  color: var(--gold-hover);
}

/* Child comments */
.btc-comment .children {
  margin-top: 1rem;
  margin-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Comment form */
.btc-comment-form {
  margin-top: 2rem;
}

.btc-comment-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.btc-comment-form input[type="text"],
.btc-comment-form input[type="email"],
.btc-comment-form input[type="url"],
.btc-comment-form textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  margin-bottom: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btc-comment-form input:focus,
.btc-comment-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

.btc-comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.btc-comment-form .submit {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  background: var(--gold);
  color: var(--navy-950);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btc-comment-form .submit:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}


/* ==========================================================================
   19. Archive / Category Page Headers
   ========================================================================== */

.btc-archive-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--navy-border);
  margin-bottom: 2rem;
}

.btc-archive-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.btc-archive-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.btc-archive-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 600px;
}

.btc-archive-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}


/* ==========================================================================
   20. Search Results
   ========================================================================== */

.btc-search-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--navy-border);
  margin-bottom: 2rem;
}

.btc-search-query {
  color: var(--gold);
}

.btc-no-results {
  text-align: center;
  padding: 3rem 2rem;
}

.btc-no-results p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}


/* ==========================================================================
   21. Buttons / CTAs
   ========================================================================== */

.btc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btc-btn-gold {
  background: var(--gold);
  color: var(--navy-950);
}

.btc-btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btc-btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btc-btn-outline:hover {
  background: rgba(212, 168, 67, 0.1);
}

.btc-btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--navy-border);
}

.btc-btn-ghost:hover {
  border-color: rgba(212, 168, 67, 0.3);
  color: var(--gold);
}

.btc-btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}

.btc-btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}


/* ==========================================================================
   22. AdSense / Ad Slots
   ========================================================================== */

.btc-ad-slot {
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  margin: 2rem 0;
  text-align: center;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btc-ad-slot-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.25rem;
  opacity: 0.5;
}

.btc-sidebar .btc-ad-slot {
  margin: 0 0 1.5rem;
}


/* ==========================================================================
   23. Table of Contents
   ========================================================================== */

.btc-toc {
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.btc-toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btc-toc ol {
  counter-reset: toc-counter;
  padding-left: 0;
}

.btc-toc ol li {
  counter-increment: toc-counter;
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.btc-toc ol li::before {
  content: counter(toc-counter) '.';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-en);
}

.btc-toc ol li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.btc-toc ol li a:hover {
  color: var(--gold);
}

.btc-toc ol ol {
  margin-top: 0.4rem;
  margin-left: 0.5rem;
}


/* ==========================================================================
   24. Animations
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.btc-fade-in {
  animation: fadeIn 0.5s var(--ease-out) forwards;
}

.btc-card {
  animation: fadeIn 0.4s var(--ease-out) both;
}

.btc-card:nth-child(1) { animation-delay: 0.05s; }
.btc-card:nth-child(2) { animation-delay: 0.1s; }
.btc-card:nth-child(3) { animation-delay: 0.15s; }
.btc-card:nth-child(4) { animation-delay: 0.2s; }
.btc-card:nth-child(5) { animation-delay: 0.25s; }
.btc-card:nth-child(6) { animation-delay: 0.3s; }

/* Loading skeleton */
.btc-skeleton {
  background: linear-gradient(
    90deg,
    var(--navy-800) 25%,
    var(--navy-700) 50%,
    var(--navy-800) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   25. Utilities
   ========================================================================== */

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-gold {
  color: var(--gold);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }


/* ==========================================================================
   26. WordPress-specific Overrides
   ========================================================================== */

/* WP alignment classes */
.alignnone {
  margin: 1.5rem 0;
}

.aligncenter {
  display: block;
  margin: 1.5rem auto;
}

.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
}

.wp-caption {
  max-width: 100%;
  margin: 1.5rem 0;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* WP Block editor styles */
.btc-article-body .wp-block-image {
  margin: 2rem 0;
}

.btc-article-body .wp-block-image figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.btc-article-body .wp-block-gallery {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0;
}

.btc-article-body .wp-block-gallery.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.btc-article-body .wp-block-gallery.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.btc-article-body .wp-block-separator {
  border: none;
  height: 1px;
  background: var(--navy-border);
  margin: 2.5rem 0;
}

.btc-article-body .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  background: var(--gold);
  color: var(--navy-950);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btc-article-body .wp-block-button__link:hover {
  background: var(--gold-hover);
}

/* WP admin bar offset */
.admin-bar .btc-header {
  top: 32px;
}

.admin-bar .btc-header-spacer {
  height: calc(var(--header-height) + 32px);
}

.admin-bar .btc-cat-nav {
  top: calc(var(--header-height) + 32px);
}

/* Screen readers text (WP) */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* ==========================================================================
   27. Responsive — Tablet (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .btc-content-area {
    flex-direction: column;
  }

  .btc-sidebar {
    width: 100%;
  }

  .btc-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .btc-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .btc-article-title {
    font-size: 2rem;
  }
}


/* ==========================================================================
   28. Responsive — Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .btc-container {
    padding: 0 1rem;
  }

  .btc-content-area {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
    gap: 2rem;
  }

  /* Header */
  .btc-menu-toggle {
    display: flex;
  }

  .btc-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--navy-border);
    padding: 1rem 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-normal),
                opacity var(--transition-normal),
                visibility var(--transition-normal);
  }

  .btc-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .btc-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .btc-nav ul li a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--navy-border);
  }

  .btc-nav ul li:last-child a {
    border-bottom: none;
  }

  .btc-nav ul li a::after {
    display: none;
  }

  /* Card grid */
  .btc-card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Article */
  .btc-article-title {
    font-size: 1.5rem;
  }

  .btc-article-body h2 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
  }

  .btc-article-body h3 {
    font-size: 1.1rem;
    margin-top: 2rem;
  }

  .btc-article-body h4 {
    font-size: 1rem;
  }

  /* Author box */
  .btc-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  /* Related */
  .btc-related-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .btc-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Pagination */
  .btc-pagination {
    flex-wrap: wrap;
  }

  /* Archive */
  .btc-archive-title {
    font-size: 1.5rem;
  }

  /* Category nav */
  .btc-cat-nav {
    top: var(--header-height);
  }

  /* Table responsive */
  .btc-article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* WP admin bar */
  .admin-bar .btc-header {
    top: 46px;
  }

  .admin-bar .btc-header-spacer {
    height: calc(var(--header-height) + 46px);
  }

  .admin-bar .btc-cat-nav {
    top: calc(var(--header-height) + 46px);
  }
}


/* ==========================================================================
   29. Responsive — Small Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
  .btc-container {
    padding: 0 0.75rem;
  }

  .btc-logo-text {
    font-size: 1.05rem;
  }

  .btc-article-title {
    font-size: 1.3rem;
  }

  .btc-article-meta {
    font-size: 0.75rem;
  }

  .btc-article-body {
    font-size: 0.9rem;
  }

  .btc-article-body p {
    font-size: 0.9rem;
  }

  .btc-article-body h2 {
    font-size: 1.15rem;
  }

  .btc-article-body h3 {
    font-size: 1rem;
  }

  .btc-article-body pre {
    padding: 1rem;
    font-size: 0.8rem;
  }

  .btc-article-body blockquote {
    padding: 1rem;
  }

  .btc-card-body {
    padding: 1rem;
  }

  .btc-widget {
    padding: 1.25rem;
  }

  .btc-share a {
    width: 36px;
    height: 36px;
  }

  .btc-page-num,
  .btc-page-prev,
  .btc-page-next {
    min-width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .btc-404-code {
    font-size: 4rem;
  }

  .btc-footer {
    padding-top: 2.5rem;
  }

  /* Comments compact */
  .btc-comment {
    padding: 1rem;
  }

  .btc-comment .children {
    margin-left: 0.75rem;
  }
}


/* ==========================================================================
   30. Print Styles
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: white !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body.btc-body {
    font-size: 12pt;
    line-height: 1.5;
    background: white !important;
  }

  .btc-header,
  .btc-header-spacer,
  .btc-cat-nav,
  .btc-sidebar,
  .btc-footer,
  .btc-share,
  .btc-pagination,
  .btc-related,
  .btc-comment-form,
  .btc-ad-slot,
  .btc-menu-toggle {
    display: none !important;
  }

  .btc-content-area {
    display: block;
  }

  .btc-main {
    width: 100%;
  }

  .btc-article-body a {
    text-decoration: underline;
  }

  .btc-article-body a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666 !important;
  }

  .btc-article-body img {
    max-width: 100%;
    border: 1px solid #ccc !important;
  }

  .btc-article-body pre {
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }

  .btc-article-body blockquote {
    border-left: 3px solid #999 !important;
    padding-left: 1rem;
  }

  .btc-article-body table {
    border: 1px solid #ccc !important;
  }

  .btc-article-body table th,
  .btc-article-body table td {
    border: 1px solid #ccc !important;
    padding: 0.5rem;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }

  img, table, pre, blockquote {
    page-break-inside: avoid;
  }
}
