/* bicingwatch theme - inspired by the original Blogger design */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  background: #CECAA5 url('/background.jpg') no-repeat fixed top center;
  background-size: cover;
}

a {
  color: #336699;
  text-decoration: none;
}

a:hover {
  color: #33aaff;
  text-decoration: underline;
}

a:visited {
  color: #6699cc;
}

/* Layout */
#outer-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

#header-wrapper {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px 20px 0 0;
  padding: 20px 30px;
  margin-bottom: 0;
}

#header h1 {
  margin: 0 0 10px 0;
  font-size: 36px;
  font-weight: normal;
}

#header h1 a {
  color: #fff;
  text-decoration: none;
}

#header h1 a:hover {
  color: #ffcc00;
}

#header .description {
  margin: 0;
  color: #ccc;
  font-size: 14px;
}

#content-wrapper {
  display: flex;
  background: rgba(255, 255, 255, 0.9);
  min-height: 500px;
}

#main-wrapper {
  flex: 1;
  padding: 20px 30px;
  border-right: 1px solid #ddd;
}

#sidebar-wrapper {
  width: 280px;
  padding: 20px;
  background: rgba(245, 245, 245, 0.9);
}

#footer-wrapper {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0 0 20px 20px;
  padding: 15px 30px;
  text-align: center;
}

#footer p {
  margin: 0;
  color: #ccc;
  font-size: 13px;
}

/* Posts */
.post {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px dashed #ccc;
}

.post:last-child {
  border-bottom: none;
}

.post-title {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: normal;
}

.post-title a {
  color: #336699;
}

.post-title a:hover {
  color: #33aaff;
}

.post-meta {
  color: #888;
  font-size: 13px;
  margin-bottom: 15px;
}

.post-meta .tags {
  margin-left: 15px;
}

.post-meta .tags a {
  background: #eee;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 5px;
}

.post-summary {
  margin-bottom: 15px;
}

.post-summary p {
  margin: 0;
}

.post-thumbnail {
  float: right;
  margin: 0 0 10px 15px;
  max-width: 150px;
}

.post-thumbnail img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  padding: 3px;
  background: #fff;
}

.read-more {
  font-size: 14px;
  color: #336699;
}

.post-content {
  line-height: 1.8;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  padding: 4px;
  background: #fff;
  margin: 10px 0;
}

/* Single post navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #ccc;
  font-size: 14px;
}

.post-navigation .prev,
.post-navigation .next {
  max-width: 45%;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #ccc;
}

.pagination .prev,
.pagination .next {
  padding: 8px 15px;
  background: #336699;
  color: #fff;
  border-radius: 5px;
}

.pagination .prev:hover,
.pagination .next:hover {
  background: #33aaff;
  text-decoration: none;
}

.page-info {
  color: #888;
  font-size: 14px;
}

/* Sidebar */
.widget {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #ccc;
}

.widget:last-child {
  border-bottom: none;
}

.widget h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li {
  margin-bottom: 8px;
}

.tag-cloud a {
  display: inline-block;
  background: #eee;
  padding: 3px 10px;
  margin: 3px;
  border-radius: 3px;
  font-size: 13px;
}

.tag-cloud a:hover {
  background: #336699;
  color: #fff;
  text-decoration: none;
}

/* Archive page */
.archive-year {
  margin-bottom: 30px;
}

.archive-year h3 {
  color: #336699;
  border-bottom: 2px solid #336699;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.archive-posts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-posts li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.archive-posts li:before {
  content: "\2022";
  color: #336699;
  position: absolute;
  left: 0;
}

.archive-posts .date {
  color: #888;
  font-size: 13px;
  margin-right: 10px;
}

/* Responsive */
@media (max-width: 800px) {
  #content-wrapper {
    flex-direction: column;
  }

  #main-wrapper {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  #sidebar-wrapper {
    width: 100%;
  }

  .post-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .post-navigation .prev,
  .post-navigation .next {
    max-width: 100%;
  }
}
