/*
Theme Name: Zona Template
Theme URI: https://zonaproibida.com
Author: Shadow00
Author URI: https://t.me/Sh4d0w_07
Description: Um tema exclusivo para o site Zona Proibida. Aqui, você encontrará uma vasta seleção de jogos, histórias envolventes e muito conteúdo único, tudo em um só lugar.
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zona-proibida
Tags: games, stories, custom-theme, blog
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.2
*/

/* ==================== */
/* Importar styles */
/* ==================== */


/* Paginas */
@import url('css/paginas/author.css');
@import url('css/paginas/singlepc.css');
@import url('css/paginas/index.css');
@import url('css/paginas/404.css');
@import url('css/paginas/categoriasgrid.css');
@import url('css/paginas/categorias.css');
@import url('css/paginas/tag.css');
@import url('css/paginas/recentes.css');

/* Funções */
@import url('css/funcoes/pesquisa.css');
@import url('css/funcoes/top5.css');
@import url('css/funcoes/menu.css');


/* ==================== */
/* Estilos Gerais */
/* ==================== */
body {
    background-color: #2C0481;
    color: #e0e0e0;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
}


/* ==================== */
/* Cabeçalho */
/* ==================== */
#main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #4E19D1; 
    padding: 10px 0;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    height: 35px;
    justify-content: center;
    z-index: 1000;
}

#main-header.scrolled {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.cabeca {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0px;
    padding: 0px;
    position: fixed;
}

.menu-icon,
.search-icon {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu-icon button,
.search-icon button {
    background: none;
    border: none;
    cursor: pointer;
}

.menu-icon img,
.search-icon img {
    height: 24px;
    width: 24px;
}

.logo {
    flex: 2;
    display: flex;
    justify-content: center;
}

.logo img {
    height: 30px;
    width: 195px;
}
.menu-icon button,
.search-icon button {
    background: none;
    border: none;
    cursor: pointer;
}
button#search-btn.search-icon {
    background: none;
    border: none;
    cursor: pointer;
}

/* ==================== */
/* Responsividade do Cabeçalho */
/* ==================== */
@media (min-width: 1024px) {
    .menu-icon, search-icon {
        display: none;
    }
    .logo {
        left: 112px;
        position: relative;
        width: 100px;
        flex: auto;
        display: flex;
        justify-content: center;
    }
    .anuncio_ini {
        display: flex;
        align-items: stretch;
        height: 25%;
        flex: 1;
        margin-bottom: 63px;
        margin-left: 14px;
        margin-top: 47px;
        width: 100%;
    }
}

@media (min-width: 980px) {
    .menu-icon {
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .menu-icon {
        display: flex;
    }
    .anuncio_ini {
        display: none;
    }
}

/* ==================== */
/* Posts */
/* ==================== */
.posts-list {
    display: block;
}

.posts-list .post {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 10px 10px 10px 0;
    border-radius: 3px;
    background: none;
}

.posts-list .post h2 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.posts-list .post .post-meta {
    font-size: 0.9em;
    color: inherit;
}

@media (min-width: 769px) {
    .posts-list .post {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-bottom: 20px;
        padding: 15px 0 15px 10px;
        border-radius: 3px;
        background: none;
        transition: transform 0.3sease;
        min-width: 200px;
    }

    .posts-list .post h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .posts-list .post .post-content {
        flex: 1;
    }
}

/* ==================== */
/* Layout de Posts e Seção Top 3 */
/* ==================== */
.posts-and-top5 {
    display: block;
}

h1.page-title {
    padding-top: 70px;
    display: flex;
    justify-content: center;
    margin-top: 0px;
}
.recent-posts {
        width: 100%;
        margin-top: 35px;
    }

@media (min-width: 769px) {
    .posts-and-top5 {
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }

    .recent-posts {
        width: 100%;
    }

    .ads-and-top5 {
        width: 489px;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .post-recomendado-diario-index {
        width: 100%;
        padding-left: 15px;
        margin-top: 35px;
    }
}

/* ==================== */
/* Seção Apoie-se */
/* ==================== */
.support-section {
    display: none;
    text-align: center;
    margin-top: 20px;
    width: auto;
}

.support-image {
    width: 100%;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .support-section {
        display: block;
    }
}

/* ==================== */
/* Slider */
/* ==================== */

.slider {
    position: relative;
    width: 100%;
    height: 385px;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.slide-item {
    position: absolute;
    width: 100%;
    height: 385px;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(100%); /* Inicia fora da tela à direita */
}

.slide-item.active {
    opacity: 1;
    transform: translateX(0); /* Posição normal */
    position: relative;
}

.slide-item.prev {
    transform: translateX(-100%); /* Desliza para a esquerda */
}

.slide-item.next {
    transform: translateX(100%); /* Desliza para a direita */
}

.slide-item img {
    width: 100%;
    height: 385px;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.slide-title-overlay {
        position: absolute;
        bottom: 0;
        width: 99%;
        padding-left: 10px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 12px;
        color: #fff;
        margin: 0;
        font-size: 10px;
        font-weight: bold;
}

.slide-indicators {
    text-align: center;
    margin-top: 10px;
}

.slide-indicators button {
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.slide-indicators button.active {
    opacity: 1;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.slide-nav.prev {
    left: 10px;
}

.slide-nav.next {
    right: 10px;
}

@media (max-width: 768px) {
    .slide-item img {
        height: 200px;
        width: 100%;
    }

    .slide-nav {
        padding: 5px;
    }
    .slider {
        height: 200px;
        margin-top: 70px;
}
    .slide-item {
       height: 200px;
       width: 95%;
        margin-left: 5px;
        margin-right: 5px;
}
.slide-title-overlay {
        width: 95%;
        padding-left: 10px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
}
}
@media (min-width: 1000px) {  /* MOBILE MODO PC */
    .slide-item img {
        height: 385px;
    }

    .slide-nav {
        padding: 5px;
    }
    .slider {
    height: 385px;
    margin-top: 0px;
}

    .slide-item {
    height: 385px;
}
}

@media (max-width: 768px) {

    .slider {
        width: 100%;
    }

    .slider .slide-item {
        padding: 0 5px;
    }
}

/* ==================== */
/* Container do Post */
/* ==================== */
.post-container {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 0px;
}

.post-title {
    font-size: 32px;
    color: #fff;
    text-align: center;
    margin: 60px 0 20px;
}

.post-content {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 0px;
    color: #ddd;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    margin: 0 auto;
    overflow-wrap: break-word;
}

/* ==================== */
/* Categorias */
/* ==================== */
.categories {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    padding: 15px;
}

.category-item:hover {
    opacity: 0.8;
}

/* ==================== */
/* Seção do Autor */
/* ==================== */
.author-section {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 0;
}

@media (min-width: 769px) {
    .author-section:hover {
        transform: scale(1.1);
    }
    .author-section {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 0;
}
}

.author-profile {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    margin-right: 15px;
    z-index: 20;
}
.author-info {
    z-index: 20; 
    color: #fff;
}

.author-info h3 {
    margin: 0;
    font-size: 22px;
    color: #fff;
}

.author-info p {
    margin: 5px 0 0;
    color: #bbb;
}
.author-profile .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(3px); 
    border-radius: 10px;
    z-index: 10;
}

/* ==================== */
/* Rodapé */
/* ==================== */
.footer {
    background-color: #4E19D1;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer p {
    margin: 0 5px;
    line-height: 40px;
}

.social-icons {
    margin-bottom: 5px;
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
}

.social-icons img {
    width: 24px;
    height: auto;
}
/* ==================== */
/* Categorias (Lista) */
/* ==================== */
.category-hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    max-height: 0;
    overflow: hidden;
}

.category-visible {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease;
    max-height: 300px;
    overflow-y: auto;
}

#category-list {
    background-color: #150439;
    border-radius: 10px;
    padding: 10px;
    margin-top: 0px;
    width: 70%;
}

#category-list ul {
    list-style: none;
    padding: 0;
}

#category-list ul li {
    margin: 10px 0;
}

#category-list ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

#category-list ul li a:hover {
    color: #a29bfe;
}

#category-list::-webkit-scrollbar {
    width: 8px;
}

#category-list::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
}

#category-list::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}

/* ==================== */
/* Botões Sociais */
/* ==================== */
.social-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.social-button {
    background-color: #150439;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 3px;
}

.social-button i {
    margin-right: 5px;
}

.social-button:hover {
    background-color: #555;
}

/* ==================== */
/* Responsividade para Telas Pequenas */
/* ==================== */
@media (max-width: 768px) {
    .post-wrapper {
        flex-direction: column;
    }

/* ==================== */
/* Estilos para o Autor */
/* ==================== */
.custom-author-profile {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
}

.author-content {
    flex: 1;
    margin-right: 0;
}

.custom-author-banner {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

.custom-author-info {
    width: 100%;
    height: 200px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.custom-author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-top: 6px;
}

.custom-author-name {
    font-size: 20px;
    color: #fff;
    margin-top: 8px;
    margin-bottom: 5px;
}

.custom-author-posts {
    margin-top: 30px;
    padding: 0px;
}

.custom-author-description, .custom-author-post-count {
    font-size: 10px;
    color: #ddd;
    display: none;
}

.custom-me-conheca-button {
    display: inline-block;
    font-size: 15px;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #4E19D1;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

.author-ads {
    flex: 0 0 300px;
    margin-top: 30px;
}

.custom-me-conheca-button:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .custom-author-profile {
        flex-direction: column;
    }

    .author-ads {
        flex: 1 0 100%;
        margin-top: 20px;
    }
    .author-wrapper {
        flex-direction: column;
        gap: 15px;
        margin: 0 auto;
    }
    .aside.author-pd {
        display: none;
    }
    .anuncio_banner-author {
        display: flex;
        align-items: stretch;
        height: 100%;
        justify-content: center;
        margin-left: 15px;
        margin-right: 15px;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .custom-author-info {
        border-radius: 0px;
    }
    .custom-author-profile {
        margin-top: 55px;
    }
    .anuncio_vertical-author {
        display: none;
    }
    .custom-author-banner {
        position: relative;
        height: 200px;
        width: auto;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-author-info {
        width: 100%;
        height: 200px;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
    }
}

@media (min-width: 1024px) {
    .anuncio_banner-author {
        display: none;
    }
    .custom-author-profile {
        margin-top: 0;
    }
    .authorposts-list {
        width: 100%;
        max-width: 1000px;
    }
    .author-wrapper {
        flex-direction: row;
        margin-left: 60px;
        margin-right: 60px;
        display: flex;
        justify-content: space-between;
        gap: 15px;
        margin: 0 auto;
        padding-left: 60px;
        padding-right: 60px;
    }
    .anuncio_verical-author {
        margin-bottom: 20px;
        max-height: 991px;
        height: auto;
        width: 100%;
        border-radius: 10px;
        padding-bottom: 0;
        padding-top: 0;
    }
    .author-content {
        flex: 1;
        margin-right: 20px;
    }
    .author-ads {
        flex: 0 0 300px;
        margin-top: 10px;
        padding-bottom: 32px;
    }
    .custom-author-posts {
        margin-top: 30px;
        padding: 15px;
        padding-right: 0px;
    }
}

/* ==================== */
/* Paginação do Autor */
/* ==================== */
.authorplugin-pagination {
    justify-content: center;
    padding-right: 10px;
    display: grid;
}

/* ==================== */
/* Avisos */
/* ==================== */
.aviso {
    background-color: #4e19d1;
    color: #fff;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    font-family: sans-serif;
}

/* ==================== */
/* Cabeçalho da Seção */
/* ==================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

a.btn {
    color: #fff;
    padding: 3px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 25px;
    background-color: rgba(0, 0, 0, 0.3);
}

.button-more-load {
    text-align: center;
    margin: 20px 0;
}

.button-more-load button {
    cursor: pointer;
    padding: 8px 12px;
    background-color: #4e19d1;
    color: #fff;
    border: 1px solid #fefdff;
    border-radius: 5px;
    font-size: 16px;
}

.plugin-pagination-recents {
    display: flex;
    justify-content: center;
}

/* ==================== */
/* Sidebar Recente */
/* ==================== */
.recente-sidebar-e {
    width: 250px;
    margin-right: 20px;
}

.recente-sidebar-d {
    width: 250px;
    margin-left: 20px;
}

.anuncio_vertical-recente {
    display: flex;
    align-items: stretch;
    height: 100%;
}

@media (max-width: 768px) {
    .recente-sidebar-e, .recente-sidebar-d {
        display: none;
    }
}
/* ==================== */
/* Outro Single */
/* ==================== */
.related-posts {
    margin-top: 0px;
}
@media (max-width: 768px) {
    .post-content {
        padding: 15px;
        max-width: 100%;
            background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    }
}
.post-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0 auto;
    padding: 20px;
}
.post-main-content {
    flex: 3;
}

.post-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 1024px) {
    .post-wrapper {
        flex-direction: row;
        margin-left: 60px;
        margin-right: 60px;
    }

    .post-main-content {
        padding-right: 30px;
        padding-left: 30px;
    }

    .post-sidebar {
        max-width: 300px;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        padding: 10px;
        border-radius: 10px;
    }
}
.category-item,
.category-badge {
    display: inline-block;
    background-color: #4E19D1;
    padding: 5px 10px;
    color: #fff;
    border-radius: 100px;
    font-size: 12px;
    text-decoration: none;
    margin-right: 0px;
    margin-bottom: 5px;
}