@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
}

header {
    padding: 16px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo svg {
    height: 35px;
}

header .menu {
    display: flex;
    align-items: center;
}

header .menu .main-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header .menu .main-menu li {
    padding: 0px 15px;
}

header .menu .main-menu li a {
    text-decoration: none;
    color: #000;
}

.tag-header {
    background-color: #f5f5f5;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;

    background: url(../img/search-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
}

.tag-header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.tag-icon {
    color: #fff;
}

.tag-icon svg {
    width: 48px;
    height: 48px;
}

.tag-title {
    font-size: 32px;
    color: #fff;
    margin: 0;
}

section.search {
    background: url(../img/search-bg.png);
    padding: 150px 80px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    border-radius: 30px;
}

section.search .search-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
}

section.search .search-content h1 {
    font-size: 30px;
    margin-bottom: 30px;
}

section.search .search-content .search-form {
    display: flex;
    width: 100%;
}

section.search .search-content .search-form input {
    height: 50px;
    flex: 1 1 0;
    padding: 6px 32px;
}

section.search .search-content .search-form button.btn.btn-primary {
    border-radius: 0;
    padding: 6px 32px;
    height: 50px;
}

.webstories {
    padding: 60px 0;
}

.webstories ul.web-stories-list {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
}

.webstories ul.web-stories-list li {
    margin-right: 10px;
    flex: 1 1 calc(20% - 20px);
    width: calc(20% - 20px);
    min-width: calc(20% - 20px);
    max-width: calc(20% - 20px);
}

.webstories ul.web-stories-list li a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.webstories ul.web-stories-list li a .cover {
    width: 100%;
    /* Largura do container */
    aspect-ratio: 1 / 1;
    /* Garante que a altura seja igual à largura */
    overflow: hidden;
    border-radius: 15px;
}

.webstories ul.web-stories-list li a .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Garante que a imagem preencha o container sem distorção */
}

.webstories ul.web-stories-list li a span {
    color: #000;
    margin-top: 5px;
}

.tags {
    padding: 0 0 60px;
}

.tags h3 {
    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.tags .tag-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.tags .tag-item {
    margin: 10px;
    flex: 1 1 calc((100% / 6) - 20px);
    border: 1px solid #cdcdcd;
    width: calc((100% / 6) - 20px);
    min-width: calc((100% / 6) - 20px);
    max-width: calc((100% / 6) - 20px);
}


.tags .tag-item a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    padding: 40px 15px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-align: center;
}

.tags .tag-item a:hover {
    background: #f5f5f5;
}

.tags .tag-item a .tag-icon {
    width: 60px;
    height: 60px;
    color: #2051b2;
    margin-bottom: 15px;
}

.tags .tag-item a .tag-icon svg {
    width: 100%;
    height: 100%;
}

ul.post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.post-list li {
    border: 1px solid #ddd;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    border-radius: 5px;
}

ul.post-list li a.link-post {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    width: 100%;
    display: flex;
    padding-left: 30px;
    position: relative;
}

ul.post-list li:last-child a.link-post {
    border-bottom: none;
}

ul.post-list li a.link-post:before {
    content: ' ';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M184 112l144 144-144 144"/></svg>');
    width: 20px;
    height: 20px;
    position: absolute;
    top: 5px;
    left: 0;
}

.search-title {
    text-align: center;
    margin: 30px 0;
}

.post-category,
.post-tags {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.post-category a,
.post-tags a {
    margin-right: 5px;
    text-decoration: none;
    color: #0073aa;
}

.post-category a:hover,
.post-tags a:hover {
    text-decoration: underline;
}

.faq {
    padding: 60px 0;
    background-color: #f4f7f9;
}

.faq h3 {
    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.faq > .container > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.faq>.container>ul>li {
    display: flex;
    flex-direction: column;
    padding: 12px 15px;
    background: #fff;
    margin-bottom: 12px;
    border-radius: 5px;
}

.faq>.container>ul>li .pergunta {
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.faq>.container>ul>li .pergunta .icon {
    width: 20px;
    height: 20px;
    fill: #000;
}

.faq>.container>ul>li .pergunta .icon svg {
    width: 100%;
    height: 100%;
}

.faq>.container>ul>li .pergunta .icon .menos {
    display: none;
}

.faq>.container>ul>li.show .pergunta .icon .menos {
    display: block;
}

.faq>.container>ul>li.show .pergunta .icon .mais {
    display: none;
}

.faq>.container>ul>li .resposta {
    display: none;
}

.faq>.container>ul>li.show .resposta {
    display: block;
    margin-top: 10px;
}

.faq>.container>ul>li.show .resposta ol {
    list-style-type: decimal !important;
}

.related-posts {
    margin-top: 30px;
}

.post-body {
    font-size: 23px;
}

.wp-block-embed__wrapper {
    text-align: center;
}

article.post {
    border: 1px solid #ddd;
    border-top: none;
    padding: 30px 15px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

footer {
    background-color: #2051b2;
    padding: 60px 0;
}

footer .footer-content {
    display: flex;
}

footer .footer-content .footer-logo {
    flex: 0 0 calc(100% / 3);
    display: flex;
    align-items: center;
}

footer .footer-content .footer-logo svg {
    width: 80px;
}

footer .footer-content .footer-menus {
    flex: 1 1 0;
    display: flex;
}

footer .footer-content .footer-menus .footer-menu {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
}

footer .footer-content .footer-menus .footer-menu h3 {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px;
}

footer .footer-content .footer-menus .footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


footer .footer-content .footer-menus .footer-menu ul li {
    margin-bottom: 10px;
}

footer .footer-content .footer-menus .footer-menu ul li a {
    color: #fff;
    text-decoration: none;
}

footer .footer-content .footer-menus .footer-menu ul li a:hover {
    text-decoration: underline;
}

footer p {
    color: #fff;
    margin: 15px 0 0;
    text-align: center;
}

@media screen and (max-width: 1200px) {
    .tags .tag-item {
        margin: 10px;
        flex: 1 1 calc((100% / 5) - 20px);
        border: 1px solid #cdcdcd;
        width: calc((100% / 5) - 20px);
        min-width: calc((100% / 5) - 20px);
        max-width: calc((100% / 5) - 20px);
    }
}

@media screen and (max-width: 991px) {
    .tags .tag-item {
        margin: 10px;
        flex: 1 1 calc((100% / 4) - 20px);
        border: 1px solid #cdcdcd;
        width: calc((100% / 4) - 20px);
        min-width: calc((100% / 4) - 20px);
        max-width: calc((100% / 4) - 20px);
    }

    header .menu .menu-menu-principal-container {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    section.search {
        padding: 60px 15px;
    }

    section.search .search-content .search-form input {
        padding: 6px 15px;
    }

    section.search .search-content .search-form button.btn.btn-primary {
        padding: 6px 15px;
    }

    .tags .tag-item {
        margin: 10px;
        flex: 1 1 calc((100% / 3) - 20px);
        border: 1px solid #cdcdcd;
        width: calc((100% / 3) - 20px);
        min-width: calc((100% / 3) - 20px);
        max-width: calc((100% / 3) - 20px);
    }

    .webstories ul.web-stories-list li {
        margin-right: 10px;
        flex: 1 1 calc((100% / 3) - 20px);
        width: calc((100% / 3) - 20px);
        min-width: calc((100% / 3) - 20px);
        max-width: calc((100% / 3) - 20px);
    }

    footer .footer-content .footer-logo {
        display: none;
    }

    footer .footer-content .footer-menus {
        flex-direction: column;
    }

    footer .footer-content .footer-menus .footer-menu {
        margin-bottom: 30px;
    }

    footer p {
        margin: 0;
    }
}

@media screen and (max-width: 428px) {
    .tags .tag-item {
        margin: 10px;
        flex: 1 1 calc((100% / 2) - 20px);
        border: 1px solid #cdcdcd;
        width: calc((100% / 2) - 20px);
        min-width: calc((100% / 2) - 20px);
        max-width: calc((100% / 2) - 20px);
    }

    .webstories {
        padding: 30px 0;
    }

    .tags h3 {
        font-size: 27px;
        margin-bottom: 20px;
    }

    footer .footer-content .footer-menus {
        text-align: center;
    }
}