/* ==============================================================
   Custom overrides for ja_teline_v  (loaded automatically by T3)
   ============================================================== */

/* JComments -- anchor offset for the sticky header.
   The "Add comment" link is a plain #addcomments hash anchor. On desktop
   T3 pins .t3-topbar (30px) and #t3-mainnav (48px) with position:fixed,
   so the browser jump lands with the top of the comment form hidden
   underneath them. T3 drops .affix on small screens, which is why the
   problem only shows on wide viewports. Offset the jump target so the
   "Add comment" heading and the first field clear the bars. */
@media (min-width: 992px) {
  #jc a#addcomments,
  #jc [id^="comment-"] {
    scroll-margin-top: 150px;
  }
}
