/**
 * Haber detay — TR / EN
 * Ana içerik kartı + video + diğer haberler (tek dosya, çakışma yok)
 */

.news-detail-page {
    padding-top: 0.5rem;
    padding-bottom: 3rem;
    overflow-x: hidden;
}

/* --- Ana haber kartı --- */
.news-detail-post {
    background: #fff;
    border: 1px solid rgba(11, 60, 95, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
    padding: 1.35rem 1.15rem 1.6rem;
    margin: 0 0 0.5rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .news-detail-post {
        padding: 1.75rem 1.75rem 2rem;
    }
}

.news-detail-post__title {
    font-size: 1.45rem;
    line-height: 1.3;
    margin: 0 0 1.15rem;
    color: #0f172a;
    word-wrap: break-word;
}

.news-detail-post__body {
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #334155;
    font-size: 1rem;
    line-height: 1.65;
}

.news-detail-post__body p {
    margin-bottom: 1rem;
}

.news-detail-post__body p:last-child {
    margin-bottom: 0;
}

.news-detail-post__body img {
    max-width: 100%;
    height: auto;
}

/* --- Video (16:9) --- */
.news-detail-video-shell {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #e8edf2;
    border-radius: 10px;
    margin-top: 1.35rem;
}

@media (min-width: 992px) {
    .news-detail-video-shell {
        margin-top: 1.6rem;
    }
}

.news-detail-video-shell iframe,
.news-detail-video-shell video,
.news-detail-video-shell object,
.news-detail-video-shell embed,
.news-detail-video-shell .modal-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.news-detail-video-shell * {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.news-detail-video-shell > p,
.news-detail-video-shell > div {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

/* --- Diğer haberler --- */
.news-detail-page .news-related-section {
    clear: both;
    width: 100%;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(11, 60, 95, 0.12);
    box-sizing: border-box;
}

.news-detail-page .news-related-panel--below {
    margin: 0;
    padding: 1.25rem 1rem 1.35rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(11, 60, 95, 0.08);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .news-detail-page .news-related-panel--below {
        padding: 1.35rem 1.35rem 1.5rem;
    }
}

.news-related-panel__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b3c5f;
    margin: 0 0 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0b3c5f;
    display: inline-block;
}

.news-related-row {
    align-items: stretch;
}

.news-related-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(11, 60, 95, 0.1);
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.news-related-card:hover {
    box-shadow: 0 10px 28px rgba(11, 60, 95, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.news-related-card__img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56%;
    background: linear-gradient(145deg, #e2e8f0 0%, #f1f5f9 100%);
    overflow: hidden;
    flex-shrink: 0;
}

.news-related-card__img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-related-card__body {
    padding: 0.85rem 0.95rem 0.95rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.news-related-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin: 0 0 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-related-card__excerpt {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #64748b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-related-all-wrap {
    margin-top: 1.15rem;
    text-align: center;
}

.news-related-all {
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0b3c5f;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.news-related-all:hover {
    color: #134b77;
    border-bottom-color: #134b77;
}
