/* AppNho — advertising layout (space only). Same scheme as the other AppNho sites.
   DESKTOP (>= 1366px): permanent right column #appnho-side (352px, full window height, visible from the first screen).
     The whole site is pushed left (html.has-ad-side body{padding-right}). Top = navigation panel built by appnho-ads.js
     (page outline + same-section links + main sections); bottom = 3 BLANK slots for Monetag In-Page Push.
   TABLET (821-1365px): no column; the push zone floats bottom-right.
   MOBILE (<= 820px): one banner slot in normal flow at the very top (#appnho-ad-top); the site starts below it. */
:root { --ad-side-w: 352px; --ad-slot-h: 92px; }
#appnho-ad-top, #appnho-ad-push, #appnho-side { display: none; }

@media (min-width: 821px) and (max-width: 1365px) {
  #appnho-ad-push { display: block; position: fixed; right: 12px; bottom: 12px; width: 300px; height: 300px; pointer-events: none; z-index: 2147483000; background: transparent; }
}
@media (min-width: 1366px) {
  html.has-ad-side body { padding-right: var(--ad-side-w); }
  #appnho-side {
    display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: var(--ad-side-w);
    box-sizing: border-box; z-index: 3000; background: #f6f8f9; border-left: 1px solid #dfe6e9;
    font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color: #172033;
  }
  .appnho-side-panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 20px 18px 12px; }
  .appnho-side-panel h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #5b6b74; font-weight: 800; }
  .appnho-side-panel, .appnho-side-panel .appnho-side-sec { display: block !important; width: auto; max-width: none; }
  .appnho-side-panel .appnho-side-sec { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .appnho-side-panel .appnho-side-sec + .appnho-side-sec { margin-top: 20px; }
  .appnho-side-panel ul { display: block !important; list-style: none; margin: 0; padding: 0; }
  .appnho-side-panel li { display: block !important; margin: 0; padding: 0; width: auto; }
  .appnho-side-panel li a {
    display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; font-size: 13.5px; line-height: 1.35; font-weight: 600;
    color: #1f3b47; text-decoration: none;
  }
  .appnho-side-panel li a:hover, .appnho-side-panel li a:focus-visible { background: #e6eef1; color: #0d5c63; outline: none; }
  .appnho-side-panel li.is-current a { background: #dcebee; font-weight: 800; }
  .appnho-side-slots { flex: 0 0 auto; display: grid; grid-template-rows: repeat(3, var(--ad-slot-h)); gap: 10px; padding: 12px 10px 14px; border-top: 1px solid #dfe6e9; background: #f6f8f9; }
  .appnho-side-slots > div { border-radius: 10px; }
  #appnho-ad-push { display: block; position: fixed; right: 10px; bottom: 14px; width: calc(var(--ad-side-w) - 20px); height: calc(var(--ad-slot-h) * 3 + 20px); pointer-events: none; z-index: 2147483000; background: transparent; }
  #appnho-ad-push > *:nth-child(n+4) { display: none !important; }
  #appnho-ad-push > * { pointer-events: auto; }
  @media (max-height: 600px) { :root { --ad-slot-h: 64px; } }
}
@media (max-width: 820px) {
  #appnho-ad-top {
    display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%;
    min-height: 62px; padding: 6px; background: #f4f7f8; border-bottom: 1px solid #e3e9ec; overflow: hidden;
  }
}
