@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-gov.min.css");

body{
  font-family: "Pretendard GOV Variable", "Pretendard GOV", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

html{
  width: 100svw;
  height: 100svh;
  padding: 0;
  margin:0;
}
body{
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  overflow:auto;
  overflow-x: hidden;
}

div.wrap{
  width: 100%;
  min-height:100%;
  display: flex;
  flex-direction: column;
  background-image: url("../images/background.jpg");
  /* background-repeat:no-repeat;
  background-position: center;
  background-size: contain; */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-top:0px;
  box-sizing: border-box;
  justify-content: space-between;
  align-items:center;
}
/* @media all and (min-width: 1280px) { }
@media all and (min-width: 1024px) and (max-width: 1280px) { }



@media all and (min-width: 480px) and (max-width: 768px) { }

@media all and (max-width: 480px) { } */


div.topHeader{
  position:relative;
  width:100%;
  height:100px;
  min-height:100px;
  background-color:#ffffff;
  box-sizing: border-box;
  
}
div.topHeaderInner{
  display: flex;
  align-items: center;
  width:80%;
  height: 100%;
  margin: 0 auto;
}
div.topHeaderInner>h1{
  height: 62px;
  max-height: 62px;
  min-height: 62px;
  margin-right: auto;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
div.topHeaderInner>h1>a{
  display: flex;
  align-items: center;
}
div.topHeaderInner>h1>a>img{
  height: 52px;
  width: auto;
}

.banner_dj_council,
.banner_dj_district{
  display: inline-block;
  position:relative;
  width:150px; height:50px;
  min-width:150px;
  border-radius: 6px;
  color:#5a5d60;
  font-size:20px;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  font-weight: 500;
  line-height:50px;
  transition: all 0.25s;
  border:1px solid #9fa7b7;
}
.banner_dj_council{
  background-color:#f5f5f5;
  margin-right:10px;
}

.banner_dj_district{
  background-color:#f5f5f5;
  margin-right:10px;
}

.banner_dj_council:hover,
.banner_dj_district:hover{
  filter:brightness(1.2);
}
.banner_dj_council:active,
.banner_dj_district:active{
  filter:brightness(0.9);
}

.menu_vod{
  font-size:24px; font-weight: 500; color:#000000; text-decoration: none;
  margin-left:50px;
  white-space: nowrap;
}
.menu_vod:hover{
  opacity: 0.75;
}
.menu_vod:active{
  opacity: 1;
}


div.middleContent{
  position:relative;
  width:100%;
  height:100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top:50px;
  padding-bottom:50px;
}

div.middleContent > div.vodWrap{
  position:relative;
  width: 80%;
  border-radius: 24px;
  backdrop-filter:  brightness(150%) blur(10px);
  display: flex;
  box-shadow : 0 20px 40px rgba(0,0,0,0.25);
  justify-content: space-between;
  overflow: hidden;
  background-color:rgba(255,255,255,0.5);
}



div.middleContent > div.vodWrap > div.vodWrapInnerLeft{
  width: 100%;
  padding:20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  background-color:rgba(255,255,255,0.2);
}

div.middleContent > div.vodWrap > div.vodWrapInnerLeft > div.vodWrapInnerLeftHeader{
  position:relative;
  width:100%;
  display: flex;
  align-items: center;
  gap:15px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  white-space: nowrap;
}
div.middleContent > div.vodWrap > div.vodWrapInnerLeft > div.vodWrapInnerLeftHeader>span{
  display: inline-block;
  
}
div.middleContent > div.vodWrap > div.vodWrapInnerLeft > div.vodWrapInnerLeftHeader>span.todayStr{
  color:#FFFFFF;
  font-size:20px;
}
div.middleContent > div.vodWrap > div.vodWrapInnerLeft > div.vodWrapInnerLeftHeader>span.onairIcon{
  text-align: center;
  font-weight: 800;
  color:#FFFFFF;
  font-size:14px;
  padding: 5px 15px;
  border-radius: 15px;
  background-color:#999999;
}

div.middleContent > div.vodWrap > div.vodWrapInnerLeft > div.vodWrapInnerLeftHeader>span.onairIcon.active{
  background-color:#e30214;
}


div.middleContent > div.vodWrap > div.vodWrapInnerLeft > div.vodWrapInnerLeftHeader>span.todayMsg{
  font-size:21px;
  font-weight: 500;
}
div.middleContent > div.vodWrap > div.vodWrapInnerLeft > div.vodPlayerWrap{
  background-color:#000000;
  width:100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
}



div.middleContent > div.vodWrap > div.vodWrapInnerRight{
  position:relative;
  width: 35%;
  min-width: 280px;
  height: calc( 100svh - 10px - 100px - 50px - 50px - 130px );
  padding:30px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
}

div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightHeader{
  position:relative;
  width:100%;
  display: flex;
  align-items: flex-start;
  gap:10px;
  justify-content: flex-start;
  flex-wrap: wrap;
  white-space: nowrap;
}
div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightHeader>span{
  display: inline-block;
  
}
div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightHeader>span.liveIcon{
  color:#FFFFFF;
  font-size:22px;
  font-weight: 600;
}
div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightHeader>span.liveStrK{
  font-weight: 400;
  color:#000000;
  font-size:18px;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.4;
}

div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightHeader>span.currentMsg{
  font-size:15px;
  color:#FFFFFF;
  font-weight: 400;
  width:100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightScrollView{
  width:100%;
  height:100%;
  overflow-x:hidden;
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightScrollView div.liveItem{
  display: flex; padding: 4px; border-radius: 10px;
  align-items: center; justify-content: flex-start;
  margin-bottom:10px;
  width:100%;
  box-sizing: border-box;
  gap:20px;
  cursor:pointer;
  transition: all 0.25s;
  background-color:rgba(255,255,255,0.1);
  border:1px solid transparent;
}
div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightScrollView div.liveItem:hover{
  background-color:rgba(255,255,255,0.2);
  border:1px solid #FFFFFF;
}
div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightScrollView div.liveItem:hover > div.listTitle{
  color:#FFFFFF;
}
div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightScrollView > div.liveItem > div.onair{
  background-color:#d7d7d7;
  width:78px;
  height:58px;
  border-radius: 10px;
  background-image: url("../images/icon_onair.png");
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.25s;
}
div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightScrollView > div.liveItem > div.listTitle{
  font-size:20px;
  transition: all 0.25s;
  background-image:url("../images/icon_arrow.png");
  background-repeat: no-repeat;
  background-position: 0 50%;
  text-indent: 30px;
}

div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightScrollView div.liveItem.activeItem{
  background-color:#FFFFFF;
  cursor:default;
}
div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightScrollView div.liveItem.activeItem > div.onair{
  background-color:#e30214;
}
div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightScrollView div.liveItem.activeItem:hover > div.listTitle{
  color:#000000;
}

div.bottomFooter{
  position:relative;
  width:100%;
  height:130px;
  min-height: 130px;
  background-color:#FFFFFF;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap:20px;
}
div.bottomFooter > div{
  border-right:1px solid #EEEEEE;
}
div.bottomFooter > div > img{
  filter:grayscale(1);
  opacity: 0.5;
  width: 140px;
}
div.bottomFooter > div:nth-child(2){
  display: flex;
  flex-direction: column;
  gap:5px;
  justify-content: flex-start;
  padding: 0 30px 8px 0;
}
div.bottomFooter > div:nth-child(2) > div:nth-child(1){
  font-size:13px;
  font-weight: 500;
  color:#666666;
}
div.bottomFooter > div:nth-child(2) > div:nth-child(2){
  font-size:11px;
  color:#666666;
}



/* 1440px: 너비만 조정, 좌우 나란히 유지 */
@media all and (max-width: 1440px) {
  div.topHeaderInner {
    width: 90%;
  }
  div.middleContent > div.vodWrap {
    width: 92% !important;
  }
}

/* 1200px: 헤더 버튼 크기 축소 */
@media all and (max-width: 1200px) {
  .banner_dj_council, .banner_dj_district {
    width: 110px;
    min-width: 110px;
    font-size: 16px;
  }
}

/* 900px 이하: 세로 스택 전환 */
@media all and (max-width: 900px) {
  div.topHeaderInner {
    width: 90%;
  }
  div.middleContent {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  div.middleContent > div.vodWrap {
    width: 100% !important;
    flex-direction: column;
    border-radius: 0;
  }
  div.middleContent > div.vodWrap > div.vodWrapInnerRight {
    width: 100%;
    min-width: 0;
    height: auto;
    max-height: 300px;
    padding: 20px;
  }
}

/* 768px 이하: 헤더 조정 */
@media all and (max-width: 768px) {
  div.topHeader {
    height: auto;
    min-height: 70px;
    padding: 10px 5%;
    box-sizing: border-box;
  }
  div.topHeaderInner {
    width: 100%;
    height: auto;
    gap: 8px;
  }
  div.topHeaderInner > h1 {
    width: auto;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    background-size: contain;
    margin-right: 0;
    flex-shrink: 0;
  }
  .banner_dj_council, .banner_dj_district {
    width: 90px;
    min-width: 90px;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
  }
  .menu_vod {
    font-size: 18px;
    margin-left: 15px;
  }
  div.middleContent > div.vodWrap > div.vodWrapInnerLeft {
    padding: 15px;
  }
  div.middleContent > div.vodWrap > div.vodWrapInnerLeft > div.vodWrapInnerLeftHeader {
    flex-wrap: wrap;
    white-space: normal;
  }
  div.middleContent > div.vodWrap > div.vodWrapInnerLeft > div.vodWrapInnerLeftHeader > span.todayMsg {
    font-size: 16px;
  }
}

/* 600px 이하: 모바일 */
@media all and (max-width: 600px) {
  div.topHeader {
    padding: 8px 3%;
  }
  div.topHeaderInner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 6px 0;
  }
  div.topHeaderInner > h1 {
    width: 100%;
    background-position: center;
    height: 40px;
    min-height: 40px;
  }
  .banner_dj_council, .banner_dj_district {
    flex: 1;
    width: auto;
    min-width: 0;
    font-size: 14px;
    height: 38px;
    line-height: 38px;
    text-align: center;
  }
  .menu_vod {
    display: none;
  }
  div.middleContent {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  div.middleContent > div.vodWrap > div.vodWrapInnerRight {
    max-height: 250px;
    padding: 15px;
  }
  div.middleContent > div.vodWrap > div.vodWrapInnerRight > div.vodWrapInnerRightScrollView > div.liveItem > div.listTitle {
    font-size: 16px;
  }
  div.bottomFooter {
    height: auto;
    min-height: auto;
    padding: 15px 5%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  div.bottomFooter > div {
    border-right: none;
  }
  div.bottomFooter > div:nth-child(2) {
    padding: 0;
  }
  div.bottomFooter > div:nth-child(2) > div:nth-child(2) {
    word-break: keep-all;
    line-height: 1.6;
  }
}
