
/* PASINLER HABER PREMIUM V3.0
   SADECE ANA SAYFA MOBIL KATEGORI KARTLARI */

@media(max-width:760px){

  #categorySections{
    width:100%;
    min-width:0;
  }

  #categorySections .category-block{
    min-width:0;
    padding-bottom:18px;
    margin-bottom:18px;
  }

  #categorySections .category-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto;
    width:100%;
    height:auto;
    gap:12px;
    min-width:0;
  }

  #categorySections .category-main{
    display:block;
    width:100%;
    min-width:0;
    height:310px;
    min-height:310px;
    grid-column:1;
    grid-row:1;
  }

  #categorySections .category-main > img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }

  #categorySections .category-main .live-card-copy{
    padding:20px;
  }

  #categorySections .category-main .live-card-copy h3{
    font-size:clamp(22px,5vw,29px);
    line-height:1.2;
    -webkit-line-clamp:4;
  }

  #categorySections .category-small-grid{
    display:grid;
    grid-column:1;
    grid-row:2;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto;
    grid-auto-rows:minmax(180px,auto);
    gap:10px;
    width:100%;
    height:auto;
    min-width:0;
  }

  #categorySections .category-small{
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:190px;
    height:auto;
    overflow:hidden;
  }

  #categorySections .category-small > img,
  #categorySections .category-small > .news-image-placeholder{
    display:block;
    width:100%;
    height:115px;
    flex:0 0 115px;
    object-fit:cover;
  }

  #categorySections .category-small .live-card-copy{
    flex:1 1 auto;
    min-height:0;
    padding:10px;
    align-items:flex-start;
  }

  #categorySections .category-small .live-card-copy h3{
    font-size:14px;
    line-height:1.3;
    -webkit-line-clamp:4;
  }

  #categorySections .category-small-grid:empty{
    display:none;
  }

  #categorySections .category-layout:has(
    .category-small-grid:empty
  ){
    grid-template-rows:auto;
  }

}

@media(max-width:480px){

  #categorySections .category-layout{
    gap:10px;
  }

  #categorySections .category-main{
    height:285px;
    min-height:285px;
  }

  #categorySections .category-main .live-card-copy{
    padding:16px;
  }

  #categorySections .category-main .live-card-copy h3{
    font-size:23px;
  }

  #categorySections .category-small-grid{
    gap:8px;
    grid-auto-rows:minmax(170px,auto);
  }

  #categorySections .category-small{
    min-height:175px;
  }

  #categorySections .category-small > img,
  #categorySections .category-small > .news-image-placeholder{
    height:105px;
    flex-basis:105px;
  }

  #categorySections .category-small .live-card-copy{
    padding:8px;
  }

  #categorySections .category-small .live-card-copy h3{
    font-size:13px;
  }

}
