/*
Theme Name: Autismo em Dia - Novo
Text Domain: Autismo em Dia - Novo
Version: 1.0
Description: Tema do site Autismo em Dia
Author: Agência Magdala
Author URI: https://agenciamagdala.com.br/
*/


h1 {
  font-size: 2rem;
  font-weight: 600;
  font-family: "Baloo 2", sans-serif;
  color: var(--bs-darkblue);
  margin: 0 0 1.5rem 0;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: "Baloo 2", sans-serif;
  margin: 2rem 0 1rem 0;
  color: var(--bs-darkblue);
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  font-family: "Baloo 2", sans-serif;
  margin: 2rem 0 1rem 0;
  color: var(--bs-darkblue);
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: "Baloo 2", sans-serif;
  margin: 2rem 0 1rem 0;
  color: var(--bs-darkblue);
}

h5 {
font-size: 1rem;
font-weight: 600;
font-family: "Baloo 2", sans-serif;
margin: 2rem 0 1rem 0;
color: var(--bs-darkblue);
}

p {
margin-bottom: 16px;
line-height: 1.7rem;
font-size: 1rem;
font-family: 'Baloo 2', sans-serif;
}

strong {
font-family: 'Baloo 2', sans-serif;
font-weight: 600;
}

li {
list-style-type: disc;
margin-left: 24px;
margin-bottom: 8px;
line-height: 1.5rem;
}

ul {
margin-bottom: 16px;
}

a {
color: var(--bs-blue);
text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  background: var(--bs-blue);
  color: #FFF;
  border: 0;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}

.contraste {
  color: #FFF !important;
  background: #000 !important;
}

body.contraste h1, body.contraste h2, body.contraste h3, body.contraste h4, body.contraste h5, body.contraste h6,
body.contraste p, body.contraste a, body.contraste li {
  color: #FFF !important;
}

.container {
  width: 100%;
  max-width: 1636px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
}

.btn-primary-md {
cursor: pointer;
font-family: "Baloo 2", sans-serif;
background: var(--bs-primary);
color: #FFF;
padding: 8px 16px;
border-radius: 16px;
border: 0;
box-sizing: border-box;
}

main {
width: 100%;
}

.posts-wrap-full{
width: 100%;

padding: 20px 0 130px 0;
margin: 40px 0;
}

.posts-wrap {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 32px;
  margin-top: 80px;
  
}

.post-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-width: 320px;
  word-wrap: break-word;
  box-sizing: border-box;
}

.post-preview-box {
  width: 100%;
  border-radius: 0 0 20px 20px;
  top: 230px;
  left: 64px;
  padding: 36px 20px 20px 20px;
  box-sizing: border-box;
  box-shadow: -8px 10px 15px -3px rgba(0,0,0,0.1);
}

.post-preview-title {
  font-family: "Baloo 2", sans-serif !important;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.75rem;
  padding: 0 10px;

}

.post-preview-title a {
  font-family: "Baloo 2", sans-serif !important;
  color: var(--bs-gray-700) !important;
}

.post-preview-title a {
  color: var(--bs-gray-700);
  text-decoration: none;
}

.post-preview-title a:hover {
color: var(--bs-link-color);
}

.post-preview-header {
  position: relative;
}

.post-preview-thumb img {
  width: 100%;
  height: auto;
  min-height: 340px;
  max-height: 340px;
  border-radius:30px 30px 0 0;
  object-fit: cover;
  background: var(--bs-gray-100);
}

.post-preview-excerpt {
  color: grey;
  font-family: var(--bs-font-sans-serif);
  font-size: 1rem;
}

.post-preview-date {
  position: absolute;
  bottom: -8px;
  padding: 4px 10px;

  background-color: white;
  border-radius: 0 20px 20px 0;
}

.post-preview-date small {
  color: var(--bs-gray-600);
text-transform: uppercase;
font-family: "Baloo 2", sans-serif;
font-size: .75rem;
font-weight: 600;
letter-spacing: .1rem;
}

.post-preview-category {
  border: 1px solid var(--bs-gray-600);
  padding: 0 8px;
  line-height: 20px;
  color: var(--bs-gray-600);
  text-transform: uppercase;
  font-family: "Baloo 2", sans-serif;
  font-size: .6rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 20px;
}

.post-preview-category:hover {
border: 1px solid var(--bs-pink);
color: var(--bs-pink);
}

.postmetadata {
display: flex;
flex-wrap: wrap;
gap: 6px;
max-width: 100%;
padding: 0 10px;
margin-top: 12px;
}

.post-preview-category {
white-space: nowrap;
}


.post-single-title {
  font-size: 2.25rem;
  color: #FFF;
}

.post-single-header-info {
margin-top: 16px;
display: flex;
align-items: center;
gap: 10px;
}

.post-single-header-info > time{
color: #FFF;
font-size: .75rem;
font-family: "Baloo 2", sans-serif;
text-transform: uppercase;
letter-spacing: 1px;
}

/* Estilos para o container */
.post-single-container {
  display: flex;
  margin-top: 30px;
  width: 100%;
}

.post-single-container img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin-top: 20px;
}

.sidebar-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  margin: 0;
}

.post-single-sidebar {
  box-sizing: border-box;
  width: 20%; 
  padding: 0 0 0 20px;
  margin-top: 32px;
}

.post-single-sidebar ul {
  list-style-type: none;
  padding-left: 0;
  margin: 16px 0 0 0;
}

.post-single-sidebar li {
  margin-bottom: 10px;
  list-style: none;
  margin: 0;
  font-size: .875rem;
  line-height: 1.5rem;
}

.post-single-sidebar li a {
  text-decoration: none;
  color: #0073aa;
}

.post-single-sidebar li a:hover {
  text-decoration: underline;
}

.post-single-sidebar form {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 32px;
}

.related-posts {
  background-color: var(--bs-gray-100);
  padding: 24px;
  margin-top: 40px;
}

.related-posts h3 {
  margin: 0;
}

.related-posts h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.related-posts ul {
  list-style-type: none;
  padding-left: 0;
}

.related-posts ul li {
  margin-bottom: 10px;
}

.related-posts ul li a {
  text-decoration: none;
  color: #333;
}

.related-posts ul li a:hover {
  text-decoration: underline;
}

.category-dropdown {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  margin: 0;
}

.category-dropdown label {
  display: none;
} 

.category-dropdown select {
width: 100%;
font-family: 'Baloo 2', sans-serif;
height: 40px;
padding: 8px 12px;
border: 1px solid var(--bs-gray-600);
border-radius: 40px;
}

.page-title {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
width: 100%;
height: 60px;
text-transform: uppercase;
margin-top: 48px !important;
gap: 20px;
}

.page-title-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-title h1 {
font-size: 2rem;
color: var(--bs-primary);
font-weight: 700;
margin: 0;
padding: 0;
}

.article-container {
display: flex;
justify-content: center;
margin-top: -60px;
}

.article-container aside {
display: none;
}


.wp-caption-text {
width: 100%;
text-align: right;
font-size: .75rem;
font-style: italic;
}

.wp-caption {
max-width: 100%;
display: block;
margin: 0 auto;
}

.wp-caption img {
width: 100%; 
height: auto; 
}


.pagination-buttons-container {
display: flex;
justify-content: center;

background: #FFF;
}

.pagination-buttons-container ul {
display: flex;
gap: 8px;
justify-content: center;
margin-top: 40px;
}

.pagination-buttons-container li {
list-style-type: none;
border: 1px solid #ccc;
padding: 8px;
margin: 0;
border-radius: 4px;
}

.pagination-buttons {
display: flex;
gap: 20px;
align-items: center;
}

.post-single-header {
position: relative;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
box-sizing: border-box;
width: 100vw; 
left: 50%;
margin-left: -50vw;
display: flex;
flex-direction: column;
justify-content: end;
border-radius: 0;
margin-bottom: 28px;
}

.post-single-header h1 {
font-size: 2rem;
font-weight: 600;
margin: 0;
}

.post-single-header-shadow {
width: 100%;
height: 100%;
background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
position: absolute;
z-index: 2;
opacity: .5;
border-radius: 0;
}

.post-single-header-container {
padding: 0; 
position: relative;
z-index: 2;
border-radius: 0;
}

.post-single-header-content {
padding: 120px 20px 20px 20px;
}

.post-single-header-readingtime {
font-size: .75rem;
font-family: "Baloo 2", sans-serif;
letter-spacing: 1px;
text-transform: uppercase;
color: #FFF;
}

.line-yellow {
display: block;
width: 3px;
height: 10px;
background-color: var(--bs-yellow);
}

.line-blue {
display: block;
width: 3px;
height: 15px;
background-color: var(--bs-primary);
}

.post-tags-container {
display: flex;
flex-wrap: wrap;
flex-direction: column;
}

.post-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}

.post-single-tag {
display: inline-block;
border: 1px solid var(--bs-gray-600);
font-size: .65rem;
font-family: "Baloo 2", sans-serif;
letter-spacing: .5px;
text-transform: uppercase;
border-radius: 4px;
padding: 4px 8px;
color: var(--bs-gray-600);
}

.related-posts-list {
width: 100%;
display: grid;
grid-template-columns: 1fr; 
grid-gap: 20px;
}

.related-posts-list li {
list-style: none;
margin: 0;
max-width: 360px;
}

.related-post-thumb {
min-width: 300px;
}

.related-post-thumb > a > img {
height: 220px;
}

.related-post-title {
margin: 0;
padding: 0;
}

.post-color-1 {
background: #EAF5FF; /* Exemplo de cor */
margin-top: -4px;
}

.post-color-2 {
background: #ffffea; /* Exemplo de cor */
margin-top: -4px;
}

.post-color-3 {
background: #eaffea; /* Exemplo de cor */
margin-top: -4px;
}

.related-post-title a:hover {
color: var(--bs-link-color);
}

.comment-list {
  display: flex;
  flex-direction: column;
}

.comment {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.comment-body p {
  margin: 0;
}

.comment-body i {
  font-style: italic;
}

.comment-body .url {
  color: var(--bs-gray-700);
}

.comment-body .comment-reply-link {
  color: var(--bs-pink);
}

.comments > h2 {
  color: var(--bs-pink);
}

.comments .children {
  margin: 0 0 20px 40px;
}

.comment .comment-author img {
  margin: 0 !important;
  width: 36px !important;
  height: 36px !important;
  object-fit: cover; /* Isso mantém o aspecto do avatar, cortando se necessário */
}

.comment-reply {
  font-size: .75rem;
}

.comments-all {
  background: #FFF;
  padding: 30px 30px 4px 30px;
  border-radius: 20px;
}

.comments-all label {
 font-weight: bold;
}

.comments-all h3 {
  margin: 0;
}

.comments-all input {
  border-radius: 8px;
  border: 1px solid var(--bs-gray-500);
  height: 32px;
  padding: 0px 8px;
}

.comments-all textarea {
  border-radius: 8px;
  border: 1px solid var(--bs-gray-500);
  padding: 8px;
}

.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url  {
  display: flex;
  flex-direction: column;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.search-field {
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--bs-gray-500);
}

.search-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-posts article {
  padding: 0 20px 20px 20px;
  background: #FFF;
  border-radius: 20px;
}

.form-submit input {
  background: var(--bs-blue);
  color: #FFF;
  border: 0;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}

#reply-title small a {
  color: var(--bs-pink);
  font-weight: 300;
  font-size: .875rem;
}

.post-single-sidebar li {
  font-size: 1rem;
}

.post-single-sidebar .children {
  margin: 0 0 0 16px;
}

.post-single-sidebar > nav > ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-title {
  margin-top: 40px;
}


@media (min-width: 576px) {

}

@media (min-width: 768px) {
.page-title{
  gap: 32px;
}

.category-dropdown {
  width: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-dropdown select {
  width: 100%;
  font-family: 'Baloo 2', sans-serif;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--bs-gray-600);
  -webkit-appearance: none; /* Remove a seta padrão em navegadores Webkit (Chrome, Safari, etc.) */
  -moz-appearance: none; /* Remove a seta no Firefox */
  appearance: none; /* Remove a seta no navegador */
  padding-right: 30px; /* Adiciona espaço à direita para mover a seta */
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"%3E%3Cpath fill="none" stroke="%23333" stroke-width="2" d="M5 7l5 5 5-5"%3E%3C/path%3E%3C/svg%3E') no-repeat scroll right center; /* Ícone da seta à direita */
  background-size: 22px 16px; /* Ajuste o tamanho da seta */
  background-position: right 10px center; /* Posiciona a seta à direita */
  width: 100%; /* Ajuste a largura do select se necessário */
}

  .posts-wrap {
      grid-template-columns: 1fr 1fr; 
      margin-top: 40px;
  }

  .related-posts-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; 
  }
  
}

@media (min-width: 992px) {
.posts-wrap {
  grid-template-columns: 1fr 1fr 1fr; 
}

.page-title h1 {
  font-size: 2.5rem;
  color: var(--bs-primary);
  font-weight: 700;
}
}

@media (min-width: 1200px) {      
.container {
  width: 100%;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
  max-width: 1114px;
}
.posts-wrap {
      grid-template-columns: 1fr 1fr 1fr; 
  }

  .post-single-container {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: 20px;
    width: 70%;
  }

  .post-single-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-top: 20px;
  }

  .article-container {
    display: flex;
    justify-content: center;
    margin-top: 0;
  }

  .article-container aside {
    display: block;
  }

  .post-single-content-container {
    padding: 24px;
    box-shadow: 0px 10px 40px -3px rgba(0,0,0,0.08);
    border-radius: 0 0 36px 36px;
  }

  .post-single-header {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    width: 100%;
    left: 0;
    margin: 0; 
    height: 400px;
    border-radius: 40px 40px 0 0;
  }

  .post-single-header-container {
    padding: 60px 20px 20px;
    position: relative;
    z-index: 2;
  }

  .post-single-header-shadow {
    border-radius: 40px 40px 0 0;
  }

  .post-single-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
  }

  .line-yellow {
    height: 8px;
  }
  
  .line-blue {
    height: 8px;
  }

}

@media (min-width: 1400px) {
.container {
  width: 100%;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
  max-width: 1636px;
}

.posts-wrap {
  grid-template-columns: 1fr 1fr 1fr 1fr; 
}

.related-posts-list {
grid-template-columns: 1fr 1fr 1fr; 
}
}