@charset "utf-8";

/* 원본 커피샵 UI CSS */
.section01 { width: 100%; }
.section01 h2 { max-width: 560px; overflow: hidden; font-size: 36px; color: #000; font-weight: 200; letter-spacing: -1px; word-break: keep-all; padding-left: 5px; }
.section01 .point { color: #2253b8; display: inline-block; }
.section01 p { display: block; padding: 20px 20px 35px 0px; color: #555; font-size: 17px; line-height: 1.6; max-width: 650px; word-break: keep-all; padding-left: 5px; }
.section01 { padding: 110px 0; }
.section01 .btn_area { margin-top: 40px; }
.section01 .drag_slider { position: relative; }
.section01 .drag_slider .swiper-slide { opacity: 0.3; transition: opacity 0.4s ease-in-out; }
.section01 .drag_slider .swiper-slide .img_box { overflow: hidden; border-radius: 20px; display: block; text-decoration: none; }
.section01 .drag_slider .swiper-slide .img_box img { transition: transform 0.6s ease-in-out; width: 100%; height: 250px; object-fit: cover; }
.section01 .drag_slider .swiper-slide:hover .img_box img { transform: scale(1.1); }
.section01 .drag_slider .swiper-slide-active,
.section01 .drag_slider .swiper-slide-next { opacity: 1; }
.section01 .drag_slider .swiper-slide-next + .swiper-slide { opacity: 1; }
.section01 .drag_slider .txt_box { padding: 20px 0px 0px 0px; }
.section01 .drag_slider .txt_box h2 { display: block; font-size: 22px; line-height: 1.6; color: #000; font-weight: 500; letter-spacing: 0; }
.section01 .drag_slider .txt_box h2 a { color: #000; text-decoration: none; }
.section01 .drag_slider .txt_box h2 a:hover { color: #2253b8; }
.section01 .drag_slider .txt_box p { color: #555; padding: 0 0 20px 5px; font-size: 17px; line-height: 1.6; word-break: keep-all; }
.section01 .drag_slider .swiper-prev { top: auto; bottom: 0; left: -78px; transform: translateY(50%); outline: none; color: #333; position: absolute; cursor: pointer}
.section01 .drag_slider .swiper-next { top: auto; bottom: 0; right: -78px; transform: translateY(50%); outline: none; color: #333; position: absolute; cursor: pointer}
.swiper-button-next:after, .swiper-container-rtl .swiper-button-prev:after { display: none; }
.swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after { display: none; }
.section01 .drag_slider .swiper-scrollbar { margin-top: 67px; display: block; position: static; width: 100%; max-width: 1400px; height: 2px; background-color: #dcdcdc; }
.section01 .drag_slider .swiper-scrollbar-drag { margin-top: -1px; height: 2px; background-color: #000; }

.section01 .drag_slider .swiper-slide .img_box { 
    overflow: hidden; 
    border-radius: 20px; 
    display: block;           /* 추가 */
    text-decoration: none;    /* 추가 */
}

/* 게시글 메타 정보 스타일 추가 */
.section01 .drag_slider .txt_box .post_meta { 
    margin-top: 15px; 
    padding-top: 10px; 
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.section01 .drag_slider .txt_box .post_secret {
    display: inline-block;
    line-height: 14px;
    width: 16px;
    font-size: 12px;
    color: #4f818c;
    background: #cbe3e8;
    text-align: center;
    border-radius: 2px;
    border: 1px solid #cbe3e8;
    vertical-align: middle;
    padding: 2px;
}

.section01 .drag_slider .txt_box .new_icon {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 12px;
    color: #23db79;
    background: #b9ffda;
    text-align: center;
    border-radius: 2px;
    margin-left: 2px;
    font-weight: bold;
    vertical-align: middle;
}

.section01 .drag_slider .txt_box .hot_icon {
    display: inline-block;
    width: 46px;
    line-height: 16px;
    font-size: 12px;
    color: #ff0000;
    background: #ffb9b9;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 10px;
    padding: 2px 4px;
}

.section01 .drag_slider .txt_box .file_icon {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 12px;
    color: #daae37;
    background: #ffefb9;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
    padding: 2px;
}

.section01 .drag_slider .txt_box .link_icon {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 12px;
    color: #b451fd;
    background: #edd3fd;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
    padding: 2px;
}

.section01 .drag_slider .txt_box .comment_count {
    background: #e9eff5;
    color: #3a8afd;
    font-size: 11px;
    height: 16px;
    line-height: 16px;
    padding: 0 5px;
    border-radius: 3px;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.section01 .drag_slider .txt_box .author_date {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 12px;
}

.section01 .drag_slider .txt_box .author_date .author {
    color: #333;
    font-weight: 500;
    margin-bottom: 2px;
}

.section01 .drag_slider .txt_box .author_date .date {
    color: #888;
}

/* 빈 게시물 상태 */
.empty_posts {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    font-size: 16px;
}

/* 네비게이션 버튼 이미지 오류 시 텍스트 표시 */
.section01 .drag_slider .swiper-button-next,
.section01 .drag_slider .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border: 1px solid #ddd;
}

.section01 .drag_slider .swiper-button-next img,
.section01 .drag_slider .swiper-button-prev img {
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 768px) {
  .section01 .drag_slider .swiper-slide-next + .swiper-slide { opacity: 1; }
  
  .section01 { padding: 60px 0; }
  
  .section01 .drag_slider .txt_box .post_meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .section01 .drag_slider .txt_box .author_date {
    margin-left: 0;
    align-items: flex-start;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .section01 h2 { font-size: 32px; }
  
  .section01 p { font-size: 15px; padding: 15px 15px 25px 0px; }
  
  .section01 .drag_slider .txt_box h2 { font-size: 18px; }
  
  .section01 .drag_slider .txt_box p { font-size: 15px; }
  
  .section01 .drag_slider .swiper-slide .img_box img { height: 200px; }
}