@charset "UTF-8";

@font-face {
    font-family: 'Aritaburi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Arita-buri-SemiBold.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
img {
    max-width: 100%;
}

#miraclelog a {
    text-decoration: none;
    color: #111;
}
#miraclelog {
    font-family: 'Pretendard';
    padding: 120px 0 150px;
}
#miraclelog .title {
    text-align: center;
    padding: 100px 0;
}
#miraclelog .title h2 {
    font-family: 'Aritaburi';
    margin: 0 0 30px 0;
    padding: 0;
    font-size: 70px;
    color: #111;
    line-height: 1;
    letter-spacing: 0.2vw;
}
#miraclelog .title h2 span {
    color: #83acc3;
}
#miraclelog .title p {
    color: #999;
    font-size: 20px;
}
#miraclelog .contents {
    width: 1520px;
    max-width: 90vw;
    margin: 0 auto;
}

#miraclelog .preview-container {
    max-width: 100%; 
    margin: 0 auto 100px;
    position: relative;
}
#miraclelog .swiper {
    width: 100%;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 8px 0;
}
#miraclelog .swiper-wrapper {
    padding-left: 0;
    margin-bottom: 0;
}
#miraclelog .swiper-slide .flex {
    display: flex;
    gap: 80px;
    align-items: center;
}
#miraclelog .left-img {
    width: 45%;
    max-width: 640px;
    flex-shrink: 0;
}
#miraclelog .left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#miraclelog .right-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}
#miraclelog .right-text h3 {
    font-size: 45px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
}
#miraclelog .right-text pre {
    font-size: 20px;
    color: #333;
    line-height: 1.5; 
    font-family: inherit;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    white-space: pre-wrap;   
    word-break: break-all;  
}
#miraclelog .right-text span {
    font-size: 18px;
    color: #999;
}
#miraclelog .preview-container .swiper-pagination {
    position: static;
    text-align: right;
    padding-top: 10px;
}
#miraclelog .preview-container .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    opacity: 1;
    margin: 0 4px !important;
}
#miraclelog .preview-container .swiper-pagination-bullet-active {
    background-color: #83acc3;
}

#miraclelog .list .list_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}
#miraclelog .list .list_top .total {
    font-size: 16px;
    color: #999;
    font-weight: 300;
    margin: 0;
}
#miraclelog .list .list_top .total b {
    color: #83acc3;
    font-weight: 600;
}
#miraclelog .btnbox {
    display: flex;
    gap: 5px;
    align-items: center;
}
#miraclelog .btnbox .button {
    display: flex;
    width: 90px;
    height: 36px;
    font-size: 16px;
    border: 1px solid #999;
    color: #999;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}
#miraclelog .btnbox .gray {
    color: #fff;
    background: #999;
}
#miraclelog .btnbox .black {
    color: #fff;
    background: #111;
	border:1px solid #111;
}

#miraclelog .list_con {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 15px;
    padding: 0;
}
#miraclelog .list_con > li {
    border: 1px solid #111;
}
#miraclelog .list_con > li .imgbox img {
    display: block;
}
#miraclelog .list_con > li .textbox {
    padding: 50px 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}
#miraclelog .list_con > li .textbox h4 {
    font-weight: 600;
    font-size: 25px;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
}
#miraclelog .list_con > li .textbox p {
    font-size: 18px;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; 
    overflow: hidden;      
}
#miraclelog .list_con > li .textbox span{
	font-size:16px;
	color:#999;
}
#miraclelog .list_bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    align-items: center;
}

#miraclelog .pagination {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
    padding: 0;
    margin: 0;
}
#miraclelog .page-item {
    display: inline-block;
}
#miraclelog .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: #333333;
    text-decoration: none;
    border: 1px solid #767676;
    border-radius: 4px;
    background-color: #ffffff;
    transition: all 0.2s ease;
}
#miraclelog .prev .page-link,
#miraclelog .next .page-link {
    min-width: 45px;
    font-size: 12px;
}
#miraclelog .page-item:not(.active):not(.disabled) .page-link:hover {
    background-color: #f5f5f5;
    border-color: #333333;
}
#miraclelog .page-item.active .page-link {
    color: #fff;
    font-weight: 600;
    background-color: #83acc3;
    border-color: #83acc3;
    cursor: default;
}
#miraclelog .page-item.disabled .page-link {
    color: #cccccc;
    border-color: #d9d9d9;
    cursor: not-allowed;
    pointer-events: none;
}

#miraclelog .search-box {
    display: flex;
    width: 100%;
    max-width: 400px;
    height: 40px;      
    border: 1px solid #767676;
    background-color: #ffffff;
}
#miraclelog .search-input {
    flex: 1;
    height: 100%;
    padding: 0 12px;
    font-family: 'Malgun Gothic', sans-serif;
    font-size: 14px;
    color: #333333;
    border: none;
    outline: none;
}
#miraclelog .search-input::placeholder {
    color: #cccccc;
}
#miraclelog .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 100%;
    background-color: #000000;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
#miraclelog .search-btn:hover {
    background-color: #222222;
}
#miraclelog .search-icon {
    width: 18px;
    height: 18px;
}
#miraclelog.logview .view{
	border-top: 2px solid #000;
	padding: 8px 0;
}
#miraclelog.logview .view .view_top img{
	width:100%;
}
#miraclelog.logview .view .title{
	padding:80px 0 30px;
	border-bottom:1px solid #999;
	text-align:left;
}
#miraclelog.logview .view .title h3{
	font-size: 45px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
	margin-bottom:20px;
}
#miraclelog.logview .view .title div{
	display:flex;
	justify-content:space-between;
	align-items:center;
}
#miraclelog.logview .view .title span {
    font-size: 18px;
    color: #ccc;
}
.share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.share-btn:hover {
	background-color: #f5f5f5;
}
.share-icon {
	display: block;
}
#miraclelog.logview .view .board{
	text-align:center;
	padding:50px 0;
	word-break: keep-all;
	word-wrap: break-word;
}
#miraclelog.logview .view .view_bottom{
	border-top: 2px solid #000;
	padding-top:20px;
	display:flex;
	justify-content:space-between;
}


#miraclelog.logwrite .write .write-container{
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
}

    #miraclelog.logwrite .form-group {
      padding:25px 0;
	  border-bottom:1px solid #ddd;
    }

    #miraclelog.logwrite .form-group label {
      display: block;
      font-size: 18px;
      font-weight: 600;
      color: #111;
      margin-bottom: 10px;
    }

    /* 썸네일 파일 업로드 레이아웃 (image_4a651a.png 구조 반영) */
    #miraclelog.logwrite .file-upload-box {
      display: flex;
      gap: 15px;
    }
    #miraclelog.logwrite .file-path-input {
      flex: 1;
      height: 50px;
      border: 1px solid #ccc;
      padding: 0 15px;
      font-size: 15px;
      background-color: #fff;
      color: #333;
      outline: none;
    }
    #miraclelog.logwrite .form-group .file-btn-label {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 160px;
      height: 50px;
      border: 1px solid #ccc;
      background-color: #fff;
      color: #999;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.2s;
    }
    #miraclelog.logwrite .file-btn-label:hover {
      background-color: #f9f9f9;
    }
    #miraclelog.logwrite .file-hidden {
      display: none; /* 실제 input file은 숨김 */
    }

    /* 제목 입력창 스타일 */
    #miraclelog.logwrite .title-input{
      width: 100%;
      height: 50px;
      border: 1px solid #ccc;
      padding: 0 15px;
      font-size: 16px;
      color: #111;
      outline: none;
    }
    #miraclelog.logwrite .title-input::placeholder,
    #miraclelog.logwrite .description-input::placeholder {
      color: #999;
    }
	
    #miraclelog.logwrite .description-input {
      width: 100%;
      height: 100px;
      border: 1px solid #ccc;
      padding: 15px;
      font-size: 16px;
      color: #111;
      outline: none;
    }

    /* 에디터 내부 툴바 및 스타일 커스텀 정돈 */
    .note-editor.note-frame {
      border: 1px solid #ccc !important;
    }
    .note-toolbar {
      background-color: #f5f5f5 !important;
      border-bottom: 1px solid #ccc !important;
    }


#miraclelog.logwrite .write_bottom{
	display:flex;
	margin-top:20px;
	justify-content:flex-end;
}








