/**
 * Стилі сторінки перегляду новини /news/view/
 */
.news-view-wrap {
    min-height: 40vh;
    padding: 2rem 1rem 4rem;
}
.news-view-inner {
    max-width: 800px;
    margin: 0 auto;
}
.news-view-breadcrumb {
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}
.news-view-breadcrumb a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}
.news-view-breadcrumb a:hover {
    color: #764ba2;
    text-decoration: underline;
}
.news-view-breadcrumb span {
    color: #94a3b8;
    margin: 0 0.35rem;
}
.news-view-article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}
.news-view-hero {
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    min-height: 200px;
}
.news-view-hero img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}
.news-view-hero-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-size: 4rem;
}
.news-view-body {
    padding: 2.5rem 2rem 2rem;
}
@media (max-width: 576px) {
    .news-view-body {
        padding: 1.75rem 1.25rem 1.5rem;
    }
}
.news-view-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.news-view-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}
.news-view-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.news-view-meta-item i {
    color: #94a3b8;
    width: 1em;
}
.news-view-content {
    line-height: 1.75;
    font-size: 1.0625rem;
    color: #334155;
    max-width: 72ch;
}
.news-view-content h1,
.news-view-content h2,
.news-view-content h3,
.news-view-content h4 {
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}
.news-view-content h1 { font-size: 1.65rem; }
.news-view-content h2 { font-size: 1.45rem; }
.news-view-content h3 { font-size: 1.25rem; }
.news-view-content h4 { font-size: 1.1rem; }
.news-view-content p {
    margin-bottom: 1.25rem;
}
.news-view-content p:last-child {
    margin-bottom: 0;
}
.news-view-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.news-view-content ul,
.news-view-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.news-view-content li {
    margin-bottom: 0.4rem;
}
.news-view-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #64748b;
    background: rgba(102, 126, 234, 0.04);
    padding: 1rem 1.25rem 1rem;
    border-radius: 0 8px 8px 0;
}
.news-view-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}
.news-view-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}
.news-view-content code {
    background: #f1f5f9;
    padding: 0.2em 0.45em;
    border-radius: 6px;
    font-size: 0.9em;
}
.news-view-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5rem 0;
}
.news-view-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}
.news-view-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}
.news-view-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}
.news-view-back:hover {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.news-view-notfound {
    max-width: 560px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.news-view-notfound .back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #667eea;
    font-weight: 500;
}
.news-view-notfound .back-button:hover {
    color: #764ba2;
}
