/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #007BFF;
    color: white;
    padding: 5px 15px; 
    text-align: center;
}

header .small-heading {
    font-size: 1.2rem; 
    margin: 0;
}

nav {
    background-color: #0056b3;
    padding: 10px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
	font-size: 13px;
}

nav a:hover {
    text-decoration: underline;
}

/* Article heading styles */
h2 {
    font-size: 1.4em;
    color: #007BFF;
    margin: 25px 0 15px 0;
    line-height: 1.2;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 5px;
}

h3 {
    font-size: 1.2em;
    color: #333;
    margin: 20px 0 10px 0;
    line-height: 1.2;
    font-weight: bold;
}

h4 {
    font-size: 1.1em;
    color: #666;
    margin: 15px 0 8px 0;
    line-height: 1;
    font-weight: bold;
}

h5 {
    font-size: 1em;
    color: #888;
    margin: 10px 0 5px 0;
    line-height: 1;
    font-weight: normal;
    font-style: italic;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input[type="text"],
form input[type="url"],
form textarea {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

form textarea {
    height: 100px;
}

form input.narrow-text {
    width: 50%; 
    padding: 5px; 
    font-size: 14px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); 
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.7rem;
	margin: 3px;
}

button:hover {
    background-color: #0056b3;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 12px;
}

table th,
table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #f4f4f4;
}

.main-container {
	display: flex;
}

.articles-container {
	flex: 3;
	padding-right: 20px;
	margin-bottom: 30px;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #ffffff;
}

.navigation-container {
	margin-top: 15px;
	margin-left: 15px;
	font-size: 16px;
	color: #333;
	width:30%;
}
.navigation-container h3 {
	margin-top: 15px;
	font-size: 16px;
	color: #333;
}
.navigation-container ul {
	list-style-type: none;
	padding: 0;
}
.navigation-container ul li {
	font-size: 14px;
	line-height: 1.8;
	margin-left: 10px;
}

.article-container {
	margin-bottom: 30px;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #ffffff;
}
.section {
	margin-left: 20px;
	padding: 10px;
}
.media-container {
	text-align: center;
	margin: 20px 0;
}
.media-container img {
	max-width: 100%;
	height: auto;
	margin-bottom: 10px;
}
.citation {
	margin-top: 20px;
	padding-top: 10px;
	border-top: 1px solid #ddd;
}
.citation-item {
	font-size: 0.8em;	
	margin-bottom: 10px;
}

.table-container, .media-container {
	margin: 20px 0;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #f7f7f7;
}

.table-container tr:first-child {
    background-color: #c8c8c8;
}

.table-container table {
	width: 100%;
	border-collapse: collapse;
}
.table-container th, .table-container td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}

.pull-quote {
	margin: 20px 0;
	padding: 10px 20px;
	border-left: 4px solid #007BFF;
	background-color: #f9f9f9;
	font-style: italic;
	font-size: 1em;
	color: #333;
}

.author-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 10px;
}

.author-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-item h4 {
    margin: 0 0 5px 0;
}

.author-item p {
    margin: 10px;
}

.quote-container {
    text-align: justify;
    font-style: italic;
    margin: 25px;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
    line-height: 1.6;
}

nav {
    margin: 20px 0;
    text-align: center;
}

nav a {
    padding: 10px 15px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 5px;
    display: inline-block;
}

nav a:hover {
    background: #0056b3;
}

.abstract-paragraph {
    font-size: 0.8em; 
    color: #333;
    background-color: inherit; 
    margin: 0 15%; 
    padding: 10px 0; 
    line-height: 1.5; 
}

/* Article Summary Styles for Homepage */
.article-abstract {
    margin: 10px 0 0 0;
    color: #555;
    line-height: 1.5;
    font-style: italic;
}

.article-summary {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #fafafa;
}

.article-summary h3 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
}

.article-summary h3 a {
    color: #007BFF;
    text-decoration: none;
}

.article-summary h3 a:hover {
    text-decoration: underline;
}

.article-meta {
    margin: 5px 0 10px 0;
    font-size: 0.85em;
    color: #666;
}

.genre {
    font-weight: bold;
    text-transform: uppercase;
}

.article-excerpt {
    margin: 10px 0 0 0;
    color: #555;
    line-height: 1.4;
}

/* Navigation Sidebar Sections */
.nav-section {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f8f9fa;
}

.nav-section h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #007BFF;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.nav-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav-section ul li {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.3;
}

.nav-section ul li a {
    color: #333;
    text-decoration: none;
}

.nav-section ul li a:hover {
    color: #007BFF;
}

.nav-date {
    display: block;
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

.nav-count {
    font-size: 10px;
    color: #666;
    margin-left: 5px;
}

.source-publisher {
    display: block;
    font-size: 10px;
    color: #888;
    font-style: italic;
}

/* Footer Content Styles */
.footer-content {
    margin-top: 30px;
    border-top: 2px solid #007BFF;
}

.mission-section {
    margin-bottom: 30px;
}

.examples-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.example-item {
    text-align: center;
    flex: 0 1 200px;
}

.example-item p {
    margin: 5px 0;
    font-weight: bold;
    font-size: 14px;
}

.example-item img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.footer-info {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    font-size: 14px;
    color: #666;
}

.relation-type {
    font-size: 10px;
    color: #888;
    font-style: italic;
    margin-left: 5px;
}
