/*
 * Oriental Racing Home V2
 * Latest Articles 3x2 / 4:3 Thumbnails v1.1.13
 */

#home-latest-articles.orhv2-home-latest-section{
  padding:20px !important;
}

#home-latest-articles.orhv2-home-latest-section > .dfmj-section__head{
  margin:0 0 16px !important;
}

#orhv2-home-latest-shelf{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

#orhv2-home-latest-shelf .orhv2-latest__grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  align-items:stretch !important;
}

#orhv2-home-latest-shelf .orhv2-latest-card{
  display:flex !important;
  flex-direction:column !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border:1px solid #e4d6bd !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:0 5px 14px rgba(22,46,38,.05) !important;
  grid-column:auto !important;
  grid-row:auto !important;
}

#orhv2-home-latest-shelf .orhv2-latest-card::before,
#orhv2-home-latest-shelf .orhv2-latest-card::after{
  display:none !important;
  content:none !important;
}

/* TRUE 4:3 thumbnail */
#orhv2-home-latest-shelf .orhv2-latest-card__media{
  display:block !important;
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:4 / 3 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border:0 !important;
  border-radius:0 !important;
  background:#f3efe6 !important;
}

#orhv2-home-latest-shelf .orhv2-latest-card__media > img{
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  max-width:none !important;
  aspect-ratio:4 / 3 !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  object-position:center !important;
}

#orhv2-home-latest-shelf .orhv2-latest-card__body{
  display:flex !important;
  flex:1 1 auto !important;
  flex-direction:column !important;
  min-width:0 !important;
  margin:0 !important;
  padding:14px 14px 13px !important;
}

#orhv2-home-latest-shelf .orhv2-latest-card h3{
  display:-webkit-box !important;
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
  color:#143e33 !important;
  font-size:17px !important;
  line-height:1.45 !important;
  font-weight:700 !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
}

#orhv2-home-latest-shelf .orhv2-latest-card h3 a{
  color:inherit !important;
  text-decoration:none !important;
}

#orhv2-home-latest-shelf .orhv2-latest-card__desc{
  display:-webkit-box !important;
  overflow:hidden !important;
  margin:10px 0 0 !important;
  padding:0 !important;
  color:#5f6d67 !important;
  font-size:14px !important;
  line-height:1.65 !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:3 !important;
}

#orhv2-home-latest-shelf .orhv2-latest-card time{
  display:block !important;
  margin-top:auto !important;
  padding-top:12px !important;
  color:#7a817e !important;
  font-size:12.5px !important;
  line-height:1.2 !important;
  font-weight:600 !important;
}

#orhv2-home-latest-shelf .orhv2-latest__more{
  margin:14px 0 0 !important;
  padding:0 !important;
  text-align:right !important;
  font-size:13px !important;
}

#orhv2-home-latest-shelf .orhv2-latest__more a{
  color:#143e33 !important;
  font-weight:700 !important;
  text-decoration:none !important;
}

@media (max-width:900px){
  #orhv2-home-latest-shelf .orhv2-latest__grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  #orhv2-home-latest-shelf .orhv2-latest-card h3{
    font-size:16px !important;
  }
}

@media (max-width:560px){
  #home-latest-articles.orhv2-home-latest-section{
    padding:14px !important;
  }

  #orhv2-home-latest-shelf .orhv2-latest__grid{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  #orhv2-home-latest-shelf .orhv2-latest-card{
    display:grid !important;
    grid-template-columns:120px minmax(0,1fr) !important;
  }

  #orhv2-home-latest-shelf .orhv2-latest-card__media{
    width:120px !important;
    height:90px !important;
    aspect-ratio:4 / 3 !important;
  }

  #orhv2-home-latest-shelf .orhv2-latest-card__media > img{
    width:120px !important;
    height:90px !important;
    aspect-ratio:4 / 3 !important;
  }

  #orhv2-home-latest-shelf .orhv2-latest-card__body{
    padding:10px !important;
  }

  #orhv2-home-latest-shelf .orhv2-latest-card h3{
    font-size:14px !important;
    -webkit-line-clamp:2 !important;
  }

  #orhv2-home-latest-shelf .orhv2-latest-card__desc{
    font-size:12px !important;
    line-height:1.5 !important;
    -webkit-line-clamp:2 !important;
  }

  #orhv2-home-latest-shelf .orhv2-latest-card time{
    padding-top:7px !important;
    font-size:10.5px !important;
  }
}