﻿/* 新聞詳情頁面專用樣式 */
.text-purple {
    color: #9B59B6 !important;
}

.h1-md {
    font-size: 2.5rem;
}

@@media (max-width: 768px) {
    .h1-md {
        font-size: 2rem;
    }
}

@@media (max-width: 576px) {
    .h1-md {
        font-size: 1.75rem;
    }
}

.news-header-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.news-image-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.news-description-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-title {
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.description-content {
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

.news-gallery-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.section-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

    .section-title i {
        color: #9B59B6;
    }

.masonry {
    column-count: 3;
    column-gap: 1rem;
}

@@media (max-width: 992px) {
    .masonry {
        column-count: 2;
    }
}

@@media (max-width: 576px) {
    .masonry {
        column-count: 1;
    }
}

.masonry .gallery-item {
    display: block;
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .masonry .gallery-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }

    .masonry .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
    }

.share-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
}

    .share-btn:hover {
        border-color: #9B59B6;
        color: #9B59B6;
        background: rgba(155, 89, 182, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(155, 89, 182, 0.15);
    }

    .share-btn.facebook:hover {
        border-color: #1877f2;
        color: #1877f2;
        background: rgba(24,119,242,0.05);
        box-shadow: 0 4px 12px rgba(24,119,242,0.15);
    }

    .share-btn.line:hover {
        border-color: #00c300;
        color: #00c300;
        background: rgba(0,195,0,0.05);
        box-shadow: 0 4px 12px rgba(0,195,0,0.15);
    }

/* 側邊欄樣式 */
.card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
    border: none;
}

.card-title {
    color: white !important;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .info-item:last-child {
        margin-bottom: 0;
    }

    .info-item strong {
        color: #333;
        display: block;
        margin-bottom: 0.25rem;
    }

    .info-item p {
        color: #666;
        margin: 0;
    }

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }
