/* Release Notes Page */

.rn-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 100vh;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.rn-layout {
    display: flex;
    height: 100%;
    overflow: hidden;
}

/* ── Sidebar ─────────────────────────────────────────────── */

.rn-sidebar {
    width: 210px;
    flex-shrink: 0;
    height: 100%;
    overflow-y: auto;
    padding: 24px 16px;
    background: #fff;
    border-right: 1px solid #e9ecef;
}

.rn-sidebar-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8e9aaf;
    margin: 0 0 14px 4px;
}

.rn-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rn-sidebar-item {
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
    border-left: 3px solid transparent;
    gap: 2px;
}

.rn-sidebar-item:hover {
    background: #f0f2f5;
    border-left-color: #6c757d;
    text-decoration: none;
}

.rn-sidebar-item--latest {
    border-left-color: #663fdb;
}

.rn-sidebar-item--latest:hover {
    border-left-color: #5533b8;
}

.rn-sidebar-version {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
}

.rn-sidebar-date {
    font-size: 11px;
    color: #8e9aaf;
}

.rn-sidebar-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 10px;
    background: #eae6fb;
    color: #663fdb;
    margin-top: 2px;
    width: fit-content;
}

/* ── Main content ─────────────────────────────────────────── */

.rn-content {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: 28px 40px;
    min-width: 0;
}

.rn-page-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e9ecef;
}

.rn-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 6px 0;
}

.rn-page-subtitle {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

/* ── Release block ────────────────────────────────────────── */

.rn-release-block {
    margin-bottom: 36px;
    scroll-margin-top: 24px;
}

.rn-version-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.rn-version-header-text {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.rn-version-heading {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.rn-version-date {
    font-size: 13px;
    color: #8e9aaf;
    font-weight: 400;
}

.rn-summary {
    font-size: 13px;
    color: #5a6c7d;
    line-height: 1.5;
    margin: 0 0 16px 0;
    max-width: 720px;
}

/* ── User guide PDF link ──────────────────────────────────── */

.rn-pdf-row {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    background: #f5f0ff;
    border: 1px solid #d8cdf7;
}

.rn-pdf-link {
    font-size: 12px;
    font-weight: 600;
    color: #663fdb;
    text-decoration: none;
}

.rn-pdf-link:hover {
    text-decoration: underline;
    color: #4f2fb8;
}

/* ── Sections & lists ─────────────────────────────────────── */

.rn-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rn-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid #6c757d;
    border-radius: 6px;
    padding: 14px 18px;
}

.rn-section-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    margin: 0 0 8px 0;
}

.rn-list {
    margin: 0;
    padding-left: 18px;
}

.rn-item {
    font-size: 13px;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 4px;
}

.rn-item:last-child {
    margin-bottom: 0;
}

.rn-divider {
    margin: 28px 0 0 0;
    border-color: #e9ecef;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 900px) {
    .rn-sidebar {
        display: none;
    }

    .rn-content {
        padding: 24px 20px;
        height: 100vh;
    }
}
