/* LOCAL CANDIDATE; not deployed. Load after the existing inline MW4 styles on RU/KK.
   Keep the aside, heading, all three URLs, their text, and localization unchanged. */
body #mw4-detailed-guides { box-sizing: border-box; width: 100%; max-width: 1280px; margin: 24px auto 32px; padding: 0 24px; }
body #mw4-detailed-guides > h2 { margin: 0 0 16px; color: var(--kl-ink, #20232b); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.025em; }
body #mw4-detailed-guides > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
body #mw4-detailed-guides > ul > li { display: flex; min-width: 0; margin: 0; padding: 0; }
body #mw4-detailed-guides > ul > li > a { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; box-sizing: border-box; width: 100%; min-height: 96px; padding: 20px; border: 1px solid var(--kl-line, #e1e5eb); border-radius: 14px; background: #fff; color: var(--kl-ink, #20232b); font-size: 15px; font-weight: 650; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; transition: border-color .18s, background .18s; }
body #mw4-detailed-guides > ul > li > a::after { content: "→"; flex-shrink: 0; color: var(--kl-accent, #af1767); }
body #mw4-detailed-guides > ul > li > a:hover { border-color: #d77cab; background: var(--kl-tint, #fcf0f6); }
body #mw4-detailed-guides > ul > li > a:focus-visible { outline: 3px solid var(--kl-accent, #af1767); outline-offset: 3px; }
@media (max-width: 800px) {
  body #mw4-detailed-guides { margin: 20px auto 28px; padding: 0 16px; }
  body #mw4-detailed-guides > ul { grid-template-columns: 1fr; }
  body #mw4-detailed-guides > ul > li > a { min-height: 64px; padding: 16px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { body #mw4-detailed-guides > ul > li > a { transition: none; } }
