/* style/guide-layout.css */

/* ── Article Base ──────────────────────────────────────── */
.article-container { max-width: 800px; margin: 0 auto; padding: 60px 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.article-title { font-size: 2.5rem; color: #111827; margin-bottom: 15px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.article-meta { color: #6b7280; font-size: 0.95rem; margin-bottom: 40px; border-bottom: 1px solid #e5e7eb; padding-bottom: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.article-meta-badge { background: #eff6ff; color: #1e40af; padding: 4px 12px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; }

/* ── Typography & Content ─────────────────────────────── */
.article-content { font-size: 1.125rem; line-height: 1.8; color: #374151; }
.article-content h2 { color: #111827; font-size: 1.75rem; margin-top: 45px; margin-bottom: 15px; font-weight: 800; letter-spacing: -0.01em; }
.article-content h3 { color: #1f2937; font-size: 1.25rem; margin-top: 30px; margin-bottom: 10px; font-weight: 700; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin-bottom: 25px; padding-left: 22px; }
.article-content a { color: #2A6DF4; text-decoration: none; font-weight: 600; }
.article-content a:hover { text-decoration: underline; }

/* ── UI Components ───────────────────────────────────── */
.callout-box { background: linear-gradient(to right, #f8fafc, #ffffff); border-left: 4px solid #2A6DF4; padding: 24px; border-radius: 0 8px 8px 0; margin: 35px 0; font-size: 1.1rem; font-weight: 500; color: #1f2937; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.callout-box.warning { border-left-color: #f59e0b; background: linear-gradient(to right, #fffbeb, #ffffff); }
.callout-box.success { border-left-color: #16a34a; background: linear-gradient(to right, #f0fdf4, #ffffff); }

/* ── How-To Steps List ────────────────────────────────── */
.howto-steps { list-style: none; padding: 0; margin: 30px 0; counter-reset: step-counter; }
.howto-step { display: flex; gap: 18px; margin-bottom: 28px; padding: 22px 24px; background: #fff; border: 1.5px solid #e2e8f0; border-radius: 12px; transition: border-color .2s; }
.howto-step:hover { border-color: #bfdbfe; }
.step-num { flex-shrink: 0; width: 36px; height: 36px; background: linear-gradient(135deg, #2A6DF4, #4f83f7); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1rem; margin-top: 2px; }
.step-title { font-weight: 800; color: #111827; font-size: 1.05rem; margin-bottom: 6px; }

/* ── Feature / Hero Image ─────────────────────────────── */
.article-hero-image { margin-bottom: 40px; }
.article-hero-image img { width: 100%; height: auto; border-radius: 12px; display: block; }

/* ── Guide Index Grid (For index.php) ─────────────────── */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 25px; }
.guide-card { padding: 25px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; transition: all 0.2s ease; display: flex; flex-direction: column; height: 100%; }
.guide-card:hover { transform: translateY(-3px); border-color: #2A6DF4; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
