/*
================================================================================
TURFSPORT – Rennbahnen Magazine / Endless Paper V666
Nur klassische Laptops und Desktop mit Maus/Trackpad.
Mobil und Touch bleiben unverändert.

Referenz: Galopp-Startseite V651
- gleiche Portalbreite
- linke Navigation zentral aus portal-navigation.css
- weiße zusammenhängende Inhaltsfläche
- weniger Kartenoptik, mehr Typografie / Whitespace / Divider
================================================================================
*/

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

  html body.rc-page-rennbahnen{
    background:#f4f5f7!important;
    color:#333333!important;
  }

  /* ------------------------------------------------------------------------
     Gleiche Breite wie Startseite: links + breite Mitte, keine rechte Spalte
     ------------------------------------------------------------------------ */
  html body.rc-page-rennbahnen .rc-shell.rc-rennbahnen-page{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:14px!important;
    padding-right:14px!important;
    box-sizing:border-box!important;
  }

  html body.rc-page-rennbahnen .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-page-rennbahnen .rc-rennbahnen-main{
    display:grid!important;
    gap:30px!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;
  }

  /* ------------------------------------------------------------------------
     Hero: deutlich kleiner und magazinartiger
     ------------------------------------------------------------------------ */
  html body.rc-page-rennbahnen .rc-rennbahnen-hero.rc-rennbahnen-hero-v228{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:24px!important;
    margin:0!important;
    padding:12px 14px!important;
    min-height:0!important;
    border:0!important;
    border-radius:9px!important;
    background:#fffaf0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-v228::after{
    display:none!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-copy{
    max-width:none!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-copy > span{
    display:inline-block!important;
    margin:0 0 4px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#8a6a2c!important;
    font-size:9px!important;
    line-height:1.1!important;
    font-weight:800!important;
    letter-spacing:.06em!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-v228 h1{
    margin:0 0 4px!important;
    max-width:none!important;
    color:#17382d!important;
    font-size:26px!important;
    line-height:1.08!important;
    font-weight:820!important;
    letter-spacing:-.022em!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-v228 p{
    margin:0!important;
    max-width:760px!important;
    color:#626b67!important;
    font-size:11.8px!important;
    line-height:1.42!important;
    font-weight:400!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-stats{
    grid-template-columns:repeat(3,86px)!important;
    gap:8px!important;
    min-width:0!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-stats div{
    min-height:66px!important;
    padding:8px 9px!important;
    border:1px solid #e8e9e8!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:none!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-stats strong{
    font-size:18px!important;
    line-height:1!important;
    font-weight:820!important;
    letter-spacing:-.02em!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-stats small{
    font-size:8px!important;
    font-weight:750!important;
    letter-spacing:.05em!important;
  }

  /* ------------------------------------------------------------------------
     Nächste Termine: freistehende Sektion, Bilder etwas niedriger
     ------------------------------------------------------------------------ */
  html body.rc-page-rennbahnen .rc-rennbahnen-spotlight{
    display:grid!important;
    gap:13px!important;
    margin:0!important;
    padding:0 0 28px!important;
    border-bottom:1px solid #eeeeee!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-section-title{
    align-items:flex-end!important;
    margin:0!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-section-title > span{
    display:inline-block!important;
    margin:0 0 4px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#8a6a2c!important;
    font-size:9px!important;
    line-height:1.1!important;
    font-weight:800!important;
    letter-spacing:.06em!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-section-title h2{
    margin:0!important;
    color:#1a1a1a!important;
    font-size:22px!important;
    line-height:1.12!important;
    font-weight:820!important;
    letter-spacing:-.018em!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-highlight-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:16px!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-highlight{
    min-height:155px!important;
    padding:13px!important;
    border:0!important;
    border-radius:9px!important;
    box-shadow:none!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-highlight::after{
    background:linear-gradient(to top,rgba(5,32,22,.82),rgba(5,32,22,.10) 65%,rgba(5,32,22,.02))!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-highlight span{
    padding:3px 6px!important;
    border-radius:5px!important;
    font-size:8px!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-highlight strong{
    margin-top:7px!important;
    font-size:15px!important;
    line-height:1.08!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-highlight em{
    margin-top:4px!important;
    font-size:10px!important;
    font-weight:600!important;
  }

  /* ------------------------------------------------------------------------
     SEO-Intro: keine schwere Zwischenkarte
     ------------------------------------------------------------------------ */
  html body.rc-page-rennbahnen .rc-rennbahnen-intro-card{
    display:block!important;
    margin:0!important;
    padding:0 0 24px!important;
    border:0!important;
    border-bottom:1px solid #eeeeee!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-intro-card span{
    display:inline-block!important;
    margin:0 0 4px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#8a6a2c!important;
    font-size:9px!important;
    font-weight:800!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-intro-card h2{
    margin:0 0 5px!important;
    color:#1a1a1a!important;
    font-size:18px!important;
    line-height:1.18!important;
    font-weight:800!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-intro-card p{
    max-width:900px!important;
    margin:0!important;
    color:#666e6a!important;
    font-size:11.5px!important;
    line-height:1.45!important;
    font-weight:400!important;
  }

  /* ------------------------------------------------------------------------
     Alle Rennbahnen: Karten leichter, weniger Beige und weniger Rundung
     ------------------------------------------------------------------------ */
  html body.rc-page-rennbahnen .rc-rennbahnen-all-title{
    margin:0!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:24px 18px!important;
    margin-top:-12px!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card{
    display:flex!important;
    flex-direction:column!important;
    min-height:100%!important;
    overflow:hidden!important;
    border:1px solid #eeeeee!important;
    border-radius:9px!important;
    background:#fff!important;
    box-shadow:none!important;
    transform:none!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card:hover{
    border-color:#dce4df!important;
    box-shadow:0 5px 16px rgba(0,0,0,.035)!important;
    transform:translateY(-1px)!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-image{
    height:145px!important;
    background:
      radial-gradient(circle at 78% 22%,rgba(232,192,93,.17),transparent 34%),
      linear-gradient(135deg,#0a3324,#08261b)!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-image img{
    opacity:.86!important;
    object-fit:cover!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-body{
    flex:1!important;
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    padding:13px 14px 14px!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-body > span{
    display:inline-block!important;
    width:max-content!important;
    padding:0!important;
    background:transparent!important;
    color:#8a6a2c!important;
    font-size:8px!important;
    line-height:1.1!important;
    font-weight:800!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-body h2{
    min-height:0!important;
    margin:0!important;
    color:#1a1a1a!important;
    font-size:15px!important;
    line-height:1.14!important;
    font-weight:800!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-body p{
    min-height:3.9em!important;
    margin:0!important;
    color:#6a716e!important;
    font-size:10.5px!important;
    line-height:1.4!important;
    font-weight:400!important;
    -webkit-line-clamp:3!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-meta{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin-top:auto!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-meta div{
    min-height:42px!important;
    padding:7px 8px!important;
    border:0!important;
    border-radius:7px!important;
    background:#f8f9fa!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-meta small{
    color:#7a817e!important;
    font-size:7.5px!important;
    font-weight:700!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-meta strong{
    margin-top:2px!important;
    color:#315247!important;
    font-size:9.5px!important;
    font-weight:720!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-button{
    width:100%!important;
    min-height:30px!important;
    margin-top:3px!important;
    padding:0 10px!important;
    border-radius:7px!important;
    background:#0f5138!important;
    font-size:9.5px!important;
    font-weight:760!important;
    box-shadow:none!important;
  }
}

/* Großer Desktop: exakt gleiche Außenkanten wie Startseite */
@media (min-width:1760px) and (hover:hover) and (pointer:fine){

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

  html body.rc-page-rennbahnen .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;
  }
}

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

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

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-v228 h1{
    font-size:23px!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-hero-stats{
    grid-template-columns:repeat(3,74px)!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahnen-highlight{
    min-height:140px!important;
  }

  html body.rc-page-rennbahnen .rc-rennbahn-card-image{
    height:128px!important;
  }
}
