/* ===================================
   NEWS DETAIL PAGE STYLES - HOTOP
   =================================== */

/* News Detail Section */
.news-detail-section {
    padding: 0 170px 80px;
    background-color: #fff;
    min-height: 100vh;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #FF1493;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb-current {
    color: #333;
    font-weight: 600;
}

/* News Detail Header */
.news-detail-header {
    margin-bottom: 50px;
    max-width: 100%;
}

.news-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 15px;
}

.news-detail-title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

/* News Dropdown */
.news-dropdown {
    position: relative;
    flex-shrink: 0;
}

.news-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    width: 240px;
    height: 50px;
    padding: 0 20px;
    background-color: #f5f6f1;
    border: none;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.news-dropdown-btn:hover {
    background-color: #E8E8E8;
}

.news-dropdown .dropdown-arrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;
    transform: rotate(-45deg);
    margin-top: -4px;
    transition: transform 0.3s ease;
}

.news-dropdown.active .dropdown-arrow {
    transform: rotate(135deg);
    margin-top: 4px;
}

.news-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 450px;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 20px 0;
}

.news-dropdown.active .news-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.news-dropdown-item {
    display: block;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: none;
}

.news-dropdown-item.first-item {
    font-size: 30px;
    border-bottom: 3px solid #033490;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.news-dropdown-item:hover {
    background-color: #F5F5F5;
    color: #000;
    padding-left: 35px;
}

.news-detail-subtitle {
    font-size: 30px;
    font-weight: 500;
    color: #000;
    margin-bottom: 60px;
}

/* News Detail Meta */
.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.news-detail-tag {
    display: inline-block;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.news-detail-date,
.news-detail-author {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
}

/* News Detail Content */
.news-detail-content {
    margin-bottom: 50px;
    line-height: 1.8;
}

.news-detail-content p {
    font-size: 30px;
    color: #000;
    margin-bottom: 20px;
    text-align: justify;
}

.news-detail-content ol {
    margin: 30px 0 30px 30px;
    font-size: 30px;
    color: #333;
    line-height: 1.8;
}

.news-detail-content li {
    margin-bottom: 12px;
    padding-left: 10px;
}

.news-detail-content li::marker {
    color: #FF1493;
    font-weight: 700;
}

/* News Detail Share */
.news-detail-share {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    max-width: 900px;
}

.share-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f5f5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn:hover {
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.share-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.share-btn:hover img {
    filter: grayscale(0%) brightness(200%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-detail-section {
        padding: 20px 0 60px;
    }

    .news-detail-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .news-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .news-dropdown {
        align-self: stretch;
    }

    .news-dropdown-btn {
        width: 100%;
    }

    .news-dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
    }

    .news-detail-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .news-detail-subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .news-detail-content p {
        font-size: 15px;
        text-align: left;
    }

    .news-detail-content ol {
        margin-left: 20px;
    }

    .news-detail-meta {
        gap: 15px;
    }

    .news-detail-header {
        margin-bottom: 40px;
    }

    .news-detail-content {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .news-detail-title {
        font-size: 28px;
    }

    .news-detail-subtitle {
        font-size: 16px;
    }

    .breadcrumbs {
        font-size: 12px;
    }

    .news-detail-content p {
        font-size: 14px;
    }

    .news-detail-tag,
    .news-detail-date {
        font-size: 14px;
    }

    .news-detail-meta {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .news-dropdown-btn {
        font-size: 18px;
        height: 45px;
        padding: 0 15px;
    }

    .news-dropdown-menu {
        padding: 15px 0;
    }

    .news-dropdown-item {
        font-size: 18px;
        padding: 12px 20px;
    }

    .news-dropdown-item.first-item {
        font-size: 24px;
    }
}
