/* News post page specific styles */

.post-header {
    padding: 8rem 2rem 2rem;
    background: var(--off-white);
    text-align: center;
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-header time {
    color: var(--gray-accessible);
    font-size: 1rem;
}

.post-content {
    padding: 3rem 2rem 5rem;
}

.post-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.post-container h1,
.post-container h2,
.post-container h3 {
    color: var(--dark-gray);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-container h1:first-child {
    margin-top: 0;
}

.post-container p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.post-container a {
    color: var(--primary-blue);
}

.post-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-container ul,
.post-container ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--dark-gray);
}

.post-container li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}
