/*
Theme Name: Spun (restored subset)
Description: Restored homepage/layout rules for like-for-like archive rendering.
*/

html { font-size: 62.5%; overflow-y: scroll; }
body {
  background: #fff;
  color: #666;
  font-family: Baskerville, "Playfair Display", "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
}

article, aside, footer, header, nav, section { display: block; }
a { color: #333; text-decoration: none; transition: all .4s ease-in-out; }
a:hover, a:focus { color: #999; }

.site {
  margin: 0 auto;
  padding: 0 50px;
  width: 1000px;
}

.site-header {
  clear: both;
  display: block;
  min-height: 30px;
  padding: 30px 0;
  position: relative;
  width: 100%;
}
.header-wrapper {
  display: block;
  float: left;
  width: 45%;
}
.site-branding {
  color: #999;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
  vertical-align: sub;
}
.site-title {
  clear: none;
  display: inline-block;
  float: left;
  font-family: Baskerville, "Playfair Display", "Times New Roman", serif;
  font-size: 2.4rem;
  font-style: italic;
  font-weight: normal;
  line-height: 1em;
  margin: 0;
  text-transform: none;
}
.site-title a { color: #999; }
.site-description {
  clear: none;
  color: #999;
  display: none;
  font-family: Quicksand, Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  font-style: normal;
  margin: .75em 0;
  text-transform: uppercase;
}
.home .site-content > .site-description { display: block; }

.main-navigation {
  color: #999;
  display: block;
  float: right;
  font-family: Quicksand, Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  margin: 0;
  position: relative;
  text-align: right;
  text-transform: uppercase;
  width: 50%;
}
.main-navigation ul { list-style: none; margin: 0; padding-left: 0; }
.main-navigation li {
  background: #fff;
  display: inline-block;
  margin: 0 0 5px 20px;
  position: relative;
}
.main-navigation a { color: #999; display: block; text-decoration: none; }

.content-area { padding: 0; width: 100%; }
.hentry {
  float: left;
  margin: 10px;
  padding: 0;
  position: relative;
  width: 180px;
  height: 180px;
}
.blog .hentry,
.archive .hentry,
.search .hentry {
  background: transparent;
}
.blog .hentry a,
.archive .hentry a,
.search .hentry a {
  display: block;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.blog .hentry a .attachment-home-post,
.archive .hentry a .attachment-home-post,
.search .hentry a .attachment-home-post {
  border-radius: 180px;
  filter: grayscale(100%);
  opacity: .8;
  transition: all .4s ease-in-out;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.blog .hentry a:hover img,
.archive .hentry a:hover img,
.search .hentry a:hover img,
.blog .hentry a:focus img,
.archive .hentry a:focus img,
.search .hentry a:focus img {
  border-radius: 180px;
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}
.hentry .thumbnail-title {
  color: #fff;
  font-family: Baskerville, "Playfair Display", "Times New Roman", serif;
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1.1;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  text-shadow: 0 0 10px rgba(0,0,0,1);
  transition: opacity .4s ease-in-out;
  transform: translate(-50%, -50%);
  width: 90%;
  pointer-events: none;
  z-index: 20;
}
.hentry a:hover .thumbnail-title {
  opacity: 1;
}

.sidebar-link {
  background: #444;
  border-radius: 40px;
  clear: both;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 1.8rem;
  line-height: 40px;
  margin: 2em auto 0;
  text-align: center;
  width: 40px;
  height: 40px;
}

.widget-area {
  clear: both;
  display: block;
  padding: 50px 0;
}
.widget {
  font-family: Baskerville, "Playfair Display", "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 100;
  margin: 0 0 3em;
}
.widget-column { width: 23%; }
.three.widget-column { float: left; margin: 0 5%; }
.widget img, .entry-content img, .site-header img { max-width: 100%; height: auto; }

.site-footer {
  color: #333;
  clear: both;
  font-family: Quicksand, Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  padding: 100px 0 50px;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
}
.site-footer a { color: #333; }
.site-info { float: left; line-height: 40px; width: 65%; }

.site-info .raggedy-branding {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.site-info .raggedy-branding img {
  height: 24px;
  width: auto;
  vertical-align: middle;
}

.site-info .raggedy-branding .brand-fallback {
  font-weight: 600;
}

@media screen and (max-width: 1200px) {
  .site { width: 600px; }
  .site-info { line-height: 1.6; }
}

@media screen and (max-width: 800px) {
  .site { width: 400px; }
  .hentry { margin: 5px; width: 123px; height: 123px; }
  .hentry .thumbnail-title { font-size: 2.4rem; line-height: normal; width: 123px; }
  .one.widget-column,
  .two.widget-column,
  .three.widget-column,
  .site-info { clear: both; float: none; width: auto; }
}

@media screen and (max-width: 600px) {
  .site { padding: 0; width: 300px; }
  .hentry { margin: 5px; width: 140px; height: 140px; }
  .hentry .thumbnail-title { font-size: 2.4rem; line-height: normal; width: 140px; }
}
