/* --- NÃO PODE ALTERAR AS INFORMAÇÕES DE CONFIGURAÇÃO DO BLOCO ABAIXO ---
 Theme Name:   TWF
 Theme URI:    https://arg.eter7.com
 Description:  TWF Tráfego de Performance
 Author:       Tony Franco
 Author URI:   https://arg.eter7.com
 Template:     generatepress
 Version:      1.0
*/

@media (max-width: 768px) {
    .site-header .header-image {
        width: 100px !important;
        height: 36px !important;
        display: block;
    }
}

.inside-header {
    padding-top: 5px;
    padding-bottom: 7px;
}

.site-content {
    padding: 0px 40px 40px 40px !important;
}

.single .inside-article .entry-header h1.entry-title {
        font-weight: 500;
        margin-bottom: 0;
}

.single .entry-header .post-meta {
        font-size: 14px !important;
        color: #575760;
        margin-bottom: 0.5em;
}

@media (max-width: 768px) {
    .site-content {
        padding: 0px 30px 30px 30px !important;
    }
	
    .single .inside-article .entry-header h1.entry-title {
        font-size: 30px;
        font-weight: 700;
        margin-bottom: 0;
        text-align: center;
    }

    .single .entry-header .post-meta {
        text-align: center;
        font-size: 14px !important;
        color: #575760;
        margin-bottom: 0.5em;
    }
}

.featured-image {
    margin-bottom: 0 !important;
}

.breadcrumb {
    font-size: 15px;
    color: #575760;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
	.category .breadcrumb, .search .breadcrumb, .author .breadcrumb, .tag .breadcrumb {
		margin-left: 30px;
	}
}

@media (min-width: 769px) {
	.category .breadcrumb, .search .breadcrumb, .author .breadcrumb, .tag .breadcrumb {
		margin-left: 40px;
	}
}

.entry-content {
    margin-top: 0 !important;
}

.advertzposts {
    text-align: center;
    font-size: 11px;
    color:#936b6b;
    margin-bottom: 5px;
}

.justificado {
    text-align: justify;
}

/* Apresentação dos posts em 3 colunas */
.homepage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    /*padding: 40px;*/
    max-width: 1200px; /* ou 100% */
    margin: 0 auto;
}

.homepage-grid .grid-post {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.homepage-grid .grid-post .post-thumbnail {
    aspect-ratio: 370 / 247;
    overflow: hidden;
    display: block;
    width: 100%;
    max-width: 100%;
}

.homepage-grid .grid-post .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.homepage-grid .grid-post .post-content {
    padding: 20px;
}

.homepage-grid .grid-post .post-category {
    display: inline-block;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.homepage-grid .grid-post .post-title {
    font-size: 20px;
    margin: 0 0 10px;
}

.homepage-grid .grid-post .post-excerpt {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.homepage-grid .read-more-button {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
    font-weight: bold;
}

@media (max-width: 768px) {
    #page {
        min-height: auto;
    }

    .homepage-grid {
        grid-template-columns: 1fr !important;
        padding: 0;
    }

    .homepage-grid .grid-post {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-height: 440px;
        padding-bottom: 15px;
        contain-intrinsic-size: 440px;
        contain: content;
    }

    .homepage-grid .grid-post .post-thumbnail {
        aspect-ratio: 370 / 247;
        height: auto;
    }

    .homepage-grid .grid-post .post-content {
        padding: 12px 15px 0;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .homepage-grid .grid-post .post-category {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .homepage-grid .grid-post .post-title {
        font-size: 18px;
        line-height: 1.3;
        margin: 0 0 6px;
        min-height: 2.8em; /* suficiente para até 2 linhas */
        overflow: hidden;
    }

    .homepage-grid .grid-post .post-excerpt {
        font-size: 14px;
        line-height: 1.4;
        color: #555;
        margin: 0 0 12px;
        overflow: hidden;
        min-height: 3.4em;
    }

    .homepage-grid .read-more-button {
        align-self: flex-start;
        font-size: 13px;
        padding: 7px 14px;
        margin-top: auto;
    }
}

.pagination {
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
}

.pagination .current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination .page-numbers:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.page-links {
    text-align: center;
    font-size: 20px;
}

/* Scroll Bar Otimizada */
/* Chrome, Safari, Edge */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #FFF;
  -webkit-box-shadow: inset 1px 1px 2px #E0E0E0;
  border: 1px solid #D8D8D8;
}

::-webkit-scrollbar-thumb {
  background: #00b0eb;
  -webkit-box-shadow: inset 1px 1px 2px rgba(155, 155, 155, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: #00b0eb;
  -webkit-box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.3);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #00b0eb #ffffff;
}

.caixa-autor-enxuta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border: 1px solid #e9e9e9;
    border-radius: 7px;
    padding-left: 10px;
    margin-bottom: 30px;
}

.autor-avatar {
    padding-bottom: 10px;
}

.autor-avatar img {
    border-radius: 4px;
    width: 130px;
}

@media screen and (max-width: 768px) {
    .autor-avatar {
        padding-bottom: 10px;
        width: 370px;
    }

    .autor-avatar img {
        border-radius: 4px;
    }
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 18px;
}

.nav-previous {
    flex: 1;
    text-align: left;
}

.nav-next {
    flex: 1;
    text-align: right;
}

.nav-label {
    font-size: 13px;
    font-weight: bold;
    color: #00b0eb;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}


/* Oculta ícones padrão, se ainda existirem por algum motivo */
.post-navigation .gp-icon.icon-arrow-left,
.post-navigation .gp-icon.icon-arrow-right {
    display: none;
}

/* Tabela de Conteúdo Posts */
.table {
    text-align:left;
    font-weight: 700;
    font-size: 25px;
    margin-bottom: 10px;
}

.footer-widgets {
    background-color: #f9f9f9;
    border-style: solid;
    border-width: 0px;
    border-top-width: 1px;
    border-top-color: #e6e6e6;
    border-bottom-width: 1px;
    border-bottom-color: #e6e6e6;
}

.footer-widget-1 p, .footer-widget-1 ul {
    text-align: center;
}

.tnp-subscription-minimal .tnp-privacy-field {
    text-wrap: wrap;
}

@media screen and (max-width: 768px) {

    .tnp-subscription-minimal input.tnp-email {
        width: 100% !important;
        max-width: 100% !important;
        height: 55px;
    }

    .tnp-subscription-minimal input.tnp-submit {
        font-size: 17px !important;
    }
    
    input.tnp-privacy, input#wp-comment-cookies-consent {
        height: 35px;
        min-width: 35px;
        margin: 5px;
    }
    
    .tnp-field.tnp-privacy-field a {
        position: relative;
        bottom: 13px;
	}
    
}

@media screen and (min-width: 769px) {
    
    input.tnp-privacy {
        margin: 6px;
    }
    
}

.stripe-line-footer {
    margin: auto;
}

