/*
Theme Name: BlogomWP
Author: Blogom
Description: Klasik, iki sütunlu, mavi gökyüzü başlıklı sakin bir blog teması.
Version: 1.2.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: blogomwp
*/

:root {
	--bw-text: #333;
	--bw-muted: #777;
	--bw-link: #06c;
	--bw-link-hover: #147;
	--bw-rule: #ddd;
	--bw-page-edge: #959596;
	--bw-desk: #d5d6d7;
	--bw-sky: #3f7fc4;
	--bw-heading: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif;
	--bw-body: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	padding: 0 0 20px;
	font: 62.5%/1.5 var(--bw-body);
	color: var(--bw-text);
	background: var(--bw-desk);
}

a { color: var(--bw-link); text-decoration: none; }
a:hover { color: var(--bw-link-hover); text-decoration: underline; }
a:focus-visible { outline: 2px solid #f90; outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.screen-reader-text, .skip-link {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 10; top: 6px; left: 6px;
	padding: 8px 12px; background: #fff; color: var(--bw-link); font-size: 1.3em; border: 1px solid var(--bw-page-edge);
}

/* Page shell */
#page {
	max-width: 760px;
	margin: 20px auto 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--bw-page-edge);
	text-align: left;
}

/* Header */
#header {
	margin: 0;
	padding: 9px 9px 0;
}
.header-banner {
	position: relative;
	min-height: 192px;
	padding: 64px 20px 40px;
	border-radius: 10px;
	border: 1px solid #1f2547;
	/* Dark centre scrim keeps the white title readable over the bright paint. */
	background:
		radial-gradient(ellipse 60% 70% at 50% 50%, rgba(16, 20, 44, .62), rgba(16, 20, 44, .18) 75%, rgba(16, 20, 44, 0)),
		#2a3160 url(assets/header-graffiti.jpg) center / cover no-repeat;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
	text-align: center;
	overflow: hidden;
}
.site-title {
	margin: 0;
	font: bold 4em/1.15 var(--bw-heading);
	letter-spacing: -.01em;
	text-shadow: 0 2px 4px rgba(0, 0, 0, .7);
}
.site-title a, .site-title a:hover { color: #fff; text-decoration: none; }
.site-title a:focus-visible { outline-color: #fff; }
.site-description {
	margin: .5em 0 0;
	font-size: 1.2em;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}

/* Light nav strip under the banner: off-white paper, indigo ink, coral paint-stroke marker */
.primary-nav {
	margin: 8px 9px 0;
	padding: 0 10px;
	background: #faf9f6;
	border: 1px solid #e4e2ec;
	border-top: 2px solid #c9cbe6;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(31, 37, 71, .05);
}
.primary-nav ul {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px;
	margin: 0; padding: 0; list-style: none;
}
.primary-nav li { margin: 0; }
.primary-nav a {
	position: relative; display: block; padding: 12px 11px 13px;
	font: bold 1.05em/1.2 var(--bw-heading); letter-spacing: .09em; text-transform: uppercase;
	color: #4a5078; white-space: nowrap; border-radius: 6px;
}
.primary-nav a::after {
	content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 3px;
	border-radius: 2px 3px 2px 3px; background: #d4603f; display: none;
}
.primary-nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.primary-nav a:focus-visible { color: #1f2547; outline: 2px solid #4b55a8; outline-offset: -3px; }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: #1f2547; background: #f0eff7; }
.primary-nav .current-menu-item > a::after, .primary-nav .current-menu-ancestor > a::after { display: block; }
.primary-nav .sub-menu { display: none; }

/* Two columns */
#content-wrap { display: flex; align-items: flex-start; gap: 40px; padding: 20px 25px 10px 45px; }
.narrowcolumn { flex: 1 1 450px; min-width: 0; font-size: 1.2em; }
.widecolumn { max-width: 470px; margin: 0 auto; padding: 10px 0 20px; font-size: 1.2em; }
#sidebar { flex: 0 0 190px; font-size: 1.1em; }

h1, h2, h3 { font-family: var(--bw-heading); font-weight: bold; }

/* Posts */
.post { margin: 0 0 40px; }
.post .entry-title { margin: 30px 0 0; font-size: 1.6em; line-height: 1.3; }
.post .entry-title a { color: var(--bw-text); }
.post .entry-title a:hover { color: var(--bw-link); text-decoration: none; }
.post-date, .postmetadata { font-family: Arial, sans-serif; font-size: .9em; color: var(--bw-muted); }
.entry { line-height: 1.5; text-align: justify; }
.entry p { margin: 1em 0; }
.entry h2 { font-size: 1.4em; } .entry h3 { font-size: 1.2em; }
.entry blockquote { margin: 15px 30px 0 10px; padding-left: 20px; border-left: 5px solid var(--bw-rule); }
.entry pre { overflow-x: auto; }
.postmetadata { clear: both; margin: 1em 0 0; }
.navigation { display: flex; justify-content: space-between; margin: 0 0 30px; font-size: 1em; }
hr { border: 0; border-top: 1px solid var(--bw-rule); }

/* Sidebar */
#sidebar ul { margin: 0; padding: 0; list-style: none; }
#sidebar > ul > li { margin: 0 0 18px; }
#sidebar h2, #sidebar .wp-block-heading { margin: 5px 0 0; font-size: 1.2em; font-family: var(--bw-heading); }
#sidebar ul ul, #sidebar ol { margin: 5px 0 0 10px; padding: 0; list-style: none; }
#sidebar ul ul li, #sidebar ol li { padding-left: 12px; text-indent: -12px; line-height: 1.5; }
#sidebar ul ul li::before, #sidebar ol li::before { content: "\00BB  "; color: var(--bw-muted); }
#sidebar .wp-block-latest-comments { margin-left: 10px; }
#sidebar .wp-block-latest-comments article, #sidebar .wp-block-latest-comments footer { display: inline; }
#sidebar .wp-block-search__label { display: block; font: bold 1.1em var(--bw-heading); }
#sidebar .wp-block-search__inside-wrapper, #sidebar .search-form { display: flex; gap: 4px; margin-top: 4px; }
#sidebar input[type="search"] { flex: 1; min-width: 0; padding: 3px 4px; border: 1px solid #aaa; font: inherit; }
#sidebar button, #sidebar input[type="submit"] { padding: 2px 6px; font: inherit; }

/* Comments */
.commentlist { padding: 0; list-style: none; }
.commentlist li { margin: 15px 0 10px; padding: 5px 10px 10px; background: #f8f8f8; }
.commentlist .children { list-style: none; padding-left: 15px; }
.comment-respond textarea, .comment-respond input:not([type="submit"]):not([type="checkbox"]) { width: 100%; padding: 4px; border: 1px solid #aaa; font: inherit; }

/* Footer */
#footer {
	margin: 0 9px 9px; padding: 14px 10px; clear: both;
	background: #eee; border-radius: 0 0 8px 8px; text-align: center; color: var(--bw-muted); font-size: 1.1em;
}
#footer p { margin: 0; }
#footer ul { display: inline; margin: 0; padding: 0; list-style: none; }
#footer li { display: inline; margin: 0 6px; }

/* Responsive */
@media (max-width: 780px) {
	#page { margin: 0; border-width: 0 0 1px; }
	#header { padding: 6px 6px 0; }
	.header-banner { min-height: 0; padding: 40px 14px 34px; }
	.site-title { font-size: 3em; }
	.primary-nav { margin: 6px 6px 0; padding: 2px 4px; }
	.primary-nav ul { gap: 0; }
	.primary-nav a { padding: 10px 9px 12px; font-size: 1em; letter-spacing: .07em; }
	.primary-nav a::after { left: 9px; right: 9px; bottom: 5px; }
	#content-wrap { display: block; padding: 10px 16px; }
	.widecolumn { padding: 10px 16px 20px; }
	#sidebar { margin-top: 20px; padding-top: 10px; border-top: 1px solid var(--bw-rule); }
	.entry { text-align: left; }
	#footer { margin: 0 6px 6px; }
}
@media (max-width: 420px) {
	.site-title { font-size: 2.4em; }
}
