/*
Theme Name: FriendBurst Blog
Description: Modern approximation of the archived FriendBurst phpFox blog theme (light blue palette, two-column layout). Built for Sprint C's current-WordPress migration.
Author: FriendBurst
Version: 1.1
Text Domain: friendburst-blog
*/

:root {
	--fb-border: #E6F2FA;
	--fb-bg-soft: #F5FBFF;
	--fb-accent: #0D8AE1;
	--fb-link: #195B85;
	--fb-text: #333333;
	--fb-sidebar-bg: #F7F7F7;
}

* { box-sizing: border-box; }

body {
	font-family: "Segoe UI", Helvetica, Arial, sans-serif;
	color: var(--fb-text);
	background: #ffffff;
	margin: 0;
	line-height: 1.55;
}

a { color: var(--fb-link); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--fb-accent); }

#blog_page {
	max-width: 1000px;
	margin: 0 auto;
	padding: 16px;
}

.site-header {
	border-bottom: 3px solid var(--fb-border);
	padding-bottom: 14px;
	margin-bottom: 20px;
}
.site-header .site-title {
	font-size: 28px;
	margin: 0;
}
.site-header .site-title a { color: var(--fb-accent); }
.site-header .site-description {
	color: #666;
	margin: 4px 0 0;
}

.layout {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

#blog_content {
	flex: 1 1 640px;
	min-width: 0;
	border: 3px solid var(--fb-border);
	border-radius: 4px;
	padding: 20px;
	background: #fff;
}

#blog_sidebar {
	flex: 0 1 260px;
	min-width: 220px;
}
#blog_sidebar .widget {
	background: var(--fb-sidebar-bg);
	border: 1px solid var(--fb-border);
	border-radius: 4px;
	padding: 14px;
	margin-bottom: 16px;
}
#blog_sidebar .widget h2,
#blog_sidebar .widget-title {
	font-size: 15px;
	color: var(--fb-link);
	margin: 0 0 10px;
	border-bottom: 1px solid var(--fb-border);
	padding-bottom: 6px;
}
#blog_sidebar ul { margin: 0; padding-left: 18px; }
#blog_sidebar li { margin-bottom: 6px; }

.post {
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--fb-border);
}
.post:last-child { border-bottom: none; }

.post_title { font-size: 22px; margin: 0 0 6px; }
.post_title a { color: var(--fb-link); }

.post-meta {
	color: #777;
	font-size: 13px;
	margin-bottom: 10px;
}
.post-meta a { color: var(--fb-accent); }

.entry { font-size: 15px; }
.entry img { max-width: 100%; height: auto; }

.postmetadata {
	font-size: 13px;
	color: #666;
	margin-top: 10px;
}
.postmetadata .tags, .postmetadata .category { margin-right: 10px; }

.pagination { margin-top: 20px; text-align: center; }
.pagination a, .pagination span {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 3px;
	border: 1px solid var(--fb-border);
	border-radius: 3px;
}
.pagination .current { background: var(--fb-accent); color: #fff; }

.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list li { border-top: 1px solid var(--fb-border); padding: 14px 0; }
.comment-author { font-weight: bold; color: var(--fb-link); }
.comment-meta { font-size: 12px; color: #888; }

.comment-disabled-notice {
	background: var(--fb-bg-soft);
	border: 1px solid var(--fb-border);
	border-radius: 4px;
	padding: 12px;
	color: #555;
	font-size: 14px;
}

.site-footer {
	margin-top: 30px;
	padding-top: 14px;
	border-top: 3px solid var(--fb-border);
	color: #888;
	font-size: 13px;
	text-align: center;
}

@media (max-width: 700px) {
	.layout { flex-direction: column; }
	#blog_sidebar { flex: 1 1 auto; }
}

@media (max-width: 700px) {
	/* phone-fix-a U2 (PA-021/022): the sidebar may shrink below 220px and the search row shrinks to the screen (the Search button was
	   pushed off a 360px phone). Wide post tables already scroll sideways inside .entry. */
	#blog_sidebar { min-width: 0; }
	.wp-block-search__inside-wrapper { min-width: 0; }
	.wp-block-search__input { min-width: 0; width: 100%; }
}
