/* ZEITUNG.IO HOME CARDS 51
   Stabilises the 07-15 editorial rails: equal card rhythm, reserved CTA row,
   controlled title/dek lengths and natural word wrapping. */

@media (min-width:801px){
  /* REGION / 07-10 */
  body main.publication-shell .country,
  body main.publication-shell .country .countrystories,
  body main.publication-shell .country>aside{
    min-width:0!important;
  }

  body main.publication-shell .country .countrystories{
    height:440px!important;
    align-items:stretch!important;
  }

  body main.publication-shell .country .countrystories>article{
    box-sizing:border-box!important;
    height:440px!important;
    min-height:440px!important;
    min-width:0!important;
    padding:31px clamp(16px,1.45vw,24px) 25px!important;
    display:grid!important;
    grid-template-rows:12px 144px minmax(0,1fr) 10px!important;
    row-gap:14px!important;
    align-content:stretch!important;
    overflow:hidden!important;
  }

  body main.publication-shell .country .countrystories>article>b{
    display:block!important;
    margin:0!important;
    align-self:start!important;
  }

  body main.publication-shell .country .countrystories>article h3{
    min-width:0!important;
    margin:0!important;
    align-self:start!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:6!important;
    overflow:hidden!important;
    max-height:6.18em!important;
    font-size:clamp(18px,1.42vw,24px)!important;
    line-height:1.03!important;
    letter-spacing:-.045em!important;
    text-wrap:pretty!important;
    hyphens:auto!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }

  body main.publication-shell .country .countrystories>article p{
    min-width:0!important;
    margin:0!important;
    align-self:start!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:7!important;
    overflow:hidden!important;
    max-height:10.15em!important;
    font-size:12.5px!important;
    line-height:1.45!important;
    hyphens:auto!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }

  body main.publication-shell .country .countrystories>article a{
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    align-self:end!important;
    margin:0!important;
    white-space:nowrap!important;
    line-height:1!important;
  }

  body main.publication-shell .country>aside{
    box-sizing:border-box!important;
    height:440px!important;
    min-height:440px!important;
    padding:30px clamp(16px,1.45vw,26px) 24px!important;
    display:grid!important;
    grid-template-rows:auto repeat(4,minmax(0,1fr))!important;
    align-content:stretch!important;
    overflow:hidden!important;
  }

  body main.publication-shell .country>aside h3{
    margin:0 0 13px!important;
  }

  body main.publication-shell .country>aside a{
    min-height:0!important;
    padding:11px 0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    overflow:hidden!important;
  }

  body main.publication-shell .country>aside a span{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    line-height:1.3!important;
  }

  /* EUROPE / 11-15 */
  body main.publication-shell .europe{
    grid-template-rows:52px 390px!important;
    align-items:stretch!important;
  }

  body main.publication-shell .europe .europephoto,
  body main.publication-shell .europe .europelead,
  body main.publication-shell .europe .europebrief{
    box-sizing:border-box!important;
    height:390px!important;
    min-height:390px!important;
    min-width:0!important;
  }

  body main.publication-shell .europe .europelead{
    padding:33px clamp(22px,2vw,36px) 24px!important;
    display:grid!important;
    grid-template-rows:12px auto minmax(0,1fr) 10px!important;
    row-gap:14px!important;
    align-content:stretch!important;
    overflow:hidden!important;
  }

  body main.publication-shell .europe .europelead>b{
    margin:0!important;
    align-self:start!important;
  }

  body main.publication-shell .europe .europelead h2{
    min-width:0!important;
    margin:0!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:4!important;
    overflow:hidden!important;
    max-height:3.92em!important;
    font-size:clamp(30px,2.75vw,45px)!important;
    line-height:.98!important;
    letter-spacing:-.055em!important;
    text-wrap:pretty!important;
    hyphens:auto!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }

  body main.publication-shell .europe .europelead p{
    min-width:0!important;
    margin:0!important;
    align-self:start!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:5!important;
    overflow:hidden!important;
    max-height:7.25em!important;
    font-size:12.5px!important;
    line-height:1.45!important;
    hyphens:auto!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }

  body main.publication-shell .europe .europelead a{
    position:static!important;
    align-self:end!important;
    margin:0!important;
    white-space:nowrap!important;
    line-height:1!important;
  }

  body main.publication-shell .europe .europebrief{
    padding:30px clamp(13px,1.15vw,19px) 24px!important;
    display:grid!important;
    grid-template-rows:11px 108px minmax(0,1fr) 10px!important;
    row-gap:13px!important;
    align-content:stretch!important;
    overflow:hidden!important;
  }

  body main.publication-shell .europe .europebrief>b{
    margin:0!important;
    align-self:start!important;
  }

  body main.publication-shell .europe .europebrief h3{
    min-width:0!important;
    margin:0!important;
    align-self:start!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:5!important;
    overflow:hidden!important;
    max-height:5.2em!important;
    font-size:clamp(16px,1.18vw,20px)!important;
    line-height:1.04!important;
    letter-spacing:-.035em!important;
    text-wrap:pretty!important;
    hyphens:auto!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }

  body main.publication-shell .europe .europebrief p{
    min-width:0!important;
    margin:0!important;
    align-self:start!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:7!important;
    overflow:hidden!important;
    max-height:10.15em!important;
    font-size:11px!important;
    line-height:1.45!important;
    hyphens:auto!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }

  body main.publication-shell .europe .europebrief a{
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    align-self:end!important;
    margin:0!important;
    white-space:nowrap!important;
    line-height:1!important;
  }
}

/* Slightly tighter typography on ordinary laptops; the grid remains identical. */
@media (min-width:801px) and (max-width:1180px){
  body main.publication-shell .country .countrystories>article{
    padding-left:14px!important;
    padding-right:14px!important;
    grid-template-rows:12px 136px minmax(0,1fr) 10px!important;
  }
  body main.publication-shell .country .countrystories>article h3{
    font-size:18px!important;
  }
  body main.publication-shell .country .countrystories>article p{
    font-size:11.5px!important;
    -webkit-line-clamp:8!important;
  }
  body main.publication-shell .europe .europebrief{
    padding-left:11px!important;
    padding-right:11px!important;
  }
  body main.publication-shell .europe .europebrief h3{
    font-size:15.5px!important;
  }
  body main.publication-shell .europe .europebrief p{
    font-size:10.5px!important;
    -webkit-line-clamp:8!important;
  }
}
