/*
Theme Name: Screen Thumb 2025
Theme URI: https://screenthumb.com/
Author: Matt McDowell
Version: 2025-09-25
*/

html{scroll-behavior:smooth}
body{line-height:1}
a{text-decoration-skip-ink:auto}
a[href^="tel"]{color:inherit;text-decoration:none}
button{outline:0}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
q{display:inline;font-style:italic}
q:before{content:'"';font-style:normal}
q:after{content:'"';font-style:normal}
/*textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}*/
/*input[type="search"]{-webkit-appearance:textfield}*/
table{border-collapse:collapse;border-spacing:0}
th,td{padding:2px}
big{font-size:120%}
small,sup,sub{font-size:80%}
sup{vertical-align:super}
sub{vertical-align:sub}
dd{margin-left:20px}
kbd,tt{font-family:courier;font-size:12px}
ins{text-decoration:underline}
del,strike,s{text-decoration:line-through}
dt{font-weight:bold}
address,cite,var{font-style:italic}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}

.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

/* Fonts */

@font-face {
  font-family: 'source-sans';
  src: url('fonts/sourcesanspro-regular-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'source-sans';
  src: url('fonts/sourcesanspro-black-webfont.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'source-sans';
  src: url('fonts/sourcesanspro-blackit-webfont.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'source-sans';
  src: url('fonts/sourcesanspro-it-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}

/* Layout */

body {
  margin: 0;
  line-height: 1.4;
}

html {
  font-family: source-sans, sans-serif;
  color: #222;
  font-size: 1.4rem;
}

::selection {
  background-color: #6fcf97;
}

#wrapper {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.admin-bar #wrapper {
  min-height: calc(100vh - 32px);
}
#header,
#footer {
  min-height: 1rem;
  background: #fafafa;
}

#container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

#footer {
  padding: 1rem;
}

#copyright {
  font-size: 0.7rem;
  text-align: center;
  color: darkslategray;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Logo */

#site-title {
  background-image: url(img/screen-thumb-logo.svg);
  display: inline-block;
  margin: 0 1rem;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 250px 80px;
  width: 250px;
  height: 80px;
  flex-shrink: 0;
}

#site-title span,
#site-title h1 {
  position:absolute !important;
  height:1px;
  width:1px;
  overflow:hidden;
  clip:rect(1px 1px 1px 1px);
  clip:rect(1px, 1px, 1px, 1px);
  white-space:nowrap;
}

#branding {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Nav Menu */

#menu {
  display: flex;
  align-items: center;
  /*flex-wrap: wrap;*/
}

#menu-main {
  display: flex;
  list-style-type: none;
  padding-left: 0;
  flex-wrap: wrap;
}

#menu-main .menu-item a {
  text-transform: uppercase;
  font-weight: bold;
  /*font-size: 0.88em;*/
  letter-spacing: 0.04em;
  padding: 0.5em;
  text-decoration: none;
  color: darkslategray;
}

@media (max-width: 850px) {
  #branding,
  #menu {
    flex-direction: column;
    align-items: center;
  }
}

.search-bar__input.search-bar__input {
  margin: 1rem;
  position: relative;
  padding-left: 2em;
  background-image: url(img/search.svg);
  background-repeat: no-repeat;
  background-position: center left 0.5em;
  background-size: 1em 1em;
  font-size: 0.8em;
  width: 10em;
}
.search-wrap {
  display: flex;
}

/* Forms */

input[type="text"],
input[type="search"],
input[type="password"],
input[type="email"],
input[type="url"],
textarea {
  border: 0.2rem solid #ccc;
  background-color: #fafafa;
  padding: 0.5rem;
  border-radius: 3px;
}

label {
  cursor: pointer;
}

/* Typography */

a {
  color: #33995e;
}

h1, h2 {
  text-wrap-style: balance;
}

.entry-title a {
  text-decoration: none;
  color: darkslategray;
}

.entry-meta,
.entry-footer {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: darkslategray;
  font-style: italic;
}

.nav-links {
  display: flex;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-wrap-style: balance;
}
.nav-previous,
.nav-next {

}

/* Footer */

footer.footer {
  padding: 1rem;
  margin-top: 1rem;
  background-color: darkslategray;
  color: #fafafa;
}

.nav-links a {
  color: #fafafa;
  text-decoration: none;
  padding: 1rem;
  display: inline-block;
}

/* Archives */

.blog .post:not(:last-child) {
  border-bottom: 1px solid #ccc;
}
