/* ============================================
   JURIONE THEME — components.css
   Todos os componentes visuais do tema
   ============================================ */

/* ---- NAVBAR ---- */
.jurione-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,12,24,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.jurione-nav { padding: 0; }
.jurione-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.jurione-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-symbol {
  width: 38px; height: 38px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--indigo-pale); }
.nav-links .nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: opacity 0.2s;
}
.nav-links .nav-cta:hover { opacity: 0.88; }

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-mobile-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-mobile-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- BLOG HERO ---- */
.blog-hero {
  padding: 72px 0 56px;
  text-align: center;
}
.blog-hero-title {
  font-size: clamp(36px,5vw,60px);
  font-weight: 800;
  letter-spacing: -2.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.1;
}
.blog-hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}
.cat-count-label {
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: 12px;
}

/* ---- FILTER BAR ---- */
.filter-section { padding-bottom: 40px; }
.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.search-box .search-form { display: flex; }
.search-box .search-form input[type="search"] {
  width: 100%;
  background: rgba(15,23,42,0.80);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 16px 12px 44px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.search-box .search-form input:focus { border-color: var(--indigo); }
.search-box .search-form input::placeholder { color: var(--text-subtle); }
.search-box .search-form button { display: none; } /* Icon handles it */

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tag {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-default);
  background: rgba(15,23,42,0.60);
  color: var(--text-muted);
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.2px;
  display: inline-block;
}
.filter-tag:hover,
.filter-tag.active {
  background: rgba(99,102,241,0.15);
  border-color: var(--indigo);
  color: var(--indigo-pale);
}

/* ---- FEATURED POST ---- */
.content-section { padding-bottom: 80px; }
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(15,23,42,0.88);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 52px;
  transition: border-color 0.3s, transform 0.3s;
}
.featured-post:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.featured-thumb {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.featured-thumb-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(99,102,241,0.5) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(59,130,246,0.4) 0%, transparent 50%);
}
.featured-thumb-icon {
  position: relative;
  z-index: 1;
  font-size: 72px;
  opacity: 0.55;
}
.featured-label {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
.featured-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--indigo-pale);
  margin-bottom: 14px;
  text-decoration: none;
}
.featured-title {
  font-size: clamp(22px,3vw,30px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 14px;
}
.featured-title a { color: inherit; text-decoration: none; }
.featured-title a:hover { color: var(--indigo-pale); }
.featured-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-subtle);
  flex-wrap: wrap;
}
.author-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.meta-sep { color: var(--text-disabled); }
.read-time { display: flex; align-items: center; gap: 5px; }
.read-more-btn {
  margin-top: 24px;
  width: fit-content;
}

/* ---- SECTION HEADER ---- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.section-count { font-size: 13px; color: var(--text-subtle); }

/* ---- POSTS GRID ---- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}
.post-card {
  background: rgba(15,23,42,0.80);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.post-card:hover {
  border-color: var(--border-default);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.card-thumb-link { display: block; text-decoration: none; }
.card-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.card-thumb-art {
  font-size: 48px;
  opacity: 0.65;
  position: relative;
  z-index: 1;
}
.card-glow-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6366F1 35%, #3B82F6 65%, transparent);
}
.card-body {
  padding: 20px 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--indigo-pale);
  margin-bottom: 9px;
}
.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  line-height: 1.35;
  margin-bottom: 9px;
}
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--indigo-pale); }
.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-subtle);
}
.card-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.card-read-time { font-size: 12px; color: var(--text-disabled); }

/* ---- NO POSTS ---- */
.no-posts {
  text-align: center;
  padding: 80px 0;
}
.no-posts-icon { font-size: 64px; margin-bottom: 20px; opacity: 0.5; }
.no-posts h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.no-posts p { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }

/* ---- BREADCRUMB ---- */
.breadcrumb-wrap { padding: 20px 0 0; }
.jurione-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-subtle);
  flex-wrap: wrap;
}
.jurione-breadcrumb a {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.2s;
}
.jurione-breadcrumb a:hover { color: var(--indigo-pale); }
.bc-sep { color: var(--text-disabled); }
.bc-current {
  color: var(--text-muted);
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- ARTICLE HERO ---- */
.article-hero { padding: 36px 0 40px; }
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.10);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--indigo-pale);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-decoration: none;
}
.article-title {
  font-size: clamp(30px,4.5vw,52px);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text-primary);
  line-height: 1.15;
  max-width: 820px;
  margin-bottom: 18px;
}
.article-lead {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 28px;
}
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}
.author-info { display: flex; align-items: center; gap: 12px; }
.author-avatar-lg {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.author-role { font-size: 12px; color: var(--text-subtle); }
.meta-divider { width: 1px; height: 28px; background: var(--border-subtle); flex-shrink: 0; }
.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-subtle);
}
.share-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.10);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-pale);
  cursor: pointer;
  transition: all 0.2s;
}
.share-btn:hover {
  background: rgba(99,102,241,0.18);
  border-color: var(--border-strong);
}

/* ---- ARTICLE LAYOUT ---- */
.article-layout-wrap { padding-bottom: 80px; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* ---- ARTICLE COVER ---- */
.article-cover {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.article-cover-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(99,102,241,0.55) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(59,130,246,0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 20%, rgba(139,92,246,0.3) 0%, transparent 45%);
}
.article-cover-img {
  position: absolute;
  inset: 0;
}
.article-cover-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.cover-icon {
  position: relative;
  z-index: 1;
  font-size: 96px;
  opacity: 0.55;
}
.cover-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  z-index: 2;
  background: rgba(8,12,24,0.85);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo-pale);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 7px;
}
.dot-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--indigo-light);
  box-shadow: 0 0 8px var(--indigo);
  animation: dotpulse 2s infinite;
  flex-shrink: 0;
}
@keyframes dotpulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---- PROSE (article content) ---- */
.prose { color: var(--text-muted); font-size: 16px; line-height: 1.8; }
.prose h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.8px;
  margin: 44px 0 14px;
}
.prose h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.4px;
  margin: 32px 0 10px;
}
.prose h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 24px 0 8px;
}
.prose p { margin-bottom: 20px; color: var(--text-muted); }
.prose strong { color: var(--text-secondary); font-weight: 600; }
.prose em { font-style: italic; color: var(--text-secondary); }
.prose a { color: var(--indigo-pale); text-decoration: none; border-bottom: 1px solid var(--border-default); transition: border-color 0.2s; }
.prose a:hover { border-color: var(--indigo); }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 20px; }
.prose li { margin-bottom: 8px; color: var(--text-muted); }
.prose blockquote {
  border-left: 3px solid var(--indigo);
  padding: 18px 24px;
  margin: 28px 0;
  background: rgba(99,102,241,0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.prose blockquote p { color: var(--text-secondary); font-size: 17px; font-weight: 500; font-style: italic; }
.prose img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin: 24px 0;
}
.prose code {
  background: rgba(99,102,241,0.12);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px 7px;
  font-size: 13px;
  color: var(--indigo-pale);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}
.prose pre {
  background: rgba(15,23,42,0.90);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow-x: auto;
  margin: 20px 0;
}
.prose pre code { background: none; border: none; padding: 0; font-size: 14px; }
.prose hr { border: none; border-top: 1px solid var(--border-subtle); margin: 40px 0; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.prose th {
  background: rgba(99,102,241,0.10);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--indigo-pale);
  border-bottom: 1px solid var(--border-default);
}
.prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.section-div {
  width: 60px; height: 3px;
  background: var(--gradient-h);
  border-radius: 2px;
  margin: 0 0 28px;
}

/* ---- TAGS ---- */
.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}
.tag-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-right: 2px;
}
.tag {
  background: rgba(99,102,241,0.10);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--indigo-pale);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.tag:hover {
  background: rgba(99,102,241,0.18);
  border-color: var(--border-strong);
  color: var(--indigo-pale);
}

/* ---- AUTHOR BOX ---- */
.author-box {
  background: rgba(15,23,42,0.80);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin: 40px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.author-box-avatar {
  width: 56px; height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.author-box-name { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.author-box-role { font-size: 12px; color: var(--indigo-pale); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 8px; }
.author-box-bio { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---- POST NAVIGATION ---- */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}
.post-nav-btn {
  background: rgba(15,23,42,0.80);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-nav-btn:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
}
.post-nav-next { text-align: right; }
.nav-direction { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--indigo-pale); }
.nav-title { font-size: 14px; font-weight: 600; color: var(--text-secondary); line-height: 1.35; }

/* ---- SIDEBAR ---- */
.jurione-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Related posts */
.sidebar-related .related-post {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: background 0.2s;
}
.sidebar-related .related-post:last-child { border-bottom: none; }
.sidebar-related .related-post:hover { background: rgba(99,102,241,0.05); }
.related-thumb {
  width: 54px; height: 54px;
  min-width: 54px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  overflow: hidden;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-info { flex: 1; min-width: 0; }
.related-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--indigo-pale);
  margin-bottom: 3px;
}
.related-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-time { font-size: 11px; color: var(--text-disabled); }

/* Categories sidebar */
.sidebar-categories .category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.sidebar-categories .category-item:last-child { border-bottom: none; }
.sidebar-categories .category-item:hover { background: rgba(99,102,241,0.05); }
.cat-left { display: flex; align-items: center; gap: 10px; }
.cat-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(99,102,241,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.cat-name { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.cat-count {
  background: rgba(99,102,241,0.12);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--indigo-pale);
  flex-shrink: 0;
}

/* Sidebar CTA */
.sidebar-cta {
  background: rgba(15,23,42,0.88);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sidebar-cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6366F1 35%, #3B82F6 65%, transparent);
}
.sidebar-cta-badge {
  display: inline-block;
  background: rgba(99,102,241,0.10);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--indigo-pale);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sidebar-cta h4 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.sidebar-cta p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}
.sidebar-btn {
  display: block;
  background: var(--gradient);
  color: #fff;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  transition: opacity 0.2s;
}
.sidebar-btn:hover { opacity: 0.88; color: #fff; }
.sidebar-free-note { font-size: 11px; color: var(--text-subtle); margin-top: 10px; margin-bottom: 0; }

/* ---- NEWSLETTER ---- */
.jurione-newsletter {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 56px 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.newsletter-text p { font-size: 14px; color: var(--text-muted); margin: 0; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 440px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  background: rgba(15,23,42,0.80);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--indigo); }
.newsletter-form input::placeholder { color: var(--text-subtle); }

/* ---- FOOTER ---- */
.jurione-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
}
.jurione-footer .glow-line { margin-bottom: 36px; }
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-tagline { font-size: 13px; color: var(--text-subtle); max-width: 220px; margin: 0; }
.footer-nav-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-list a { font-size: 14px; color: var(--text-subtle); text-decoration: none; transition: color 0.2s; }
.footer-nav-list a:hover { color: var(--indigo-pale); }
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.10);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-pale);
  text-decoration: none;
  transition: all 0.2s;
}
.social-btn:hover {
  background: rgba(99,102,241,0.18);
  border-color: var(--border-strong);
  color: var(--indigo-pale);
}
.footer-copy { font-size: 13px; color: var(--text-subtle); margin: 0; }
.footer-legal-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  gap: 20px;
}
.footer-legal-list a { font-size: 12px; color: var(--text-disabled); text-decoration: none; transition: color 0.2s; }
.footer-legal-list a:hover { color: var(--indigo-pale); }

/* Footer widget area */
.footer-widget { color: var(--text-muted); font-size: 14px; }
.footer-widget-title { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--indigo-pale); margin-bottom: 14px; }
.footer-widget ul { list-style: none; padding: 0; }
.footer-widget li { margin-bottom: 8px; }
.footer-widget a { color: var(--text-subtle); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-widget a:hover { color: var(--indigo-pale); }

/* ---- COMMENTS AREA ---- */
.article-comments { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border-subtle); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .posts-grid { grid-template-columns: repeat(2,1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .jurione-sidebar { position: static; }
}
@media (max-width: 900px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-thumb { min-height: 240px; }
  .featured-body { padding: 28px 28px 32px; }
  .post-navigation { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(8,12,24,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border-subtle); font-size: 16px; }
  .nav-links li:last-child a { border-bottom: none; margin-top: 8px; padding: 13px 20px; text-align: center; }
  .nav-mobile-toggle { display: flex; }
  .posts-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: 52px 0 40px; }
  .newsletter-inner { flex-direction: column; }
  .newsletter-form { max-width: 100%; }
  .footer-inner { flex-direction: column; }
  .footer-right { align-items: flex-start; }
  .article-meta-bar { gap: 12px; }
  .share-btn { margin-left: 0; }
  .article-title { letter-spacing: -1px; }
}
@media (max-width: 480px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: unset; }
  .featured-body { padding: 22px; }
  .featured-title { font-size: 22px; }
}
