/* Basic Reset & Typography */

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
.header-gradient {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
}

header h1 a {
    color: white;
    text-decoration: none;
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: 60vh;
}

/* Homepage Hero - Commented out as replaced by Jumbotron */
/*
.hero {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: -2rem -20px 2rem -20px;
}

.hero h2 { font-size: 2.5rem; margin-bottom: 1rem; }
*/

/* Article Detail */
.article-content p {
    font-size: 1.125rem; /* Slightly larger than default */
    line-height: 1.7;
    margin-bottom: 1rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 2rem;    /* More space above headings */
    margin-bottom: 1rem; /* Space below headings */
    font-weight: 600;    /* Bolder headings */
}

.article-content h1 { font-size: 2.5rem; } /* Example sizes */
.article-content h2 { font-size: 2rem; }
.article-content h3 { font-size: 1.75rem; }
/* Add more for h4, h5, h6 if needed */

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem; /* Bootstrap's default border radius for images */
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: block; /* Helps with centering if margin auto is used */
}

.article-content blockquote {
    font-size: 1.1rem;
    border-left: 4px solid #ccc;
    padding-left: 1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.article-content li {
    margin-bottom: 0.25rem;
}

/* Footer */
footer {
    background: #34495e;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* 404 Page Styles */
.not-found-container {
  /* text-align: center; /* Handled by Bootstrap's text-center class */
  margin-top: 50px; /* Or use Bootstrap spacing utilities if preferred, e.g., mt-5 */
  margin-bottom: 50px; /* Or use Bootstrap spacing utilities if preferred, e.g., mb-5 */
}

.not-found-container h1.display-1 { /* Targeting the specific h1 in 404.twig */
  font-size: 6rem; /* Larger than standard h1, as it's a display class */
  color: #333; /* Consistent with body text color */
  font-weight: 700; /* Lato bold */
}

.not-found-container h2 {
  font-size: 2rem; /* Example size */
  color: #555; /* Slightly lighter than main headings */
  margin-top: 0;
  margin-bottom: 1.5rem; /* Space before the paragraph */
}

.not-found-container p.lead { /* Targeting the specific p in 404.twig */
  font-size: 1.25rem; /* Consistent with Bootstrap's lead class */
  color: #555;
  margin-bottom: 2rem; /* Space before button */
}

/* Button is already styled by Bootstrap classes: btn btn-primary btn-lg */
/* .not-found-container .btn-home {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
}

.not-found-container .btn-home:hover {
  background-color: #0056b3;
}*/
