body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f8f8f8;
    color: #333;
}

header {
    background: #4B0082;
    color: white;
    padding: 1rem;
    text-align: center;
}

nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    background: #e6e6fa;
    padding: 2rem;
    text-align: center;
}

.btn {
    display: inline-block;
    background: #4B0082;
    color: white;
    padding: 10px 20px;
    margin-top: 1rem;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background: #360061;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #4B0082;
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
}



/*article landing page css stuff*/


.page-intro {
    text-align: center;
    padding: 2rem 1rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.blog-content {
    padding: 1rem;
    flex-grow: 1;
}

.blog-content h3 {
    margin-top: 0;
}

.blog-content p {
    margin-bottom: 1rem;
}

.blog-content a {
    display: inline-block;
    color: #4B2E39;
    font-weight: bold;
    text-decoration: none;
}

.blog-content a:hover {
    text-decoration: underline;
}
/* blog layouts */
.blog-post .post-content {
    max-width: 800px;      /* limit reading width */
    margin: 2rem auto;     /* center horizontally, add vertical space */
    padding: 0 1rem;       /* small left/right padding */
    line-height: 1.6;      /* improve readability */
  }
  
  .blog-post .post-content img {
    display: block;        /* makes margin auto work */
    margin: 1rem auto;     /* center image */
    max-width: 80%;        /* shrink so it’s not full-width */
    height: auto;          /* keep proportions */
    border-radius: 8px;    /* optional rounding */
  }