/*
================================================================================
TURFSPORT – Wissen Artikel Magazine V680
Nur klassische Laptops und Desktop mit Maus/Trackpad.
Mobil/Touch bleibt unverändert.

Fixes:
- Wissensartikel bleiben vollständig im Viewport
- kein Abschneiden / Überlaufen nach rechts
- gleiche Portalbreite wie Wissen-Übersicht
- Artikel + rechte Wissensspalte ruhiger und besser lesbar
- Related-Links optisch entschlackt
================================================================================
*/

@media (min-width:1100px) and (hover:hover) and (pointer:fine){

  html body.rc-wissen-page.rc-wissen-article-page{
    background:#f4f5f7!important;
    color:#333333!important;
    overflow-x:hidden!important;
  }

  html body.rc-wissen-article-page,
  html body.rc-wissen-article-page *{
    box-sizing:border-box!important;
  }

  /* äußeres Portalraster robust auf Viewportbreite begrenzen */
  html body.rc-wissen-article-page .rc-shell.rc-wissen-article-shell-v202{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:0 14px!important;
  }

  html body.rc-wissen-article-page
  .rc-shell.rc-wissen-article-shell-v202
  > .rc-page-grid.rc-page-grid-portal-left{
    display:grid!important;
    grid-template-columns:225px minmax(0,1fr)!important;
    gap:18px!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:20px auto 0!important;
    align-items:start!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-page-main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }

  /* Artikel + rechte Wissensnavigation dürfen nie breiter als die Mitte werden */
  html body.rc-wissen-article-page .rc-wissen-article-inner-v202{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 260px!important;
    gap:24px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    align-items:start!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-main,
  html body.rc-wissen-article-page .rc-wissen-article-sidebar{
    min-width:0!important;
    max-width:100%!important;
  }

  /* Artikel selbst: Paper statt schwere Karte */
  html body.rc-wissen-article-page .rc-wissen-article-main.rc-card{
    margin:0!important;
    padding:18px 22px 28px!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-kicker{
    display:inline-block!important;
    margin:0 0 7px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#8a6a2c!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:.045em!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-main h1{
    max-width:920px!important;
    margin:0 0 8px!important;
    color:#17382d!important;
    font-size:32px!important;
    line-height:1.08!important;
    font-weight:720!important;
    letter-spacing:-.02em!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-subtitle{
    max-width:900px!important;
    margin:0 0 10px!important;
    color:#59635e!important;
    font-size:15px!important;
    line-height:1.45!important;
    font-weight:600!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-topline{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    margin:0 0 18px!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-topline span{
    padding:4px 7px!important;
    border:1px solid #e8e1d3!important;
    border-radius:6px!important;
    background:#fffaf0!important;
    color:#765b28!important;
    font-size:10.5px!important;
    line-height:1.1!important;
    font-weight:650!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-content{
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-content > *{
    max-width:100%!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-content h2{
    margin:24px 0 8px!important;
    color:#17382d!important;
    font-size:22px!important;
    line-height:1.18!important;
    font-weight:720!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-content h3{
    margin:20px 0 7px!important;
    color:#17382d!important;
    font-size:18px!important;
    line-height:1.22!important;
    font-weight:700!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-content p,
  html body.rc-wissen-article-page .rc-wissen-article-content li{
    color:#4f5954!important;
    font-size:15px!important;
    line-height:1.62!important;
    font-weight:400!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-content ul,
  html body.rc-wissen-article-page .rc-wissen-article-content ol{
    padding-left:22px!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-lead{
    margin:0 0 18px!important;
    padding:12px 14px!important;
    border:0!important;
    border-left:3px solid #d4a64a!important;
    border-radius:0 7px 7px 0!important;
    background:#fffaf0!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-lead em{
    color:#684f25!important;
    font-size:14px!important;
    line-height:1.5!important;
    font-weight:600!important;
  }

  html body.rc-wissen-article-page :is(
    .rc-wissen-info-box,
    .rc-wissen-tip-box,
    .rc-wissen-formula-box
  ){
    margin:16px 0!important;
    padding:13px 14px!important;
    border:1px solid #e2e9e5!important;
    border-radius:8px!important;
    background:#f7faf8!important;
    box-shadow:none!important;
  }

  html body.rc-wissen-article-page :is(
    .rc-wissen-info-box,
    .rc-wissen-tip-box,
    .rc-wissen-formula-box
  ) strong{
    font-size:13.5px!important;
    font-weight:700!important;
  }

  html body.rc-wissen-article-page :is(
    .rc-wissen-info-box,
    .rc-wissen-tip-box,
    .rc-wissen-formula-box
  ) p{
    font-size:13.5px!important;
    line-height:1.5!important;
  }

  /* "Das könnte dich auch interessieren": schlanker, ohne Box-in-Box */
  html body.rc-wissen-article-page .rc-wissen-related-box{
    margin:24px 0 0!important;
    padding:14px 0 0!important;
    border:0!important;
    border-top:1px solid #eeeeee!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body.rc-wissen-article-page .rc-wissen-related-box > strong{
    display:block!important;
    margin:0 0 8px!important;
    color:#765b28!important;
    font-size:13.5px!important;
    font-weight:700!important;
  }

  html body.rc-wissen-article-page .rc-wissen-related-box a{
    position:relative!important;
    display:block!important;
    margin:0!important;
    padding:9px 18px 9px 2px!important;
    border:0!important;
    border-bottom:1px solid #eeeeee!important;
    border-radius:0!important;
    background:transparent!important;
    color:#315247!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:650!important;
    text-decoration:none!important;
  }

  html body.rc-wissen-article-page .rc-wissen-related-box a::after{
    content:"▸"!important;
    position:absolute!important;
    right:2px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    color:#b68a32!important;
    font-size:10px!important;
  }

  /* Footerlinks des Artikels */
  html body.rc-wissen-article-page .rc-wissen-article-footerlinks{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    margin-top:22px!important;
    padding-top:14px!important;
    border-top:1px solid #eeeeee!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-footerlinks a{
    min-height:31px!important;
    padding:0 10px!important;
    border:1px solid #e4e8e6!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#315247!important;
    font-size:11.5px!important;
    font-weight:650!important;
  }

  /* rechte Wissensspalte */
  html body.rc-wissen-article-page .rc-wissen-article-sidebar-v111{
    position:sticky!important;
    top:18px!important;
    display:grid!important;
    gap:0!important;
    width:100%!important;
    min-width:0!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-sidebar-v111 .rc-card{
    margin:0!important;
    padding:13px 0!important;
    border:0!important;
    border-bottom:1px solid #eeeeee!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-sidebar-v111 .rc-card:first-child{
    padding-top:0!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-sidebar-v111 .rc-card > span{
    display:block!important;
    margin:0 0 4px!important;
    padding:0!important;
    background:transparent!important;
    color:#8a6a2c!important;
    font-size:10px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:.04em!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-sidebar-v111 h2{
    margin:0 0 8px!important;
    color:#17382d!important;
    font-size:17px!important;
    line-height:1.18!important;
    font-weight:720!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-sidebar-v111 nav{
    display:grid!important;
    gap:0!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-sidebar-v111 nav a{
    position:relative!important;
    display:block!important;
    min-width:0!important;
    padding:8px 14px 8px 1px!important;
    border:0!important;
    border-bottom:1px solid #eeeeee!important;
    border-radius:0!important;
    background:transparent!important;
    color:#315247!important;
    overflow-wrap:anywhere!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-sidebar-v111 nav a::after{
    content:"▸"!important;
    position:absolute!important;
    right:1px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    color:#b68a32!important;
    font-size:9px!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-sidebar-v111 nav a strong{
    display:block!important;
    font-size:11.5px!important;
    line-height:1.3!important;
    font-weight:650!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-sidebar-v111 nav a em{
    display:block!important;
    margin-top:2px!important;
    color:#7a817e!important;
    font-size:10px!important;
    line-height:1.25!important;
    font-weight:500!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-cta p{
    margin:0 0 10px!important;
    color:#626b67!important;
    font-size:11.5px!important;
    line-height:1.45!important;
    font-weight:400!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-cta > a{
    display:inline-flex!important;
    min-height:31px!important;
    padding:0 9px!important;
    border-radius:7px!important;
    background:#0f5138!important;
    color:#fff!important;
    font-size:10.5px!important;
    font-weight:650!important;
  }
}

@media (min-width:1760px) and (hover:hover) and (pointer:fine){

  html body.rc-wissen-article-page .rc-shell.rc-wissen-article-shell-v202{
    width:100%!important;
    max-width:none!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  html body.rc-wissen-article-page
  .rc-shell.rc-wissen-article-shell-v202
  > .rc-page-grid.rc-page-grid-portal-left{
    width:calc(100vw - 96px)!important;
    max-width:1780px!important;
    grid-template-columns:255px minmax(0,1fr)!important;
    gap:30px!important;
    margin:26px auto 0!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-inner-v202{
    grid-template-columns:minmax(0,1fr) 285px!important;
    gap:30px!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-main h1{
    font-size:34px!important;
  }
}

@media (min-width:1100px) and (max-width:1399px) and (hover:hover) and (pointer:fine){

  html body.rc-wissen-article-page .rc-wissen-article-inner-v202{
    grid-template-columns:minmax(0,1fr) 225px!important;
    gap:18px!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-main.rc-card{
    padding:16px 18px 26px!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-main h1{
    font-size:28px!important;
  }

  html body.rc-wissen-article-page .rc-wissen-article-content p,
  html body.rc-wissen-article-page .rc-wissen-article-content li{
    font-size:14px!important;
  }
}
