* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0e27;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
background-color: #1a1f3a;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-bottom: 4px solid #6b9bd1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6b9bd1;
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #6b9bd1;
}

main {
    min-height: 70vh;
}

.page-navigation {
    padding: .5rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #2a3f5f;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.nav-links a {
    color: #6b9bd1;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #8bacd6;
}

.nav-prev, .nav-next {
    flex: 1;
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-program {
    text-align: center;
    font-weight: 600;
}

.nav-spacer {
    flex: 1;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6b9bd1;
}

h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: #8bacd6;
}

h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem;
    color: #a0c0e0;
}

.observation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.program-card {
    background-color: #1a1f3a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #2a3f5f;
    border-top: 4px solid #d4af37;
    padding: 1rem;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(107, 155, 209, 0.3);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.program-card h2,
.program-card h3 {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    font-size: 1.3rem;
}

.program-card h2 a,
.program-card h3 a {
    color: #6b9bd1;
    text-decoration: none;
}

.program-card time {
    display: block;
    padding: 0 1rem;
    color: #808080;
    font-size: 0.9rem;
}

.program-card p {
    padding: 0.5rem 1rem 1rem;
    color: #b0c4de;
}

.progress-summary {
    background-color: #1a1f3a;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #6b9bd1;
}

.progress-summary p {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 15px;
    background-color: #0a0e27;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #2a3f5f;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6b9bd1, #8bacd6);
    transition: width 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: #fff;
    font-weight: bold;
}

.observed-inline-badge {
    display: inline-block;
    background-color: #d4af37;
    color: #0a0e27;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.double-star-list {
    padding-left: 0;
}

.double-star-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

.observed-date-badge {
    display: inline-block;
    background-color: #d4af37;
    color: #0a0e27;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.observed-date-badge time {
    color: #0a0e27;
    font-size: 0.95rem;
}

.observation-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.sketch-box {
    background-color: #1a1f3a;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid #d4af37;
    position: sticky;
    top: 2rem;
    align-self: start;
}

.sketch-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #6b9bd1;
}

.sketch-box img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.object-data-section {
    margin-bottom: 2rem;
}

.object-data-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #6b9bd1;
}

.content-body {
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-body h1 {
    margin-bottom: 0;
    line-height: 1.2;
}

.content-text {
    min-width: 0;
}

.content-text hr {
    margin-bottom: 1rem;
}


time {
    color: #808080;
    font-size: 0.95rem;
}

article.content header {
    margin-bottom: 2rem;
}

article.content header h1 {
    margin-bottom: 0.5rem;
}

.content ul {
    margin-left: 2rem
}

.content p {
    margin-left: 1rem;
}

.content p + p{
    margin-top: 1rem;
}

footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 2px solid #2a3f5f;
    text-align: center;
    color: #808080;
}

a {
    color: #6b9bd1;
}

a:hover {
    color: #8bacd6;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .observation-grid {
        grid-template-columns: 1fr;
    }
    
    .observation-layout {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-prev, .nav-next, .nav-program {
        text-align: center;
    }
}
