/* MDTECA: targeted readability and touch improvements, 2026-11-02. */
.site-header .language-picker #site-language {
  width: var(--mdteca-language-width, 124px);
  min-width: 112px;
  max-width: none;
  height: 44px;
  padding: 0 28px 0 10px;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0;
  text-overflow: clip;
  background-position: calc(100% - 14px) 50%, calc(100% - 10px) 50%;
}
.site-header .language-picker #site-language:focus-visible,
.site-header .menu-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.home-section-head .home-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (min-width: 651px) {
  .home-refreshed .home-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-refreshed .home-feature-grid > .home-feature { grid-column: auto; }
}
@media (min-width: 981px) {
  .home-refreshed .home-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home-refreshed :is(.hero-copy h1, .home-panel-title, .home-panel-desc, .home-feature-copy p) {
  overflow-wrap: anywhere;
}
body.home-reading-open {
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 1180px) {
  body .site-header .header-inner { gap: 8px !important; }
  .site-header .header-inner > .brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .site-header .header-inner .brand-mark {
    width: 100% !important;
    max-width: 176px;
    min-width: 0;
    background-position: left center;
  }
  html[dir="rtl"] .site-header .header-inner .brand-mark {
    background-position: right center;
  }
  .site-header .header-inner > .language-picker { flex: 0 0 auto; }
  .site-header .header-inner > .menu-toggle { flex: 0 0 44px; }
}
@media (max-width: 650px) {
  .home-refreshed .home-feature-copy { padding: 16px; }
  .home-refreshed .home-feature h3 { font-size: 24px; line-height: 1.15; }
  .home-refreshed .home-feature p { margin-bottom: 12px; font-size: 14px; line-height: 1.55; }
  .home-refreshed .hero-actions .button {
    min-height: 48px;
    padding: 12px 16px;
    white-space: normal;
    text-align: center;
  }
  .home-refreshed .direct-contact a { overflow-wrap: anywhere; }
  .home-refreshed .home-panel .home-panel-desc { font-size: 14px; line-height: 1.55; }
  .home-refreshed .home-acronym-grid span { font-size: 13px; }
}
@media (max-width: 480px) {
  .home-refreshed .home-acronym-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 350px) {
  .site-header .language-picker #site-language { font-size: 12px; min-width: 104px; }
}

.home-refreshed .home-feature-scope-label{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#b8bec8;margin:2px 0 5px}
.home-refreshed .home-feature-image[href="#realisation-favarger"] img{object-fit:contain;background:#0d0f12}

/* Six touchable actions: keep the full card and long translations inside the screen. */
.identity-section .acronym-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  border: 0;
}
.identity-section .acronym-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 160px;
  padding: 24px 18px;
  border: 1px solid #373b43;
  border-radius: 8px;
  background: linear-gradient(180deg, #14171b, #0b0d10);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(242, 53, 63, .25);
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.identity-section .acronym-card b { font-size: 52px; line-height: 1; }
.identity-section .acronym-card span {
  min-width: 0;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: .025em;
  overflow-wrap: anywhere;
  white-space: normal;
}
.identity-section .acronym-card svg {
  position: absolute;
  top: 24px;
  right: 14px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #f2353f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.identity-section .acronym-card:focus-visible,
.home-acronym-grid > a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-color: #f2353f;
}
.identity-section .acronym-card:active,
.home-acronym-grid > a:active {
  background: #3a1118;
  border-color: #ff4552;
  box-shadow: inset 0 0 0 1px #ff4552;
}
@media (hover: hover) {
  .identity-section .acronym-card:hover { background: #211217; border-color: #f2353f; }
}
@media (max-width: 980px) {
  .identity-section .acronym-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .identity-section .acronym-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .identity-section .acronym-card { min-height: 140px; padding: 18px 14px; }
  .identity-section .acronym-card b { font-size: 44px; }
  .identity-section .acronym-card span { font-size: clamp(15px, 3.8vw, 18px); margin-top: 16px; }
  .identity-section .acronym-card svg { top: 20px; right: 12px; width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .identity-section .acronym-card { transition: none; }
}

