/* Standard model guide on phone pages. Follows the approved page redesign:
   white background, dark text, thin grey borders, 12px corners, green accent.
   Scoped to .model-guide so nothing else on the site changes. */
.model-guide{font-family:Poppins,system-ui,Arial,sans-serif;color:#111827;font-size:15px;line-height:1.55;padding:0 0 8px;background:#fff}
.model-guide .mg-wrap{width:100%;max-width:1200px;margin:0 auto}
.model-guide p,.model-guide li{font-size:15px;line-height:1.55;color:#374151}
.model-guide a{color:#15803d !important}
.model-guide a:hover{color:#0f5f2d !important}
.model-guide h2{font-size:26px;line-height:1.25;font-weight:700;color:#111827;margin:56px 0 12px;padding:0;border:0}
.model-guide h2 + p{margin:0 0 20px;color:#4b5563}
.model-guide h3{font-size:17px;line-height:1.35;font-weight:600;color:#111827;margin:0 0 8px}

/* Price section */
.model-guide-worth h2{margin-top:48px}
.model-guide .mg-answer{margin:0 0 20px;color:#111827 !important}
.model-guide .mg-answer strong{font-weight:600;color:#111827}
.model-guide .mg-note{font-size:12px;color:#4b5563;margin:10px 0 0}

/* Tables */
.model-guide .mg-table{width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;border:1px solid #e5e7eb;border-radius:12px}
.model-guide .mg-table table{width:100%;min-width:440px;border-collapse:collapse;margin:0}
.model-guide .mg-table th,.model-guide .mg-table td{padding:14px 18px;font-size:15px;text-align:left;border:0;border-top:1px solid #e5e7eb;color:#374151;background:#fff}
.model-guide .mg-table thead th{background:#f6f7f8;font-weight:600;color:#111827;border-top:0}
.model-guide .mg-table tbody th{font-weight:600;color:#111827}
.model-guide .mg-table tbody td{font-weight:600;color:#111827}

/* Value factors: bordered cards */
.model-guide .mg-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.model-guide .mg-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px}
.model-guide .mg-card p{margin:0;font-size:14px}
.model-guide .mg-card-wide{grid-column:1 / -1}
.model-guide .mg-card ul{margin:10px 0 0;padding-left:18px}
.model-guide .mg-card li{font-size:14px}

/* Condition grades: rows like the "by condition" table */
.model-guide .mg-grades{display:block;margin:16px 0 0;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}
.model-guide .mg-grade{display:grid;grid-template-columns:140px minmax(0,1fr);gap:0 18px;padding:14px 18px;border-top:1px solid #e5e7eb;background:#fff}
.model-guide .mg-grade:first-child{border-top:0}
.model-guide .mg-grade dt{font-size:15px;font-weight:600;color:#111827;margin:0}
.model-guide .mg-grade dd{margin:0}
.model-guide .mg-grade ul{margin:0;padding-left:18px;columns:2;column-gap:32px}
.model-guide .mg-grade li{font-size:14px;line-height:1.5;margin:0 0 4px;break-inside:avoid}

/* Steps: one bordered strip of four */
.model-guide ol.mg-steps{list-style:none;counter-reset:mg;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0 0 16px;padding:0;background:#e5e7eb;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}
.model-guide ol.mg-steps li{counter-increment:mg;background:#fff;padding:24px;font-size:14px;color:#4b5563}
.model-guide ol.mg-steps li::before{content:"Step " counter(mg);display:block;font-size:13px;font-weight:600;color:#15803d}
.model-guide ol.mg-steps strong{display:block;font-size:17px;font-weight:600;color:#111827;margin:4px 0 6px}

.model-guide .mg-prepare{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;margin:0 0 24px}
.model-guide .mg-prepare ol{margin:0;padding-left:18px}
.model-guide .mg-prepare li{font-size:14px;margin:0 0 4px}
.model-guide .mg-cta{display:inline-flex;align-items:center;justify-content:center;min-height:50px;box-sizing:border-box;background:#15803d;color:#fff !important;font-weight:600;font-size:16px;padding:0 28px;border-radius:8px;text-decoration:none}
.model-guide .mg-cta:hover{background:#0f5f2d;color:#fff !important}

/* Related models: plain green links */
.model-guide-related{padding-bottom:16px}
.model-guide-related h2{font-size:16px;font-weight:600;margin:40px 0 8px}
.model-guide .mg-links{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:6px 32px;margin:0;padding:0}
.model-guide .mg-links li{font-size:14px}
.model-guide .mg-links a{font-weight:500;text-decoration:underline !important}

@media (max-width: 991px){
  .model-guide ol.mg-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .model-guide .mg-grade ul{columns:1}
}
@media (max-width: 575px){
  .model-guide h2{font-size:21px;line-height:1.3;margin-top:32px}
  .model-guide-worth h2{margin-top:28px}
  .model-guide-related h2{font-size:16px}
  .model-guide .mg-cards,.model-guide ol.mg-steps{grid-template-columns:1fr}
  .model-guide .mg-card,.model-guide .mg-prepare{padding:18px}
  .model-guide ol.mg-steps li{padding:14px 16px}
  .model-guide .mg-table th,.model-guide .mg-table td{padding:12px 16px;font-size:14px}
  .model-guide .mg-grade{grid-template-columns:1fr;gap:4px}
  .model-guide .mg-cta{display:flex;width:100%}
}
