@charset "utf-8";
:root{
    --main-dark-gray: #262B32;
    --main-gray: #6B7278;
    --main-light-gray: #ADB6BD;
    --main-red: #E54837;
    --main-blue: #005EFF;
}
.sec_container{
    max-width: 1596px;
    width: 100%;
    margin: 0 auto;

}
#fixedPostContent{
  position: fixed;
  bottom: 65px;
  right: 30px;
  padding: 4px 4px 4px 4px;
  background: #fff;
  border-radius: 99px;
  box-shadow: 0px 2px 10px 0px #00000040;
  z-index: 999;
  height: 50px;
  width: 152px;
}
#fixedPostContent .post_wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
}
#fixedPostContent .icon_mask{
  width: 42px;
  height: 42px;
  margin-right: 4px;
}
#fixedPostContent h2{
  font-size: 16px;
  color: var(--main-red);
  line-height: 1;
}
#fixedPostContent .icon{
  width: 18px;
  height: 18px;
  margin-left: 3px;
  margin-right: 6px;
}
.badge {
    display: inline-block;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 800;
    padding: 4px 9px;
    line-height: 1.5;
    margin-left: 6px;
}

.badge.redtxt{
    color: var(--main-red);
}
.badge.bluetxt{
    color: var(--main-blue);
}
.badge.red{
    background:var(--main-red);
    color: #fff;
}
.badge.blue{
    background:var(--main-blue);
    color: #fff;
}
/* Hero Swiper Styles */
#hero {
    position: relative;
    width: 100%;
 /* 	height:77.777vh; */
    height: 894px;
    overflow: hidden;
}
#hero .tit{
  position: absolute;
  top: 194px;
  left: calc(50% - min(42% , 806.4px));
  width: 30%;
  max-width: 373px;
  z-index: 2;
}

#hero .heroSwiper {
    width: 100%;
 /* 	height:77.777vh; */
    height: 894px;
}

#hero .swiper-slide {
    position: relative;
    width: 100%;
    padding: 12.129vh 0 164px;
}

#hero .slide_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero .slide_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hero .slide_content {
    position: absolute;
    z-index: 2;
    color: #fff;
    max-width: 1596px;
    margin: 0 auto;
    width: 84%;
    left: calc(50% - min(42% , 806.4px));
    /* bottom: 164px; */
		/*    top: 49.1%; */
   top: 537px;
}

#hero .slide_title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 16px;
    margin-top: 16px;
}

#hero .slide_desc {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.04em;
}

/* Slider Navigation Container */
#hero .slider-nav {
    position: absolute;
    left: calc(50% - min(42% , 806.4px));
    bottom: 60px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Swiper Navigation Arrows */
#hero .swiper-button-prev,
#hero .swiper-button-next {
    position: static;
    margin: 0;
    width: 24px;
    height: 24px;
    color: #fff;
    transition: all 0.3s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#hero .swiper-button-prev::after,
#hero .swiper-button-next::after {
    display: none;
}

#hero .swiper-button-prev {
    background-image: url('/resources/assets/images/svg/chevron_left.svg');
}

#hero .swiper-button-next {
    background-image: url('/resources/assets/images/svg/chevron_right.svg');
}

#hero .swiper-button-prev:hover,
#hero .swiper-button-next:hover {
    opacity: 0.7;
}

/* Swiper Pagination */
#hero .swiper-pagination {
    position: static;
    width: auto;
    display: flex;
    gap: 8px;
}

#hero .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: 0.5;
    margin: 0 !important;
    transition: all 0.3s ease;
}

#hero .swiper-pagination-bullet-active {
    opacity: 1;
}




#now .sec_container{
  padding: 120px 0;
}
#now .sec_head{
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 80px;
}
#now .sec_head .tit{
  display: none;
}
#now .sec_head .tit .now{
  display: flex;
}
#now .tab-menu ul{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
#now .tab-menu ul li{
  padding: 0 0px 6px;
  line-height: 1.5;
  margin: 0 2px;
  position: relative;
  cursor: pointer;
}
#now .tab-menu ul li::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  width: 100%;
  background: var(--main-red);
  opacity: 0;
  transition: 0.5s all;
}

#now .tab-menu ul li p{
  color: var(--main-light-gray);
  font-size: 16px;
  display: inline-block;
  font-weight: 700;
  margin: 0 2px;
}
#now .tab-menu ul li.active p{
  color: var(--main-dark-gray);
}
#now .tab-menu ul li.active::before{
  opacity: 1;
}

/* Search Input */
#now .search_input{
  position: relative;
  width: 465px;
}
#now .search_input input{
  width: 100%;
  height: 42px;
  border-radius: 0;
  padding: 9px 0;
  font-size: 16px;
  outline: none;
  border: none;
  border-bottom:2px solid var(--main-dark-gray);
  font-weight: 700;
  letter-spacing: -0.04em;
}
#now .search_input input::placeholder{
  color: var(--main-dark-gray);
  font-weight: 700;
}
#now .search_input .search_btn{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#now .search_input .search_btn img{
  
}

#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.verticalLarge .thumnail{
  width: 465px;
  height: 624px;
}
/* 가로형 */
#webzineBoard .board_cont.horizonSmall .thumnail{
  width: 303px;
  height: 303px;
}
#webzineBoard .board_cont.horizonLarge .thumnail{
  width: 465px;
  height: 465px;
}
#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;
  display: none;
}
#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;
}
/* Pagination */
.now_pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 120px;
}

.now_pagination .arrow {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.now_pagination .arrow svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.now_pagination .arrow svg path {
  fill: var(--main-light-gray);
  transition: fill 0.3s ease;
}

.now_pagination .arrow:hover svg path {
  fill: var(--main-dark-gray);
}

.now_pagination .page_numbers {
  display: flex;
  align-items: center;
  gap: 18px;
}

.now_pagination .page_num {
  font-size: 24px;
  font-weight: 700;
  color: var(--main-light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1;
}

.now_pagination .page_num:hover {
  color: var(--main-dark-gray);
}

.now_pagination .page_num.active {
  color: var(--main-dark-gray);
}

@media screen and (max-width: 1640px) {
  /* 게시글 12개 */
  .sec_container{
    width: 95%;
  }
  #now .sec_container{
    max-width: 1116px;
  }
  #fixedPostContent{
    display: none;
  }
}
@media screen and (max-width: 1135px) {

  /* 게시글 8개 */
  /* 모바일 3가지 타입 */
  #webzineBoard .board_cont{
    width: calc(50% - 10px) !important;
  }
  #webzineBoard .board_cont .thumnail {
    width: 100% !important;
    height: auto !important;
  }

  /* Type 1: 1 / 1.536 비율 */
  #webzineBoard .board_cont.mobileType1 .thumnail {
    aspect-ratio: 1 / 1.536;
  }

  /* Type 2: 1 / 1.329 비율 */
  #webzineBoard .board_cont.mobileType2 .thumnail {
    aspect-ratio: 1 / 1.329;
  }

  /* Type 3: 1 / 1 비율 */
  #webzineBoard .board_cont.mobileType3 .thumnail {
    aspect-ratio: 1 / 1;
  }
}
@media screen and (max-width: 1080px) {

  #now .sec_container{
    padding: 60px 0;
  }
  #hero .tit{
    display: none;
  }
  #now .sec_head{
    display: block;
  }
  #now .sec_head .tit{
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
    width: 69.897%;
    max-width: 320px;
  }
  #now .search_input{
    display: none;
  }
  .now_pagination{
    margin-top: 60px;
  }
  .now_pagination .page_num{
    font-size: 16px;
    display: block;
    padding: 4px 8px;
  }
}
@media screen and (max-width: 500px) {
  #hero {
  /*    height: 67.733vh; */
 height: 74.384vh;
  }
  #hero .heroSwiper {
/*    height: 67.733vh; */
 height: 74.384vh;
  }
  #hero .slide_title{
    font-size: 30px;
  }
  #hero .slide_desc{
    font-size: 14px;
  }
  #hero .slide_content{
    width: 100%;
    left: 16px;
  }
  #hero .slider-nav{
    left: 16px;
    bottom: 40px;
  }
  .badge{
    margin-left: 2px;
    font-size: 12px;
  }
  #hero .slide_title{
    margin-top: 14px;
    margin-bottom: 14px;
  }
  #now .sec_head{
    margin-bottom: 60px;
  }
  #now .sec_head .tit {
    margin-bottom: 20px;
  }
  #now .tab-menu ul{
    gap: 12px;
  }
  #webzineBoard{
    gap: 40px 16px;
  }
  #webzineBoard .infoarea .info_desc p br{
    display: block;
  }
}
@media screen and (max-width:350px) {
    #hero .slide_title {
        font-size: 24px;
    }
    #webzineBoard .infoarea .info_desc h3{
      font-size: 14px;
    }
    #webzineBoard .infoarea .cata{
      font-size: 14px;
    }
}
