/* 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; }
.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 ---- */
/* Ink: a clean 2010-era magazine look: big serif title, a wide banner,
   a black menu bar and Georgia body text. */
:root {
  --page-width: 960px;
  --sidebar-width: 240px;
  --gap: 40px;
  --bg: #f1f1f1;
  --page-bg: #fff;
  --text: #333;
  --muted: #888;
  --link: #0066cc;
  --link-hover: #ff4b33;
  --accent: #444;
  --header-bg: #fff;
  --header-text: #000;
  --nav-bg: #000;
  --nav-text: #aaa;
  --nav-hover: #333;
  --border: #e7e7e7;
  --footer-bg: #fff;
  --footer-text: #666;
  --body-font: Georgia, "Bitstream Charter", serif;
  --heading-font: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
  --base-size: 16px;
  --comment-bg: #f6f6f6;
}
body { padding: 0 0 20px; }
#page { padding: 0 20px; margin-top: 20px; }
#header { padding: 30px 0 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
#headerimg { display: contents; }
#site-title { font: bold 30px/1.2 var(--heading-font); }
#site-title a { color: #000; }
#header .description { font-style: italic; color: #666; margin: 0; font-size: .95em; }
.banner { height: 198px; border-top: 4px solid #000;
  background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(0,0,0,.1)),
              linear-gradient(100deg, #233b55 0%, #3e6b8a 35%, #c98d4d 70%, #f2c46d 100%); }
#nav { margin-bottom: 0; }
#nav .menu { padding: 0; }
#nav .menu a { color: var(--nav-text); font: 13px/1.2 var(--heading-font); padding: 13px 16px; }
#nav .menu a:hover, #nav .current_page_item a { color: #fff; }
#wrapper { padding: 30px 0; }
.post h1.entry-title, .post h2.entry-title { font-weight: bold; font-size: 1.5em; color: #000; }
.post h2.entry-title a { color: #000; }
.byline, .postmetadata { font-family: var(--heading-font); font-size: 12px; }
#sidebar { font: 13px/1.6 var(--heading-font); }
#sidebar .widgettitle { border: 0; color: #222; font-weight: bold; font-size: 14px; }
#comments { font-family: var(--heading-font); }
#footer { border-top: 4px solid #000; text-align: left; font-family: var(--heading-font); padding: 18px 0; }
@media (max-width: 760px) {
  #page { padding: 0 12px; margin-top: 0; }
  .banner { height: 110px; }
  #wrapper { padding: 16px 0; }
}
