@charset "utf-8";
/* ============================================
   board_paper/css/view.css
   
   Requires: total_common.css, board_common.css
   Mobile-First, Breakpoint: 768px
   
   %%% MODIFIED %%%
   - Removed .container (defined in header.php)
   - Removed comment styles (in board_common.css)
   - Removed .share-popup styles (in board_common.css)
   - Kept only page-specific styles
   ============================================ */

/* ============================================
   1. POST HEADER (Mobile Default)
   ============================================ */
.post-info-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    font-weight: bold;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.board-type {
    background: #9c27b0;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: normal;
}

.board-category {
    background: #6c757d;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: normal;
}

/* ============================================
   2. POST TITLE & INFO (Mobile Default)
   ============================================ */
.title {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: #222;
}

.info {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

/* ============================================
   3. POST CONTENT (Mobile Default)
   ============================================ */
.content {
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.paper-content {
    padding: 1rem 0;
}

.paper-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* ============================================
   4. POST IMAGE (Mobile Default)
   ============================================ */
.post-img {
    max-width: 100%;
    width: auto;
    max-height: 600px;
    height: auto;
    cursor: pointer;
    display: block;
    margin: 0 auto 1rem;
    border-radius: 5px;
}

/* ============================================
   5. POST ACTIONS - Like & Share (Mobile Default)
   ============================================ */
.post-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

/* ============================================
   6. DOWNLOAD BUTTON (Mobile Default)
   ============================================ */
.download-btn {
    background: #28a745;
    margin: 0.3rem;
}

.download-btn:hover {
    background: #218838;
}

/* ============================================
   7. ATTACHMENTS (Mobile Default)
   ============================================ */
.attachments {
    margin: 1rem 0;
}

.attachments ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attachments li {
    margin-bottom: 0.3rem;
}

.attachments a {
    color: #007bff;
    text-decoration: none;
}

.attachments a:hover {
    text-decoration: underline;
}

/* ============================================
   8. MEDIA QUERY - PC (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {

    .post-info-top {
        font-size: 1rem;
        gap: 1rem;
    }

    .title {
        font-size: 1.5rem;
    }

    .info {
        font-size: 0.9rem;
    }
}