/* News Detail Wrapper */
.news-detail-wrapper {
    background-color: #fff;
    padding: 2rem 0 3rem;
}
@media (min-width: 768px) {
    .news-detail-wrapper {
        padding: 3rem 0 4rem;
    }
}

/* Breadcrumb */
.news-detail-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}
.news-detail-breadcrumb a {
    color: #1a2b4a;
    text-decoration: none;
}
.news-detail-breadcrumb a:hover {
    text-decoration: underline;
}
.news-detail-breadcrumb .separator {
    color: #1a2b4a;
    margin: 0 0.35rem;
}
.news-detail-breadcrumb .active {
    color: #F07126;
}

/* Title */
.news-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2b4a;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
    .news-detail-title {
        font-size: 2.25rem;
    }
}

/* Meta (date) */
.news-detail-meta {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.news-detail-read-time {
    color: #66788A;
    font-style: italic;
}

/* Main Image */
.news-detail-image {
    margin-bottom: 2rem;
}
.news-detail-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

/* Content */
.news-detail-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.news-detail-content *,
.news-detail-content span,
.news-detail-content p,
.news-detail-content div {
    font-family: inherit !important;
}
.news-detail-content [style*="font-family"] {
    font-family: revert !important;
}
.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.news-detail-content p {
    margin-bottom: 1rem;
}
.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4,
.news-detail-content h5,
.news-detail-content h6 {
    color: #1a2b4a;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.news-detail-content a {
    color: #F07126;
}
.news-detail-content table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

/* Tags */
.news-detail-tags {
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 1.25rem;
}
.news-detail-tags .tags-label {
    display: block;
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 0.25rem;
}
.news-detail-tags .tags-value {
    font-size: 0.9375rem;
    color: #F07126;
}

/* Date & Share Bottom */
.news-detail-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-bottom: 2rem;
}
.news-detail-bottom .bottom-date {
    font-size: 1rem;
    color: #1a2b4a;
}
/* Share Dropdown */
.share-dropdown {
    position: relative;
}
.news-detail-bottom .bottom-share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 50px;
    background: #F07126;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.news-detail-bottom .bottom-share-btn:hover {
    background: #d9611e;
}
.share-menu {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    padding: 1.25rem;
    z-index: 20;
    min-width: 280px;
}
.share-dropdown.open .share-menu {
    display: block;
}
.share-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.share-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #1a2b4a;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.share-icon-btn:hover {
    background: #F07126;
    color: #fff;
}
.copy-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 12px;
    background: #fff5f0;
    color: #F07126;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.copy-link-btn:hover {
    background: #ffe8d9;
}

/* Related Articles */
.news-detail-related-wrapper {
    background-color: #EDF2F9;
    padding: 3rem 0 2rem;
}
.news-detail-related-wrapper .related-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2b4a;
    margin-bottom: 1.5rem;
}
@media (max-width: 767px) {
    .news-detail-related-wrapper .related-heading {
        font-size: 1.25rem;
    }
}

.related-card {
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: #fff;
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.related-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.related-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}
@media (max-width: 767px) {
    .related-card-img {
        height: 180px;
    }
}
.related-card-body {
    padding: 0.5rem 0.25rem 0.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.related-card-category {
    display: inline-block;
    font-size: 0.75rem;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.125rem 0.5rem;
    margin-bottom: 0.5rem;
    width: fit-content;
}
.related-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2b4a;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card-title a {
    color: inherit;
    text-decoration: none;
}
.related-card-date {
    font-size: 0.75rem;
    color: #888;
    margin-top: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
