/* Utility classes */
.hidden {
    display: none !important;
}

.required {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    border-color: #4299e1;
}

.required::after {
    content: " *";
    color: #e53e3e;
}

/* Menu styles */
.menu {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.menu-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #4299e1;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.menu-link:hover {
    background: #3182ce;
}

.menu-link.active {
    background: #2b6cb0;
}

.top-menu {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    width: 100%;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.menu-container a {
    padding: 0.75rem 1.5rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.menu-container a:hover {
    background: #f7fafc;
}

.menu-container a.active {
    background: #4299e1;
    color: white;
}

/* Mobile menu styles */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #4a5568;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Post content styles */
.post-list {
    max-width: 800px;
    margin: 2rem auto;
    display: grid;
    gap: 2rem;
    padding: 0 1rem;
}

.post-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.post-card h2 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.post-card h2 a {
    color: #2d3748;
    text-decoration: none;
}

.post-card h2 a:hover {
    color: #4299e1;
}

.post-date {
    display: block;
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #4299e1;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.read-more:hover {
    background: #3182ce;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.post-content h2 {
    color: #2d3748;
    margin: 2rem 0 1rem;
    text-align: left;
}

.post-content h3 {
    color: #2d3748;
    margin: 1.5rem 0 1rem;
    text-align: left;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #4299e1;
    text-decoration: none;
}

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

.post {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Add image styles for posts */
.post img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    width: 600px;  /* Set a reasonable max width */
}

/* Post content list styles */
.post-content ul,
.post-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

/* Nested lists */
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
    margin: 0.5rem 0;
}

/* List items with multiple lines */
.post-content li p {
    margin: 0.5rem 0;
}

/* Remove the blue color from markers */
.post-content ul li::marker,
.post-content ol li::marker {
    color: inherit;
}

/* Help text styles */
.help-text {
    font-size: 0.875rem;
    color: #718096;
    margin-top: 0.25rem;
    line-height: 1.4;
}
