
/* ===== ASTRA / ELEMENTOR CLEAN EDITORIAL BLOG STYLES (Based on rokda77.com) ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #059669;
  --primary-hover: #0353a4;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f0f5fa;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.site-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.nav-cta-btn {
  background: var(--primary);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Container */
.main-container {
  max-width: 840px;
  margin: 32px auto 60px;
  padding: 0 20px;
}

.archive-container {
  max-width: 1140px;
  margin: 36px auto 70px;
  padding: 0 20px;
}

/* Article Card */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(24px, 5vw, 44px);
  box-shadow: var(--shadow-sm);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs span.current {
  color: var(--text-main);
  font-weight: 500;
}

/* Article Header */
.article-header {
  margin-bottom: 24px;
}

.article-category {
  display: inline-block;
  background: rgba(4, 107, 210, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.article-title {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.32;
  color: var(--text-main);
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

/* Featured Media */
.featured-media-wrap {
  text-align: center;
  margin: 28px 0 22px;
}

.featured-media-wrap img {
  max-width: 240px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

/* Elementor CTA Button (Exact replica of rokda77.com) */
.cta-button-wrap {
  text-align: center;
  margin: 24px 0 28px;
}

.elementor-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.elementor-cta-btn:hover {
  opacity: 0.93;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  color: #ffffff;
}

.elementor-cta-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Headings & Content Typography */
.content-body h2 {
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.content-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 24px 0 10px;
}

.content-body p {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.76;
  margin-bottom: 18px;
}

.content-body ul, 
.content-body ol {
  margin: 12px 0 20px 24px;
  color: #334155;
  line-height: 1.72;
}

.content-body li {
  margin-bottom: 8px;
}

.content-body strong {
  color: #0f172a;
}

/* Specifications Table (Exact rokda77.com 2-column layout) */
.spec-table-wrap {
  margin: 24px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.spec-table th, 
.spec-table td {
  padding: 12px 18px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: #f8fafc;
  color: var(--text-main);
  font-weight: 600;
  width: 35%;
}

.spec-table td {
  color: #334155;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:nth-child(even) td {
  background: #fafbfc;
}

/* Numbered Step Cards */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 28px;
}

.step-card {
  display: flex;
  gap: 18px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  align-items: flex-start;
}

.step-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.step-text p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 0;
  line-height: 1.55;
}

/* FAQ Box */
.faq-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 22px;
  margin-bottom: 14px;
}

.faq-box h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.faq-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Disclaimer / Important Information Box */
.disclaimer-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
  border-radius: 6px;
  padding: 18px 20px;
  margin-top: 36px;
}

.disclaimer-box h4 {
  color: #991b1b;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.disclaimer-box p {
  color: #7f1d1d;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Blog Listing / Archive Grid */
.archive-header {
  text-align: center;
  margin-bottom: 40px;
}

.archive-header h1 {
  font-size: clamp(2rem, 5vw, 2.7rem);
  color: var(--text-main);
  margin-bottom: 10px;
}

.archive-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.blog-card-category {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card-title a {
  color: var(--text-main);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-light);
}

.read-more-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more-link:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 30px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .site-header .header-inner {
    flex-direction: column;
    gap: 12px;
  }
  .article-card {
    padding: 20px 16px;
  }
  .spec-table th, .spec-table td {
    padding: 10px 12px;
    font-size: 0.88rem;
  }
}
