#banner{
  position: relative;
  z-index: 1;
    height: 1018px;
    /* background-size: cover; */
}
.banner_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner_img{
    height: 100%;
}
.banner_img .pc{
    display: block;
}
.banner_img .mo{
    display: none;
}
.mo_share_menu{
  display: none;
  padding: 14px 16px;
  justify-content: space-between;
  align-items: center;
}
.mo_share_menu .mo_menu{
  display: flex;
  align-items: center;
  gap: 4px;
}
.mo_share_menu .mo_menu .icon{
  width: 24px;
  height: 24px;
}
.mo_share_menu .mo_menu .hitcount{
  font-weight: 800;
}

#contents {
    position: relative;
    width: 1274px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    padding: 140px 0;
    align-items: flex-start;
}
#contents article{
    width: 950px;
    flex-shrink: 0;

}
#contents article p{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 120px;
    white-space: pre-line;
}
#contents article p.title{
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 80px;
}
#contents article p.subtitle{
  font-weight: 800;
  font-size: 20px;
  color: var(--main-dark-gray);
  line-height: 1.5;
  margin-bottom: 8px;
}
#contents article p.subtitle.mg{
  margin-bottom: 80px;
}
#contents article p.end{
  margin-top: 200px;
  line-height: 1.8;
}
#contents article p.mb{
  margin-bottom: 30px;
}
.separator{
  display: block;
  width: 60px;
  height: 2px;
  background: var(--main-dark-gray);
  margin:160px auto;

}


#inArticle {
    width: 284px;
    height: fit-content;
    flex-shrink: 0;
    margin-left: auto;
}
#inArticle h3{
    font-size: 16px;
    font-weight: 700;
    color: var(--main-dark-gray);
    margin-bottom: 14px;
    text-align: left;
}
#inArticle ul li {
    border-left: 1px solid #E9EBEF;
    background: #fff;
    transition: 0.5s all;
    padding: 10px 20px;
    cursor: pointer;
}
#inArticle ul li.active{
    background: #E548370D;
    border-left: 4px solid var(--main-red);
}
#inArticle ul li p {
    color: var(--main-gray);
    font-size: 14px;
    margin-bottom: 0;
}
#inArticle ul li.active p{
    color: var(--main-dark-gray);
    font-weight: 800;
}






#relatedList{
    max-width: 1274px;
    margin: 0 auto;
    padding: 40px 0 100px;
}

#relatedList .listtit{
    font-size: 24px;
    font-weight: 800;
    color: var(--main-dark-gray);
    margin-bottom: 20px;
}

#webzineBoard {
  display: flex;
  flex-wrap: wrap;
  gap: 160px 20px;
}
#webzineBoard .board_cont .cont{
  display: block;
  position: relative;
}
#webzineBoard .board_cont .cont .badge{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  text-transform: uppercase;
  margin-left: 0;
}
#webzineBoard .board_cont.verticalSmall {
  width: 303px;
}
#webzineBoard .board_cont.verticalLarge {
  width: 465px;
}
#webzineBoard .board_cont.horizonSmall{
  width: 303px;
}
#webzineBoard .board_cont.horizonLarge{
  width: 465px;
}
#webzineBoard .thumnail{
  overflow: hidden;
}
#webzineBoard .thumnail img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.5s all;
}
#webzineBoard .board_cont .cont:hover .thumnail img{
  transform: scale(1.05);
}
/* 세로형 */
#webzineBoard .board_cont.verticalSmall .thumnail{
  width: 303px;
  height: 465px;
}

/* 가로형 */
#webzineBoard .board_cont.horizonSmall .thumnail{
  width: 303px;
  height: 303px;
}
#webzineBoard .infoarea{

}
#webzineBoard .infoarea .info_tit{
  margin-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--main-dark-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#webzineBoard .infoarea .cata{
  font-size: 16px;
  line-height: 1.5;
  color: var(--main-red);
  font-weight: 700;
}
#webzineBoard .infoarea .hits{
  display: flex;
  justify-content: center;
  gap: 2px;
  line-height: 1.5;
}
#webzineBoard .heart{
  width: 24px;
  height: 24px;
}
#webzineBoard .hitcount{
  font-size: 16px;
  font-weight: 700;
}

#webzineBoard .infoarea .info_desc{

}
#webzineBoard .infoarea .info_desc h3{
  font-size: 16px;
  font-weight: 700;
  color: var(--main-dark-gray);
  margin-top: 8px;
  word-break: keep-all;
}
#webzineBoard .infoarea .info_desc p{
  font-size: 16px;
  font-weight: 700;
  color: var(--main-light-gray);
}
#webzineBoard .infoarea .info_desc p br{
  display: none;
}





@media screen and (max-width: 1440px) {
    #relatedList{
        max-width: 95%;
    }
    #webzineBoard{
        gap: 40px 20px;
    }
    #webzineBoard .board_cont{
      width: calc(50% - 10px) !important;
    }
    #webzineBoard .board_cont .thumnail {
      width: 100% !important;
      height: auto !important;
    }
    /* Type 2: 1 / 1.329 비율 */
    #webzineBoard .board_cont.verticalSmall .thumnail {
      aspect-ratio: 1 / 1.329;
    }
    
    /* Type 3: 1 / 1 비율 */
    #webzineBoard .board_cont.horizonSmall .thumnail {
      aspect-ratio: 1 / 1;
    }
}

@media screen and (max-width:1080px) 
{   
    #banner{
        height: auto;
    }
    .banner_img {
        background: url(/resources/assets/images/webzine/detail/banner_main_01_mo.png);
        background-position:top;
        background-repeat: no-repeat;
        background-size: cover;
        aspect-ratio: 1 / 1.658;
    }
    .mo_share_menu{
      display: flex;
    }
    #inArticle{
        display: none !important;
    }
    #contents{
        width: 100%;
        display: block;
    }
    #contents article{
        width: 100%;
    }
    #contents article p{
        margin-bottom: 80px;
        max-width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
        word-break: keep-all;
    }
    
}
@media screen and (max-width:500px) {
  #webzineBoard{
    gap: 40px 16px;
  }
  #webzineBoard .infoarea .info_desc p br{
    display: block;
  }
}
@media screen and (max-width:350px) {

    #webzineBoard .infoarea .info_desc h3{
      font-size: 14px;
    }
    #webzineBoard .infoarea .cata{
      font-size: 14px;
    }
}
