/* ===================================================
   Farmer ID Card Print – Blog Shared Styles
   =================================================== */

:root {
  --primary: #1a3c6e;
  --primary-light: #2a5a9a;
  --accent: #f7931e;
  --accent-dark: #e67e22;
  --green: #2e7d32;
  --green-light: #43a047;
  --bg: #eaf5e9;
  --text: #1a202c;
  --text-muted: #4a6a4f;
  --border: #dce8dc;
  --card-bg: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  background-image:
    radial-gradient(ellipse at 10% 90%, rgba(46, 125, 50, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 80%, rgba(27, 94, 32, 0.05) 0%, transparent 50%);
  min-height: 100vh;
  padding: 0 15px 40px;
}

/* ===== HEADER ===== */
.site-header {
  max-width: 900px; margin: 20px auto; padding: 14px 28px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-radius: 28px; box-shadow: 0 6px 32px rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 20px; position: relative; overflow: hidden;
}
.site-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff9933 0%, #ffffff 40%, #138808 70%, #2e7d32 100%);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(145deg, #1a3c6e, #0d2b4a);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,215,0,0.25);
}
.brand-icon svg { width: 26px; height: 26px; }
.brand-name { font-size: 18px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.brand-name .highlight { color: var(--accent); }
.brand-name .green { color: var(--green); }
.brand-tagline { font-size: 10px; color: var(--text-muted); font-weight: 500; }
.nav-cta {
  background: linear-gradient(135deg, #f7931e, #e67e22);
  color: white; padding: 8px 22px; border-radius: 30px;
  font-size: 13px; font-weight: 700; text-decoration: none; transition: 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(247,147,30,0.35); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: 900px; margin: 0 auto 16px; font-size: 13px;
  color: var(--text-muted); padding: 0 8px;
}
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ===== ARTICLE ===== */
.article-container {
  max-width: 900px; margin: 0 auto; background: var(--card-bg);
  border-radius: 24px; box-shadow: 0 16px 56px rgba(0,0,0,0.07);
  padding: 42px 48px; position: relative; overflow: hidden;
}
.article-container::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #ff9933 0%, #ffffff 40%, #138808 70%, #2e7d32 100%);
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 13px;
  color: var(--text-muted); margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.article-meta .item { display: flex; align-items: center; gap: 6px; }
.article-meta .tag {
  background: #e8f5e9; color: var(--green); padding: 3px 12px;
  border-radius: 20px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.3px;
}
h1.article-title {
  font-size: 34px; line-height: 1.25; color: var(--primary);
  font-weight: 800; margin-bottom: 18px; letter-spacing: -0.3px;
}
.quick-answer {
  background: linear-gradient(135deg, #f0f9f0, #e8f5e9);
  border-left: 5px solid var(--green); padding: 18px 24px;
  border-radius: 14px; margin: 24px 0 32px; font-size: 15.5px;
  line-height: 1.75; color: #1a3c2e;
}
.quick-answer strong { color: var(--primary); }
h2 {
  font-size: 24px; color: var(--primary); font-weight: 800;
  margin: 36px 0 14px; padding-bottom: 8px;
  border-bottom: 2px solid #eaf5ea; line-height: 1.3;
}
h3 { font-size: 19px; color: var(--green); font-weight: 700; margin: 24px 0 10px; line-height: 1.35; }
h4 { font-size: 16px; color: var(--primary); font-weight: 700; margin: 18px 0 8px; }
p { font-size: 16px; color: #2c3e50; margin-bottom: 14px; }
ul, ol { padding-left: 26px; margin-bottom: 16px; }
li { font-size: 15.5px; line-height: 1.8; color: #2c3e50; margin-bottom: 6px; }
li::marker { color: var(--green); font-weight: 700; }
a { color: var(--primary-light); text-decoration: none; font-weight: 600; transition: 0.2s; }
a:hover { color: var(--accent); text-decoration: underline; }
strong { color: var(--primary); font-weight: 700; }

.table-wrap {
  overflow-x: auto; margin: 18px 0 24px;
  border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
table { width: 100%; border-collapse: collapse; background: white; font-size: 14.5px; }
thead { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; }
th { padding: 12px 16px; text-align: left; font-weight: 700; font-size: 13px;
     letter-spacing: 0.3px; text-transform: uppercase; }
td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: #2c3e50; }
tbody tr:nth-child(even) { background: #f7fcf7; }
tbody tr:hover { background: #eaf5ea; }

.steps-box {
  background: linear-gradient(135deg, #f0f9f0, #e8f5e9);
  border-radius: 16px; padding: 24px 28px; margin: 20px 0;
  border-left: 5px solid var(--green);
}
.steps-box ol { margin-bottom: 0; }

.warning-box {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-left: 5px solid #f7931e; border-radius: 14px;
  padding: 20px 24px; margin: 22px 0;
}
.warning-box h3 {
  color: #c2410c; margin-top: 0; font-size: 18px;
  display: flex; align-items: center; gap: 8px;
}
.warning-box ul { margin-bottom: 0; }
.warning-box li { color: #7c2d12; }

.cta-box {
  background: linear-gradient(135deg, var(--primary), #0d2b4a);
  color: white; padding: 30px 34px; border-radius: 20px;
  text-align: center; margin: 32px 0;
  box-shadow: 0 12px 40px rgba(26,60,110,0.25);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '🌾'; position: absolute; top: -20px; right: -20px;
  font-size: 100px; opacity: 0.05;
}
.cta-box h3 { color: #ffd54f; margin-top: 0; font-size: 22px; margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,0.9); font-size: 15px; margin-bottom: 18px; }
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f7931e, #e67e22);
  color: white !important; padding: 14px 40px; border-radius: 50px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 8px 28px rgba(247,147,30,0.4); transition: 0.3s;
  animation: pulseCta 2.5s ease-in-out infinite;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(247,147,30,0.55);
  text-decoration: none; color: white !important;
}
@keyframes pulseCta {
  0%, 100% { box-shadow: 0 8px 28px rgba(247,147,30,0.4); }
  50% { box-shadow: 0 8px 40px rgba(247,147,30,0.7); }
}

.faq-item {
  background: #f7fcf7; border-radius: 14px; padding: 18px 22px;
  margin-bottom: 12px; border-left: 4px solid var(--green); transition: 0.3s;
}
.faq-item:hover { background: #eaf5ea; transform: translateX(3px); }
.faq-item h4 {
  margin-top: 0; color: var(--primary); font-size: 16px;
  margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px;
}
.faq-item h4::before { content: '❓'; flex-shrink: 0; }
.faq-item p { margin-bottom: 0; font-size: 15px; color: #2c3e50; }

.disclaimer {
  background: #f8f9fa; border: 1px solid #e0e0e0;
  border-radius: 12px; padding: 18px 22px; margin: 32px 0 20px;
  font-size: 13.5px; color: #6c757d; line-height: 1.7;
}
.disclaimer strong { color: var(--primary); }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px; padding: 10px 22px; background: var(--primary);
  color: white !important; border-radius: 30px; font-size: 14px;
  font-weight: 600; text-decoration: none; transition: 0.3s;
}
.back-link:hover {
  background: var(--primary-light); text-decoration: none;
  transform: translateX(-3px);
}

.site-footer {
  max-width: 900px; margin: 32px auto 0; padding: 24px 28px;
  background: rgba(255,255,255,0.95); border-radius: 24px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.05); text-align: center;
  font-size: 13px; color: var(--text-muted);
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff9933 0%, #ffffff 40%, #138808 70%, #2e7d32 100%);
}
.site-footer a { color: var(--primary); margin: 0 8px; font-weight: 600; }
.footer-links { margin-bottom: 10px; }

@media (max-width: 768px) {
  .article-container { padding: 26px 22px; border-radius: 18px; }
  h1.article-title { font-size: 25px; }
  h2 { font-size: 20px; margin: 28px 0 12px; }
  h3 { font-size: 17px; }
  p, li { font-size: 15px; }
  .site-header { padding: 12px 18px; }
  .brand-name { font-size: 16px; }
  .cta-box { padding: 24px 20px; }
  .cta-box h3 { font-size: 19px; }
  th, td { padding: 9px 12px; font-size: 13px; }
  .quick-answer { padding: 14px 18px; font-size: 14.5px; }
}
@media (max-width: 480px) {
  h1.article-title { font-size: 22px; }
  h2 { font-size: 18px; }
  .article-container { padding: 22px 16px; }
  .nav-cta { padding: 6px 16px; font-size: 12px; }
  .cta-btn { padding: 12px 28px; font-size: 14px; }
}