@import url("basic_css.css");


.contents {
  position: relative;
  width: 100%;
  /* margin-top: 44px; */
  overflow: hidden;
}

  .middle1{
    margin-top:100px

  }

/* ===== 공통 ===== */
.contents { position: relative; width: 100%; overflow: hidden; }
.middle1 { margin-top: 100px; }

/* =========================
   Board Toolbar (최종 정리)
   ========================= */
.board-toolbar{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start; /* 기본은 왼쪽 정렬 */
  gap:12px;
  margin:10px 0 20px 0;
  flex-wrap:nowrap;           /* PC 한 줄 유지 */
}
.result-count{
  font-size:16px;
  color:#333;
  letter-spacing:-0.5px;
  font-weight:700;
}
/* 폼 */
.rows-form,
.search-form{
  display:flex;
  align-items:center;
  gap:8px;
}
/* 라인수부터 우측으로 붙이고, 검색은 그 옆에 붙는다 */
.rows-form{ margin-left:auto; }

/* 컨트롤 공통 규격 */
.rows-form select,
.search-form select,
.search-form input[type="text"],
.search-form .search_btn{
  height:32px;
  line-height:32px;
  border:1px solid #cbcbcb;
  font-size:13px;
  font-weight:500;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}
.rows-form select,
.search-form select,
.search-form input[type="text"]{
  padding:0 10px;
  background:#fff;
  color:#333;
}
.search-form .search_btn{
  padding:0 16px;
  cursor:pointer;
  border-radius:3px;
  transition:background .2s ease;
  background:gray;
  color:#fff;
}
.search-form .search_btn:hover{ background:#555; }

/* =========================
   List
   ========================= */
.list-wrap{ width:100%; margin-top:10px; letter-spacing:-1px; 
text-align: center;}
.list-header{
  display:grid;
  grid-template-columns: 5% 1fr 10% 5%;
  align-items:center;
  background:#4365BA;
  height:40px;
  color:#fff;
  font-size:0.9em;
  padding:5px 10px;
}
.list-row{
  display:grid;
  grid-template-columns: 5% 1fr 10% 5%;
  align-items:center;
  min-height:45px;
  border:1px solid #E0E0E0;
  margin:12px 0;
  padding:5px 10px;
  color:inherit;
  text-decoration:none;
  box-sizing:border-box;
}
.list-row:hover{ background:#fafafa; }
.list-row .col.title{
  padding:10px 10px 10px 20px;
  text-align:left;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  max-width:100%; display:block;
}
.list-row .col.no{ color:#666; }
.list-row .col.doc i{ font-size:14px; }

/* =========================
   Pagination
   ========================= */
.paging{
  margin-top:30px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  text-align:center;
  letter-spacing:-1px;
}
/* 이전/다음 */
.paging .btn_prev,
.paging .btn_next{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:64px; height:28px;
  font-size:14px; font-weight:600;
  color:#666666; text-decoration:none;
}
.paging .btn_prev.disabled,
.paging .btn_next.disabled{
  color:#bdbdbd; pointer-events:none;
}
/* 숫자 */
.paging .pages{ display:inline-flex; gap:6px; align-items:center; }
.paging .pages a{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:28px; height:28px;
  font-size:14px; font-weight:600;
  color:#666666; text-decoration:none; border-radius:5px;
}
.paging .pages a:hover{ color:#333333; }
.paging .pages a.active{ background:#4365BA; color:#fff; padding:4px; }
.paging .ellipsis{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:20px; height:28px; color:#999; user-select:none;
}
.bottom-actions{
  margin-top:10px;
  display:flex;
  justify-content:flex-end;
}
.bottom-actions .btn_write{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  height:28px;
  padding:0 12px;
  border:1px solid #cbcbcb;
  font-weight:bold;
  font-size:12px;
  color:#fff;
  background:gray;
  text-decoration:none;
}



/* ===== Toolbar controls: 완전 통일 (높이/정렬/여백) ===== */
.board-toolbar select,
.board-toolbar input[type="text"],
.board-toolbar button,
.board-toolbar .search_btn,
.board-toolbar .reset_btn {
  height: 32px;
  padding: 0 16px;              /* 좌우 여백 통일 */
  border: 1px solid #cbcbcb;
  border-radius: 3px;
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;          /* 수직 가운데 정렬 */
  justify-content: center;

  font-size: 13px;
  font-weight: 500;
  line-height: normal;          /* 버튼/입력 라인하이트 차이 제거 */
  background: #fff;
  color: #333;
  appearance: none;             /* 브라우저 기본 차이 최소화 */
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* 검색 버튼 – 스타일 고정 */
.board-toolbar .search_btn {
  background: gray;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
  padding-bottom: 2px;
}
.board-toolbar .search_btn:hover { background: #555; }

/* (선택) 리셋 버튼이 있다면 */
.board-toolbar .reset_btn {
  background: #fff;
  color: #333;
  cursor: pointer;
}

/* 라인수 select도 동일 규격로 고정 */
.rows-form select {
  padding: 0 16px; /* 좌우 여백을 버튼과 동일하게 */
}

/* ===== 글쓰기 버튼: 검색 버튼과 ‘완전히’ 동일 규격/디자인 ===== */
.bottom-actions .btn_write,
.board-toolbar .btn_write {     /* 상단에 둘 때도 동일하게 쓰고 싶으면 포함 */
  height: 32px;
  padding: 0 16px;
  border: 1px solid #cbcbcb;
  border-radius: 3px;
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
  font-weight: 500;
  line-height: normal;

  background: gray;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease;
}
.bottom-actions .btn_write:hover,
.board-toolbar .btn_write:hover { background: #555; }

/* ===== 정렬: 왼쪽 전체 N건 / 오른쪽 라인수+검색 한 줄 ===== */
.board-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;            /* 한 줄 유지 */
}
.rows-form { margin-left: auto; } /* 라인수를 기준으로 오른쪽으로 붙임 */

.list-row .no{
   color: #666666;
   font-size: 15px;
}

.list-row .date{
   color: #666666;
   font-size: 14px;
}

/* 전체 그리드 래퍼 */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PC/태블릿: 2개씩 */
  gap: 24px; /* 카드 사이 여백 */
  row-gap: 50px;
}

/* 카드 한 개 */
.media-card {
  display: flex;
  flex-direction: column;
}

/* 썸네일 영역 */
.media-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9; /* 필요하면 고정 비율 */
  overflow: hidden;
  background: #eee; /* 이미지 없을 때 백업색 */
}
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 텍스트 영역 */
.media-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* 제목 좌측 / 날짜 우측 */
}

.media-title {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* 두 줄 넘으면 ... */
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;                    /* 제목이 가능한 영역 차지 */
  margin-right: 10px;         /* 날짜와 간격 */
}

.media-date {
  font-size: 14px;
  color: #777;
  white-space: nowrap;        /* 날짜 줄바꿈 방지 */
}

/*
*
* ==========================================
*  데스크탑 1900 ~ , 노트북 1025 ~ 1899
* ==========================================
*
*/
@media screen and (min-width:911px) {

  /* ============================================================================================================================= */
  /* 메인화면1 - 소개 */

  .content1 {
    position: relative;
    margin-top: 75px;
    width: 100%;
    height: 200px;
    position: relative;
    /* background-image: url(../img/background/sejong.jpg); */
    /* background-size: 100% 100%; */
    /* background-image: contain; */
    /* background-repeat: no-repeat; */
    overflow: hidden;
    /* background-position: center center; */
    /* color: white; */
    background: linear-gradient(-45deg, #1d2c41, #B7C9D9, #4FA3F0, #22131a);
    background-size: 400% 400%;
    animation: AnimationName 20s ease infinite;
    -webkit-animation: AnimationName 20s ease infinite;
    -moz-animation: AnimationName 20s ease infinite;
    -o-animation: AnimationName 20s ease infinite;
    animation: AnimationName 20s ease infinite;
  }



  @-webkit-keyframes AnimationName {
    0% {
      background-position: 0% 50%
    }

    50% {
      background-position: 100% 50%
    }

    100% {
      background-position: 0% 50%
    }
  }

  @-moz-keyframes AnimationName {
    0% {
      background-position: 0% 50%
    }

    50% {
      background-position: 100% 50%
    }

    100% {
      background-position: 0% 50%
    }
  }

  @-o-keyframes AnimationName {
    0% {
      background-position: 0% 50%
    }

    50% {
      background-position: 100% 50%
    }

    100% {
      background-position: 0% 50%
    }
  }

  @keyframes AnimationName {
    0% {
      background-position: 0% 50%
    }

    50% {
      background-position: 100% 50%
    }

    100% {
      background-position: 0% 50%
    }
  }

  .content1 .where {
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 12px;
    width: 251px;
    height: 20px;
  }

  .content1_text_wrap {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    color: #fff;
  }


  .content1 span:nth-child(1) {
    display: block;
    width: 100%;
    height: 50px;
    font-size: 24px;
    float: left;
    margin-top: 30px;
    line-height: 70px;
    letter-spacing: -2px;
  }

  .content1_text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: calc(50% - 100px);
    text-align: center;
  }



  .content1 .underline_wrap {
    width: 100%;
    height: 30px;
    position: relative;
    float: left;
  }

  .content1 .underline1 {
    position: absolute;
    left: calc(50% - 10px);
    width: 20px;
    height: 1px;
    background-color: #fbd784;
    float: left;
    top: 15px;
  }

  .content1 span:nth-child(2) {
    display: block;
    width: 100%;
    height: 30px;
    font-size: 14px;
    float: left;
    line-height: 25px;
    margin-top: 30px;
    letter-spacing: -1px;
  }

  /* .s1_arrow{
	display:block; 
	position:absolute; 
	bottom: 18.4%;
	right: calc(50% - 4px);
	text-align:center; 
  }
  
  .scroll-arrow 
  {
	width:4px; 
	height:4px; 
	border-right: 3px solid white; 
	border-bottom: 3px solid white;
	transform: rotate(45deg); 
	-webkit-transform: rotate(45deg); 
	-moz-transform: rotate(45deg); 
	-o-transform: rotate(45deg);  
	-ms-transform: rotate(45deg);
	animation: arrow-wave 1s infinite; animation-direction: alternate;
  }
  
   .scroll-arrow:nth-child(1) {
	 animation-delay: 0.1s;
	}
  
   .scroll-arrow:nth-child(2) {
	 margin-top:6px; 
	 animation-delay: 0.2s;
	}
  
   .scroll-arrow:nth-child(3) {
	 margin-top:6px; 
	 animation-delay: 0.3s;
	}
  
   @keyframes arrow-wave {
   0% {opacity: 0;}
   50% {opacity: .5;}
   100% {opacity: 1;}
   }
  
   @keyframes arrow_down{
   0%{top:50px;}
   50%{top:30px;}
   100%{top:50px;}
   }

/* ============================================================================================================================= */
  /* 메인화면2 */

  .content2{
    position: static;
    width: 100%;
    height: 50px;
    z-index: 13;
  background: white;
  /* transition: all 0.5s; */
  box-sizing: border-box;
  border-bottom: 1px solid rgba(128, 128, 128, 0.3);
  color: #4a5160;
  }
  
  .content2_active{
  position: fixed;
  top: 0px;
  z-index: 7900;
  }
  
  .content2 img{
  position: absolute;
  display: block;
  width: 180px;
  height: 40px;
  margin: 5px 0px;
  left: -220px; 
  transition: all 0.5s;
  }
  
  .menu_plus2{
  transition: all 0.5s;
    position: absolute;
    width: 50px;
    float:right;
    height: 50px;
    right: -60px;
    text-align: center;
    z-index: 11;
  cursor: pointer;
  }
  
  .menu_plus2 .i{
    position: absolute;
    color: white;
    left: 0px;
    width: 21px;
    height: 21px;
    margin: 14.5px 14.5px;
    background-repeat: no-repeat;
    background-image: cover;
  }
  
  .x_img{
  background-image: url(../image/icon/x_black.png);
  }
  
  .list_img{
  background-image: url(../image/icon/list_black.png);
  }
  
  .menu_plus2_active{
    width: 200px;
  }
  
  .content2 .text_wrap{
    width: 1000px;
    min-width: 1000px;
    max-width: 1000px;
    height: 100%;
    margin: 0 auto;
  }
  
  
  .content2 .text1{
    width: 100%;
    height: 100%;
  }
  
  .content2 .text1 ul{
  width: 100% ;
  height: 100%;
  margin: 0 auto;
  
  }
  
  .content2 .text1 li{
    display: block;
    width: calc(100% / 6);
    float: left;
    box-sizing: border-box;
    height: 50px;
    text-align: center;
  }
  
  .content2 .text1 a{
    display: block;
    color: #4a5160;
    font-size: 14px;
    position: relative;
    margin-top: 16px;
    height: 18px;
    border-right: 1px solid #4a516056;
  }
  
  .content2 .text1 li:last-child a{
  border-right: none;
  }
  
  .content2 .text1 a:hover{
  color: #0070c9;
  }
  
  .content2 li:nth-child(2) a{
    color: #0070c9;
  }
  
  .content2 li:nth-child(2) a:after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 0;
    z-index: 8000;
    width: 100%;
    height: 1px;
    background: #0070c9;
  }


  /* ============================================================================================================================= */
  /* 메인화면3 */

  .content3 {
    position: relative;
    width: 100%;
    /* height: 100vh; */
    /* min-height: 1080px; */
    overflow: hidden;
    padding-bottom: 100px;
    z-index: 12;
  }

  .container {
    width: 1000px;
    margin: 0 auto;
    height: 100%;
  }

  .content3_text {
    position: relative;
    width: 100%;
    height: 200px;
    /* background-color: aqua; */
    text-align: center;
    margin-top: 80px;
  }


  .content3 .content3_text span:nth-child(1) {
    display: block;
    width: 100%;
    height: 50px;
    /* background-color: red; */
    font-size: 30px;
    float: left;
    font-weight: 100;
  }

  .content3 .content3_text span:nth-child(3) {
    display: block;
    width: 100%;
    height: 60px;
    font-size: 15px;
    float: left;
    font-weight: 100;
    line-height: 30px;
  }

  .content3 .underline_wrap {
    width: 100%;
    height: 50px;
    position: relative;
    float: left;
  }

  .content3 .underline1 {
    position: absolute;
    left: calc(50% - 10px);
    width: 20px;
    height: 1px;
    background-color: #fbd784;
    float: left;
    top: 20px;
  }

}


/*
*
* ==========================================
*  모바일
* ==========================================
*
*/
@media screen and (min-width:0px) and (max-width:910px){
/* @media screen and (max-width:1024px) { */


  /* ============================================================================================================================= */
  /* 메인화면1 - 소개 */

  .content1 {
    position: relative;
    width: 100%;
    height: 210px;
    position: relative;
    background-image: url(../image/background/sejong.jpg);
    background-size: 100% auto;
    background-image: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    background-position: center center;
    /* color: white; */
  }

  .content1 .where {
    display: none;
  }

  .content1_text_wrap {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    color: #fff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  }


  .content1 span:nth-child(1) {
    display: block;
    width: 100%;
    height: 25px;
    font-size: 18px;
    float: left;
    margin-top: 70px;
    /* line-height: 70px; */
    letter-spacing: -2px;
    /* background-color: aqua; */
  }

  .content1_text {
    position: absolute;
    width: calc(100% - 50px);
    padding: 0px 25px;
    height: 100%;
    top: calc(50% - 100px);
    text-align: center;
  }



  .content1 .underline_wrap {
    width: 100%;
    height: 15px;
    position: relative;
    float: left;
    /* background-color: aqua; */
  }

  .content1 .underline1 {
    position: absolute;
    left: calc(50% - 5px);
    width: 10px;
    height: 1px;
    background-color: #fbd784;
    float: left;
    top: 7.5px;
  }

  .content1 span:nth-child(2) {
    display: block;
    width: 100%;
    height: 40px;
    font-size: 11px;
    float: left;
    line-height: 20px;
    margin-top: 20px;
    letter-spacing: -1px;
  }


  /* ============================================================================================================================= */
  /* 메인화면2 */

  .content2{
    position: static;
      width: 100%;
      height: 50px;
      z-index: 13;
    background: white;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    color: #4a5160;
    -ms-overflow-style: none;
    overflow-y: hidden;
  }
  
  .content2::-webkit-scrollbar{
    display:none;
  }
  
  
  .content2_active{
    display: none;
  }
  
  .content2 img{
  display: none;
  }
  
  .menu_plus2{
   display: none;
  }
  
  .menu_plus2 .i{
    display: none;
  }
  
  .x_img{
    display: none;
  }
  
  .list_img{
    display: none;
  }
  
  .menu_plus2_active{
      display: none;
  }
  
  .content2 .text_wrap{
    width: 600px;
    min-width: 600px;
    max-width: 600px;
      height: 100%;
      margin: 0 auto;
  }
  
  
  .content2 .text1{
      width: 100%;
      height: 100%;
  }
  
  .content2 .text1 ul{
    width: 100%;
    height: 100%;
    margin: 0 auto;
  
  }
  
  .content2 .text1 li{
      display: block;
      width: calc(100% / 6);
      float: left;
      box-sizing: border-box;
      height: 50px;
      text-align: center;
  }
  
  .content2 .text1 a{
    display: block;
      color: #4a5160;
      /* font-weight: bold; */
      font-size: 14px;
      position: relative;
    margin-top: 16px;
    height: 18px;
    border-right: 1px solid #4a516056;
  }
  
  .content2 .text1 li:last-child a{
    border-right: none;
  }
  
  .content2 .text1 a:hover{
    color: #0070c9;
  }
  
  .content2 li:nth-child(2) a{
      color: #0070c9;
  }
  
  .content2 li:nth-child(2) a:after {
      content: "";
      position: absolute;
      bottom: -15px;
      left: 0;
      z-index: 9000;
      width: 100%;
      height: 1px;
      background: #0070c9;
  }


  /* ============================================================================================================================= */
  /* 메인화면3 */

  .container {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .content3 {
    width: calc(100% - 50px);
    /* height: 550px; */
    overflow: hidden;
    padding: 0px 25px;
    position: relative;
    z-index: 11;
    margin-top: 0px;
    /* min-height: 1600px; */
    margin-bottom: 100px;
  }

  .content3_text {
    position: relative;
    width: 100%;
    height: 150px;
    /* background-color: aqua; */
    text-align: center;
    margin-top: 0px;
    /* margin-bottom: 50px; */
  }


  .content3 .content3_text span:nth-child(1) {
    display: block;
    width: 100%;
    height: 25px;
    /* background-color: red; */
    font-size: 18px;
    float: left;
    margin-top: 40px;
    color: black;
    font-weight: 500;
    letter-spacing: -1px;
  }

  .content3 .content3_text span:nth-child(3) {
    display: block;
    width: 100%;
    overflow: hidden;
    color: black;
    font-size: 12px;
    float: left;
    line-height: 25px;
    letter-spacing: -1px;
    margin-top: 5px;
    text-align: center;
  }

  .content3 .content3_text .underline_wrap {
    width: 100%;
    height: 15px;
    position: relative;
    float: left;
  }

  .content3 .content3_text .underline1 {
    position: absolute;
    left: calc(50% - 5px);
    width: 10px;
    height: 1px;
    background-color: #fbd784;
    float: left;
    top: 7.5px;
  }

  .middle1 {}


  .list-header{
    grid-template-columns: 10% 1fr 20% 10%;
    font-size: 14px;
    letter-spacing: -1px;
  }

  .list-row{
    grid-template-columns: 10% 1fr 20% 10%;
    font-size: 14px;
    letter-spacing: -1px;
  }

.list-row .col.title{
  padding: 10px 5px 10px 10px;
}

  .board-toolbar{
    flex-wrap: wrap;       /* 필요 시 줄바꿈 허용하지만 한줄 배치 기본 */
    align-items: center;
    gap: 8px 10px;
  }

  /* 첫 줄: 전체 N건 | 라인수설정 */
  .result-count{ order:1; flex:1 1 auto; }
  .rows-form{ order:2; margin-left:auto; }

  /* 둘째 줄: 제목 | 입력칸 | 검색버튼 (한 줄 배치) */
  .search-form{
    order:3;
    display:flex;              /* ← grid 대신 flex */
    align-items:center;
    gap:8px;
    width:100%;
    flex-wrap:nowrap;          /* 줄바꿈 방지 */
  }
  .search-form select{
    flex:0 0 auto;             /* 제목 고정 폭 */
  }
  .search-form input[type="text"]{
    flex:1 1 auto;             /* 입력칸은 가로 꽉 */
    min-width:0;               /* overflow 방지 */
  }
  .search-form .search_btn{
    flex:0 0 auto;
    padding-bottom: 2px;
  }

  .rows-form select{
    padding: 5px;
    width: 50px;
    height: 30px;
    margin-top: 1px;
    text-align: center;
  }  .search-form{
    width:100%;
    overflow:hidden;
  }

  .search-form{
    display: block;
    margin-top: 5px;
  }
  .search-group{
    width: 100%;
  }

  /* select, input, button 전부 왼쪽부터 순서대로 배치 */
  .search-form select,
  .search-form input[type="text"],
  .search-form .search_btn{
    display:block;
    float:left;
    height:32px;
    line-height:32px;
    box-sizing:border-box;
  }

  /* select 고정폭 */
  .search-form select{
    width:15%;
    padding: 0px;
    text-align: center;
    margin-right: 2%;
  }

  /* 입력칸 남은공간 전부 */
  .search-form input[type="text"]{
    width:66%; /* select(80)+button(80) 여백 포함 */
    margin:0 0 0 0;
    margin-right: 2%;
  }

  /* 검색 버튼 고정폭 */
  .search-form .search_btn{
    width:15%;
    background:gray;
    color:#fff;
    border:1px solid #cbcbcb;
    cursor:pointer;
    width:15%;
    padding: 0px;
    text-align: center;
  }

  /* float clearfix */
  .search-form::after{
    content:"";
    display:block;
    clear:both;
  }

  .list-row .no{
   color: #666666;
   font-size: 13px;
}

.list-row .date{
   color: #666666;
   font-size: 12px;
}
   .media-grid {
    grid-template-columns: 1fr;
  }

}/* 썸네일 공통 영역 */
.media-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;      /* 카드 비율 고정 */
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background-color: #000;    /* 기본 배경 (이미지 있는 경우 안 보임) */
}

/* 실제 이미지 있을 때 */
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 이미지 없을 때 (doc1 없음) */
.media-thumb.placeholder {
  background-color: #f2f2f2;
  border: 1px solid #ddd;
}

.media-thumb.placeholder::after {
  content: "NO IMAGE";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 500;
  color: #888;
  letter-spacing: -0.5px;
  line-height: 1;
  text-align: center;
}
