/* ==========================================
   WordPress Blog Theme - TGADM.IN Style
   Based on main landing page design
   ========================================== */

/* Variables */
:root {
  --color-primary: #0088cc;
  --color-primary-dark: #006699;
  --color-secondary: #FFD700;
  --color-bg: #0a0a0a;
  --color-text: rgba(255, 255, 255, 0.9);
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 96px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100vh, #0f0f0f 100%);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0, 136, 204, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(0, 153, 221, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

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

a:hover {
  color: #66b3d9;
}

code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

/* ==========================================
   Animated Planes Background
   ========================================== */
.animated-planes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.plane {
  position: absolute;
  width: 40px;
  height: 40px;
  color: rgba(0, 136, 204, 0.15);
  opacity: 0;
}

.plane--1 {
  animation: flyPlane1 20s ease-in-out infinite;
  animation-delay: 0s;
}

.plane--2 {
  animation: flyPlane2 25s ease-in-out infinite;
  animation-delay: 7s;
}

.plane--3 {
  animation: flyPlane3 22s ease-in-out infinite;
  animation-delay: 14s;
}

.plane--4 {
  animation: flyPlane4 24s ease-in-out infinite;
  animation-delay: 20s;
}

@keyframes flyPlane1 {
  0% { left: -60px; top: calc(100% + 60px); opacity: 0; transform: rotate(45deg); }
  5% { opacity: 1; }
  25% { left: 25%; top: 75%; transform: rotate(42deg); }
  50% { left: 50%; top: 50%; transform: rotate(47deg); }
  75% { left: 75%; top: 25%; transform: rotate(44deg); }
  95% { opacity: 1; }
  100% { left: calc(100% + 60px); top: -60px; opacity: 0; transform: rotate(45deg); }
}

@keyframes flyPlane2 {
  0% { left: calc(100% + 60px); top: -60px; opacity: 0; transform: rotate(-135deg); }
  5% { opacity: 1; }
  20% { left: 80%; top: 15%; transform: rotate(-140deg); }
  40% { left: 55%; top: 35%; transform: rotate(-130deg); }
  60% { left: 35%; top: 60%; transform: rotate(-138deg); }
  80% { left: 15%; top: 80%; transform: rotate(-133deg); }
  95% { opacity: 1; }
  100% { left: -60px; top: calc(100% + 60px); opacity: 0; transform: rotate(-135deg); }
}

@keyframes flyPlane3 {
  0% { left: -60px; top: 60%; opacity: 0; transform: rotate(0deg); }
  5% { opacity: 1; }
  20% { left: 20%; top: 55%; transform: rotate(-10deg); }
  40% { left: 40%; top: 35%; transform: rotate(-20deg); }
  60% { left: 60%; top: 40%; transform: rotate(15deg); }
  80% { left: 80%; top: 50%; transform: rotate(5deg); }
  95% { opacity: 1; }
  100% { left: calc(100% + 60px); top: 55%; opacity: 0; transform: rotate(0deg); }
}

@keyframes flyPlane4 {
  0% { left: -60px; top: 80%; opacity: 0; transform: rotate(20deg); }
  5% { opacity: 1; }
  25% { left: 20%; top: 70%; transform: rotate(30deg); }
  45% { left: 40%; top: 30%; transform: rotate(60deg); }
  65% { left: 60%; top: 20%; transform: rotate(40deg); }
  85% { left: 80%; top: 10%; transform: rotate(35deg); }
  95% { opacity: 1; }
  100% { left: calc(100% + 60px); top: -60px; opacity: 0; transform: rotate(49deg); }
}

/* ==========================================
   Header
   ========================================== */
.index-header {
  position: relative;
  padding: 0;
  margin-bottom: var(--spacing-lg);
  z-index: 1000;
}

.index-header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.index-header__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.index-header__logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
}

.logo-text {
  color: white;
}

.index-header__nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.index-header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.index-header__nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.index-header__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: transparent;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  outline: none;
  vertical-align: middle;
  letter-spacing: normal;
}

.btn--yellow {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}

.btn--yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.5);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.btn--small {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* Language Switcher */
.language-switcher {
  position: relative;
}

.language-switcher__current {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 70px;
}

.language-switcher__current:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.language-switcher__arrow {
  transition: transform 0.3s ease;
}

.language-switcher:hover .language-switcher__arrow {
  transform: rotate(180deg);
}

.language-switcher__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px;
  width: 70px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.language-switcher:hover .language-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switcher__btn {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  text-decoration: none;
}

.language-switcher__btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.cta-button--large {
  padding: 16px 36px;
  font-size: 18px;
}

/* ==========================================
   Hero Section (Blog)
   ========================================== */
.index-hero {
  position: relative;
  z-index: 1;
  padding: 0 0 var(--spacing-3xl) 0;
  text-align: center;
}

.blog-hero__title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, white 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-hero__subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   Blog Posts Section
   ========================================== */
.blog-posts-section {
  position: relative;
  z-index: 1;
  padding: var(--spacing-3xl) 0;
}

/* ==========================================
   Blog Layout (Main + Sidebar)
   ========================================== */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--spacing-2xl);
  align-items: start;
}

.blog-layout__main {
  min-width: 0; /* Fix grid overflow */
}

.blog-layout__sidebar {
  position: static;
}

/* ==========================================
   Sidebar Widgets
   ========================================== */
.sidebar-widget {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.sidebar-widget__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: #fff;
}

.sidebar-widget__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget__list li {
  margin-bottom: var(--spacing-sm);
}

.sidebar-widget__list li:last-child {
  margin-bottom: 0;
}

.sidebar-widget__list a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.sidebar-widget__list a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.sidebar-widget__count {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  margin-left: var(--spacing-xs);
}

/* Tags */
.sidebar-widget__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 136, 204, 0.1);
  border: 1px solid rgba(0, 136, 204, 0.3);
  border-radius: 8px;
  color: var(--color-primary);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}

.tag:hover {
  background: rgba(0, 136, 204, 0.2);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* CTA Widget */
.sidebar-widget--cta {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-color: rgba(251, 191, 36, 0.3);
}

.sidebar-widget--cta .sidebar-widget__title {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-widget__text {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
  font-size: 14px;
}

.sidebar-widget__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a1a;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}

.sidebar-widget__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.sidebar-widget__button svg {
  transition: var(--transition);
}

.sidebar-widget__button:hover svg {
  transform: translateX(4px);
}

/* ==========================================
   Post Card
   ========================================== */
.post-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.post-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 136, 204, 0.3);
  transform: translateY(-4px);
}

.post-card--featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

.post-card__image {
  position: relative;
  overflow: hidden;
}

.post-card--featured .post-card__image {
  height: 100%;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-card__image img {
  transform: scale(1.05);
}

.post-card__badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #FFA500 100%);
  color: #1a1a1a;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.post-card__content {
  padding: var(--spacing-xl);
}

.post-card--featured .post-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card__meta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  font-size: 14px;
}

.post-card__category {
  color: var(--color-primary);
  font-weight: 600;
}

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

.post-card__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.post-card__excerpt {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-card__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.post-card__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.post-card__author-name {
  font-weight: 600;
}

.post-card__link {
  color: var(--color-primary);
  font-weight: 600;
  transition: var(--transition);
}

.post-card__link:hover {
  color: #66b3d9;
  transform: translateX(4px);
}

/* ==========================================
   Posts Grid
   ========================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

.posts-grid .post-card__title {
  font-size: 20px;
}

/* ==========================================
   Pagination
   ========================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-3xl);
}

.pagination__button {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pagination__button:hover:not(.pagination__button--disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
}

.pagination__button--disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination__pages {
  display: flex;
  gap: var(--spacing-xs);
}

.pagination__page {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pagination__page:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
}

.pagination__page--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.pagination__dots {
  color: var(--color-text-muted);
  padding: 0 var(--spacing-xs);
}

/* ==========================================
   Article Page
   ========================================== */
.blog-article {
  position: relative;
  z-index: 1;
  padding: 0 0 var(--spacing-3xl) 0;
}

.article-header {
  max-width: 800px;
  margin: 0 auto var(--spacing-3xl);
  text-align: center;
}

.article-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  font-size: 14px;
}

.article-header__category {
  color: var(--color-primary);
  font-weight: 600;
}

.article-header__date,
.article-header__reading-time {
  color: var(--color-text-muted);
}

.article-header__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-xl);
}

.article-header__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.article-header__author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.article-header__author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.article-header__author-name {
  font-weight: 600;
  font-size: 16px;
}

.article-header__author-role {
  color: var(--color-text-muted);
  font-size: 14px;
}

/* Article Content */
.article-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  color: #1a1a1a;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.article-image {
  margin: var(--spacing-2xl) 0;
  border-radius: 16px;
  overflow: hidden;
}

.article-image--featured {
  margin-bottom: var(--spacing-3xl);
}

.article-image figcaption {
  margin-top: var(--spacing-md);
  text-align: center;
  color: #666;
  font-size: 14px;
  font-style: italic;
}

.article-body {
  font-size: 18px;
  line-height: 1.8;
  color: #1a1a1a;
}

.article-lead {
  font-size: 22px;
  color: #555;
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
}

.article-body h2 {
  font-size: 32px;
  font-weight: 700;
  margin: var(--spacing-2xl) 0 var(--spacing-lg);
  line-height: 1.3;
  color: #1a1a1a;
  scroll-margin-top: 100px;
}

.article-body h3 {
  font-size: 24px;
  font-weight: 600;
  margin: var(--spacing-xl) 0 var(--spacing-md);
  color: #1a1a1a;
}

.article-body p {
  margin-bottom: var(--spacing-lg);
  color: #333;
}

.article-body ul,
.article-body ol {
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-xl);
  color: #333;
}

.article-body li {
  margin-bottom: var(--spacing-sm);
}

.article-body strong {
  font-weight: 600;
  color: #1a1a1a;
}

.article-body a {
  color: #0088cc;
  text-decoration: underline;
}

.article-body a:hover {
  color: #006699;
}

/* Table of Contents */
.table-of-contents {
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.2);
}

.table-of-contents h3 {
  color: white !important;
  font-size: 20px;
  margin: 0 0 16px 0 !important;
  font-weight: 700;
}

.table-of-contents nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents nav li {
  margin-bottom: 8px;
}

.table-of-contents nav a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.table-of-contents nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateX(4px);
}

/* Tables */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 15px;
}

.article-body thead {
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: white;
}

.article-body thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-body tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  color: #333;
}

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

.article-body tbody tr:nth-child(even) {
  background: #f9fafb;
}

.article-body tbody tr:hover {
  background: #f3f4f6;
}

/* Responsive tables */
.article-body table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .article-body table {
    font-size: 13px;
  }

  .article-body thead th,
  .article-body tbody td {
    padding: 10px 12px;
  }
}

/* CTA Blocks - Yellow by default (like landing page) */
.cta-block {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.2) 100%);
  border: 2px solid rgba(251, 191, 36, 0.4);
  border-radius: 12px;
  padding: 32px;
  margin: 32px 0;
  text-align: center;
}

.cta-block h3 {
  color: #f59e0b !important;
  font-size: 24px;
  margin: 0 0 12px 0 !important;
  font-weight: 700;
}

.cta-block p {
  color: #555 !important;
  margin-bottom: 20px !important;
  font-size: 16px;
  line-height: 1.6;
}

.cta-block ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cta-block li {
  color: #333;
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.cta-block li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-weight: bold;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a1a !important;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.cta-button.large {
  padding: 18px 40px;
  font-size: 18px;
}

.cta-subtext {
  color: #777;
  font-size: 14px;
  margin-top: 12px;
}

.small-text {
  color: #777;
  font-size: 13px;
  margin-top: 12px;
}

/* Blue variant for specific cases */
.cta-block.blue {
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.1) 0%, rgba(0, 102, 153, 0.15) 100%);
  border-color: rgba(0, 136, 204, 0.3);
}

.cta-block.blue h3 {
  color: #0088cc !important;
}

.cta-block.blue li::before {
  color: #0088cc;
}

.cta-block.blue .cta-button {
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: white !important;
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.3);
}

.cta-block.blue .cta-button:hover {
  background: linear-gradient(135deg, #006699 0%, #004d73 100%);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

/* Code blocks */
.article-body pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 24px 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-body code {
  background: #f3f4f6;
  color: #e11d48;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Courier New', Courier, monospace;
}

.article-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* Checklist items */
.article-body ul li:has(input[type="checkbox"]) {
  list-style: none;
  margin-left: -24px;
}

.article-body input[type="checkbox"] {
  margin-right: 8px;
}

/* Blockquotes */
.article-body blockquote {
  border-left: 4px solid #0088cc;
  padding-left: 20px;
  margin: 24px 0;
  color: #555;
  font-style: italic;
  background: #f9fafb;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
}

/* Horizontal line */
.article-body hr {
  border: none;
  border-top: 2px solid #e5e7eb;
  margin: 32px 0;
}

/* Article Notes */
.article-note {
  padding: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
  border-radius: 12px;
  border-left: 4px solid;
}

.article-note--warning {
  background: rgba(255, 165, 0, 0.1);
  border-color: #FFA500;
}

.article-note--tip {
  background: rgba(0, 136, 204, 0.1);
  border-color: var(--color-primary);
}

/* Article FAQ */
.article-faq {
  margin: var(--spacing-2xl) 0;
}

.faq-item {
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: var(--spacing-md);
}

.faq-question {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.faq-answer {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Article CTA */
.article-cta {
  margin: var(--spacing-3xl) 0;
  padding: var(--spacing-2xl);
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.1) 0%, rgba(102, 179, 217, 0.1) 100%);
  border: 1px solid rgba(0, 136, 204, 0.3);
  border-radius: 16px;
  text-align: center;
}

.article-cta h3 {
  font-size: 28px;
  margin-bottom: var(--spacing-sm);
}

.article-cta p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

/* Article Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin: var(--spacing-2xl) 0;
}

.article-tag {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Article Share */
.article-share {
  margin: var(--spacing-2xl) 0;
  padding: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.article-share__title {
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.article-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.share-button {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.share-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
}

/* Related Posts */
.related-posts {
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-3xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-posts__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.post-card--small .post-card__title {
  font-size: 18px;
}

/* ==========================================
   Footer
   ========================================== */
.index-footer {
  background: transparent;
  color: white;
  padding: 20px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-3xl);
}

.index-footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.index-footer__left .footer-company {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-company__name {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.footer-company__tin {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--color-primary);
}

/* Sidebar Table of Contents */
.sidebar-widget__toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget__toc li {
  margin-bottom: var(--spacing-sm);
}

.sidebar-widget__toc a {
  display: block;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.sidebar-widget__toc a:hover {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border-left-color: #fbbf24;
  padding-left: 16px;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 968px) {
  .index-header__nav {
    display: none;
  }
}

@media (max-width: 1024px) {
  .post-card--featured {
    grid-template-columns: 1fr;
  }

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

  /* Stack blog layout on tablets */
  .blog-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
  }

  .blog-layout__sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .sidebar-widget--cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .index-footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xl);
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .blog-hero__title {
    font-size: 36px;
  }

  .posts-grid,
  .related-posts__grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  /* Single column sidebar on mobile */
  .blog-layout__sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar-widget__tags {
    flex-wrap: wrap;
  }

  .article-header__title {
    font-size: 32px;
  }

  .article-body {
    font-size: 16px;
  }

  .pagination {
    flex-wrap: wrap;
  }
}
