/* Changelog Page Styles - Blog Style */

/* Font faces */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/welcome/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/welcome/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/welcome/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/welcome/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Reset and base styles */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    background-color: #ffffff;
    color: #333;
    line-height: 1.7;
}

a {
    color: #16387D;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation Header */
.changelog-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid #eee;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.changelog-logo {
    height: 45px;
}

.changelog-nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.changelog-nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.changelog-nav-links a:hover {
    color: #16387D;
    text-decoration: none;
}

.nav-btn {
    background: #16387D;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.nav-btn:hover {
    background: #1a4494;
}

/* Page Header */
.changelog-header {
    padding: 60px 40px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.changelog-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: #333;
    margin: 0 0 10px 0;
}

.changelog-header .subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Main Container */
.changelog-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

/* Release Post */
.release-post {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.release-post:first-child {
    border-top: none;
}

/* Left Column - Title & Date */
.release-meta {
    position: sticky;
    top: 100px;
    align-self: start;
}

.release-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.release-date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #888;
    margin: 0;
}

/* Right Column - Content */
.release-content {
    min-width: 0;
}

.release-intro {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Feature Sections */
.feature-section {
    margin-bottom: 35px;
}

.feature-section:last-child {
    margin-bottom: 0;
}

.feature-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #333;
    margin: 0 0 12px 0;
}

.feature-description {
    font-size: 15px;
    color: #555;
    margin: 0 0 15px 0;
    line-height: 1.8;
}

.feature-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #16387D;
    font-weight: bold;
}

.feature-list li strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333;
}

/* Footer */
.changelog-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 14px;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 80px 20px;
    color: #888;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #16387D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 900px) {
    .changelog-nav {
        padding: 15px 20px;
    }

    .changelog-nav-links {
        gap: 20px;
    }

    .changelog-header {
        padding: 40px 20px 30px;
    }

    .changelog-header h1 {
        font-size: 32px;
    }

    .changelog-container {
        padding: 0 20px 40px;
    }

    .release-post {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .release-meta {
        position: static;
    }

    .release-title {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .changelog-nav {
        flex-direction: column;
        gap: 15px;
    }

    .changelog-nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .changelog-header h1 {
        font-size: 28px;
    }

    .changelog-header .subtitle {
        font-size: 16px;
    }

    .release-title {
        font-size: 20px;
    }

    .feature-title {
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .changelog-nav {
        display: none;
    }

    .release-post {
        page-break-inside: avoid;
    }
}
