/* ============================================================
   INFIZY  Article Design System
   Scope: All rules inside .article-body
   Brand: ITC Avant Garde Gothic Std | #009eed | #111 | #fff
   ============================================================ */

/* -- Typography ----------------------------------------------- */
.article-body {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
}

.article-body h1 {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #111;
  margin: 2.5rem 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.article-body h2 {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: #111;
  margin: 3.5rem 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: #111;
  margin: 2rem 0 0.8rem;
  line-height: 1.3;
}

.article-body h4 {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 1.5rem 0 0.6rem;
  line-height: 1.4;
}

.article-body p {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
  font-size: 0.98rem;
  line-height: 1.9;
  color: #374151;
  margin-bottom: 1.8rem;
  letter-spacing: 0.01em;
}

.article-body a {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
  color: #009eed;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.article-body a:hover { color: #007ec4; }

.article-body strong { color: #111; font-weight: 500; }
.article-body em { font-style: italic; }

.article-body ul,
.article-body ol {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
  font-size: 0.98rem;
  line-height: 1.9;
  color: #374151;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.article-body li {
      margin-bottom: 0.8rem;
    }

.article-body blockquote {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
  border-left: 4px solid #009eed;
  padding: 1rem 1.5rem;
  background: #f8fbff;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #334155;
  line-height: 1.7;
}
.article-body blockquote p { margin-bottom: 0; color: inherit; }

.article-body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 3.5rem auto;
  display: block;
}

.article-body hr {
  border: none;
  border-top: 2px solid #f0f0f0;
  margin: 2.5rem 0;
}

/* -- Table ---------------------------------------------------- */
.article-body table {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #e0e0e0;
}
.article-body table thead tr {
  background: #009eed;
  color: #fff;
  text-align: left;
}
.article-body table th,
.article-body table td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid #f0f0f0;
}
.article-body table th {
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-body table tbody tr:nth-child(even) { background: #f8fbff; }
.article-body table tbody tr:hover { background: #eef6ff; }
.article-body table td { color: #333; }

/* -- Code Block ----------------------------------------------- */
.article-body .code-block { background: #0d1117; border-radius: 10px; position: relative; margin: 2rem 0; }
.article-body .code-block pre { overflow-x: auto; padding: 1.5rem; color: #e6edf3; font-family: 'Consolas', monospace; font-size: 0.9rem; line-height: 1.7; margin: 0; }
.article-body .code-block .copy-btn { position: absolute; top: 10px; right: 10px; background: #21262d; color: #8b949e; border: 1px solid #30363d; border-radius: 6px; padding: 4px 10px; font-size: 0.75rem; cursor: pointer; transition: all 0.2s; font-family: 'ITC Avant Garde Gothic Std', sans-serif; }
.article-body .code-block .copy-btn:hover { background: #30363d; color: #fff; }
.article-body .code-block .lang-label { position: absolute; top: 10px; left: 14px; font-size: 0.7rem; color: #8b949e; text-transform: uppercase; letter-spacing: 0.1em; font-family: 'ITC Avant Garde Gothic Std', sans-serif; }

/* -- Image Slider --------------------------------------------- */
.article-body .img-slider { position: relative; overflow: hidden; border-radius: 12px; margin: 2rem 0; }
.article-body .img-slider .slides { display: flex; transition: transform 0.4s ease; }
.article-body .img-slider .slide { min-width: 100%; }
.article-body .img-slider .slide img { width: 100%; height: 400px; object-fit: cover; display: block; border-radius: 0; margin: 0; }
.article-body .img-slider .slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s; z-index: 10; }
.article-body .img-slider .slider-btn:hover { background: rgba(0,0,0,0.8); }
.article-body .img-slider .prev-btn { left: 12px; }
.article-body .img-slider .next-btn { right: 12px; }
.article-body .img-slider .slider-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.article-body .img-slider .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.2s; }
.article-body .img-slider .dot.active { background: #fff; }

/* -- Site Preview --------------------------------------------- */
.article-body .site-preview { border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden; margin: 2rem 0; }
.article-body .site-preview .sp-bar { background: #f5f5f5; padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.article-body .site-preview .sp-dot { width: 10px; height: 10px; border-radius: 50%; }
.article-body .site-preview .sp-url { flex: 1; background: #fff; border: 1px solid #ddd; border-radius: 20px; padding: 4px 12px; font-size: 0.78rem; color: #666; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: 'ITC Avant Garde Gothic Std', sans-serif; }
.article-body .site-preview iframe { 
    width: 200%; 
    height: 840px; 
    transform: scale(0.5); 
    transform-origin: 0 0; 
    border: none; 
    display: block; 
    margin-bottom: -420px; 
    margin-right: -100%; 
    background: #fff;
}

/* -- Alert Boxes ---------------------------------------------- */
.article-body .tip-box, .article-body .info-box, .article-body .warning-box, .article-body .danger-box { font-family: 'ITC Avant Garde Gothic Std', sans-serif; display: flex; gap: 12px; padding: 1rem 1.2rem; border-radius: 8px; margin: 1.5rem 0; font-size: 0.95rem; line-height: 1.6; }
.article-body .tip-box { background: #f0fdf4; border-left: 4px solid #22c55e; color: #166534; }
.article-body .info-box { background: rgba(56,189,248,0.1); border-left: 4px solid #38bdf8; padding: 20px 25px; border-radius: 8px; display: flex; gap: 15px; color: inherit; margin: 3rem 0;}
.article-body .warning-box { background: #fffbeb; border-left: 4px solid #f59e0b; color: #92400e; }
.article-body .danger-box { background: #fef2f2; border-left: 4px solid #ef4444; color: #991b1b; }
.article-body .tip-box .box-icon, .article-body .info-box .box-icon, .article-body .warning-box .box-icon, .article-body .danger-box .box-icon { font-size: 1.2rem; flex-shrink: 0; }

/* -- Article Buttons ------------------------------------------ */
.article-body .article-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.7rem 1.6rem; border-radius: 50px; font-family: 'ITC Avant Garde Gothic Std', sans-serif; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; border: none; transition: all 0.25s ease; }
.article-body .article-btn.primary { background: #009eed; color: #fff; }
.article-body .article-btn.primary:hover { background: #007ec4; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,158,237,0.3); color: #fff; text-decoration: none; }
.article-body .article-btn.outline { border: 2px solid #009eed; color: #009eed; background: transparent; }
.article-body .article-btn.outline:hover { background: #009eed; color: #fff; text-decoration: none; }
.article-body .article-btn.dark { background: #111; color: #fff; }
.article-body .article-btn.dark:hover { background: #333; color: #fff; text-decoration: none; }

/* -- Grid Layouts --------------------------------------------- */
.article-body .article-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.article-body .article-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
@media (max-width: 640px) { .article-body .article-grid-2, .article-body .article-grid-3 { grid-template-columns: 1fr; } }

/* -- Stat Card ------------------------------------------------ */
.article-body .stat-card { font-family: 'ITC Avant Garde Gothic Std', sans-serif; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 12px; padding: 1.5rem; text-align: center; }
.article-body .stat-card .stat-number { font-family: 'ITC Avant Garde Gothic Std', sans-serif; font-size: 2.5rem; font-weight: 600; color: #009eed; line-height: 1; }
.article-body .stat-card .stat-label { font-family: 'ITC Avant Garde Gothic Std', sans-serif; font-size: 0.85rem; color: #666; margin-top: 0.4rem; }

/* -- Callout -------------------------------------------------- */
.article-body .callout { font-family: 'ITC Avant Garde Gothic Std', sans-serif; background: linear-gradient(135deg, #f0f9ff, #e0f2fe); border-radius: 12px; padding: 1.5rem 2rem; margin: 2rem 0; border: 1px solid #bae6fd; }
.article-body .callout .callout-title { font-family: 'ITC Avant Garde Gothic Std', sans-serif; font-weight: 500; font-size: 1.1rem; color: #0c4a6e; margin-bottom: 0.5rem; }
.article-body .callout p { color: #075985; margin-bottom: 0; }

/* -- Progress Bar --------------------------------------------- */
.article-body .progress-wrap { font-family: 'ITC Avant Garde Gothic Std', sans-serif; margin: 0.5rem 0 1.2rem; }
.article-body .progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: #666; margin-bottom: 0.4rem; }
.article-body .progress-track { background: #f0f0f0; border-radius: 50px; height: 8px; overflow: hidden; }
.article-body .progress-fill { height: 100%; border-radius: 50px; background: #009eed; width: 0%; transition: width 1.2s ease; }

/* -- Divider -------------------------------------------------- */
.article-body .article-divider { font-family: 'ITC Avant Garde Gothic Std', sans-serif; display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0; color: #ccc; font-size: 1rem; }
.article-body .article-divider::before, .article-body .article-divider::after { content: ''; flex: 1; border-top: 1px solid #e0e0e0; }

/* -- Lightbox ------------------------------------------------- */
.article-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.article-lightbox.active { opacity: 1; pointer-events: all; }
.article-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; margin: 0; }
.article-lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

/* -- Canvas Container ----------------------------------------- */
.article-body .article-canvas-wrap { border-radius: 12px; overflow: hidden; margin: 2rem 0; background: #111; }
.article-body .article-canvas-wrap canvas { display: block; width: 100%; }

/* -- Responsive ----------------------------------------------- */
@media (max-width: 768px) {
  .article-body h1 { font-size: 1.8rem; }
  .article-body h2 {
  font-family: 'ITC Avant Garde Gothic Std', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: #111;
  margin: 3.5rem 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
  .article-body .img-slider .slide img { height: 220px; }
  .article-body .site-preview iframe { 
        width: 300%; 
        height: 900px; 
        transform: scale(0.33333); 
        margin-bottom: -600px; 
        margin-right: -200%; 
    }
  .article-body .callout { padding: 1.2rem 1.4rem; }
  .article-body .code-block .lang-label { display: none; }
}


.article-body .site-preview .sp-ext-link {
    margin-left: 14px;
    color: #444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 6px;
    border-radius: 6px;
    background: #e2e8f0;
}
.article-body .site-preview .sp-ext-link:hover {
    color: #fff;
    background: #009eed;
    transform: translateY(-1px);
}


/*  Button Sizes & Alignments  */
.align-left { text-align: left; margin: 1.5rem 0; }
.align-center { text-align: center; margin: 1.5rem 0; }
.align-right { text-align: right; margin: 1.5rem 0; }

.article-body .article-btn.small { padding: 0.5rem 1.2rem; font-size: 0.85rem; border-radius: 4px; }
.article-body .article-btn.medium { padding: 0.8rem 1.8rem; font-size: 1rem; border-radius: 6px; }
.article-body .article-btn.large { padding: 1rem 2.5rem; font-size: 1.15rem; border-radius: 8px; }


/* Multi-Image Carousel */
.article-body .multi-slider { position: relative; overflow: hidden; margin: 2rem 0; border-radius: 12px; }
.article-body .multi-slider-track { display: flex; transition: transform 0.4s ease-in-out; }
.article-body .ms-slide { flex-shrink: 0; padding: 0 10px; box-sizing: border-box; }

.article-body .ms-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.9); border: none; width: 40px; height: 40px; border-radius: 50%;
    cursor: pointer; font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 2; color: #111; transition: background 0.2s;
}
.article-body .ms-btn:hover { background: #fff; }
.article-body .ms-prev { left: 10px; }
.article-body .ms-next { right: 10px; }


/* Reel Specific Styles */
.multi-slider[data-type="reel"] .ms-btn { display: none; }
.multi-slider[data-type="reel"] .multi-slider-track {
    transition: none;
    animation: reel-scroll linear infinite;
}
.multi-slider[data-type="reel"]:hover .multi-slider-track {
    animation-play-state: paused;
}
@keyframes reel-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


.article-body .ms-slide {
    flex-shrink: 0;
    padding: 0 4px; /* Reduced padding to make the gap between images smaller (8px total gap) */
    box-sizing: border-box;
    width: auto !important; 
    display: flex; 
    align-items: stretch;
}



/* Carousel Image Corner Options */
.article-body .multi-slider.sharp .ms-slide img {
    border-radius: 0 !important;
}


/* Extended Content Blocks */
.article-body .img-full { border-radius: 0; position: relative; }
.article-body div.img-full { width: 100vw; max-width: 100vw; }
.article-body div.img-full img { width: 100%; border-radius: 0; display: block; }
.article-body div.img-full img { width: 100%; border-radius: 0; }
.article-body .img-caption { text-align: center; font-size: 0.85rem; color: #888; margin-top: -10px; margin-bottom: 2rem; }




/* Perfect Justified Row Gallery */
.article-body .img-gallery {
    display: flex;
    gap: 8px;
    margin: 2rem 0;
    width: 100%;
    overflow: hidden;
}
.article-body .img-gallery img {
    /* Heights are dynamically calculated by JS to perfectly fit one row without cropping */
    height: 250px; /* Fallback before JS loads */
    width: auto;
    border-radius: 8px;
    margin: 0;
    display: block;
    object-fit: fill; /* Since exact ratio is calculated, fill works perfectly without distortion */
}
@media (max-width: 600px) {
    .article-body .img-gallery {
        flex-direction: column;
    }
    .article-body .img-gallery img {
        height: auto !important;
        width: 100% !important;
    }
}


.article-body .testimonial { background: #f8fafc; border-left: 4px solid #009eed; padding: 2rem; border-radius: 0 12px 12px 0; margin: 2rem 0; font-style: italic; font-size: 1.1rem; color: #334155; }
.article-body .testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 1.5rem; font-style: normal; }
.article-body .testimonial-author img { width: 48px; height: 48px; border-radius: 50%; margin: 0; }
.article-body .testimonial-author strong { color: #0f172a; display: block; font-size: 1rem; }
.article-body .testimonial-author span { color: #64748b; font-size: 0.85rem; }

.article-body .cta-banner { background: linear-gradient(135deg, #009eed, #2563eb); color: #fff; padding: 3.5rem 2rem; border-radius: 16px; text-align: center; margin: 3rem 0; box-shadow: 0 10px 30px rgba(37,99,235,0.2); }
.article-body .cta-banner h3 { font-weight: 600;  color: #fff; margin-top: 0; margin-bottom: 1rem; font-size: 1.8rem; font-weight: 500; letter-spacing: -0.02em; }
.article-body .cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; font-size: 1.1rem; }
.article-body .cta-banner .article-btn { background: #fff; color: #009eed; }
.article-body .cta-banner .article-btn:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* ==================================================
   INFZITY COMPONENT STYLES (FRONTEND)
   ================================================== */
.article-body .info-box { background: rgba(56,189,248,0.1); border-left: 4px solid #38bdf8; padding: 20px 25px; border-radius: 8px; display: flex; gap: 15px; color: inherit; margin: 3rem 0;}
.article-body .warning-box { background: rgba(251,191,36,0.1); border-left: 4px solid #fbbf24; padding: 15px; border-radius: 4px; display: flex; gap: 15px; color: inherit; margin-bottom: 20px;}
.article-body .box-icon { font-size: 1.5rem; line-height: 1;}

.article-body .stat-card { background: var(--bg-alt, #f8fafc); padding: 25px; border-radius: 12px; text-align: center; width: 100%; max-width: 250px; border: 1px solid var(--border-color, #e2e8f0); margin-bottom: 20px;}
.article-body .stat-number { font-size: 3rem; font-weight: 500; color: #38bdf8; margin-bottom: 5px; line-height: 1;}
.article-body .stat-label { color: var(--text-muted, #64748b); margin-top: 5px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

.article-body .article-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px;}
.article-body .article-grid-2 > div { background: var(--bg-alt, #f8fafc); padding: 20px; border-radius:8px; border: 1px solid var(--border-color, #e2e8f0); }
.article-body .article-grid-2 h3 { margin-top:0; }

.article-body .cta-banner { background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%); padding: 40px; border-radius: 12px; text-align: center; color: #fff; margin-bottom: 20px;}
.article-body .cta-banner h3 { font-weight: 600;  margin: 0 0 10px 0; font-size: 1.8rem; color: #fff !important; }
.article-body .cta-banner p { color: #fff !important; opacity: 0.9; margin-bottom: 20px;}
.article-body .cta-banner .article-btn { display: inline-block; padding: 12px 25px; background: #fff; color: #e11d48 !important; text-decoration: none; border-radius: 50px; font-weight: 500; margin-top: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.article-body .faq-accordion details { background: var(--bg-alt, #f8fafc); border: 1px solid var(--border-color, #e2e8f0); border-radius: 8px; margin-bottom: 10px; padding: 15px; transition: all 0.3s; }
.article-body .faq-accordion summary { font-weight: 500; cursor: pointer; color: #0ea5e9; font-size: 1.1rem; }
.article-body .faq-accordion p { margin-bottom: 0; margin-top: 10px;}

.article-body .takeaways-box { border: 2px dashed #10b981; padding: 30px; border-radius: 12px; background: rgba(16,185,129,0.05); margin: 3.5rem 0;}
.article-body .takeaways-box h3 { color: #10b981; margin-top:0; margin-bottom: 15px;}
.article-body .takeaways-box ul { padding-left: 20px; margin-bottom:0; }
.article-body .takeaways-box li { margin-bottom: 8px;}

.article-body .step-timeline { position: relative; padding-left: 40px; margin-bottom: 20px; margin-top: 20px;}
.article-body .step-timeline::before { content:''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--border-color, #e2e8f0); }
.article-body .step { position: relative; margin-bottom: 30px; }
.article-body .step-number { position: absolute; left: -40px; top: 0; width: 32px; height: 32px; background: #38bdf8; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 500; z-index: 1;}
.article-body .step-content h4 { font-weight: 500;  margin: 0 0 5px 0; font-size: 1.1rem;}

.article-body .pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.article-body .pros { background: rgba(16,185,129,0.05); padding: 25px; border-radius: 12px; border-top: 4px solid #10b981; border-left: 1px solid var(--border-color, #e2e8f0); border-right: 1px solid var(--border-color, #e2e8f0); border-bottom: 1px solid var(--border-color, #e2e8f0); }
.article-body .pros h4 { color: #10b981; margin-top: 0; margin-bottom: 15px; font-size: 1.2rem; display: flex; align-items: center; gap: 8px;}
.article-body .cons { background: rgba(244,63,94,0.05); padding: 25px; border-radius: 12px; border-top: 4px solid #f43f5e; border-left: 1px solid var(--border-color, #e2e8f0); border-right: 1px solid var(--border-color, #e2e8f0); border-bottom: 1px solid var(--border-color, #e2e8f0); }
.article-body .cons h4 { font-weight: 500;  color: #f43f5e; margin-top: 0; margin-bottom: 15px; font-size: 1.2rem; display: flex; align-items: center; gap: 8px;}
.article-body .pros ul, .article-body .cons ul { padding-left: 20px; margin-bottom:0; }
.article-body .pros li::marker { color: #10b981; font-weight: 500;}
.article-body .cons li::marker { color: #f43f5e; font-weight: 500;}

.article-body .client-review { background: var(--bg-alt, #f8fafc); padding: 30px; border-radius: 12px; text-align: center; border: 1px solid var(--border-color, #e2e8f0); margin-bottom: 20px;}
.article-body .stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 15px; }
.article-body .review-text { font-size: 1.2rem; font-style: italic; margin-bottom: 20px; color: inherit; opacity: 0.9; }
.article-body .client-info strong { display: block; color: #0ea5e9; font-size: 1.1rem; margin-bottom: 5px;}
.article-body .client-info span { font-size: 0.85rem; color: var(--text-muted, #64748b); }

.article-body .tech-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px;}
.article-body .badge { background: var(--bg-alt, #f1f5f9); color: inherit; padding: 6px 15px; border-radius: 50px; font-size: 0.9rem; font-weight: 500; border: 1px solid var(--border-color, #e2e8f0); box-shadow: 0 1px 2px rgba(0,0,0,0.05);}

.article-body .click-to-tweet { background: #0ea5e9; padding: 30px; border-radius: 12px; text-align: center; color: #fff; margin-bottom: 20px;}
.article-body .click-to-tweet p { font-size: 1.4rem; font-weight: 600; font-style: italic; margin-bottom: 20px; color: #fff !important; border:none; padding:0;}
.article-body .tweet-btn { background: #fff; color: #0ea5e9 !important; padding: 10px 20px; border-radius: 50px; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); transition: transform 0.2s;}
.article-body .tweet-btn:hover { transform: translateY(-2px); }

.article-body .before-after-box { display: flex; gap: 20px; margin: 3.5rem 0;}
.article-body .img-half { position: relative; flex: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.article-body .img-half img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; max-width: 100%; border-radius: 0;}
.article-body .img-half .label { position: absolute; top: 15px; left: 15px; background: rgba(0,0,0,0.7); color: #fff; padding: 5px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 500; z-index: 2; letter-spacing: 1px; text-transform: uppercase; }

.article-body .video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin: 3.5rem 0;}
.article-body .video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.article-body .inline-newsletter { background: var(--bg-alt, #f8fafc); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color, #e2e8f0); margin-bottom: 20px; text-align: center;}
.article-body .inline-newsletter h4 { font-weight: 500;  margin-top: 0; margin-bottom: 15px; color: #0ea5e9; font-size: 1.2rem;}
.article-body .inline-newsletter .sub-form { display: flex; gap: 10px; justify-content: center;}
.article-body .inline-newsletter input { padding: 10px 15px; border-radius: 6px; border: 1px solid #cbd5e1; flex: 1; max-width: 250px; background:#fff; color:#333;}
.article-body .inline-newsletter button { padding: 10px 20px; background: #0ea5e9; color: #fff; border: none; border-radius: 6px; font-weight: 500; cursor: pointer;}

@media (max-width: 768px) {
  .article-body .pros-cons-grid, .article-body .article-grid-2, .article-body .before-after-box, .article-body .inline-newsletter .sub-form { grid-template-columns: 1fr; flex-direction: column; }
  .article-body .inline-newsletter input { max-width: 100%; }
}

/* Utility to remove drop shadows */
.article-body .no-shadow { box-shadow: none !important; }

/* Fix for top gap in migrated posts */
.article-body .article-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
