/* =========================
   SHARE BASE (프린트 대응)
   ========================= */
@media print {
    .geo-share-wrap,
    .geo-share-box {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }
    .geo-share-actions {
        display: none !important; /* 인쇄 시 버튼은 숨김 */
    }
}

/* =========================
   TOP SHARE (상단 작은 아이콘)
   ========================= */
.geo-share-inline {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
    clear: both;
    margin-bottom: -25px; /* 제목과의 간격 추가 */
}

.geo-share-inline button {
    width: 32px; /* 크기를 조금 더 키워 터치하기 편하게 조정 */
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.geo-share-inline button:hover {
    background: #1a73e8; /* 사이트 포인트 컬러와 통일 */
    color: #fff;
    border-color: #1a73e8;
    transform: translateY(-1px);
}

/* =========================
   SHARE BOX (이미지형 공유 박스)
   ========================= */
.geo-share-box {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 12px; /* 패딩을 살짝 넓혀 여유 공간 확보 */
    margin-bottom: 35px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.geo-share-box > img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 12px;
    object-fit: cover;
}

/* 하단 레이아웃 */
.geo-share-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* 텍스트 영역 */
.geo-share-text {
    flex: 1;
    min-width: 0;
}

.geo-share-hook {
    font-size: 13px;
    color: #f39c12; /* 오렌지 포인트 */
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.geo-share-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    /* 긴 제목 처리 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 버튼 액션 영역 */
.geo-share-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.geo-share-actions button {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.geo-share-actions button:hover {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}


/* ==================================================
   MOBILE (공유 섹션 레이아웃 - 전체 가운데 정렬)
   ================================================== */
@media (max-width: 768px) {

    /* 1. 기본 리셋 (기존 동일) */
    .geo-share-wrap, .geo-share-inline, .geo-share-box, .geo-share-actions {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    /* 2. 공유 박스 */
    .geo-share-box {
        display: block !important;
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        padding: 0px !important;
        background: #fafafa !important;
        box-sizing: border-box !important;
    }

    /* 3. 하단 컨테이너 (🌟 텍스트 가운데 정렬) */
    .geo-share-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* 좌측(flex-start) -> 중앙(center)으로 변경 */
        text-align: center !important;  /* 텍스트 자체도 중앙 정렬 */
        gap: 0 !important;
        width: 100% !important;
    }




/* 4. 공유 버튼 컨테이너 (중앙 정렬 강제) */
.geo-share-actions {
    display: flex !important;
    flex-direction: row !important; /* 버튼들을 가로로 나열 */
    justify-content: center !important; /* 🌟 가로축 기준 중앙 정렬 */
    align-items: center !important;    /* 세로축 기준 중앙 정렬 */
    width: 100% !important;           /* 부모 너비를 꽉 채워야 중앙 정렬이 작동함 */
    margin: 10px 0 0 0 !important;    /* 텍스트와의 간격 (필요시 조절) */
    padding: 0 !important;
    float: none !important;           /* 혹시 모를 float 속성 제거 */
}

/* 5. 개별 버튼 스타일 및 균등 간격 */
.geo-share-actions button {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    
    /* 좌우 마진을 똑같이 8px씩 주어 정중앙 균형을 맞춤 */
    margin: 0 8px !important; 
    
    background: #f1f3f5 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    padding: 8px 15px !important;
    min-width: 80px !important; /* 버튼 크기를 일정하게 맞춰 중앙 느낌 강조 */
    border: none !important;
}

/* 상위 컨테이너(텍스트 포함) 정렬 확인 */
.geo-share-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* 텍스트도 중앙으로 */
    text-align: center !important;
    width: 100% !important;
}






    /* 상단 인라인 버튼도 중앙으로 (필요 시) */
    .geo-share-inline {
        justify-content: center !important;
        margin-bottom: 5px !important;
    }





    /* 유령선 제거 (기존 동일) */
    .geo-share-wrap::before, .geo-share-wrap::after,
    .geo-share-box::before, .geo-share-box::after,
    .geo-share-actions::before, .geo-share-actions::after {
        display: none !important;
        content: none !important;
    }
}