@import url("/assets/css/es/header-footer.css");
@import url("/assets/css/es/main.css");

:root {
  --ml-ink: #2b211d;
  --ml-muted: #6b5c55;
  --ml-accent: #9a3412;
  --ml-soft: #fff7ed;
  --ml-line: #eadfd8;
}

body[lang="ml"] {
  color: var(--ml-ink);
  font-family: "Noto Sans Malayalam", "Nirmala UI", Kartika, system-ui, sans-serif;
  overflow-wrap: anywhere;
}
body[lang="ml"] h1,
body[lang="ml"] h2,
body[lang="ml"] h3,
body[lang="ml"] p,
body[lang="ml"] li,
body[lang="ml"] summary,
body[lang="ml"] dd { line-height: 1.8; }
.ml-breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; color: var(--ml-muted); font-size: .86rem; }
.ml-breadcrumb a { color: var(--ml-accent); text-decoration: none; }
.ml-answer { margin: 1.4rem 0; padding: 1.25rem 1.35rem; border: 1px solid #fdba74; border-left: 5px solid var(--ml-accent); border-radius: 12px; background: var(--ml-soft); }
.ml-answer h2 { margin-top: 0; }
.ml-section { margin: 2rem 0; }
.ml-section-intro { color: var(--ml-muted); }
.ml-card-grid { display: grid; gap: 1rem; }
.ml-card { display: block; padding: 1rem; border: 1px solid var(--ml-line); border-radius: 12px; color: inherit; text-decoration: none; background: #fff; }
.ml-card:hover { border-color: #fb923c; box-shadow: 0 8px 24px rgb(124 45 18 / 8%); }
.ml-card h3 { margin: 0 0 .35rem; color: var(--ml-accent); }
.ml-card p { margin: 0 0 .6rem; color: var(--ml-muted); }
.ml-card span { color: var(--ml-accent); font-weight: 700; }
.ml-fit-grid { display: grid; gap: 1rem; }
.ml-fit-good, .ml-fit-bad { padding: 1rem 1.15rem; border: 1px solid var(--ml-line); border-radius: 12px; background: #fff; }
.ml-fit-good h3 { color: #166534; }
.ml-fit-bad h3 { color: #9f1239; }
.ml-table-wrap { overflow-x: auto; border: 1px solid var(--ml-line); border-radius: 12px; }
.ml-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.ml-table th, .ml-table td { padding: .85rem; border-bottom: 1px solid var(--ml-line); text-align: left; vertical-align: top; }
.ml-table thead th { background: var(--ml-soft); color: var(--ml-accent); }
.ml-table tbody tr:last-child > * { border-bottom: 0; }
.ml-checklist { padding: 1rem 1.2rem; border-radius: 12px; background: #f8fafc; }
.ml-entity dl { display: grid; gap: .65rem; }
.ml-entity dl > div { display: grid; gap: .25rem; padding: .8rem 1rem; border: 1px solid var(--ml-line); border-radius: 10px; }
.ml-entity dt { font-weight: 800; color: var(--ml-accent); }
.ml-entity dd { margin: 0; }
.ml-entity-link { color: var(--ml-accent); font-weight: 750; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ml-table-link { color: var(--ml-accent); font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ml-faq { display: grid; gap: .75rem; }
.ml-faq details { padding: .9rem 1rem; border: 1px solid var(--ml-line); border-radius: 10px; background: #fff; }
.ml-faq summary { cursor: pointer; font-weight: 750; }
.ml-faq p { margin-bottom: 0; }
.ml-sources li { margin-bottom: .7rem; }
.ml-sources li span { display: block; color: var(--ml-muted); font-size: .9rem; }

@media (min-width: 760px) {
  .ml-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-entity dl > div { grid-template-columns: 150px 1fr; align-items: start; }
}
