/* Contextual reading and assessment modules shared by EN/ES glossary pages. */
body.resource-reading [data-content-batch="B1"] .glossary-definition h2,
body.resource-reading [data-content-batch="B1"] .glossary-definition h3 {
  color: #005e62 !important;
  -webkit-text-fill-color: #005e62 !important;
}
body.resource-reading [data-content-batch="B1"] .glossary-definition a {
  color: #087b85 !important;
  -webkit-text-fill-color: #087b85 !important;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.glossary-definition .glossary-content-module {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: 1.8rem 0 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(8, 145, 178, .25);
  border-left: 4px solid #0891b2;
  border-radius: .75rem;
  background: #f0f9ff;
  color: #0f172a;
  line-height: 1.6;
}
.glossary-content-module__label {
  color: #334155;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.glossary-definition .glossary-content-module a {
  width: fit-content;
  color: #075985;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.glossary-definition .glossary-content-module a:hover { color: #0c4a6e; }
.glossary-definition .glossary-content-module a:focus-visible {
  outline: 3px solid #0891b2;
  outline-offset: 5px;
  border-radius: 2px;
}
.glossary-definition .glossary-content-module small { color: #475569; font-size: .875rem; }
.glossary-definition .glossary-content-module--commercial {
  margin-top: 2.5rem;
  border-left-color: #059669;
  background: #f0fdf4;
}
.glossary-definition h2 { margin: 2rem 0 1rem; font-size: clamp(1.35rem, 3vw, 1.65rem); line-height: 1.35; }
@media (max-width: 640px) {
  .glossary-definition .glossary-content-module { padding: 1rem; }
}
