/* ==========================================================================
   LAYOUT & STRUCTURE
   ========================================================================== */

#page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Content wrapper - holds content and sidebar side by side */
.content-wrapper {
	display: flex;
	flex-direction: row;
	max-width: 1124px;
	margin: 0 auto;
	width: 100%;
	gap: 0;
	background-color: #fff;
}

/* Main content area */
#content {
	padding: 0;
	margin: 0;
	background-color: #fff;
}

/* When inside content-wrapper (with sidebar) */
.content-wrapper #content {
	flex: 1 1 auto;
	min-width: 0;
}

.content-wrapper #content.site-content {
	flex: 1 1 auto;
	min-width: 0;
	background-color: #fff;
    margin-right: 11px;
}

/* When sidebar is present on the right */
.content-wrapper .sidebar-right {
	flex: 0 0 300px;
	width: 300px;
	background-color: #fff;
	overflow-y: auto;
}

/* No sidebar version - full width content */
#content:not(.site-content),
#page > #content {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	padding: 2rem;
}

/* Main content area */
.site-main {
	margin: 0;
	padding: 0;
}

/* Entry items */
.post-wrapper,
.page-wrapper {
	margin-bottom: 2rem;
	padding: 0;
	background-color: #fff;
}

.post-wrapper:last-child,
.page-wrapper:last-child {
	margin-bottom: 0;
}

/* Entry Header */
.entry-header {
	margin-bottom: 1.5rem;
}

.entry-title {
	margin: 0 0 1rem 0;
	font-size: 1.75rem;
	line-height: 1.2;
	color: #333;
}

.entry-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.entry-title a:hover {
	color: #c00;
	text-decoration: none;
}

/* Entry Meta */
.entry-meta {
	font-size: 0.85rem;
	color: #999;
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.posted-on,
.byline,
.cat-links,
.tags-links,
.comments-link,
.edit-link {
	display: inline-block;
}

.posted-on a,
.byline a,
.cat-links a,
.tags-links a,
.comments-link a,
.edit-link a {
	color: #999;
	text-decoration: none;
	transition: color 0.3s ease;
}

.posted-on a:hover,
.byline a:hover,
.cat-links a:hover,
.tags-links a:hover,
.comments-link a:hover,
.edit-link a:hover {
	color: #c00;
	text-decoration: underline;
}

/* Post Thumbnail */
.post-thumbnail,
.wp-post-image {
	display: block;
	margin: 0 0 1.5rem 0;
	border-radius: 3px;
	overflow: hidden;
	line-height: 0;
}

.post-thumbnail img,
.wp-post-image {
	width: 100%;
	height: auto;
	display: block;
}

a.post-thumbnail {
	display: inline-block;
}

/* Entry Content */
.entry-content {
	margin: 0 0 1.5rem 0;
	line-height: 1.8;
}

.entry-content p {
	margin: 0 0 1rem 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.5rem 0 0.75rem 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

/* Entry Footer */
.entry-footer {
	padding-top: 1rem;
	margin-top: 1.5rem;
	font-size: 0.85rem;
	color: #999;
}

.entry-footer a {
	color: #999;
	text-decoration: none;
}

.entry-footer a:hover {
	color: #c00;
	text-decoration: underline;
}

/* Featured Post */
.featured-post .entry-title {
	color: #c00;
}

/* Sticky Post */
.sticky {
	background-color: transparent;
}

/* Archive/Search Header */
.page-header {
	padding: 1rem 0 1rem 0;
	margin-bottom: 1rem;
}

.page-title {
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 2rem;
}

.archive-description {
	margin-top: 1rem;
	color: #666;
	font-size: 0.95rem;
}

/* No Results */
.no-results {
	padding: 2rem;
	text-align: center;
	background-color: #fff;
}

.no-results .page-title {
	margin-bottom: 1rem;
}

/* Error 404 */
.error-404 {
	padding: 3rem;
	text-align: center;
}

.error-404 .page-title {
	margin-bottom: 1.5rem;
	color: #c00;
}

/* Page Content */
.page-content {
	margin: 1.5rem 0;
}

/* Page Links */
.page-links {
	margin: 2rem 0;
	text-align: center;
}

.issue_link {
    margin-right: 10px;
    margin-bottom: 7px;
    display: inline;
}

.textwidget div {
    word-wrap: break-word;
    padding: 0 !important;
}
