/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: GeneratePress 자식 테마
Author: Your Name
Template: generatepress
Version: 1.0.0
*/

/* 작성자/날짜 숨기기 */
.byline, .entry-meta, .posted-on {
  display: none;
}

/* 이미지를 왼쪽에 float */
.home article img,
.archive article img {
    float: left !important;
    width: 280px !important;
    height: 187px !important;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 20px 20px 0 !important;
}

/* article clearfix */
.home article::after,
.archive article::after {
    content: "";
    display: table;
    clear: both;
}

/* article 간격 */
.home article,
.archive article {
    margin-bottom: 40px;
}

/* 제목 */
.home .entry-title,
.archive .entry-title {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

/* 모바일 */
@media (max-width: 768px) {
    .home article img,
    .archive article img {
        float: none !important;
        width: 100% !important;
        height: 200px !important;
        margin: 0 0 20px 0 !important;
    }
}

/* 단일 글 페이지 썸네일 숨기기 */
.single article > img {
    display: none;
}

/* 단일 글 페이지 가독성 개선 */
/* 제목 크기 조정 */
.single .entry-title {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* 본문 폰트 크기 및 행간 조정 */
.single .entry-content {
    font-size: 16px;
    line-height: 1.7;
}

/* 본문 내 문단 간격 */
.single .entry-content p {
    margin-bottom: 1.5em;
}

/* 본문 내 제목 스타일 */
.single .entry-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.single .entry-content h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .single .entry-title {
        font-size: 1.5rem;
    }

    .single .entry-content {
        font-size: 15px;
    }
}

/* 공유 버튼 스타일 */
.dailymovie-share-buttons {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 2px solid #e0e0e0;
}

.dailymovie-share-buttons .share-title {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2em;
}

.share-buttons-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.share-btn:active {
    transform: translateY(0);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

/* 카카오톡 버튼 */
.kakao-btn {
    background-color: #FEE500;
    color: #000000;
}

.kakao-btn:hover {
    background-color: #FDDC00;
}

/* Threads 버튼 */
.threads-btn {
    background-color: #000000;
}

.threads-btn:hover {
    background-color: #1a1a1a;
}

/* 트위터 (X) 버튼 */
.twitter-btn {
    background-color: #000000;
}

.twitter-btn:hover {
    background-color: #1a1a1a;
}

/* 페이스북 버튼 */
.facebook-btn {
    background-color: #1877F2;
}

.facebook-btn:hover {
    background-color: #0d63d6;
}

/* ChatGPT 버튼 */
.chatgpt-btn {
    background-color: #10A37F;
}

.chatgpt-btn:hover {
    background-color: #0d8a6a;
}

/* URL 복사 버튼 */
.url-btn {
    background-color: #6c757d;
}

.url-btn:hover {
    background-color: #5a6268;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .dailymovie-share-buttons {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }

    .share-buttons-container {
        gap: 8px;
    }

    .share-btn {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        padding: 10px 14px;
        font-size: 13px;
    }

    .share-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .share-btn {
        padding: 8px 10px;
        font-size: 12px;
        gap: 6px;
    }

    .share-btn span {
        font-size: 11px;
    }

    .share-btn svg {
        width: 16px;
        height: 16px;
    }
}
