/* Shared structure for every blog: a classic WordPress blog layout.
   Themes set the variables below and add their own rules. */
:root {
  --page-width: 960px;
  --sidebar-width: 260px;
  --gap: 32px;
  --bg: #e7e7e7;
  --page-bg: #fff;
  --text: #333;
  --muted: #777;
  --link: #06c;
  --link-hover: #147;
  --accent: #06c;
  --header-bg: #73a0c5;
  --header-text: #fff;
  --nav-bg: #333;
  --nav-text: #fff;
  --nav-hover: #555;
  --border: #ddd;
  --footer-bg: #eee;
  --footer-text: #777;
  --body-font: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
  --heading-font: "Trebuchet MS", "Lucida Grande", Verdana, Arial, sans-serif;
  --base-size: 15px;
  --radius: 0;
  --comment-bg: #f8f8f8;
  --comment-alt-bg: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: var(--base-size)/1.6 var(--body-font);
}
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { color: var(--link-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--heading-font); line-height: 1.3; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#page {
  max-width: var(--page-width); margin: 0 auto; background: var(--page-bg);
  border-radius: var(--radius); overflow: hidden;
}
#header { background: var(--header-bg); color: var(--header-text); padding: 48px 32px; }
#site-title { margin: 0; font: bold 2.2em/1.2 var(--heading-font); }
#site-title a { color: var(--header-text); }
#site-title a:hover { text-decoration: none; opacity: .9; }
#header .description { margin: 6px 0 0; font-size: 1.05em; opacity: .9; }

#nav { background: var(--nav-bg); }
#nav .menu { list-style: none; margin: 0; padding: 0 16px; display: flex; flex-wrap: wrap; }
#nav .menu a { display: block; padding: 10px 14px; color: var(--nav-text); }
#nav .menu a:hover, #nav .current_page_item a { background: var(--nav-hover); text-decoration: none; }

#wrapper { display: flex; gap: var(--gap); padding: 24px 32px; align-items: flex-start; }
#content { flex: 1 1 auto; min-width: 0; }
#sidebar { flex: 0 0 var(--sidebar-width); font-size: .92em; }
#sidebar > ul, #sidebar ul ul { list-style: none; margin: 0; padding: 0; }
#sidebar .widget { margin-bottom: 26px; }
#sidebar .widgettitle { font-size: 1.1em; margin: 0 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
#sidebar ul ul li { padding: 3px 0; }
#searchform { display: flex; gap: 6px; }
#searchform input[type=search] { flex: 1; min-width: 0; padding: 5px 7px; border: 1px solid var(--border); font: inherit; }
#searchform input[type=submit] { padding: 5px 10px; font: inherit; cursor: pointer; }
.tagcloud a { line-height: 1.5; }

.pagetitle { margin-top: 0; font-size: 1.3em; color: var(--muted); }
.post { margin-bottom: 40px; }
.post h2.entry-title, .post h1.entry-title { margin: 0 0 4px; font-size: 1.6em; }
.post h2.entry-title a { color: var(--text); }
.post h2.entry-title a:hover { color: var(--link); }
.byline { display: block; color: var(--muted); font-size: .85em; margin-bottom: 12px; }
.entry { overflow-wrap: anywhere; }
.entry img { display: inline-block; }
.post-thumbnail { margin: 0 0 1em; }
.post-thumbnail img { display: block; }
.entry blockquote { margin: 1em 0; padding: 4px 16px; border-left: 4px solid var(--border); color: var(--muted); }
.entry pre { overflow-x: auto; background: var(--comment-bg); padding: 12px; }
.entry table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.entry td, .entry th { border: 1px solid var(--border); padding: 4px 8px; }
.alignleft { float: left; } .alignright { float: right; } .aligncenter, .center { display: block; text-align: center; margin-left: auto; margin-right: auto; }
.entry .alignleft { margin: 4px 16px 8px 0; } .entry .alignright { margin: 4px 0 8px 16px; }
.wp-caption { max-width: 100%; text-align: center; font-size: .85em; color: var(--muted); }
.postmetadata { clear: both; color: var(--muted); font-size: .85em; border-top: 1px solid var(--border); padding-top: 8px; }
.navigation { display: flex; justify-content: space-between; gap: 16px; margin: 8px 0 24px; font-size: .9em; }
.navigation .alignleft, .navigation .alignright { float: none; }

#comments { font-size: 1.2em; margin-top: 32px; }
.commentlist, .commentlist .children { list-style: none; margin: 0; padding: 0; }
.commentlist .children { margin-left: 28px; }
.commentlist .comment-body { background: var(--comment-bg); border: 1px solid var(--border); padding: 12px 14px; margin: 0 0 12px; border-radius: var(--radius); }
.commentlist .depth-2 > .comment-body, .commentlist .depth-4 > .comment-body { background: var(--comment-alt-bg); }
.comment-author { display: flex; align-items: center; gap: 8px; }
.comment-author .fn { font-style: normal; font-weight: bold; }
.comment-author .says { color: var(--muted); font-size: .9em; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; flex: none; }
.commentmetadata { font-size: .8em; margin: 2px 0 6px 40px; }
.commentmetadata a { color: var(--muted); }
.comment-content p { margin: .5em 0; }
.nocomments { color: var(--muted); font-style: italic; }

#footer { background: var(--footer-bg); color: var(--footer-text); text-align: center; padding: 20px; font-size: .85em; clear: both; }
#footer a { color: inherit; text-decoration: underline; }

@media (max-width: 760px) {
  #page { border-radius: 0; }
  #header { padding: 28px 16px; }
  #site-title { font-size: 1.7em; }
  #nav .menu { padding: 0; }
  #wrapper { flex-direction: column; align-items: stretch; padding: 16px; }
  #sidebar { flex-basis: auto; width: 100%; }
  .commentlist .children { margin-left: 12px; }
  .entry .alignleft, .entry .alignright { float: none; display: block; margin: 8px auto; }
}

/* ---- theme ---- */
/* Azure: a 2008 "default theme" feel: grey backdrop, a framed white page,
   a rounded blue gradient header and light link-style navigation. */
:root {
  --page-width: 820px;
  --sidebar-width: 220px;
  --bg: #d5d6d7;
  --page-bg: #fff;
  --text: #333;
  --muted: #777;
  --link: #06c;
  --link-hover: #147;
  --accent: #3a6ea5;
  --header-bg: linear-gradient(180deg, #69aee7 0%, #4180b6 100%);
  --header-text: #fff;
  --nav-bg: transparent;
  --nav-text: #06c;
  --nav-hover: #eef5fb;
  --border: #e3e3e3;
  --footer-bg: #eee;
  --footer-text: #777;
  --body-font: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
  --heading-font: "Trebuchet MS", "Lucida Grande", Verdana, Arial, sans-serif;
  --base-size: 14px;
  --radius: 0;
  --comment-bg: #f8f8f8;
}
body { padding: 20px 0; }
#page { border: 1px solid #959596; }
#header { margin: 7px 7px 0; border-radius: 10px 10px 0 0; text-align: center; padding: 60px 20px; }
#site-title { font-size: 2.6em; letter-spacing: -.5px; }
#nav { margin: 0 7px; border-bottom: 1px solid var(--border); }
#nav .menu { justify-content: center; }
#nav .menu a { font-size: .95em; }
#nav .current_page_item a { font-weight: bold; }
.post h2.entry-title a { color: #333; }
.post h1.entry-title, .post h2.entry-title { font-size: 1.55em; }
#sidebar { color: #555; }
#sidebar .widgettitle { border: 0; font-size: 1.1em; color: #333; }
#sidebar ul ul li::before { content: "\00BB  "; color: #999; }
#footer { margin: 0 7px 7px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #f2f2f2, #e2e2e2); }
@media (max-width: 760px) {
  body { padding: 0; }
  #page { border: 0; }
  #header, #nav, #footer { margin-left: 0; margin-right: 0; border-radius: 0; }
  #header { padding: 36px 16px; }
}
