/*
Theme Name: Best UI Framework Theme
Theme URI: https://bestuiframework.com
Description: Custom theme matching the Icons8 WPF UI Framework website design
Version: 1.0
Author: Icons8
Text Domain: custom-theme
*/

@import url('https://fonts.googleapis.com/css?family=Sanchez:400');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

a {
  color: #0078d7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.c-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.c-menu {
  background: #3b3b3b;
  padding: 0;
  position: relative;
  z-index: 100;
}

.c-menu .c-container {
  display: flex;
  align-items: center;
  min-height: 50px;
}

.b-logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  margin-right: 20px;
}

.b-logo:hover {
  text-decoration: none;
  color: #fff;
}

.b-logo svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  margin-right: 8px;
}

.b-menu {
  display: flex;
  list-style: none;
  flex: 1;
  margin: 0;
  padding: 0;
}

.b-menu-item {
  margin-left: 30px;
}

.b-menu-item a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 50px;
  display: block;
}

.b-menu-item a:hover {
  color: #ddd;
  text-decoration: none;
}

.b-login-items {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.b-login-item {
  margin-left: 15px;
}

.b-login-item a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.b-login-item a:hover {
  color: #ddd;
  text-decoration: none;
}

/* Main content area */
.site-content {
  min-height: 60vh;
}

.c-page {
  padding: 0 0 2rem;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  position: relative;
}

/* Page blocks */
.b-page-block {
  text-align: left;
  padding: 2rem 0;
}

.b-page-block.m-gray {
  background-color: #fafafa;
}

.b-page-block h3 {
  font-size: 24px;
  font-weight: 400;
  color: #3b3b3b;
  margin-bottom: 1rem;
}

.b-page-block p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.b-page-block ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.b-page-block li {
  margin-bottom: 0.5rem;
}

/* Blog post styles */
.blog-posts {
  padding: 2rem 0;
}

.blog-post {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e5e5e5;
}

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

.blog-post-title {
  font-size: 24px;
  font-weight: 400;
  color: #3b3b3b;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-post-title a {
  color: #3b3b3b;
  text-decoration: none;
}

.blog-post-title a:hover {
  color: #0078d7;
}

.blog-post-meta {
  font-size: 13px;
  color: #9b9b9b;
  margin-bottom: 1rem;
}

.blog-post-meta span {
  margin-right: 15px;
}

.blog-post-thumbnail {
  margin-bottom: 1rem;
}

.blog-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.blog-post-excerpt p {
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  color: #0078d7;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  margin-top: 0.5rem;
}

.read-more:hover {
  text-decoration: underline;
}

/* Single post */
.single-post-header {
  margin-bottom: 1.5rem;
}

.single-post-title {
  font-size: 32px;
  font-weight: 400;
  color: #3b3b3b;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.single-post-meta {
  font-size: 13px;
  color: #9b9b9b;
}

.single-post-meta span {
  margin-right: 15px;
}

.single-post-content {
  font-size: 18px;
  line-height: 1.75;
  color: #4a4a4a;
}

.single-post-content p {
  margin-bottom: 1.5rem;
}

.single-post-content h2 {
  font-size: 24px;
  font-weight: 400;
  color: #3b3b3b;
  margin: 2rem 0 1rem;
}

.single-post-content h3 {
  font-size: 20px;
  font-weight: 400;
  color: #3b3b3b;
  margin: 1.5rem 0 0.75rem;
}

.single-post-content ul,
.single-post-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.single-post-content li {
  margin-bottom: 0.5rem;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

.single-post-content blockquote {
  border-left: 3px solid #0078d7;
  padding: 0.5rem 1.5rem;
  margin: 1.5rem 0;
  color: #888;
  font-style: italic;
}

.single-post-content a {
  color: #0078d7;
}

.single-post-content a:hover {
  text-decoration: underline;
}

.post-navigation {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
}

.post-navigation a {
  color: #0078d7;
  font-size: 14px;
}

/* Pagination */
.pagination {
  padding: 2rem 0;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.pagination a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: #0078d7;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 400;
}

.pagination a:hover {
  background: #005fa3;
  text-decoration: none;
}

/* Footer */
.c-footer {
  background: #4a4a4a;
  color: #888;
  font-weight: 300;
  font-size: 13px;
  line-height: 24px;
  padding: 2rem 0;
}

.c-footer a {
  color: #aaa;
  text-decoration: none;
}

.c-footer a:hover {
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0 1px hsla(0,0%,100%,.7);
}

.b-links {
  padding: 1.5rem 0;
}

.b-links .c-container {
  display: flex;
  flex-wrap: wrap;
}

.b-column {
  width: 33%;
  display: inline-block;
  vertical-align: top;
  padding: 0 0.5rem;
  margin-bottom: 1rem;
}

.b-column h4.b-title {
  color: #ccc;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.b-column p {
  margin: 0;
}

.b-column p a {
  display: inline;
}

.b-copyright {
  color: #888;
  font-size: 12px;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .c-container {
    padding: 0 1rem;
  }

  .c-menu .c-container {
    flex-wrap: wrap;
  }

  .b-menu {
    flex-wrap: wrap;
  }

  .b-menu-item {
    margin-left: 15px;
  }

  .b-login-items {
    display: none;
  }

  .b-links .c-container {
    flex-direction: column;
  }

  .b-column {
    width: 100%;
  }

  .single-post-title {
    font-size: 24px;
  }

  .blog-post-title {
    font-size: 20px;
  }
}
