@charset "UTF-8";

@font-face {
  font-family: YuGothicM;
  src: local("Yu Gothic Medium");
}
@font-face {
  font-family: icons;
  font-style: normal;
  font-weight: 400;
  src: url(/font/icons.eot);
  src: url(/font/icons.eot?#iefix) format("embedded-opentype"), url(/font/icons.woff) format("woff"), url(/font/icons.ttf) format("truetype");
}

.download .c-media{
  margin-top: 0;
}

.dl-cards{
  padding: 0 12px 24px 12px;
}

.dl-cards__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
  max-width: 1100px;
  margin-inline: auto;
  align-items: stretch; 
}
.dl-card{
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.10);
  overflow: hidden;
  position: relative;
  height: 100%;
  padding-top: 20px;
}
.box {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 65px solid #00a7ac;
  border-left: 65px solid transparent;
  border-right: 0 solid transparent; 
  border-bottom: 0 solid transparent;
}

.box span {
  position: absolute;
  top: -55px;
  right: 5px;
  transform: rotate(45deg);
  font-size: 14px;
  color: #fff600;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.dl-card__thumb{
  display: flex;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  justify-content: center;
  align-items: center;

}
.dl-card__thumb img{
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: inline-block;
}
.landscape img{
  width: 270px;
  height: auto;
  border: 1px solid #eaeaea;
}
.dl-card__body{
  display: flex;
  flex-direction: column;
  padding: 15px 20px 30px;
  flex: 1 1 auto;
  align-items: flex-start;
}
.dl-card__title{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1e2a32;
  letter-spacing: 0.02em;
}

.dl-card__desc{
  margin: 10px 0 20px 0;
  color: #4b5b68;
  font-size: 14px;
  line-height: 1.7;
  flex-grow: 1;
}
.dl-card__btn{
  margin: auto; 

  align-self: flex-start;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 74px;
  border-radius: 50px;
  background: linear-gradient(135deg, #1fb5b8 0%, #0c7db3 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background-color .15s ease, color .15s ease, transform .1s ease, opacity .15s ease;
  border: 1px solid transparent;
  width: 220px;
  box-shadow: none;
}

.dl-card__btn::before{
  content: "";
  position: absolute;
  left: 45px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("../img/kdive/ico_download.png"); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.dl-card__btn:hover{
  opacity: .8;
}

@media (min-width: 1024px){
  .dl-cards__grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 360px){
  .dl-card__body{ padding: 16px; }
  .dl-card__btn{ padding: 11px 16px 11px 42px; }
}
