/*
Theme Name: xhueman
Theme URI: https://www.vazounozap.com
Author: Wild Bill Hickok
Author URI: http://www.vazounozap.com
Description: Só mais um tema wordpress como tantos outros :)
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vazounozap
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
/*# sourceMappingURL=normalize.min.css.map */

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

html {
  background: rgb(246, 248, 250);
}

body {
  font-family: "Open Sans", serif;
  font-size: 14px;
  line-height: 1.5em;
  color: #666;
  font-weight: 300;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px 0px;
}

.grid {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: 1fr 300px;
  grid-template-areas:
      "header header header"
      "main main aside"
      "footer footer footer";
}

header {
  grid-area: header;
}

main {
  grid-area: main;
  padding-left: 20px;
}

aside {
  grid-area: aside;
  padding-right: 20px;
}

footer {
  grid-area: footer;
}

.visually-hidden {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
}

.header-banner {
  cursor: pointer;
  min-height: 300px;
  background-image: url('./assets/img/banner_header.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.navbar {
  position: relative;
  padding: 0 18px;
  height: 50px;
  background-color: #33363b;

    & ul {
      list-style: none;
      display: flex;
      align-items: center;

        & a {
		  line-height: 1.4;
          font-weight: 500;
          display: flex;
          color: #fff;
          text-decoration: none;
          padding: 15px 10px;
        }

        & a:hover {
          background-color: rgba(0,0,0,0.1);
        }
    }
}

.navbar-toggle {
  display: none;
  cursor: pointer;
  background-color: transparent;
  color: white;
  border: none;
}

.hamburger {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #fff;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(8px);
}

/* Estilo do hamburguer quando ativo */
.navbar-toggle.active .hamburger {
  background: transparent;
}

.navbar-toggle.active .hamburger::before {
  transform: rotate(45deg);
}

.navbar-toggle.active .hamburger::after {
  transform: rotate(-45deg);
}

.search-form {
  position: absolute;
  top: 8px;
  right: 18px;
  width: 230px;
  height: 34px;
  display: flex;
}

.search-input {
  padding: 0 10px;
  width: 100%;
  border: none;
  border-radius: 4px 0px 0px 4px;
}

.search-input:focus {
  outline: 2px solid #3b8dbd;
}

.btn-search {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  width: 50px;
  border-radius: 0px 4px 4px 0px;
}

.btn-search:hover {
  background-color: #3b8dbd;
  & svg {
    fill: #fff;
  }
}

.search-msg {
  margin-bottom: 16px;

  & p {
    font-size: 16px;
    font-weight: 500;

    & span {
      color: green;
    }

    & .not-found {
      color: red;
    }
  }
}

.grid-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.post-thumbnail {
  position: relative;
}

.post-views {
  font-weight: 500;
  line-height: 1.4;
  position: absolute;
  top: 4px;
  right: 4px;
  color: #fff;
  background-color: hsl(0deg 0% 0% / 59%);
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 1;
}

.post-thumb {
  border-radius: 6px;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.2s ease-in;
}

.post-thumb:hover {
  opacity: 0.6;
  transition: opacity 0.2s ease-in;
}

.post-title {
  display: inline-block;
  color: #444;
  font-weight: 500;
  margin: 8px 0 8px;
  font-size: 22px;
  line-height: 1.5em;
  -ms-word-wrap: break-word;
  word-wrap: break-word;

  & a {
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -moz-box-orient: vertical;
    -moz-line-clamp: 1;
    display: -moz-box;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  & a:hover {
    color: #3b8dbd;
    transition: color 0.2s ease;
  }
}

.post-thumbnail:hover ~ .post-title a {
  color: #3b8dbd;
  transition: color 0.2s ease;
}

.post-excerpt {
  color: #404040;
}

.post-single-title {
  line-height: 1;
  font-weight: 500;
  margin: 0 0 16px;
  color: #444;
}

.post-single-excerpt {
  font-weight: 400;
  color: #4e4e4e;
}

.video-player {
  display: flex;
  margin-bottom: 20px;
}

.fluid_video_wrapper {
  width: 100% !important;
  height: 400px !important;
}

.sidebar {
  width: 300px;
}

.widget-title {
  color: #444;
  font-weight: 600;
  margin-bottom: 8px;
}

.related-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.related-post-card a {
  display: block;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s ease-in;
}

.related-post-card a:hover {
  opacity: 0.6;
  transition: opacity 0.2s ease-in;
}

.related-post-thumb {
  width: 100%;
  border-radius: 4px;
}

.related-post-title {
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: #444;
}

.screen-reader-text {
  display: none;
}

.pagination {
  margin-top: 20px;
  text-align: center;

  & a, .current, .dots {
    display: inline-block;
    margin: 5px;
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    background-color: #33363b;
    border-radius: 6px;
    transition: 0.2s ease;
  }

  & a:hover {
    background-color: #3b8dbd;
    transition: 0.2s ease;
  }

  .current {
    cursor: default;
    background-color: #3b8dbd;
  }

  & .page-numbers svg {
    position: relative;
    top: 2px;
    fill: #fff;
    width: 24px;
    height: 24px;
  }

  & .next, .prev {
      position: relative;
      top: 4px;
      padding: 4px 10px !important;
  }
}

.copyrights {
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 60px;
  background-color: #33363b;
}

.page p {
  margin: 18px 0px;
}

.page ul {
  padding-left: 30px;
}

@media screen and (max-width: 768px) {
  .header-banner {
    min-height: 180px;
  }

  .navbar {
    height: auto;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
  }
    
  .navbar.active ul {
    display: flex;
    gap: 0px;
    align-items: center;
    justify-content: center;
    height: auto;
    padding-bottom: 20px;
  }
  
  .navbar-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
  }

  .grid {
    grid-template-columns: auto;
    grid-template-areas:
    "header header header"
    "main main main"
    "aside aside aside"
    "footer footer footer";
  }

  main {
    padding: 0 20px;
  }

  aside {
    padding: 0 20px;
  }

  .sidebar {
    width: 100%;
  }
}

@media screen and (max-width: 390px) {
  .grid-posts {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 375px) {
  .header-banner {
    min-height: 140px;
  }

  aside {
    padding: 0 10px;
  }
}