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

Ziele:
- gleiche Portalbreite wie die modernisierten Hauptseiten
- weniger Karten-in-Karten
- groessere, ruhigere Schrift
- Grundlagen besser lesbar
- Kategorien als leichte Themenleiste rechts
- FAQ als klare Wissensliste statt Boxenwand
================================================================================
*/

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

  html body.rc-wissen-page{
    background:#f4f5f7!important;
    color:#333333!important;
    font-size:16px!important;
  }

  /* ----------------------------------------------------------------------
     Portalbreite wie Startseite / Rennbahnen
     ---------------------------------------------------------------------- */
  html body.rc-wissen-page .rc-shell.rc-wissen-shell{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:0 14px!important;
    box-sizing:border-box!important;
  }

  html body.rc-wissen-page .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;
    margin:20px auto 0!important;
    align-items:start!important;
  }

  html body.rc-wissen-page .rc-wissen-main{
    display:grid!important;
    gap:28px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:18px 22px 34px!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  /* ----------------------------------------------------------------------
     Kopfbereich: weg von der grossen dunkelgruenen Karte
     ---------------------------------------------------------------------- */
  html body.rc-wissen-page .rc-wissen-hero{
    margin:0!important;
    padding:14px 16px!important;
    border:0!important;
    border-radius:9px!important;
    background:#fffaf0!important;
    color:#333!important;
    box-shadow:none!important;
  }

  html body.rc-wissen-page .rc-wissen-hero > span{
    min-height:0!important;
    margin:0 0 5px!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;
    text-transform:uppercase!important;
  }

  html body.rc-wissen-page .rc-wissen-hero h1{
    margin:0 0 5px!important;
    color:#17382d!important;
    font-size:30px!important;
    line-height:1.1!important;
    font-weight:720!important;
    letter-spacing:-.018em!important;
  }

  html body.rc-wissen-page .rc-wissen-hero > p{
    max-width:950px!important;
    margin:0!important;
    color:#626b67!important;
    font-size:14.5px!important;
    line-height:1.5!important;
    font-weight:400!important;
  }

  /* Schnellzugriff nur noch als kleine Linkzeile */
  html body.rc-wissen-page .rc-wissen-quickbox{
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:8px 12px!important;
    margin:12px 0 0!important;
    padding:10px 0 0!important;
    border:0!important;
    border-top:1px solid #ebe6db!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body.rc-wissen-page .rc-wissen-quickbox strong{
    margin:0!important;
    color:#737a76!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:.035em!important;
  }

  html body.rc-wissen-page .rc-wissen-quickbox nav{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    margin:0!important;
  }

  html body.rc-wissen-page .rc-wissen-quickbox nav a{
    min-height:29px!important;
    padding:0 9px!important;
    border:1px solid #e4e8e6!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#315247!important;
    font-size:11.5px!important;
    line-height:1!important;
    font-weight:650!important;
    box-shadow:none!important;
  }

  /* ----------------------------------------------------------------------
     Internes Wissen-Raster: Inhalt breit, Themenleiste schlank
     ---------------------------------------------------------------------- */
  html body.rc-wissen-page .rc-wissen-layout-v111{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 255px!important;
    gap:26px!important;
    align-items:start!important;
    margin:0!important;
  }

  html body.rc-wissen-page .rc-wissen-main-v111{
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
  }

  html body.rc-wissen-page .rc-wissen-sidebar-v111{
    grid-column:2!important;
    grid-row:1!important;
    position:sticky!important;
    top:18px!important;
    display:grid!important;
    gap:0!important;
  }

  html body.rc-wissen-page .rc-wissen-sidebar-card-v111{
    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-page .rc-wissen-sidebar-card-v111:first-child{
    padding-top:0!important;
  }

  html body.rc-wissen-page .rc-wissen-sidebar-card-v111 > span{
    min-height:0!important;
    margin:0 0 5px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#8a6a2c!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:.04em!important;
  }

  html body.rc-wissen-page .rc-wissen-sidebar-card-v111 h2{
    margin:0 0 9px!important;
    color:#17382d!important;
    font-size:18px!important;
    line-height:1.15!important;
    font-weight:720!important;
  }

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

  html body.rc-wissen-page .rc-wissen-sidebar-card-v111 nav a{
    position:relative!important;
    display:block!important;
    padding:9px 16px 9px 2px!important;
    border:0!important;
    border-bottom:1px solid #eeeeee!important;
    border-radius:0!important;
    background:transparent!important;
    color:#315247!important;
    box-shadow:none!important;
    transform:none!important;
  }

  html body.rc-wissen-page .rc-wissen-sidebar-card-v111 nav a:last-child{
    border-bottom:0!important;
  }

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

  html body.rc-wissen-page .rc-wissen-sidebar-card-v111 nav a strong{
    font-size:12.5px!important;
    line-height:1.25!important;
    font-weight:650!important;
  }

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

  html body.rc-wissen-page .rc-wissen-sidebar-note-v111 p{
    margin:0!important;
    color:#626b67!important;
    font-size:12px!important;
    line-height:1.48!important;
    font-weight:400!important;
  }

  /* ----------------------------------------------------------------------
     Grundlagen: 2 breite Spalten statt 3 schmaler Textsaeulen
     ---------------------------------------------------------------------- */
  html body.rc-wissen-page .rc-wissen-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0 22px!important;
    margin:0 0 30px!important;
  }

  html body.rc-wissen-page .rc-wissen-card{
    margin:0!important;
    padding:16px 2px!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-page .rc-wissen-card:nth-child(4n+2),
  html body.rc-wissen-page .rc-wissen-card:nth-child(4n+3){
    background:#fafbfb!important;
  }

  html body.rc-wissen-page .rc-wissen-card > span{
    min-height:0!important;
    margin:0 0 5px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#8a6a2c!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:.04em!important;
  }

  html body.rc-wissen-page .rc-wissen-card h2{
    margin:0 0 7px!important;
    color:#17382d!important;
    font-size:19px!important;
    line-height:1.18!important;
    font-weight:720!important;
    letter-spacing:-.008em!important;
  }

  html body.rc-wissen-page .rc-wissen-card p{
    margin:0!important;
    color:#5f6864!important;
    font-size:14px!important;
    line-height:1.55!important;
    font-weight:400!important;
  }

  /* ----------------------------------------------------------------------
     Vertiefung: kein großer cremefarbener Außenkasten
     ---------------------------------------------------------------------- */
  html body.rc-wissen-page .rc-wissen-article-overview{
    margin:0 0 30px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body.rc-wissen-page .rc-wissen-section-head{
    margin:0 0 16px!important;
    padding:0 0 10px!important;
    border-bottom:1px solid #eeeeee!important;
  }

  html body.rc-wissen-page .rc-wissen-section-head > span{
    min-height:0!important;
    margin:0 0 4px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#8a6a2c!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:.04em!important;
  }

  html body.rc-wissen-page .rc-wissen-section-head h2{
    margin:0 0 5px!important;
    color:#1a1a1a!important;
    font-size:23px!important;
    line-height:1.14!important;
    font-weight:720!important;
  }

  html body.rc-wissen-page .rc-wissen-section-head p,
  html body.rc-wissen-page .rc-wissen-article-overview .rc-wissen-section-head p{
    max-width:850px!important;
    margin:0!important;
    color:#626b67!important;
    font-size:13.5px!important;
    line-height:1.5!important;
    font-weight:400!important;
  }

  html body.rc-wissen-page .rc-wissen-category-groups-v111{
    display:grid!important;
    gap:26px!important;
  }

  html body.rc-wissen-page .rc-wissen-category-block-v111,
  html body.rc-wissen-page .rc-wissen-category-block-v111:nth-child(n){
    margin:0!important;
    padding:0 0 20px!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-page .rc-wissen-category-block-v111 header{
    margin:0 0 12px!important;
  }

  html body.rc-wissen-page .rc-wissen-category-block-v111 header > span{
    min-height:0!important;
    margin:0 0 4px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#17382d!important;
    font-size:16px!important;
    line-height:1.2!important;
    font-weight:720!important;
    letter-spacing:0!important;
    text-transform:none!important;
  }

  html body.rc-wissen-page .rc-wissen-category-block-v111 header p{
    margin:0!important;
    color:#707773!important;
    font-size:12.5px!important;
    line-height:1.45!important;
    font-weight:400!important;
  }

  html body.rc-wissen-page .rc-wissen-article-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }

  html body.rc-wissen-page .rc-wissen-article-teaser{
    display:flex!important;
    flex-direction:column!important;
    min-height:100%!important;
    padding:14px!important;
    border:1px solid #eeeeee!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:none!important;
  }

  html body.rc-wissen-page .rc-wissen-article-teaser > span{
    min-height:0!important;
    margin:0 0 5px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#8a6a2c!important;
    font-size:10px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:.035em!important;
  }

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

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

  html body.rc-wissen-page .rc-wissen-article-meta{
    margin-top:auto!important;
    padding-top:10px!important;
  }

  html body.rc-wissen-page .rc-wissen-article-meta em{
    color:#7a817e!important;
    font-size:10.5px!important;
    font-weight:500!important;
  }

  html body.rc-wissen-page .rc-wissen-article-meta a{
    color:#0f5138!important;
    font-size:11px!important;
    font-weight:650!important;
  }

  /* ----------------------------------------------------------------------
     FAQ: linker Erklärungskopf frei, Fragen als ruhige Zeilen
     ---------------------------------------------------------------------- */
  html body.rc-wissen-page .rc-wissen-faq{
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body.rc-wissen-page .rc-wissen-faq-inner{
    display:grid!important;
    grid-template-columns:250px minmax(0,1fr)!important;
    gap:24px!important;
    align-items:start!important;
  }

  html body.rc-wissen-page .rc-wissen-faq .rc-wissen-section-head{
    position:sticky!important;
    top:18px!important;
    margin:0!important;
    padding:0 20px 0 0!important;
    border:0!important;
    border-right:1px solid #eeeeee!important;
    border-radius:0!important;
    background:transparent!important;
  }

  html body.rc-wissen-page .rc-wissen-faq .rc-wissen-section-head h2{
    font-size:20px!important;
    line-height:1.18!important;
  }

  html body.rc-wissen-page .rc-wissen-faq .rc-wissen-section-head p{
    font-size:12.5px!important;
    line-height:1.48!important;
  }

  html body.rc-wissen-page .rc-wissen-faq-list{
    display:grid!important;
    gap:0!important;
  }

  html body.rc-wissen-page .rc-wissen-faq details{
    margin:0!important;
    padding: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-page .rc-wissen-faq summary{
    min-height:44px!important;
    padding:10px 2px!important;
    color:#17382d!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:650!important;
  }

  html body.rc-wissen-page .rc-wissen-faq summary::after{
    width:20px!important;
    height:20px!important;
    border-radius:5px!important;
    background:#f5f1e8!important;
    color:#8a6a2c!important;
    font-size:13px!important;
    font-weight:700!important;
  }

  html body.rc-wissen-page .rc-wissen-faq details > p,
  html body.rc-wissen-page .rc-wissen-faq details > ul,
  html body.rc-wissen-page .rc-wissen-faq details > ol{
    margin:0 0 12px!important;
    padding-right:26px!important;
    color:#626b67!important;
    font-size:13px!important;
    line-height:1.55!important;
    font-weight:400!important;
  }

  html body.rc-wissen-page .rc-wissen-faq details > ul,
  html body.rc-wissen-page .rc-wissen-faq details > ol{
    padding-left:20px!important;
  }
}

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

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

  html body.rc-wissen-page .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-page .rc-wissen-layout-v111{
    grid-template-columns:minmax(0,1fr) 275px!important;
    gap:30px!important;
  }

  html body.rc-wissen-page .rc-wissen-hero h1{
    font-size:32px!important;
  }
}

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

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

  html body.rc-wissen-page .rc-wissen-hero h1{
    font-size:27px!important;
  }

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

  html body.rc-wissen-page .rc-wissen-grid{
    gap:0 16px!important;
  }

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